:root {
  --bg: #09080f;
  --bg2: #0f0d18;
  --panel: #131020;
  --panel2: #181426;
  --text: #f7f4ff;
  --muted: #aaa3bc;
  --line: rgba(255, 255, 255, .10);
  --purple: #8b72ff;
  --blue: #6d8dff;
  --pink: #db72c7;
  --glow: rgba(139, 114, 255, .34);
  --max: 1240px;
  --radius: 24px;
}

* {
  box-sizing: border-box
}

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

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(139, 114, 255, .14), transparent 60%),
    radial-gradient(800px 500px at 90% 10%, rgba(219, 114, 199, .10), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .014) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  z-index: -1
}

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

button {
  font: inherit
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 18px;
  background: linear-gradient(to bottom, rgba(9, 8, 15, .94), rgba(9, 8, 15, .72));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.header-inner {
  max-width: var(--max);
  margin: auto;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 30px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  padding: 5px;
  background: linear-gradient(135deg, rgba(139, 114, 255, .2), rgba(219, 114, 199, .13));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 8px 30px rgba(139, 114, 255, .18)
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05
}

.brand-copy b {
  font-size: 17px;
  letter-spacing: .02em
}

.brand-copy em {
  font-style: normal;
  font-size: 8px;
  color: #817a93;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-top: 4px
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1
}

.nav-link {
  position: relative;
  padding: 10px 14px;
  color: #a9a3b4;
  font-size: 14px;
  transition: .28s ease
}

.nav-link:after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  transform: scaleX(0);
  transition: .28s
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff
}

.nav-link.is-active:after,
.nav-link:hover:after {
  transform: scaleX(1)
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 13px;
  transition: .3s;
  white-space: nowrap
}

.btn-ghost {
  background: #fff;
  color: #11101a;
  box-shadow: 0 12px 30px rgba(255, 255, 255, .12)
}

.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(139, 114, 255, .26)
}

.btn-light {
  background: #fff;
  color: #0e0b15
}

.category-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  border-radius: 13px;
  height: 42px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer
}

.category-btn span {
  width: 13px;
  height: 1.5px;
  background: #c9c2d6;
  border-radius: 99px;
  display: block
}

.category-btn span:nth-child(2) {
  width: 9px
}

.category-btn b {
  font-size: 12px;
  margin-left: 2px
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: .35s;
  z-index: 60
}

.drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100dvh;
  width: min(390px, 92vw);
  background: linear-gradient(180deg, #11101b, #0b0911);
  border-left: 1px solid var(--line);
  z-index: 61;
  transform: translateX(105%);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
  padding: 24px;
  display: flex;
  flex-direction: column
}

body.drawer-open .drawer {
  transform: translateX(0)
}

body.drawer-open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line)
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800
}

.drawer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px
}

.icon-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 25px;
  cursor: pointer
}

.drawer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 22px 0;
  overflow: auto
}

.drawer-item {
  padding: 15px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .025);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #aaa4b5;
  transition: .25s
}

.drawer-item:hover,
.drawer-item.is-active {
  color: #fff;
  border-color: rgba(139, 114, 255, .45);
  background: linear-gradient(135deg, rgba(139, 114, 255, .14), rgba(219, 114, 199, .06));
  transform: translateY(-2px)
}

.drawer-item i {
  font-style: normal;
  color: #736b82
}

.drawer-download {
  margin-top: auto;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(139, 114, 255, .18), rgba(219, 114, 199, .10));
  border: 1px solid rgba(139, 114, 255, .2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px
}

.drawer-download small {
  display: block;
  color: #8f889e;
  font-size: 10px
}

.drawer-download strong {
  display: block;
  font-size: 14px;
  margin-top: 2px
}

.qr-trigger {
  z-index: 10
}

.qr-pop {
  position: absolute;
  left: 50%;
  width: 176px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px) scale(.94);
  transition: .25s ease;
  pointer-events: none
}

.qr-pop img {
  width: 100%;
  height: auto;
  border-radius: 10px
}

.qr-down {
  top: calc(100% + 12px)
}

.qr-up {
  bottom: calc(100% + 12px);
  transform: translate(-50%, 8px) scale(.94)
}

.qr-trigger:hover .qr-pop,
.qr-trigger:focus-visible .qr-pop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1)
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 18px 48px
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
  min-height: 640px
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a99ed0;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px
}

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

.hero h1 {
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 0;
  max-width: 760px
}

.hero h1 .gradient {
  background: linear-gradient(100deg, #fff 20%, #b6a9ff 60%, #ed9edb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero-lead {
  font-size: 17px;
  color: #aaa4b5;
  max-width: 650px;
  margin: 26px 0 30px
}

.hero-lead b {
  color: #eee
}

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

.hero-primary {
  background: linear-gradient(135deg, #fff, #ddd8ff);
  color: #0b0911;
  padding: 14px 22px;
  border-radius: 14px
}

.hero-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  padding: 14px 20px;
  border-radius: 14px;
  color: #e5e0ec
}

.hero-metrics {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line)
}

.metric strong {
  font-size: 24px;
  letter-spacing: -.03em
}

.metric span {
  display: block;
  color: #777082;
  font-size: 11px;
  margin-top: 2px
}

.hero-art {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center
}

.hero-orbit {
  position: absolute;
  width: 530px;
  height: 530px;
  border-radius: 50%;
  border: 1px solid rgba(139, 114, 255, .17);
  box-shadow: 0 0 90px rgba(139, 114, 255, .10) inset;
  animation: spin 22s linear infinite
}

.hero-orbit:before,
.hero-orbit:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(219, 114, 199, .15);
  inset: 50px;
  animation: spin 15s linear infinite reverse
}

.hero-orbit:after {
  inset: 105px;
  border-color: rgba(109, 141, 255, .13);
  animation-duration: 11s
}

.hero-poster {
  position: relative;
  width: min(355px, 72%);
  aspect-ratio: 651/868;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(0, 0, 0, .55), 0 0 60px rgba(139, 114, 255, .22);
  transform: rotate(1deg);
  animation: float 6s ease-in-out infinite
}

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

.hero-poster:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 5, 10, .65));
  pointer-events: none
}

.hero-card {
  position: absolute;
  right: 3%;
  bottom: 8%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: rgba(17, 15, 26, .78);
  backdrop-filter: blur(16px);
  border-radius: 17px;
  min-width: 180px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  animation: float2 5.5s ease-in-out infinite
}

.hero-card small {
  color: #8f889d;
  font-size: 10px
}

.hero-card b {
  display: block;
  margin-top: 4px;
  font-size: 14px
}

.hero-card span {
  font-size: 11px;
  color: #a89fd0
}

.section {
  max-width: var(--max);
  margin: auto;
  padding: 70px 18px
}

.section.alt {
  max-width: none;
  padding-left: max(18px, calc((100vw - var(--max))/2 + 18px));
  padding-right: max(18px, calc((100vw - var(--max))/2 + 18px));
  background: linear-gradient(180deg, rgba(255, 255, 255, .018), transparent)
}

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

.section-kicker {
  color: #81769a;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 46px);
  letter-spacing: -.04em;
  line-height: 1.15;
  margin: 7px 0 0
}

.section-head p {
  margin: 0;
  color: #8f889b;
  max-width: 480px;
  font-size: 13px
}

.more {
  font-size: 12px;
  color: #c5baf0;
  border-bottom: 1px solid rgba(197, 186, 240, .35);
  padding-bottom: 3px;
  white-space: nowrap
}

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

.poster-card {
  min-width: 0
}

.poster-link {
  display: block
}

.poster-wrap {
  position: relative;
  aspect-ratio: 651/868;
  overflow: hidden;
  border-radius: 19px;
  background: #171321;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 18px 35px rgba(0, 0, 0, .24);
  transition: .45s cubic-bezier(.2, .8, .2, 1)
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .55s
}

.poster-card:hover .poster-wrap {
  transform: translateY(-7px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, .45), 0 0 35px rgba(139, 114, 255, .12);
  border-color: rgba(139, 114, 255, .30)
}

.poster-card:hover .poster-wrap img {
  transform: scale(1.045)
}

.poster-shine {
  position: absolute;
  inset: -30% -70%;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .20) 50%, transparent 65%);
  transform: translateX(-40%) rotate(8deg);
  transition: .7s;
  opacity: 0
}

.poster-card:hover .poster-shine {
  transform: translateX(40%) rotate(8deg);
  opacity: 1
}

.poster-badge,
.poster-score {
  position: absolute;
  top: 11px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800;
  backdrop-filter: blur(8px)
}

.poster-badge {
  left: 11px;
  background: rgba(7, 6, 11, .72);
  color: #d8cff8;
  border: 1px solid rgba(255, 255, 255, .10)
}

.poster-score {
  right: 11px;
  background: rgba(255, 255, 255, .92);
  color: #17131f
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -40%) scale(.82);
  opacity: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .93);
  color: #111;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  transition: .35s
}

.poster-play i {
  font-style: normal;
  font-size: 17px;
  margin-left: 2px
}

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

.poster-info {
  padding: 12px 2px
}

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

.poster-info p {
  font-size: 11px;
  color: #777083;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.rank-strip {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px
}

.rank-feature {
  position: relative;
  min-height: 440px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #11101a
}

.rank-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9)
}

.rank-feature:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 6, 10, .95), rgba(7, 6, 10, .35) 55%, rgba(7, 6, 10, .15))
}

.rank-copy {
  position: relative;
  z-index: 2;
  padding: 44px;
  max-width: 580px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end
}

.rank-number {
  font-size: 76px;
  line-height: .9;
  color: rgba(255, 255, 255, .17);
  font-weight: 900
}

.rank-copy h3 {
  font-size: 32px;
  margin: 8px 0
}

.rank-copy p {
  color: #aaa3b3;
  font-size: 13px;
  margin: 0 0 18px
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.rank-row {
  display: grid;
  grid-template-columns: 44px 58px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
  border-radius: 16px;
  transition: .3s
}

.rank-row:hover {
  background: rgba(139, 114, 255, .08);
  transform: translateX(4px)
}

.rank-no {
  font-size: 13px;
  font-weight: 800;
  color: #857c99;
  text-align: center
}

.rank-thumb {
  width: 58px;
  height: 76px;
  border-radius: 10px;
  overflow: hidden
}

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

.rank-title {
  font-size: 13px;
  font-weight: 700
}

.rank-meta {
  display: block;
  font-size: 10px;
  color: #777083;
  margin-top: 2px
}

.rank-hot {
  font-size: 10px;
  color: #c9bdf1
}

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

.category-card {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  transition: .35s
}

.category-card:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--cat, rgba(139, 114, 255, .28));
  filter: blur(40px);
  right: -20px;
  bottom: -40px;
  opacity: .65
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 114, 255, .35)
}

.category-card b {
  font-size: 21px;
  position: relative
}

.category-card span {
  display: block;
  color: #80788e;
  font-size: 11px;
  margin-top: 6px;
  position: relative
}

.category-card i {
  position: absolute;
  right: 18px;
  top: 17px;
  font-style: normal;
  color: #716983
}

.comment-section {
  padding-bottom: 80px
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
  background: rgba(255, 255, 255, .018)
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  color: #bdb6c9;
  font-size: 12px
}

.ticker-item b {
  color: #fff
}

.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  box-shadow: 0 0 10px var(--glow)
}

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

.comment-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  transition: .3s
}

.comment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 114, 255, .25)
}

.comment-user {
  display: flex;
  align-items: center;
  gap: 10px
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10)
}

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

.comment-user b {
  font-size: 12px
}

.comment-user small {
  display: block;
  color: #6f687c;
  font-size: 9px
}

.comment-card p {
  font-size: 12px;
  color: #a39baa;
  margin: 15px 0 0
}

.stars {
  margin-left: auto;
  color: #c6b8ff;
  font-size: 11px
}

.download-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 50px 18px 95px
}

.download-shell {
  position: relative;
  overflow: visible;
  border-radius: 30px;
  border: 1px solid rgba(139, 114, 255, .25);
  background: radial-gradient(500px 250px at 90% 50%, rgba(219, 114, 199, .16), transparent 70%), radial-gradient(500px 280px at 10% 20%, rgba(109, 141, 255, .18), transparent 70%), #12101b;
  padding: 45px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  align-items: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .28)
}

.download-shell h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
  margin: 8px 0 12px;
  letter-spacing: -.04em
}

.download-shell p {
  color: #938c9e;
  font-size: 13px;
  max-width: 520px
}

.download-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px
}

.download-qr-card {
  justify-self: end;
  width: min(250px, 100%);
  padding: 15px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10);
  text-align: center
}

.download-qr-card img {
  width: 190px;
  margin: 0 auto;
  border-radius: 14px
}

.download-qr-card span {
  display: block;
  color: #8e879a;
  font-size: 10px;
  margin-top: 10px
}

.download-orb {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  right: 10%;
  top: -110px;
  border: 1px solid rgba(139, 114, 255, .15);
  animation: pulse 4s ease-in-out infinite;
  pointer-events: none
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 45px 18px 20px;
  background: #08070d
}

.footer-main {
  max-width: var(--max);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 30px
}

.footer-brand {
  flex: 1
}

.footer-brand-row {
  margin-bottom: 14px
}

.footer-brand p {
  color: #716a7b;
  font-size: 11px;
  margin: 0
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

.footer-links a {
  color: #8e8798;
  font-size: 11px
}

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

.footer-download {
  position: relative;
  min-width: 130px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, .04);
  font-size: 12px
}

.footer-download small {
  font-size: 9px;
  color: #777082
}

.footer-bottom {
  max-width: var(--max);
  margin: 34px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  justify-content: space-between;
  color: #5e5868;
  font-size: 10px
}

.page-hero {
  max-width: var(--max);
  margin: auto;
  padding: 80px 18px 42px
}

.page-hero .eyebrow {
  margin-bottom: 15px
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 0;
  max-width: 900px
}

.page-hero p {
  color: #97909f;
  max-width: 700px;
  font-size: 14px;
  margin: 20px 0 0
}

.feature-banner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 18px 50px
}

.feature-banner-inner {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  background: #11101a
}

.feature-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.feature-banner-inner:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 6, 10, .94), rgba(7, 6, 10, .38), rgba(7, 6, 10, .1))
}

.feature-banner-copy {
  position: relative;
  z-index: 2;
  padding: 42px;
  max-width: 620px
}

.feature-banner-copy span {
  font-size: 10px;
  color: #b3a7dc;
  letter-spacing: .16em
}

.feature-banner-copy h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 8px 0
}

.feature-banner-copy p {
  color: #9a93a2;
  font-size: 12px;
  margin: 0
}

.rank-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px
}

.rank-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  position: relative;
  overflow: hidden
}

.rank-card.first {
  min-height: 390px
}

.rank-card:nth-child(2),
.rank-card:nth-child(3) {
  margin-top: 35px
}

.rank-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px
}

.rank-card.first img {
  height: 285px
}

.rank-card .rank-place {
  position: absolute;
  left: 30px;
  top: 30px;
  font-size: 40px;
  font-weight: 900;
  color: rgba(255, 255, 255, .18)
}

.rank-card h3 {
  font-size: 17px;
  margin: 13px 0 3px
}

.rank-card p {
  font-size: 10px;
  color: #777082;
  margin: 0
}

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

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 20px
}

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

.faq-item summary:after {
  content: "+";
  color: #9f91d0;
  font-size: 20px;
  font-weight: 400
}

.faq-item[open] summary:after {
  content: "−"
}

.faq-answer {
  padding: 0 22px 20px;
  color: #8f8899;
  font-size: 12px
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .8, .2, 1)
}

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

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

.reveal.zoom {
  transform: scale(.94)
}

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

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(1deg)
  }

  50% {
    transform: translateY(-12px) rotate(-1deg)
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-9px)
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(.9);
    opacity: .35
  }

  50% {
    transform: scale(1.04);
    opacity: .75
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%)
  }
}

@media(max-width:1080px) {
  .header-inner {
    gap: 15px
  }

  .desktop-nav {
    gap: 0
  }

  .nav-link {
    padding: 10px 9px
  }

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

  .hero-grid {
    gap: 25px
  }

  .hero-art {
    min-height: 520px
  }

  .hero-orbit {
    width: 440px;
    height: 440px
  }
}

@media(max-width:820px) {
  .site-header {
    padding: 9px 12px
  }

  .header-inner {
    height: 58px
  }

  .brand-copy em {
    display: none
  }

  .desktop-nav {
    display: none
  }

  .top-download {
    padding: 10px 13px
  }

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

  .hero {
    padding-top: 45px
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0
  }

  .hero-art {
    order: -1;
    min-height: 420px
  }

  .hero-orbit {
    width: 330px;
    height: 330px
  }

  .hero-poster {
    width: 250px
  }

  .hero-card {
    right: 7%;
    bottom: 4%;
    min-width: 155px
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 58px)
  }

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

  .section {
    padding: 52px 14px
  }

  .section-head {
    align-items: flex-end
  }

  .section-head p {
    display: none
  }

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

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

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

  .rank-feature {
    min-height: 390px
  }

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

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

  .download-shell {
    grid-template-columns: 1fr;
    padding: 30px
  }

  .download-qr-card {
    justify-self: start
  }

  .footer-main {
    align-items: flex-start;
    flex-wrap: wrap
  }

  .footer-links {
    order: 3;
    width: 100%
  }

  .footer-bottom {
    gap: 10px;
    flex-wrap: wrap
  }

  .page-hero {
    padding: 55px 14px 30px
  }

  .feature-banner {
    padding: 10px 14px 35px
  }

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

  .rank-card:nth-child(2),
  .rank-card:nth-child(3) {
    margin-top: 0
  }

  .rank-card img,
  .rank-card.first img {
    height: 330px
  }
}

@media(max-width:560px) {
  .top-download {
    font-size: 11px;
    padding: 9px 10px
  }

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

  .brand-copy b {
    font-size: 15px
  }

  .category-btn b {
    display: none
  }

  .category-btn {
    width: 42px;
    justify-content: center;
    padding: 0
  }

  .hero-art {
    min-height: 350px
  }

  .hero-orbit {
    width: 270px;
    height: 270px
  }

  .hero-poster {
    width: 210px;
    border-radius: 22px
  }

  .hero-card {
    right: 1%;
    bottom: 0;
    padding: 10px 12px;
    min-width: 145px
  }

  .hero-card b {
    font-size: 12px
  }

  .hero-metrics {
    gap: 18px
  }

  .metric strong {
    font-size: 20px
  }

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

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

  .poster-badge,
  .poster-score {
    top: 8px;
    font-size: 8px
  }

  .poster-badge {
    left: 8px
  }

  .poster-score {
    right: 8px
  }

  .poster-play {
    display: none
  }

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

  .more {
    font-size: 11px
  }

  .rank-copy {
    padding: 26px
  }

  .rank-copy h3 {
    font-size: 27px
  }

  .rank-number {
    font-size: 58px
  }

  .category-card {
    min-height: 125px;
    padding: 17px
  }

  .category-card b {
    font-size: 17px
  }

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

  .download-shell {
    padding: 25px 20px;
    border-radius: 22px
  }

  .download-shell h2 {
    font-size: 34px
  }

  .download-qr-card {
    width: 100%
  }

  .download-qr-card img {
    width: 170px
  }

  .footer-main {
    display: grid;
    grid-template-columns: 1fr auto
  }

  .footer-links {
    grid-column: 1/-1
  }

  .footer-download {
    min-width: 112px
  }

  .footer-bottom {
    font-size: 9px
  }

  .qr-pop {
    width: 158px
  }
}

@media(hover:none) {
  .poster-card:hover .poster-wrap {
    transform: none;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .24);
    border-color: rgba(255, 255, 255, .08)
  }

  .poster-card:hover .poster-wrap img {
    transform: none
  }

  .poster-shine {
    display: none
  }
}

/* --- 2026 visual refinement --- */
.category-btn {
  background: transparent;
  border-color: transparent;
  padding-left: 8px;
  padding-right: 8px
}

.category-btn b {
  font-size: 13px;
  letter-spacing: .04em
}

.poster-link {
  cursor: default
}

.poster-card .poster-play {
  pointer-events: none
}

.signal-section {
  padding-top: 22px;
  padding-bottom: 70px
}

.signal-shell {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 28px;
  padding: 34px;
  background:
    radial-gradient(420px 190px at 0% 0%, rgba(109, 141, 255, .11), transparent 70%),
    radial-gradient(380px 180px at 100% 100%, rgba(219, 114, 199, .10), transparent 70%),
    rgba(255, 255, 255, .018);
  overflow: hidden
}

.signal-shell:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, .025) 50%, transparent 85%);
  pointer-events: none
}

.signal-head {
  position: relative;
  max-width: 680px;
  margin-bottom: 24px
}

.signal-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  margin: 7px 0 8px;
  letter-spacing: -.04em
}

.signal-head p {
  margin: 0;
  color: #8f889d;
  font-size: 13px
}

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

.signal-card {
  min-height: 132px;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 19px 17px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 19px;
  background: rgba(8, 7, 13, .46);
  transition: .35s ease;
  overflow: hidden
}

.signal-card:after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  right: -45px;
  bottom: -45px;
  background: linear-gradient(135deg, rgba(109, 141, 255, .16), rgba(219, 114, 199, .14));
  filter: blur(2px)
}

.signal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 114, 255, .25);
  background: rgba(255, 255, 255, .035)
}

.signal-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(139, 114, 255, .14), rgba(219, 114, 199, .08));
  color: #c9bcf6;
  font-size: 14px
}

.signal-card b {
  font-size: 14px;
  display: block;
  margin-top: 1px
}

.signal-card p {
  font-size: 11px;
  color: #787181;
  margin: 5px 0 0;
  line-height: 1.55
}

.signal-card em {
  position: absolute;
  right: 14px;
  top: 12px;
  font-style: normal;
  font-size: 9px;
  color: #5e586b;
  letter-spacing: .1em
}

.signal-marquee {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #686173;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase
}

.signal-marquee b {
  color: #aaa2b9;
  font-size: 10px;
  letter-spacing: .08em
}

.signal-marquee span:first-child {
  color: #a99ed0;
  font-size: 13px;
  font-weight: 900
}

.signal-marquee i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  box-shadow: 0 0 10px var(--glow)
}

.rank-modern {
  padding-top: 24px
}

.rank-summary {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 18px;
  padding: 26px 28px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .035), rgba(139, 114, 255, .035))
}

.rank-summary-main h2 {
  font-size: 34px;
  line-height: 1.1;
  margin: 7px 0
}

.rank-summary-main p {
  margin: 0;
  color: #8c8595;
  font-size: 12px
}

.rank-summary-stats {
  display: flex;
  gap: 10px
}

.rank-summary-stats div {
  min-width: 90px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  background: rgba(0, 0, 0, .16);
  text-align: center
}

.rank-summary-stats strong {
  display: block;
  font-size: 18px;
  letter-spacing: .04em
}

.rank-summary-stats span {
  display: block;
  margin-top: 2px;
  color: #706a79;
  font-size: 9px
}

.rank-hero-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 27px;
  background:
    radial-gradient(500px 240px at 85% 0%, rgba(139, 114, 255, .10), transparent 72%), rgba(255, 255, 255, .025);
  margin-bottom: 14px;
  overflow: hidden
}

.rank-hero-media {
  position: relative;
  min-height: 315px;
  border-radius: 20px;
  overflow: hidden
}

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

.rank-hero-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 4, 9, .48))
}

.rank-hero-badge {
  position: absolute;
  left: 13px;
  top: 13px;
  z-index: 1;
  padding: 6px 9px;
  border-radius: 9px;
  background: rgba(8, 7, 13, .72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .10);
  font-size: 9px;
  letter-spacing: .12em
}

.rank-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 12px 8px 0
}

.rank-index {
  font-size: 76px;
  line-height: .75;
  font-weight: 900;
  color: rgba(255, 255, 255, .08);
  letter-spacing: -.08em
}

.rank-tag,
.rank-entry-tag {
  font-size: 9px;
  color: #aaa0d2;
  letter-spacing: .12em;
  text-transform: uppercase
}

.rank-hero-copy h3 {
  font-size: clamp(27px, 3vw, 43px);
  margin: 10px 0 7px;
  letter-spacing: -.035em
}

.rank-hero-copy p {
  color: #8e8797;
  font-size: 13px;
  margin: 0 0 18px;
  max-width: 560px
}

.rank-metrics {
  display: flex;
  gap: 26px;
  color: #686172;
  font-size: 10px;
  margin-bottom: 13px
}

.rank-metrics b {
  font-size: 14px;
  color: #ddd7e8;
  margin-right: 4px
}

.rank-progress {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
  margin-top: 12px
}

.rank-progress i {
  display: block;
  width: var(--progress, 80%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--pink));
  box-shadow: 0 0 16px rgba(139, 114, 255, .28)
}

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

.rank-entry {
  min-height: 142px;
  display: grid;
  grid-template-columns: 38px 76px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 18px;
  background: rgba(255, 255, 255, .022);
  transition: .32s ease
}

.rank-entry:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 114, 255, .25);
  background: rgba(139, 114, 255, .045)
}

.rank-entry-no {
  font-size: 14px;
  font-weight: 900;
  color: #716a7e;
  text-align: center
}

.rank-entry img {
  width: 76px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px
}

.rank-entry h3 {
  font-size: 14px;
  margin: 5px 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.rank-entry p {
  font-size: 10px;
  color: #706979;
  margin: 0
}

.rank-entry>strong {
  align-self: start;
  margin-top: 8px;
  font-size: 14px;
  color: #c7bbf0
}

.rank-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px
}

.rank-chips span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 99px;
  color: #81798d;
  background: rgba(255, 255, 255, .02);
  font-size: 10px
}

.editorial-strip {
  padding-top: 20px
}

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

.mood-card {
  position: relative;
  min-height: 145px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  overflow: hidden;
  transition: .35s
}

.mood-card:before {
  content: "";
  position: absolute;
  inset: auto -20px -50px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(109, 141, 255, .18), rgba(219, 114, 199, .13));
  filter: blur(25px)
}

.mood-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 114, 255, .26)
}

.mood-card span {
  font-size: 9px;
  color: #6c6577;
  letter-spacing: .14em
}

.mood-card b {
  display: block;
  font-size: 23px;
  margin-top: 16px
}

.mood-card em {
  display: block;
  font-style: normal;
  color: #7d7588;
  font-size: 10px;
  margin-top: 3px
}

.mood-card i {
  position: absolute;
  right: 18px;
  top: 17px;
  color: #b7a9e8;
  font-size: 20px;
  font-style: normal
}

@media(min-width:821px) {
  .category-btn span {
    display: none
  }

  .category-btn b {
    display: block
  }

  .category-btn {
    border: 0;
    box-shadow: none
  }

  .desktop-nav {
    gap: 0
  }

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

  .nav-link:after {
    left: 9px;
    right: 9px
  }
}

@media(max-width:1080px) {
  .header-inner {
    gap: 14px
  }

  .desktop-nav {
    gap: 0
  }

  .nav-link {
    padding: 9px 6px;
    font-size: 12px
  }

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

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

@media(max-width:820px) {
  .header-inner {
    justify-content: space-between
  }

  .header-actions {
    margin-left: auto;
    flex-shrink: 0
  }

  .category-btn {
    background: rgba(255, 255, 255, .04);
    border-color: var(--line)
  }

  .signal-shell {
    padding: 25px 18px;
    border-radius: 22px
  }

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

  .rank-summary {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px
  }

  .rank-summary-stats {
    width: 100%
  }

  .rank-summary-stats div {
    flex: 1;
    min-width: 0
  }

  .rank-hero-card {
    grid-template-columns: 170px 1fr;
    gap: 18px;
    padding: 16px
  }

  .rank-hero-media {
    min-height: 250px
  }

  .rank-index {
    font-size: 58px
  }

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

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

@media(max-width:560px) {
  .header-actions {
    gap: 7px
  }

  .top-download {
    padding: 9px 11px
  }

  .category-btn {
    width: 42px
  }

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

  .signal-card {
    min-height: 108px
  }

  .signal-marquee {
    gap: 8px;
    overflow: hidden;
    white-space: nowrap
  }

  .signal-marquee span:last-child {
    display: none
  }

  .rank-summary {
    border-radius: 20px
  }

  .rank-summary-main h2 {
    font-size: 28px
  }

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

  .rank-summary-stats div {
    padding: 9px 7px
  }

  .rank-summary-stats strong {
    font-size: 15px
  }

  .rank-hero-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
    border-radius: 22px
  }

  .rank-hero-media {
    height: 320px;
    min-height: 0
  }

  .rank-hero-copy {
    padding: 0 4px 6px
  }

  .rank-index {
    font-size: 52px
  }

  .rank-hero-copy h3 {
    font-size: 28px
  }

  .rank-metrics {
    gap: 18px
  }

  .rank-entry {
    grid-template-columns: 30px 64px 1fr auto;
    min-height: 112px;
    padding: 9px;
    gap: 9px
  }

  .rank-entry img {
    width: 64px;
    height: 84px;
    border-radius: 10px
  }

  .rank-entry h3 {
    font-size: 12px
  }

  .rank-entry p {
    font-size: 9px
  }

  .rank-entry>strong {
    font-size: 12px
  }

  .rank-chips {
    gap: 6px
  }

  .rank-chips span {
    padding: 6px 9px
  }

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

/* ===== JIYING V3 VISUAL UPDATE =====
   Hero gallery follows the uploaded reference: layered poster depth,
   center focus, soft perspective, restrained purple/blue glow.
*/
.hero-art.hero-gallery-3d {
  min-height: 580px;
  position: relative;
  overflow: visible;
  perspective: 1400px;
  isolation: isolate;
}

.hero-gallery-glow {
  position: absolute;
  width: 520px;
  height: 300px;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse, rgba(139, 114, 255, .20) 0%, rgba(102, 130, 255, .10) 36%, transparent 72%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.hero-gallery-ring {
  position: absolute;
  left: 50%;
  top: 52%;
  border: 1px solid rgba(139, 114, 255, .13);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(68deg);
  pointer-events: none;
  z-index: 0;
}

.hero-gallery-ring.ring-a {
  width: 510px;
  height: 190px;
  box-shadow: 0 0 50px rgba(139, 114, 255, .08)
}

.hero-gallery-ring.ring-b {
  width: 390px;
  height: 145px;
  border-color: rgba(219, 114, 199, .11);
  transform: translate(-50%, -50%) rotateX(68deg) rotateZ(-9deg)
}

.hero-art-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 178px;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: #111018;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 26px 55px rgba(0, 0, 0, .50), 0 0 28px rgba(105, 94, 180, .12);
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform;
  transition: filter .45s ease, box-shadow .45s ease;
}

.hero-art-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-art-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 28%, rgba(0, 0, 0, .16));
  pointer-events: none;
}

.hero-art-card.card-center {
  width: 202px;
  z-index: 8;
  transform: translate(-50%, -46%) translateZ(90px) rotateY(0deg) rotateZ(.4deg);
  box-shadow: 0 38px 78px rgba(0, 0, 0, .62), 0 0 48px rgba(139, 114, 255, .22);
  animation: heroCenterFloat 6s ease-in-out infinite;
}

.hero-art-card.card-left {
  z-index: 6;
  transform: translate(calc(-50% - 176px), -43%) translateZ(30px) rotateY(18deg) rotateZ(-2deg);
}

.hero-art-card.card-right {
  z-index: 6;
  transform: translate(calc(-50% + 176px), -43%) translateZ(30px) rotateY(-18deg) rotateZ(2deg);
}

.hero-art-card.card-back-center {
  width: 165px;
  z-index: 3;
  transform: translate(calc(-50% + 2px), -66%) translateZ(-95px) rotateY(0deg) rotateZ(.5deg) scale(.98);
  filter: brightness(.76) saturate(.90);
}

.hero-art-card.card-back-left {
  width: 155px;
  z-index: 2;
  transform: translate(calc(-50% - 275px), -55%) translateZ(-150px) rotateY(27deg) rotateZ(-3deg) scale(.94);
  filter: brightness(.70) saturate(.82);
}

.hero-art-card.card-back-right {
  width: 155px;
  z-index: 2;
  transform: translate(calc(-50% + 275px), -55%) translateZ(-150px) rotateY(-27deg) rotateZ(3deg) scale(.94);
  filter: brightness(.70) saturate(.82);
}

.hero-art-card.card-left,
.hero-art-card.card-right {
  box-shadow: 0 28px 58px rgba(0, 0, 0, .55), 0 0 25px rgba(139, 114, 255, .10);
}

.hero-gallery-note {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  background: rgba(11, 9, 17, .58);
  backdrop-filter: blur(14px);
  color: #aaa2b7;
  font-size: 9px;
  letter-spacing: .12em;
  white-space: nowrap;
  z-index: 10;
}

.hero-gallery-note b {
  font-size: 9px;
  color: #d9d3e1;
  font-weight: 700
}

@keyframes heroCenterFloat {

  0%,
  100% {
    transform: translate(-50%, -46%) translateZ(90px) rotateY(0deg) rotateZ(.4deg)
  }

  50% {
    transform: translate(-50%, -49%) translateZ(105px) rotateY(-1deg) rotateZ(.1deg)
  }
}

/* Category button keeps the existing visual shell, but contains text only. */
.category-btn span {
  display: none !important
}

.category-btn b {
  display: block !important;
  margin: 0 !important;
  font-size: 13px;
  letter-spacing: .04em;
}

.category-btn {
  width: auto !important;
  min-width: 48px;
  justify-content: center;
  gap: 0 !important;
}

@media(max-width:820px) {
  .header-actions {
    margin-left: auto;
    justify-content: flex-end;
    flex-shrink: 0;
    gap: 8px;
  }

  .category-btn {
    min-width: 48px;
    height: 40px;
    padding: 0 12px !important;
  }

  .top-download {
    padding-left: 13px;
    padding-right: 13px
  }
}

/* Subpage feature banners: preserve the complete poster rather than crop it. */
.feature-banner-inner {
  min-height: 340px;
  display: flex;
  align-items: stretch;
  background:
    radial-gradient(520px 240px at 85% 50%, rgba(139, 114, 255, .11), transparent 70%),
    #0d0c13;
}

.feature-banner-inner>img {
  position: absolute;
  inset: auto 0 0 auto;
  width: 57%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
  padding: 12px 18px 12px 0;
  z-index: 1;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, .42));
}

.feature-banner-inner:after {
  background: linear-gradient(90deg, rgba(7, 6, 10, .98) 0%, rgba(7, 6, 10, .88) 30%, rgba(7, 6, 10, .28) 61%, rgba(7, 6, 10, .03) 100%);
  z-index: 1;
}

.feature-banner-copy {
  width: 48%;
  max-width: 620px;
  padding: 52px 42px;
  z-index: 3;
}

@media(max-width:820px) {
  .hero-art.hero-gallery-3d {
    min-height: 430px;
    margin-top: -5px;
  }

  .hero-art-card.card-center {
    width: 178px;
    transform: translate(-50%, -43%) translateZ(70px) rotateZ(.3deg);
  }

  .hero-art-card.card-left {
    width: 145px;
    transform: translate(calc(-50% - 125px), -40%) translateZ(15px) rotateY(16deg) rotateZ(-2deg);
  }

  .hero-art-card.card-right {
    width: 145px;
    transform: translate(calc(-50% + 125px), -40%) translateZ(15px) rotateY(-16deg) rotateZ(2deg);
  }

  .hero-art-card.card-back-center {
    width: 145px;
    transform: translate(-50%, -65%) translateZ(-70px) scale(.94);
  }

  .hero-art-card.card-back-left,
  .hero-art-card.card-back-right {
    display: none
  }

  .hero-gallery-ring.ring-a {
    width: 370px;
    height: 140px
  }

  .hero-gallery-ring.ring-b {
    width: 290px;
    height: 110px
  }

  .hero-gallery-note {
    bottom: 3px
  }

  .feature-banner-inner {
    min-height: 500px;
    display: block;
  }

  .feature-banner-inner>img {
    width: 100%;
    height: 62%;
    padding: 10px 14px 0;
    object-position: center top;
  }

  .feature-banner-inner:after {
    background: linear-gradient(180deg, rgba(7, 6, 10, .04) 25%, rgba(7, 6, 10, .26) 45%, rgba(7, 6, 10, .94) 74%, #07060a 100%);
  }

  .feature-banner-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    padding: 24px 22px 26px;
  }
}

@media(max-width:560px) {
  .header-actions {
    gap: 6px
  }

  .top-download {
    font-size: 11px;
    padding: 9px 10px
  }

  .category-btn {
    min-width: 46px;
    padding: 0 10px !important
  }

  .hero-art.hero-gallery-3d {
    min-height: 350px
  }

  .hero-art-card.card-center {
    width: 160px;
    border-radius: 14px;
  }

  .hero-art-card.card-left,
  .hero-art-card.card-right {
    width: 125px;
    border-radius: 13px;
  }

  .hero-art-card.card-left {
    transform: translate(calc(-50% - 105px), -38%) translateZ(5px) rotateY(15deg) rotateZ(-2deg)
  }

  .hero-art-card.card-right {
    transform: translate(calc(-50% + 105px), -38%) translateZ(5px) rotateY(-15deg) rotateZ(2deg)
  }

  .hero-art-card.card-back-center {
    display: none
  }

  .hero-gallery-ring.ring-a {
    width: 300px;
    height: 112px
  }

  .hero-gallery-ring.ring-b {
    width: 235px;
    height: 88px
  }

  .hero-gallery-note {
    font-size: 8px;
    padding: 7px 10px
  }

  .hero-gallery-note b {
    font-size: 8px
  }

  .feature-banner-inner {
    min-height: 460px;
    border-radius: 21px;
  }

  .feature-banner-inner>img {
    height: 59%;
    padding: 9px 9px 0;
  }

  .feature-banner-copy {
    padding: 20px 18px 22px
  }

  .feature-banner-copy h2 {
    font-size: 28px
  }

  .feature-banner-copy p {
    font-size: 11px;
    line-height: 1.75
  }
}

.hero-art-card.card-left {
  animation: heroSideLeft 7s ease-in-out infinite
}

.hero-art-card.card-right {
  animation: heroSideRight 7.5s ease-in-out infinite
}

.hero-art-card.card-back-center {
  animation: heroBackCenter 8s ease-in-out infinite
}

@keyframes heroSideLeft {

  0%,
  100% {
    transform: translate(calc(-50% - 176px), -43%) translateZ(30px) rotateY(18deg) rotateZ(-2deg)
  }

  50% {
    transform: translate(calc(-50% - 181px), -45%) translateZ(38px) rotateY(17deg) rotateZ(-1.4deg)
  }
}

@keyframes heroSideRight {

  0%,
  100% {
    transform: translate(calc(-50% + 176px), -43%) translateZ(30px) rotateY(-18deg) rotateZ(2deg)
  }

  50% {
    transform: translate(calc(-50% + 181px), -45%) translateZ(38px) rotateY(-17deg) rotateZ(1.4deg)
  }
}

@keyframes heroBackCenter {

  0%,
  100% {
    transform: translate(calc(-50% + 2px), -66%) translateZ(-95px) rotateY(0deg) rotateZ(.5deg) scale(.98)
  }

  50% {
    transform: translate(calc(-50% + 2px), -68%) translateZ(-82px) rotateY(1deg) rotateZ(.2deg) scale(.99)
  }
}

@media(max-width:820px) {
  .hero-art-card.card-left {
    animation: heroSideLeftM 7s ease-in-out infinite
  }

  .hero-art-card.card-right {
    animation: heroSideRightM 7.5s ease-in-out infinite
  }

  .hero-art-card.card-back-center {
    animation: none
  }
}

@keyframes heroSideLeftM {

  0%,
  100% {
    transform: translate(calc(-50% - 125px), -40%) translateZ(15px) rotateY(16deg) rotateZ(-2deg)
  }

  50% {
    transform: translate(calc(-50% - 129px), -42%) translateZ(22px) rotateY(15deg) rotateZ(-1deg)
  }
}

@keyframes heroSideRightM {

  0%,
  100% {
    transform: translate(calc(-50% + 125px), -40%) translateZ(15px) rotateY(-16deg) rotateZ(2deg)
  }

  50% {
    transform: translate(calc(-50% + 129px), -42%) translateZ(22px) rotateY(-15deg) rotateZ(1deg)
  }
}

@media(max-width:560px) {
  .hero-art-card.card-left {
    animation: heroSideLeftS 7s ease-in-out infinite
  }

  .hero-art-card.card-right {
    animation: heroSideRightS 7.5s ease-in-out infinite
  }
}

@keyframes heroSideLeftS {

  0%,
  100% {
    transform: translate(calc(-50% - 105px), -38%) translateZ(5px) rotateY(15deg) rotateZ(-2deg)
  }

  50% {
    transform: translate(calc(-50% - 109px), -40%) translateZ(10px) rotateY(14deg) rotateZ(-1deg)
  }
}

@keyframes heroSideRightS {

  0%,
  100% {
    transform: translate(calc(-50% + 105px), -38%) translateZ(5px) rotateY(-15deg) rotateZ(2deg)
  }

  50% {
    transform: translate(calc(-50% + 109px), -40%) translateZ(10px) rotateY(-14deg) rotateZ(1deg)
  }
}


/* === Final visual refinement: desktop category button + slow 3D hero carousel === */
@media(min-width:821px) {
  .header-actions .category-btn {
    height: 42px;
    min-width: 70px;
    padding: 0 17px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0 !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 13px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035)) !important;
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .07) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
  }

  .header-actions .category-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(139, 114, 255, .52) !important;
    background: linear-gradient(180deg, rgba(139, 114, 255, .17), rgba(255, 255, 255, .045)) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .30), 0 0 22px rgba(139, 114, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .09) !important;
  }

  .header-actions .category-btn b {
    display: block !important;
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700;
    letter-spacing: .08em;
  }
}

/* Phone keeps the category control text-only, as requested. */
@media(max-width:820px) {
  .header-actions .category-btn {
    /* min-width: auto !important; */
    width: auto !important;
    height: 40px;
    /* padding: 0 4px !important; */
    /* border: 0 !important; */
    background: transparent !important;
    /* box-shadow: none !important; */
    /* border-radius: 0 !important; */
  }

  .header-actions .category-btn b {
    display: block !important;
    font-size: 12px !important;
    color: #fff !important;
    letter-spacing: .06em;
  }
}

/* 3D ring: the cards revolve slowly around a vertical axis. */
.hero-gallery-3d {
  transform-style: preserve-3d;
  perspective: 1500px;
  perspective-origin: 50% 50%;
}

.hero-gallery-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  animation: heroGallerySlowSpin 46s linear infinite;
  will-change: transform;
}

.hero-gallery-stage .hero-art-card {
  top: 50%;
  left: 50%;
  transform-origin: 50% 50%;
  transition: filter .6s ease, opacity .6s ease, box-shadow .6s ease;
}

.hero-gallery-stage .card-center {
  width: 202px;
  z-index: 8;
  transform: translate(-50%, -48%) translate3d(0, 18px, 175px) rotateY(0deg) rotateZ(.3deg);
  filter: none;
}

.hero-gallery-stage .card-right {
  width: 178px;
  z-index: 6;
  transform: translate(-50%, -47%) translate3d(178px, 8px, 55px) rotateY(-28deg) rotateZ(2deg);
  filter: brightness(.88) saturate(.92);
}

.hero-gallery-stage .card-left {
  width: 178px;
  z-index: 6;
  transform: translate(-50%, -47%) translate3d(-178px, 8px, 55px) rotateY(28deg) rotateZ(-2deg);
  filter: brightness(.88) saturate(.92);
}

.hero-gallery-stage .card-back-right {
  width: 158px;
  z-index: 3;
  transform: translate(-50%, -53%) translate3d(270px, -35px, -105px) rotateY(-42deg) rotateZ(3deg);
  filter: brightness(.66) saturate(.82);
}

.hero-gallery-stage .card-back-left {
  width: 158px;
  z-index: 3;
  transform: translate(-50%, -53%) translate3d(-270px, -35px, -105px) rotateY(42deg) rotateZ(-3deg);
  filter: brightness(.66) saturate(.82);
}

.hero-gallery-stage .card-back-center {
  width: 164px;
  z-index: 2;
  transform: translate(-50%, -63%) translate3d(0, -92px, -165px) rotateY(0deg) rotateZ(.4deg) scale(.96);
  filter: brightness(.55) saturate(.76);
}

@keyframes heroGallerySlowSpin {
  0% {
    transform: rotateY(-18deg)
  }

  50% {
    transform: rotateY(18deg)
  }

  100% {
    transform: rotateY(-18deg)
  }
}

.hero-gallery-3d:hover .hero-gallery-stage {
  animation-play-state: paused;
}

@media(prefers-reduced-motion:reduce) {
  .hero-gallery-stage {
    animation: none !important;
    transform: rotateY(0deg) !important
  }
}

/* Responsive 3D ring */
@media(max-width:820px) {
  .hero-gallery-3d {
    min-height: 420px !important;
    perspective: 1100px;
  }

  .hero-gallery-stage {
    animation-duration: 54s;
  }

  .hero-gallery-stage .card-center {
    width: 172px;
    transform: translate(-50%, -46%) translate3d(0, 18px, 135px) rotateY(0deg);
  }

  .hero-gallery-stage .card-left {
    width: 132px;
    transform: translate(-50%, -43%) translate3d(-120px, 6px, 32px) rotateY(25deg);
  }

  .hero-gallery-stage .card-right {
    width: 132px;
    transform: translate(-50%, -43%) translate3d(120px, 6px, 32px) rotateY(-25deg);
  }

  .hero-gallery-stage .card-back-left {
    width: 112px;
    transform: translate(-50%, -51%) translate3d(-184px, -28px, -70px) rotateY(38deg);
  }

  .hero-gallery-stage .card-back-right {
    width: 112px;
    transform: translate(-50%, -51%) translate3d(184px, -28px, -70px) rotateY(-38deg);
  }

  .hero-gallery-stage .card-back-center {
    width: 122px;
    transform: translate(-50%, -60%) translate3d(0, -62px, -105px) rotateY(0deg) scale(.94);
  }
}

@media(max-width:560px) {
  .hero-gallery-3d {
    min-height: 355px !important;
    perspective: 900px
  }

  .hero-gallery-stage {
    animation-duration: 58s
  }

  .hero-gallery-stage .card-center {
    width: 152px
  }

  .hero-gallery-stage .card-left,
  .hero-gallery-stage .card-right {
    width: 116px
  }

  .hero-gallery-stage .card-left {
    transform: translate(-50%, -42%) translate3d(-101px, 8px, 25px) rotateY(23deg)
  }

  .hero-gallery-stage .card-right {
    transform: translate(-50%, -42%) translate3d(101px, 8px, 25px) rotateY(-23deg)
  }

  .hero-gallery-stage .card-back-left,
  .hero-gallery-stage .card-back-right {
    width: 98px
  }

  .hero-gallery-stage .card-back-left {
    transform: translate(-50%, -50%) translate3d(-154px, -22px, -58px) rotateY(34deg)
  }

  .hero-gallery-stage .card-back-right {
    transform: translate(-50%, -50%) translate3d(154px, -22px, -58px) rotateY(-34deg)
  }

  .hero-gallery-stage .card-back-center {
    width: 108px
  }
}

/* Hero download QR: keep the code directly above the "立即下载" CTA. */
.hero-actions .qr-trigger {
  z-index: 20
}

.hero-actions .qr-pop.qr-down {
  top: auto !important;
  bottom: calc(100% + 12px) !important;
  transform: translate(-50%, 8px) scale(.94);
}

.hero-actions .qr-trigger:hover .qr-pop.qr-down,
.hero-actions .qr-trigger:focus-visible .qr-pop.qr-down {
  transform: translate(-50%, 0) scale(1);
}


/* =========================================================
   MOBILE-ONLY LAYOUT FIX — desktop styles above remain untouched.
   ========================================================= */
@media (max-width: 820px) {
  html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-x: clip;
  }

  /* Header: keep brand and actions inside the viewport. */
  .site-header {
    width: 100%;
    max-width: 100%;
    padding: 9px 12px;
  }

  .header-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 58px;
    gap: 8px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 145px);
  }

  .brand-copy {
    min-width: 0;
    overflow: hidden;
  }

  .brand-copy b {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions {
    flex: 0 0 auto;
    min-width: 0;
    max-width: 145px;
    margin-left: auto;
    gap: 7px;
  }

  .header-actions .btn,
  .header-actions .category-btn {
    flex: 0 0 auto;
    min-width: 0;
  }

  .top-download {
    max-width: 92px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .category-btn {
    width: auto !important;
    min-width: 44px !important;
    max-width: 60px;
    height: 40px !important;
    padding: 0 8px !important;
    justify-content: center;
    white-space: nowrap;
  }

  .category-btn span {
    display: none !important;
  }

  .category-btn b {
    display: block !important;
    white-space: nowrap;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  /* Main containers: reduce only mobile side spacing. */
  .hero,
  .section,
  .page-hero,
  .feature-banner,
  .download-section,
  .site-footer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section,
  .section.alt {
    padding-left: 14px;
    padding-right: 14px;
  }

  .page-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .feature-banner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .download-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-art {
    min-width: 0;
    max-width: 100%;
  }

  /* 3D hero remains visually rich without creating a layout-width overflow. */
  .hero-art.hero-gallery-3d {
    width: 100%;
    max-width: 100%;
    min-height: 430px;
    overflow: visible;
  }

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

  .hero-gallery-ring,
  .hero-gallery-glow {
    pointer-events: none;
  }

  .hero-actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-wrap: wrap;
  }

  .hero-actions .qr-trigger {
    position: relative;
  }

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

  /* Cards/grids cannot push the viewport wider than the phone. */
  .poster-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poster-card,
  .poster-link,
  .poster-wrap,
  .poster-info {
    min-width: 0;
    max-width: 100%;
  }

  .poster-wrap img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .poster-info h3,
  .poster-info p {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rank-strip,
  .rank-board,
  .rank-catalog,
  .rank-summary,
  .rank-hero-card,
  .rank-modern {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .rank-strip,
  .rank-board {
    grid-template-columns: 1fr;
  }

  .rank-summary {
    flex-wrap: wrap;
    gap: 18px;
  }

  .rank-summary-main,
  .rank-summary-stats {
    min-width: 0;
    max-width: 100%;
  }

  .rank-summary-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rank-summary-stats div {
    min-width: 0;
  }

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

  .rank-hero-media {
    min-height: 360px;
    max-height: 520px;
  }

  .rank-hero-copy {
    min-width: 0;
    padding: 8px 4px 12px;
  }

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

  .rank-entry {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: 32px 62px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .rank-entry>* {
    min-width: 0;
  }

  .rank-entry img {
    width: 62px;
    height: 82px;
  }

  .rank-entry h3,
  .rank-entry p,
  .rank-entry-tag {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rank-entry h3 {
    white-space: nowrap;
  }

  .rank-entry>strong {
    white-space: nowrap;
  }

  .category-wall {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card {
    min-width: 0;
    max-width: 100%;
  }

  .comment-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: 1fr 1fr;
  }

  .comment-card {
    min-width: 0;
    max-width: 100%;
  }

  .comment-card p {
    overflow-wrap: anywhere;
  }

  /* Subpage banner: keep the poster inside the card on phones. */
  .feature-banner-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 500px;
    display: block;
  }

  .feature-banner-inner>img {
    width: 100%;
    max-width: 100%;
    height: 62%;
    padding: 10px 14px 0;
    object-fit: contain;
    object-position: center top;
  }

  .feature-banner-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 24px 22px 26px;
  }

  .feature-banner-copy h2,
  .feature-banner-copy p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .signal-section,
  .signal-shell,
  .signal-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .signal-shell {
    padding: 24px 18px;
  }

  .signal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .signal-card {
    min-width: 0;
    max-width: 100%;
  }

  .mood-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: 1fr 1fr;
  }

  .mood-card {
    min-width: 0;
    max-width: 100%;
  }

  .download-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .download-actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-wrap: wrap;
  }

  .download-qr-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .drawer {
    width: min(390px, 94vw);
    max-width: 94vw;
  }

  .drawer-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .drawer-item {
    min-width: 0;
    max-width: 100%;
  }

  .ticker,
  .signal-marquee {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .footer-main,
  .footer-bottom,
  .footer-brand,
  .footer-links {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .footer-main {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-links {
    overflow-wrap: anywhere;
  }
}

@media (max-width:560px) {
  .header-inner {
    gap: 6px
  }

  .brand {
    max-width: calc(100% - 126px)
  }

  .header-actions {
    max-width: 126px
  }

  .top-download {
    max-width: 82px;
    font-size: 11px;
    padding: 9px 10px;
  }

  .category-btn {
    min-width: 42px !important;
    padding: 0 5px !important;
  }

  .category-btn b {
    font-size: 12px !important;
  }

  .hero,
  .section,
  .section.alt,
  .page-hero,
  .feature-banner,
  .download-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-art.hero-gallery-3d {
    min-height: 355px;
  }

  .hero-actions .btn {
    min-height: 42px;
  }

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

  .rank-summary-stats {
    gap: 7px;
  }

  .rank-summary-stats div {
    padding: 9px 7px;
  }

  .rank-hero-media {
    min-height: 310px;
  }

  .rank-entry {
    grid-template-columns: 28px 52px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px;
  }

  .rank-entry img {
    width: 52px;
    height: 70px;
  }

  .rank-entry h3 {
    font-size: 12px;
  }

  .rank-entry p {
    font-size: 9px;
  }

  .rank-entry-tag {
    font-size: 8px;
  }

  .category-wall,
  .comment-grid,
  .signal-grid,
  .mood-grid {
    grid-template-columns: 1fr;
  }

  .feature-banner-inner {
    min-height: 470px;
  }

  .feature-banner-inner>img {
    height: 60%;
    padding: 8px 10px 0;
  }

  .feature-banner-copy {
    padding: 20px 18px 22px;
  }

  .signal-shell {
    padding: 22px 15px;
  }

  .download-shell {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .site-footer {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Mobile-only safeguard: long words/labels must wrap instead of widening a card. */
@media (max-width:820px) {

  h1,
  h2,
  h3,
  p,
  a,
  span,
  b,
  em,
  strong {
    overflow-wrap: anywhere;
  }

  .nav-link,
  .category-btn,
  .top-download,
  .rank-entry-tag {
    overflow-wrap: normal;
  }
}