:root {
  color-scheme: light;
  --rose: #e11d48;
  --pink: #db2777;
  --blue: #2563eb;
  --indigo: #4f46e5;
  --purple: #7c3aed;
  --emerald: #059669;
  --amber: #d97706;
  --cyan: #0891b2;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 14px 42px rgba(15, 23, 42, 0.14);
  --shadow-xl: 0 24px 80px rgba(15, 23, 42, 0.20);
  --radius-lg: 18px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--slate-50);
  color: var(--slate-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand,
.mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.28);
}

.brand-name {
  font-size: 20px;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  -webkit-background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link {
  color: var(--slate-700);
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--rose);
}

.site-search-form {
  display: flex;
  align-items: center;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  overflow: hidden;
}

.site-search-form input {
  width: 210px;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 14px;
  color: var(--slate-800);
}

.site-search-form button,
.hero-search button {
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose), var(--pink));
  padding: 10px 18px;
  font-weight: 800;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--slate-100);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--slate-800);
}

.mobile-nav {
  display: none;
  padding: 16px;
  border-top: 1px solid var(--slate-200);
  background: var(--white);
}

.mobile-nav.is-open {
  display: grid;
  gap: 14px;
}

.mobile-search input {
  width: 100%;
}

.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, #881337, #9d174d, #be123c);
}

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

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

.hero-slide img,
.detail-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide img.is-hidden,
.detail-hero > img.is-hidden {
  display: none;
}

.hero-overlay,
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(225, 29, 72, 0.42), transparent 36%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(15, 23, 42, 0.56), rgba(15, 23, 42, 0.12));
}

.hero-content,
.detail-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
}

.hero-content h1,
.detail-hero h1,
.page-hero h1 {
  max-width: 780px;
  margin: 14px 0 16px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-content p,
.detail-hero p,
.page-hero p {
  max-width: 720px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  background: rgba(225, 29, 72, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.24);
}

.hero-actions,
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-btn,
.ghost-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: var(--white);
  background: linear-gradient(135deg, var(--rose), var(--pink));
  box-shadow: 0 18px 38px rgba(225, 29, 72, 0.30);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.ghost-btn.light {
  color: var(--rose);
  border-color: rgba(225, 29, 72, 0.24);
  background: rgba(225, 29, 72, 0.08);
}

.text-link {
  min-height: auto;
  padding: 0;
  color: var(--rose);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.hero-control.prev {
  left: 24px;
}

.hero-control.next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  bottom: 34px;
  left: 50%;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: var(--white);
}

.stats-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -64px;
}

.stat-card {
  min-height: 132px;
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.stat-card strong {
  display: block;
  font-size: 38px;
  line-height: 1;
}

.stat-card span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.stat-card.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.stat-card.emerald { background: linear-gradient(135deg, #10b981, #059669); }
.stat-card.amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stat-card.purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.section-block {
  padding-block: 70px;
}

.section-block.no-padding {
  padding-block: 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.with-action {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: var(--slate-600);
}

.movie-grid {
  display: grid;
  gap: 24px;
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.movie-card {
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.poster-wrap,
.poster-side {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 63, 94, 0.42), transparent 30%),
    linear-gradient(135deg, #111827, #581c87 60%, #be123c);
}

.poster-wrap img,
.poster-side img,
.overview-posters img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.poster-wrap:hover img {
  transform: scale(1.06);
}

.poster-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  color: var(--white);
  text-align: center;
  font-size: 22px;
  font-weight: 900;
}

.cover-missing .poster-fallback,
.poster-wrap.cover-missing .poster-fallback,
.poster-side.cover-missing .poster-fallback {
  display: grid;
}

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

.score-badge,
.play-chip {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
}

.score-badge {
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  background: rgba(251, 191, 36, 0.94);
  box-shadow: 0 10px 22px rgba(251, 191, 36, 0.20);
}

.play-chip {
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  background: rgba(225, 29, 72, 0.90);
  backdrop-filter: blur(8px);
}

.movie-info {
  padding: 18px;
}

.movie-info h3 {
  min-height: 52px;
  margin: 8px 0 8px;
  font-size: 18px;
  line-height: 1.42;
  font-weight: 900;
}

.movie-info h3 a:hover {
  color: var(--rose);
}

.movie-info p {
  min-height: 46px;
  margin: 0 0 14px;
  color: var(--slate-600);
  font-size: 14px;
}

.movie-meta,
.detail-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 700;
}

.detail-meta span,
.movie-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--slate-100);
}

.detail-meta span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.08);
  color: var(--rose);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.compact-card .movie-info {
  padding: 14px;
}

.compact-card .movie-info h3 {
  min-height: auto;
  font-size: 16px;
}

.compact-card .movie-info p,
.compact-card .tag-row {
  display: none;
}

.category-band {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(244, 114, 182, 0.14));
}

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

.category-tile,
.category-overview-card > a {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-xl);
  padding: 26px;
  color: var(--white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}

.category-tile::before,
.category-overview-card > a::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.category-tile h3,
.category-overview-card h2 {
  margin: 14px 0 10px;
  font-size: 28px;
  font-weight: 900;
}

.category-tile p,
.category-overview-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.category-count {
  width: max-content;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.accent-rose { background: linear-gradient(135deg, #e11d48, #be123c); }
.accent-pink { background: linear-gradient(135deg, #db2777, #be185d); }
.accent-blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.accent-amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.accent-purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.accent-indigo { background: linear-gradient(135deg, #4f46e5, #4338ca); }
.accent-emerald { background: linear-gradient(135deg, #059669, #047857); }
.accent-cyan { background: linear-gradient(135deg, #0891b2, #0e7490); }

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  padding-block: 70px;
}

.ranking-list {
  display: grid;
  gap: 10px;
}

.rank-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.rank-item:hover {
  border-color: rgba(225, 29, 72, 0.34);
  transform: translateX(4px);
}

.rank-item.medal .rank-no {
  color: var(--white);
  background: linear-gradient(135deg, var(--rose), var(--pink));
}

.rank-no {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-score {
  color: var(--amber);
  font-weight: 900;
  text-align: right;
}

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

.scroll-row {
  display: grid;
  grid-auto-columns: 210px;
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
}

.scroll-row .movie-card {
  scroll-snap-align: start;
}

.page-hero {
  min-height: 300px;
  display: grid;
  align-items: center;
  color: var(--white);
  padding-block: 70px;
}

.gradient-rose { background: linear-gradient(135deg, #be123c, #db2777); }
.gradient-pink { background: linear-gradient(135deg, #be185d, #db2777); }
.gradient-blue { background: linear-gradient(135deg, #1d4ed8, #4f46e5); }
.gradient-amber { background: linear-gradient(135deg, #b45309, #f59e0b); }
.gradient-purple { background: linear-gradient(135deg, #581c87, #7c3aed); }
.gradient-indigo { background: linear-gradient(135deg, #3730a3, #6366f1); }
.gradient-emerald { background: linear-gradient(135deg, #065f46, #10b981); }
.gradient-cyan { background: linear-gradient(135deg, #155e75, #06b6d4); }

.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--white);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(140px, 0.4fr)) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 28px;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--slate-700);
  font-weight: 800;
}

.filter-panel input,
.filter-panel select,
.hero-search input {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  outline: 0;
  padding: 0 14px;
  background: var(--slate-50);
  color: var(--slate-900);
}

.filter-panel input:focus,
.filter-panel select:focus,
.hero-search input:focus {
  border-color: rgba(225, 29, 72, 0.45);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.08);
}

.filter-count {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  border-radius: 14px;
  background: rgba(225, 29, 72, 0.08);
  color: var(--rose);
  font-weight: 900;
  white-space: nowrap;
}

.overview-posters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.overview-posters img {
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  object-fit: cover;
}

.detail-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #881337);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  padding-block: 46px 70px;
}

.detail-main,
.detail-side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.player-card,
.content-card,
.side-card,
.prose-card {
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 0;
  color: var(--white);
  background:
    radial-gradient(circle at center, rgba(225, 29, 72, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(2, 6, 23, 0.38), rgba(2, 6, 23, 0.74));
  cursor: pointer;
  text-align: center;
}

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

.play-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  box-shadow: 0 20px 60px rgba(225, 29, 72, 0.38);
  font-size: 32px;
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: none;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.84);
  color: var(--white);
  font-size: 14px;
}

.player-message.is-visible {
  display: block;
}

.content-card {
  padding: 26px;
}

.content-card h2,
.info-side h2,
.prose-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 900;
}

.content-card p,
.prose-card p {
  margin: 0;
  color: var(--slate-700);
  font-size: 16px;
}

.info-side {
  padding: 22px;
}

.info-side dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px 14px;
  margin: 0 0 18px;
}

.info-side dt {
  color: var(--slate-500);
  font-weight: 800;
}

.info-side dd {
  margin: 0;
  color: var(--slate-900);
  font-weight: 700;
}

.hero-search {
  display: flex;
  max-width: 640px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
  padding: 6px;
  box-shadow: var(--shadow-xl);
}

.hero-search input {
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.hero-search button {
  border-radius: 999px;
}

.prose-card {
  padding: 34px;
  margin-block: 70px;
}

.site-footer {
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
  padding-block: 54px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid a {
  display: block;
  margin: 8px 0;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}

[data-movie-card].is-filtered-out {
  display: none;
}

@media (max-width: 1024px) {
  .desktop-nav,
  .site-header .site-search-form {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .stats-strip,
  .grid-3,
  .grid-4,
  .category-grid,
  .category-overview-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column-section,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

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

  .hero-slider {
    height: 540px;
  }

  .hero-content h1,
  .detail-hero h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .hero-control {
    display: none;
  }

  .stats-strip,
  .grid-3,
  .grid-4,
  .category-grid,
  .category-overview-grid,
  .footer-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    margin-top: -36px;
  }

  .section-heading.with-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-hero {
    height: 580px;
  }

  .rank-item {
    grid-template-columns: 46px minmax(0, 1fr) 48px;
    gap: 10px;
  }

  .hero-search {
    flex-direction: column;
    border-radius: 24px;
  }

  .hero-search button {
    min-height: 46px;
  }
}
