:root {
  --bg: #0d090d;
  --bg2: #151016;
  --panel: #1b1319;
  --panel2: #231923;
  --text: #fffafc;
  --muted: #b9aeb5;
  --gold: #ffd24a;
  --orange: #ff9d16;
  --pink: #f49aaa;
  --pink2: #c96b83;
  --line: rgba(255, 255, 255, .10);
  --shadow: 0 30px 80px rgba(0, 0, 0, .42);
  --ease: cubic-bezier(.22, .7, .18, 1);
  --max: 1280px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  background: var(--bg)
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 8%, rgba(244, 154, 170, .13), transparent 30rem),
    radial-gradient(circle at 15% 35%, rgba(255, 210, 74, .06), transparent 28rem),
    linear-gradient(180deg, #0b080b 0%, #110c11 44%, #0d090d 100%);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  z-index: 10
}

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

button {
  font: inherit
}

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

.container {
  width: min(var(--max), calc(100% - 56px));
  margin: auto
}

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: #111
}

.skip:focus {
  top: 12px
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 9, 13, .78);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.nav-shell {
  width: min(1400px, calc(100% - 40px));
  height: 78px;
  margin: auto;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  gap: 20px
}

.brand img {
  width: 178px;
  height: auto;
  object-fit: contain
}

.navlinks {
  display: flex;
  justify-content: center;
  gap: 4px
}

.navlinks a {
  position: relative;
  padding: 10px 14px;
  color: #bdb2b9;
  font-size: 15px;
  transition: .35s
}

.navlinks a:hover,
.navlinks a.active {
  color: #fff
}

.navlinks a.active:after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--pink))
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px
}

.nav-download,
.category-btn {
  height: 42px;
  border-radius: 999px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 210, 74, .35);
  background: linear-gradient(135deg, #ffd24a, #f6a31e);
  color: #1b1010;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(255, 171, 44, .16);
  transition: .35s
}

.nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(255, 171, 44, .28)
}

.category-btn {
  background: transparent;
  color: #fff;
  border-color: var(--line);
  gap: 8px;
  cursor: pointer
}

.category-btn span {
  width: 13px;
  height: 1px;
  background: #fff;
  display: block
}

.category-btn em {
  font-style: normal
}

.qr-trigger {
  position: relative
}

.qr-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 13px);
  width: 190px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: rgba(27, 19, 25, .97);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.96);
  transition: .35s var(--ease);
  pointer-events: none
}

.qr-pop:before {
  content: "";
  position: absolute;
  top: -6px;
  right: 35px;
  width: 12px;
  height: 12px;
  background: #1b1319;
  border-left: 1px solid rgba(255, 255, 255, .13);
  border-top: 1px solid rgba(255, 255, 255, .13);
  transform: rotate(45deg)
}

.qr-pop img {
  width: 166px;
  height: 166px;
  border-radius: 10px;
  background: #fff
}

.qr-pop b {
  display: block;
  text-align: center;
  font-size: 12px;
  margin-top: 8px;
  color: #fff
}

.qr-trigger:hover .qr-pop,
.qr-trigger:focus-within .qr-pop {
  opacity: 1;
  visibility: visible;
  transform: none
}

.qr-pop.up {
  top: auto;
  bottom: calc(100% + 14px);
  transform: translateY(8px) scale(.96)
}

.qr-pop.up:before {
  top: auto;
  bottom: -6px;
  transform: rotate(225deg)
}

.qr-trigger:hover .qr-pop.up {
  transform: none
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none
}

.drawer.is-open {
  pointer-events: auto
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .58);
  opacity: 0;
  transition: .45s
}

.drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: min(390px, 92vw);
  height: 100%;
  padding: 34px;
  background: linear-gradient(160deg, #20151e, #100b10 68%);
  border-left: 1px solid rgba(255, 255, 255, .1);
  transform: translateX(105%);
  transition: .55s var(--ease);
  display: flex;
  flex-direction: column
}

.drawer.is-open .drawer-backdrop {
  opacity: 1
}

.drawer.is-open .drawer-panel {
  transform: none
}

.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--pink);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line)
}

.drawer-top button {
  border: 0;
  background: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer
}

.drawer-nav {
  display: grid;
  gap: 6px;
  padding: 25px 0
}

.drawer-nav a {
  padding: 15px 14px;
  border-radius: 13px;
  color: #bdb2b9;
  font-size: 19px;
  transition: .3s
}

.drawer-nav a:hover,
.drawer-nav a.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(244, 154, 170, .15), transparent);
  padding-left: 20px
}

.drawer-foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 22px
}

.drawer-logo img {
  width: 180px;
  margin-bottom: 18px
}

.drawer-download>a {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--pink2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff
}

.drawer-download .qr-pop {
  right: 0
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 40px;
  padding-top: 45px;
  padding-bottom: 75px;
  position: relative
}

.hero:after {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  right: -260px;
  top: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 154, 170, .15), transparent 68%);
  filter: blur(4px);
  pointer-events: none
}

.hero-copy {
  position: relative;
  z-index: 2
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 800
}

.eyebrow:before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--pink))
}

.hero h1 {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -.05em;
  margin: 18px 0 18px;
  font-weight: 900
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #fff, var(--gold) 50%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero-lead {
  font-size: 18px;
  color: #d5cbd0;
  max-width: 580px;
  margin: 0 0 28px
}

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

.hero-primary,
.hero-secondary {
  height: 52px;
  padding: 0 25px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800
}

.hero-primary {
  background: #fff;
  color: #151015
}

.hero-secondary {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04)
}

.hero-primary:hover,
.hero-secondary:hover {
  transform: translateY(-2px)
}

.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 38px
}

.hero-meta div {
  display: grid;
  gap: 2px
}

.hero-meta strong {
  font-size: 21px;
  color: var(--gold)
}

.hero-meta span {
  font-size: 12px;
  color: var(--muted)
}

.hero-stage {
  height: 650px;
  position: relative;
  perspective: 1400px;
  z-index: 1
}

.stage-floor {
  position: absolute;
  left: 4%;
  right: 0;
  bottom: 7%;
  height: 25%;
  background: radial-gradient(ellipse, rgba(244, 154, 170, .18), transparent 68%);
  filter: blur(18px)
}

.stage-poster {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 245px;
  aspect-ratio: 3/4;
  transform-origin: center bottom;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 35px 65px rgba(0, 0, 0, .58);
  transition: transform .9s var(--ease), filter .7s
}

.stage-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.stage-poster:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .48))
}

.stage-poster.main {
  transform: translate(-50%, -50%) translateZ(80px) scale(1.06);
  z-index: 5;
  box-shadow: 0 30px 80px rgba(244, 154, 170, .24)
}

.stage-poster.left {
  transform: translate(-112%, -50%) rotateY(28deg) scale(.9);
  z-index: 4;
  filter: saturate(.86)
}

.stage-poster.right {
  transform: translate(12%, -50%) rotateY(-28deg) scale(.9);
  z-index: 4;
  filter: saturate(.86)
}

.stage-poster.farleft {
  transform: translate(-168%, -48%) rotateY(45deg) scale(.73);
  z-index: 2;
  filter: brightness(.7)
}

.stage-poster.farright {
  transform: translate(68%, -48%) rotateY(-45deg) scale(.73);
  z-index: 2;
  filter: brightness(.7)
}

.hero-stage:hover .stage-poster.main {
  transform: translate(-50%, -52%) translateZ(110px) scale(1.08)
}

.hero-stage:hover .stage-poster.left {
  transform: translate(-118%, -50%) rotateY(26deg) scale(.91)
}

.hero-stage:hover .stage-poster.right {
  transform: translate(18%, -50%) rotateY(-26deg) scale(.91)
}

.stage-badge {
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  z-index: 8;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(13, 9, 13, .7);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .13);
  font-size: 12px;
  color: #fff
}

.section {
  padding: 105px 0
}

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

.section-head h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  margin: 9px 0 0;
  letter-spacing: -.04em
}

.section-head p {
  color: var(--muted);
  margin: 0;
  max-width: 360px;
  text-align: right
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 18px
}

.feature-main {
  min-height: 600px;
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #181117
}

.feature-main img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  transition: transform 1.1s var(--ease)
}

.feature-main:hover img {
  transform: scale(1.035)
}

.feature-main:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .82))
}

.feature-content {
  position: absolute;
  z-index: 2;
  left: 35px;
  right: 35px;
  bottom: 30px
}

.feature-content h3 {
  font-size: 34px;
  margin: 8px 0
}

.feature-content p {
  margin: 0;
  color: #d2c8ce
}

.side-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px
}

.side-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  min-height: 291px
}

.side-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1s var(--ease)
}

.side-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .78))
}

.side-card:hover img {
  transform: scale(1.06)
}

.side-card .side-copy {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 18px
}

.side-card h3 {
  margin: 5px 0;
  font-size: 22px
}

.side-card span {
  color: #ddd;
  font-size: 12px
}

.rail {
  display: flex;
  gap: 16px;
  overflow: auto;
  padding: 4px 0 18px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory
}

.rail::-webkit-scrollbar {
  display: none
}

.rail .poster-card {
  min-width: 190px;
  scroll-snap-align: start
}

.poster-card {
  min-width: 0
}

.poster-link {
  display: block
}

.poster-media {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 19px;
  overflow: hidden;
  background: #211820;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .18)
}

.poster-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .7s
}

.poster-card:hover .poster-media img {
  transform: scale(1.045);
  filter: saturate(1.06)
}

.poster-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(12, 9, 12, .7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 10px;
  color: #fff
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  transform: translate(-50%, -46%) scale(.78);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  opacity: 0;
  transition: .45s var(--ease);
  display: grid;
  place-items: center
}

.play-mark i {
  display: block;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #171017;
  margin-left: 3px
}

.poster-card:hover .play-mark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1)
}

.poster-info {
  padding: 12px 3px 4px
}

.poster-info h3 {
  margin: 0;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.poster-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  color: #8f838b;
  font-size: 12px
}

.poster-meta b {
  color: var(--gold);
  font-size: 13px
}

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

.poster-grid .poster-card:nth-child(5n+1) {
  transition-delay: .02s
}

.poster-grid .poster-card:nth-child(5n+2) {
  transition-delay: .06s
}

.poster-grid .poster-card:nth-child(5n+3) {
  transition-delay: .1s
}

.poster-grid .poster-card:nth-child(5n+4) {
  transition-delay: .14s
}

.poster-grid .poster-card:nth-child(5n+5) {
  transition-delay: .18s
}

.rank-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px
}

.rank-list {
  border-top: 1px solid var(--line)
}

.rank-row {
  display: grid;
  grid-template-columns: 62px 92px 1fr 120px 55px;
  gap: 18px;
  align-items: center;
  padding: 17px 10px;
  border-bottom: 1px solid var(--line);
  transition: .35s
}

.rank-row:hover {
  background: rgba(255, 255, 255, .025);
  transform: translateX(5px)
}

.rank-num {
  font-size: 27px;
  font-weight: 900;
  color: #75666f
}

.rank-row:nth-child(1) .rank-num {
  color: var(--gold)
}

.rank-thumb {
  width: 92px;
  aspect-ratio: 3/4;
  border-radius: 11px;
  overflow: hidden
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.rank-title {
  font-weight: 800
}

.rank-title small {
  display: block;
  color: #8f838b;
  margin-top: 3px;
  font-size: 11px
}

.rank-heat {
  color: #b9adb5;
  font-size: 12px
}

.rank-score {
  color: var(--gold);
  font-weight: 900;
  font-size: 18px;
  text-align: right
}

.rank-panel {
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 30px;
  background: linear-gradient(160deg, rgba(244, 154, 170, .10), rgba(255, 255, 255, .02));
  min-height: 100%
}

.rank-panel h3 {
  font-size: 28px;
  margin: 0 0 8px
}

.rank-panel p {
  color: var(--muted);
  margin: 0 0 24px
}

.rank-panel .big-score {
  font-size: 78px;
  line-height: 1;
  font-weight: 900;
  background: linear-gradient(180deg, #fff, var(--pink));
  -webkit-background-clip: text;
  color: transparent
}

.rank-panel .mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 28px
}

.mini-stat {
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 14px
}

.mini-stat b {
  display: block;
  color: var(--gold);
  font-size: 18px
}

.mini-stat span {
  color: #8f838b;
  font-size: 11px
}

.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.tri-card {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  border-radius: 23px;
  border: 1px solid var(--line)
}

.tri-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1s var(--ease)
}

.tri-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .82))
}

.tri-card:hover img {
  transform: scale(1.05)
}

.tri-copy {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 20px;
  bottom: 21px
}

.tri-copy h3 {
  font-size: 25px;
  margin: 7px 0
}

.tri-copy span {
  font-size: 11px;
  color: #d2c8ce
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px
}

.genre {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(244, 154, 170, .03));
  transition: .4s
}

.genre:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 154, 170, .35)
}

.genre b {
  font-size: 24px
}

.genre span {
  position: absolute;
  right: 15px;
  bottom: 12px;
  color: rgba(255, 210, 74, .4);
  font-size: 50px;
  font-weight: 900
}

.genre small {
  display: block;
  color: #8f838b;
  margin-top: 7px
}

.barrage {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, .018);
  display: grid;
  gap: 12px
}

.barrage-line {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: comment 24s linear infinite
}

.barrage-line:nth-child(2) {
  animation-direction: reverse;
  animation-duration: 29s
}

.barrage-line span {
  padding: 9px 14px;
  border-radius: 999px;
  background: #1c141a;
  border: 1px solid rgba(255, 255, 255, .07);
  color: #d5cbd0;
  font-size: 12px
}

.barrage-line b {
  color: var(--pink);
  font-weight: 700
}

@keyframes comment {
  to {
    transform: translateX(-45%)
  }
}

.comments {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 18px
}

.comment-card {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012))
}

.comment-card p {
  margin: 0 0 12px;
  font-size: 14px
}

.comment-user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8f838b;
  font-size: 11px
}

.comment-user img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover
}

.download-panel {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 50px 55px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  background: linear-gradient(115deg, #7d4b60, #9b5c70 48%, #5b3b4b);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .16)
}

.download-panel:before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -130px;
  top: -200px;
  border-radius: 50%;
  background: rgba(255, 210, 74, .18);
  filter: blur(2px)
}

.download-panel h2 {
  font-size: 42px;
  margin: 0 0 7px;
  position: relative
}

.download-panel p {
  margin: 0;
  color: #f6e9ed;
  position: relative
}

.download-actions {
  display: flex;
  gap: 10px;
  position: relative
}

.download-action {
  position: relative
}

.download-action>a {
  height: 52px;
  min-width: 145px;
  padding: 0 23px;
  border-radius: 999px;
  background: #fff;
  color: #38202a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900
}

.download-action:last-child>a {
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff
}

.download-action .qr-pop {
  right: 0;
  top: auto;
  bottom: calc(100% + 14px)
}

.download-action .qr-pop:before {
  top: auto;
  bottom: -6px;
  transform: rotate(225deg)
}

.subhero {
  padding: 85px 0 45px
}

.subhero-inner {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 40px;
  align-items: center
}

.subhero h1 {
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.03;
  letter-spacing: -.05em;
  margin: 15px 0
}

.subhero h1 em {
  font-style: normal;
  color: var(--gold)
}

.subhero p {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px
}

.subvisual {
  height: 420px;
  position: relative
}

.subvisual img {
  position: absolute;
  width: 190px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow)
}

.subvisual img:nth-child(1) {
  right: 24%;
  top: 5%;
  transform: rotate(-6deg)
}

.subvisual img:nth-child(2) {
  right: 0;
  top: 16%;
  transform: rotate(8deg)
}

.subvisual img:nth-child(3) {
  right: 45%;
  top: 20%;
  transform: rotate(-16deg);
  filter: brightness(.75)
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px
}

.filter {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #a89ba4;
  font-size: 12px
}

.filter.active {
  background: #fff;
  color: #161016;
  border-color: #fff
}

.ranking-hero {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 18px;
  align-items: stretch
}

.ranking-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  min-height: 450px
}

.ranking-card img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.ranking-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .9))
}

.ranking-card .copy {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  left: 28px
}

.ranking-card h2 {
  font-size: 34px;
  margin: 7px 0
}

.ranking-card .score {
  color: var(--gold);
  font-size: 13px
}

.ranking-side {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 25px;
  background: linear-gradient(145deg, rgba(244, 154, 170, .11), rgba(255, 255, 255, .02))
}

.ranking-side h3 {
  margin: 0 0 18px;
  font-size: 25px
}

.ranking-side ol {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 4px
}

.ranking-side li {
  display: grid;
  grid-template-columns: 35px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line)
}

.ranking-side li b {
  color: #8b7d86
}

.ranking-side li span {
  font-size: 13px
}

.ranking-side li strong {
  color: var(--gold)
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .02);
  overflow: hidden
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800
}

.faq-item summary::-webkit-details-marker {
  display: none
}

.faq-item summary b {
  font-size: 22px;
  color: var(--pink);
  transition: .3s
}

.faq-item[open] summary b {
  transform: rotate(45deg)
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: #b9aeb5;
  max-width: 850px
}

.footer {
  padding: 70px 0 25px;
  border-top: 1px solid var(--line);
  background: #090709
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end
}

.footer-brand {
  display: grid;
  gap: 4px
}

.footer-brand img {
  width: 160px;
  margin-bottom: 6px
}

.footer-brand strong {
  font-size: 22px
}

.footer-brand span {
  color: #81747d;
  font-size: 12px
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end
}

.footer-links a {
  color: #9b8f97;
  font-size: 12px
}

.footer-links a:hover {
  color: #fff
}

.footer-bottom {
  margin-top: 45px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: #665b63;
  font-size: 11px
}

.backtop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border-radius: 17px;
  z-index: 40;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(18px);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: .35s
}

.backtop.show {
  opacity: 1;
  transform: none;
  pointer-events: auto
}

.backtop:before {
  content: "↑";
  font-size: 20px
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .9s var(--ease)
}

.reveal.from-left {
  transform: translateX(-38px)
}

.reveal.from-right {
  transform: translateX(38px)
}

.reveal.zoom {
  transform: scale(.94);
  filter: blur(4px)
}

.reveal.in-view {
  opacity: 1;
  transform: none;
  filter: none
}

[data-stagger] {
  transition-delay: var(--delay, 0s)
}

@media(max-width:1100px) {
  .nav-shell {
    grid-template-columns: 180px 1fr 180px
  }

  .navlinks a {
    padding-inline: 9px;
    font-size: 13px
  }

  .navlinks a.active:after {
    left: 9px;
    right: 9px
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 65px
  }

  .hero-copy {
    max-width: 780px
  }

  .hero-stage {
    height: 540px;
    margin-top: -15px
  }

  .stage-poster {
    width: 220px
  }

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

  .feature-grid {
    grid-template-columns: 1fr
  }

  .side-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none
  }

  .feature-main {
    min-height: 540px
  }

  .feature-main img {
    min-height: 540px
  }

  .rank-layout {
    grid-template-columns: 1fr
  }

  .ranking-hero {
    grid-template-columns: 1fr
  }
}

@media(max-width:820px) {
  .container {
    width: min(100% - 30px, var(--max))
  }

  .nav-shell {
    height: 68px;
    grid-template-columns: 1fr auto
  }

  .brand img {
    width: 150px
  }

  .navlinks {
    display: none
  }

  .nav-actions {
    gap: 7px
  }

  .nav-download {
    height: 39px;
    padding: 0 15px;
    font-size: 13px
  }

  .category-btn {
    height: 39px;
    padding: 0 13px
  }

  .hero {
    padding: 50px 0 45px
  }

  .hero h1 {
    font-size: 54px
  }

  .hero-lead {
    font-size: 16px
  }

  .hero-stage {
    height: 480px
  }

  .stage-poster {
    width: 190px;
    border-radius: 18px
  }

  .stage-poster.farleft,
  .stage-poster.farright {
    display: none
  }

  .stage-poster.left {
    transform: translate(-105%, -50%) rotateY(22deg) scale(.82)
  }

  .stage-poster.right {
    transform: translate(5%, -50%) rotateY(-22deg) scale(.82)
  }

  .stage-poster.main {
    transform: translate(-50%, -50%) scale(1)
  }

  .hero-stage:hover .stage-poster.main {
    transform: translate(-50%, -51%) scale(1.02)
  }

  .section {
    padding: 75px 0
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    margin-bottom: 24px
  }

  .section-head p {
    text-align: left
  }

  .poster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 10px
  }

  .feature-content {
    left: 22px;
    right: 22px
  }

  .feature-content h3 {
    font-size: 27px
  }

  .side-stack {
    grid-template-columns: 1fr 1fr
  }

  .tri-grid {
    grid-template-columns: 1fr 1fr
  }

  .genre-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .comments {
    grid-template-columns: 1fr
  }

  .download-panel {
    grid-template-columns: 1fr;
    padding: 35px 28px
  }

  .download-panel h2 {
    font-size: 33px
  }

  .download-actions {
    flex-wrap: wrap
  }

  .download-action>a {
    min-width: 135px
  }

  .subhero {
    padding: 60px 0 25px
  }

  .subhero-inner {
    grid-template-columns: 1fr
  }

  .subvisual {
    height: 300px;
    margin-top: -20px
  }

  .subvisual img {
    width: 150px
  }

  .subhero p {
    font-size: 15px
  }

  .ranking-card {
    min-height: 380px
  }

  .rank-row {
    grid-template-columns: 35px 64px 1fr 50px;
    gap: 10px
  }

  .rank-thumb {
    width: 64px
  }

  .rank-heat {
    display: none
  }

  .rank-score {
    text-align: right
  }

  .rank-panel {
    display: none
  }

  .footer-main {
    display: grid
  }

  .footer-links {
    justify-content: flex-start
  }

  .footer-bottom {
    display: grid;
    gap: 8px
  }
}

@media(max-width:520px) {
  .nav-download {
    font-size: 0;
    width: 40px;
    padding: 0
  }

  .nav-download:after {
    /* content: "↓"; */
    font-size: 18px
  }

  .category-btn em {
    display: none
  }

  .category-btn {
    width: 40px;
    padding: 0
  }

  .category-btn span {
    position: absolute
  }

  .category-btn span:first-child {
    transform: translateY(-3px)
  }

  .category-btn span:last-child {
    transform: translateY(3px)
  }

  .hero h1 {
    font-size: 44px
  }

  .hero-meta {
    gap: 18px;
    flex-wrap: wrap
  }

  .hero-stage {
    height: 410px
  }

  .stage-poster {
    width: 160px
  }

  .stage-poster.left {
    transform: translate(-90%, -50%) rotateY(18deg) scale(.76)
  }

  .stage-poster.right {
    transform: translate(-10%, -50%) rotateY(-18deg) scale(.76)
  }

  .hero-stage:hover .stage-poster.left {
    transform: translate(-90%, -50%) rotateY(18deg) scale(.76)
  }

  .hero-stage:hover .stage-poster.right {
    transform: translate(-10%, -50%) rotateY(-18deg) scale(.76)
  }

  .feature-main,
  .feature-main img {
    min-height: 440px
  }

  .side-stack {
    grid-template-columns: 1fr
  }

  .side-card {
    min-height: 240px
  }

  .poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 10px
  }

  .tri-grid {
    grid-template-columns: 1fr
  }

  .genre {
    min-height: 125px
  }

  .rank-row {
    grid-template-columns: 29px 58px 1fr 42px
  }

  .rank-title {
    font-size: 13px
  }

  .rank-score {
    font-size: 16px
  }

  .download-actions {
    display: grid;
    grid-template-columns: 1fr 1fr
  }

  .download-action>a {
    min-width: 0;
    padding-inline: 10px
  }

  .subhero h1 {
    font-size: 48px
  }

  .subvisual {
    height: 245px
  }

  .subvisual img {
    width: 125px
  }

  .drawer-panel {
    padding: 26px 22px
  }
}

@media(hover:none) {
  .play-mark {
    display: none
  }

  .poster-card:hover .poster-media img,
  .side-card:hover img,
  .feature-main:hover img,
  .tri-card:hover img {
    transform: none
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important
  }
}

/* ===== Cinema V4 refinements ===== */
.nav-shell {
  grid-template-columns: 190px minmax(0, 1fr) 215px
}

.nav-actions {
  justify-content: flex-end;
  gap: 9px
}

.category-btn {
  order: 0;
  position: relative;
  min-width: 92px;
  height: 44px;
  padding: 0 16px;
  display: inline-flex;
  gap: 9px;
  border: 1px solid rgba(244, 154, 170, .38);
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  backdrop-filter: blur(16px);
  transition: transform .35s var(--ease), border-color .35s, background .35s
}

.category-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 210, 74, .7);
  background: linear-gradient(180deg, rgba(244, 154, 170, .16), rgba(255, 255, 255, .035))
}

.category-btn em {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em
}

.nav-download {
  height: 44px;
  min-width: 104px;
  padding: 0 18px;
  font-size: 14px;
  border: 1px solid rgba(255, 210, 74, .55);
  background: linear-gradient(135deg, #ffd65a, #f39a23);
  box-shadow: 0 12px 34px rgba(255, 171, 44, .18);
  transition: transform .35s var(--ease), box-shadow .35s
}

.nav-download:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 18px 42px rgba(255, 171, 44, .3)
}

.nav-download-wrap {
  order: 1
}

.hero-stage {
  height: 600px;
  cursor: default
}

.stage-poster {
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .16);
  appearance: none;
  -webkit-appearance: none
}

.stage-poster:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px
}

.stage-poster.main {
  box-shadow: 0 30px 80px rgba(244, 154, 170, .27), 0 0 0 1px rgba(255, 210, 74, .08)
}

.stage-poster.main:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 -80px 90px rgba(0, 0, 0, .22);
  pointer-events: none
}

.feature-grid {
  grid-template-columns: 1.08fr .92fr;
  gap: 16px
}

.feature-main {
  min-height: 480px;
  max-height: 560px
}

.feature-main img {
  min-height: 480px;
  max-height: 560px
}

.side-stack {
  gap: 16px
}

.side-card {
  min-height: 232px;
  max-height: 272px
}

.side-card .side-copy {
  left: 19px;
  bottom: 15px
}

.side-card h3 {
  font-size: 20px
}

.rail {
  cursor: grab;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch
}

.rail:active {
  cursor: grabbing
}

.rail .poster-card {
  min-width: 176px;
  max-width: 176px
}

.rail::-webkit-scrollbar {
  height: 5px;
  display: block
}

.rail::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .035);
  border-radius: 999px
}

.rail::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(255, 210, 74, .55), rgba(244, 154, 170, .6));
  border-radius: 999px
}

.rank-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: stretch
}

.rank-row {
  width: 100%;
  font: inherit;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-left: 0;
  border-right: 0;
  border-top: 0
}

.rank-row.active {
  background: linear-gradient(90deg, rgba(244, 154, 170, .13), rgba(255, 210, 74, .025));
  box-shadow: inset 3px 0 0 var(--pink)
}

.rank-row.active .rank-num {
  color: var(--gold)
}

.rank-panel {
  padding: 22px;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column
}

.rank-panel-media {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: end
}

.rank-panel-media img {
  width: 132px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .35)
}

.rank-panel-media h3 {
  font-size: 30px;
  line-height: 1.1;
  margin: 6px 0
}

.rank-panel-media p {
  margin: 0;
  color: #b9aeb5
}

.rank-panel-body {
  padding-top: 16px
}

.rank-panel .big-score {
  font-size: 64px
}

.rank-desc {
  color: #d7cbd1;
  font-size: 14px;
  line-height: 1.9;
  margin: 8px 0 16px
}

.rank-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px
}

.rank-tags span,
.genre-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(244, 154, 170, .08);
  border: 1px solid rgba(244, 154, 170, .18);
  color: #e8dce1;
  font-size: 11px
}

.rank-row.fade-out .rank-panel {}

.mini-stat {
  min-height: 66px
}

.genre-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px
}

.genre {
  min-height: 138px;
  padding: 18px 18px 17px
}

.genre-icon {
  position: absolute;
  right: 17px;
  top: 15px;
  font-style: normal;
  font-size: 29px;
  line-height: 1;
  color: var(--gold);
  opacity: .95;
  text-shadow: 0 0 22px rgba(255, 210, 74, .2)
}

.genre-chip {
  position: absolute;
  left: 18px;
  bottom: 16px
}

.genre small {
  max-width: 130px
}

.barrage {
  padding: 0;
  height: 54px;
  border-radius: 18px;
  display: block;
  white-space: nowrap
}

.barrage-line {
  height: 100%;
  align-items: center;
  gap: 18px;
  animation: comment 36s linear infinite;
  padding: 0 12px
}

.barrage-line span {
  padding: 8px 13px;
  font-size: 12px
}

@keyframes comment {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.comments {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.comment-card {
  min-height: 126px;
  padding: 17px
}

.comment-card p {
  line-height: 1.75
}

.download-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 250px;
  padding: 40px 44px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 40%, rgba(255, 210, 74, .18), transparent 22%),
    radial-gradient(circle at 56% 120%, rgba(244, 154, 170, .20), transparent 35%),
    linear-gradient(120deg, #5d3347 0%, #8e4e68 52%, #b26b7d 100%)
}

.download-panel:after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  pointer-events: none
}

.download-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  right: 16%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 210, 74, .14);
  filter: blur(35px);
  pointer-events: none
}

.download-copy {
  position: relative;
  z-index: 2
}

.download-copy h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -.035em
}

.download-pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 18px
}

.download-pills span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff1f4;
  font-size: 11px;
  background: rgba(0, 0, 0, .10)
}

.download-actions {
  z-index: 3
}

.download-action>a {
  min-width: 160px;
  height: 58px;
  gap: 12px;
  background: #fff;
  color: #351b27;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .24);
  transition: transform .35s var(--ease), box-shadow .35s
}

.download-action>a i {
  font-style: normal;
  font-size: 18px;
  transition: transform .35s
}

.download-action:hover>a {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .3)
}

.download-action:hover>a i {
  transform: translate(3px, -3px)
}

.download-action .qr-pop {
  bottom: calc(100% + 16px);
  top: auto
}

.subpage-showcase {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px
}

.showcase-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px
}

.showcase-wall a {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: #171016
}

.showcase-wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .7s
}

.showcase-wall a:hover img {
  transform: scale(1.05);
  filter: saturate(1.08)
}

.showcase-copy {
  padding: 30px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(244, 154, 170, .10), rgba(255, 210, 74, .035));
  display: flex;
  flex-direction: column;
  justify-content: center
}

.showcase-copy h2 {
  font-size: 32px;
  margin: 6px 0 10px
}

.showcase-copy p {
  color: #c4b7bf;
  line-height: 1.9;
  margin: 0
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px
}

.showcase-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .035);
  font-size: 11px;
  color: #e6dce1
}

@media(max-width:1100px) {
  .nav-shell {
    grid-template-columns: 170px minmax(0, 1fr) 215px
  }

  .feature-grid {
    grid-template-columns: 1fr .85fr
  }

  .feature-main,
  .feature-main img {
    min-height: 430px
  }

  .side-card {
    min-height: 208px
  }

  .rank-layout {
    grid-template-columns: 1fr
  }

  .rank-panel {
    min-height: 420px
  }

  .subpage-showcase {
    grid-template-columns: 1fr
  }

  .showcase-wall {
    grid-template-columns: repeat(6, 1fr)
  }
}

@media(max-width:820px) {
  .nav-shell {
    grid-template-columns: 1fr auto
  }

  .nav-actions {
    gap: 7px
  }

  .category-btn {
    min-width: 82px;
    height: 40px;
    padding: 0 13px
  }

  .nav-download {
    height: 40px;
    min-width: 94px;
    padding: 0 15px
  }

  .hero-stage {
    height: 480px
  }

  .feature-grid {
    grid-template-columns: 1fr
  }

  .feature-main,
  .feature-main img {
    min-height: 430px;
    max-height: 500px
  }

  .side-stack {
    grid-template-columns: 1fr 1fr
  }

  .side-card {
    min-height: 210px;
    max-height: 240px
  }

  .rail .poster-card {
    min-width: 172px;
    max-width: 172px
  }

  .rank-panel {
    display: flex
  }

  .rank-panel-media {
    grid-template-columns: 105px 1fr
  }

  .rank-panel-media img {
    width: 105px
  }

  .rank-panel-media h3 {
    font-size: 24px
  }

  .genre-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .comments {
    grid-template-columns: repeat(2, 1fr)
  }

  .download-panel {
    grid-template-columns: 1fr;
    padding: 32px 25px
  }

  .download-actions {
    justify-content: flex-start
  }
}

@media(max-width:520px) {
  .category-btn {
    min-width: 40px;
    width: 40px;
    padding: 0;
    justify-content: center
  }

  .category-btn em {
    display: none
  }

  .nav-download {
    min-width: 40px;
    width: 40px;
    padding: 0;
    font-size: 0
  }

  .nav-download:after {
    /* content: "↓"; */
    font-size: 18px
  }

  .hero-stage {
    height: 410px
  }

  .feature-main,
  .feature-main img {
    min-height: 390px;
    max-height: 440px
  }

  .side-stack {
    grid-template-columns: 1fr
  }

  .side-card {
    min-height: 220px;
    max-height: 250px
  }

  .rail .poster-card {
    min-width: 150px;
    max-width: 150px
  }

  .rank-panel {
    display: flex;
    padding: 18px
  }

  .rank-panel-media {
    grid-template-columns: 86px 1fr;
    gap: 12px
  }

  .rank-panel-media img {
    width: 86px
  }

  .rank-panel-media h3 {
    font-size: 20px
  }

  .rank-panel .big-score {
    font-size: 52px
  }

  .genre {
    min-height: 118px
  }

  .genre-icon {
    font-size: 24px
  }

  .genre-chip {
    bottom: 13px;
    left: 15px
  }

  .barrage {
    height: 50px
  }

  .barrage-line {
    gap: 12px
  }

  .barrage-line span {
    font-size: 11px;
    padding: 7px 11px
  }

  .comments {
    grid-template-columns: 1fr
  }

  .comment-card {
    min-height: 0
  }

  .download-panel {
    padding: 28px 20px;
    border-radius: 22px
  }

  .download-panel:after {
    inset: 10px;
    border-radius: 16px
  }

  .download-action>a {
    width: 100%;
    min-width: 0
  }

  .showcase-wall {
    grid-template-columns: repeat(3, 1fr)
  }
}

.rank-panel.is-switching .rank-panel-media img,
.rank-panel.is-switching .rank-panel-body {
  opacity: 0;
  transform: translateY(7px);
  transition: .16s ease
}

.rank-panel-media img,
.rank-panel-body {
  opacity: 1;
  transform: none;
  transition: opacity .32s ease, transform .38s var(--ease)
}

.rail.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing
}

.rank-layout {
  align-items: start
}

.rank-panel {
  min-height: 0;
  align-self: start
}

.genre-chip {
  right: auto !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  position: absolute !important
}

.faq-subtitle {
  margin: 0 0 0 14px;
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  vertical-align: middle
}

@media(max-width:820px) {
  .faq-subtitle {
    display: block;
    margin: 7px 0 0
  }
}


/* V5 refinements */
.nav-shell {
  grid-template-columns: 190px minmax(0, 1fr) auto;
}

.nav-actions {
  flex-shrink: 0;
  min-width: max-content;
}

.category-btn {
  min-width: 102px;
  height: 44px;
  padding: 0 18px;
  gap: 10px;
  white-space: nowrap;
  border-color: rgba(244, 154, 170, .28);
  background: linear-gradient(135deg, rgba(244, 154, 170, .10), rgba(255, 210, 74, .05));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.category-btn em {
  display: block;
  font-style: normal;
  white-space: nowrap;
  line-height: 1;
}

.category-btn:hover {
  border-color: rgba(244, 154, 170, .52);
  background: linear-gradient(135deg, rgba(244, 154, 170, .18), rgba(255, 210, 74, .08));
  transform: translateY(-2px);
}

.nav-download {
  min-width: 112px;
  height: 44px;
  padding: 0 21px;
  white-space: nowrap;
  background: linear-gradient(135deg, #ffd24a, #ff9d16 55%, #ef819b);
  box-shadow: 0 12px 34px rgba(255, 171, 44, .18), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.nav-download-wrap {
  z-index: 120
}

/* Download QR: always opens upward in the main download panel and stays above the panel */
.download-panel {
  overflow: visible !important;
}

.download-panel .download-actions,
.download-panel .download-action,
.download-panel .qr-trigger {
  position: relative;
  z-index: 130;
}

.download-panel .qr-pop {
  top: auto !important;
  bottom: calc(100% + 16px) !important;
  right: 0;
  z-index: 200;
  transform: translateY(10px) scale(.96);
}

.download-panel .qr-pop:before {
  top: auto !important;
  bottom: -6px !important;
  transform: rotate(225deg) !important;
}

.download-panel .qr-trigger:hover .qr-pop,
.download-panel .qr-trigger:focus-within .qr-pop {
  transform: none;
}

.download-action>a {
  position: relative;
  min-width: 178px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.download-action>a:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .34), 0 0 0 5px rgba(255, 255, 255, .06);
}

.download-action>a i {
  margin-left: 10px;
  transition: transform .35s var(--ease);
}

.download-action>a:hover i {
  transform: translate(3px, -3px);
}

/* Feature cards are intentionally tighter so the section reads like a film catalogue */
.feature-grid {
  grid-template-columns: minmax(0, 1fr) minmax(270px, .78fr);
  gap: 16px;
}

.feature-main,
.feature-main img {
  min-height: 430px;
  height: 470px;
  max-height: 470px;
}

.side-stack {
  grid-template-rows: repeat(2, 1fr);
  min-height: 470px;
}

.side-card {
  min-height: 0;
  max-height: none;
}

/* Easier horizontal rail dragging */
.rail {
  cursor: grab;
  touch-action: pan-x;
  scrollbar-width: auto;
  scrollbar-color: rgba(244, 154, 170, .78) rgba(255, 255, 255, .055);
  scroll-snap-type: x proximity;
  padding-bottom: 16px;
}

.rail.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;
}

.rail::-webkit-scrollbar {
  height: 10px;
  display: block;
}

.rail::-webkit-scrollbar-track {
  height: 10px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 999px;
}

.rail::-webkit-scrollbar-thumb {
  min-width: 54px;
  background: linear-gradient(90deg, rgba(255, 210, 74, .88), rgba(244, 154, 170, .9));
  border: 2px solid rgba(13, 9, 13, .42);
  border-radius: 999px;
}

.rail::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #ffd24a, #f49aaa);
}

/* Rich ranking detail panel */
.rank-layout {
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr);
  gap: 18px;
  align-items: stretch;
}

.rank-panel {
  min-height: 100%;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(244, 154, 170, .14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(244, 154, 170, .045) 45%, rgba(0, 0, 0, .08));
}

.rank-panel-media {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 18px;
  align-items: end;
}

.rank-cover {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 22px 45px rgba(0, 0, 0, .38);
}

.rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.rank-panel:hover .rank-cover img {
  transform: scale(1.035);
}

.rank-cover-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #171015;
  background: linear-gradient(135deg, var(--gold), #fff0a8);
  font-size: 10px;
  font-weight: 900;
}

.rank-panel-title .eyebrow {
  margin-bottom: 7px;
}

.rank-panel-title h3 {
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1.12;
  margin: 0 0 7px;
}

.rank-panel-title p {
  margin: 0;
  color: #c9bcc3;
  font-size: 13px;
}

.rank-panel-body {
  padding-top: 20px;
}

.rank-scoreline {
  display: flex;
  align-items: end;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.rank-scoreline>span {
  color: #93858e;
  font-size: 12px;
  padding-bottom: 7px;
}

.rank-scoreline .big-score {
  font-size: 60px;
  line-height: .9;
}

.rank-score-label {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  padding-bottom: 7px;
}

.rank-panel-body h4 {
  margin: 20px 0 8px;
  font-size: 14px;
}

.rank-desc {
  color: #c9bec4 !important;
  font-size: 13px;
  line-height: 1.85;
  margin: 0 !important;
  max-width: none !important;
}

.rank-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.rank-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(244, 154, 170, .22);
  background: rgba(244, 154, 170, .07);
  color: #eadde2;
  font-size: 11px;
}

.rank-panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 17px;
}

.rank-panel-stats span {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  color: #8f838b;
  font-size: 10px;
}

.rank-panel-stats b {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 2px;
}

/* Genre cards: tag/icon treatment, no ranking numerals */
.genre {
  min-height: 145px;
  padding: 20px;
}

.genre .genre-icon {
  position: absolute;
  right: 18px;
  top: 17px;
  color: var(--gold);
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  opacity: .86;
}

.genre .genre-chip {
  position: absolute;
  left: 20px;
  right: auto !important;
  bottom: 18px;
  color: #e9dce2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 74, .18);
  background: rgba(255, 210, 74, .05);
}

/* Single continuous barrage */
.barrage {
  height: 58px;
  padding: 0 16px;
  display: block;
  overflow: hidden;
}

.barrage-line {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: comment 34s linear infinite;
  will-change: transform;
}

.barrage-line span {
  flex: 0 0 auto;
}

/* Keep the category label readable at all desktop widths */
@media (max-width:1100px) {
  .nav-shell {
    grid-template-columns: 165px minmax(0, 1fr) auto;
  }

  .navlinks a {
    padding-left: 9px;
    padding-right: 9px;
    font-size: 14px;
  }

  .category-btn {
    min-width: 94px;
  }

  .nav-download {
    min-width: 104px;
  }

  .feature-main,
  .feature-main img {
    height: 420px;
    min-height: 420px;
    max-height: 420px;
  }

  .side-stack {
    min-height: 420px;
  }

  .rank-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .95fr);
  }
}

@media (max-width:820px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .nav-actions {
    gap: 8px;
  }

  .category-btn {
    min-width: 86px;
    width: auto;
    height: 40px;
    padding: 0 14px;
  }

  .category-btn em {
    display: block;
  }

  .nav-download {
    min-width: 102px;
    width: auto;
    height: 40px;
    padding: 0 15px;
    font-size: 13px;
  }

  .feature-main,
  .feature-main img {
    height: 420px;
    min-height: 420px;
    max-height: 420px;
  }

  .rank-layout {
    grid-template-columns: 1fr;
  }

  .rank-panel {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width:520px) {
  .nav-shell {
    width: calc(100% - 20px);
  }

  .brand img {
    width: 140px;
  }

  .category-btn {
    min-width: 76px;
    width: 76px;
    padding: 0 11px;
    gap: 7px;
  }

  .nav-download {
    min-width: 88px;
    width: 88px;
    padding: 0 11px;
  }

  .feature-main,
  .feature-main img {
    height: 380px;
    min-height: 380px;
    max-height: 380px;
  }

  .rank-panel-media {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
  }

  .rank-panel {
    padding: 18px;
  }

  .rank-panel .big-score {
    font-size: 48px;
  }

  .rank-panel-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .rank-panel-stats span {
    padding: 9px 7px;
  }

  .download-panel .qr-pop {
    right: 50%;
    transform: translate(50%, 10px) scale(.96);
  }

  .download-panel .qr-trigger:hover .qr-pop,
  .download-panel .qr-trigger:focus-within .qr-pop {
    transform: translate(50%, 0);
  }
}


/* ===== V6 refinements ===== */

/* QR code: every download trigger opens upward and stays above the download panel */
.topbar,
.nav-shell,
.nav-actions,
.qr-trigger,
.download-panel,
.download-actions,
.download-action,
.drawer-foot,
.drawer-download {
  overflow: visible !important;
}

.qr-trigger {
  z-index: 20
}

.qr-trigger:hover,
.qr-trigger:focus-within {
  z-index: 80
}

.qr-trigger .qr-pop {
  top: auto !important;
  bottom: calc(100% + 14px) !important;
  transform: translateY(10px) scale(.96) !important;
  z-index: 9999 !important;
}

.qr-trigger .qr-pop:before {
  top: auto !important;
  bottom: -6px !important;
  transform: rotate(225deg) !important;
}

.qr-trigger:hover .qr-pop,
.qr-trigger:focus-within .qr-pop {
  transform: translateY(0) scale(1) !important;
  opacity: 1;
  visibility: visible;
}

/* Cinema feature wall: balanced proportions, no oversized portrait block */
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr);
  gap: 18px;
  align-items: stretch;
}

.feature-main {
  height: 430px !important;
  min-height: 430px !important;
  max-height: 430px !important;
  border-radius: 24px;
}

.feature-main img {
  height: 430px !important;
  min-height: 430px !important;
  max-height: 430px !important;
  object-fit: cover;
}

.side-stack {
  min-height: 430px;
  height: 430px;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.side-card {
  min-height: 0 !important;
  height: 206px;
  border-radius: 20px;
}

.side-card img {
  height: 100%;
  width: 100%;
  object-fit: cover
}

.feature-content {
  left: 26px;
  right: 26px;
  bottom: 24px
}

.feature-content h3 {
  font-size: 30px
}

/* Ranking detail values are tied to the active row */
.rank-panel-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rank-panel-stats span {
  min-width: 0;
  text-align: center;
}

.rank-panel-stats b {
  white-space: nowrap;
}

/* Easier rail thumb: large hit area and no disappearing scrollbar */
.rail {
  scrollbar-width: auto;
  scrollbar-color: rgba(244, 154, 170, .9) rgba(255, 255, 255, .07);
  padding-bottom: 18px;
  scroll-snap-type: x proximity;
}

.rail::-webkit-scrollbar {
  height: 12px
}

.rail::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .065);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
}

.rail::-webkit-scrollbar-thumb {
  min-width: 80px;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  border: 3px solid rgba(13, 9, 13, .72);
  border-radius: 999px;
}

.rail::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #ffe078, #f7aebe);
}

.hero-stage .stage-poster {
  cursor: pointer;
}

.hero-stage .stage-poster.main {
  cursor: default
}

/* ===== Full responsive pass for every page ===== */
@media (max-width:1100px) {
  .container {
    width: min(var(--max), calc(100% - 40px))
  }

  .nav-shell {
    width: calc(100% - 28px);
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand img {
    width: 158px
  }

  .navlinks {
    gap: 0
  }

  .navlinks a {
    padding: 9px 9px;
    font-size: 13px
  }

  .nav-actions {
    gap: 8px
  }

  .category-btn,
  .nav-download {
    min-width: auto;
    height: 40px;
    padding: 0 14px;
    white-space: nowrap;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(250px, .92fr);
  }

  .feature-main,
  .feature-main img {
    height: 400px !important;
    min-height: 400px !important;
    max-height: 400px !important;
  }

  .side-stack {
    height: 400px;
    min-height: 400px
  }

  .side-card {
    height: 191px
  }

  .rank-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
  }

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

@media (max-width:820px) {
  .container {
    width: calc(100% - 28px)
  }

  body {
    overflow-x: hidden
  }

  .topbar {
    height: auto
  }

  .nav-shell {
    width: calc(100% - 20px);
    min-height: 68px;
    height: 68px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .brand img {
    width: 138px
  }

  .navlinks {
    display: none
  }

  .nav-actions {
    gap: 7px;
    flex-shrink: 0;
  }

  .category-btn {
    height: 40px;
    min-width: 82px;
    padding: 0 12px;
    gap: 7px;
  }

  .category-btn em {
    display: block;
    font-size: 13px;
    white-space: nowrap;
  }

  .nav-download {
    height: 40px;
    min-width: 94px;
    padding: 0 13px;
    font-size: 13px;
  }

  .hero {
    min-height: 0;
    padding-top: 42px;
    padding-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .hero-copy {
    max-width: none
  }

  .hero-copy h1 {
    font-size: clamp(40px, 10vw, 58px)
  }

  .hero-lead {
    font-size: 14px
  }

  .hero-meta {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px
  }

  .hero-meta div {
    padding: 12px 8px
  }

  .hero-meta strong {
    font-size: 18px
  }

  .hero-stage {
    width: 100%;
    min-height: 410px;
    height: 410px;
    overflow: hidden;
  }

  .stage-poster.farleft,
  .stage-poster.farright {
    display: none;
  }

  .stage-poster.left {
    left: 8%;
    transform: translateY(-50%) scale(.72);
    opacity: .46
  }

  .stage-poster.main {
    left: 50%;
    transform: translate(-50%, -50%) scale(.96)
  }

  .stage-poster.right {
    left: 92%;
    transform: translate(-100%, -50%) scale(.72);
    opacity: .46
  }

  .section {
    padding: 48px 0
  }

  .section-head {
    align-items: flex-end;
    gap: 14px;
  }

  .section-head h2 {
    font-size: 28px
  }

  .section-head p {
    font-size: 11px;
    text-align: right
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-main,
  .feature-main img {
    height: 390px !important;
    min-height: 390px !important;
    max-height: 390px !important;
  }

  .side-stack {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 12px;
  }

  .side-card {
    height: 210px
  }

  .feature-content h3 {
    font-size: 27px
  }

  .rail {
    gap: 12px;
    padding-right: 8px;
    padding-bottom: 17px;
  }

  .rail .poster-card {
    min-width: 156px;
    max-width: 156px
  }

  .poster-info h3 {
    font-size: 15px
  }

  .poster-media {
    border-radius: 15px
  }

  .poster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 10px;
  }

  .rank-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rank-list {
    max-height: 440px;
    overflow: auto;
    padding-right: 3px;
    scrollbar-width: thin;
  }

  .rank-row {
    grid-template-columns: 42px 66px minmax(0, 1fr) 62px 42px;
    gap: 8px;
    padding: 11px 6px;
  }

  .rank-num {
    font-size: 20px
  }

  .rank-thumb {
    width: 66px;
    height: 88px
  }

  .rank-title {
    font-size: 13px
  }

  .rank-title small {
    font-size: 10px
  }

  .rank-heat {
    font-size: 11px
  }

  .rank-score {
    font-size: 14px
  }

  .rank-panel {
    min-height: 0;
    padding: 18px;
  }

  .rank-panel-media {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 13px;
  }

  .rank-panel-media h3 {
    font-size: 25px
  }

  .rank-panel-body {
    padding-top: 16px
  }

  .rank-scoreline .big-score {
    font-size: 50px
  }

  .rank-panel-stats {
    gap: 6px
  }

  .rank-panel-stats span {
    padding: 10px 6px;
    font-size: 9px
  }

  .rank-panel-stats b {
    font-size: 13px
  }

  .tri-grid {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .tri-card {
    min-height: 300px
  }

  .genre-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
  }

  .genre {
    min-height: 132px;
    padding: 16px
  }

  .genre b {
    font-size: 20px
  }

  .genre .genre-icon {
    right: 14px;
    top: 13px
  }

  .genre .genre-chip {
    left: 16px;
    bottom: 14px
  }

  .comments {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .comment-card {
    padding: 15px
  }

  .download-panel {
    margin-top: 18px;
    padding: 26px 20px;
    min-height: 280px;
  }

  .download-panel .download-copy h2 {
    font-size: 29px
  }

  .download-actions {
    position: relative;
    z-index: 30
  }

  .download-action>a {
    min-width: 170px
  }

  .qr-pop {
    width: 180px;
    padding: 10px;
  }

  .qr-pop img {
    width: 156px;
    height: 156px
  }

  .drawer-panel {
    width: min(360px, 92vw);
    padding: 24px 20px;
  }
}

@media (max-width:600px) {
  .container {
    width: calc(100% - 22px)
  }

  .nav-shell {
    width: calc(100% - 14px);
    min-height: 62px;
    height: 62px;
  }

  .brand img {
    width: 124px
  }

  .nav-actions {
    gap: 5px
  }

  .category-btn {
    min-width: 78px;
    height: 38px;
    padding: 0 9px;
  }

  .category-btn em {
    font-size: 12px
  }

  .nav-download {
    min-width: 86px;
    height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .hero {
    padding-top: 30px;
    gap: 22px
  }

  .hero-stage {
    height: 365px;
    min-height: 365px
  }

  .stage-poster {
    width: 160px;
    height: 220px
  }

  .stage-poster.left {
    left: 12%;
    transform: translateY(-50%) scale(.64)
  }

  .stage-poster.main {
    left: 50%;
    transform: translate(-50%, -50%) scale(.88)
  }

  .stage-poster.right {
    left: 88%;
    transform: translate(-100%, -50%) scale(.64)
  }

  .section {
    padding: 40px 0
  }

  .section-head {
    display: block
  }

  .section-head p {
    margin: 5px 0 0;
    text-align: left
  }

  .feature-main,
  .feature-main img {
    height: 340px !important;
    min-height: 340px !important;
    max-height: 340px !important;
  }

  .side-stack {
    grid-template-columns: 1fr;
  }

  .side-card {
    height: 180px
  }

  .rail .poster-card {
    min-width: 145px;
    max-width: 145px
  }

  .poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 9px;
  }

  .poster-tag {
    font-size: 9px;
    padding: 4px 7px
  }

  .poster-info {
    padding-top: 9px
  }

  .rank-list {
    max-height: 390px;
  }

  .rank-row {
    grid-template-columns: 34px 58px minmax(0, 1fr) 54px 38px;
    gap: 6px;
    padding: 9px 3px;
  }

  .rank-thumb {
    width: 58px;
    height: 77px
  }

  .rank-title {
    font-size: 12px
  }

  .rank-title small {
    font-size: 9px
  }

  .rank-heat {
    font-size: 10px
  }

  .rank-score {
    font-size: 13px
  }

  .rank-panel-media {
    grid-template-columns: 88px minmax(0, 1fr)
  }

  .rank-cover {
    border-radius: 12px
  }

  .rank-panel-media h3 {
    font-size: 22px
  }

  .rank-scoreline {
    gap: 8px
  }

  .rank-scoreline .big-score {
    font-size: 43px
  }

  .rank-tags {
    gap: 5px
  }

  .rank-tags span {
    padding: 5px 8px;
    font-size: 9px
  }

  .rank-desc {
    font-size: 12px;
    line-height: 1.75
  }

  .rank-panel-stats span {
    padding: 8px 4px
  }

  .rank-panel-stats b {
    font-size: 12px
  }

  .genre-grid {
    grid-template-columns: 1fr 1fr
  }

  .genre {
    min-height: 118px;
    padding: 14px
  }

  .genre b {
    font-size: 18px
  }

  .genre small {
    font-size: 10px
  }

  .genre .genre-chip {
    font-size: 9px
  }

  .barrage {
    height: 52px
  }

  .barrage-line {
    min-height: 52px;
    gap: 11px
  }

  .barrage-line span {
    padding: 7px 11px;
    font-size: 10px
  }

  .comments {
    grid-template-columns: 1fr
  }

  .comment-card {
    padding: 14px
  }

  .download-panel {
    padding: 23px 16px;
    min-height: 300px;
  }

  .download-panel .download-copy h2 {
    font-size: 25px
  }

  .download-panel .download-copy p {
    font-size: 12px
  }

  .download-pills {
    gap: 6px;
    flex-wrap: wrap
  }

  .download-action>a {
    width: 100%;
    min-width: 0;
    height: 48px
  }

  .download-actions {
    width: 100%
  }

  .download-action {
    width: 100%
  }

  .faq-list {
    gap: 8px
  }

  .faq-item summary {
    padding: 15px 14px
  }

  .faq-item p {
    padding: 0 14px 15px;
    font-size: 12px
  }
}

@media (max-width:380px) {
  .brand img {
    width: 112px
  }

  .category-btn {
    min-width: 72px;
    padding: 0 7px
  }

  .nav-download {
    min-width: 80px;
    padding: 0 8px
  }

  .hero-stage {
    height: 340px;
    min-height: 340px
  }

  .stage-poster {
    width: 145px;
    height: 200px
  }

  .stage-poster.main {
    transform: translate(-50%, -50%) scale(.82)
  }

  .stage-poster.left {
    left: 8%;
    transform: translateY(-50%) scale(.58)
  }

  .stage-poster.right {
    left: 92%;
    transform: translate(-100%, -50%) scale(.58)
  }

  .poster-grid {
    gap: 15px 8px
  }

  .rail .poster-card {
    min-width: 136px;
    max-width: 136px
  }
}

/* Top navigation keeps its QR inside the viewport; page download CTAs open upward. */
.topbar .qr-trigger .qr-pop {
  top: calc(100% + 13px) !important;
  bottom: auto !important;
  transform: translateY(-8px) scale(.96) !important;
}

.topbar .qr-trigger .qr-pop:before {
  top: -6px !important;
  bottom: auto !important;
  transform: rotate(45deg) !important;
}

.topbar .qr-trigger:hover .qr-pop,
.topbar .qr-trigger:focus-within .qr-pop {
  transform: translateY(0) scale(1) !important;
}


/* ===== Cinema V7 interaction + mobile polish ===== */
.category-btn {
  min-width: 96px;
  padding: 0 18px;
  justify-content: center;
  white-space: nowrap;
}

.category-btn em {
  font-style: normal;
  display: block;
  white-space: nowrap;
}

.rank-row {
  cursor: pointer;
}

.rank-row:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.rank-panel-swap {
  animation: rankPanelSwap .42s var(--ease);
}

@keyframes rankPanelSwap {
  0% {
    opacity: .45;
    transform: translateX(16px)
  }

  100% {
    opacity: 1;
    transform: translateX(0)
  }
}

.drawer-panel {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
}

.drawer-nav {
  flex: 0 0 auto;
}

.drawer-nav a {
  min-height: 50px;
  display: flex;
  align-items: center;
  width: 100%;
}

.drawer-foot {
  flex: 0 0 auto;
}

.rail {
  scrollbar-width: auto;
  scrollbar-color: rgba(244, 154, 170, .72) rgba(255, 255, 255, .05);
}

.rail::-webkit-scrollbar {
  height: 10px;
  display: block
}

.rail::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .055);
  border-radius: 999px;
}

.rail::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--gold), var(--pink));
  border-radius: 999px;
  border: 2px solid rgba(13, 9, 13, .55);
}

@media (max-width:820px) {
  .drawer-panel {
    width: min(92vw, 380px);
    padding: 22px 18px calc(24px + env(safe-area-inset-bottom));
  }

  .drawer-top {
    padding-bottom: 18px
  }

  .drawer-nav {
    padding: 18px 0
  }

  .drawer-nav a {
    font-size: 17px;
    padding: 13px 12px
  }

  .drawer-foot {
    margin-top: 18px
  }

  .drawer-logo img {
    width: min(160px, 72vw)
  }

  .drawer-download>a {
    height: 48px
  }

  .qr-pop {
    max-width: calc(100vw - 24px)
  }

  .hero-stage {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-main,
  .feature-main img {
    width: 100%;
    min-height: 0 !important;
    height: min(500px, 125vw) !important;
    max-height: 500px !important;
  }

  .side-stack {
    min-height: 0 !important;
    height: auto !important;
    grid-template-columns: 1fr 1fr;
  }

  .side-card {
    min-height: 220px;
    height: min(280px, 68vw);
  }

  .rank-layout {
    grid-template-columns: 1fr;
  }

  .rank-list {
    max-height: none;
  }

  .rank-row {
    grid-template-columns: 42px 64px minmax(0, 1fr) 52px 42px;
    gap: 8px;
    padding: 12px 6px;
  }

  .rank-thumb {
    width: 64px
  }

  .rank-title {
    min-width: 0;
    font-size: 13px
  }

  .rank-title small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
  }

  .rank-panel {
    min-width: 0;
    width: 100%;
    padding: 20px;
  }

  .rank-panel-media {
    min-width: 0
  }

  .rank-panel-title {
    min-width: 0
  }

  .rank-panel-title h3,
  .rank-panel-title p {
    overflow-wrap: anywhere;
  }
}

@media (max-width:600px) {
  .nav-shell {
    width: calc(100% - 14px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
  }

  .brand img {
    width: min(124px, 34vw)
  }

  .nav-actions {
    gap: 5px
  }

  .category-btn {
    min-width: 74px;
    width: 74px;
    height: 38px;
    padding: 0 9px;
    font-size: 12px;
  }

  .nav-download {
    min-width: 86px;
    width: 86px;
    height: 38px;
    padding: 0 8px;
    font-size: 12px;
  }

  .drawer-panel {
    width: min(94vw, 360px);
    padding-left: 16px;
    padding-right: 16px;
  }

  .drawer-nav a {
    min-height: 48px;
    font-size: 16px;
  }

  .hero-stage {
    height: 365px;
    min-height: 365px;
  }

  .stage-poster {
    width: 160px;
    height: 220px;
  }

  .rank-row {
    grid-template-columns: 34px 56px minmax(0, 1fr) 45px 38px;
    gap: 6px;
  }

  .rank-thumb {
    width: 56px
  }

  .rank-num {
    font-size: 20px
  }

  .rank-heat {
    font-size: 10px
  }

  .rank-score {
    font-size: 14px
  }

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

  .rank-panel-stats span {
    min-width: 0;
    font-size: 10px;
  }

  .rank-panel-stats b {
    display: block;
    font-size: 14px;
  }

  .download-panel {
    padding: 28px 18px;
    border-radius: 22px;
  }

  .download-action>a {
    min-width: 160px;
    height: 54px;
  }

  .download-panel .qr-pop {
    right: 50%;
    left: auto;
    bottom: calc(100% + 14px) !important;
    top: auto !important;
    transform: translate(50%, 10px) scale(.96);
  }

  .download-panel .qr-trigger:hover .qr-pop,
  .download-panel .qr-trigger:focus-within .qr-pop {
    transform: translate(50%, 0) scale(1);
  }
}

@media (max-width:380px) {
  .brand img {
    width: 108px
  }

  .category-btn {
    min-width: 68px;
    width: 68px;
    padding: 0 6px
  }

  .nav-download {
    min-width: 78px;
    width: 78px;
    padding: 0 6px
  }

  .drawer-panel {
    width: 96vw
  }

  .drawer-nav a {
    font-size: 15px
  }

  .rank-row {
    grid-template-columns: 28px 50px minmax(0, 1fr) 40px 34px;
    gap: 5px;
  }

  .rank-thumb {
    width: 50px
  }
}


/* ===== V8 mobile drawer viewport fix ===== */
.drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 90;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(390px, 92vw);
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  min-height: 0;
  padding: 34px 26px max(30px, env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  display: flex;
  flex-direction: column;
}

.drawer-top {
  flex: 0 0 auto;
}

.drawer-nav {
  flex: 0 0 auto;
  min-height: 0;
  width: 100%;
}

.drawer-nav a {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.drawer-foot {
  flex: 0 0 auto;
  width: 100%;
  margin-top: 18px;
  padding-bottom: 4px;
}

.drawer-logo,
.drawer-download {
  width: 100%;
}

.drawer-download>a {
  width: 100%;
  min-width: 0;
}

/* Small screens: keep the complete menu inside the viewport and make the
   entire drawer vertically scrollable rather than clipping the footer. */
@media (max-width:820px) {
  .drawer {
    height: 100dvh;
    min-height: 100dvh;
  }

  .drawer-panel {
    width: min(390px, calc(100vw - 12px));
    height: 100dvh;
    max-height: 100dvh;
    padding:
      max(18px, env(safe-area-inset-top)) 18px max(22px, env(safe-area-inset-bottom));
    border-left: 1px solid rgba(255, 255, 255, .14);
  }

  .drawer-top {
    min-height: 46px;
    padding-bottom: 14px;
  }

  .drawer-top span {
    font-size: 11px;
    letter-spacing: .16em;
  }

  .drawer-top button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: -5px -5px 0 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .055);
  }

  .drawer-nav {
    padding: 14px 0 8px;
    gap: 5px;
  }

  .drawer-nav a,
  .drawer-nav a:hover,
  .drawer-nav a.active {
    min-height: 48px;
    height: auto;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 1.25;
  }

  .drawer-nav a:hover,
  .drawer-nav a.active {
    padding-left: 18px;
  }

  .drawer-foot {
    margin-top: 10px;
    padding-top: 18px;
  }

  .drawer-logo img {
    width: min(150px, 62vw);
    margin-bottom: 14px;
  }

  .drawer-download>a {
    height: 48px;
  }
}

/* Very narrow phones: slightly tighter menu rows, but never clip text. */
@media (max-width:380px) {
  .drawer-panel {
    width: calc(100vw - 6px);
    padding-left: 14px;
    padding-right: 14px;
  }

  .drawer-nav {
    gap: 4px;
  }

  .drawer-nav a,
  .drawer-nav a:hover,
  .drawer-nav a.active {
    min-height: 46px;
    padding: 11px 12px;
    font-size: 15px;
  }

  .drawer-nav a:hover,
  .drawer-nav a.active {
    padding-left: 16px;
  }

  .drawer-foot {
    padding-top: 14px;
  }
}


/* V9 mobile drawer: full-screen navigation overlay */
@media (max-width:820px) {
  .drawer {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
  }

  .drawer-panel {
    position: absolute;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    min-height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-top: max(18px, env(safe-area-inset-top));
    padding-right: max(18px, env(safe-area-inset-right));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    padding-left: max(18px, env(safe-area-inset-left));
    transform: translateX(100%);
    transition: transform .42s cubic-bezier(.22, .8, .22, 1);
    z-index: 2;
  }

  .drawer.is-open .drawer-panel {
    transform: translateX(0);
  }

  .drawer-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .72);
  }

  .drawer-nav {
    width: 100%;
    box-sizing: border-box;
  }

  .drawer-nav a {
    width: 100%;
    box-sizing: border-box;
  }

  .drawer-foot {
    width: 100%;
    box-sizing: border-box;
  }
}