/* Kisah 前台：只做手机端。宽屏上居中显示为手机宽度的单栏。 */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/plus-jakarta-sans.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 800;
}
@property --amb {
  syntax: "<color>";
  inherits: true;
  initial-value: transparent;
}

:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --surface: #14171f;
  --surface-2: #1c2029;
  --surface-3: #262b36;
  --line: rgba(242, 243, 245, 0.08);
  --line-strong: rgba(242, 243, 245, 0.18);
  --ink: #f5f6f8;
  --muted: #b0b5c0;
  --faint: #7c8391;
  --accent: #ff8a65;
  --accent-hover: #ffa182;
  --accent-ink: #1a0b06;
  --accent-soft: #ffb59e;
  --accent-wash: rgba(255, 138, 101, 0.28);
  --glass: rgba(255, 255, 255, 0.14);
  --gutter: 16px;
  --app-w: 480px;
  --tabbar-h: calc(84px + env(safe-area-inset-bottom));
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #05060a;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  word-spacing: 0.05em;
}
html:lang(zh-CN) {
  font-family: "Plus Jakarta Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    system-ui, sans-serif;
  word-spacing: normal;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  min-width: 300px;
  background: #05060a;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
:is(a, button, input):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 10px;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
svg {
  flex: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 单栏应用容器 */
#app {
  position: relative;
  max-width: var(--app-w);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  isolation: isolate;
  overflow-x: clip;
}
@media (min-width: 520px) {
  #app {
    box-shadow: 0 0 0 1px var(--line), 0 0 80px rgba(0, 0, 0, 0.6);
  }
}
.page {
  position: relative;
  padding-bottom: calc(var(--tabbar-h) + 24px);
}
.page-watch {
  padding-bottom: 32px;
}

/* 氛围色：页面顶部按当前影片主色晕染，轮播切换时渐变 */
.ambient {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  height: 760px;
  background:
    radial-gradient(90% 55% at 50% 22%, transparent 0%, transparent 72%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 92%);
  background:
    radial-gradient(90% 55% at 50% 22%, color-mix(in srgb, var(--amb) 85%, transparent) 0%, transparent 72%),
    linear-gradient(180deg, color-mix(in srgb, var(--amb) 55%, var(--bg)) 0%, var(--bg) 92%);
  transition: --amb 900ms ease;
  pointer-events: none;
}

/* 首屏骨架 */
.loading {
  display: grid;
  gap: 14px;
  padding: 72px var(--gutter) 0;
}
.loading::before,
.loading::after {
  content: "";
  border-radius: 18px;
  background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%;
  animation: shimmer 1.4s linear infinite;
}
.loading::before {
  aspect-ratio: 4 / 5;
}
.loading::after {
  height: 150px;
}
@keyframes shimmer {
  to {
    background-position: -150% 0;
  }
}

/* ---------- 通用元件 ---------- */

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.logo span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
/* 域名后缀：kisah.tv 的 .tv（主色），让人记住网址 */
.logo span.logo-tld {
  width: auto;
  height: auto;
  margin-left: -2px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--accent);
  text-shadow: 0 0 14px var(--accent-wash);
}
/* 站点图标（站点配置 [brand] icon）：在站名文字前，和文字基线对齐 */
.logo .logo-icon {
  align-self: center;
  width: 26px;
  height: 26px;
  margin-right: 7px;
  border-radius: 7px;
}
/* 站点配了横版 logo 图片：只显示图片 */
.logo.logo-has-img img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 180px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 160ms var(--ease),
    background 160ms ease;
}
.btn:active,
.stack-action:active,
.poster:active,
.chip:active {
  transform: scale(0.96);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 28px -10px rgba(255, 138, 101, 0.75);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn-block {
  width: 100%;
  height: 52px;
  font-size: 16px;
}
.save-button[aria-pressed="true"] {
  color: var(--accent-soft);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  color: var(--accent-soft);
  font-size: 13.5px;
  font-weight: 700;
}
.meter {
  display: block;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
}
.meter i {
  display: block;
  height: 100%;
  background: var(--accent);
}
.pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--glass);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.pill-accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.count {
  color: var(--faint);
  font-size: 13px;
  font-weight: 600;
}
.empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 56px auto;
  padding: 0 24px;
  text-align: center;
  color: var(--muted);
}
.empty svg {
  color: var(--faint);
}
.empty :is(h1, h3) {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}
.empty p {
  font-size: 14px;
  line-height: 1.6;
}
.empty .btn {
  margin-top: 8px;
}

/* ---------- 顶栏 / 标签栏 ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 13, 18, 0.9);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  transition: background 240ms ease;
}
.topbar.is-transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-scrolled="true"] .topbar.is-transparent {
  background: rgba(11, 13, 18, 0.88);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
}
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 0 8px 0 var(--gutter);
}
.top-actions {
  display: flex;
  align-items: center;
}
.top-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
}
.top-lang {
  width: 34px;
  height: 34px;
  margin: 0 5px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  font-size: 12px;
  font-weight: 800;
}
.chips {
  display: flex;
  gap: 8px;
  padding: 2px var(--gutter) 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: #e6e8ec;
  font-size: 13.5px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms var(--ease);
}
.chip[aria-pressed="true"] {
  background: #fff;
  color: #111;
  box-shadow: none;
}
/* 底部导航：悬浮胶囊 */
.tabdock {
  position: fixed;
  z-index: 25;
  left: 50%;
  bottom: 0;
  width: min(100%, var(--app-w));
  transform: translateX(-50%);
  padding: 0 12px calc(10px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.tabdock::before {
  content: "";
  position: absolute;
  top: -36px;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(11, 13, 18, 0), rgba(11, 13, 18, 0.92) 55%);
}
.tabbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 64px;
  padding: 7px;
  border-radius: 26px;
  background: rgba(24, 27, 36, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 40px -10px rgba(0, 0, 0, 0.8),
    0 0 50px -18px rgba(255, 138, 101, 0.45);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  pointer-events: auto;
}
.tab {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 50px;
  border-radius: 19px;
  color: #8e95a3;
  transition:
    flex-grow 380ms var(--ease),
    background 300ms ease,
    color 200ms ease;
}
.tab:active {
  transform: scale(0.94);
}
.tab-icon {
  position: relative;
  display: grid;
  place-items: center;
}
.tab-label {
  overflow: hidden;
  max-width: 0;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  transition:
    max-width 380ms var(--ease),
    opacity 250ms ease;
}
.tab.is-active {
  flex-grow: 2.3;
  background: linear-gradient(135deg, #ffa07a 0%, #ff8a65 40%, #f06595 100%);
  color: #1a0b06;
  box-shadow:
    0 8px 22px -8px rgba(255, 105, 120, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.tab.is-active .tab-label {
  max-width: 120px;
  opacity: 1;
}
.tab.is-active svg {
  stroke-width: 2.3;
}
.tab-badge {
  position: absolute;
  top: -7px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px rgba(24, 27, 36, 1);
}
.tab.is-active .tab-badge {
  background: #fff;
  box-shadow: 0 0 0 2px #ff8a65;
}

/* ---------- 首页大图 ---------- */

.hero {
  padding: 4px var(--gutter) 0;
}
.hero-stage {
  position: relative;
  aspect-ratio: 4 / 5;
}
.slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97);
  transition:
    opacity 600ms ease,
    transform 600ms var(--ease),
    visibility 0s linear 600ms;
}
.slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 600ms ease,
    transform 600ms var(--ease);
}
.slide-card {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 24px 60px -18px rgba(0, 0, 0, 0.75),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7.5s linear;
}
.slide.is-active .slide-card img {
  transform: scale(1);
}
.slide-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.55) 64%, rgba(6, 7, 10, 0.92) 100%);
}
.slide-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 84px;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}
.slide-tags {
  display: flex;
  gap: 6px;
}
.tag-rank,
.tag-glass {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 9px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.tag-rank {
  background: var(--accent);
  color: var(--accent-ink);
}
.tag-glass {
  background: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.slide-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.slide-meta,
.spot-meta,
.detail-meta,
.next-copy small:first-of-type {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 0;
  color: #e3e5ea;
  font-size: 13px;
  font-weight: 600;
}
:is(.slide-meta, .spot-meta, .detail-meta, .next-copy small:first-of-type) > span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 8px 2px;
  border-radius: 50%;
  background: var(--accent);
}
.slide-actions {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
/* 轮播指示：分段进度条，当前段 7 秒填满 */
.hero-dots {
  display: flex;
  gap: 5px;
  padding: 12px 6px 0;
}
.dot {
  flex: 1;
  display: grid;
  align-items: center;
  height: 14px;
}
.dot span {
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
}
.dot i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #ffb59e, var(--accent));
}
.dot.is-done i {
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
}
.dot.is-active i {
  animation: hero-fill 7s linear both;
}
.hero[data-paused] .dot.is-active i {
  animation-play-state: paused;
}
@keyframes hero-fill {
  to { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .dot.is-active i {
    animation: none;
    width: 100%;
  }
}
.hero-stage {
  touch-action: pan-y;
}
.slide-tagline {
  max-width: 30ch;
  color: #eef0f3;
  font-size: 14px;
  font-style: italic;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.slide-next {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 62%;
  padding: 4px 12px 4px 4px;
  border-radius: 12px;
  background: rgba(8, 9, 14, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  text-align: left;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.slide-next img {
  flex: none;
  width: 26px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 6px;
}
.slide-next span {
  display: grid;
  min-width: 0;
}
.slide-next small {
  color: var(--accent-soft);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.slide-next strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 首页问候 */
.home-greet {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 6px var(--gutter) 12px;
}
.greet-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tone);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px rgba(255, 181, 158, 0.6);
}
.greet-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.greet-copy p {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.greet-line {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.greet-line svg {
  flex: none;
  color: var(--accent);
}
a.greet-line {
  color: #e9ebef;
}

/* ---------- 片单 ---------- */

.rail,
.grid-section,
.spotlight,
.up-next {
  margin-top: 26px;
}
.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 var(--gutter);
  margin-bottom: 12px;
}
.rail-head h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.kicker-icon {
  display: grid;
  color: var(--accent);
}
.more {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
}
.rail-track {
  display: flex;
  gap: 10px;
  padding: 0 var(--gutter) 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rail-track::-webkit-scrollbar {
  display: none;
}
.rail-track > * {
  scroll-snap-align: start;
}

/* 海报卡 */
.poster {
  position: relative;
  flex: none;
  display: block;
  --pw: 118px; /* 竖版卡片宽度；横图卡片同高变宽 */
  width: var(--pw);
  aspect-ratio: var(--poster-ar, 2 / 3);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--amb), #0e1016);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  transition: transform 160ms var(--ease);
}
.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.82) 100%);
  pointer-events: none;
}
.poster-title {
  position: absolute;
  z-index: 1;
  left: 9px;
  right: 9px;
  bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}
.badge {
  position: absolute;
  z-index: 1;
  top: 7px;
  left: 7px;
  height: 19px;
  padding: 0 6px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.62);
  font-size: 10px;
  font-weight: 800;
  line-height: 19px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.poster .meter {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
}

/* 排行 */
.rank {
  flex: none;
  display: flex;
  align-items: flex-end;
}
.rank-num {
  margin-right: -14px;
  color: var(--bg);
  font-size: 118px;
  font-weight: 800;
  line-height: 0.76;
  letter-spacing: -0.09em;
  -webkit-text-stroke: 2.5px #8b93a3;
  paint-order: stroke fill;
}
.poster-rank {
  --pw: 108px;
  width: var(--pw);
  box-shadow:
    -8px 0 20px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.poster-rank::after {
  display: none;
}

/* 继续观看 */
.resume-card {
  flex: none;
  display: grid;
  gap: 3px;
  width: 224px;
}
.resume-art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  margin-bottom: 5px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--amb);
}
.resume-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.resume-play {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.2);
}
.resume-play svg {
  width: 40px;
  height: 40px;
  padding: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85);
}
.resume-art .meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.resume-card strong {
  font-size: 14px;
  font-weight: 700;
}
.resume-card small {
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
}

/* 编辑推荐 */
.spotlight {
  margin-inline: var(--gutter);
  padding: 14px;
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 0% 0%, transparent, transparent 70%),
    var(--surface);
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--amb) 80%, transparent), transparent 70%),
    var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.spot-art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--amb);
}
.spot-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spot-play {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
}
.spot-play svg {
  width: 58px;
  height: 58px;
  padding: 16px 15px 16px 17px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.spot-length {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  font-size: 11.5px;
  font-weight: 700;
}
.spot-copy {
  display: grid;
  gap: 6px;
  padding: 14px 4px 4px;
}
.spot-copy h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.spot-copy p {
  color: #d6d9df;
  font-size: 14.5px;
  line-height: 1.5;
}
.spot-meta {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 12.5px;
}

/* 网格 */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 var(--gutter);
}
.poster-grid .poster {
  width: auto;
}

/* ---------- 首页附加栏目 ---------- */

/* 按类型挑片：带剧照和扇形海报的大色卡 */
.mood-card {
  position: relative;
  flex: none;
  display: block;
  width: 232px;
  height: 128px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--tone);
  text-align: left;
  isolation: isolate;
  transition: transform 0.2s var(--ease);
}
.mood-card:active {
  transform: scale(0.97);
}
.mood-card > img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  mix-blend-mode: luminosity;
}
.mood-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(100deg, var(--tone) 22%, transparent 75%);
  background: linear-gradient(100deg, var(--tone) 22%, color-mix(in srgb, var(--tone) 30%, transparent) 75%);
}
.mood-copy {
  position: absolute;
  left: 16px;
  bottom: 14px;
  display: grid;
}
.mood-copy strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mood-copy small {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 700;
}
.mood-posters {
  position: absolute;
  right: 10px;
  top: 14px;
  width: 92px;
  height: 100px;
}
.mood-posters img {
  position: absolute;
  right: calc(var(--k) * 20px);
  top: calc(var(--k) * 4px);
  z-index: calc(3 - var(--k));
  width: 58px;
  max-width: none;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 8px;
  transform: rotate(calc(8deg - var(--k) * 8deg));
  box-shadow: -4px 6px 14px rgba(0, 0, 0, 0.45);
}

/* 短时长：横版剧照 + 大号分钟数 */
.short-card {
  flex: none;
  display: grid;
  gap: 2px;
  width: 210px;
}
.short-art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  margin-bottom: 6px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--amb);
}
.short-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.short-art::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(200deg, transparent 45%, rgba(0, 0, 0, 0.7));
}
.short-time {
  position: absolute;
  left: 10px;
  bottom: 8px;
  z-index: 1;
  display: flex;
  gap: 3px;
  align-items: baseline;
  font-size: 12px;
  font-weight: 700;
}
.short-time b {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff, #ffd3c2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.short-card strong {
  font-size: 14.5px;
  font-weight: 700;
}
.short-card .slide-meta {
  justify-content: flex-start;
}

/* 剧照拼图 */
.moments {
  margin-top: 26px;
}
.moment-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 74px;
  gap: 8px;
  padding: 0 var(--gutter);
}
.moment {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--amb);
}
.moment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.moment:active img {
  transform: scale(1.05);
}
.moment span {
  position: absolute;
  left: 8px;
  bottom: 6px;
  max-width: calc(100% - 16px);
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}
.moment::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.moment span {
  z-index: 1;
}
.moment-grid > :nth-child(1) { grid-column: span 4; grid-row: span 2; }
.moment-grid > :nth-child(2) { grid-column: span 2; }
.moment-grid > :nth-child(3) { grid-column: span 2; }
.moment-grid > :nth-child(4) { grid-column: span 3; grid-row: span 1; }
.moment-grid > :nth-child(5) { grid-column: span 3; }
.moment-3 > :nth-child(1) { grid-column: span 6; }
.moment-4 > :nth-child(4) { grid-column: span 6; }
.moment-grid > :nth-child(1) span {
  font-size: 14px;
}

/* 导演卡 */
.director-card {
  position: relative;
  flex: none;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  width: 260px;
  height: 120px;
  padding: 14px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--amb);
  isolation: isolate;
}
.director-card > img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.director-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 9, 14, 0.92) 30%, rgba(8, 9, 14, 0.35));
}
.director-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd43b, #ff8a65 50%, #e64980);
  color: #1a0b06;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}
.director-copy {
  display: grid;
  min-width: 0;
}
.director-copy small {
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.director-copy strong {
  font-size: 16px;
  font-weight: 800;
}
.director-copy em {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 片库数字 */
.numbers {
  margin: 30px var(--gutter) 0;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(122, 92, 255, 0.45), transparent 60%),
    radial-gradient(80% 120% at 0% 100%, rgba(255, 138, 101, 0.4), transparent 60%),
    var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.numbers .kicker {
  margin: 0 0 12px;
}
.numbers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 10px;
}
.numbers-grid div {
  display: grid;
}
.numbers-grid strong {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #fff 20%, #ffb59e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.numbers-grid small {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

/* ---------- 详情 ---------- */

.detail-top {
  position: relative;
  height: min(118vw, 560px);
  overflow: hidden;
  isolation: isolate;
}
.reel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
}
.reel-frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.reel-frame.is-active {
  opacity: 1;
  animation: reel-drift 7s linear both;
}
@keyframes reel-drift {
  from { transform: scale(1.12) translateX(2%); }
  to { transform: scale(1.02) translateX(0); }
}
.detail-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 22%),
    radial-gradient(70% 45% at 50% 46%, rgba(0, 0, 0, 0.25), transparent 70%);
}
.reel-bars {
  position: absolute;
  top: 8px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  gap: 4px;
}
.reel-bars i {
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
}
.reel-bars b {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
}
.reel-bars i.is-done b {
  width: 100%;
}
.reel-bars i.is-active b {
  animation: reel-bar var(--reel-ms, 5200ms) linear both;
}
[data-reel][data-paused] .reel-bars i.is-active b {
  animation: none;
  width: 100%;
}
@keyframes reel-bar {
  to { width: 100%; }
}
.float-btn {
  position: absolute;
  top: 20px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.float-group {
  position: absolute;
  top: 20px;
  right: 12px;
  display: flex;
  gap: 8px;
}
.float-group .float-btn {
  position: static;
}
.float-btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}
.detail-play {
  position: absolute;
  left: 50%;
  top: 40%;
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translate(-50%, -50%);
}
.play-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  padding-left: 5px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ffa182, #ff6b8b);
  color: #1a0b06;
  box-shadow: 0 10px 34px -6px rgba(255, 107, 139, 0.75);
}
.play-orb::before,
.play-orb::after {
  content: "";
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 179, 158, 0.6);
  animation: orb-pulse 2.4s var(--ease) infinite;
}
.play-orb::after {
  animation-delay: 1.2s;
}
@keyframes orb-pulse {
  from { transform: scale(0.9); opacity: 1; }
  to { transform: scale(1.45); opacity: 0; }
}
.play-label {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.reel-strip {
  position: absolute;
  right: var(--gutter);
  bottom: 96px;
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.reel-thumb {
  width: 34px;
  height: 46px;
  overflow: hidden;
  border-radius: 8px;
  opacity: 0.55;
  transition: opacity 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.reel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel-thumb.is-active {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 0 0 2px #fff;
}
.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
/* 分级：普通分级描边，成人分级红底 */
.pill-rating {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(8, 9, 14, 0.35);
  color: #fff;
}
.pill-rating.is-adult {
  border-color: #e5484d;
  background: #e5484d;
  color: #fff;
}
.pill-rank {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  background: linear-gradient(120deg, #ffd43b, #ff8a65);
  color: #1a0b06;
}
.detail-by {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.by-avatar {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd43b, #ff8a65 50%, #e64980);
  color: #1a0b06;
  font-size: 9.5px;
  font-weight: 800;
}
@media (prefers-reduced-motion: reduce) {
  .reel-frame.is-active,
  .play-orb::before,
  .play-orb::after {
    animation: none;
  }
}
/* 竖版海报 + 片名，压在横幅下沿 */
.detail-id {
  position: relative;
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: end;
  gap: 14px;
  margin-top: -96px;
  padding: 0 var(--gutter);
}
.detail-poster {
  width: 104px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 12px;
  box-shadow:
    0 18px 36px -10px rgba(0, 0, 0, 0.8),
    0 0 0 1.5px rgba(255, 255, 255, 0.16);
}
.detail-name {
  display: grid;
  justify-items: start;
  gap: 6px;
  padding-bottom: 2px;
}
.detail-name h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.detail-name h1.is-long {
  /* 没给展示名的长片名：缩小字号、最多三行（完整文字仍在页面里，搜索引擎能读到） */
  display: -webkit-box;
  overflow: hidden;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
/* 有展示名时，完整片名小字放在标题下面（最多两行） */
.detail-fullname {
  display: -webkit-box;
  overflow: hidden;
  color: #b9bec7;
  font-size: 12.5px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.detail-tagline {
  color: #dfe2e7;
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.4;
}
/* 标签：点了搜同标签的片 */
.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 10px var(--gutter) 0;
}
.genre-chips a::after {
  content: "›";
  opacity: 0.7;
  font-size: 15px;
  line-height: 1;
}
.genre-chips a:active,
.tag-chips a:active {
  opacity: 0.7;
}
.tag-chips a {
  color: var(--accent-soft, #ffb199);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}
.genre-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px var(--gutter) 0;
}
.genre-chips a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: transparent;
  background: color-mix(in srgb, var(--amb) 45%, transparent);
  box-shadow: inset 0 0 0 1px #fff;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--amb) 70%, #fff 15%);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 28px;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 16px var(--gutter) 0;
  padding: 12px 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
}
.stat-row div {
  display: grid;
  justify-items: center;
  gap: 2px;
}
.stat-row div + div {
  border-left: 1px solid var(--line);
}
.stat-row dd {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.stat-row dd small {
  margin-left: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.stat-row dt {
  color: var(--faint);
  font-size: 11.5px;
  font-weight: 600;
}
.detail-cta {
  display: grid;
  gap: 10px;
  padding: 16px var(--gutter) 0;
}
.cta-meter {
  margin-top: -6px;
  border-radius: 3px;
}
.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.btn-soft {
  height: 44px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: 14px;
}
.block {
  margin-top: 28px;
  padding: 0 var(--gutter);
}
.block h2 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.detail-synopsis {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #c9cdd5;
  font-size: 14.5px;
  line-height: 1.65;
}
.detail-synopsis.expanded {
  display: block;
}
.synopsis-toggle {
  margin-top: 2px;
  width: fit-content;
}
/* 剧照 */
.still {
  flex: none;
  width: 248px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--amb);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 160ms var(--ease);
}
.still:active {
  transform: scale(0.97);
}
.still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rail-stills .rail-track > :first-child {
  width: 300px;
}
/* 影片信息卡 */
.info-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.person-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd43b, #ff8a65 50%, #e64980);
  color: #1a0b06;
  font-size: 16px;
  font-weight: 800;
}
.person strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.person small {
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 600;
}
.lang-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: start;
  gap: 8px;
}
.lang-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 5px;
  color: var(--faint);
  font-size: 13px;
  font-weight: 600;
}
.lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lang-chips span {
  height: 28px;
  padding: 0 11px;
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 700;
  line-height: 28px;
}
.lang-chips .is-local {
  background: rgba(255, 138, 101, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 101, 0.5);
  color: var(--accent-soft);
}
.legal-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px var(--gutter) 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(32, 201, 151, 0.18), rgba(32, 201, 151, 0.04) 70%);
  box-shadow: inset 0 0 0 1px rgba(32, 201, 151, 0.3);
}
.legal-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: #20c997;
  color: #06261c;
}
.legal-card strong {
  font-size: 14.5px;
  font-weight: 800;
}
.legal-card p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}
/* 剧照全屏浏览 */
body[data-lightbox="open"] {
  overflow: hidden;
}
.lightbox {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  left: 50%;
  width: min(100%, var(--app-w));
  transform: translateX(-50%);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #05060a;
  animation: fade-in 200ms ease;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
.lightbox-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 var(--gutter);
}
.lightbox-count {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.lightbox-bar strong {
  overflow: hidden;
  font-size: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lightbox-close {
  position: static;
  margin-left: auto;
  flex: none;
}
.lightbox-close svg {
  transform: rotate(45deg);
}
.lightbox-track {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.lightbox-track::-webkit-scrollbar {
  display: none;
}
.lightbox-track figure {
  flex: none;
  width: 100%;
  margin: 0;
  padding: 0 var(--gutter);
  scroll-snap-align: center;
}
.lightbox-track img {
  width: 100%;
  border-radius: 14px;
}
.lightbox-play {
  margin: 0 var(--gutter) calc(20px + env(safe-area-inset-bottom));
}

/* 播放页沿用的元信息与操作行 */
.detail-meta {
  justify-content: flex-start;
  gap: 6px 0;
  color: var(--muted);
}
.detail-meta .pill {
  margin-right: 6px;
}
.detail-meta .pill + span::before {
  display: none !important;
}
.stack-actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 2px 0;
}
.stack-action {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: 12px;
  color: #e8eaee;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: transform 160ms var(--ease);
}

/* ---------- 播放 ---------- */

.player-stage {
  position: sticky;
  top: 0;
  z-index: 15;
  background: #000;
}
.player-shell {
  aspect-ratio: 16 / 9 !important;
}
.watch-head {
  display: grid;
  gap: 12px;
  padding: 16px var(--gutter) 0;
}
.watch-title {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  width: fit-content;
}
.watch-title h1 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.watch-title svg {
  color: var(--faint);
}
.watch-synopsis {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.restart-film {
  margin-top: -6px;
  width: fit-content;
}
.up-next {
  display: grid;
  gap: 12px;
}
.up-next .rail-head {
  margin-bottom: 0;
}
.next-row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 12px;
  align-items: center;
  padding: 0 var(--gutter);
}
.next-art {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--amb);
}
.next-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.next-play {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  box-shadow: inset 0 0 0 1.2px rgba(255, 255, 255, 0.8);
}
.next-len {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.7);
  font-size: 10.5px;
  font-weight: 700;
}
.next-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.next-copy strong {
  font-size: 14.5px;
  font-weight: 800;
}
.next-copy small:first-of-type {
  justify-content: flex-start;
  color: var(--faint);
  font-size: 12px;
}
.next-tag {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
}

/* 播放页：片名、观看进度、字幕快捷切换、跳到这一幕、接下来播放 */
.watch-id {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px var(--gutter) 0;
}
.watch-poster {
  width: 56px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.watch-id .detail-meta {
  margin-top: 4px;
  font-size: 12.5px;
}
.watch-progress {
  display: grid;
  gap: 9px;
  margin: 14px var(--gutter) 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
}
.wp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.wp-head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
}
.wp-head svg {
  color: var(--accent);
}
.wp-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.watch-progress .meter {
  height: 5px;
  border-radius: 3px;
  overflow: hidden;
}
.watch-progress .meter i {
  border-radius: 3px;
  background: linear-gradient(90deg, #ffb59e, var(--accent));
  transition: width 900ms linear;
}
.watch-actions {
  margin: 8px var(--gutter) 0;
}
.quick-subs h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
}
.quick-subs h2 svg {
  color: var(--accent);
}
.sub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sub-chip {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  color: #e4e6ea;
  font-size: 13.5px;
  font-weight: 700;
  transition:
    background 160ms ease,
    transform 160ms var(--ease);
}
.sub-chip:active {
  transform: scale(0.95);
}
.sub-chip[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: none;
}
.rail-scenes {
  margin-top: 28px;
}
.scene {
  flex: none;
  display: grid;
  gap: 6px;
  text-align: left;
}
.scene-thumb {
  position: relative;
  display: block;
  border-radius: 10px;
  background-color: var(--surface-2);
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
}
.scene-time {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.72);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.scene-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.next-hero {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: var(--amb);
  box-shadow: 0 20px 40px -20px black;
  box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--amb) 80%, black);
}
.next-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.next-hero-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
}
.next-hero-play {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding-left: 3px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.next-hero-copy {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: grid;
  gap: 3px;
}
.next-hero-copy strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.next-hero-copy small {
  color: #dfe2e7;
  font-size: 13px;
}
.next-hero-copy .slide-meta {
  justify-content: flex-start;
  color: #cfd3da;
  font-size: 12px;
}

/* ---------- 搜索 / 片单 / 账户 ---------- */

.page-browse {
  padding-top: 6px;
}
.page-browse .rail-head {
  margin-top: 24px;
}
.page-title {
  padding: 8px var(--gutter) 16px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  margin: 4px var(--gutter) 0;
  padding: 0 16px;
  border-radius: 14px;
  background: #fff;
  color: #555b66;
}
.search-box input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  color: #111;
  font-size: 16px;
  font-weight: 600;
  outline: none;
}
.search-box input::placeholder {
  color: #7a808b;
}
.genre-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 var(--gutter);
}
/* 类型卡：纯色底 + 斜放的海报 */
.genre-tile {
  position: relative;
  height: 96px;
  padding: 12px 14px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff, var(--amb));
  background: linear-gradient(135deg, color-mix(in srgb, var(--amb) 100%, #fff 8%), var(--amb));
  text-align: left;
}
.genre-name {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 70%;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.genre-tile img {
  position: absolute;
  right: -14px;
  bottom: -10px;
  width: 64px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 6px;
  transform: rotate(22deg);
  box-shadow: -4px 4px 16px rgba(0, 0, 0, 0.4);
}
/* ---------- 账户页 ---------- */

.page-account {
  position: relative;
  z-index: 1;
}
.profile-card {
  position: relative;
  overflow: hidden;
  margin: 8px var(--gutter) 22px;
  padding: 20px 18px 16px;
  border-radius: 24px;
  background: linear-gradient(140deg, #ff8a65 0%, #e0577f 48%, #6a46c9 100%);
  box-shadow: 0 18px 40px -18px rgba(224, 87, 127, 0.7);
  isolation: isolate;
}
.profile-glow {
  position: absolute;
  top: -40%;
  right: -30%;
  bottom: auto;
  left: auto;
  z-index: -1;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 228, 160, 0.55), transparent 65%);
}
.profile-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 14px);
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.profile-top {
  display: flex;
  gap: 14px;
  align-items: center;
}
.avatar-ring {
  flex: none;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #ffe08a, #fff, #ffb59e, #ffe08a);
}
.avatar {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--tone, #2a1430);
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  transition: background 0.3s;
}
.avatar b {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.avatar-ring {
  position: relative;
}
.avatar-edit {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: #2a1430;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.profile-name .kicker {
  margin: 0 0 2px;
  color: rgba(255, 255, 255, 0.85);
}
.profile-name h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.profile-name p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  line-height: 1.5;
}
/* 观众账号：Google 登录按钮、已登录时的退出 / 删除账号 */
.login-box {
  position: relative;
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-top: 14px;
  padding: 14px 12px 12px;
  border-radius: 16px;
  background: rgba(8, 9, 14, 0.42);
  text-align: center;
}
.google-button {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 44px;
}
.login-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11.5px;
  line-height: 1.45;
}
.email-login {
  display: grid;
  gap: 8px;
  width: 100%;
  text-align: left;
}
.email-login label {
  font-size: 13px;
  font-weight: 800;
}
.login-row {
  display: flex;
  gap: 8px;
}
.login-row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(8, 9, 14, 0.5);
  color: #fff;
  font: inherit;
  font-size: 16px; /* 16px 以上 iPhone 才不会自动放大页面 */
}
#login-code:not(:placeholder-shown) {
  letter-spacing: 0.3em;
  font-variant-numeric: tabular-nums;
}
.login-box > * {
  min-width: 0;
  max-width: 100%;
}
.login-row.is-stacked {
  display: grid;
}
.login-row .btn {
  flex: none;
  height: 44px;
  padding: 0 16px;
}
.login-box .login-error {
  color: #ffd0d2;
  font-weight: 700;
}
.login-box .login-sent {
  color: #fff;
}
.login-links {
  display: flex;
  gap: 16px;
}
.login-links button {
  padding: 4px 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.login-links button:disabled {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.login-or {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
}
.login-or::before,
.login-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}
.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.profile-email {
  display: block;
  color: #fff;
  font-weight: 700;
}
.account-actions {
  position: relative;
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.account-actions button {
  flex: 1;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
}
.account-actions button {
  background: rgba(10, 6, 14, 0.32);
}
.account-actions .is-danger {
  color: #ffd0d2;
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.profile-stats div {
  display: grid;
  justify-items: start;
  gap: 2px;
  min-width: 0;
  padding: 11px 10px;
  border-radius: 16px;
  background: rgba(20, 8, 30, 0.28);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.stat-icon {
  display: grid;
  color: #ffe08a;
}
.profile-stats strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.profile-stats small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  white-space: nowrap;
  font-weight: 600;
}
.profile-soon {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
}
.acct-section {
  margin: 0 var(--gutter) 24px;
}
.acct-title {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.shortcut-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.shortcut {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 104px;
  padding: 14px;
  overflow: hidden;
  border-radius: 18px;
  align-content: end;
  background: var(--tile);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.2s var(--ease);
}
.shortcut:active {
  transform: scale(0.97);
}
.shortcut-a { --tile: linear-gradient(150deg, #ff8a65, #c2406a); }
.shortcut-b { --tile: linear-gradient(150deg, #7b5cff, #3a2a8f); }
.shortcut-c { --tile: linear-gradient(150deg, #20b28a, #10606a); }
.shortcut-d { --tile: linear-gradient(150deg, #f5b642, #c2632a); }
.shortcut-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
}
.shortcut::after {
  content: "";
  position: absolute;
  right: -26px;
  top: -26px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.shortcut strong {
  font-size: 15px;
  font-weight: 800;
}
.shortcut small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pref-card,
.data-card {
  border-radius: 20px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pref-row {
  padding: 16px;
}
.pref-row + .pref-row {
  border-top: 1px solid var(--line);
}
.pref-head,
.data-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.pref-head strong,
.data-row strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
}
.pref-head small,
.data-row small {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 12px;
}
.pref-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
}
.tone-a { background: linear-gradient(140deg, #ff8a65, #e0577f); }
.tone-b { background: linear-gradient(140deg, #8a6bff, #5a3fd1); }
.tone-c { background: linear-gradient(140deg, #2cc7a0, #148a7a); }
.tone-d { background: linear-gradient(140deg, #f7c14b, #e07b2c); }
.pref-row .segmented {
  margin-top: 12px;
}
.pref-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.pref-chip {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background 0.2s, color 0.2s;
}
.pref-chip[aria-pressed="true"] {
  background: linear-gradient(120deg, #ff8a65, #ff5f8f);
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(255, 95, 143, 0.9);
}
.caption-preview {
  position: relative;
  display: grid;
  place-items: end center;
  height: 128px;
  margin-top: 12px;
  overflow: hidden;
  padding: 0 16px 14px;
  border-radius: 14px;
  background: #1a1d26;
}
.caption-preview img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}
.caption-preview span {
  position: relative;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: font-size 0.2s var(--ease);
}
.caption-preview[data-size="small"] span { font-size: 12px; }
.caption-preview[data-size="large"] span { font-size: 19px; }
.data-row {
  padding: 14px 16px;
}
.data-row + .data-row {
  border-top: 1px solid var(--line);
}
.data-row > div {
  flex: 1;
  min-width: 0;
}
.data-clear {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 99, 99, 0.12);
  color: #ff8f8f;
  font-size: 13px;
  font-weight: 700;
}
.data-clear[data-confirm="1"] {
  background: #e5484d;
  color: #fff;
}
.data-clear:disabled {
  background: var(--surface-2);
  color: var(--faint);
}
.faq {
  border-radius: 20px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.faq details + details {
  border-top: 1px solid var(--line);
}
.faq summary {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  font-size: 14.5px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq-chevron {
  display: grid;
  flex: none;
  color: var(--faint);
  transition: transform 0.2s var(--ease);
}
.faq details[open] .faq-chevron {
  transform: rotate(90deg);
  color: var(--accent);
}
.faq p {
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.about-card {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 var(--gutter) 8px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(44, 199, 160, 0.16), rgba(44, 199, 160, 0.04));
  box-shadow: inset 0 0 0 1px rgba(44, 199, 160, 0.3);
}
.about-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #2cc7a0;
  color: #06221b;
}
.about-card strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
}
.about-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.segmented {
  display: flex;
  margin: 12px 0 6px;
  padding: 4px;
  border-radius: 12px;
  background: var(--surface-2);
}
.segmented button {
  flex: 1;
  height: 40px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.segmented button[aria-pressed="true"] {
  background: #fff;
  color: #111;
}

/* ---------- 搜索页 ---------- */

.page-search {
  padding-top: 0;
}
.search-head {
  position: sticky;
  top: 54px;
  z-index: 12;
  margin-top: -30px;
  padding: 6px var(--gutter) 12px;
  background: linear-gradient(180deg, var(--bg) 78%, rgba(11, 13, 18, 0));
}
.search-title {
  margin: 4px 0 12px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #fff 30%, #ffb59e 75%, #f783ac);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-search .search-box {
  margin: 0;
  box-shadow: 0 12px 30px -12px rgba(255, 138, 101, 0.45);
}
.filter-chips {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar {
  display: none;
}
.filter-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px 0 11px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: #e4e6ea;
  font-size: 13px;
  font-weight: 700;
}
.filter-chip svg {
  color: var(--accent);
}
.filter-chip[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: none;
}
.filter-chip[aria-pressed="true"] svg {
  color: var(--accent-ink);
}
.search-section {
  margin-top: 22px;
  padding: 0 var(--gutter);
}
.search-section h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-row h2 {
  margin-bottom: 0;
}
.search-section .section-row {
  margin-bottom: 12px;
}
.search-section .genre-grid {
  padding: 0;
}
.suggest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.suggest {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px 0 12px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: #e8eaee;
  font-size: 13.5px;
  font-weight: 700;
}
.suggest svg {
  color: var(--faint);
}
.suggest-recent svg {
  color: var(--accent-soft);
}
/* 热门榜 */
.chart {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chart-row {
  display: grid;
  grid-template-columns: 30px 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--surface), var(--surface) 70%);
  background: linear-gradient(90deg, color-mix(in srgb, var(--amb) 30%, var(--surface)), var(--surface) 70%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.chart-rank {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.05em;
  color: var(--faint);
}
.chart li:nth-child(1) .chart-rank {
  color: #ffd43b;
}
.chart li:nth-child(2) .chart-rank {
  color: #ced4da;
}
.chart li:nth-child(3) .chart-rank {
  color: #ff922b;
}
.chart-thumb {
  display: block;
  width: 48px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  border-radius: 7px;
  overflow: hidden;
  background: var(--amb);
}
.chart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chart-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.chart-copy strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chart-copy .slide-meta {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 12px;
}
.chart-badge {
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 10.5px;
  font-weight: 800;
}
/* 按导演找片 */
.people-row {
  display: flex;
  gap: 10px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.people-row::-webkit-scrollbar {
  display: none;
}
.people-chip {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
}
.people-chip .person-avatar {
  width: 38px;
  height: 38px;
  font-size: 13px;
}
.people-chip strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
}
.people-chip small {
  color: var(--faint);
  font-size: 11.5px;
  font-weight: 600;
}
/* 搜索结果 */
.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px var(--gutter) 12px;
}
.results-head h2 {
  font-size: 16px;
  font-weight: 800;
}
mark {
  padding: 0 1px;
  border-radius: 3px;
  background: rgba(255, 138, 101, 0.3);
  color: #fff;
}
.top-result {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  margin: 0 var(--gutter);
  border-radius: 18px;
  overflow: hidden;
  background: var(--amb);
  box-shadow: 0 20px 40px -20px black;
  box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--amb) 80%, black);
}
.top-result img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.85));
}
.top-label {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 9px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 800;
}
.top-copy {
  position: absolute;
  left: 14px;
  right: 70px;
  bottom: 12px;
  display: grid;
  gap: 4px;
}
.top-copy strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.top-copy .slide-meta {
  justify-content: flex-start;
  font-size: 12px;
}
.top-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding-left: 3px;
  border-radius: 50%;
  background: #fff;
  color: #111;
}
.result-list {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 0 var(--gutter);
}
.result-row {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.result-thumb {
  display: block;
  width: 54px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  border-radius: 8px;
  overflow: hidden;
  background: var(--amb);
}
.result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.result-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.result-copy strong {
  font-size: 15px;
  font-weight: 800;
}
.result-copy .slide-meta {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 12px;
}
.result-dir {
  color: var(--faint);
  font-size: 12px;
}
.result-go {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding-left: 2px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--accent);
}
.page-search .empty {
  margin: 36px auto 8px;
}

/* ---------- 片单页 ---------- */

.page-saved {
  padding-top: 4px;
}
.list-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  margin: 4px var(--gutter) 0;
  padding: 18px 16px 16px;
  border-radius: 24px;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(116, 143, 252, 0.55), transparent 60%),
    linear-gradient(140deg, #ff8a65 0%, #e64980 55%, #7048e8 110%);
  box-shadow: 0 22px 44px -22px rgba(230, 73, 128, 0.85);
  isolation: isolate;
}
.list-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(200deg, #000 20%, transparent 75%);
  mask-image: linear-gradient(200deg, #000 20%, transparent 75%);
}
.list-top {
  display: grid;
  grid-template-columns: 1fr 128px;
  align-items: center;
  gap: 8px;
  min-height: 118px;
}
.list-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 4px;
}
.list-copy .kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}
.list-copy h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.list-copy p:last-child {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.list-fan {
  position: relative;
  height: 118px;
}
.list-fan img {
  position: absolute;
  right: calc(var(--i) * 22px);
  top: calc(var(--i) * 4px);
  width: 66px;
  max-width: none;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 9px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: -6px 8px 18px rgba(0, 0, 0, 0.35);
  transform: rotate(calc(var(--i) * -7deg + 8deg));
  z-index: calc(10 - var(--i));
}
.list-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.list-stats div {
  display: grid;
  gap: 1px;
  padding: 10px 11px;
  border-radius: 14px;
  background: rgba(20, 8, 30, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.list-stats strong {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.list-stats strong i {
  margin-left: 2px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  opacity: 0.85;
}
.list-stats small {
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.list-bar {
  display: grid;
  gap: 7px;
}
.list-track {
  display: flex;
  gap: 3px;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
}
.list-track i {
  border-radius: 999px;
}
.seg-done,
.leg-done b { background: #63e6be; }
.seg-going,
.leg-going b { background: #ffd43b; }
.seg-fresh,
.leg-fresh b { background: rgba(255, 255, 255, 0.85); }
.list-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11.5px;
  font-weight: 700;
}
.list-legend span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.list-legend b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.list-cta {
  display: flex;
  gap: 8px;
}
.list-go {
  flex: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 8px 14px 8px 8px;
  border-radius: 16px;
  background: #fff;
  color: #14101a;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6);
}
.list-go > svg:first-child {
  flex: none;
  box-sizing: content-box;
  padding: 10px 9px 10px 11px;
  border-radius: 12px;
  background: linear-gradient(140deg, #ff8a65, #e64980);
  color: #fff;
}
.list-go span {
  display: grid;
  flex: 1;
  min-width: 0;
}
.list-go small {
  color: #7a6f86;
  font-size: 11px;
  font-weight: 700;
}
.list-go strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.list-go em {
  color: #c2255c;
  font-style: normal;
  font-weight: 800;
}
.list-go > svg:last-child {
  flex: none;
  color: #b8afc2;
}
.list-shuffle {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  width: 64px;
  border-radius: 16px;
  background: rgba(20, 8, 30, 0.32);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.list-shuffle svg {
  color: #ffe08a;
}
.list-tabs {
  display: flex;
  margin: 16px var(--gutter) 0;
}
.list-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.tab-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 20px;
}
.list-tabs [aria-pressed="true"] .tab-count {
  background: var(--accent);
  color: var(--accent-ink);
}
.sort-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  color: var(--faint);
}
.sort-row > svg {
  flex: none;
}
.sort-row::-webkit-scrollbar {
  display: none;
}
.sort-chip {
  flex: none;
  white-space: nowrap;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.sort-chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
  box-shadow: none;
}
.saved-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 0 var(--gutter);
}
.saved-row {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(100deg, var(--surface), var(--surface) 72%);
  background: linear-gradient(100deg, color-mix(in srgb, var(--amb) 32%, var(--surface)), var(--surface) 72%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.saved-thumb {
  display: block;
  width: 76px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  border-radius: 10px;
  overflow: hidden;
  background: var(--amb);
  box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.7);
}
.saved-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.saved-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.saved-copy strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.saved-copy .slide-meta {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 12px;
}
.saved-copy .meter {
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
}
.status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #e3e5ea;
  font-size: 11.5px;
  font-weight: 700;
}
.status-new {
  background: rgba(77, 171, 247, 0.18);
  color: #a5d8ff;
}
.status-done {
  background: rgba(32, 201, 151, 0.18);
  color: #63e6be;
}
.saved-actions {
  display: grid;
  gap: 8px;
}
.round-play,
.round-remove {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.saved-actions .round-play {
  padding-left: 3px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 18px -8px rgba(255, 138, 101, 0.8);
}
.round-remove {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}
.round-remove svg {
  transform: rotate(45deg);
}
.history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 10px;
  margin-top: 16px;
  padding: 0 var(--gutter);
}
.history-card {
  display: grid;
  gap: 3px;
}
.history-art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  margin-bottom: 4px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--amb);
}
.history-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.history-art .meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.history-done {
  position: absolute;
  top: 6px;
  left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 6px;
  background: #20c997;
  color: #06261c;
  font-size: 11px;
  font-weight: 800;
}
.history-card strong {
  font-size: 14px;
  font-weight: 800;
}
.history-card small {
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
}
.list-empty {
  margin: 32px auto 0;
}
.add-card {
  position: relative;
  flex: none;
}
.add-btn {
  position: absolute;
  z-index: 2;
  right: 6px;
  top: 6px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.add-btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: none;
}

/* ---------- 页脚：品牌推广卡 + 三个卖点 + 大字标志 ---------- */

.site-footer {
  margin: 44px var(--gutter) 0;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}
.footer-promo {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 178px 20px 22px;
  border-radius: 24px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(80% 60% at 15% 0%, rgba(255, 214, 102, 0.55), transparent 60%),
    radial-gradient(70% 60% at 100% 20%, rgba(116, 143, 252, 0.7), transparent 65%),
    linear-gradient(150deg, #ff8a65 0%, #e64980 48%, #7048e8 100%);
  box-shadow: 0 24px 50px -24px rgba(230, 73, 128, 0.8);
}
.footer-promo::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 50% 120%, rgba(0, 0, 0, 0.35), transparent 60%);
  pointer-events: none;
}
.promo-fan {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 0;
  height: 120px;
}
.promo-fan img {
  position: absolute;
  max-width: none;
  left: -38px;
  top: 0;
  width: 76px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 9px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transform: translateX(calc(var(--i) * 52px)) translateY(calc(var(--i) * var(--i) * 6px))
    rotate(calc(var(--i) * 9deg));
  transform-origin: 50% 120%;
  z-index: calc(10 - var(--i) * var(--i));
}
.footer-promo h2 {
  position: relative;
  z-index: 20;
  max-width: 15em;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.footer-promo p {
  position: relative;
  z-index: 20;
  max-width: 28em;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13.5px;
  line-height: 1.5;
}
.btn-light {
  position: relative;
  z-index: 20;
  height: 44px;
  margin-top: 6px;
  padding: 0 14px 0 18px;
  background: #fff;
  color: #1b1030;
  font-size: 14.5px;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
}
.perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.perk {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 2px;
  padding: 12px 10px 11px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--surface), var(--surface) 75%);
  background: linear-gradient(160deg, color-mix(in srgb, var(--perk) 26%, var(--surface)), var(--surface) 75%);
  box-shadow: inset 0 0 0 1px transparent;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--perk) 30%, transparent);
}
.perk-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 6px;
  border-radius: 11px;
  background: var(--perk);
  color: #0b0d12;
}
.perk strong {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 800;
}
.perk small {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.3;
}
.credit {
  margin-top: 16px;
}
.credit a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wordmark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 92px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.wordmark span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 30px var(--accent);
}

/* 手机横屏：播放器占满一屏 */
@media (orientation: landscape) and (max-height: 500px) {
  #app {
    max-width: none;
  }
  .player-stage {
    position: relative;
  }
  .player-shell:not(.is-fullscreen):not(:fullscreen) {
    aspect-ratio: auto !important;
    height: 100vh;
    height: 100dvh;
  }
}

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

/* 当前页是片单时，角标别压住文字 */
.tab.is-active .tab-icon:has(.tab-badge) {
  margin-right: 9px;
}

/* ---------- 播放页顶部：开播前画面 + 正在播放卡 ---------- */

.player-shell:not([data-started]) .player-center button:not(.round-play),
.player-shell:not([data-started]) .player-footer {
  opacity: 0;
  pointer-events: none;
}
.player-shell:not([data-started]) .player-shade {
  background:
    radial-gradient(60% 70% at 50% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 35%);
}
.player-shell:not([data-started]) .player-center .round-play {
  width: 68px;
  height: 68px;
  padding-left: 4px;
  border: 0;
  background: linear-gradient(140deg, #ffa182, #ff6b8b);
  color: #1a0b06;
  box-shadow: 0 10px 34px -6px rgba(255, 107, 139, 0.8);
}
.orb-ring {
  display: none;
}
.player-shell:not([data-started]) .orb-ring,
.player-shell:not([data-started]) .round-play::after {
  content: "";
  display: block;
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 179, 158, 0.65);
  animation: orb-pulse 2.4s var(--ease) infinite;
  pointer-events: none;
}
.player-shell:not([data-started]) .round-play::after {
  animation-delay: 1.2s;
}
.ready-label {
  position: absolute;
  left: 50%;
  top: calc(50% + 50px);
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.player-shell[data-started] .ready-label,
.player-shell.is-fullscreen .ready-label {
  display: none;
}

.now-card {
  position: relative;
  margin: 14px var(--gutter) 0;
  padding: 14px;
  overflow: hidden;
  border-radius: 22px;
  background: #0b0d12;
  background: color-mix(in srgb, var(--amb) 55%, #0b0d12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 18px 40px -22px var(--amb);
  isolation: isolate;
}
.now-bg {
  position: absolute;
  top: -20%;
  right: -20%;
  bottom: -20%;
  left: -20%;
  z-index: -2;
  width: 140%;
  height: 140%;
  max-width: none;
  object-fit: cover;
  filter: blur(28px) saturate(1.4);
  opacity: 0.55;
}
.now-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 13, 18, 0.15), rgba(11, 13, 18, 0.6));
}
.now-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.now-state {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--accent-soft);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.now-on {
  display: none;
}
body:has(#player-shell[data-playing="true"]) .now-on {
  display: inline;
}
body:has(#player-shell[data-playing="true"]) .now-off {
  display: none;
}
.eq {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
  height: 14px;
}
.eq i {
  width: 3px;
  height: 40%;
  border-radius: 2px;
  background: var(--accent);
}
.eq i:nth-child(2) { height: 75%; }
.eq i:nth-child(3) { height: 55%; }
.eq i:nth-child(4) { height: 30%; }
body:has(#player-shell[data-playing="true"]) .eq i {
  animation: eq 0.9s ease-in-out infinite alternate;
}
body:has(#player-shell[data-playing="true"]) .eq i:nth-child(2) { animation-delay: -0.3s; }
body:has(#player-shell[data-playing="true"]) .eq i:nth-child(3) { animation-delay: -0.6s; }
body:has(#player-shell[data-playing="true"]) .eq i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq {
  from { height: 20%; }
  to { height: 100%; }
}
.now-id {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
}
.now-id .watch-poster {
  width: 72px;
  border-radius: 10px;
}
.now-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.now-tagline {
  color: #e3e5ea;
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.4;
}
.now-copy .detail-meta {
  justify-content: flex-start;
  margin-top: 3px;
  font-size: 12.5px;
}
.now-card .watch-progress {
  margin: 14px 0 0;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.now-by {
  margin-top: 12px;
  color: #d5d8de;
}
.tone-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 14px var(--gutter) 0;
}
.tone-action {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 6px 2px;
  color: #e8eaee;
  font-size: 12px;
  font-weight: 700;
  transition: transform 160ms var(--ease);
}
.tone-action:active {
  transform: scale(0.94);
}
.tone-action .pref-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.8);
}
.tone-action[aria-pressed="true"] .pref-icon {
  box-shadow: 0 0 0 2px #fff;
}
@media (prefers-reduced-motion: reduce) {
  .eq i,
  .player-shell .orb-ring,
  .player-shell .round-play::after {
    animation: none !important;
  }
}

/* ---------- 搜索页顶部：海报墙 ---------- */

.search-hero {
  position: relative;
  height: 236px;
  overflow: hidden;
  isolation: isolate;
}
.poster-wall {
  position: absolute;
  top: -30px;
  right: -40px;
  bottom: 0;
  left: -40px;
  z-index: -2;
  display: grid;
  gap: 10px;
  align-content: start;
  transform: rotate(-8deg);
}
.wall-row {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: wall-slide 60s linear infinite;
  animation-direction: var(--dir);
}
.wall-row img {
  width: 82px;
  max-width: none;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.8;
}
@keyframes wall-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.search-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 13, 18, 0.3) 0%, rgba(11, 13, 18, 0.7) 45%, var(--bg) 90%),
    radial-gradient(110% 70% at 0% 55%, rgba(255, 107, 139, 0.4), transparent 65%);
}
.search-hero-copy {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 40px;
}
.search-hero-copy .kicker {
  margin: 0 0 4px;
}
.search-hero .search-title {
  margin: 0;
  font-size: 30px;
}
.search-sub {
  display: flex;
  flex-wrap: wrap;
  margin-top: 6px;
  color: #d5d8de;
  font-size: 12.5px;
  font-weight: 600;
}
/* 搜索页顶部：跳到底部“全部影片”一直往下划（标题不要被吸顶的搜索框挡住） */
#browse-all {
  scroll-margin-top: 166px;
}
.browse-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  color: #fff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.browse-jump:active {
  transform: scale(0.97);
}
.search-sub span + span::before {
  content: "•";
  margin: 0 7px;
  color: var(--accent);
}
.page-search .search-box {
  position: relative;
  box-shadow:
    0 0 0 2px rgba(255, 138, 101, 0.55),
    0 14px 34px -12px rgba(255, 107, 139, 0.6);
}
.page-search .search-box > svg {
  color: var(--accent);
}
.chip-count {
  min-width: 20px;
  height: 20px;
  margin-left: 2px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}
.filter-chip[aria-pressed="true"] .chip-count {
  background: rgba(26, 11, 6, 0.18);
}
@media (prefers-reduced-motion: reduce) {
  .wall-row {
    animation: none;
  }
}
.chart-copy .slide-meta {
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow: hidden;
  white-space: nowrap;
}

/* ---------- 账户页顶部：海报条、昵称编辑、偏爱类型、成就 ---------- */
.profile-strip {
  position: absolute;
  top: -18px;
  right: -26px;
  z-index: -1;
  display: flex;
  gap: 6px;
  transform: rotate(10deg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
  opacity: 0.4;
}
.profile-strip img {
  width: 46px;
  max-width: none;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 7px;
}
.profile-name {
  min-width: 0;
}
.profile-edit {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(20, 8, 30, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.profile-edit label,
.edit-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.profile-edit input {
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #14101a;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}
.tone-picks {
  display: flex;
  gap: 10px;
}
.tone-pick {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tone);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}
.tone-pick[aria-checked="true"] {
  box-shadow: 0 0 0 3px #fff;
}
.edit-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 4px;
}
.edit-actions button {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
}
.edit-actions .is-primary {
  background: #fff;
  color: #c2255c;
}
.fav-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 14px;
}
.fav-genres > span {
  width: 100%;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fav-genres b {
  position: relative;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(20, 8, 30, 0.3);
  font-size: 13px;
  font-weight: 800;
  isolation: isolate;
}
.fav-genres b::before {
  content: "";
  position: absolute;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: var(--w);
  background: rgba(255, 255, 255, 0.22);
}
.fav-genres b.fav-0 {
  background: #fff;
  color: #c2255c;
}
.fav-genres b.fav-0::before {
  display: none;
}
.fav-genres i {
  font-style: normal;
  opacity: 0.7;
}
.achv {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 14px;
}
.achv-item {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 10px 4px 8px;
  border-radius: 14px;
  background: rgba(20, 8, 30, 0.28);
  text-align: center;
  opacity: 0.7;
}
.achv-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25);
}
.achv-item strong {
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.2;
}
.achv-item small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  font-weight: 700;
}
.achv-item.is-on {
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
}
.achv-item.is-on .achv-icon {
  background: linear-gradient(140deg, #ffe08a, #ffa94d);
  color: #5c2b00;
  box-shadow: 0 6px 14px -6px rgba(255, 169, 77, 0.9);
}
.achv-item.is-on small {
  color: #ffe08a;
}

/* ---------- 详情页底部 ---------- */
.like-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.like-row {
  display: grid;
  grid-template-columns: 128px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 18px;
  background:
    radial-gradient(120% 140% at 0% 50%, transparent, transparent 70%),
    var(--surface);
  background:
    radial-gradient(120% 140% at 0% 50%, color-mix(in srgb, var(--amb) 45%, transparent), transparent 70%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.like-art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: var(--amb);
}
.like-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.like-time {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  font-size: 10.5px;
  font-weight: 800;
}
.like-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.like-copy strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.like-meta {
  display: flex;
  overflow: hidden;
  color: var(--faint);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.like-meta span + span::before {
  content: "·";
  margin: 0 5px;
}
.like-reason {
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 700;
}
.like-reason svg {
  flex: none;
}
.like-meter {
  display: block;
  width: 80%;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}
.like-meter i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #ffd43b, var(--accent));
}
.like-save {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.like-save[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}

.share-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 76px;
  gap: 4px 12px;
  margin: 26px var(--gutter) 0;
  padding: 18px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #0c8f6a 0%, #138a8a 45%, #3b5bdb 110%);
  box-shadow: 0 20px 40px -24px rgba(12, 143, 106, 0.9);
  isolation: isolate;
}
.share-card::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  z-index: -1;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 65%);
}
.share-poster {
  grid-column: 2;
  grid-row: 1;
  width: 76px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: -6px 10px 20px rgba(0, 0, 0, 0.35);
  transform: rotate(6deg);
}
.share-copy {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  align-content: center;
  gap: 4px;
}
.share-copy .kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}
.share-copy h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.share-copy p:last-child {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.45;
}
.share-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.share-btn {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 8px;
  border-radius: 14px;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.share-wa {
  background: #fff;
  color: #0c7a5a;
  box-shadow: none;
}

.final-cta {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 20px var(--gutter) 0;
  padding: 22px 18px;
  overflow: hidden;
  border-radius: 22px;
  background: #0b0d12;
  background: color-mix(in srgb, var(--amb) 60%, #0b0d12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  isolation: isolate;
}
.final-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 9, 14, 0.92) 25%, rgba(8, 9, 14, 0.35));
}
.final-copy {
  flex: 1;
  display: grid;
  gap: 2px;
  min-width: 0;
}
.final-copy p {
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.final-copy strong {
  overflow: hidden;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.final-copy .slide-meta {
  justify-content: flex-start;
}
.final-play {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 62px;
  height: 62px;
  padding-left: 4px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ffa182, #ff6b8b);
  color: #1a0b06;
  box-shadow: 0 10px 28px -6px rgba(255, 107, 139, 0.8);
}
.final-play::after {
  content: "";
  position: absolute;
  top: -7px;
  right: -7px;
  bottom: -7px;
  left: -7px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 179, 158, 0.6);
  animation: orb-pulse 2.4s var(--ease) infinite;
}
.final-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 0;
}
@media (prefers-reduced-motion: reduce) {
  .final-play::after {
    animation: none;
  }
}

/* ---------- 播放页底部 ---------- */
.autoplay-toggle {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}
.autoplay-toggle i {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--surface-3);
  transition: background 0.2s;
}
.autoplay-toggle i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s var(--ease);
}
.autoplay-toggle[aria-checked="true"] i {
  background: linear-gradient(120deg, #ff8a65, #ff5f8f);
}
.autoplay-toggle[aria-checked="true"] i::after {
  transform: translateX(16px);
}
.autoplay-note {
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
}
.queue .next-row {
  position: relative;
  grid-template-columns: 22px 136px 1fr;
}
.queue-no {
  align-self: center;
  color: transparent;
  font-size: 26px;
  font-weight: 800;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.45);
  text-align: center;
}
.tips-card {
  margin: 26px var(--gutter) 0;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(122, 92, 255, 0.35), transparent 60%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tips-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.tips-head strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}
.tips-head small {
  color: var(--faint);
  font-size: 12px;
}
.tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.tip {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tip-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  border-radius: 13px;
  color: #fff;
  font-size: 12px;
}
.tip-icon b {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.tip-taps {
  display: flex;
  gap: 4px;
}
.tip-taps i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.tip-swipe {
  display: flex;
}
.tip-swipe svg {
  margin: 0 -2px;
}
.tip strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}
.tip small {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.35;
}
.block > .section-row:has(.autoplay-toggle) {
  margin-bottom: 12px;
}
.queue .next-row {
  grid-template-columns: 22px 116px 1fr;
}
.queue .next-copy small:first-of-type {
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow: hidden;
  white-space: nowrap;
}
.tip-icon {
  width: auto;
  min-width: 40px;
  padding: 0 7px;
  justify-self: start;
}

/* ---------- 搜索页下半部分 ---------- */
.length-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.length-tile {
  position: relative;
  display: grid;
  align-content: end;
  gap: 1px;
  height: 148px;
  padding: 12px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--bg);
  text-align: left;
  isolation: isolate;
  transition: transform 0.2s var(--ease);
}
.length-tile:active {
  transform: scale(0.97);
}
.length-tile:disabled {
  opacity: 0.45;
}
.length-fan {
  position: absolute;
  top: 10px;
  right: 6px;
  z-index: -1;
  width: 80px;
  height: 70px;
}
.length-fan img {
  position: absolute;
  right: calc(var(--i) * 16px);
  top: calc(var(--i) * 3px);
  z-index: calc(3 - var(--i));
  width: 40px;
  max-width: none;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: -3px 5px 10px rgba(0, 0, 0, 0.35);
  transform: rotate(calc(10deg - var(--i) * 9deg));
}
.length-tile strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.length-tile small {
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 700;
}
.length-tile em {
  justify-self: start;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.timeline {
  margin: 0 calc(var(--gutter) * -1);
  overflow-x: auto;
  scrollbar-width: none;
}
.timeline::-webkit-scrollbar {
  display: none;
}
.timeline-track {
  position: relative;
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 0 var(--gutter) 4px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 33px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #9775fa);
  opacity: 0.6;
}
.tl-item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 92px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.tl-item:disabled {
  opacity: 0.5;
}
.tl-blank {
  display: grid;
  place-items: center;
  width: 92px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  border-radius: 12px;
  background: linear-gradient(160deg, transparent, rgba(255, 255, 255, 0.04));
  background: linear-gradient(160deg, color-mix(in srgb, var(--amb) 60%, transparent), rgba(255, 255, 255, 0.04));
  font-size: 22px;
  font-weight: 800;
  opacity: 0.8;
}
.tl-year {
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amb);
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 5px var(--accent);
}
.tl-item img {
  width: 92px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.8);
}
.tl-item strong {
  width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sub-tile {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 10px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
}
.sub-code {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, #ff8a65, #e64980);
  font-size: 12.5px;
  font-weight: 800;
}
.sub-tile:nth-child(2) .sub-code {
  background: linear-gradient(140deg, #74c0fc, #1864ab);
}
.sub-tile:nth-child(3) .sub-code {
  background: linear-gradient(140deg, #ffd43b, #e8590c);
}
.sub-tile span:last-child {
  display: grid;
  min-width: 0;
}
.sub-tile strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sub-tile small {
  color: var(--faint);
  font-size: 11.5px;
}

.help-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin: 26px var(--gutter) 0;
  padding: 16px;
  border-radius: 20px;
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(255, 138, 101, 0.25), transparent 60%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.help-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(140deg, #ff8a65, #e64980);
}
.help-card strong {
  font-size: 15px;
  font-weight: 800;
}
.help-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.help-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.help-btn {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px var(--line);
}
.sub-tile {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
}
.sub-tile strong {
  white-space: normal;
}

/* ---------- 片单页底部 ---------- */
.marathon {
  margin: 26px var(--gutter) 0;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(255, 138, 101, 0.3), transparent 60%),
    radial-gradient(90% 120% at 0% 100%, rgba(151, 117, 250, 0.25), transparent 60%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.marathon-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.marathon-head .kicker {
  margin: 0 0 2px;
}
.marathon-head h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.marathon-head small {
  color: var(--faint);
  font-size: 12px;
}
.marathon-go {
  display: grid;
  flex: none;
  place-items: center;
  width: 54px;
  height: 54px;
  padding-left: 3px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ffa182, #ff6b8b);
  color: #1a0b06;
  box-shadow: 0 10px 24px -8px rgba(255, 107, 139, 0.8);
}
.marathon-bar {
  display: flex;
  gap: 3px;
  height: 10px;
  margin-top: 14px;
}
.marathon-bar i {
  min-width: 6px;
  border-radius: 999px;
  background: var(--c);
}
.marathon-list {
  display: grid;
  gap: 2px;
  margin-top: 12px;
}
.marathon-list a {
  display: grid;
  grid-template-columns: 40px 14px 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
}
.m-time {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.m-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 3px transparent;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent);
}
.marathon-list img {
  width: 34px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 6px;
}
.m-copy {
  display: grid;
  min-width: 0;
}
.m-copy strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.m-copy small {
  color: var(--muted);
  font-size: 12px;
}

.because-track {
  display: flex;
  gap: 10px;
  margin: 12px calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter) 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.because-track::-webkit-scrollbar {
  display: none;
}
.because-card {
  position: relative;
  flex: none;
  width: 250px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(180deg, transparent, transparent 70%),
    var(--surface);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--amb) 35%, transparent), transparent 70%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  scroll-snap-align: start;
}
.because-art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--amb);
}
.because-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.because-len {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  font-size: 11px;
  font-weight: 800;
}
.because-copy {
  display: grid;
  gap: 4px;
  padding: 10px 12px 12px;
}
.because-copy small {
  display: flex;
  gap: 6px;
  align-items: center;
  overflow: hidden;
  color: var(--accent-soft);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.because-copy small img {
  flex: none;
  width: 16px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 3px;
}
.because-copy strong {
  font-size: 16px;
  font-weight: 800;
}
.because-copy .slide-meta {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 12px;
}
.because-card .like-save {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.because-card .like-save[aria-pressed="true"] {
  background: var(--accent);
}

.share-list {
  background: linear-gradient(135deg, #e64980 0%, #9c36b5 55%, #4263eb 110%);
  box-shadow: 0 20px 40px -24px rgba(156, 54, 181, 0.9);
}
.share-list .share-actions {
  grid-template-columns: 1fr 1fr;
}
.share-list .share-wa {
  color: #9c36b5;
}
.share-stack {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 76px;
  height: 100px;
}
.share-stack img {
  position: absolute;
  right: calc(var(--i) * 12px);
  top: calc(var(--i) * 4px);
  z-index: calc(3 - var(--i));
  width: 58px;
  max-width: none;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: -4px 6px 14px rgba(0, 0, 0, 0.35);
  transform: rotate(calc(10deg - var(--i) * 9deg));
}
.marathon-list {
  padding: 0;
  list-style: none;
}
.because-track {
  scroll-padding-inline: var(--gutter);
}

/* ---------- 账户页底部 ---------- */
.switch {
  position: relative;
  flex: none;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: var(--surface-3);
  transition: background 0.2s;
}
.switch i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s var(--ease);
}
.switch[aria-checked="true"] {
  background: linear-gradient(120deg, #ff8a65, #ff5f8f);
}
.switch[aria-checked="true"] i {
  transform: translateX(18px);
}
.invite-card {
  margin-bottom: 24px;
  background: linear-gradient(135deg, #f76707 0%, #e64980 50%, #7048e8 110%);
  box-shadow: 0 20px 40px -24px rgba(230, 73, 128, 0.9);
}
.invite-card .share-actions {
  grid-template-columns: 1fr 1fr;
}
.invite-card .share-wa {
  color: #c2255c;
}
.invite-fan {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 76px;
  height: 100px;
}
.invite-fan img {
  position: absolute;
  right: calc(var(--i) * 12px);
  top: calc(var(--i) * 4px);
  z-index: calc(3 - var(--i));
  width: 58px;
  max-width: none;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: -4px 6px 14px rgba(0, 0, 0, 0.35);
  transform: rotate(calc(10deg - var(--i) * 9deg));
}
.credits {
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(44, 199, 160, 0.14), rgba(44, 199, 160, 0.02) 60%),
    var(--surface);
  box-shadow: inset 0 0 0 1px rgba(44, 199, 160, 0.28);
}
.credit-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.credit-head .acct-title {
  margin: 0;
}
.credit-head small {
  color: var(--muted);
  font-size: 12px;
}
.credit-list {
  display: grid;
  gap: 2px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.credit-list a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 7px 0;
}
.credit-list li + li a {
  border-top: 1px solid var(--line);
}
.credit-list img {
  width: 34px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 6px;
}
.credit-list a > span {
  display: grid;
  min-width: 0;
}
.credit-list strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.credit-list small {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  justify-content: flex-start;
  color: var(--faint);
  font-size: 12px;
}
.credit-list small span + span::before {
  content: "·";
  margin: 0 5px;
}
.credit-list em {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(44, 199, 160, 0.18);
  color: #63e6be;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.credit-note {
  margin-top: 10px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- 首页底部 ---------- */
.journey {
  display: grid;
  gap: 12px;
  margin: 26px var(--gutter) 0;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(100% 140% at 0% 0%, rgba(255, 138, 101, 0.28), transparent 60%),
    radial-gradient(90% 120% at 100% 100%, rgba(32, 201, 151, 0.2), transparent 60%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.journey-copy .kicker {
  margin: 0 0 2px;
}
.journey-copy h2 {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.journey-copy small {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 12px;
}
/* 本月看完 / 累计看完 / 在看 */
.journey-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 10px 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}
.journey-stats div {
  display: grid;
  justify-items: center;
  gap: 2px;
}
.journey-stats div + div {
  border-left: 1px solid var(--line);
}
.journey-stats dd {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}
.journey-stats dt {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}
/* 最近看过的：一排小海报，看完的打勾，没看完的底部进度条 */
.journey-posters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.journey-posters::-webkit-scrollbar {
  display: none;
}
.jp {
  position: relative;
  flex: 0 0 56px;
  display: block;
  aspect-ratio: var(--poster-ar, 2 / 3);
  overflow: hidden;
  border-radius: 9px;
}
.jp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jp.is-done {
  box-shadow: inset 0 0 0 2px var(--accent);
}
.jp i {
  position: absolute;
  right: 3px;
  top: 3px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
}
.jp-meter {
  position: absolute;
  top: auto;
  right: 4px;
  bottom: 4px;
  left: 4px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.jp-meter b {
  display: block;
  height: 100%;
  background: #ffd43b;
}
.journey-go {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: #fff;
  color: #14101a;
  font-size: 13.5px;
  font-weight: 800;
}
.journey-go span {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.journey-go svg:first-child {
  color: #e64980;
}
.home-sort {
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.poster-grid.captioned .grid-item {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.poster-grid.captioned .poster {
  width: 100%;
}
.grid-meta {
  display: flex;
  overflow: hidden;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.grid-meta span + span::before {
  content: "·";
  margin: 0 5px;
}
.feed-end {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 30px var(--gutter) 0;
  padding: 22px 18px 18px;
  border-radius: 22px;
  border: 1.5px dashed rgba(255, 255, 255, 0.14);
  text-align: center;
}
.feed-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ffd43b, #ff8a65 50%, #e64980);
  color: #1a0b06;
  box-shadow: 0 10px 24px -10px rgba(255, 138, 101, 0.8);
}
.feed-end h2 {
  font-size: 18px;
  font-weight: 800;
}
.feed-end p {
  max-width: 32ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.feed-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}
.feed-btn {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px var(--line);
}
.feed-btn:first-child svg {
  transform: rotate(90deg);
}
.feed-btn.is-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: none;
}

/* ---------- 详情页中部 ---------- */
.cta-finish {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: -2px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.cta-finish svg {
  color: var(--accent);
}
.sub-picker {
  margin: 22px var(--gutter) 0;
  padding: 14px;
  border-radius: 18px;
  background:
    radial-gradient(100% 140% at 100% 0%, rgba(138, 107, 255, 0.22), transparent 60%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.sub-picker-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.sub-picker-head strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
}
.sub-picker-head small {
  color: var(--faint);
  font-size: 12px;
}
.sub-picker .pref-chip {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.tagline-quote {
  position: relative;
  margin: 12px 0 14px;
  padding: 16px 16px 16px 46px;
  border-radius: 16px;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.03));
  background: linear-gradient(120deg, color-mix(in srgb, var(--amb) 45%, transparent), rgba(255, 255, 255, 0.03));
  box-shadow: inset 3px 0 0 var(--accent);
}
.tagline-quote span {
  position: absolute;
  left: 12px;
  top: 2px;
  color: var(--accent);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}
.tagline-quote p {
  font-size: 17px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.stills-block .section-row {
  margin-bottom: 12px;
}
.bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(3, 70px);
  gap: 6px;
}
.bento .still {
  position: relative;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 12px;
  background: var(--amb);
}
.bento .still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento-0 {
  grid-row: span 2;
}
.bento-1 {
  grid-row: span 1;
}
.bento-2 {
  grid-row: span 2;
}
.bento-3 {
  grid-row: span 1;
}
.bento-more {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  background: rgba(8, 9, 14, 0.62);
  font-size: 22px;
  font-weight: 800;
  backdrop-filter: blur(2px);
}
.bento-more small {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

/* ---------- 播放页中部 ---------- */
.quick-card {
  margin: 22px var(--gutter) 0;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(100% 140% at 100% 0%, rgba(138, 107, 255, 0.22), transparent 60%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.qc-head h2 {
  font-size: 17px;
  font-weight: 800;
}
.qc-head small {
  color: var(--faint);
  font-size: 12px;
}
.qc-row {
  display: grid;
  gap: 8px;
  padding-top: 14px;
}
.qc-row + .qc-row {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.qc-label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
  font-weight: 800;
}
.qc-label .pref-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}
.quick-card .sub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
}
.qc-size {
  min-width: 48px;
  justify-content: center;
  font-weight: 800;
}
.qc-a-s { font-size: 12px; }
.qc-a-m { font-size: 15px; }
.qc-a-l { font-size: 19px; }

.scene-line {
  position: relative;
  height: 28px;
  margin: 2px var(--gutter) 0;
}
.scene-line::before,
.scene-fill {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  height: 4px;
  border-radius: 4px;
}
.scene-line::before {
  right: 0;
  background: rgba(255, 255, 255, 0.12);
}
.scene-fill {
  width: 0;
  background: linear-gradient(90deg, #ffb59e, var(--accent));
  transition: width 0.9s linear;
}
.scene-mark {
  position: absolute;
  top: 2px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-radius: 50%;
  background: var(--surface-3);
  box-shadow: 0 0 0 3px var(--bg);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.scene-mark.is-past {
  background: #ffb59e;
  color: #1a0b06;
}
.scene-mark.is-now {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 5px rgba(255, 138, 101, 0.5);
}
.scene-ends {
  display: flex;
  justify-content: space-between;
  margin: 0 var(--gutter) 10px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.scene.is-now .scene-thumb {
  box-shadow: 0 0 0 2px var(--accent);
}
.scene.is-now .scene-label {
  color: var(--accent-soft);
}
.scene.is-now .scene-label::after {
  content: " ●";
  color: var(--accent);
}

/* ---------- 搜索页中部 ---------- */
.recent-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.recent-chip .suggest {
  padding-right: 6px;
  background: none;
  box-shadow: none;
}
.recent-x {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 4px;
  border-radius: 50%;
  color: var(--faint);
}
.recent-x svg {
  transform: rotate(45deg);
}
.suggest-cards {
  display: flex;
  gap: 8px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.suggest-cards::-webkit-scrollbar {
  display: none;
}
.suggest-card {
  flex: none;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 14px 6px 6px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
}
.sc-art {
  position: relative;
  flex: none;
  width: 34px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-3);
}
.sc-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sc-art i {
  position: absolute;
  right: 2px;
  bottom: 2px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
}
.sc-copy {
  display: grid;
}
.sc-copy strong {
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
}
.sc-copy small {
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.genre-tile {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 2px;
}
.genre-count {
  position: relative;
  z-index: 1;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  font-size: 11px;
  font-weight: 800;
}
.genre-tile.is-wide {
  grid-column: 1 / -1;
}
.genre-fan {
  position: absolute;
  right: 14px;
  top: 10px;
  width: 140px;
  height: 80px;
}
.genre-fan img {
  position: absolute;
  right: calc(var(--k) * 34px);
  top: calc(var(--k) * 3px);
  z-index: calc(3 - var(--k));
  width: 52px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 7px;
  transform: rotate(calc(14deg - var(--k) * 10deg));
  box-shadow: -4px 4px 14px rgba(0, 0, 0, 0.4);
}
.champ {
  position: relative;
  display: block;
  height: 190px;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--amb);
  isolation: isolate;
}
.champ img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.champ::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 25%, rgba(6, 7, 10, 0.9));
}
.champ-rank {
  position: absolute;
  top: -10px;
  left: 10px;
  color: transparent;
  font-size: 110px;
  font-weight: 800;
  line-height: 1;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.champ-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: grid;
  gap: 4px;
}
.champ-tags {
  display: flex;
  gap: 6px;
}
.champ-copy strong {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.champ-copy .slide-meta {
  justify-content: flex-start;
}
.chart-copy {
  min-width: 0;
}
.people-card {
  position: relative;
  flex: none;
  display: grid;
  justify-items: start;
  align-content: end;
  gap: 2px;
  width: 168px;
  height: 128px;
  padding: 12px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--amb);
  text-align: left;
  isolation: isolate;
}
.people-card img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.people-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 9, 14, 0.2), rgba(8, 9, 14, 0.88));
}
.people-card .person-avatar {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  font-size: 14px;
}
.people-card strong {
  font-size: 14px;
  font-weight: 800;
}
.people-card small {
  overflow: hidden;
  width: 100%;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ---------- 片单页中部 ---------- */
.status-chips {
  display: flex;
  gap: 8px;
  margin: 14px calc(var(--gutter) * 0) 0;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.status-chips::-webkit-scrollbar {
  display: none;
}
.status-chip {
  flex: none;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  height: 34px;
  padding: 0 6px 0 12px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  color: #e4e6ea;
  font-size: 12.5px;
  font-weight: 700;
}
.status-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}
.st-going i { background: #ffd43b; }
.st-new i { background: #74c0fc; }
.st-done i { background: #63e6be; }
.st-all i { background: linear-gradient(135deg, #ffd43b, #74c0fc, #63e6be); }
.status-chip b {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
  line-height: 22px;
  text-align: center;
}
.status-chip[aria-pressed="true"] {
  background: #fff;
  color: #14101a;
  box-shadow: none;
}
.status-chip[aria-pressed="true"] b {
  background: var(--accent);
  color: var(--accent-ink);
}
.status-chip:disabled {
  opacity: 0.4;
}
.view-toggle {
  display: flex;
  margin-left: auto;
  padding: 3px;
  border-radius: 10px;
  background: var(--surface-2);
}
.view-toggle button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 28px;
  border-radius: 8px;
  color: var(--faint);
}
.view-toggle button[aria-pressed="true"] {
  background: var(--surface-3);
  color: #fff;
}
.saved-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-sub {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}
.ring-play {
  position: relative;
}
.saved-actions .ring-play::before {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  bottom: -4px;
  left: -4px;
  border-radius: 50%;
  background: conic-gradient(#ffd43b calc(var(--p) * 1%), rgba(255, 255, 255, 0.12) 0);
  -webkit-mask: radial-gradient(circle, transparent 21px, #000 22px);
  mask: radial-gradient(circle, transparent 21px, #000 22px);
}
.saved-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 10px;
  margin: 14px var(--gutter) 0;
}
.saved-card {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
}
.saved-card-art {
  position: relative;
  display: block;
  aspect-ratio: var(--poster-ar, 2 / 3);
  overflow: hidden;
  border-radius: 16px;
  background: var(--amb);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.9);
}
.saved-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.saved-card-art::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.6));
}
.sc-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 1;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 3px 8px;
  border-radius: 7px;
  background: #74c0fc;
  color: #08223a;
  font-size: 11px;
  font-weight: 800;
}
.sc-badge.is-going {
  background: #ffd43b;
  color: #3b2a00;
}
.sc-badge.is-done {
  background: #63e6be;
  color: #06221b;
}
.saved-card-play {
  position: absolute;
  right: 10px;
  bottom: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding-left: 2px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
}
.saved-card-art .meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  border-radius: 0;
}
.saved-card-x {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.saved-card-x svg {
  transform: rotate(45deg);
}
.saved-card strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  font-size: 14.5px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.saved-card .slide-meta {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 12px;
}
.history-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px var(--gutter) 0;
}
.history-summary span {
  display: grid;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
}
.history-summary b {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

/* ---------- 账户页中部 ---------- */
.shortcut {
  isolation: isolate;
}
.sc-fan {
  position: absolute;
  top: 12px;
  right: 10px;
  z-index: 1;
  width: 74px;
  height: 56px;
}
.sc-fan img {
  position: absolute;
  right: calc(var(--i) * 15px);
  top: calc(var(--i) * 2px);
  z-index: calc(3 - var(--i));
  width: 36px;
  max-width: none;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: -3px 4px 10px rgba(0, 0, 0, 0.3);
  transform: rotate(calc(10deg - var(--i) * 9deg));
}
.sc-dots {
  position: absolute;
  top: 18px;
  right: 14px;
  z-index: 1;
  display: flex;
  gap: 5px;
}
.sc-dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}
.sc-dots i.is-done {
  background: #fff;
}
.sc-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  mix-blend-mode: luminosity;
}
.sc-meter {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 4px;
}
.sc-meter i {
  background: #fff;
}
.shortcut-c {
  padding-bottom: 18px;
}
.stat-card {
  padding: 16px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.stat-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.stat-tiles div {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 14px;
  background: var(--surface-2);
}
.stat-tiles strong {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-tiles i {
  margin-left: 2px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.stat-tiles small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}
.genre-bars {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.gb-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.gb-row {
  display: grid;
  grid-template-columns: 96px 1fr 30px;
  gap: 10px;
  align-items: center;
}
.gb-label {
  overflow: hidden;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.gb-track {
  height: 10px;
  border-radius: 0 4px 4px 0;
  background: rgba(255, 255, 255, 0.05);
}
.gb-track i {
  display: block;
  height: 100%;
  border-radius: 0 4px 4px 0;
  background: var(--accent);
}
.gb-val {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.gb-note {
  color: var(--faint);
  font-size: 11.5px;
}
.stat-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.stat-empty svg {
  color: var(--accent);
}

/* ---------- 首页中部 ---------- */
.rail-rank .rank {
  position: relative;
  padding-bottom: 22px;
}
.rank-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 108px;
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.rank-meta span + span::before {
  content: "·";
  margin: 0 4px;
}
.resume-wide {
  display: grid;
  gap: 12px;
  margin: 0 var(--gutter);
  padding: 10px 10px 12px;
  border-radius: 22px;
  background:
    radial-gradient(120% 100% at 0% 0%, transparent, transparent 70%),
    var(--surface);
  background:
    radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--amb) 55%, transparent), transparent 70%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.rw-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-radius: 16px;
  background: var(--amb);
}
.rw-art img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rw-play {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.rw-body {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: -40px;
  padding: 0 8px;
  position: relative;
}
.rw-poster {
  width: 56px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 9px;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.8), 0 0 0 2px var(--surface);
}
.rw-copy {
  display: grid;
  gap: 2px;
  padding-top: 30px;
}
.rw-copy strong {
  font-size: 18px;
  font-weight: 800;
}
.rw-copy small {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.rw-bar {
  display: grid;
  gap: 4px;
  padding: 0 8px;
}
.rw-bar .meter {
  height: 5px;
  border-radius: 4px;
}
.rw-times {
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rw-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  padding: 0 8px;
}
.spot-stills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 6px;
}
.spot-stills a {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: var(--amb);
}
.spot-stills img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spot-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.spot-facts span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e3e5ea;
  font-size: 12px;
  font-weight: 700;
}
.spot-facts svg {
  color: var(--accent);
}
.spot-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.sub-feature {
  position: relative;
  flex: none;
  display: block;
  width: 280px;
  height: 168px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--amb);
  isolation: isolate;
}
.sub-feature > img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sub-feature::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 25%, rgba(6, 7, 10, 0.92));
}
.sf-cc {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 800;
}
.sf-copy {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: grid;
  gap: 4px;
}
.sf-copy strong {
  font-size: 18px;
  font-weight: 800;
}
.sf-copy small {
  display: flex;
  color: #d5d8de;
  font-size: 12px;
  font-weight: 600;
}
.sf-copy small span + span::before {
  content: "·";
  margin: 0 5px;
}
.sf-langs {
  display: flex;
  gap: 5px;
}
.sf-langs i {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.sf-langs i.is-local {
  background: rgba(255, 138, 101, 0.3);
  color: #ffd3c2;
}

/* ---------- 详情页底部：类型入口、播映授权 ---------- */
.gx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.gx-tile {
  position: relative;
  display: grid;
  align-content: end;
  gap: 2px;
  height: 118px;
  padding: 12px 14px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(140deg, #fff, var(--tone));
  background: linear-gradient(140deg, color-mix(in srgb, var(--tone) 100%, #fff 10%), var(--tone));
  text-align: left;
  isolation: isolate;
}
.gx-fan {
  position: absolute;
  top: 10px;
  right: 8px;
  z-index: -1;
  width: 86px;
  height: 64px;
}
.gx-fan img {
  position: absolute;
  right: calc(var(--k) * 18px);
  top: calc(var(--k) * 3px);
  z-index: calc(3 - var(--k));
  width: 40px;
  max-width: none;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  transform: rotate(calc(10deg - var(--k) * 9deg));
  box-shadow: -3px 4px 10px rgba(0, 0, 0, 0.3);
}
.gx-tile strong {
  font-size: 18px;
  font-weight: 800;
}
.gx-tile small {
  color: rgba(255, 255, 255, 0.88);
  font-size: 11.5px;
  font-weight: 700;
}
.rights-card {
  position: relative;
  margin: 20px var(--gutter) 0;
  padding: 18px 16px 16px;
  border-radius: 22px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(44, 199, 160, 0.25), transparent 60%),
    linear-gradient(160deg, #10241f, #0f151b 70%);
  box-shadow: inset 0 0 0 1px rgba(44, 199, 160, 0.3);
}
.rc-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.rc-seal {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #2cc7a0;
  color: #06221b;
  box-shadow:
    0 0 0 4px rgba(44, 199, 160, 0.2),
    0 0 0 8px rgba(44, 199, 160, 0.08);
}
.rc-head .kicker {
  margin: 0;
  color: #63e6be;
}
.rc-head h2 {
  font-size: 18px;
  font-weight: 800;
}
.rc-perf {
  height: 0;
  margin: 16px -16px 6px;
  border-top: 2px dashed rgba(99, 230, 190, 0.28);
  position: relative;
}
.rc-perf::before,
.rc-perf::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
}
.rc-perf::before {
  left: -10px;
}
.rc-perf::after {
  right: -10px;
}
.rc-rows {
  display: grid;
  margin: 0;
}
.rc-rows div {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.rc-rows div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.rc-rows dt {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.rc-rows dt svg {
  color: #63e6be;
}
.rc-rows dd {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  font-size: 13.5px;
  font-weight: 800;
  text-align: right;
}
.rc-flag {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(99, 230, 190, 0.18);
  color: #63e6be;
  font-size: 11px;
}
.rc-note {
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.5;
}
.gx-tile:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* ---------- 播放页：本次观看会话 ---------- */
.session-card {
  margin: 26px var(--gutter) 0;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(100% 140% at 0% 0%, rgba(255, 138, 101, 0.2), transparent 60%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ss-head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.ss-live {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 16px;
  font-weight: 800;
}
.ss-live i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--faint);
}
.session-card[data-playing="true"] .ss-live i {
  background: #ff5f5f;
  box-shadow: 0 0 0 0 rgba(255, 95, 95, 0.6);
  animation: ss-pulse 1.6s ease-out infinite;
}
@keyframes ss-pulse {
  to { box-shadow: 0 0 0 8px rgba(255, 95, 95, 0); }
}
.ss-head small {
  color: var(--faint);
  font-size: 11.5px;
}
.ss-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.ss-cell {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: var(--surface-2);
}
.ss-cell .pref-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}
.ss-cell > span:last-child {
  display: grid;
  min-width: 0;
}
.ss-cell small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ss-cell strong {
  font-size: 17px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .session-card .ss-live i {
    animation: none !important;
  }
}

/* ---------- 搜索页底部：A–Z 索引、搜索技巧 ---------- */
.az-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.az-letter {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 17px;
  font-weight: 800;
}
.az-letter small {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  line-height: 18px;
}
.az-list {
  display: grid;
  gap: 14px;
}
.az-group {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  border-radius: 14px;
}
.az-group.is-flash {
  animation: az-flash 1.2s ease;
}
@keyframes az-flash {
  0%, 40% { background: rgba(255, 138, 101, 0.16); }
  100% { background: transparent; }
}
.az-key {
  position: sticky;
  top: 200px;
  align-self: start;
  padding-top: 8px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}
.az-rows {
  display: grid;
  gap: 8px;
}
.az-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  background: linear-gradient(100deg, var(--surface), var(--surface) 70%);
  background: linear-gradient(100deg, color-mix(in srgb, var(--amb) 28%, var(--surface)), var(--surface) 70%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.az-thumb img {
  width: 48px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 8px;
}
.az-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.az-copy strong {
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.az-copy small {
  display: flex;
  overflow: hidden;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
}
.az-copy small span + span::before {
  content: "·";
  margin: 0 4px;
}
.az-dir {
  gap: 4px;
  align-items: center;
  color: var(--faint) !important;
}
.tips-search {
  margin: 26px var(--gutter) 0;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(255, 138, 101, 0.22), transparent 60%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ts-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.ts-head strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}
.ts-head small {
  color: var(--faint);
  font-size: 12px;
}
.ts-grid {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.ts-tip {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: var(--surface-2);
  text-align: left;
}
.ts-tip .pref-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}
.ts-copy {
  display: grid;
  flex: 1;
  min-width: 0;
}
.ts-copy small {
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
}
.ts-copy strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ts-tip em {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 138, 101, 0.16);
  color: var(--accent-soft);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 800;
}
.ts-note {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  margin: 12px 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.ts-note svg {
  color: var(--accent);
}
.ts-note b {
  color: var(--accent-soft);
}

/* ---------- 片单页底部：片单构成 / 观看记录补充 ---------- */
.makeup {
  margin: 26px var(--gutter) 0;
  padding: 16px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.mk-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.mk-head h2 {
  font-size: 18px;
  font-weight: 800;
}
.mk-head small {
  color: var(--faint);
  font-size: 12px;
}
.mk-label {
  margin: 14px 0 8px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mk-bar {
  display: flex;
  gap: 2px;
  height: 14px;
  overflow: hidden;
  border-radius: 4px;
}
.mk-bar i {
  min-width: 6px;
}
.mk-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
}
.mk-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}
.mk-legend b {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.mk-legend em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}
.mk-note {
  margin-top: 8px;
  color: var(--faint);
  font-size: 11.5px;
}
.mk-lengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mk-lengths div {
  display: grid;
  gap: 1px;
  padding: 10px;
  border-radius: 14px;
  background: var(--surface-2);
}
.mk-lengths strong {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}
.mk-lengths span {
  font-size: 13px;
  font-weight: 800;
}
.mk-lengths small {
  color: var(--faint);
  font-size: 11px;
}
.mk-lengths .is-zero {
  opacity: 0.45;
}
.mk-sub {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 8px;
  align-items: center;
  margin-top: 14px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
}
.mk-sub svg {
  color: var(--accent);
}
.mk-sub-bar {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}
.mk-sub-bar i {
  display: block;
  height: 100%;
  border-radius: 0 4px 4px 0;
  background: var(--accent);
}
.rewatch-card {
  position: relative;
  flex: none;
  display: block;
  width: 240px;
  height: 140px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--amb);
  isolation: isolate;
}
.rewatch-card > img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rewatch-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 7, 10, 0.9));
}
.rewatch-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 3px 8px;
  border-radius: 7px;
  background: #63e6be;
  color: #06221b;
  font-size: 11px;
  font-weight: 800;
}
.rewatch-copy {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: grid;
  gap: 2px;
}
.rewatch-copy strong {
  font-size: 16px;
  font-weight: 800;
}
.rewatch-copy small {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: #d5d8de;
  font-size: 12px;
}

/* ---------- 账户页底部：减少动效、导出、关于 ---------- */
html[data-reduce-motion="true"] *,
html[data-reduce-motion="true"] *::before,
html[data-reduce-motion="true"] *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}
.motion-demo {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 16px 14px 66px;
}
.md-track {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--surface-3);
}
.md-dot {
  position: absolute;
  left: 0;
  top: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  animation: md-move 2.4s ease-in-out infinite alternate;
}
@keyframes md-move {
  to { left: calc(100% - 12px); }
}
.motion-demo small {
  color: var(--faint);
  font-size: 11px;
}
html[data-reduce-motion="true"] .md-dot {
  animation: none !important;
}
.export-btn {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
}
.export-btn > span:nth-child(2) {
  display: grid;
  flex: 1;
}
.export-btn strong {
  font-size: 14.5px;
  font-weight: 700;
}
.export-btn small {
  color: var(--faint);
  font-size: 12px;
}
.export-btn > svg {
  color: var(--faint);
}
.about-kisah {
  margin: 24px var(--gutter) 8px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(100% 140% at 100% 0%, rgba(255, 138, 101, 0.22), transparent 60%),
    radial-gradient(80% 120% at 0% 100%, rgba(122, 92, 255, 0.2), transparent 60%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ak-mark {
  display: grid;
  gap: 2px;
}
.ak-mark .logo {
  font-size: 30px;
}
.ak-mark small {
  color: var(--muted);
  font-size: 12.5px;
}
.ak-rows {
  display: grid;
  margin: 12px 0 0;
}
.ak-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
}
.ak-rows div + div {
  border-top: 1px solid var(--line);
}
.ak-rows dt {
  color: var(--muted);
  font-size: 13px;
}
.ak-rows dd {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

/* ---------- 首页底部：按空闲时间排片 ---------- */
.time-plan {
  margin: 26px var(--gutter) 0;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(100% 140% at 100% 0%, rgba(57, 135, 229, 0.25), transparent 60%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tp-head .kicker {
  margin: 0 0 2px;
}
.tp-head h2 {
  font-size: 19px;
  font-weight: 800;
}
.tp-budgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.tp-budget {
  display: grid;
  justify-items: center;
  padding: 8px 0;
  border-radius: 14px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}
.tp-budget small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.tp-budget[aria-pressed="true"] {
  background: #fff;
  color: #14101a;
  box-shadow: none;
}
.tp-budget[aria-pressed="true"] small {
  color: #6b6475;
}
.tp-bar {
  display: flex;
  gap: 2px;
  height: 12px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 4px;
}
.tp-bar i {
  min-width: 4px;
}
.tp-bar .tp-free {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 4px, transparent 4px 8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.tp-sum {
  margin-top: 8px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
}
.tp-sum span {
  color: var(--muted);
  font-weight: 600;
}
.tp-list {
  display: grid;
  gap: 2px;
  margin: 10px 0 12px;
  padding: 0;
  list-style: none;
}
.tp-list a {
  display: grid;
  grid-template-columns: 12px 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
}
.tp-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.tp-list img {
  width: 34px;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 6px;
}
.tp-copy {
  display: grid;
  min-width: 0;
}
.tp-copy strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tp-copy small {
  color: var(--muted);
  font-size: 12px;
}
.tp-at {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tp-empty {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 服务器预渲染的首屏（脚本接管前显示，排版与前台一致） ---------- */
.ssr-h {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.ssr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 10px;
  padding: 0 var(--gutter);
}
.ssr-card {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.ssr-card img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--poster-ar, 2 / 3);
  object-fit: cover;
  border-radius: 12px;
}
.ssr-card strong {
  overflow: hidden;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ssr-card small {
  color: var(--muted);
  font-size: 11px;
}
/* 首页第 2 页起、不开脚本时的翻页条 */
.ssr-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 22px var(--gutter) 8px;
}
.ssr-pager a,
.ssr-pager span {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.ssr-pager a {
  background: var(--surface-2, rgba(242, 243, 245, 0.08));
  color: var(--text, inherit);
}
.ssr-pager span[aria-current] {
  background: var(--accent);
  color: #1a0e08;
}
.ssr-pager span:not([aria-current]) {
  min-width: 20px;
  padding: 0;
  color: var(--muted);
}

/* 类型 / 标签落地页（服务器直出部分）：面包屑、介绍、类型链接 */
.ssr-crumbs {
  padding: 14px var(--gutter) 0;
  color: var(--muted);
  font-size: 12.5px;
}
.ssr-crumbs a {
  color: inherit;
}
.ssr-intro {
  margin: -4px var(--gutter) 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.ssr-facets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding: 0 var(--gutter);
}
.ssr-facets h2 {
  flex-basis: 100%;
  font-size: 16px;
  font-weight: 800;
}
.ssr-facets a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.ssr-facets a[aria-current] {
  background: var(--accent);
  color: var(--accent-ink);
}
.ssr-facets small {
  color: var(--faint);
  font-size: 11px;
}
.ssr-genres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 var(--gutter);
}
.ssr-genre {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 96px;
  padding: 12px 14px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
}
.ssr-genre img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.ssr-genre strong,
.ssr-genre small {
  position: relative;
}
.ssr-genre small {
  color: var(--muted);
  font-size: 12px;
}
.page-collection .genre-chips,
.page-collection .tag-chips {
  padding-bottom: 4px;
}

/* 类型 / 标签落地页（脚本接管后）：顶部大标题 + 其他类型一排 + 可排序、一直往下划的片单 */
.col-hero {
  position: relative;
  overflow: hidden;
  padding: 18px var(--gutter) 20px;
  background: radial-gradient(120% 100% at 0% 0%, transparent, transparent 70%);
  background: radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--amb, #ff8a65) 45%, transparent), transparent 70%);
}
.col-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.col-hero > *:not(.col-bg) {
  position: relative;
}
.col-crumbs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12.5px;
}
.col-crumbs a {
  color: inherit;
}
.col-hero h1 {
  margin-top: 4px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.col-count {
  margin-top: 4px;
  color: #d5d8de;
  font-size: 13px;
  font-weight: 600;
}
.col-others {
  display: flex;
  gap: 8px;
  padding: 2px var(--gutter) 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.col-others::-webkit-scrollbar {
  display: none;
}
.col-others a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.col-others small {
  color: var(--faint);
  font-size: 11px;
}
.page-collection .all-films {
  margin-top: 14px;
}
a.genre-tile {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* 滚动加载：列表底部的“加载中”占位 */
.feed-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 72px;
  padding: 16px var(--gutter);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}
.feed-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: feed-spin 0.8s linear infinite;
}
@keyframes feed-spin {
  to {
    transform: rotate(360deg);
  }
}
[data-reduce-motion="true"] .feed-spinner {
  animation-duration: 2.4s;
}

.ssr-facts {
  padding: 14px var(--gutter) 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}
.ssr-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  margin: 0;
  font-size: 13.5px;
}
.ssr-dl dt {
  color: var(--muted);
}
.ssr-dl dd {
  margin: 0;
  font-weight: 700;
}
.ssr-player {
  aspect-ratio: 16 / 9;
  background: #000;
}
.page-watch .ssr-h {
  padding: 16px var(--gutter);
}
[data-ssr] .detail-poster {
  height: auto;
}


/* ---------- 隐私政策、使用条款、版权与联系（服务器直出的静态页） ---------- */
.page-legal {
  padding: 8px var(--gutter) 48px;
}
.legal {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.legal-tabs {
  display: flex;
  gap: 6px;
  margin: 4px 0 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
.legal-tabs a {
  flex: none;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
}
.legal-tabs a[aria-current] {
  background: var(--ink);
  color: var(--bg);
}
.legal h1 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.legal-updated {
  margin: 6px 0 18px;
  color: var(--faint);
  font-size: 13px;
}
.legal h2 {
  margin: 26px 0 6px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}
.legal p {
  margin: 0 0 10px;
}
.legal ul {
  margin: 0 0 10px;
  padding-left: 1.2em;
}
.legal li {
  margin: 0 0 6px;
}
.legal p a,
.legal li a,
.legal-langs a {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal em {
  color: var(--faint);
}
.legal-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.legal-langs a[aria-current] {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.legal-home {
  margin-top: 22px;
}
/* 页脚的条款链接（首页、账户页、服务器直出的首页） */
.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin: 14px var(--gutter) 0;
  font-size: 12.5px;
}
.legal-links a {
  color: var(--faint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 联系我们（工单表单） */
.ticket-form {
  display: grid;
  gap: 14px;
  margin: 18px 0 6px;
}
.ticket-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.ticket-form input,
.ticket-form select,
.ticket-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* 16px 起 iPhone 聚焦时不自动放大 */
  font-weight: 500;
}
.ticket-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}
.ticket-form input:focus,
.ticket-form select:focus,
.ticket-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}
.ticket-form small {
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 500;
}
.ticket-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-notice {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--ink);
}
.form-notice.is-ok {
  background: rgba(32, 201, 151, 0.16);
  box-shadow: inset 0 0 0 1px rgba(32, 201, 151, 0.4);
}
.form-notice.is-error {
  background: var(--accent-wash);
  box-shadow: inset 0 0 0 1px var(--accent);
}

/* 片单署名：各片权利人不同时每行显示权利人，过长截断 */
.credit-list em {
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 登录 / 注册：帐户页入口卡 ---------- */
.login-card {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(14, 10, 20, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}
.lc-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.lc-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
}
.lc-head strong {
  display: block;
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.3;
}
.lc-head small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.45;
}
.lc-points {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  font-weight: 600;
}
.lc-points li {
  display: flex;
  gap: 8px;
  align-items: center;
}
.lc-points svg {
  flex: none;
  color: #9ff0c9;
}
.login-card .btn {
  min-height: 52px;
  font-size: 16px;
}

/* ---------- 登录 / 注册面板（底部弹出） ---------- */
#login-layer,
#review-layer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
}
#login-layer[hidden],
#review-layer[hidden] {
  display: none;
}
body[data-sheet="open"] {
  overflow: hidden;
}
.ls-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(4, 5, 8, 0.62);
  opacity: 0;
  transition: opacity 0.22s ease;
  backdrop-filter: blur(3px);
}
.ls-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: var(--app-w);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: 0 auto;
  padding: 8px 22px calc(22px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, #1d2130 0%, var(--surface) 46%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 -24px 60px -20px rgba(0, 0, 0, 0.8);
  transform: translateY(100%);
  transition: transform 0.26s var(--ease);
  overscroll-behavior: contain;
}
#login-layer.is-open .ls-overlay,
#review-layer.is-open .ls-overlay {
  opacity: 1;
}
#login-layer.is-open .ls-panel,
#review-layer.is-open .ls-panel {
  transform: none;
}
[data-reduce-motion="true"] .ls-panel,
[data-reduce-motion="true"] .ls-overlay {
  transition: none;
}
.ls-grip {
  width: 40px;
  height: 4px;
  margin: 0 auto 10px;
  border-radius: 4px;
  background: var(--line-strong);
}
.ls-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.ls-logo {
  pointer-events: none;
}
.ls-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--muted);
}
.ls-panel h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.ls-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}
.ls-sub b {
  color: var(--ink);
  word-break: break-all;
}
.ls-reason {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--accent-wash);
  color: var(--accent-soft);
  font-size: 13.5px;
  font-weight: 700;
}
.ls-points {
  display: grid;
  gap: 14px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}
.ls-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ls-point-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface-3);
  color: var(--accent);
}
.ls-points strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
}
.ls-points small {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.45;
}
.ls-form {
  display: grid;
  gap: 12px;
}
.ls-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.ls-input {
  display: flex;
  gap: 10px;
  align-items: center;
  height: 54px;
  margin-top: -4px;
  padding: 0 16px;
  border-radius: 16px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--faint);
  transition: box-shadow 0.15s ease;
}
.ls-input:focus-within {
  box-shadow: inset 0 0 0 2px var(--accent);
  color: var(--accent);
}
.ls-input input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.ls-input input::placeholder {
  color: var(--faint);
}
.ls-form .btn {
  min-height: 54px;
  font-size: 16px;
}
.ls-error {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 0;
  color: #ff9a9a;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}
.ls-error svg {
  flex: none;
  margin-top: 1px;
}
.ls-back {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin: -4px 0 14px -6px;
  padding: 6px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}
/* 6 位验证码：一个真实输入框盖在 6 个格子上（手机自动填充、粘贴都照常） */
.otp {
  position: relative;
  display: block;
  margin-top: 18px;
}
.otp input {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  font-size: 16px;
  letter-spacing: 2em;
  opacity: 0.01;
}
.otp-cells {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.otp-cell {
  display: grid;
  place-items: center;
  height: 58px;
  border-radius: 14px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transition: box-shadow 0.12s ease;
}
.otp-cell.is-filled {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}
.otp-cell.is-active {
  box-shadow: inset 0 0 0 2px var(--accent);
}
.otp-cell.is-active:empty::after {
  content: "";
  width: 2px;
  height: 26px;
  background: var(--accent);
  animation: otp-caret 1s steps(1) infinite;
}
@keyframes otp-caret {
  50% {
    opacity: 0;
  }
}
.otp.is-error .otp-cell {
  box-shadow: inset 0 0 0 2px #ff7b7b;
}
.ls-resend {
  margin-top: 14px;
  color: var(--faint);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
}
.ls-resend button {
  padding: 6px 10px;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 800;
}
.ls-tip {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.ls-tip svg {
  flex: none;
  margin-top: 1px;
}
.ls-panel .login-or {
  margin: 18px 0;
}
.ls-terms {
  margin: 20px 0 0;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}
.ls-terms a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ls-done {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 0 14px;
  text-align: center;
}
.ls-done-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: linear-gradient(140deg, #3ddc97, #1a9e6c);
  color: #062417;
  box-shadow: 0 12px 34px -10px rgba(61, 220, 151, 0.6);
  animation: done-pop 0.4s var(--ease);
}
@keyframes done-pop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
}
.ls-done p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

/* ---------- 加片单、看完一部后的登录轻提示 ---------- */
#login-nudge-layer {
  position: fixed;
  right: 0;
  bottom: calc(var(--tabbar-h) + 8px);
  left: 0;
  z-index: 60;
  max-width: var(--app-w);
  margin: 0 auto;
  padding: 0 12px;
  pointer-events: none;
}
.login-nudge {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 8px 10px 12px;
  border-radius: 20px;
  background: rgba(30, 34, 46, 0.94);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 18px 40px -12px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.22s ease,
    transform 0.26s var(--ease);
  pointer-events: auto;
  backdrop-filter: blur(18px);
}
#login-nudge-layer.is-open .login-nudge {
  opacity: 1;
  transform: none;
}
.ln-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--accent-wash);
  color: var(--accent);
}
.ln-copy {
  flex: 1;
  min-width: 0;
}
.ln-copy strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
}
.ln-copy small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.ln-go {
  flex: none;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: 13.5px;
  font-weight: 800;
}
.ln-x {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--faint);
}

/* ---------- 账户页：加到主屏幕与提醒 ---------- */
.app-btn {
  flex: none;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: 13.5px;
  font-weight: 800;
}
.app-done {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.16);
  color: #9ff0c9;
}
.app-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.app-note svg {
  flex: none;
  margin-top: 2px;
  color: var(--faint);
}
.switch:disabled {
  opacity: 0.55;
}

/* iPhone 加到主屏幕的步骤 */
.install-steps {
  display: grid;
  gap: 10px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}
.install-steps li {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface-2, rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 1px var(--line);
}
.install-steps strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
}
.install-steps small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}
.install-steps .is-n {
  position: absolute;
  top: -6px;
  left: -6px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 800;
}

/* ---------- 品牌首页（网站根目录） ---------- */
.brand-home {
  position: relative;
  max-width: var(--app-w);
  margin: 0 auto;
  padding: 0 20px calc(28px + env(safe-area-inset-bottom));
  overflow: hidden;
}
.bh-top {
  position: relative;
  z-index: 1;
  padding: 18px 0 6px;
}
.bh-hero {
  position: relative;
  padding: 34px 0 30px;
}
.bh-glow {
  position: absolute;
  top: -120px;
  right: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-wash) 0%, transparent 68%);
  pointer-events: none;
}
.bh-hero h1 {
  position: relative;
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.bh-hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.bh-hero p {
  position: relative;
  max-width: 400px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.bh-section {
  margin-top: 26px;
}
.bh-section h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.bh-sub {
  margin: 4px 0 14px;
  color: var(--faint);
  font-size: 13.5px;
}
.bh-cards {
  display: grid;
  gap: 12px;
}
.bh-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  box-shadow: inset 0 0 0 1px var(--line);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s ease;
}
.bh-card:active {
  transform: scale(0.985);
}
.bh-fan {
  position: relative;
  grid-row: span 2;
  width: 92px;
  height: 104px;
}
.bh-fan img {
  position: absolute;
  top: 6px;
  left: calc(var(--i) * 22px);
  width: 50px;
  height: 75px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.8), 0 0 0 1.5px var(--surface);
  transform: rotate(calc((var(--i) - 1) * 7deg)) translateY(calc(var(--i) * 5px));
}
.bh-fan img:nth-child(2) {
  z-index: 1;
}
.bh-card-body strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.bh-card-body small {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.45;
}
.bh-go {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-self: start;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13.5px;
  font-weight: 800;
}
.bh-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.bh-points li {
  padding: 14px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.bh-point-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: var(--accent-wash);
  color: var(--accent);
}
.bh-points strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.bh-points small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.bh-faq {
  margin-top: 12px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.bh-faq details + details {
  border-top: 1px solid var(--line);
}
.bh-faq summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  font-size: 14.5px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.bh-faq summary::-webkit-details-marker {
  display: none;
}
.bh-faq summary::after {
  flex: none;
  color: var(--faint);
  font-size: 20px;
  font-weight: 400;
  content: "+";
}
.bh-faq details[open] summary::after {
  content: "−";
}
.bh-faq p {
  margin: -4px 0 0;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.bh-elsewhere {
  margin: 22px 0 0;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}
.bh-foot {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12.5px;
  text-align: center;
}
.bh-langs,
.bh-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
  margin-bottom: 12px;
}
.bh-langs a,
.bh-legal a {
  color: var(--muted);
  text-decoration: none;
}
.bh-langs a[aria-current="true"] {
  color: var(--ink);
  font-weight: 800;
}
.bh-foot p {
  margin: 0;
}

/* ---------- 详情页：观众评价（喜欢/不喜欢 + 短评） ---------- */
.pill-like {
  gap: 4px;
  background: rgba(99, 230, 190, 0.16);
  color: #8ff0cf;
}
.rv-block .section-row {
  margin-bottom: 12px;
}
.rv-block .section-row h2 {
  margin: 0;
}
.rv-vote {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 138, 101, 0.16), transparent 60%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.rv-score {
  display: flex;
  gap: 12px;
  align-items: center;
}
.rv-score strong {
  font-size: 40px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}
.rv-score strong i {
  margin-left: 1px;
  color: var(--muted);
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
}
.rv-score span {
  display: grid;
  gap: 2px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.rv-score small,
.rv-ask small {
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 600;
}
.rv-meter {
  display: block;
  height: 6px;
  margin-top: -4px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 120, 120, 0.28);
}
.rv-meter i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #63e6be, #20c997);
}
.rv-ask {
  display: grid;
  gap: 3px;
}
.rv-ask strong {
  font-size: 16px;
  font-weight: 800;
}
.rv-vote-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rv-vote-btn {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 750;
  transition:
    background 0.15s ease,
    transform 0.15s var(--ease);
}
.rv-vote-btn:active {
  transform: scale(0.97);
}
.rv-vote-btn b {
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 800;
}
.rv-vote-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, #63e6be, #12b886);
  box-shadow: none;
  color: #04261b;
}
.rv-vote-btn.is-down[aria-pressed="true"] {
  background: linear-gradient(135deg, #ffa8a8, #f06565);
  color: #2b0707;
}
.rv-vote-btn[aria-pressed="true"] b {
  background: rgba(0, 0, 0, 0.14);
}
.rv-compose {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--faint);
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
}
.rv-compose > span:not(.rv-avatar) {
  flex: 1;
}
.rv-compose > svg {
  color: var(--accent);
}
.rv-compose.is-first {
  box-shadow: inset 0 0 0 1px var(--accent-wash);
  background: linear-gradient(100deg, rgba(255, 138, 101, 0.12), var(--surface) 70%);
  color: var(--ink);
  font-weight: 700;
}
.rv-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tone);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.rv-avatar.is-blank {
  background: var(--surface-3);
  color: var(--accent);
}
.rv-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}
.rv-tabs {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}
.rv-tabs button {
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.rv-tabs button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg, #0b0d12);
}
.rv-scope {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}
.rv-scope[aria-pressed="true"] {
  color: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent-wash);
}
.rv-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.rv-list:empty {
  display: none;
}
.rv-card {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.rv-list .rv-card {
  margin-top: 0;
}
.rv-card.is-own {
  background: linear-gradient(160deg, rgba(255, 138, 101, 0.1), var(--surface) 60%);
  box-shadow: inset 0 0 0 1px var(--accent-wash);
}
.rv-head {
  display: flex;
  gap: 10px;
  align-items: center;
}
.rv-who {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.rv-who strong {
  display: flex;
  gap: 6px;
  align-items: center;
  overflow: hidden;
  font-size: 14px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rv-who strong em {
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-soft);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.rv-who small {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
}
.rv-verdict {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  color: #63e6be;
  font-weight: 750;
}
.rv-verdict.is-down {
  color: #ff9a9a;
}
.rv-status {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 212, 59, 0.1);
  color: #ffe08a;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.45;
}
.rv-status svg {
  flex: none;
  margin-top: 1px;
}
.rv-text {
  position: relative;
}
.rv-text p {
  margin: 0;
  color: #d5d8df;
  font-size: 14.5px;
  line-height: 1.6;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.rv-text.is-spoiler p {
  min-height: 48px;
  filter: blur(7px);
  user-select: none;
}
.rv-reveal {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(20, 23, 31, 0.55);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}
.rv-foot {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0 -6px -4px;
}
.rv-act {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.rv-act b {
  color: var(--ink);
  font-weight: 800;
}
.rv-act[aria-pressed="true"] {
  background: rgba(99, 230, 190, 0.14);
  color: #8ff0cf;
}
.rv-act[aria-pressed="true"] b {
  color: inherit;
}
.rv-report {
  margin-left: auto;
  color: var(--faint);
}
.rv-act:disabled {
  opacity: 0.7;
}
.rv-more {
  margin-top: 12px;
}
.rv-empty {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 13.5px;
}
.rv-skeleton {
  display: grid;
  gap: 10px;
}
.rv-skeleton i {
  display: block;
  height: 92px;
  border-radius: 18px;
  background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%;
  animation: shimmer 1.4s linear infinite;
}
[data-reduce-motion="true"] .rv-skeleton i {
  animation: none;
}
/* 写短评 / 举报的底部面板 */
.rs-top {
  margin-bottom: 6px;
}
.rs-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.rs-name {
  display: grid;
  gap: 10px;
}
.rs-name .ls-input {
  margin-top: 0;
  padding-left: 9px;
}
.rs-tones .tone-pick {
  width: 30px;
  height: 30px;
}
.rs-hint,
.edit-hint {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 600;
}
.rs-box {
  position: relative;
}
.rs-box textarea {
  display: block;
  width: 100%;
  min-height: 132px;
  padding: 14px 16px 28px;
  border: 0;
  border-radius: 16px;
  outline: 0;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.55;
  resize: vertical;
}
.rs-box textarea:focus {
  box-shadow: inset 0 0 0 2px var(--accent);
}
.rs-box textarea::placeholder {
  color: var(--faint);
}
.rs-count {
  position: absolute;
  right: 14px;
  bottom: 9px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rs-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-2);
}
.rs-check input,
.rs-reason input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}
.rs-check strong {
  display: block;
  font-size: 14px;
  font-weight: 750;
}
.rs-check small {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.45;
}
.rs-rules {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: -2px 0 0;
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.45;
}
.rs-rules svg {
  flex: none;
  margin-top: 1px;
}
.rs-form .btn {
  min-height: 52px;
  font-size: 16px;
}
.rs-reasons {
  display: grid;
  gap: 8px;
}
.rs-reason {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 14.5px;
  font-weight: 650;
}
.rs-reason:has(input:checked) {
  box-shadow: inset 0 0 0 2px var(--accent);
}

/* ---------- 观众个人主页 /u/{短码} ---------- */
.rv-profile {
  display: contents;
}
.rv-who strong a {
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
}
.pp-hero {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 8px var(--gutter) 0;
  padding: 22px 18px 18px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  isolation: isolate;
}
.pp-cover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(1.1);
}
.pp-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 13, 18, 0.25) 0%, rgba(20, 23, 31, 0.92) 62%, var(--surface) 100%);
}
.pp-id {
  display: flex;
  gap: 14px;
  align-items: center;
}
.pp-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--tone);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.9),
    0 12px 30px -10px rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 26px;
  font-weight: 850;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.pp-id h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.pp-id p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.pp-own {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-soft);
  font-size: 11.5px;
  font-weight: 800;
}
.pp-stats {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  margin: 0;
  padding: 12px 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pp-stats div {
  display: grid;
  justify-items: center;
  gap: 1px;
}
.pp-stats div + div {
  border-left: 1px solid var(--line);
}
.pp-stats dd {
  margin: 0;
  font-size: 20px;
  font-weight: 850;
}
.pp-stats dt {
  color: var(--faint);
  font-size: 12px;
  font-weight: 650;
}
.pp-taste {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 650;
}
.pp-taste a {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}
.pp-edit {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-self: start;
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 750;
}
.pp-common {
  margin-top: 22px;
}
.pp-common h2 {
  display: flex;
  gap: 8px;
  align-items: center;
}
.pp-common h2 svg {
  color: var(--accent);
}
.pp-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pp-strip .poster {
  flex: none;
  --pw: 92px;
  width: var(--pw);
}
.pp-review {
  gap: 12px;
}
.pp-film {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 12px;
  align-items: center;
  margin: -6px -6px 0;
  padding: 6px;
  border-radius: 14px;
  background: radial-gradient(120% 140% at 0% 50%, transparent, transparent 70%);
  background: radial-gradient(120% 140% at 0% 50%, color-mix(in srgb, var(--amb) 35%, transparent), transparent 70%);
  color: inherit;
}
.pp-film img {
  width: 96px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  object-fit: cover;
}
.pp-film > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.pp-film strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pp-film small {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
}
.pp-film > svg {
  color: var(--faint);
}
.pp-when {
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
}
.page-person .grid-section {
  margin-top: 28px;
}
.pp-empty {
  margin: 40px auto;
}
/* 账户页：我的主页 + 显示开关 */
.pp-settings {
  display: grid;
  gap: 2px;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.pp-mine,
.pp-switch {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  color: inherit;
}
.pp-mine + .pp-switch,
.pp-switch + .pp-switch,
.pp-hint + .pp-switch {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.pp-mine > span,
.pp-switch > span {
  display: grid;
  flex: 1;
  gap: 1px;
  min-width: 0;
}
.pp-mine strong,
.pp-switch strong {
  font-size: 14px;
  font-weight: 750;
}
.pp-mine small,
.pp-switch small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
}
.pp-hint {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12.5px;
  line-height: 1.45;
}
.pp-hint svg {
  flex: none;
  margin-top: 1px;
}

/* ---------- 大图完整显示（站点配置 [browse] cover = "full"）：不裁图，空出的地方用同一张图的模糊版填满 ---------- */
[data-cover="full"] .slide-card::before,
[data-cover="full"] .reel::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  bottom: -40px;
  left: -40px;
  background: var(--img) center / cover no-repeat;
  filter: blur(26px) brightness(0.62) saturate(1.15);
  transform: scale(1.1);
}
[data-cover="full"] .slide-card img {
  position: relative;
  object-fit: contain;
}
[data-cover="full"] .reel {
  overflow: hidden;
}
[data-cover="full"] .reel-frame {
  object-fit: contain;
  object-position: center 38%;
}

.detail-id.no-poster {
  grid-template-columns: 1fr;
  margin-top: -56px;
}

/* 一张图都没有的片：文字封面（片名 + 年份，用这部片的氛围色），各种大小的海报位都按比例缩放 */
.text-cover {
  container-type: inline-size;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5cqw;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 10% 8%; /* 百分比按外框宽度算（容器单位在容器自己身上不生效） */
  background:
    radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--amb, #b4532a) 80%, #fff 20%), transparent 72%),
    linear-gradient(170deg, var(--amb, #b4532a), #0b0c10 88%);
  color: #fff;
  text-align: center;
}
.text-cover b {
  display: -webkit-box;
  overflow: hidden;
  font-size: 17cqw;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.text-cover small {
  padding-top: 4cqw;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 10cqw;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.8;
}
.text-cover.is-wide b {
  font-size: 8cqw;
  -webkit-line-clamp: 2;
}
.text-cover.is-wide small {
  padding-top: 2cqw;
  font-size: 4cqw;
}

/* 首页大图：只有横图（没有竖版海报）时，横图完整放在上面，片名、按钮在下面，背景用同一张图的模糊版 */
.slide-card.is-wide::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  bottom: -40px;
  left: -40px;
  background: var(--img) center / cover no-repeat;
  filter: blur(26px) brightness(0.62) saturate(1.15);
  transform: scale(1.1);
}
[data-cover] .slide-card.is-wide img {
  position: relative;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(#000 80%, transparent);
  mask-image: linear-gradient(#000 80%, transparent);
}

/* ---------- 图片智能适配（app.js fitImage：按图片真实宽高判断） ---------- */
/* 详情页顶部：超宽的图完整显示，四周用同一张图的模糊版补满 */
.reel.has-fit {
  overflow: hidden;
}
.reel.has-fit::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  bottom: -40px;
  left: -40px;
  background: var(--img) center / cover no-repeat;
  filter: blur(26px) brightness(0.62) saturate(1.15);
  transform: scale(1.1);
}
.reel-frame.is-fit {
  object-fit: contain;
  object-position: center 38%;
}
/* 卡片、海报位：比例差太多的图完整显示，空出的地方用暗底，不裁掉片名和人脸 */
img.img-fit {
  object-fit: contain !important;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.5));
}
.reel-frame.is-fit {
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}

/* ---------- 横版轮播（站点配置 [browse] hero）：高度跟着图片比例走，片名叠在图片下部，按钮在图片下面 ---------- */
.hero.is-banner {
  container-type: inline-size;
}
.hero.is-banner .hero-stage {
  aspect-ratio: auto;
  height: calc(100cqw / var(--hero-r, 1.778) + 60px);
}
.hero.is-banner .slide-card {
  height: calc(100cqw / var(--hero-r, 1.778));
  border-radius: 16px;
}
.hero.is-banner .slide-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  bottom: -40px;
  left: -40px;
  background: var(--img) center / cover no-repeat;
  filter: blur(26px) brightness(0.62) saturate(1.15);
  transform: scale(1.1);
}
.hero.is-banner .slide-card img {
  position: relative;
}
.hero.is-banner .slide-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.5) 66%, rgba(6, 7, 10, 0.88) 100%);
}
.hero.is-banner .slide-copy {
  left: 14px;
  right: 14px;
  bottom: 12px;
  justify-items: start;
  gap: 4px;
  text-align: left;
}
.hero.is-banner .slide-tags .tag-glass,
.hero.is-banner .slide-tagline {
  display: none;
}
.hero.is-banner .slide-tags:not(:has(.tag-rank)) {
  display: none;
}
.hero.is-banner .tag-rank {
  height: 20px;
  font-size: 10.5px;
}
.hero.is-banner .slide-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(20px, 7cqw, 30px);
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.hero.is-banner .slide-meta {
  justify-content: flex-start;
  font-size: 12px;
}
.hero.is-banner .slide-actions {
  left: 0;
  right: 0;
  bottom: 0;
}
.hero.is-banner .slide-next {
  top: 10px;
  right: 10px;
}

/* 横图卡片：没有竖版海报的片，卡片和旁边的海报同高，宽度按图片比例（--r，1–2）；
   网格页里占两格（2 格宽 ÷ 1 格海报高 ≈ 1.39），列表顺序允许往前补空位 */
.poster.is-wide {
  width: calc(var(--pw) * var(--poster-h, 1.5) * var(--r, 1.778));
  height: calc(var(--pw) * var(--poster-h, 1.5));
  aspect-ratio: auto;
}
.poster-grid {
  grid-auto-flow: row dense;
}
.poster-grid > .poster.is-wide,
.poster-grid > .grid-item.is-wide {
  grid-column: span 2;
}
.poster-grid .poster.is-wide {
  width: auto;
  height: auto;
  aspect-ratio: 1.39;
}
/* 网格里多数片只有横图：整个网格两列横版卡片，比例取图片比例的中间值（--gr） */
.poster-grid.is-landscape {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.poster-grid.is-landscape .poster {
  width: auto;
  height: auto;
  aspect-ratio: var(--gr, 1.778);
}

/* 会员中心入口（站点配置 [membership] 打开时，账户页头像卡里） */
.member-link { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 11px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.08); color: var(--ink); font-weight: 700; text-decoration: none; position: relative; z-index: 1; }
.member-link svg:first-child { color: var(--accent); }
.member-link svg:last-child { margin-left: auto; color: var(--muted); }
