/* GunmuTV · v3 editorial glass */
:root {
  color-scheme: dark;
  --bg: #05060a;
  --text: #f4f6fa;
  --dim: #98a2b3;
  --faint: #6b7484;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --glass: rgba(255, 255, 255, .055);
  --accent: #ff6b9a;
  --accent-2: #7ce7d0;
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, .8);
  --ease: cubic-bezier(.22, .9, .3, 1);
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5f9;
  --text: #0d1017;
  --dim: #5a6474;
  --faint: #8a93a3;
  --line: rgba(13, 16, 23, .09);
  --line-strong: rgba(13, 16, 23, .16);
  --glass: rgba(255, 255, 255, .62);
  --accent: #e04b7c;
  --accent-2: #0f9c86;
  --shadow: 0 24px 50px -22px rgba(18, 30, 60, .45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: transparent;
  color: var(--text);
  font: 14px/1.65 -apple-system, "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
code { background: rgba(255, 255, 255, .1); padding: 1px 6px; border-radius: 6px; font-size: 12px; }
::selection { background: rgba(255, 107, 154, .35); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border-radius: 99px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- 环境光 + 颗粒 ---------- */
.aurora {
  position: fixed; inset: -10%; z-index: -2;
  filter: blur(64px) saturate(150%);
  pointer-events: none;
}
.aurora i {
  position: absolute; display: block; border-radius: 50%;
  opacity: .5; animation: drift 26s var(--ease) infinite alternate;
}
.aurora i:nth-child(1) { width: 52vw; height: 52vw; left: -12vw; top: -16vh;
  background: radial-gradient(circle at 40% 40%, rgba(65, 224, 192, .7), transparent 62%); }
.aurora i:nth-child(2) { width: 56vw; height: 56vw; right: -18vw; top: -4vh;
  background: radial-gradient(circle at 55% 45%, rgba(124, 92, 255, .6), transparent 62%); animation-delay: -8s; }
.aurora i:nth-child(3) { width: 48vw; height: 48vw; left: 14vw; bottom: -22vh;
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 154, .5), transparent 64%); animation-delay: -16s; }
.aurora i:nth-child(4) { width: 42vw; height: 42vw; right: 2vw; bottom: -14vh;
  background: radial-gradient(circle at 50% 50%, rgba(46, 123, 255, .45), transparent 64%); animation-delay: -22s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(3vw, -2vh, 0) scale(1.1); }
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 99; pointer-events: none;
  opacity: .028; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.wrap { width: min(1320px, 100% - 40px); margin: 0 auto; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 14px; z-index: 60;
  width: min(1320px, 100% - 40px); margin: 14px auto 0;
  border-radius: 18px;
  background: rgba(10, 12, 18, .62);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
}
html[data-theme="light"] .topbar { background: rgba(255, 255, 255, .7); }
.topbar-inner { display: flex; align-items: center; gap: 18px; height: 56px; padding: 0 16px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.logo {
  width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(145deg, #ff9dbd, var(--accent));
  color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 6px 16px -4px rgba(255, 107, 154, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: -.02em; }
.nav { display: flex; gap: 2px; flex: none; }
.nav a {
  color: var(--dim); font-size: 13px; padding: 7px 11px; border-radius: 10px;
  transition: color .25s, background .25s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav a.on { color: var(--text); background: rgba(255, 255, 255, .09); }
.search { flex: 1 1 auto; min-width: 0; max-width: 380px; display: flex; gap: 8px; }
.search input {
  flex: 1 1 auto; min-width: 0; height: 36px; padding: 0 13px; border-radius: 11px;
  color: var(--text); outline: none; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.search input::placeholder { color: var(--faint); }
.search input:focus {
  border-color: rgba(255, 107, 154, .5);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 0 4px rgba(255, 107, 154, .1);
}
.search button {
  width: 36px; height: 36px; border-radius: 11px; cursor: pointer; color: var(--dim);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  transition: color .25s, border-color .25s;
}
.search button:hover { color: var(--text); border-color: var(--line-strong); }
.actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 11px; color: var(--dim); cursor: pointer;
  border: 1px solid var(--line); background: transparent;
  transition: color .25s, border-color .25s;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); }
.upload {
  height: 34px; padding: 0 15px; border-radius: 11px; cursor: pointer; border: 0;
  background: linear-gradient(145deg, #ff8db3, var(--accent));
  color: #fff; font-weight: 650; font-size: 13px;
  box-shadow: 0 8px 20px -8px rgba(255, 107, 154, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #ffe0b0, #ffb0c8); color: #7c2e4c;
  font-weight: 700; font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; margin-top: 26px; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 30%),
              rgba(255, 107, 154, .22), transparent 70%);
  transition: background .2s linear;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 40px; padding: 54px 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.hero-title {
  margin: 18px 0 14px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04;
  letter-spacing: -.045em; font-weight: 750;
  background: linear-gradient(180deg, #fff 20%, rgba(255, 255, 255, .62));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-theme="light"] .hero-title {
  background: linear-gradient(180deg, #0d1017 20%, rgba(13, 16, 23, .55));
  -webkit-background-clip: text; background-clip: text;
}
.hero-sub { margin: 0 0 28px; color: var(--dim); font-size: 14.5px; max-width: 34ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; font-size: 13.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.btn.solid {
  background: linear-gradient(145deg, #ff8db3, var(--accent)); color: #fff;
  box-shadow: 0 12px 28px -12px rgba(255, 107, 154, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn.ghost { background: rgba(255, 255, 255, .05); border-color: var(--line-strong); color: var(--text); }
.btn:hover { transform: translateY(-1px); }
.hero-meta { margin-top: 26px; display: flex; gap: 18px; font-size: 12px; color: var(--faint); }
.hero-meta span { display: flex; align-items: center; gap: 6px; }
.hero-meta b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-art { position: relative; }
.art-card {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
  transform: rotate(-1.2deg);
  transition: transform .5s var(--ease);
}
.art-card:hover { transform: rotate(0deg) translateY(-4px); }
.art-card img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.art-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 30%, rgba(0, 0, 0, .45));
}
.art-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 18px; padding-left: 3px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7);
}
.art-badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  padding: 6px 12px; border-radius: 9px; font-size: 11.5px; color: #fff;
  background: rgba(10, 12, 18, .5); border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* ---------- 区块标题 ---------- */
.row-head { display: flex; align-items: baseline; gap: 12px; margin: 46px 0 16px; }
.row-head h2 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.row-head .count { color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.row-head a { margin-left: auto; color: var(--dim); font-size: 12.5px; transition: color .25s; }
.row-head a:hover { color: var(--text); }

/* ---------- 横向精选 ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 300px;
  gap: 16px; overflow-x: auto; padding: 4px 4px 14px;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.rail-card { scroll-snap-align: start; cursor: pointer; }
.rail-card .thumb { aspect-ratio: 16/9; border-radius: 16px; }
.rail-card h3 {
  margin: 10px 0 3px; font-size: 13.5px; font-weight: 600; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.rail-card p { margin: 0; font-size: 12px; color: var(--faint); }

/* ---------- 分类 ---------- */
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; }
.cat {
  flex: none; padding: 8px 16px; border-radius: 99px; cursor: pointer;
  font-size: 13px; color: var(--dim);
  border: 1px solid var(--line); background: transparent;
  transition: color .25s, background .25s, border-color .25s;
}
.cat:hover { color: var(--text); border-color: var(--line-strong); }
.cat.on {
  color: #fff; background: linear-gradient(145deg, #ff8db3, var(--accent));
  border-color: transparent;
  box-shadow: 0 10px 24px -12px rgba(255, 107, 154, .9);
}

/* ---------- 布局 ---------- */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 34px; margin-top: 8px; }
.grid { display: grid; gap: 26px 18px; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }

/* ---------- 卡片 ---------- */
.card { cursor: pointer; }
.thumb {
  position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .3s;
}
.card:hover .thumb {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .95);
}
.thumb .cover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .6s var(--ease), filter .45s;
}
.card:hover .thumb .cover { transform: scale(1.04); filter: saturate(115%); }
.thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .06), transparent 40%, rgba(0, 0, 0, .55));
}
.thumb .glyph { font-size: 44px; opacity: .85; }
.dur {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  padding: 2px 7px; border-radius: 6px; font-size: 11px; color: #fff;
  background: rgba(0, 0, 0, .62); font-variant-numeric: tabular-nums;
  border: 1px solid rgba(255, 255, 255, .12);
}
.badge {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  padding: 3px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 600;
  color: #fff; background: rgba(10, 12, 18, .55);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.card-body { padding: 11px 2px 0; }
.card-title {
  margin: 0; font-size: 13.5px; line-height: 1.5; font-weight: 600; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .25s;
}
.card:hover .card-title { color: #fff; }
html[data-theme="light"] .card:hover .card-title { color: #000; }
.card-sub { margin-top: 6px; font-size: 11.5px; color: var(--faint); display: flex; gap: 7px; align-items: center; }
.card-sub i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.empty { color: var(--dim); padding: 48px 0; text-align: center; }

/* ---------- 侧栏 ---------- */
.side-title {
  font-size: 11.5px; margin: 0 0 14px; color: var(--faint);
  font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rank li {
  display: flex; gap: 14px; align-items: baseline;
  padding: 11px 2px; cursor: pointer;
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.rank li:last-child { border-bottom: 0; }
.rank li:hover { background: rgba(255, 255, 255, .03); }
.rank b {
  flex: none; width: 18px; color: var(--faint); font-size: 12px;
  font-variant-numeric: tabular-nums; font-weight: 500;
}
.rank li:nth-child(-n+3) b { color: var(--accent); }
.rank span { font-size: 12.5px; line-height: 1.5; }
.rank small { display: block; color: var(--faint); font-size: 11px; margin-top: 3px; }
.side-card {
  margin-top: 26px; padding: 18px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--glass);
}
.side-card h3 { margin: 0 0 8px; font-size: 12.5px; letter-spacing: -.01em; }
.side-card p { margin: 0; font-size: 12px; color: var(--faint); line-height: 1.75; }

/* ---------- 播放页 ---------- */
.watch { display: grid; grid-template-columns: 1fr 330px; gap: 34px; margin-top: 26px; }
.player {
  position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden;
  background: #000; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.player video { width: 100%; height: 100%; display: block; }
.player-fallback[hidden] { display: none; }
.player-fallback {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  gap: 6px; color: #d9dde6;
  background: linear-gradient(135deg, rgba(30, 34, 46, .96), rgba(12, 15, 22, .98));
}
.player-fallback .big { font-size: 54px; opacity: .85; }
.player-fallback p { margin: 8px 0 0; font-size: 14px; }
.player-fallback small { color: var(--faint); }

.v-title { font-size: 20px; line-height: 1.45; margin: 20px 0 10px; font-weight: 650; letter-spacing: -.025em; }
.v-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 12.5px; }
.v-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 7px 14px; border-radius: 10px; cursor: pointer; color: var(--dim); font-size: 12.5px;
  border: 1px solid var(--line); background: transparent;
  transition: color .25s, border-color .25s, background .25s;
}
.pill:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255, 255, 255, .04); }
.up-card {
  display: flex; align-items: center; gap: 14px; margin: 22px 0;
  padding: 16px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--glass);
}
.avatar.big { width: 42px; height: 42px; font-size: 14px; }
.up-info { display: grid; }
.up-info small { color: var(--faint); font-size: 12px; margin-top: 2px; }
.btn.small {
  padding: 8px 16px; font-size: 12.5px; border-radius: 10px; border: 0; cursor: pointer;
  background: linear-gradient(145deg, #ff8db3, var(--accent)); color: #fff; font-weight: 600;
  box-shadow: 0 10px 22px -12px rgba(255, 107, 154, .9), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.up-card .btn.small { margin-left: auto; }
.desc {
  padding: 18px; border-radius: 16px; font-size: 13px; color: var(--dim); line-height: 1.85;
  border: 1px solid var(--line); background: var(--glass);
}
.comments { margin: 40px 0 0; }
.comments h2 { font-size: 15px; margin: 0 0 16px; letter-spacing: -.02em; }
.dim { color: var(--faint); font-weight: 400; }
.comment-form { display: flex; gap: 10px; }
.comment-form input {
  flex: 1; height: 42px; padding: 0 14px; border-radius: 11px; color: var(--text); outline: none;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  transition: border-color .25s, box-shadow .25s;
}
.comment-form input::placeholder { color: var(--faint); }
.comment-form input:focus { border-color: rgba(255, 107, 154, .5); box-shadow: 0 0 0 4px rgba(255, 107, 154, .1); }
.clist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 18px; }
.clist li { display: flex; gap: 12px; }
.clist .avatar { width: 32px; height: 32px; font-size: 12px; flex: none; }
.clist .body { font-size: 13px; }
.clist .who { color: var(--faint); font-size: 11.5px; margin-bottom: 3px; }

.recs { display: grid; gap: 16px; }
.rec { display: grid; grid-template-columns: 128px 1fr; gap: 12px; cursor: pointer; }
.rec .thumb { border-radius: 11px; }
.rec .thumb .glyph { font-size: 24px; }
.rec h4 {
  margin: 0 0 4px; font-size: 12.5px; font-weight: 600; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .25s;
}
.rec:hover h4 { color: var(--accent); }
.rec small { color: var(--faint); font-size: 11px; }

.foot {
  text-align: center; color: var(--faint); font-size: 12px;
  padding: 60px 0 40px; border-top: 1px solid var(--line); margin-top: 60px;
}

/* ---------- 动画 ---------- */
.card, .rail-card {
  opacity: 0; transform: translateY(16px);
  transition: opacity .62s var(--ease), transform .62s var(--ease);
  will-change: opacity, transform;
}
.card.in, .rail-card.in { opacity: 1; transform: none; }

/* 按压反馈 */
.card:active .thumb, .rail-card:active .thumb { transform: scale(.982); transition-duration: .12s; }

/* 跨页过渡（Chrome 126+） */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .26s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .34s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.996); } }
@keyframes vt-in { from { opacity: 0; transform: scale(1.004); } }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; gap: 26px; }
  .side { display: none; }
  .watch { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; padding: 40px 32px; gap: 28px; }
  .hero-art { max-width: 480px; }
}
@media (max-width: 760px) {
  .wrap, .topbar { width: calc(100% - 24px); }
  .nav, .brand-name, .upload, .topbar .avatar { display: none; }
  .search { max-width: none; }
  .actions { gap: 6px; }
  .aurora { filter: blur(38px) saturate(140%); }
  .aurora i { animation: none; }
  .hero { border-radius: 20px; }
  .hero-inner { padding: 30px 22px; }
  .hero-title { font-size: 32px; }
  .hero-meta { flex-wrap: wrap; gap: 12px; }
  .row-head { margin: 34px 0 14px; }
  .rail { grid-auto-columns: 250px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 20px 12px; }
  .card-title { font-size: 12.5px; }
  .v-actions { width: 100%; margin-left: 0; }
  .foot { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar, .hero { background: rgba(12, 14, 20, .94); }
}

/* ---------- Apple 式 Hero ---------- */
.hero-apple {
  position: relative; overflow: hidden; margin-top: 22px;
  border-radius: 32px; border: 1px solid var(--line);
  background: radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,.08), rgba(255,255,255,.012) 58%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 50px 100px -60px rgba(0,0,0,1);
}
.wordwall {
  position: absolute; inset: -6% -40%; display: flex; flex-direction: column;
  justify-content: center; gap: .8vw; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 74%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 74%, transparent 100%);
}
.wrow {
  display: flex; white-space: nowrap; width: max-content;
  animation: slide var(--dur, 60s) linear infinite;
  animation-direction: var(--dir, normal);
}
.wrow span {
  font-size: clamp(44px, 7.2vw, 108px); font-weight: 800; letter-spacing: -.05em;
  padding-right: .32em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.16);
}
html[data-theme="light"] .wrow span { -webkit-text-stroke-color: rgba(13,16,23,.12); }
@keyframes slide { to { transform: translateX(-50%); } }

.hero-center { position: relative; z-index: 2; text-align: center; padding: 104px 26px 0; }
.hero-center .eyebrow { justify-content: center; letter-spacing: .3em; font-size: 11px; }
.hero-headline {
  margin: 16px 0 0; font-size: clamp(48px, 8.4vw, 108px); line-height: .96;
  letter-spacing: -.055em; font-weight: 780;
  background: linear-gradient(180deg, #fff 34%, rgba(255,255,255,.46));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-theme="light"] .hero-headline {
  background: linear-gradient(180deg, #0d1017 34%, rgba(13,16,23,.45));
  -webkit-background-clip: text; background-clip: text;
}
.hero-lede { margin: 22px auto 0; max-width: 30em; color: var(--dim); font-size: 16px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-cta .btn { padding: 12px 24px; font-size: 14px; }

.hero-shot { position: relative; z-index: 2; max-width: 900px; margin: 60px auto 0; padding: 0 26px; }
.shot-card {
  position: relative; border-radius: 22px 22px 0 0; overflow: hidden;
  border: 1px solid rgba(255,255,255,.16); border-bottom: 0;
  box-shadow: 0 -24px 70px -34px rgba(0,0,0,.95);
  transition: transform .6s var(--ease);
}
.shot-card:hover { transform: translateY(-4px); }
.shot-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.shot-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(0,0,0,.5));
}
#list { scroll-margin-top: 96px; }

@media (max-width: 760px) {
  .hero-apple { border-radius: 22px; }
  .hero-center { padding: 64px 18px 0; }
  .hero-headline { font-size: clamp(40px, 15vw, 64px); }
  .hero-lede { font-size: 13.5px; margin-top: 16px; }
  .hero-cta { margin-top: 24px; }
  .hero-shot { margin-top: 38px; padding: 0 14px; }
  .wrow span { font-size: 44px; }
  .wordwall { gap: 1.4vw; }
}
/* ---------- Hero 微调 ---------- */
.wordwall { opacity: .8; }
.wrow span { -webkit-text-stroke: 1px rgba(255, 255, 255, .13); }
.hero-center::before {
  content: ""; position: absolute; left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  width: min(780px, 94%); height: 380px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(5, 6, 10, .92), rgba(5, 6, 10, .55) 56%, transparent 100%);
}
html[data-theme="light"] .hero-center::before {
  background: radial-gradient(closest-side, rgba(243, 245, 249, .94), rgba(243, 245, 249, .6) 56%, transparent 100%);
}
.hero-shot { max-width: 840px; margin-top: 48px; }
.shot-card img { aspect-ratio: 21 / 9; }

@media (max-width: 760px) {
  .shot-card img { aspect-ratio: 16 / 10; }
  .hero-center::before { height: 300px; }
}
/* 字墙边缘柔化 */
.wordwall {
  inset: 0 -40%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 70%, transparent 100%);
}
/* ---------- 进站动画（Apple 式分层次序） ---------- */
@keyframes enter-up {
  from { opacity: 0; transform: translateY(22px); filter: blur(8px); }
  60%  { filter: blur(0); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes bar-down {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px) scale(.994); }
  to   { opacity: 1; transform: none; }
}
@keyframes soft-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shot-in {
  from { opacity: 0; transform: translateY(34px) scale(.975); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: none; }
}

.topbar { animation: bar-down .8s var(--ease) .05s both; }
.hero-apple { animation: panel-in 1.1s var(--ease) .12s both; }
.wordwall { animation: soft-in 1.8s var(--ease) .25s both; }

.hero-center > * { animation: enter-up .95s var(--ease) both; }
.hero-center > *:nth-child(1) { animation-delay: .26s; }
.hero-center > *:nth-child(2) { animation-delay: .36s; }
.hero-center > *:nth-child(3) { animation-delay: .46s; }
.hero-center > *:nth-child(4) { animation-delay: .56s; }

.hero-shot { animation: shot-in 1.05s var(--ease) .62s both; }

/* 播放页同样分层进入 */
.watch .player { animation: shot-in 1s var(--ease) .1s both; }
.v-title, .v-meta { animation: enter-up .9s var(--ease) both; }
.v-title { animation-delay: .3s; }
.v-meta { animation-delay: .4s; }
.up-card, .desc { animation: enter-up .9s var(--ease) both; }
.up-card { animation-delay: .48s; }
.desc { animation-delay: .56s; }
/* 标题变长后的自适应 */
.hero-headline { font-size: clamp(44px, 7.6vw, 96px); }
@media (max-width: 760px) {
  .hero-headline { font-size: clamp(34px, 12.4vw, 56px); white-space: nowrap; }
}
/* ---------- 内嵌游戏弹层 ---------- */
.game-modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(4, 5, 9, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.game-modal.on { display: block; animation: modal-in .28s var(--ease) both; }
@keyframes modal-in { from { opacity: 0; transform: scale(.995); } to { opacity: 1; transform: none; } }
.game-modal iframe { width: 100%; height: 100%; border: 0; display: block; background: #05060a; }
.game-close {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  padding: 9px 16px; border-radius: 11px; cursor: pointer;
  font-size: 12.5px; font-weight: 600; color: #eaf0ff;
  background: rgba(10, 12, 18, .8); border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 10px 26px -14px #000;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.game-close:hover { background: rgba(255, 107, 154, .25); border-color: rgba(255, 107, 154, .55); }
body.locked { overflow: hidden; }