/* =============================================================
   天湖啤酒 · 建厂四十七周年品牌故事展播
   设计基线：移动优先（重点美化 320–430px 手机）/ 9:16 竖屏
   / 蓝红双主色 / 8px 间距 / WCAG 2.2 AA / 零外部依赖
   ============================================================= */

/* ---------- 1. 设计 Token ---------- */
:root {
  --blue-900: #071F4A;
  --blue-800: #0A2A5E;
  --blue-700: #123F8F;
  --blue-600: #1B56C4;
  --blue-500: #2F6BE6;
  --blue-100: #E8F0FF;
  --red-700: #B3122B;
  --red-600: #D81E2C;
  --red-500: #EF3B45;
  --red-100: #FFECEE;
  --gold: #E9BC63;                 /* 周年徽章点缀，极少量使用 */
  --ink: #101828;
  --ink-2: #475467;
  --ink-3: #5A6B88;
  --line: #E3EAF5;
  --surface: #FFFFFF;
  --canvas: #F5F8FE;
  --card: #FFFFFF;
  --header-bg: rgba(255, 255, 255, .9);
  --focus: #D81E2C;
  --shadow-sm: 0 2px 10px rgba(10, 42, 94, .07);
  --shadow-md: 0 14px 34px rgba(10, 42, 94, .16);
  --shadow-lg: 0 28px 70px rgba(3, 12, 32, .55);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px;
  --s6: 48px; --s8: 64px; --s12: 96px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}
[data-theme="dark"] {
  --ink: #F2F6FF; --ink-2: #AFC2E3; --ink-3: #8FA6CD;
  --line: #22375E; --surface: #0C1934; --canvas: #071127; --card: #102040;
  --blue-100: #16294A; --red-100: #3A1626;
  --header-bg: rgba(12, 25, 52, .9);
  --focus: #FF8089;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .3);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, .42);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
h1, h2, h3, p, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; -webkit-tap-highlight-color: transparent; }
img, video, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wrap { width: calc(100% - 32px); margin-inline: auto; max-width: var(--wrap); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 999; padding: 10px 18px; background: var(--blue-800); color: #fff; border-radius: 8px; font-size: 14px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- 3. 顶栏（手机优先） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 8px; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: var(--blue-800); white-space: nowrap; }
[data-theme="dark"] .brand { color: #EAF1FF; }
.brand-mark { display: inline-flex; gap: 3px; height: 18px; align-items: flex-end; }
.brand-mark i { display: block; width: 5px; border-radius: 2px; }
.brand-mark i:first-child { height: 18px; background: var(--blue-600); }
.brand-mark i:last-child { height: 12px; background: var(--red-600); }
.brand-badge {
  padding: 3px 8px; font-size: 10px; font-weight: 800; letter-spacing: .04em;
  color: var(--red-600); background: var(--red-100);
  border: 1px solid rgba(216, 30, 44, .25); border-radius: 999px; white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link { padding: 8px 9px; font-size: 13px; font-weight: 600; color: var(--ink-2); border-radius: 8px; }
.nav-link:hover { color: var(--blue-600); background: var(--blue-100); }
.theme-toggle {
  display: grid; place-items: center; width: 36px; height: 36px; margin-left: 2px;
  color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .2s, color .2s, transform .2s;
}
.theme-toggle:hover { border-color: var(--blue-600); color: var(--blue-600); }
.theme-toggle:active { transform: scale(.92); }
.theme-label { display: none; }
.ico-sun { display: none; }
[data-theme="dark"] .ico-moon { display: none; }
[data-theme="dark"] .ico-sun { display: block; }

/* ---------- 4. 主视觉：固定深蓝品牌专区块 ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: #fff;
  background: radial-gradient(1000px 520px at 88% -8%, rgba(47, 107, 230, .55), transparent 62%),
              radial-gradient(620px 420px at -12% 108%, rgba(216, 30, 44, .42), transparent 65%),
              linear-gradient(158deg, #061738 0%, #0A2A5E 48%, #123F8F 100%);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 0;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .22;
  background-image: linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px),
                     linear-gradient(0deg, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 35%, transparent);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(56px); pointer-events: none; z-index: -1; }
.hero-glow-blue { width: 300px; height: 300px; top: -150px; right: -110px; background: #2F6BE6; opacity: .5; }
.hero-glow-red { width: 260px; height: 260px; bottom: -140px; left: -110px; background: #D81E2C; opacity: .38; }

/* 巨型 47 周年水印 */
.hero-seal {
  position: absolute; right: -18px; top: 26px; z-index: -1;
  display: flex; flex-direction: column; align-items: center; pointer-events: none;
  opacity: .2; transform: rotate(-8deg);
}
.seal-num {
  font-size: clamp(8rem, 34vw, 15rem); font-weight: 800; line-height: .82; letter-spacing: -.09em;
  color: transparent; -webkit-text-stroke: 2px #fff;
}
.seal-label { margin-top: 6px; font-size: 12px; font-weight: 800; letter-spacing: .4em; color: #fff; }
.seal-line { width: 46px; height: 3px; margin-top: 6px; background: var(--red-500); border-radius: 2px; }
.seal-sub { margin-top: 6px; font-size: 9px; font-weight: 700; letter-spacing: .3em; color: rgba(255,255,255,.8); }

.hero-inner { position: relative; padding-bottom: 40px; }
.kicker, .eyebrow { display: inline-block; margin-bottom: 14px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red-600); }
.hero .kicker {
  padding: 6px 12px; color: #fff; letter-spacing: .08em;
  background: rgba(216, 30, 44, .9); border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  box-shadow: 0 6px 18px rgba(216, 30, 44, .3);
}
.hero-title {
  max-width: 12em; font-size: clamp(2.1rem, 9vw, 3rem); line-height: 1.24;
  font-weight: 800; letter-spacing: -.02em; white-space: pre-line; color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .22);
}
.hero-title::after {
  content: ""; display: block; width: 62px; height: 5px; margin-top: 20px; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-500) 52%, var(--red-500) 52%);
}
.hero-desc { max-width: 34em; margin-top: 18px; font-size: 14px; line-height: 1.8; color: #C9DAF7; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; font-size: 15px; font-weight: 700; border-radius: 12px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--red-600); color: #fff; box-shadow: 0 10px 24px rgba(216, 30, 44, .3); }
.btn-primary:hover { background: var(--red-700); box-shadow: 0 14px 30px rgba(216, 30, 44, .38); }
.btn-primary:disabled { opacity: .38; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.08); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.16); }
.btn-outline { color: var(--ink); border: 1px solid var(--line); background: transparent; }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn-outline:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

.hero-stats { display: flex; gap: 22px; margin-top: 36px; }
.hero-stats > div { display: flex; flex-direction: column; min-width: 0; }
.hero-stats dt { order: 2; font-size: 11px; font-weight: 600; color: #A9C4EF; white-space: nowrap; }
.hero-stats dd { order: 1; font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stats > div:nth-child(2) dd { color: #FF9BA3; }
.hero-ribbon { display: flex; height: 5px; }
.hero-ribbon span { flex: 1; }
.hero-ribbon span:nth-child(1) { background: var(--blue-900); }
.hero-ribbon span:nth-child(2) { background: var(--blue-700); }
.hero-ribbon span:nth-child(3) { background: var(--blue-500); }
.hero-ribbon span:nth-child(4) { background: var(--red-500); }
.hero-ribbon span:nth-child(5) { background: var(--red-600); }
.hero-ribbon span:nth-child(6) { background: var(--red-700); }

/* ---------- 5. 通用区块（手机优先） ---------- */
.section { padding: 48px 0; }
.section-head { position: relative; margin-bottom: 24px; padding-left: 14px; }
.section-head::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 3px; background: linear-gradient(180deg, var(--blue-600), var(--red-600)); }
.section-head .eyebrow { margin-bottom: 6px; }
.section-title { font-size: clamp(1.4rem, 6vw, 2rem); font-weight: 800; letter-spacing: -.01em; color: var(--blue-800); }
[data-theme="dark"] .section-title { color: #EAF1FF; }
.section-desc { max-width: 42em; margin-top: 8px; font-size: 13px; line-height: 1.75; color: var(--ink-2); }

/* ---------- 6. 六集竖屏海报墙（本次重点） ---------- */
.poster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.poster-card {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: 14px; background: linear-gradient(155deg, var(--c1, #0A2A5E), var(--c2, #D81E2C));
  box-shadow: var(--shadow-sm);
  animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.poster-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.poster-card:active { transform: scale(.975); }
.poster-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.poster-btn { position: absolute; inset: 0; display: block; width: 100%; height: 100%; text-align: left; border-radius: 14px; }
/* 无海报时的渐变占位 */
.poster-fallback { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.poster-fallback::before {
  content: ""; position: absolute; width: 160%; height: 60%; top: 12%; left: -30%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.16), transparent); transform: rotate(-18deg);
}
.poster-fallback::after {
  content: ""; position: absolute; top: 15%; left: 15%; width: 70%; aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.22); border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255,255,255,.045), 0 0 0 40px rgba(255,255,255,.03);
}
.poster-fallback b { position: relative; font-size: clamp(3.5rem, 15vw, 6rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; color: rgba(255,255,255,.88); }
.poster-fallback em { position: absolute; bottom: 31%; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .18em; color: rgba(255,255,255,.7); white-space: nowrap; }
.poster-fallback i { position: absolute; right: 8px; top: 8px; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .1em; color: rgba(255,255,255,.55); }
.poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.poster-card:hover .poster-img { transform: scale(1.05); }
.poster-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,14,36,.42) 0%, rgba(4,14,36,0) 28%, rgba(4,14,36,.06) 48%, rgba(4,14,36,.72) 74%, rgba(3,11,28,.95) 100%);
}
.poster-top { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ep-tag { padding: 3px 7px; font-size: 10px; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--red-600); border-radius: 5px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.ep-no { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: rgba(255,255,255,.9); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.poster-bottom { position: absolute; left: 12px; right: 58px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; color: #fff; }
.poster-title { font-size: clamp(17px, 5vw, 21px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.poster-sub { font-size: 11px; line-height: 1.4; color: rgba(255,255,255,.86); text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.poster-play {
  position: absolute; right: 11px; bottom: 13px; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%; color: #fff;
  background: var(--red-600); border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 6px 16px rgba(0,0,0,.32);
  transition: transform .2s var(--ease), background-color .2s;
}
.poster-card:hover .poster-play { transform: scale(1.08); background: var(--red-700); }
.poster-btn:active .poster-play { transform: scale(.92); }
.poster-watched {
  position: absolute; left: 10px; bottom: 12px; padding: 2px 7px;
  font-size: 9px; font-weight: 800; letter-spacing: .04em; color: #fff;
  background: rgba(11, 42, 94, .78); border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
}
.poster-card.watched .poster-bottom { bottom: 34px; }
/* 自有海报已含完整主标题：减轻遮罩、隐藏文字叠层与角标，让海报完整呈现 */
.poster-minimal .poster-shade {
  background: linear-gradient(180deg, rgba(4,14,36,.08) 0%, transparent 22%, transparent 80%, rgba(4,14,36,.18) 100%);
}
.poster-minimal .poster-watched { display: none; }
.poster-minimal .poster-play { background: rgba(216, 30, 44, .94); }
.grid-note { margin-top: 16px; font-size: 12px; line-height: 1.7; color: var(--ink-3); }

/* ---------- 7. 关于 ---------- */
.section-about { background: var(--surface); border-block: 1px solid var(--line); }
.about-inner { display: grid; gap: 28px; grid-template-columns: 1fr; }
.about-body { max-width: 44em; margin-top: 12px; font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.about-points { display: grid; gap: 10px; }
.about-points li {
  position: relative; padding: 12px 16px 12px 34px; font-size: 13px; line-height: 1.7; color: var(--ink-2);
  background: var(--canvas); border: 1px solid var(--line); border-radius: 12px;
}
.about-points li::before { content: ""; position: absolute; left: 16px; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: var(--red-600); }

/* ---------- 8. 页脚 ---------- */
.site-footer { padding: 26px 0; background: var(--blue-900); color: #C8D8F5; font-size: 12px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.footer-brand { font-weight: 800; color: #fff; }
.back-top { margin-left: auto; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }

/* ---------- 9. 移动端底部粘性条（手机专属） ---------- */
.mobile-bar { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--header-bg);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 26px rgba(6, 23, 56, .12);
    animation: barIn .3s var(--ease);
  }
  @keyframes barIn { from { transform: translateY(100%); } to { transform: none; } }
  .mobile-bar-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.4; }
  .mobile-bar-copy strong { font-size: 13px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-bar-copy span { font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-bar .btn { flex: none; min-height: 44px; padding: 0 16px; font-size: 13px; border-radius: 10px; }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
}

/* ---------- 10. 全屏竖屏播放器（手机优先） ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 0; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 10, 26, .94); }
.modal-panel {
  --surface: #0B1730; --card: #122244; --ink: #F2F6FF; --ink-2: #AFC2E3;
  --ink-3: #8FA6CD; --line: #22375E; --blue-100: #16294A; --focus: #FF8089;
  position: relative; width: 100%; height: 100dvh; display: flex; flex-direction: column;
  background: #081329; color: var(--ink); overflow: hidden;
  animation: pop .26s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.player-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex: none; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.player-heading .eyebrow { margin-bottom: 2px; color: #FF8089; font-size: 10px; }
.player-heading h2 { font-size: 16px; font-weight: 800; line-height: 1.3; }
.icon-btn { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; color: var(--ink-2); border: 1px solid var(--line); transition: background-color .2s, color .2s, transform .2s; }
.icon-btn:hover { background: var(--red-600); color: #fff; border-color: var(--red-600); transform: rotate(90deg); }

.player-main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.player-stage { position: relative; flex: 1; min-height: 0; background: #040B1C; overflow: hidden; }
.stage-bg {
  position: absolute; inset: -12%; pointer-events: none;
  background-size: cover; background-position: center;
  filter: blur(46px) saturate(1.5); opacity: .3; transform: scale(1.05);
}
.player-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.video-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 22px; text-align: center;
  background: radial-gradient(circle at 50% 32%, #1B3A72, #081329 72%);
}
.fallback-badge { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--red-600); color: #fff; }
.fallback-title { font-size: 18px; font-weight: 800; }
.fallback-desc { font-size: 13px; color: var(--ink-2); word-break: break-all; }
.fallback-hint { max-width: 30em; font-size: 12px; line-height: 1.7; color: var(--ink-3); }
.fallback-hint code { padding: 2px 5px; background: rgba(255,255,255,.1); border-radius: 4px; }
.fallback-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.fallback-actions .btn { text-decoration: none; }
.fallback-actions .btn-outline { color: #DCE8FF; border-color: #2B4470; }
.fallback-actions .btn-outline:hover { color: #fff; border-color: #6E9BFF; }

.player-side {
  flex: none; max-height: 38dvh; overflow-y: auto; overscroll-behavior: contain;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: #0B1730; border-top: 1px solid rgba(255,255,255,.08);
}
.side-meta { margin-bottom: 12px; }
.side-kicker { font-size: 10px; font-weight: 800; letter-spacing: .16em; color: #FF8089; }
.side-meta h3 { margin-top: 2px; font-size: 17px; font-weight: 800; }
.side-meta p { margin-top: 4px; font-size: 12px; line-height: 1.65; color: var(--ink-2); }
.player-controls { display: flex; gap: 8px; margin-bottom: 12px; }
.player-controls .btn { flex: 1; min-height: 44px; padding: 0 10px; font-size: 13px; border-radius: 10px; }
.player-controls .btn-outline { color: #DCE8FF; border-color: #2B4470; }
.playlist-wrap { min-width: 0; }
.playlist-label { margin-bottom: 8px; font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--ink-3); }
.playlist { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.playlist li { flex: none; }
.playlist button {
  display: flex; flex-direction: column; gap: 1px; min-width: 108px; padding: 8px 12px;
  text-align: left; border: 1px solid var(--line); border-left: 3px solid transparent;
  border-radius: 10px; background: var(--card); color: var(--ink-2);
  transition: transform .2s var(--ease), border-color .2s, background-color .2s;
}
.playlist button:hover { transform: translateY(-2px); border-color: var(--blue-600); }
.playlist button[aria-current="true"] { border-left-color: var(--red-600); background: var(--blue-100); color: var(--ink); }
.pl-no { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: var(--ink-3); }
.pl-title { font-size: 13px; font-weight: 700; }
.pl-state { font-size: 10px; font-weight: 700; color: #FF8089; }
.side-hint { display: none; }

/* ---------- 11. Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 300;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 40px); padding: 10px 20px; text-align: center;
  font-size: 13px; font-weight: 600; color: #fff;
  background: var(--blue-900); border-radius: 999px; box-shadow: var(--shadow-md);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =============================================================
   12. 断点增强：从手机向上扩展
   ============================================================= */
@media (min-width: 400px) {
  .wrap { width: calc(100% - 40px); }
  .hero-desc { font-size: 15px; }
}
@media (min-width: 576px) {
  .hero { padding-top: 72px; }
  .hero-title { font-size: clamp(2.4rem, 7vw, 3rem); }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { flex: none; }
  .hero-stats { gap: 40px; }
  .hero-stats dd { font-size: 28px; }
  .poster-grid { gap: 14px; }
  .poster-title { font-size: 20px; }
}
@media (min-width: 768px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { min-height: 68px; }
  .brand { font-size: 18px; }
  .brand-badge { font-size: 11px; padding: 4px 10px; }
  .nav-link { padding: 8px 14px; font-size: 14px; }
  .theme-toggle { width: auto; padding: 7px 12px; gap: 6px; display: inline-flex; align-items: center; }
  .theme-label { display: inline; font-size: 13px; font-weight: 600; }
  .hero { padding-top: 96px; }
  .hero-inner { padding-bottom: 64px; }
  .hero-title { font-size: clamp(2.6rem, 5.6vw, 3.4rem); }
  .hero-desc { font-size: 16px; }
  .hero-stats { gap: 56px; margin-top: 44px; }
  .hero-stats dd { font-size: 34px; }
  .hero-stats dt { font-size: 12px; }
  .hero-seal { right: 4%; top: 70px; opacity: .16; transform: rotate(-8deg) scale(1.2); }
  .section { padding: 80px 0; }
  .section-head { padding-left: 18px; margin-bottom: 36px; }
  .section-head::before { width: 5px; }
  .section-desc { font-size: 15px; }
  .poster-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
  .poster-card { border-radius: 16px; }
  .poster-btn { border-radius: 16px; }
  .poster-play { width: 46px; height: 46px; right: 14px; bottom: 16px; }
  .poster-bottom { left: 14px; right: 66px; bottom: 16px; }
  .about-inner { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
  .about-body { font-size: 15px; }
  .about-points li { font-size: 14px; }
  .footer-inner { font-size: 13px; }
}

/* 桌面：播放器改为左右分栏 */
@media (min-width: 900px) {
  .modal { padding: 24px; }
  .modal-panel { width: min(1120px, 100%); height: min(86vh, 820px); border-radius: 20px; border: 1px solid #1E3257; box-shadow: var(--shadow-lg); }
  .player-topbar { padding: 14px 22px; }
  .player-heading h2 { font-size: 19px; }
  .player-main { flex-direction: row; }
  .player-stage { flex: 1; height: 100%; }
  .player-side {
    width: 340px; flex: none; max-height: none; height: 100%;
    padding: 24px; border-top: 0; border-left: 1px solid rgba(255,255,255,.08);
  }
  .side-meta { margin-bottom: 24px; }
  .side-meta h3 { font-size: 22px; }
  .side-meta p { font-size: 13px; }
  .player-controls { margin-bottom: 28px; }
  .playlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; }
  .playlist button { min-width: 0; }
  .side-hint { display: block; margin-top: 24px; font-size: 11px; color: var(--ink-3); }
}

@media (min-width: 1200px) {
  .hero-seal { right: 8%; }
  .poster-grid { gap: 20px; }
}

/* ---------- 13. 无障碍：降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
