@font-face { font-family: "Source Han Sans SC"; font-weight: 400; font-display: swap; src: url("../fonts/source-han-sans-sc-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }
@font-face { font-family: "Source Han Sans SC"; font-weight: 400; font-display: swap; src: url("../fonts/source-han-sans-sc-400.woff2") format("woff2"); }
@font-face { font-family: "Source Han Sans SC"; font-weight: 500; font-display: swap; src: url("../fonts/source-han-sans-sc-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }
@font-face { font-family: "Source Han Sans SC"; font-weight: 500; font-display: swap; src: url("../fonts/source-han-sans-sc-500.woff2") format("woff2"); }
@font-face { font-family: "Source Han Sans SC"; font-weight: 700; font-display: swap; src: url("../fonts/source-han-sans-sc-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }
@font-face { font-family: "Source Han Sans SC"; font-weight: 700; font-display: swap; src: url("../fonts/source-han-sans-sc-700.woff2") format("woff2"); }

:root {
  --bg: #19181b;
  --s1: #222125;
  --s2: #2b2a2f;
  --s3: #36353b;
  --ink: #f4f2f3;
  --mid: #bdb8bb;
  --dim: #8a858c;
  --line: rgba(255, 255, 255, 0.08);
  --pink: #ec7fa0;
  --pink-ink: #2a1219;
  --pink-soft: rgba(236, 127, 160, 0.14);
  --danger: #e5534b;
  --glass: rgba(28, 27, 31, 0.72);
  --glass-hi: rgba(43, 42, 47, 0.8);
  --blur: blur(28px) saturate(160%);
  --page: 1280px;
  --pad: 16px;
  --top-h: 56px;
  --tab-h: 64px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Source Han Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; overflow-y: scroll; scrollbar-gutter: stable; background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
img, video, svg { display: block; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 700; }
.skip:focus { top: 12px; }

.app { min-height: 100dvh; transition: filter .28s var(--ease); }
.wrap { width: min(var(--page), 100%); margin: 0 auto; padding: 0 var(--pad); }
main { padding-bottom: calc(var(--tab-h) + var(--safe-bottom) + 28px); }

/* ---------- 头部 ---------- */
.top {
  position: sticky; top: 0; z-index: 40; padding-top: var(--safe-top);
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--line); transition: background .2s, border-color .2s;
}
.top.is-over { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.top.is-over::before { content: ""; position: absolute; inset: 0 0 -24px; z-index: -1; background: linear-gradient(180deg, rgba(25,24,27,.6), rgba(25,24,27,0)); pointer-events: none; }
.top-in { height: var(--top-h); display: flex; align-items: center; gap: 10px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: .04em; margin-right: auto; }
.lockup small { font-size: 14px; font-weight: 500; color: var(--dim); letter-spacing: .02em; }
.mark { width: 32px; height: 32px; }
.nav { display: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--ink); flex: none; transition: background .15s; }
.icon-btn:hover { background: rgba(255,255,255,.16); }
.icon-btn svg { width: 20px; height: 20px; }
.top .search { display: none; }
.top .login-btn { display: none; }

/* ---------- 按钮与小件 ---------- */
.btn {
  height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  transition: transform .12s, background .15s, color .15s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
.btn.glass { background: rgba(255,255,255,.14); color: var(--ink); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.btn.ghost { background: var(--s2); color: var(--ink); }
.btn.ghost:hover { background: var(--s3); }
.btn.danger { background: var(--danger); color: #fff; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.is-on { color: var(--pink); background: var(--pink-soft); }
.btn.glass.is-on { color: var(--pink); }
.btn:disabled { opacity: .45; cursor: default; }

.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); }
.pills::-webkit-scrollbar { display: none; }
.pill {
  height: 38px; padding: 0 16px; border-radius: 999px; background: var(--s2); color: var(--mid);
  font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; flex: none; white-space: nowrap; transition: background .15s, color .15s;
}
.pill:hover { color: var(--ink); }
.pill em { font-style: normal; font-size: 12px; opacity: .6; }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--bg); font-weight: 700; }
.zone-more { display: none; width: 38px; height: 38px; border-radius: 999px; flex: none; align-items: center; justify-content: center; background: var(--s2); color: var(--mid); }
.zone-more:hover { color: var(--ink); background: var(--s3); }
.zone-more svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }

.tag { height: 22px; padding: 0 7px; border-radius: 7px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; flex: none; }
.tag.solid { background: var(--ink); color: var(--bg); }
.tag.glass { background: rgba(255,255,255,.18); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tag.pink { background: var(--pink-soft); color: var(--pink); }
.tag.soft { height: 30px; padding: 0 12px; border-radius: 9px; background: var(--s2); color: var(--mid); font-size: 13px; font-weight: 500; }

.sec-t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 28px 0 12px; }
.sec-t h2 { font-size: 21px; font-weight: 700; }
.sec-t a, .sec-t span { font-size: 14px; color: var(--dim); font-weight: 500; display: inline-flex; align-items: center; gap: 2px; }
.sec-t a:hover { color: var(--ink); }
.sec-t svg { width: 14px; height: 14px; }

.switch { position: relative; width: 50px; height: 30px; border-radius: 999px; background: var(--s3); flex: none; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); transition: transform .22s var(--ease); }
.switch[aria-checked="true"] { background: var(--pink); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }

/* ---------- 首页大图 ---------- */
.hero { position: relative; margin-top: calc(-1 * (var(--top-h) + var(--safe-top) + 1px)); }
.hero-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--s1); }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,24,27,.5) 0, rgba(25,24,27,0) 32%, rgba(25,24,27,0) 55%, var(--bg) 100%); }
.hero-txt { position: relative; z-index: 2; margin-top: -54px; }
.hero-txt .wrap { display: flex; flex-direction: column; gap: 10px; }
.kicker { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-size: 13px; font-weight: 700; }
.kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.hero h1 { font-size: 36px; font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--mid); font-weight: 500; }
.hero-meta b { color: var(--pink); }
.hero-about { display: none; }
.hero-acts { display: flex; gap: 10px; margin-top: 4px; }

/* ---------- 卡片 ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ocard { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--s2); isolation: isolate; }
.ocard img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.ocard:hover img { transform: scale(1.04); }
.ocard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.74) 100%); pointer-events: none; }
.ocard .ot { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 8px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; min-width: 0; }
.ocard .ot > span { min-width: 0; }
.ocard .ot b { display: block; font-size: 15px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ocard .ot small { display: block; font-size: 12px; color: rgba(255,255,255,.72); white-space: nowrap; }
.ocard .ot em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--pink); white-space: nowrap; }
.ocard .badge { position: absolute; z-index: 2; top: 8px; left: 8px; display: flex; gap: 6px; }
.ocard .num { position: absolute; z-index: 2; top: 8px; left: 8px; width: 32px; height: 32px; border-radius: 11px; background: rgba(25,24,27,.66); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); display: grid; place-items: center; font-size: 16px; font-weight: 700; color: #fff; }
.ocard .num.top { background: var(--pink); color: var(--pink-ink); }
.ocard.has-more .more-count {
  position: absolute; z-index: 3; left: 50%; top: 42%; transform: translate(-50%, -50%);
  font-size: 34px; font-weight: 700; letter-spacing: -.03em; color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.55); pointer-events: none;
}
.ocard.has-more::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: rgba(25,24,27,.42);
}
.ocard.has-more .ot { z-index: 4; }

.shot { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--s2); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.dur { position: absolute; right: 7px; bottom: 7px; height: 20px; padding: 0 6px; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; font-weight: 500; display: flex; align-items: center; }
.prog { position: absolute; left: 8px; right: 8px; bottom: 7px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.28); overflow: hidden; }
.prog i { display: block; height: 100%; border-radius: 2px; background: var(--pink); }

.rail { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); scroll-snap-type: x mandatory; }
.rail::-webkit-scrollbar { display: none; }
.cw { width: 236px; flex: none; scroll-snap-align: start; }
.cw b { display: block; margin-top: 8px; font-size: 15px; font-weight: 700; }
.cw small { display: block; margin-top: 2px; font-size: 13px; color: var(--dim); }

.empty { margin: 24px 0 0; padding: 40px 20px; border-radius: 22px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.empty .ei { width: 56px; height: 56px; border-radius: 18px; background: var(--s3); display: grid; place-items: center; color: var(--mid); margin-bottom: 6px; }
.empty .ei svg { width: 26px; height: 26px; }
.empty strong { font-size: 17px; }
.empty span { font-size: 14px; color: var(--dim); }
.empty .btn { margin-top: 12px; }

/* ---------- 底栏 ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--tab-h) + var(--safe-bottom)); padding-bottom: var(--safe-bottom);
  display: grid; grid-template-columns: repeat(3, 1fr); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-top: 1px solid var(--line);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--dim); }
.tabbar a svg { width: 25px; height: 25px; }
.tabbar a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.tabbar a[aria-current="page"] svg { stroke-width: 2.2; }

/* ---------- 搜索 ---------- */
.search { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--s2); color: var(--dim); }
.search svg { width: 18px; height: 18px; flex: none; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 15px; color: var(--ink); }
.search input::placeholder { color: var(--dim); }
.search input::-webkit-search-cancel-button { display: none; }
.search:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.search .clear { width: 22px; height: 22px; border-radius: 50%; background: var(--s3); display: grid; place-items: center; color: var(--mid); }
.search .clear svg { width: 12px; height: 12px; }

.spanel {
  position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: calc(var(--safe-top) + 8px) 0 24px; overflow-y: auto;
  opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .28s var(--ease); pointer-events: none;
}
.spanel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.sp-row { display: flex; align-items: center; gap: 12px; padding: 0 var(--pad) 14px; }
.sp-row .search { flex: 1; height: 48px; }
.sp-row .cancel { font-size: 16px; font-weight: 500; padding: 8px 2px; }
.sp-body { padding: 0 var(--pad); }
.sp-body .sec-t { padding: 14px 0 10px; }
.sp-body .sec-t h2 { font-size: 16px; }
.sp-body .sec-t button { font-size: 13px; color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hot { border-radius: 20px; background: var(--s1); padding: 4px 0; }
.hot a { display: flex; align-items: center; gap: 14px; height: 50px; padding: 0 16px; font-size: 15px; font-weight: 500; }
.hot a:hover { background: rgba(255,255,255,.04); }
.hot b { width: 20px; text-align: center; font-size: 16px; color: var(--dim); }
.hot a.t b { color: var(--pink); }
.hot span { margin-left: auto; font-size: 13px; color: var(--dim); }
.sp-hits { display: flex; flex-direction: column; gap: 4px; }
.sp-hit { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.sp-hit .shot { width: 120px; flex: none; border-radius: 12px; }
.sp-hit b { display: block; font-size: 15px; }
.sp-hit small { font-size: 13px; color: var(--dim); }
.sp-hit mark { background: none; color: var(--pink); }
.sp-none { padding: 18px 2px; font-size: 14px; color: var(--dim); }

/* ---------- 播放 ---------- */
.player { position: relative; background: #000; overflow: hidden; color: #fff; user-select: none; -webkit-user-select: none; }
.player.starwave iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.player.starwave:fullscreen { display: block; }
.player.starwave:fullscreen iframe { height: 100%; aspect-ratio: auto; }
.player:fullscreen { width: 100%; height: 100%; border-radius: 0; display: flex; align-items: center; }
.screen { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.player:fullscreen .screen { aspect-ratio: auto; height: 100%; }
.stage-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player .shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.42) 0, transparent 24%, transparent 58%, rgba(0,0,0,.72) 100%); transition: opacity .25s; }
.big-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); display: grid; place-items: center; pointer-events: none; transition: opacity .2s, transform .2s; }
.big-play svg { width: 28px; height: 28px; margin-left: 3px; }
.player.is-playing .big-play { opacity: 0; transform: scale(.85); }
.screen-empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; color: rgba(255,255,255,.6); pointer-events: none; }
.p-top { position: absolute; z-index: 3; top: 0; left: 0; right: 0; padding: 10px 12px; display: flex; align-items: center; gap: 10px; transition: opacity .25s; }
.p-top .t { font-size: 16px; font-weight: 700; display: none; }
.player:fullscreen .p-top .t { display: block; }
.p-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.p-btn svg { width: 20px; height: 20px; }
.controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 14px 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; transition: opacity .25s; }
.player.is-idle .controls, .player.is-idle .p-top, .player.is-idle .shade { opacity: 0; }
.player.is-idle { cursor: none; }
.scrub { order: -1; flex: 1 0 100%; height: 18px; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; --pct: 0%; --buf: 0%; }
.scrub::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--pink), var(--pink)) 0 0 / var(--pct) 100% no-repeat, linear-gradient(rgba(255,255,255,.32), rgba(255,255,255,.32)) 0 0 / var(--buf) 100% no-repeat, rgba(255,255,255,.2); }
.scrub::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); }
.scrub::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--pink); }
.scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(236,127,160,.3); transition: transform .15s; }
.scrub::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(236,127,160,.3); }
.scrub:hover::-webkit-slider-thumb, .scrub:active::-webkit-slider-thumb { transform: scale(1.2); }
.scrub:disabled { cursor: default; opacity: .5; }
.ctrl { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.ctrl:hover { background: rgba(255,255,255,.12); }
.ctrl svg { width: 22px; height: 22px; }
.ctrl .icon-pause, .player.is-playing .ctrl .icon-play { display: none; }
.player.is-playing .ctrl .icon-pause { display: block; }
.time { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.9); white-space: nowrap; }
.time .sep { opacity: .5; margin: 0 4px; }
.c-space { flex: 1; }
.txt-ctrl { height: 28px; padding: 0 10px; border-radius: 8px; background: rgba(255,255,255,.14); font-size: 13px; font-weight: 700; color: #fff; }
.txt-ctrl:hover { background: rgba(255,255,255,.22); }
.vol { display: flex; align-items: center; }
.vol-bar { position: relative; width: 0; height: 32px; overflow: hidden; touch-action: none; cursor: pointer; transition: width .25s var(--ease); }
.vol:hover .vol-bar, .vol:focus-within .vol-bar, .vol.is-drag .vol-bar { width: 96px; }
.vol-bar::before { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgba(255,255,255,.25); }
.vol-fill { position: absolute; left: 10px; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: #fff; }
.vol-thumb { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.vol.is-settle .vol-fill { transition: width .18s var(--ease); }
.vol.is-settle .vol-thumb { transition: left .18s var(--ease); }
.ctrl .icon-slash { display: none; }
.ctrl[data-level="mute"] .icon-slash { display: block; }
.ctrl[data-level="mute"] .icon-wave, .ctrl[data-level="low"] .icon-wave-far { display: none; }

.speed-menu { position: absolute; z-index: 5; right: 12px; bottom: 58px; width: 168px; padding: 6px; border-radius: 18px; background: var(--glass-hi); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 20px 50px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08); }
.speed-menu h3 { font-size: 12px; font-weight: 700; color: var(--dim); padding: 8px 10px 4px; }
.speed-menu button { width: 100%; height: 40px; border-radius: 12px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; color: var(--mid); }
.speed-menu button:hover { background: rgba(255,255,255,.06); }
.speed-menu button[aria-checked="true"] { color: var(--ink); font-weight: 700; background: rgba(255,255,255,.08); }
.speed-menu button svg { width: 18px; height: 18px; color: var(--pink); visibility: hidden; }
.speed-menu button[aria-checked="true"] svg { visibility: visible; }

.upnext { position: absolute; z-index: 6; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.upnext[hidden] { display: none; }
.upnext-card { width: min(340px, calc(100% - 32px)); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.upnext-card small { font-size: 13px; color: rgba(255,255,255,.7); }
.upnext-card b { font-size: 20px; }
.upnext-card .ring { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 700; box-shadow: inset 0 0 0 3px var(--pink); }
.upnext-card .row { display: flex; gap: 10px; margin-top: 4px; }

.player-note { min-height: 0; font-size: 13px; color: var(--dim); }
.player-note:not(:empty) { padding-top: 10px; }

.info { padding-top: 16px; }
.info-row { display: flex; flex-direction: column; gap: 16px; }
.info h1 { font-size: 24px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.info-meta { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--mid); }
.info-meta b { color: var(--pink); }
.info-about { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--mid); }
.info-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.eps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.eps select, .eps button { height: 32px; padding: 0 12px; border: 0; border-radius: 9px; background: var(--s2); color: var(--mid); font: inherit; }
.eps button[aria-current="true"] { background: var(--ink); color: var(--bg); }
.acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.act { height: 68px; border-radius: 18px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--mid); transition: background .15s, color .15s; }
.act:hover { background: var(--s2); color: var(--ink); }
.act svg { width: 23px; height: 23px; }
.act[aria-pressed="true"] { color: var(--pink); background: var(--pink-soft); box-shadow: none; }
.act .on-ic { display: none; }
.act[aria-pressed="true"] .on-ic { display: block; }
.act[aria-pressed="true"] .off-ic { display: none; }

.next-panel .sec-t { padding-top: 26px; }
.next-panel .auto { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); }
.next-panel .auto .switch { width: 40px; height: 24px; }
.next-panel .auto .switch::after { width: 18px; height: 18px; }
.next-panel .auto .switch[aria-checked="true"]::after { transform: translateX(16px); }
.lrow { display: flex; gap: 12px; padding: 7px 0; border-radius: 16px; }
.lrow .shot { width: 152px; flex: none; }
.lrow .b { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-top: 2px; }
.lrow .b b { font-size: 16px; }
.lrow .b small { font-size: 13px; color: var(--dim); }
.lrow .b em { font-style: normal; font-size: 14px; color: var(--pink); font-weight: 700; }
.lrow[aria-current="true"] .shot { box-shadow: 0 0 0 2px var(--pink); }

/* ---------- 历史 ---------- */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 16px; }
.page-head h1 { font-size: 32px; font-weight: 700; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 10px; }
.page-head h1 span { font-size: 15px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.page-head .tools { display: flex; gap: 8px; }
.hcont { position: relative; display: block; margin-top: 16px; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--s2); }
.hcont img { width: 100%; height: 100%; object-fit: cover; }
.hcont::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.8)); }
.hc-t { position: absolute; z-index: 2; left: 16px; right: 16px; top: 14px; bottom: 14px; display: flex; flex-direction: column; }
.hc-t b { margin-top: auto; font-size: 26px; font-weight: 700; }
.hbar { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); margin: 10px 0; overflow: hidden; }
.hbar i { display: block; height: 100%; background: var(--pink); }
.hc-r { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: rgba(255,255,255,.75); }
.hc-r .btn { height: 36px; padding: 0 14px; font-size: 14px; }
.dayh { display: flex; align-items: baseline; justify-content: space-between; padding: 24px 0 8px; }
.dayh h2 { font-size: 17px; font-weight: 700; }
.dayh span, .dayh button { font-size: 13px; color: var(--dim); }
.dayh button { color: var(--ink); font-weight: 700; }
.hlist { display: flex; flex-direction: column; }
.hitem { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 0; border-radius: 16px; cursor: pointer; }
.hitem .shot { width: 144px; flex: none; }
.hitem .b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hitem .b b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hitem .b span { font-size: 13px; color: var(--mid); }
.hitem .b small { font-size: 12px; color: var(--dim); }
.done { display: inline-flex; align-items: center; gap: 3px; color: var(--dim); }
.done svg { width: 13px; height: 13px; }
.hck { display: none; width: 24px; height: 24px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); place-items: center; color: var(--pink-ink); }
.hck svg { width: 14px; height: 14px; visibility: hidden; }
.is-editing .hck { display: grid; }
.hitem[aria-selected="true"] { background: rgba(236,127,160,.07); }
.hitem[aria-selected="true"] .hck { background: var(--pink); box-shadow: none; }
.hitem[aria-selected="true"] .hck svg { visibility: visible; }
.editbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 12px var(--pad) calc(12px + var(--safe-bottom)); display: grid; grid-template-columns: 1fr 2fr; gap: 10px; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-top: 1px solid var(--line); }
.is-editing .tabbar { visibility: hidden; }
.hside { margin-top: 28px; border-radius: 22px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 20px 20px 6px; }
.hside .sec-t { padding: 0 0 12px; }
.hside .sec-t h2 { font-size: 18px; }
.wk b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.wk span { font-size: 13px; color: var(--dim); }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; height: 120px; margin: 18px 0 6px; }
.bars div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; font-size: 12px; color: var(--dim); }
.bars i { width: 100%; min-height: 4px; border-radius: 6px; background: var(--s3); transition: height .4s var(--ease); }
.bars div.is-today i { background: var(--pink); }
.bars div.is-today span { color: var(--ink); font-weight: 700; }
.hnums { display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px 0; margin-top: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hnums div { display: flex; flex-direction: column; gap: 2px; }
.hnums b { font-size: 22px; }
.hnums span { font-size: 12px; color: var(--dim); }
.hopt { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; font-size: 15px; font-weight: 700; text-align: left; }
.hopt + .hopt { border-top: 1px solid var(--line); }
.hopt small { display: block; font-size: 12px; font-weight: 400; color: var(--dim); margin-top: 2px; }
.hopt.danger { color: #ff7d74; }
.hopt.danger:disabled { opacity: .4; cursor: default; }
.hopt svg { width: 16px; height: 16px; }
.paused-note { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--pink-soft); color: var(--pink); font-size: 14px; font-weight: 500; }

/* ---------- 弹窗 ---------- */
.app > * { transition: filter .28s var(--ease); }
body.login-open .app > :not(.skip), body.dialog-open .app > :not(.skip) { filter: blur(18px) brightness(.8); }
dialog { color: var(--ink); }
.glass-dialog {
  width: min(400px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 30px; overflow: visible;
  background: var(--glass-hi); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: 0 30px 90px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08);
}
.glass-dialog::backdrop { background: rgba(0,0,0,.3); }
.glass-dialog[open] { animation: pop .28s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.dlg-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--mid); }
.dlg-x:hover { color: var(--ink); background: rgba(255,255,255,.16); }
.dlg-x svg { width: 18px; height: 18px; }
.login-box { padding: 40px 28px 28px; display: flex; flex-direction: column; }
.login-box .mark { width: 52px; height: 52px; }
.login-box h2 { font-size: 26px; font-weight: 700; margin-top: 20px; }
.login-box .sub { font-size: 14px; color: var(--dim); margin-top: 6px; }
.login-box form { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.field { height: 54px; border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; gap: 12px; padding: 0 16px; color: var(--dim); }
.field:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.field svg { width: 20px; height: 20px; flex: none; }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; color: var(--ink); }
.field input::placeholder { color: var(--dim); }
.login-box .btn { margin-top: 8px; height: 54px; }
.login-note { min-height: 20px; font-size: 14px; color: var(--pink); text-align: center; }
.login-alt { font-size: 14px; color: var(--dim); text-align: center; }
.login-alt button { color: var(--ink); font-weight: 700; }
.confirm-box { padding: 30px 26px 24px; text-align: center; }
.confirm-box h2 { font-size: 20px; }
.confirm-box p { margin-top: 8px; font-size: 14px; color: var(--mid); line-height: 1.6; }
.confirm-box .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.login-page { display: flex; justify-content: center; padding-top: 32px; }
.login-page .login-box { width: min(400px, 100%); border-radius: 30px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); }

.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(var(--tab-h) + var(--safe-bottom) + 20px); transform: translate(-50%, 10px); padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 700; opacity: 0; transition: opacity .2s, transform .25s var(--ease); pointer-events: none; white-space: nowrap; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 手机播放页 ---------- */
@media (max-width: 719.98px) {
  body[data-page="watch"] .tabbar { display: none; }
  body[data-page="watch"] main { padding-bottom: calc(var(--safe-bottom) + 28px); }
  .watch-main > .player { margin: 0 calc(-1 * var(--pad)); }
  .vol-bar { display: none; }
  .hide-m { display: none !important; }
}
.zones { margin-top: 18px; }

/* ---------- 平板与桌面 ---------- */
@media (min-width: 720px) {
  :root { --pad: 28px; --top-h: 72px; }
  main { padding-bottom: 56px; }
  .tabbar { display: none; }
  .top,
  .top.is-over {
    background: rgba(25, 24, 27, .92);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--line);
  }
  .top.is-over::before { display: none; }
  .hero { margin-top: 0; }
  .top-in { gap: 12px 16px; }
  .nav { display: flex; gap: 2px; margin-left: 8px; margin-right: 0; }
  .nav a { height: 36px; padding: 0 14px; border-radius: 999px; display: flex; align-items: center; font-size: 15px; font-weight: 500; color: var(--mid); }
  .nav a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
  .nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: var(--ink); font-weight: 700; }
  .lockup { margin-right: 0; flex: none; white-space: nowrap; }
  .mark { width: 34px; height: 34px; }
  .top .search {
    display: flex; width: min(320px, 28vw); height: 40px; margin-left: auto;
    background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  }
  .top .search-open { display: none; }
  .top .login-btn {
    display: inline-flex; max-width: 148px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: none;
  }
  .spanel { position: fixed; inset: auto; top: calc(100% + 8px); right: var(--pad); width: 380px; max-height: min(560px, calc(100dvh - 120px)); padding: 10px 0 14px; border-radius: 24px; background: var(--glass-hi); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 24px 60px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08); }
  .spanel .sp-row { display: none; }
  .spanel .sp-body { padding: 0 16px; }
  .top-in { position: relative; }
  .toast { bottom: 32px; }

  .hero-media { width: 100%; max-width: 100%; height: 420px; aspect-ratio: auto; }
  .hero-media::after { background: linear-gradient(90deg, rgba(25,24,27,.88) 0, rgba(25,24,27,.35) 45%, rgba(25,24,27,0) 70%), linear-gradient(180deg, transparent 62%, var(--bg) 100%); }
  .hero-txt { position: absolute; left: 0; right: 0; bottom: 56px; margin: 0; }
  .hero-txt .wrap { gap: 14px; }
  .hero-txt .wrap > * { max-width: 520px; }
  .hero h1 {
    font-size: 56px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
  }
  .hero-about { display: block; font-size: 16px; line-height: 1.7; color: var(--mid); }
  .pills.zones { margin-top: 4px; flex-wrap: nowrap; overflow: hidden; }
  .pills.zones.is-open { flex-wrap: wrap; overflow: visible; row-gap: 8px; }
  .pills.zones.is-clipped { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
  .zone-more { display: inline-flex; }
  .pills.zones.is-open .zone-more { background: var(--ink); color: var(--bg); }
  .pills.zones.is-open .zone-more svg { transform: rotate(180deg); }
  .hide-d { display: none !important; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .ocard { border-radius: 18px; }
  .ocard .ot b { font-size: 16px; }
  .rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; overflow: visible; margin: 0; padding: 0; }
  .cw { width: auto; }

  .watch { padding-top: 8px; }
  .watch-main > .player { border-radius: 20px; }
  .p-back { display: none; }
  .player:fullscreen .p-back { display: grid; }
  .player-note { padding: 0; }
  .info-row { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .acts { display: flex; gap: 8px; flex: none; }
  .act { height: 42px; flex-direction: row; padding: 0 16px; border-radius: 999px; font-size: 14px; box-shadow: none; background: var(--s2); color: var(--ink); }
  .act svg { width: 19px; height: 19px; }

  .hlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
  .hitem { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .hitem .shot { width: 100%; border-radius: 16px; }
  .hitem .b { padding-top: 8px; }
  .hck { position: absolute; z-index: 2; top: 10px; left: 10px; background: rgba(0,0,0,.35); }
  .hitem[aria-selected="true"] { background: none; }
  .hitem[aria-selected="true"] .shot { box-shadow: 0 0 0 2px var(--pink); }
  .editbar { left: 50%; right: auto; bottom: 24px; width: 420px; transform: translateX(-50%); border-radius: 24px; border: 0; padding: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08); }
  .hcont { aspect-ratio: 16 / 6; }
}

@media (min-width: 1100px) {
  :root { --pad: 44px; }
  .hero-media { aspect-ratio: 2.4 / 1; height: auto; max-height: 600px; width: 100%; }
  .hero-txt { bottom: 64px; }
  .hero h1 { font-size: 64px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .watch { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
  .next-panel { border-radius: 22px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); padding: 4px 18px 12px; }
  .next-panel .sec-t { padding-top: 16px; }
  .lrow .shot { width: 136px; }
  .hist { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
  .hlist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hside { position: sticky; top: calc(var(--top-h) + 20px); margin-top: 14px; }
}
@media (min-width: 1360px) {
  .hlist { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
