:root {
  --black: #05020a;
  --grape-950: #13051f;
  --grape-900: #1d0a2f;
  --grape-850: #27103d;
  --grape-800: #32164d;
  --grape-700: #4c2570;
  --grape-600: #673399;
  --grape-400: #b68adf;
  --grape-300: #d3b8ef;
  --gold-500: #d8aa46;
  --gold-400: #f2c86b;
  --gold-300: #ffe4a3;
  --white: #ffffff;
  --muted: #bfaed0;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --glow: 0 0 32px rgba(216, 170, 70, 0.28);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 8%, rgba(103, 51, 153, 0.35), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(216, 170, 70, 0.16), transparent 28rem),
    linear-gradient(180deg, var(--black), var(--grape-950) 42%, #050208);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(45deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 38px 38px, 54px 54px;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, rgba(19, 5, 31, 0.96), rgba(43, 14, 70, 0.96), rgba(19, 5, 31, 0.96));
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  height: 74px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(242, 200, 107, 0.55);
  border-radius: 15px;
  color: var(--gold-300);
  background: linear-gradient(135deg, rgba(103, 51, 153, 0.92), rgba(216, 170, 70, 0.18));
  box-shadow: var(--glow);
  font-size: 1.35rem;
  font-weight: 900;
}

.brand-text strong,
.footer-brand {
  display: block;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--grape-300), var(--gold-300), var(--grape-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  display: block;
  margin-top: 0.2rem;
  color: var(--grape-300);
  font-size: 0.74rem;
}

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

.desktop-nav a,
.mobile-panel a {
  padding: 0.68rem 0.95rem;
  border-radius: 0.75rem;
  color: var(--grape-300);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-panel a:hover,
.mobile-panel a.is-active {
  color: var(--gold-300);
  background: rgba(103, 51, 153, 0.58);
  transform: translateY(-1px);
}

.nav-search,
.mobile-search,
.wide-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-search input,
.mobile-search input,
.wide-search input,
.filter-search input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  outline: none;
  color: var(--white);
  background: rgba(14, 4, 25, 0.78);
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.nav-search input {
  width: 210px;
  padding: 0.72rem 0.9rem;
}

.nav-search input:focus,
.mobile-search input:focus,
.wide-search input:focus,
.filter-search input:focus {
  border-color: rgba(242, 200, 107, 0.6);
  box-shadow: 0 0 0 4px rgba(216, 170, 70, 0.12);
}

.nav-search button,
.mobile-search button,
.wide-search button {
  border: none;
  border-radius: 0.85rem;
  color: #1b0a2d;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.nav-search button,
.mobile-search button {
  padding: 0.72rem 0.9rem;
}

.nav-search button:hover,
.mobile-search button:hover,
.wide-search button:hover,
.btn:hover,
.category-tile:hover,
.movie-card:hover,
.rank-item:hover,
.category-overview-card:hover,
.ranking-row:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--gold-300);
}

.mobile-panel {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 1rem;
}

.mobile-panel nav {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.hero-carousel {
  position: relative;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-track,
.hero-slide {
  min-height: calc(100vh - 74px);
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 8rem) max(1rem, calc((100vw - 1180px) / 2));
  background-position: center;
  background-size: cover;
}

.hero-slide.is-active {
  display: grid;
  animation: fadeIn 0.7s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-content {
  max-width: 740px;
}

.hero-kicker,
.page-hero span,
.section-heading span,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  color: var(--gold-300);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  text-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
}

.hero-content p {
  max-width: 680px;
  margin: 1.45rem 0 0;
  color: #eadff2;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.9;
}

.hero-tags,
.detail-tags,
.tag-row,
.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags {
  margin-top: 1.5rem;
}

.hero-tags span,
.detail-tags span,
.tag-row span,
.meta-pills span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--grape-300);
  background: rgba(255, 255, 255, 0.08);
}

.hero-tags span,
.detail-tags span,
.meta-pills span {
  padding: 0.46rem 0.75rem;
}

.tag-row span {
  padding: 0.26rem 0.52rem;
  font-size: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.center-actions {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.2rem;
  border-radius: 0.95rem;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  color: #1b0a2d;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: var(--glow);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  width: min(360px, 72vw);
  aspect-ratio: 2 / 3;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(103, 51, 153, 0.4), rgba(216, 170, 70, 0.14));
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.45), var(--glow);
  transform: rotate(1.5deg);
}

.hero-poster img,
.movie-card img,
.rank-item img,
.ranking-thumb img,
.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dots {
  position: absolute;
  right: max(1rem, calc((100vw - 1180px) / 2));
  bottom: 2rem;
  display: flex;
  gap: 0.55rem;
}

.hero-dot {
  width: 42px;
  height: 5px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--gold-300);
}

.home-search-band,
.section-shell,
.page-shell,
.detail-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.home-search-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 2rem;
  align-items: center;
  margin-top: -3rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.7rem;
  background: linear-gradient(135deg, rgba(50, 22, 77, 0.92), rgba(16, 5, 27, 0.95));
  box-shadow: var(--shadow);
}

.home-search-band h2,
.section-heading h2,
.page-hero h1,
.detail-info h1,
.detail-content h2,
.category-overview-card h2,
.ranking-body h2 {
  margin: 0;
}

.home-search-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.home-search-band p,
.page-hero p,
.category-overview-card p,
.detail-lead,
.detail-content p,
.movie-card p,
.ranking-body p,
.site-footer p {
  color: var(--muted);
  line-height: 1.8;
}

.wide-search input {
  padding: 1rem 1.1rem;
}

.wide-search button {
  min-width: 124px;
  padding: 1rem 1.2rem;
}

.section-shell {
  padding: clamp(3rem, 7vw, 5.5rem) 0 0;
}

.no-top {
  padding-top: 2rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading.small {
  align-items: start;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  letter-spacing: -0.04em;
}

.section-heading a {
  color: var(--gold-300);
  font-weight: 800;
}

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

.category-tile {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: end;
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.35rem;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border 0.25s ease;
}

.category-tile:hover {
  border-color: rgba(242, 200, 107, 0.5);
}

.category-tile span {
  color: var(--gold-300);
  font-size: 1.25rem;
  font-weight: 900;
}

.category-tile p {
  margin: 0.65rem 0 0;
  color: #e8ddf3;
  line-height: 1.7;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: start;
}

.movie-grid {
  display: grid;
  gap: 1rem;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(39, 16, 61, 0.88), rgba(15, 5, 27, 0.94));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  border-color: rgba(242, 200, 107, 0.42);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.36), var(--glow);
}

.poster-link {
  display: block;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, rgba(103, 51, 153, 0.45), rgba(216, 170, 70, 0.12));
}

.movie-card-body {
  padding: 1rem;
}

.card-meta,
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 800;
}

.movie-card h3 {
  margin: 0.55rem 0 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.movie-card p {
  min-height: 4.85em;
  margin: 0.5rem 0 0.8rem;
  font-size: 0.9rem;
}

.ranking-card {
  position: sticky;
  top: 94px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(35, 9, 61, 0.92), rgba(8, 2, 16, 0.96));
  box-shadow: var(--shadow);
}

.rank-list {
  display: grid;
  gap: 0.75rem;
}

.rank-item {
  display: grid;
  grid-template-columns: 34px 48px 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, background 0.25s ease;
}

.rank-number {
  color: var(--gold-300);
  font-weight: 900;
}

.rank-item img {
  aspect-ratio: 2 / 3;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
}

.rank-info strong,
.rank-info em {
  display: block;
}

.rank-info strong {
  line-height: 1.35;
}

.rank-info em {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.page-shell {
  padding: 2rem 0 5rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5rem) 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 170, 70, 0.22), transparent 22rem),
    linear-gradient(135deg, rgba(49, 17, 78, 0.94), rgba(9, 2, 18, 0.98));
  box-shadow: var(--shadow);
}

.compact-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  letter-spacing: -0.06em;
}

.compact-hero p {
  width: min(760px, 100%);
  margin: 1rem auto 0;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.25rem;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.055);
}

.filter-search span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold-300);
  font-size: 0.82rem;
  font-weight: 900;
}

.filter-search input {
  padding: 0.95rem 1rem;
}

.quick-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.quick-filter button {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: var(--grape-300);
  background: rgba(255, 255, 255, 0.07);
  padding: 0.62rem 0.82rem;
  cursor: pointer;
}

.quick-filter button:hover {
  color: var(--gold-300);
  border-color: rgba(242, 200, 107, 0.45);
}

.empty-state {
  margin: 2rem 0 0;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
}

.category-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border 0.25s ease;
}

.category-cover {
  display: flex;
  min-height: 170px;
  align-items: end;
  padding: 1rem;
  border-radius: 1rem;
  background-position: center;
  background-size: cover;
}

.category-cover span {
  color: var(--gold-300);
  font-size: 1.25rem;
  font-weight: 900;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.inline-links a {
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--grape-300);
  font-size: 0.82rem;
}

.ranking-list {
  display: grid;
  gap: 0.85rem;
}

.ranking-row {
  display: grid;
  grid-template-columns: 58px 86px minmax(0, 1fr) 66px;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
}

.ranking-index {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 1rem;
  color: #1b0a2d;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  font-weight: 900;
}

.ranking-thumb {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
}

.ranking-body h2 {
  font-size: 1.15rem;
}

.ranking-body p {
  margin: 0.35rem 0;
}

.score {
  color: var(--gold-300);
  font-size: 1.4rem;
  text-align: right;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  padding: 1.25rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--gold-300);
}

.detail-page {
  padding-bottom: 5rem;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 2rem;
  align-items: center;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.6rem;
  background: #000000;
  box-shadow: var(--shadow), var(--glow);
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: none;
  padding: 0;
  color: var(--white);
  background: #000000;
  cursor: pointer;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19, 5, 31, 0.74), rgba(0, 0, 0, 0.48));
}

.player-cover.is-hidden {
  display: none;
}

.play-bubble {
  position: relative;
  z-index: 2;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  color: #1b0a2d;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: var(--glow);
  font-size: 2rem;
  padding-left: 0.2rem;
}

.play-label {
  position: relative;
  z-index: 2;
  margin-top: 6rem;
  padding: 0.52rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--gold-300);
  font-weight: 900;
}

.detail-info {
  padding: 1.25rem 0;
}

.detail-info h1 {
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.detail-lead {
  margin: 1rem 0 1.3rem;
  font-size: 1.05rem;
}

.meta-pills,
.detail-tags {
  margin: 1rem 0;
}

.detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.detail-content article {
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.06);
}

.detail-content h2 {
  color: var(--gold-300);
  font-size: 1.3rem;
}

.site-footer {
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(19, 5, 31, 0.7), rgba(0, 0, 0, 0.92));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 2rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0;
}

.footer-brand {
  width: max-content;
  font-size: 1.35rem;
}

.site-footer h2 {
  margin: 0 0 1rem;
  color: var(--gold-300);
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--grape-300);
}

.footer-links a:hover {
  color: var(--gold-300);
}

.copyright {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.4rem 0 2rem;
  color: rgba(191, 174, 208, 0.68);
  font-size: 0.9rem;
}

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

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

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

  .split-layout,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .ranking-card {
    position: static;
  }

  .hero-slide {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    justify-self: start;
    width: min(280px, 64vw);
  }
}

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

  .menu-toggle {
    display: block;
  }

  .nav-shell {
    height: 66px;
  }

  .hero-carousel,
  .hero-track,
  .hero-slide {
    min-height: auto;
  }

  .hero-slide {
    padding: 4rem 1rem 6rem;
  }

  .hero-content h1 {
    font-size: clamp(2.7rem, 16vw, 5rem);
  }

  .hero-dots {
    left: 1rem;
    right: auto;
  }

  .home-search-band,
  .filter-panel,
  .footer-grid,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .home-search-band {
    margin-top: 1rem;
    padding: 1.2rem;
  }

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

  .category-overview {
    grid-template-columns: 1fr;
  }

  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 44px 72px 1fr;
  }

  .score {
    grid-column: 2 / 4;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .brand-text small {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .home-grid,
  .full-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .wide-search,
  .mobile-search {
    flex-direction: column;
    align-items: stretch;
  }

  .page-hero {
    padding: 2.4rem 1rem;
    border-radius: 1.4rem;
  }

  .detail-info h1 {
    font-size: 2.45rem;
  }
}
