/* ============================================================
   葡萄短剧 - 全局样式系统
   清新邂逅风：浅青蓝 × 米白 × 暖沙
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  /* 浅青蓝（主色 / 头部 / 页脚） */
  --cyan-900: #1c4550;
  --cyan-800: #235862;
  --cyan-700: #2d6a75;
  --cyan-600: #3c8290;
  --cyan-500: #57a1af;
  --cyan-400: #79b7c3;
  --cyan-100: #d8ecf0;
  --cyan-50:  #ecf5f7;

  /* 暖沙（强调 / 暖色点缀） */
  --sand-600: #b98a4e;
  --sand-500: #cd9f66;
  --sand-400: #dcb483;
  --sand-300: #e8cba0;
  --sand-100: #f6ead6;
  --sand-50:  #fbf5ea;

  /* 雾青灰（辅助 / 弱化） */
  --mist-600: #80949b;
  --mist-500: #8fa3aa;
  --mist-400: #a3b6bc;
  --mist-300: #bccdd2;
  --mist-200: #d3e0e3;
  --mist-100: #e9f0f2;

  /* 背景与文字 */
  --bg:        #faf7f0;
  --bg-alt:    #f3efe6;
  --surface:   #ffffff;
  --text:      #24343a;
  --text-muted:#6b7c82;

  --radius:    14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(20, 48, 58, .08);
  --shadow-md: 0 8px 28px rgba(20, 48, 58, .12);
  --shadow-lg: 0 18px 50px rgba(20, 48, 58, .18);

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI",
          Roboto, sans-serif;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan-600); text-decoration: none; }
a:hover { color: var(--cyan-500); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
main { flex: 1 0 auto; }

/* ---------- 无障碍：跳过链接 & 屏幕阅读器 ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cyan-800);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 2000;
}
.skip-link:focus { left: 0; }
.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;
}

:focus-visible {
  outline: 3px solid var(--sand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 容器 & 通用 ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 22px; }

/* ============================================================
   头部（实色，与页脚统一浅青蓝风格）
   ============================================================ */
.site-header {
  background: var(--cyan-800);          /* 不透明实色，严禁透明 */
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 16px rgba(20, 48, 58, .28);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  flex-shrink: 0;
}
.brand:hover { color: #fff; }
.brand-icon { color: var(--sand-400); flex-shrink: 0; }
.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .5px;
  color: #fff;
  white-space: nowrap;
}

/* 主导航 */
.main-nav { margin-left: 4px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--mist-300);             /* 与浅青蓝背景高对比 */
  font-size: .96rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-link.is-active {
  color: var(--cyan-800);
  background: var(--sand-400);
  font-weight: 700;
}

/* 搜索框 */
.search-form {
  margin-left: auto;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  overflow: hidden;
  height: 40px;
}
.search-input {
  width: 190px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0 6px 0 16px;
  font-size: .92rem;
  outline: none;
}
.search-input::placeholder { color: var(--mist-400); }
.search-btn {
  border: 0;
  background: var(--sand-500);
  color: var(--cyan-800);
  font-weight: 700;
  padding: 0 18px;
  height: 100%;
  transition: background .2s ease;
}
.search-btn:hover { background: var(--sand-400); }

/* 汉堡按钮（移动端） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  background: transparent;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--mist-100);
  font-size: .86rem;
  color: var(--text-muted);
}
.breadcrumb-inner { padding: 10px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumb { color: var(--text-muted); }
.crumb a { color: var(--cyan-600); }
.crumb a:hover { color: var(--cyan-500); text-decoration: underline; }
.crumb-sep { color: var(--mist-400); }
.crumb-current { color: var(--text); font-weight: 600; }

/* ============================================================
   首屏轮播
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--cyan-900); }
.hero-slider { position: relative; height: 440px; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, transform .7s ease;
  transform: scale(1.02);
}
.hero-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.hero-bg { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(20, 48, 58, .92) 0%,
    rgba(32, 74, 86, .72) 45%,
    rgba(32, 74, 86, .15) 100%);
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
  padding: 40px 56px;
  color: #fff;
}
.hero-badge {
  align-self: flex-start;
  background: var(--sand-500);
  color: var(--cyan-800);
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero-title { font-size: 2.3rem; font-weight: 800; margin-bottom: 12px; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero-desc {
  font-size: .98rem;
  color: var(--mist-200);
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.hero-btn--primary { background: var(--sand-500); color: var(--cyan-800); }
.hero-btn--primary:hover { background: var(--sand-400); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(205,159,102,.35); color: var(--cyan-800); }
.hero-btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.hero-btn--ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); color: #fff; }

.hero-controls {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.hero-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(20,48,58,.4);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.hero-arrow:hover { background: rgba(20,48,58,.7); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.45);
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.hero-dot.is-active { background: var(--sand-400); transform: scale(1.35); }

/* ============================================================
   区块 & 分区标题
   ============================================================ */
.section { padding: 44px 0; }
.section--alt { background: var(--bg-alt); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: "";
  width: 6px; height: 24px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--sand-500), var(--cyan-500));
}
.section-sub { color: var(--text-muted); font-size: .9rem; margin-top: 4px; }
.section-more { color: var(--cyan-600); font-size: .92rem; font-weight: 600; white-space: nowrap; }
.section-more:hover { color: var(--sand-600); }

/* ============================================================
   卡片
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-link { display: block; color: var(--text); }
.card-link:hover { color: var(--text); }
.card-cover { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--mist-100); }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img { transform: scale(1.07); }
.card-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--cyan-800);
  color: var(--sand-300);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.card-play {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 48, 58, .0);
  color: #fff;
  font-size: 1.6rem;
  opacity: 0;
  transition: background .3s ease, opacity .3s ease;
}
.card:hover .card-play { background: rgba(20, 48, 58, .35); opacity: 1; }
.card-fav {
  position: absolute;
  top: 8px; right: 8px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(20,48,58,.55);
  color: #fff;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s ease;
}
.card-fav:hover { transform: scale(1.12); }
.card-fav.is-active { background: var(--sand-500); color: var(--cyan-800); }
.card-body { padding: 12px 14px 14px; }
.card-title {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}
.card-meta { font-size: .82rem; color: var(--text-muted); display: flex; align-items: center; justify-content: space-between; }
.card-rating { color: var(--sand-600); font-weight: 700; }

/* ============================================================
   热度排行
   ============================================================ */
.rank-list { display: flex; flex-direction: column; gap: 14px; }
.rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px 18px 12px 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.rank-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.rank-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--mist-500);
  background: var(--bg-alt);
  border-radius: 10px;
}
.rank-num--top { color: var(--cyan-800); background: var(--sand-500); }
.rank-cover {
  width: 56px; height: 74px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--mist-100);
}
.rank-info { flex: 1; min-width: 0; }
.rank-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-meta { font-size: .82rem; color: var(--text-muted); }
.rank-trend { font-weight: 700; margin-left: 6px; }
.rank-trend.up { color: #c0533f; }
.rank-trend.down { color: #3f7fbf; }
.rank-trend.stable { color: var(--mist-500); }
.rank-side { text-align: right; flex-shrink: 0; }
.rank-views { font-weight: 700; color: var(--cyan-600); }
.rank-cat { font-size: .8rem; color: var(--text-muted); }

/* ============================================================
   分类筛选
   ============================================================ */
.category-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--mist-300);
  background: var(--surface);
  color: var(--text);
  font-size: .92rem;
  font-weight: 500;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.chip:hover { border-color: var(--cyan-400); transform: translateY(-2px); }
.chip.is-active { background: var(--cyan-800); color: #fff; border-color: var(--cyan-800); }
.chip-count { color: var(--mist-500); font-size: .8rem; margin-left: 4px; }
.chip.is-active .chip-count { color: var(--sand-300); }

/* ============================================================
   详情页
   ============================================================ */
.detail-hero {
  background: linear-gradient(135deg, var(--cyan-800) 0%, var(--cyan-700) 60%, var(--cyan-600) 100%);
  color: #fff;
  padding: 46px 0;
}
.detail-wrap { display: flex; gap: 36px; }
.detail-cover {
  width: 260px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
  background: var(--mist-100);
}
.detail-info { flex: 1; min-width: 0; }
.detail-title { font-size: 1.9rem; font-weight: 800; margin-bottom: 12px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag { background: rgba(255,255,255,.12); color: var(--mist-200); padding: 4px 12px; border-radius: 999px; font-size: .82rem; }
.tag--cat { background: var(--sand-500); color: var(--cyan-800); font-weight: 700; }
.detail-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-bottom: 20px; }
.stat { text-align: left; }
.stat-value { font-size: 1.35rem; font-weight: 800; color: var(--sand-400); }
.stat-label { font-size: .8rem; color: var(--mist-400); }
.detail-desc { color: var(--mist-200); font-size: .95rem; margin-bottom: 22px; max-width: 720px; }
.detail-meta { font-size: .88rem; color: var(--mist-300); margin-bottom: 24px; }
.detail-meta b { color: #fff; font-weight: 600; }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: .96rem;
  font-weight: 700;
  border: 0;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn--primary { background: var(--sand-500); color: var(--cyan-800); }
.btn--primary:hover { background: var(--sand-400); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(205,159,102,.4); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn--ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn--fav.is-active { background: var(--sand-500); color: var(--cyan-800); }

/* 选集 */
.episode-section { padding: 40px 0; }
.episode-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 10px; }
.episode {
  padding: 10px 4px;
  text-align: center;
  border: 1px solid var(--mist-300);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: .85rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.episode:hover { background: var(--cyan-800); color: #fff; border-color: var(--cyan-800); }

/* ============================================================
   下载 APP 引导
   ============================================================ */
.app-cta {
  background: linear-gradient(120deg, var(--cyan-800) 0%, var(--cyan-600) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.app-cta::after {
  content: "葡萄短剧";
  position: absolute;
  right: 26px;
  bottom: -20px;
  font-size: 6.4rem;
  font-weight: 800;
  color: rgba(255,255,255,.05);
  line-height: 1;
  pointer-events: none;
}
.app-cta-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.app-cta-desc { color: var(--mist-200); font-size: .95rem; max-width: 560px; }
.app-btns { display: flex; gap: 14px; flex-shrink: 0; position: relative; z-index: 1; }
.app-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.1);
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.app-btn:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-3px); }
.app-btn small { font-size: .68rem; color: var(--mist-300); }
.app-btn strong { font-size: 1.05rem; }

/* ============================================================
   页脚（实色，与头部统一）
   ============================================================ */
.site-footer { background: var(--cyan-900); color: var(--mist-300); margin-top: 40px; }
.footer-inner { padding: 52px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
}
.footer-brand { padding-right: 10px; }
.footer-site-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.footer-site-title { font-size: .9rem; color: var(--sand-300); margin-bottom: 12px; }
.footer-tagline { font-size: .86rem; color: var(--mist-500); }
.footer-heading { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-list li { margin-bottom: 9px; font-size: .88rem; }
.footer-list a { color: var(--mist-300); }
.footer-list a:hover { color: var(--sand-400); }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a {
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.footer-social a:hover { background: rgba(255,255,255,.1); color: var(--sand-300); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: .82rem;
  color: var(--mist-500);
}

/* ============================================================
   空状态 & Toast
   ============================================================ */
.empty-state { text-align: center; padding: 70px 20px; color: var(--text-muted); }
.empty-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-text { font-size: 1rem; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%) translateY(20px);
  background: var(--cyan-800);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: .9rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 1500;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   滚动显现动画
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-wrap { flex-direction: column; }
  .detail-cover { width: 200px; }
  .hero-slider { height: 380px; }
  .hero-content { padding: 30px 36px; }
  .hero-title { font-size: 1.8rem; }
}

@media (max-width: 760px) {
  .header-inner { height: 60px; }
  /* 汉堡菜单：导航与搜索折叠为移动抽屉 */
  .nav-toggle { display: flex; margin-left: auto; }
  .main-nav {
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--cyan-800);
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 10px 22px 18px;
    display: none;
    box-shadow: 0 18px 30px rgba(20,48,58,.35);
  }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { display: block; padding: 12px 16px; border-radius: 10px; }
  .search-form {
    margin-left: 0;
    width: 100%;
    margin-top: 12px;
  }
  .search-input { width: 100%; }

  .hero-slider { height: 460px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(20,48,58,.55) 0%, rgba(20,48,58,.92) 100%); }
  .hero-content { justify-content: flex-end; padding: 30px 24px 70px; max-width: 100%; }
  .hero-title { font-size: 1.6rem; }
  .hero-desc { -webkit-line-clamp: 2; }

  .section { padding: 32px 0; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .app-cta { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .rank-item { gap: 12px; padding: 10px 12px; }
  .rank-cover { width: 48px; height: 64px; }
  .detail-hero { padding: 30px 0; }
  .detail-cover { width: 160px; }
}

@media (max-width: 400px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 减弱动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
