/* ==========================================================================
   黄果短剧 · 心情频道
   移动优先 / 单文件样式 / 无外部字体与图标库
   01 变量  02 基础  03 工具  04 页头  05 首屏  06 首页区块
   07 排行榜  08 法务  09 页脚  10 浮层  11 响应式  12 降级
   ========================================================================== */

/* ---------- 01 变量 ---------- */
:root {
  --bg: #060b14;
  --bg-2: #091322;
  --bg-3: #0d1a2c;
  --surface: #0c1728;
  --surface-2: #102039;
  --surface-3: #162a46;
  --line: rgba(168, 204, 255, 0.13);
  --line-strong: rgba(168, 204, 255, 0.27);
  --text: #f3f7ff;
  --muted: #9db0c9;
  --muted-2: #6f849f;
  --blue: #4d8dff;
  --blue-2: #2f6ff0;
  --blue-3: #1c4fb8;
  --cyan: #8ae6ff;
  --cyan-soft: rgba(138, 230, 255, 0.11);
  --blue-soft: rgba(77, 141, 255, 0.13);
  --good: #5eead4;
  --warn: #ffcf8a;

  --maxw: 1240px;
  --pad: clamp(18px, 4.5vw, 40px);
  --header-h: 66px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.85);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --font-sans: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI",
    "Noto Sans SC", "Hiragino Sans GB", sans-serif;
}

/* ---------- 02 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 78% -8%, rgba(77, 141, 255, 0.15), transparent 36%),
    radial-gradient(circle at 8% 18%, rgba(138, 230, 255, 0.07), transparent 30%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.75;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open,
body.modal-open {
  overflow: hidden;
}

@media (max-width: 899px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
}

main {
  display: block;
  overflow: clip;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--blue);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

section[id],
div[id="download"],
section[id="top"],
article[id^="rank-"] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

/* ---------- 03 工具 ---------- */
.container {
  width: min(var(--maxw), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 500;
  transform: translateY(-180%);
  background: var(--cyan);
  color: #04101d;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 8px;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.4;
  color: var(--cyan);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(77, 141, 255, 0.16);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 0.18s var(--ease),
    background 0.18s var(--ease),
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 12px 30px -14px rgba(77, 141, 255, 0.75);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -14px rgba(77, 141, 255, 0.9);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.btn--small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 12.5px;
}

.btn--block {
  width: 100%;
}

.mini-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 8px;
  border: 1px solid rgba(138, 230, 255, 0.18);
  border-radius: var(--radius-pill);
  background: var(--cyan-soft);
  color: var(--cyan);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--blue);
  color: var(--cyan);
  font-size: 13.5px;
  font-weight: 800;
}

.text-link:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

.section {
  position: relative;
  padding: clamp(52px, 9vw, 96px) 0;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(24px, 4vw, 34px);
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(28px, 5.8vw, 48px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-head__note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
  max-width: 430px;
}

.section-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

/* ---------- 04 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(6, 11, 20, 0.86);
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

@supports (backdrop-filter: blur(14px)) {
  .site-header {
    backdrop-filter: blur(14px) saturate(1.1);
  }
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(6, 11, 20, 0.96);
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

.brand__text strong {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.brand__text small {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav {
  display: none;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.16s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--cyan);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__download {
  display: none;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 3px 0;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- 05 首屏 ---------- */
.hero {
  position: relative;
  padding: clamp(30px, 6vw, 64px) 0 clamp(36px, 7vw, 76px);
  overflow: clip;
}

.hero__glow {
  position: absolute;
  inset: -80px 0 auto;
  height: 560px;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 36%, rgba(77, 141, 255, 0.24), transparent 38%),
    radial-gradient(circle at 88% 12%, rgba(138, 230, 255, 0.11), transparent 28%);
  filter: blur(4px);
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero__copy {
  max-width: 600px;
}

.hero__title {
  margin-top: 14px;
  font-size: clamp(48px, 13vw, 94px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero__slogan {
  margin-top: 12px;
  color: var(--cyan);
  font-size: clamp(24px, 6vw, 38px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.hero__lead {
  max-width: 540px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.mood-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 22px;
}

.mood-chip {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 800;
  transition:
    background 0.18s var(--ease),
    border-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.mood-chip:hover {
  transform: translateY(-1px);
  border-color: var(--blue);
}

.mood-chip.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(77, 141, 255, 0.9);
}

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

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  list-style: none;
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 700;
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__facts li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.hero__stage {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
}

.hero-screen {
  position: relative;
  width: min(430px, 100%);
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(22, 42, 70, 0.72), rgba(8, 16, 29, 0.94)),
    var(--surface);
  box-shadow:
    0 30px 80px -34px rgba(77, 141, 255, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.hero-screen::before {
  content: "";
  position: absolute;
  inset: auto -20% -30% 20%;
  height: 280px;
  background: radial-gradient(circle, rgba(77, 141, 255, 0.22), transparent 66%);
  pointer-events: none;
}

.hero-screen__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 11px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.hero-screen__free {
  padding: 2px 7px;
  border: 1px solid rgba(138, 230, 255, 0.4);
  border-radius: var(--radius-pill);
  color: var(--cyan);
}

.hero-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  margin: 0;
  border-radius: 20px;
  background: var(--bg-3);
  overflow: hidden;
}

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

.hero-poster__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 9, 17, 0.72));
  pointer-events: none;
}

.hero-screen__info {
  position: relative;
  padding: 13px 5px 4px;
}

.hero-screen__mood {
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-screen__title {
  margin-top: 3px;
  font-size: 29px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-screen__tags {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.5px;
}

.hero__caption {
  max-width: 380px;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

/* ---------- 06 首页区块 ---------- */
.section--picks {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 19, 34, 0.58), transparent 55%);
}

.section--latest {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 0%, rgba(77, 141, 255, 0.08), transparent 34%),
    var(--bg-2);
}

.section--ai {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 18%, rgba(138, 230, 255, 0.06), transparent 32%),
    var(--bg-2);
}

.section--rank {
  background: linear-gradient(180deg, transparent, rgba(9, 19, 34, 0.55));
}

.section--about {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(9, 19, 34, 0.5));
}

.about__grid {
  display: grid;
  gap: 24px;
}

.about__head h2 {
  margin: 10px 0 12px;
  font-size: clamp(29px, 6vw, 46px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.about__head > p:last-child {
  max-width: 380px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.about__body {
  display: grid;
  gap: 12px;
}

.about__body p {
  color: #b9c9dd;
  font-size: 14px;
  line-height: 1.95;
}

.about__body strong {
  color: var(--text);
  font-weight: 800;
}

.section--faq {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

/* 精选推荐 */
.pick-grid {
  display: grid;
  gap: 14px;
}

.pick-card {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  min-height: 228px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  overflow: hidden;
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.pick-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.pick-card__cover {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: var(--bg-3);
}

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

.pick-card:hover .pick-card__cover img {
  transform: scale(1.04);
}

.pick-card__mood {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(4, 9, 17, 0.72);
  color: var(--cyan);
  font-size: 10.5px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.pick-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 16px 15px;
}

.pick-card__kicker {
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pick-card h3 {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
}

.pick-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* 最新影片 */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.poster-card {
  min-width: 0;
}

.poster-card__link {
  display: block;
}

.poster-card__cover {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-3);
  overflow: hidden;
  transition:
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

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

.poster-card:hover .poster-card__cover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.poster-card:hover .poster-card__cover img {
  transform: scale(1.04);
}

.poster-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(77, 141, 255, 0.92);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.6;
}

.poster-card__body {
  padding: 9px 2px 0;
}

.poster-card__body h3 {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.poster-card__body p {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 11px;
}

/* 题材频道 */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.genre-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-3);
  overflow: hidden;
}

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

.genre-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 9, 17, 0.02) 35%, rgba(4, 9, 17, 0.9));
  pointer-events: none;
}

.genre-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 13px;
}

.genre-card__content strong {
  display: block;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
}

.genre-card__content small {
  display: block;
  margin-top: 4px;
  color: rgba(243, 247, 255, 0.72);
  font-size: 10.5px;
  line-height: 1.5;
}

.genre-card:hover {
  border-color: var(--blue);
}

.genre-card:hover img {
  transform: scale(1.04);
}

/* 今日更新 */
.today {
  position: relative;
  padding: clamp(38px, 7vw, 72px) 0;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 40%, rgba(77, 141, 255, 0.2), transparent 36%),
    linear-gradient(120deg, #08111f, #0e2240 55%, #08111f);
  overflow: clip;
}

.today__grid {
  display: grid;
  gap: 26px;
  align-items: center;
}

.today__copy h2 {
  max-width: 620px;
  margin: 10px 0 12px;
  font-size: clamp(29px, 6vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.today__copy p {
  max-width: 560px;
  color: #b9c9dd;
  font-size: 14px;
  line-height: 1.8;
}

.today__copy .btn {
  margin-top: 20px;
}

.today__covers {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.today__covers::-webkit-scrollbar {
  display: none;
}

.today__covers figure {
  flex: 0 0 28%;
  min-width: 96px;
}

.today__covers img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
  background: var(--bg-3);
}

.today__covers figcaption {
  margin-top: 6px;
  overflow: hidden;
  color: rgba(243, 247, 255, 0.72);
  font-size: 10.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* AI / 漫剧 / 魔改 */
.ai-grid {
  display: grid;
  gap: 14px;
}

.ai-card {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  min-height: 208px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
  transition:
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.ai-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.ai-card__cover {
  min-height: 100%;
  background: var(--bg-3);
  overflow: hidden;
}

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

.ai-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 16px 15px;
}

.ai-card__body h3 {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

.ai-card__body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.ai-note {
  margin-top: 20px;
  padding-left: 12px;
  border-left: 2px solid var(--blue);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

/* 排行榜预览 */
.rank-preview {
  display: grid;
  gap: 9px;
  list-style: none;
}

.rank-preview__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition:
    border-color 0.18s var(--ease),
    background 0.18s var(--ease);
}

.rank-preview__item:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.rank-preview__item--top {
  border-color: rgba(77, 141, 255, 0.45);
  background: linear-gradient(135deg, rgba(77, 141, 255, 0.15), var(--surface));
}

.rank-preview__no {
  flex: 0 0 auto;
  width: 28px;
  color: var(--cyan);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.rank-preview__item a {
  flex: 0 0 auto;
  border-radius: 8px;
  overflow: hidden;
}

.rank-preview__item img {
  width: 48px;
  height: 64px;
  object-fit: cover;
  background: var(--bg-3);
}

.rank-preview__body {
  min-width: 0;
}

.rank-preview__body h3 {
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-preview__body p {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 10.5px;
  white-space: nowrap;
}

/* FAQ */
.faq__layout {
  display: grid;
  gap: 28px;
}

.faq__head h2 {
  margin: 10px 0 12px;
  font-size: clamp(29px, 6vw, 48px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.faq__head > p:last-child {
  max-width: 380px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.faq__list {
  display: grid;
  gap: 9px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 15px 17px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

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

.faq-item summary:hover {
  color: var(--cyan);
}

.faq-item p {
  padding: 0 17px 17px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

/* 下载 */
.download {
  padding: clamp(28px, 6vw, 56px) 0 clamp(54px, 8vw, 90px);
}

.download__card {
  position: relative;
  padding: clamp(24px, 6vw, 54px);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(138, 230, 255, 0.14), transparent 30%),
    radial-gradient(circle at 16% 100%, rgba(77, 141, 255, 0.22), transparent 38%),
    linear-gradient(150deg, #102039, #08111f);
  box-shadow: 0 30px 80px -40px rgba(77, 141, 255, 0.7);
  text-align: center;
  overflow: hidden;
}

.download__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: left;
}

.download__brand img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.download__brand h2 {
  margin-top: 4px;
  font-size: clamp(28px, 5.5vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.download__lead {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.download__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.store-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 190px;
  min-height: 58px;
  padding: 9px 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f3f7ff;
  color: #06101f;
  text-align: left;
  transition:
    transform 0.18s var(--ease),
    background 0.18s var(--ease);
}

.store-btn strong {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.store-btn span {
  color: #52657d;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
}

.store-btn:hover {
  transform: translateY(-1px);
  background: #fff;
}

.store-btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.store-btn--ghost span {
  color: var(--muted-2);
}

.store-btn--ghost:hover {
  background: var(--blue-soft);
}

.download__note {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 10.5px;
}

/* ---------- 07 排行榜 ---------- */
.ranking-hero {
  position: relative;
  padding: clamp(42px, 7vw, 76px) 0 clamp(34px, 6vw, 60px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 20%, rgba(77, 141, 255, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(9, 19, 34, 0.72), transparent);
  overflow: clip;
}

.ranking-hero__grid {
  display: grid;
  gap: 30px;
  align-items: end;
}

.ranking-hero h1 {
  margin-top: 12px;
  font-size: clamp(66px, 16vw, 136px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.ranking-hero__lead {
  max-width: 660px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.ranking-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.ranking-hero__meta span {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
}

.ranking-hero__note {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 23, 40, 0.72);
}

.ranking-hero__note-label {
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.ranking-hero__note p:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.ranking-board {
  padding-top: clamp(42px, 7vw, 72px);
}

.podium {
  display: grid;
  gap: 14px;
}

.podium__item {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.podium__item--first {
  border-color: rgba(77, 141, 255, 0.5);
  background:
    radial-gradient(circle at 90% 0%, rgba(77, 141, 255, 0.2), transparent 40%),
    var(--surface);
}

.podium__rank {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.podium__item--first .podium__rank {
  font-size: 28px;
  color: var(--cyan);
}

.podium__cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 13px;
  background: var(--bg-3);
  overflow: hidden;
}

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

.podium__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.podium__body {
  padding: 13px 5px 5px;
}

.podium__kicker {
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.podium__body h3 {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.podium__item--first .podium__body h3 {
  font-size: 27px;
}

.podium__body > p:not(.podium__kicker) {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.podium__body .mini-tag {
  margin-top: 9px;
}

.rank-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-chip {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  transition:
    color 0.16s var(--ease),
    border-color 0.16s var(--ease),
    background 0.16s var(--ease);
}

.filter-chip:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.filter-chip.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.rank-tools__count {
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 700;
}

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

.rank-card {
  position: relative;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition:
    border-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.rank-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}

.rank-card__no {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(4, 9, 17, 0.72);
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.5;
  backdrop-filter: blur(6px);
}

.rank-card__cover {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  background: var(--bg-3);
  overflow: hidden;
}

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

.rank-card:hover .rank-card__cover img {
  transform: scale(1.04);
}

.rank-card__body {
  padding: 9px 4px 4px;
}

.rank-card__body h3 {
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-card__body p {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 10.5px;
}

.empty-state {
  margin-top: 18px;
  padding: 26px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.ranking-note {
  padding: clamp(44px, 7vw, 76px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.ranking-note__grid {
  display: grid;
  gap: 22px;
}

.ranking-note__grid h2 {
  margin-top: 10px;
  font-size: clamp(28px, 5.5vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.ranking-note__grid p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.ranking-note__grid p + p {
  margin-top: 10px;
}

.ranking-note__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ---------- 08 法务 ---------- */
.legal-hero {
  padding: clamp(42px, 7vw, 72px) 0 clamp(26px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 0%, rgba(77, 141, 255, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(9, 19, 34, 0.64), transparent);
}

.legal-hero h1 {
  margin-top: 10px;
  font-size: clamp(44px, 9vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 11.5px;
}

.legal {
  max-width: 840px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 48px) 0 70px;
}

.legal-note {
  margin-bottom: 32px;
  padding: 16px 18px;
  border-left: 3px solid var(--warn);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 207, 138, 0.08);
  color: #d8c7aa;
  font-size: 13px;
  line-height: 1.8;
}

.legal-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--warn);
  font-size: 13px;
}

.legal-toc {
  margin-bottom: 34px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.legal-toc > p {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.legal-toc ol {
  display: grid;
  gap: 7px 18px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.legal-toc a {
  color: var(--muted);
}

.legal-toc a:hover {
  color: var(--cyan);
}

.legal h2 {
  margin: 36px 0 12px;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.legal h3 {
  margin: 22px 0 8px;
  color: var(--cyan);
  font-size: 15.5px;
  font-weight: 800;
}

.legal p,
.legal li {
  color: #b9c9dd;
  font-size: 14px;
  line-height: 1.9;
}

.legal p {
  margin-bottom: 12px;
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 21px;
}

.legal li + li {
  margin-top: 6px;
}

.legal a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal__contact {
  margin: 18px 0 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.legal__contact p {
  margin-bottom: 6px;
}

.legal__contact p:last-child {
  margin-bottom: 0;
}

.legal__back {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

/* ---------- 09 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #04080f;
  padding: 46px 0 28px;
}

.footer__top {
  display: grid;
  gap: 26px;
}

.footer__brand p {
  max-width: 300px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.brand--footer .brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.footer__col h3 {
  margin-bottom: 11px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.footer__col a,
.footer__col p {
  display: block;
  margin: 7px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.footer__col a:hover {
  color: var(--text);
}

.footer__small {
  color: var(--muted-2) !important;
  font-size: 11px !important;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11px;
}

.footer__icp:hover {
  color: var(--text);
}

/* ---------- 10 浮层 ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding-top: 14px;
  background:
    radial-gradient(circle at 80% 0%, rgba(77, 141, 255, 0.18), transparent 36%),
    #060b14;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 0.22s var(--ease),
    visibility 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.drawer__kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.drawer__close {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
}

.drawer__nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.drawer__nav span {
  font-size: clamp(25px, 8vw, 36px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.drawer__nav small {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
}

.drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding: 24px 0 calc(28px + env(safe-area-inset-bottom));
}

.drawer__foot p {
  color: var(--muted-2);
  font-size: 11px;
  text-align: center;
}

.drawer__foot > a:last-child {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  overflow-wrap: anywhere;
}

.mobile-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  display: flex;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(6, 11, 20, 0.96);
  backdrop-filter: blur(14px);
  transform: translateY(110%);
  transition: transform 0.22s var(--ease);
}

.mobile-cta.is-visible {
  transform: none;
}

.mobile-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 800;
}

.mobile-cta__primary {
  flex: 1;
  border-color: var(--blue) !important;
  background: var(--blue);
  color: #fff !important;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: calc(78px + env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 17px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s var(--ease),
    visibility 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.to-top:hover {
  border-color: var(--blue);
  background: var(--surface-2);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 6, 12, 0.72);
  backdrop-filter: blur(8px);
}

.modal__card {
  position: relative;
  width: min(430px, 100%);
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #0c1728;
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 11px;
}

.modal__card h2 {
  margin: 8px 0 10px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.modal__card > p:not(.eyebrow):not(.modal__url) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.modal__url {
  margin: 14px 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-3);
  color: var(--cyan);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

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

/* ---------- 11 响应式 ---------- */
@media (min-width: 640px) {
  body {
    font-size: 16px;
  }

  .section-head {
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
    align-items: end;
    gap: 24px;
  }

  .section-head__note {
    justify-self: end;
    font-size: 14px;
  }

  .hero__lead {
    font-size: 16px;
  }

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

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

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

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

  .ai-card__cover {
    aspect-ratio: 3 / 4;
  }

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

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

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

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .nav {
    display: flex;
  }

  .header__download {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    padding-top: clamp(44px, 6vw, 78px);
    padding-bottom: clamp(48px, 7vw, 90px);
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    gap: clamp(28px, 4vw, 56px);
  }

  .hero-screen {
    width: min(440px, 100%);
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  }

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

  .pick-card {
    min-height: 252px;
  }

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

  .today__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
  }

  .today__covers figure {
    flex: 1;
    min-width: 0;
  }

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

  .rank-preview__item {
    align-items: flex-start;
    padding: 10px;
  }

  .rank-preview__no {
    width: auto;
    font-size: 19px;
  }

  .rank-preview__item img {
    width: 46px;
    height: 61px;
  }

  .about__grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 54px;
    align-items: start;
  }

  .faq__layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 54px;
  }

  .faq__head {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .download__brand {
    justify-content: flex-start;
  }

  .download__card {
    text-align: left;
  }

  .download__lead {
    margin-left: 0;
  }

  .download__actions {
    justify-content: flex-start;
  }

  .ranking-hero__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 40px;
  }

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

  .podium__item--first .podium__body h3 {
    font-size: 24px;
  }

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

  .ranking-note__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
  }

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

  .footer__top {
    grid-template-columns: 1.4fr repeat(3, minmax(0, 0.75fr));
    gap: 30px;
  }

  .mobile-cta {
    display: none;
  }

  .to-top {
    right: 24px;
    bottom: 24px;
  }
}

@media (min-width: 1200px) {
  .poster-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .poster-card__body h3 {
    font-size: 15px;
  }

  .pick-card__body {
    padding: 22px 20px;
  }

  .pick-card h3 {
    font-size: 24px;
  }

  .genre-card {
    aspect-ratio: 3 / 4;
  }

  .hero-screen {
    width: 470px;
  }

  .hero__caption {
    font-size: 12.5px;
  }

  .rank-preview__item img {
    width: 52px;
    height: 69px;
  }

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

/* ---------- 12 降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

@media (prefers-contrast: more) {
  :root {
    --line: rgba(190, 218, 255, 0.28);
    --line-strong: rgba(190, 218, 255, 0.5);
    --muted: #c0cee0;
    --muted-2: #a8bacd;
  }
}
