/* ==========================================================================
   NewCloud TV — Design System
   深色影院风 / 卡片海报 / 玻璃浮层 / 完整响应式
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --brand: #FF4F7B;
  --brand-2: #FF8FB1;
  --brand-grad: linear-gradient(135deg, #FF4F7B 0%, #FF7BA0 100%);
  --accent: #536BE0;

  /* 默认：心动浅色主题 */
  --bg: #FAFAFC;
  --bg-elev: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-hover: #FFF1F5;
  --surface: rgba(17, 24, 39, 0.04);
  --surface-2: rgba(17, 24, 39, 0.07);
  --line: rgba(17, 24, 39, 0.08);
  --line-strong: rgba(17, 24, 39, 0.15);

  --text: #111827;
  --text-2: #747D92;
  --text-3: #9AA3B5;

  --gold: #FFC53D;
  --ok: #3DDC97;
  --err: #E5484D;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-full: 999px;

  --shadow-sm: 0 2px 10px rgba(30, 20, 40, 0.06);
  --shadow-md: 0 12px 30px rgba(30, 20, 40, 0.1);
  --shadow-lg: 0 24px 60px rgba(30, 20, 40, 0.16);
  --glow: 0 8px 32px rgba(255, 79, 123, 0.28);

  --header-h: 64px;
  --max-w: 1560px;
  --pad: clamp(16px, 3.2vw, 48px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* 深色影院主题（可切换） */
[data-theme="dark"] {
  --brand: #FF4F7B;
  --brand-2: #FF8A3D;
  --brand-grad: linear-gradient(135deg, #FF4F7B 0%, #FF8A3D 100%);

  --bg: #0A0A0F;
  --bg-elev: #12121A;
  --bg-card: #17171F;
  --bg-hover: #1E1E28;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #F4F4F7;
  --text-2: #A7A7B4;
  --text-3: #6E6E7E;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
  transition: background-color .3s, color .3s;
}

img { display: block; max-width: 100%; border: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(140, 140, 160, 0.28);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(160, 160, 180, 0.5); background-clip: content-box; }

/* ---------- 3. Layout ---------- */
.page { padding-top: var(--header-h); min-height: 100vh; }

.shell {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { margin-bottom: 52px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 800;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::before {
  content: "";
  width: 4px;
  height: 1.05em;
  border-radius: 99px;
  background: var(--brand-grad);
  flex: none;
}

.section-sub {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 400;
  margin-left: 4px;
}

.link-more {
  font-size: 13px;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transition: color .2s, gap .2s;
  white-space: nowrap;
}
.link-more:hover { color: var(--brand); gap: 6px; }

/* ---------- 4. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 900;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.header-inner {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 40px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.4px;
  flex: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--brand-grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 17px;
  box-shadow: var(--glow);
}
.brand-mark.small { width: 26px; height: 26px; font-size: 14px; border-radius: 8px; }
.brand-accent { color: var(--brand); margin-left: 1px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.nav-link {
  position: relative;
  padding: 8px 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-2);
  border-radius: var(--r-xs);
  transition: color .2s, background .2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -9px;
  height: 2px;
  border-radius: 99px;
  background: var(--brand-grad);
}

.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent);
}

.nav-more { position: relative; }
.nav-more-btn i { font-size: 15px; transition: transform .25s; }
.nav-more.is-open .nav-more-btn i { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 168px;
  padding: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .22s var(--ease);
}
.nav-more.is-open .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a {
  padding: 9px 12px;
  border-radius: var(--r-xs);
  font-size: 13.5px;
  color: var(--text-2);
  transition: all .18s;
}
.dropdown-panel a:hover { background: var(--surface-2); color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.search-inline {
  position: relative;
  display: flex;
  align-items: center;
  width: 220px;
  height: 38px;
  padding: 0 12px;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  transition: all .28s var(--ease);
}
.search-inline:focus-within {
  width: 300px;
  background: var(--bg-elev);
  border-color: color-mix(in srgb, var(--brand) 55%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent);
}
.search-inline > i { color: var(--text-3); font-size: 16px; flex: none; }
.search-inline input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 13.5px;
  color: var(--text);
}
.search-inline input::placeholder { color: var(--text-3); }
.search-inline input::-webkit-search-cancel-button { display: none; }

.suggest-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  max-height: 420px;
  overflow-y: auto;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 20;
}
.suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--r-xs);
  transition: background .16s;
}
.suggest-item:hover, .suggest-item.is-active { background: var(--surface-2); }
.suggest-item img {
  width: 34px;
  height: 46px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bg-card);
  flex: none;
}
.suggest-item .s-name { font-size: 13.5px; font-weight: 600; }
.suggest-item .s-meta { font-size: 11.5px; color: var(--text-3); }
.suggest-empty { padding: 18px; text-align: center; color: var(--text-3); font-size: 13px; }

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  display: grid;
  place-items: center;
  color: var(--text-2);
  font-size: 18px;
  border: 1px solid transparent;
  transition: all .2s;
  flex: none;
}
.icon-btn:hover { background: var(--surface); color: var(--text); border-color: var(--line); }
.mobile-search-btn { display: none; }

/* ---------- 5. Poster Card ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: clamp(12px, 1.4vw, 22px);
}
.grid.compact { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

.card {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 2 / 3;
  isolation: isolate;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  will-change: transform;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 4;
}

.card-poster {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1D1D28, #12121A);
}
.card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out), filter .5s;
}
.card:hover .card-poster img { transform: scale(1.06); filter: brightness(0.85); }

.card-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(6, 6, 10, 0.96) 0%, rgba(6, 6, 10, 0.5) 28%, transparent 62%);
}

.card-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 12px 12px 13px;
}
.card-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.card-meta {
  margin-top: 5px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
}
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }

.card-remark {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-remark.is-hot { background: var(--brand-grad); }

.card-score {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  padding: 3px 7px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.card-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 44%;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 88%, transparent);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 24px;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.7);
  transition: all .38s var(--ease-out);
  padding-left: 3px;
  box-shadow: 0 8px 28px rgba(255, 77, 109, 0.5);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }
  .card:hover .card-play { opacity: 1; transform: scale(1); }
}
.card:active { transform: scale(0.98); }

/* 横向排行卡片 */
.rank-list { display: grid; gap: 10px; }
.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: var(--r-sm);
  transition: background .2s;
}
.rank-item:hover { background: var(--surface); }
.rank-no {
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  width: 28px;
  text-align: center;
  color: var(--text-3);
  flex: none;
}
.rank-item:nth-child(-n+3) .rank-no {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rank-thumb {
  width: 52px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-card);
  flex: none;
}
.rank-info { min-width: 0; flex: 1; }
.rank-name {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-meta { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }

/* ---------- 6. Hero (首页) ---------- */
.hero {
  position: relative;
  min-height: clamp(340px, 40vw, 500px);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  overflow: hidden;
  margin-bottom: 36px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* 品牌光效底：即使海报未加载/无图，hero 也有层次，不再一片死黑 */
  background:
    radial-gradient(58% 90% at 78% 18%, color-mix(in srgb, var(--brand) 26%, transparent), transparent 70%),
    radial-gradient(46% 76% at 92% 88%, color-mix(in srgb, #FF8A3D 20%, transparent), transparent 72%),
    radial-gradient(40% 70% at 12% 90%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%),
    #0A0A0F;
}
/* 细网格纹理，增强质感 */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, #fff 3.5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, #fff 3.5%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 80% at 60% 30%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 80% at 60% 30%, #000 0%, transparent 100%);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: blur(1px) brightness(0.62) saturate(1.1);
  transform: scale(1.04);
  transition: opacity .8s var(--ease);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 4%, color-mix(in srgb, var(--bg) 78%, transparent) 38%, transparent 72%),
    linear-gradient(0deg, var(--bg) 2%, transparent 46%);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 92px) var(--pad) clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 40px;
  align-items: end;
  min-height: inherit;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 6px;
  border-radius: var(--r-full);
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 34%, transparent);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-tag span { padding: 1px 8px; border-radius: var(--r-full); background: var(--brand); color: #fff; font-size: 10.5px; }

.hero-title {
  font-size: clamp(30px, 5.2vw, 60px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -1.6px;
  margin-bottom: 14px;
  text-wrap: balance;
}

.hero-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 16px;
}
.hero-info .score { color: var(--gold); font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; gap: 3px; }
.hero-info .chip {
  padding: 2px 9px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 12px;
  color: var(--text-2);
}

.hero-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 620px;
  margin-bottom: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: var(--r-full);
  font-size: 14.5px;
  font-weight: 700;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn i { font-size: 19px; }
.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255, 77, 109, 0.42); }
.btn-ghost {
  background: color-mix(in srgb, var(--text) 10%, transparent);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--text) 16%, transparent); transform: translateY(-2px); }
.btn-soft {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--line);
}
.btn-soft:hover { background: var(--surface); border-color: var(--line-strong); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-sm i { font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

.hero-side {
  display: grid;
  gap: 10px;
  align-content: end;
}
.hero-side-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}
.hero-mini {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--bg-elev) 55%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: all .25s var(--ease);
}
.hero-mini:hover { background: color-mix(in srgb, var(--bg-elev) 85%, transparent); transform: translateX(4px); }
.hero-mini img { width: 44px; height: 60px; border-radius: 7px; object-fit: cover; background: var(--bg-card); flex: none; }
.hero-mini .m-name { font-size: 13px; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-mini .m-meta { font-size: 11px; color: var(--text-3); margin-top: 3px; }

/* ---------- 7. Category Rail ---------- */
.cat-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 22px 0 4px;
  margin-bottom: 34px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-rail::-webkit-scrollbar { display: none; }

.cat-chip {
  flex: none;
  height: 38px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  transition: all .22s var(--ease);
  white-space: nowrap;
}
.cat-chip:hover { color: var(--text); background: var(--surface-2); border-color: var(--line-strong); }
.cat-chip.is-active {
  background: var(--brand-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--glow);
}

/* ---------- 8. Row (横向滑动) ---------- */
.hrow {
  display: flex;
  gap: clamp(12px, 1.2vw, 18px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin: 0 calc(var(--pad) * -1);
  padding-left: var(--pad);
  padding-right: var(--pad);
  scrollbar-width: none;
}
.hrow::-webkit-scrollbar { display: none; }
.hrow > * {
  flex: 0 0 clamp(140px, 15vw, 190px);
  scroll-snap-align: start;
}

.row-wrap { position: relative; }
.row-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 20px;
  z-index: 5;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.row-wrap:hover .row-nav { opacity: 1; pointer-events: auto; }
.row-nav.prev { left: -6px; }
.row-nav.next { right: -6px; }
.row-nav:hover { background: var(--bg-hover); }
@media (hover: none) { .row-nav { display: none; } }

/* ---------- 9. Filter bar (列表页) ---------- */
.page-head {
  padding: 30px 0 8px;
}
.page-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 6px;
}
.page-sub { font-size: 13.5px; color: var(--text-3); }

.filter-bar {
  display: grid;
  gap: 2px;
  margin: 22px 0 26px;
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--line);
}
.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 7px 0;
}
.filter-label {
  flex: none;
  width: 56px;
  padding-top: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: .5px;
}
.filter-track {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.filter-pill {
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 13px;
  color: var(--text-2);
  transition: all .2s;
  white-space: nowrap;
}
.filter-pill:hover { color: var(--text); background: var(--surface); }
.filter-pill.is-active {
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 32%, transparent);
}

.result-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
}
.result-bar em { color: var(--brand); font-style: normal; font-weight: 700; }

.sort-tabs { display: flex; gap: 4px; background: var(--surface); padding: 3px; border-radius: var(--r-full); }
.sort-tab {
  padding: 5px 14px;
  font-size: 12.5px;
  border-radius: var(--r-full);
  color: var(--text-3);
  transition: all .2s;
}
.sort-tab.is-active { background: var(--bg-elev); color: var(--text); font-weight: 700; box-shadow: var(--shadow-sm); }

/* ---------- 10. Pagination ---------- */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 46px 0 10px;
  flex-wrap: wrap;
}
.pager-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.pager-btn:hover:not(.is-disabled) { background: var(--surface-2); color: var(--text); border-color: var(--line-strong); }
.pager-btn.is-active {
  background: var(--brand-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow);
}
.pager-btn.is-disabled { opacity: .35; pointer-events: none; }
.pager-gap { color: var(--text-3); padding: 0 4px; }

.load-more { display: flex; justify-content: center; margin: 36px 0; }

/* ---------- 11. Skeleton ---------- */
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.sk {
  background: linear-gradient(90deg, var(--bg-card) 20%, var(--bg-hover) 40%, var(--bg-card) 60%);
  background-size: 300% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--r-md);
}
.sk-card { aspect-ratio: 2 / 3; }
.sk-line { height: 14px; border-radius: 6px; }
.sk-title { height: 26px; width: 40%; border-radius: 8px; }

/* ---------- 12. Empty / Error ---------- */
.empty {
  text-align: center;
  padding: 74px 20px;
  color: var(--text-3);
}
.empty i { font-size: 52px; display: block; margin-bottom: 14px; opacity: .35; }
.empty h3 { font-size: 16px; color: var(--text-2); margin-bottom: 6px; font-weight: 700; }
.empty p { font-size: 13.5px; }
.empty .btn { margin-top: 20px; }

/* ---------- 13. Detail Page ---------- */
.detail-hero {
  position: relative;
  padding: calc(var(--header-h) + 34px) 0 40px;
  margin-top: calc(var(--header-h) * -1);
  overflow: hidden;
  isolation: isolate;
}
.detail-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #08080C;
}
.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px) brightness(0.48) saturate(1.35);
  transform: scale(1.16);
}
.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, var(--bg) 1%, color-mix(in srgb, var(--bg) 62%, transparent) 46%, color-mix(in srgb, var(--bg) 32%, transparent) 100%);
}

.detail-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 48px);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  align-items: end;
}

.detail-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.detail-poster .badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
  color: #fff;
}

.detail-main { min-width: 0; padding-bottom: 4px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-3);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb i { font-size: 12px; }

.detail-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.12;
  margin-bottom: 8px;
  text-wrap: balance;
}
.detail-sub { font-size: 13.5px; color: var(--text-3); margin-bottom: 14px; }

.detail-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 18px;
}
.score-big {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: 26px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.score-big small { font-size: 12px; color: var(--text-3); font-weight: 600; }
.tag {
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-2);
}
.tag.accent { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 30%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); }

.detail-text {
  display: grid;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 22px;
  max-width: 760px;
}
.detail-text b { color: var(--text-3); font-weight: 600; margin-right: 6px; }
.detail-text .clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* 播放页 / 详情页 内容区 */
.content-shell {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.block {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(16px, 2vw, 26px);
  margin-bottom: 22px;
}

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.block-title {
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.block-title i { color: var(--brand); font-size: 18px; }

/* 线路切换 */
.line-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.line-tab {
  padding: 7px 16px;
  border-radius: var(--r-full);
  font-size: 12.5px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-2);
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.line-tab:hover { color: var(--text); background: var(--surface-2); }
.line-tab.is-active {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--accent);
  font-weight: 700;
}
.line-tab .cnt { font-size: 11px; opacity: .6; }

/* 选集 */
.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 4px;
}
.ep-chip {
  height: 38px;
  padding: 0 8px;
  border-radius: var(--r-xs);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .18s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ep-chip:hover { background: var(--surface-2); color: var(--text); border-color: var(--line-strong); }
.ep-chip.is-active {
  background: var(--brand-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--glow);
}
.ep-chip.is-seen::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  margin-left: 5px;
  flex: none;
}

/* ---------- 14. Player ---------- */
.player-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.player-shell:fullscreen { border-radius: 0; aspect-ratio: auto; height: 100%; }
.player-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.player-shell.is-fill video { object-fit: cover; }

.pl-click {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pl-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
  pointer-events: none;
}
.pl-spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--brand);
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pl-big-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 4;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3), transparent 62%);
}
.pl-big-play i {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 32px;
  padding-left: 5px;
  color: #fff;
  background: color-mix(in srgb, var(--brand) 82%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 36px rgba(255, 77, 109, 0.45);
  transition: transform .3s var(--ease-out);
}
.pl-big-play:hover i { transform: scale(1.08); }

.pl-flash {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
  padding: 10px 20px;
  border-radius: var(--r-full);
  background: rgba(10, 10, 15, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  pointer-events: none;
  animation: fadeUp .25s var(--ease);
}
@keyframes fadeUp { from { opacity: 0; transform: translate(-50%, -40%); } to { opacity: 1; transform: translate(-50%, -50%); } }

.pl-top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 6;
  padding: 14px 18px 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(rgba(0, 0, 0, 0.72), transparent);
  color: #fff;
  opacity: 0;
  transition: opacity .28s;
  pointer-events: none;
}
.pl-top.is-visible { opacity: 1; pointer-events: auto; }
.pl-top-title { font-size: 14px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-top-title span { color: rgba(255, 255, 255, 0.6); font-weight: 500; margin-left: 8px; }

.pl-bottom {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 6;
  padding: 40px 14px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.84));
  color: #fff;
  opacity: 0;
  transition: opacity .28s;
  pointer-events: none;
}
.pl-bottom.is-visible { opacity: 1; pointer-events: auto; }

.pl-progress {
  position: relative;
  height: 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
  margin-bottom: 2px;
}
.pl-track {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  overflow: visible;
  transition: height .16s;
}
.pl-progress:hover .pl-track,
.pl-progress.is-dragging .pl-track { height: 6px; }
.pl-buffer {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.34);
  width: 0;
}
.pl-played {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-radius: inherit;
  background: var(--brand-grad);
  width: 0;
}
.pl-handle {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 42%, transparent);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .18s var(--ease-out);
  pointer-events: none;
}
.pl-progress:hover .pl-handle,
.pl-progress.is-dragging .pl-handle { transform: translate(-50%, -50%) scale(1); }
.pl-tooltip {
  position: absolute;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.82);
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  pointer-events: none;
}

.pl-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pl-group { display: flex; align-items: center; gap: 2px; min-width: 0; }
.pl-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  transition: background .16s, color .16s;
  flex: none;
}
.pl-btn:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.pl-btn.is-text { width: auto; padding: 0 9px; font-size: 12.5px; font-weight: 700; letter-spacing: .2px; }
.pl-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-variant-numeric: tabular-nums;
  margin-left: 6px;
  white-space: nowrap;
  user-select: none;
}

.pl-menu { position: relative; }
.pl-pop {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) scale(.96);
  transform-origin: bottom center;
  min-width: 92px;
  padding: 6px;
  border-radius: var(--r-sm);
  background: rgba(18, 18, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all .2s var(--ease);
  max-height: 260px;
  overflow-y: auto;
}
.pl-menu.is-open .pl-pop { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); }
.pl-pop-title {
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
  padding: 5px 10px 7px;
  font-weight: 700;
}
.pl-pop-item {
  display: block;
  width: 100%;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.pl-pop-item:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.pl-pop-item.is-active { color: var(--brand); font-weight: 700; background: rgba(255, 77, 109, 0.12); }

.pl-vol { display: flex; align-items: center; }
.pl-vol input {
  width: 0;
  opacity: 0;
  height: 4px;
  transition: width .25s var(--ease), opacity .2s;
  accent-color: var(--brand);
  cursor: pointer;
}
.pl-vol:hover input, .pl-vol.is-open input { width: 72px; opacity: 1; margin: 0 6px; }

/* 播放页布局 */
.play-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  margin-bottom: 10px;
}

/* ---------- 15. Watch Together ---------- */
.watch-hero {
  padding: 42px 0 26px;
  text-align: center;
}
.watch-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.watch-hero h1 em {
  font-style: normal;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.watch-hero p { color: var(--text-2); font-size: 14px; }

.watch-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
}
.panel + .panel { margin-top: 20px; }

.seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border-radius: var(--r-full);
  margin-bottom: 20px;
}
.seg-item {
  flex: 1;
  height: 38px;
  border-radius: var(--r-full);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-3);
  transition: all .22s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.seg-item.is-active { background: var(--bg-card); color: var(--text); box-shadow: var(--shadow-sm); }

.field { margin-bottom: 15px; }
.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 7px;
}
.field-label .hint { color: var(--text-3); font-weight: 400; }
.input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  outline: none;
  font-size: 14px;
  transition: all .2s;
}
.input::placeholder { color: var(--text-3); }
.input:focus {
  background: var(--bg-card);
  border-color: color-mix(in srgb, var(--brand) 55%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent);
}
.input.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 3px; font-size: 17px; font-weight: 800; text-align: center; text-transform: uppercase; }
.input-row { display: flex; gap: 8px; }
.input-row .input { flex: 1; }

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  font-size: 13.5px;
  color: var(--text-2);
}
.switch {
  position: relative;
  width: 44px;
  height: 25px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: background .25s;
  flex: none;
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--text-2);
  transition: all .25s var(--ease);
}
.switch.is-on { background: var(--brand-grad); border-color: transparent; }
.switch.is-on::after { left: 21px; background: #fff; }

.range {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 99px;
  background: var(--surface-2);
  outline: none;
  cursor: pointer;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(255, 77, 109, 0.5);
}
.range::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #fff;
}

.vod-picker {
  max-height: 232px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 6px;
  margin-top: 8px;
}
.vod-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border-radius: var(--r-xs);
  cursor: pointer;
  transition: background .16s;
}
.vod-opt:hover { background: var(--surface); }
.vod-opt.is-active { background: color-mix(in srgb, var(--brand) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 30%, transparent); }
.vod-opt img { width: 38px; height: 52px; border-radius: 5px; object-fit: cover; background: var(--bg-card); flex: none; }
.vod-opt .v-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vod-opt .v-meta { font-size: 11px; color: var(--text-3); }
.vod-opt .v-check { margin-left: auto; color: var(--brand); font-size: 17px; }

.room-list { display: grid; gap: 10px; }
.room-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all .22s var(--ease);
  cursor: pointer;
}
.room-item:hover { background: var(--surface-2); border-color: var(--line-strong); transform: translateX(3px); }
.room-thumb {
  width: 46px;
  height: 62px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-card);
  flex: none;
}
.room-meta { flex: 1; min-width: 0; }
.room-name { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room-desc { font-size: 11.5px; color: var(--text-3); margin-top: 3px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.room-badge {
  padding: 1px 7px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 700;
  background: var(--surface-2);
  color: var(--text-2);
}
.room-badge.live { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.room-count {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 房间界面 */
.room-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  padding: 18px var(--pad) 24px;
  max-width: 1760px;
  margin: 0 auto;
  align-items: start;
}
.room-stage { min-width: 0; display: grid; gap: 14px; }

.stage-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.stage-title { font-size: 17px; font-weight: 800; min-width: 0; }
.stage-title small { display: block; font-size: 12px; font-weight: 500; color: var(--text-3); margin-top: 2px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-2);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 24%, transparent); animation: blink 2s infinite; }
.pill.warn .dot { background: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 24%, transparent); }
.pill.host { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 34%, transparent); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.pill.host .dot { display: none; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.room-side { display: grid; gap: 14px; min-width: 0; }

.room-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.room-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 4px;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 10px; }
.member {
  display: grid;
  justify-items: center;
  gap: 4px;
  position: relative;
  padding: 6px 2px;
  border-radius: var(--r-xs);
  transition: background .16s;
}
.member:hover { background: var(--surface); }
.member-ava {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #6D6DF6, #A855F7);
  position: relative;
}
.member.is-host .member-ava { background: var(--brand-grad); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 55%, transparent); }
.member-ava .crown {
  position: absolute;
  top: -7px;
  right: -5px;
  font-size: 12px;
  color: var(--gold);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5));
}
.member-name {
  font-size: 10.5px;
  color: var(--text-2);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/* 语音：说话中的成员头像环 */
.member.is-speaking .member-ava {
  box-shadow: 0 0 0 2px var(--ok), 0 0 10px 1px color-mix(in srgb, var(--ok) 60%, transparent);
  animation: voicePulse 1.1s ease-in-out infinite;
}
@keyframes voicePulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--ok), 0 0 6px 1px color-mix(in srgb, var(--ok) 50%, transparent); }
  50%      { box-shadow: 0 0 0 2px var(--ok), 0 0 14px 3px color-mix(in srgb, var(--ok) 70%, transparent); }
}

/* 语音按钮开启态 */
.btn-soft.is-on {
  background: color-mix(in srgb, var(--ok) 16%, transparent);
  border-color: color-mix(in srgb, var(--ok) 50%, transparent);
  color: var(--ok);
}
.btn-soft.is-on:hover {
  background: color-mix(in srgb, var(--ok) 24%, transparent);
}

.chat { display: flex; flex-direction: column; height: 380px; min-height: 240px; }
.chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; padding: 4px 2px 8px; min-height: 0; }
.chat-line { display: flex; gap: 8px; max-width: 92%; }
.chat-line.is-self { align-self: flex-end; flex-direction: row-reverse; }
.chat-line .ava {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #6D6DF6, #A855F7);
}
.chat-line.is-self .ava { background: var(--brand-grad); }
.chat-body { min-width: 0; }
.chat-who { font-size: 10.5px; color: var(--text-3); margin-bottom: 2px; display: flex; gap: 6px; align-items: center; }
.chat-text {
  padding: 8px 12px;
  border-radius: 12px 12px 12px 4px;
  background: var(--surface-2);
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
  white-space: pre-wrap;
}
.chat-line.is-self .chat-text {
  background: var(--brand-grad);
  color: #fff;
  border-radius: 12px 12px 4px 12px;
}
.chat-sys {
  align-self: center;
  font-size: 11px;
  color: var(--text-3);
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--surface);
  text-align: center;
}
.chat-form { display: flex; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.chat-form .input { height: 40px; border-radius: var(--r-full); }
.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  font-size: 18px;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform .2s var(--ease);
}
.chat-send:hover { transform: scale(1.07); }

/* ---------- 16. Misc ---------- */
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
}

.toast-stack {
  position: fixed;
  top: calc(var(--header-h) + 14px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: grid;
  gap: 8px;
  width: max-content;
  max-width: min(92vw, 420px);
  pointer-events: none;
}
.toast {
  padding: 11px 20px;
  border-radius: var(--r-full);
  background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toastIn .3s var(--ease);
}
.toast.is-out { animation: toastOut .25s var(--ease) forwards; }
.toast i { font-size: 17px; }
.toast.ok i { color: var(--ok); }
.toast.err i { color: var(--err); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px) scale(.97); } }

.back-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 20px;
  display: grid;
  place-items: center;
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-md);
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--bg-hover); border-color: color-mix(in srgb, var(--brand) 45%, transparent); }

.fade-in { animation: fadeIn .5s var(--ease-out) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 17. Footer ---------- */
.site-footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elev) 40%, transparent);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px var(--pad) 30px;
  display: grid;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { font-size: 16px; font-weight: 800; }
.footer-brand p { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--text-2); }
.footer-links a:hover { color: var(--brand); }
.footer-copy { font-size: 12px; color: var(--text-3); }

/* ---------- 18. Tabbar (mobile) ---------- */
.tabbar {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 850;
  height: calc(58px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(22px) saturate(160%);
  border-top: 1px solid var(--line);
}
.tabbar .tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  transition: color .2s;
  -webkit-tap-highlight-color: transparent;
}
.tabbar .tab i { font-size: 21px; transition: transform .25s var(--ease); }
.tabbar .tab.is-active { color: var(--brand); }
.tabbar .tab.is-active i { transform: translateY(-1px); }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1200px) {
  .play-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .room-shell { grid-template-columns: minmax(0, 1fr) 320px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-side { display: none; }
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .watch-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 180px minmax(0, 1fr); }
  .play-layout { grid-template-columns: 1fr; }
  .room-shell { grid-template-columns: 1fr; }
  .room-side { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .chat { height: 340px; }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .search-inline { display: none; }
  .mobile-search-btn { display: grid; }
  .header-actions .icon-btn:nth-child(3) { display: none; }
  .tabbar { display: flex; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .back-top { bottom: calc(70px + env(safe-area-inset-bottom)); right: 14px; width: 40px; height: 40px; font-size: 18px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
  .card { border-radius: var(--r-sm); }
  .card-name { font-size: 12px; }
  .card-meta { font-size: 10px; margin-top: 3px; }
  .card-body { padding: 8px; }
  .card-play { width: 38px; height: 38px; margin: -19px 0 0 -19px; font-size: 18px; }
  .card-remark { font-size: 10px; padding: 2px 6px; top: 7px; left: 7px; }
  .card-score { font-size: 10px; padding: 2px 5px; top: 7px; right: 7px; }
  .hero { border-radius: 0; min-height: 320px; }
  .hero::before {
    background:
      linear-gradient(0deg, var(--bg) 6%, color-mix(in srgb, var(--bg) 55%, transparent) 60%, transparent 100%);
  }
  .hero-bg img { object-position: center 22%; filter: blur(1px) brightness(.5); }
  .hero-inner { padding-top: 42px; padding-bottom: 26px; }
  .hero-title { letter-spacing: -0.8px; }
  .hero-desc { -webkit-line-clamp: 3; font-size: 13.5px; margin-bottom: 20px; }
  .hero-actions .btn { flex: 1; min-width: 132px; padding: 0 16px; height: 44px; }
  .section { margin-bottom: 34px; }
  .section-head { margin-bottom: 12px; }
  .detail-hero { padding-top: calc(var(--header-h) + 18px); }
  .detail-layout { grid-template-columns: 116px minmax(0, 1fr); gap: 16px; align-items: start; }
  .detail-poster { border-radius: var(--r-md); }
  .detail-title { font-size: 21px; letter-spacing: -.4px; }
  .detail-sub { display: none; }
  .detail-facts { gap: 6px 10px; font-size: 12px; margin-bottom: 12px; }
  .score-big { font-size: 20px; }
  .detail-text { display: none; }
  .detail-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .detail-actions .btn { width: 100%; height: 42px; padding: 0 10px; font-size: 13px; min-width: 0; }
  .detail-actions .btn i { font-size: 16px; }
  .player-shell { border-radius: var(--r-md); }
  .block { padding: 14px; border-radius: var(--r-md); }
  .ep-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); max-height: 260px; }
  .ep-chip { height: 34px; font-size: 12px; }
  .pl-btn { width: 32px; height: 32px; font-size: 18px; }
  .pl-btn.is-text { font-size: 11.5px; padding: 0 6px; }
  .pl-time { font-size: 11px; margin-left: 2px; }
  .pl-bottom { padding-top: 30px; }
  .pl-big-play i { width: 60px; height: 60px; font-size: 26px; }
  .page-head { padding-top: 20px; }
  .filter-label { width: 40px; font-size: 11.5px; padding-top: 8px; }
  .filter-pill { padding: 5px 11px; font-size: 12.5px; }
  .filter-track { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filter-track::-webkit-scrollbar { display: none; }
  .pager-btn { min-width: 36px; height: 36px; font-size: 12.5px; }
  .footer-inner { padding-bottom: calc(30px + 10px); }
  .member-ava { width: 34px; height: 34px; font-size: 13px; }
  .chat { height: 300px; }
  .watch-hero { padding: 26px 0 18px; text-align: left; }
  .panel { padding: 16px; border-radius: var(--r-md); }
  .hero-mini, .hero-side-title { display: none; }
}

@media (max-width: 420px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .detail-layout { grid-template-columns: 100px minmax(0, 1fr); gap: 13px; }
  .detail-title { font-size: 19px; }
  .brand-text { font-size: 17px; }
}

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

/* 站点公告横幅（后台可设置） */
.site-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--brand-grad);
  text-align: center;
}
.site-notice i { font-size: 16px; flex: none; }
.site-notice span { min-width: 0; }

/* ==========================================================================
   心动风改版：Hero 大图标语卡 / 快捷入口卡 / 分类 chips
   ========================================================================== */

.hero-ref {
  position: relative;
  margin: clamp(12px, 2vw, 24px) var(--pad) 0;
  border-radius: 26px;
  overflow: hidden;
  min-height: clamp(300px, 42vw, 420px);
  display: flex;
  align-items: center;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}
.hero-ref .hero-bg {
  position: absolute; inset: 0; z-index: -1;
}
.hero-ref .hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  transition: opacity .5s var(--ease);
}
.hero-ref .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 6, 14, .88) 0%, rgba(10, 6, 14, .72) 42%, rgba(20, 8, 16, .35) 100%);
}
.hero-ref .hero-inner {
  position: relative;
  width: 100%;
  max-width: 720px;
  padding: clamp(28px, 5vw, 64px);
  color: #fff;
}
.hero-ref .hero-slogan {
  font-size: clamp(26px, 4.4vw, 46px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: .01em;
  margin-bottom: 14px;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-ref .hero-slogan span { color: #FF8FB1; }
.hero-ref .hero-sub {
  font-size: clamp(13.5px, 1.5vw, 16px);
  color: rgba(255,255,255,.82);
  margin-bottom: 26px;
}
.hero-ref .hero-search {
  display: flex; align-items: center; gap: 4px;
  background: #fff;
  border-radius: 16px;
  padding: 6px 6px 6px 18px;
  max-width: 560px;
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}
.hero-ref .hero-search > i { color: #9AA3B5; font-size: 19px; flex: none; }
.hero-ref .hero-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 15px; color: #111827; padding: 12px 8px;
}
.hero-ref .hero-search button {
  flex: none; border: 0; cursor: pointer;
  background: #FFB1C6; color: #fff;
  font: inherit; font-weight: 600; font-size: 15px;
  padding: 12px 26px; border-radius: 12px;
  transition: background .2s var(--ease);
}
.hero-ref .hero-search button:hover { background: var(--brand); }
.hero-ref .hero-hint {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255,255,255,.66);
  display: flex; align-items: center; gap: 6px;
}

/* 快捷入口三卡 */
.quick-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.6vw, 18px);
  margin-top: clamp(14px, 2vw, 22px);
}
.qc {
  display: flex; align-items: center; gap: 14px;
  padding: clamp(14px, 2vw, 22px) clamp(16px, 2.2vw, 26px);
  border-radius: 18px;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.qc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.qc b { display: block; font-size: 16.5px; color: #111827; margin-bottom: 3px; }
.qc small { display: block; font-size: 12.5px; color: #747D92; }
.qc .qc-ico {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font-size: 23px;
}
.qc .ri-arrow-right-line { margin-left: auto; color: #9AA3B5; font-size: 18px; }
.qc-pink   { background: #FFEDF2; } .qc-pink .qc-ico   { background: #FFD3E0; color: #E5255F; }
.qc-blue   { background: #EEF3FF; } .qc-blue .qc-ico   { background: #DCE5FF; color: #536BE0; }
.qc-orange { background: #FFF4EC; } .qc-orange .qc-ico { background: #FFE3CE; color: #C85B14; }

[data-theme="dark"] .qc b,
[data-theme="dark"] .hero-ref .hero-search input { color: #F4F4F7; }
[data-theme="dark"] .qc small,
[data-theme="dark"] .qc .ri-arrow-right-line { color: #A7A7B4; }

@media (max-width: 900px) {
  .quick-cards { grid-template-columns: 1fr; }
  .hero-ref { border-radius: 20px; min-height: 280px; }
  .hero-ref .hero-search button { padding: 11px 20px; }
}

/* 分类 chips（参考站样式：选中粉色填充） */
.cat-rail { gap: 8px; }
.cat-rail .cat-chip {
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  color: #747D92;
  border-radius: 999px;
}
[data-theme="dark"] .cat-rail .cat-chip {
  background: var(--bg-card); border-color: var(--line); color: var(--text-2);
}
.cat-rail .cat-chip.is-active {
  background: #FF4F7B !important;
  border-color: #FF4F7B !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(255, 79, 123, .35);
}

/* hero-ref 覆盖旧 hero 布局 */
.hero-ref .hero-inner {
  display: block;
  max-width: 720px;
  margin: 0;
  padding: clamp(28px, 5vw, 64px);
  min-height: 0;
  grid-template-columns: none;
  gap: 0;
  align-items: initial;
}
.hero-ref .hero-bg::before,
.hero-ref .hero-bg::after {
  background: linear-gradient(100deg, rgba(10, 6, 14, .88) 0%, rgba(10, 6, 14, .72) 42%, rgba(20, 8, 16, .35) 100%) !important;
}

/* ===== 最新上线预览 ===== */
.latest-preview { margin-top: 28px; }
.lp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-col {
  background: var(--card, #fff);
  border: 1px solid var(--border, #eee);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}
.lp-col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border, #eee);
}
.lp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.lp-dot-movies { background: #ff5757; }
.lp-dot-series { background: #4f8cff; }
.lp-dot-show   { background: #ffb020; }
.lp-col-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  flex: 1;
}
.lp-col-head a {
  font-size: 12px;
  color: var(--muted, #999);
  text-decoration: none;
}
.lp-col-head a:hover { color: var(--brand, #ff5757); }

.lp-list { display: flex; flex-direction: column; gap: 10px; }
.lp-item {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding: 4px;
  border-radius: 8px;
  transition: background .15s;
}
.lp-item:hover { background: var(--hover, #f5f5f5); }
.lp-poster {
  position: relative;
  width: 56px;
  height: 76px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}
.lp-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #ff5757, #ff8a3d);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 0 0 6px 0;
  letter-spacing: .5px;
}
.lp-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.lp-name {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted, #999);
  display: flex;
  gap: 6px;
  align-items: center;
}
.lp-remark {
  color: var(--brand, #ff5757);
  font-weight: 500;
}

@media (max-width: 900px) {
  .lp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lp-poster { width: 48px; height: 66px; }
  .lp-name { font-size: 13px; }
}
