:root {
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --white: #ffffff;
  --black: #000000;
  --shadow: 0 18px 45px rgba(41, 37, 36, 0.16);
  --soft-shadow: 0 10px 24px rgba(41, 37, 36, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--stone-800);
  background: var(--stone-50);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(120, 53, 15, 0.96);
  color: var(--amber-50);
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.18);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1180px;
  height: 68px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark,
.footer-logo span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--amber-900);
  background: linear-gradient(135deg, var(--amber-100), var(--amber-500));
  box-shadow: 0 0 28px rgba(253, 230, 138, 0.4);
}

.brand-name {
  font-size: 20px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link,
.mobile-link {
  border-radius: 12px;
  color: var(--amber-100);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 9px 13px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--white);
  background: rgba(146, 64, 14, 0.92);
}

.header-search {
  width: 276px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 251, 235, 0.11);
  border: 1px solid rgba(253, 230, 138, 0.22);
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 0;
  outline: 0;
}

.header-search input,
.mobile-search input {
  color: var(--amber-50);
  background: transparent;
  padding: 8px 10px;
  min-width: 0;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(254, 243, 199, 0.78);
}

.header-search button,
.mobile-search button,
.big-search button,
.primary-button {
  border: 0;
  color: var(--white);
  background: var(--amber-600);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-search button,
.mobile-search button {
  padding: 8px 14px;
  white-space: nowrap;
}

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.primary-button:hover {
  background: var(--amber-700);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(217, 119, 6, 0.28);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  color: var(--amber-50);
  background: rgba(146, 64, 14, 0.8);
  padding: 8px 12px;
  font-size: 22px;
}

.mobile-nav {
  display: none;
  padding: 10px 20px 18px;
  border-top: 1px solid rgba(253, 230, 138, 0.18);
  background: rgba(146, 64, 14, 0.96);
}

.mobile-nav.open {
  display: block;
}

.mobile-link {
  display: block;
  padding: 11px 12px;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 5px;
  border-radius: 16px;
  background: rgba(255, 251, 235, 0.12);
}

.page-main {
  min-height: 60vh;
}

.hero-carousel {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--stone-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.75s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-shade,
.detail-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(28, 25, 23, 0.36), rgba(28, 25, 23, 0.54) 38%, rgba(0, 0, 0, 0.86));
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 74px;
  width: min(900px, calc(100% - 40px));
  transform: translateX(-50%);
  color: var(--white);
  text-align: center;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-kicker,
.page-hero span,
.detail-info .breadcrumb,
.card-meta,
.tag-line {
  color: var(--amber-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-kicker {
  display: inline-flex;
  color: var(--amber-50);
  background: rgba(217, 119, 6, 0.88);
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero-content h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.05;
}

.hero-content p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
}

.ghost-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.48);
  font-size: 34px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 30px;
  background: var(--amber-500);
}

.home-search-block,
.content-section,
.category-section,
.featured-layout,
.filter-panel,
.detail-content,
.player-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 20px;
}

.home-search-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 28px;
  align-items: center;
}

.home-search-block h2,
.section-head h2,
.page-hero h1,
.story-block h2 {
  margin: 0;
  color: var(--stone-800);
  line-height: 1.18;
}

.home-search-block h2,
.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.home-search-block p,
.section-head p,
.page-hero p,
.category-card p,
.card-body p,
.horizontal-card p,
.rank-info p,
.story-block p,
.footer-brand p {
  color: var(--stone-600);
}

.big-search {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.big-search input {
  min-width: 0;
  padding: 12px 16px;
  background: transparent;
}

.big-search button {
  padding: 0 22px;
  border: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-head.centered {
  justify-content: center;
  text-align: center;
}

.section-more {
  color: var(--amber-700);
  font-weight: 800;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.movie-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.movie-card {
  overflow: hidden;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(41, 37, 36, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 119, 6, 0.34);
  box-shadow: var(--shadow);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--stone-200);
}

.poster-link img,
.category-cover img,
.horizontal-poster img,
.rank-poster img,
.detail-poster img,
.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .poster-link img,
.category-card:hover .category-cover img,
.horizontal-card:hover img,
.rank-card:hover img,
.category-tile:hover img {
  transform: scale(1.06);
}

.poster-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--amber-50);
  background: rgba(146, 64, 14, 0.9);
  font-size: 12px;
  font-weight: 800;
}

.poster-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: rgba(217, 119, 6, 0.92);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.card-body {
  padding: 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--stone-500);
  font-size: 12px;
}

.card-body h3,
.horizontal-card h3,
.rank-info h2,
.category-card h2 {
  margin: 0;
  line-height: 1.3;
}

.card-body h3 {
  min-height: 44px;
  font-size: 17px;
}

.card-body h3 a:hover,
.horizontal-card h3 a:hover,
.rank-info h2 a:hover,
.category-card h2 a:hover,
.mini-links a:hover,
.detail-pager a:hover {
  color: var(--amber-700);
}

.card-body p {
  min-height: 48px;
  margin: 10px 0 12px;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-line {
  color: var(--amber-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-layout,
.category-section {
  max-width: none;
  background: linear-gradient(180deg, var(--amber-50), var(--white));
}

.featured-layout > .section-head,
.featured-layout > .featured-grid,
.category-section > .section-head,
.category-section > .category-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
}

.large-card .poster-link {
  aspect-ratio: 16 / 9;
}

.featured-side {
  display: grid;
  gap: 14px;
}

.horizontal-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(41, 37, 36, 0.08);
}

.horizontal-poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: var(--stone-200);
}

.horizontal-card p {
  margin: 8px 0 0;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  background: var(--stone-900);
}

.category-tile img,
.tile-shade {
  position: absolute;
  inset: 0;
}

.tile-shade {
  background: linear-gradient(180deg, rgba(28, 25, 23, 0.18), rgba(28, 25, 23, 0.86));
}

.tile-content {
  position: absolute;
  inset: auto 0 0;
  padding: 20px;
  color: var(--white);
}

.tile-content strong,
.tile-content em {
  display: block;
}

.tile-content strong {
  font-size: 21px;
}

.tile-content em {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-style: normal;
  font-size: 13px;
}

.page-hero {
  color: var(--white);
  background: radial-gradient(circle at 20% 10%, rgba(245, 158, 11, 0.36), transparent 32%), linear-gradient(135deg, var(--amber-900), var(--stone-900));
  padding: 82px 20px;
}

.page-hero > div {
  max-width: 980px;
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 54px);
  margin: 10px 0 14px;
}

.page-hero p {
  max-width: 720px;
  color: var(--amber-100);
  font-size: 18px;
}

.page-hero span {
  color: var(--amber-200);
}

.filter-panel {
  padding-top: 34px;
  padding-bottom: 0;
}

.filter-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.filter-grid label span {
  display: block;
  margin-bottom: 8px;
  color: var(--stone-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-grid input,
.filter-grid select {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  color: var(--stone-800);
  background: var(--stone-50);
}

.empty-state {
  display: none;
  margin-top: 22px;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--stone-600);
  text-align: center;
  background: var(--stone-100);
}

.empty-state.show {
  display: block;
}

.is-hidden-card {
  display: none !important;
}

.category-list {
  display: grid;
  gap: 22px;
}

.category-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.category-cover {
  min-height: 210px;
  overflow: hidden;
  background: var(--stone-200);
}

.category-card-body {
  padding: 24px;
}

.category-card-body p {
  margin: 10px 0 18px;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-links a {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--amber-800);
  background: var(--amber-50);
  font-size: 13px;
  font-weight: 800;
}

.rank-list {
  display: grid;
  gap: 16px;
}

.rank-card {
  display: grid;
  grid-template-columns: 58px 110px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(41, 37, 36, 0.08);
}

.rank-num {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--amber-800));
  font-weight: 900;
  font-size: 20px;
}

.rank-poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: var(--stone-200);
}

.rank-info p {
  margin: 8px 0 10px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--stone-900);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.42;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.04);
}

.detail-layout {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 20px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 2 / 3;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  background: var(--stone-800);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--amber-200);
  margin-bottom: 12px;
}

.detail-info h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
}

.detail-one-line {
  max-width: 760px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.detail-meta,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-meta span,
.detail-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--amber-50);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
  font-weight: 800;
  font-size: 13px;
}

.player-section {
  padding-top: 42px;
  padding-bottom: 42px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--black);
  box-shadow: var(--shadow);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.66));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-layer.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-ring {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--amber-600);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
  font-size: 34px;
}

.play-layer strong {
  font-size: 18px;
}

.detail-content {
  display: grid;
  gap: 22px;
  padding-top: 18px;
}

.story-block {
  padding: 28px;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.story-block h2 {
  margin-bottom: 12px;
  font-size: 26px;
}

.story-block p {
  margin: 0;
  font-size: 17px;
}

.detail-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.detail-pager a {
  padding: 15px 18px;
  border-radius: 16px;
  color: var(--stone-700);
  background: var(--stone-100);
  font-weight: 800;
}

.site-footer {
  margin-top: 40px;
  color: var(--stone-300);
  background: var(--stone-900);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 20px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 34px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--amber-100);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-block h2 {
  margin: 0 0 14px;
  color: var(--amber-100);
  font-size: 17px;
}

.footer-block a,
.footer-cats a {
  display: block;
  margin: 8px 0;
  color: var(--stone-300);
  font-size: 14px;
}

.footer-block a:hover,
.footer-cats a:hover {
  color: var(--amber-200);
}

.footer-bottom {
  padding: 18px 20px;
  border-top: 1px solid var(--stone-800);
  color: var(--stone-500);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .header-search {
    display: none;
  }

  .movie-grid,
  .movie-row,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-carousel {
    height: 540px;
  }

  .home-search-block,
  .featured-grid,
  .detail-layout,
  .footer-inner,
  .filter-grid,
  .category-card {
    grid-template-columns: 1fr;
  }

  .detail-layout {
    padding: 46px 20px;
  }

  .detail-poster {
    max-width: 260px;
    margin: 0 auto;
  }

  .detail-info {
    text-align: center;
  }

  .breadcrumb,
  .detail-meta,
  .detail-tags {
    justify-content: center;
  }

  .rank-card {
    grid-template-columns: 48px 90px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 62px;
    padding: 0 14px;
  }

  .brand-name {
    font-size: 18px;
  }

  .hero-carousel {
    height: 500px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-content {
    bottom: 58px;
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .movie-grid,
  .movie-row,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .home-search-block,
  .content-section,
  .category-section,
  .featured-layout,
  .filter-panel,
  .detail-content,
  .player-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .big-search {
    border-radius: 18px;
    flex-direction: column;
  }

  .big-search button {
    min-height: 44px;
  }

  .category-tile {
    min-height: 180px;
  }

  .card-body {
    padding: 13px;
  }

  .card-body h3 {
    min-height: 40px;
    font-size: 15px;
  }

  .rank-card {
    grid-template-columns: 42px 76px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .rank-info p,
  .rank-info .tag-line {
    display: none;
  }

  .detail-pager {
    grid-template-columns: 1fr;
  }
}
