:root {
  --bg: #070708;
  --bg-deep: #050505;
  --surface: #161513;
  --surface-2: #221f1a;
  --text: #f6f3ea;
  --muted: #9a958c;
  --soft: #d4cbb8;
  --gold: #ffd84a;
  --gold-2: #f0b400;
  --ink: #1a1204;
  --line: rgba(255, 216, 74, 0.16);
  --danger: #ff8a80;
  --ok: #d6b15a;
  --header: 64px;
  --side: 280px;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body {
  margin: 0;
  background:
    radial-gradient(1000px 420px at 50% -80px, rgba(255, 196, 0, 0.07), transparent 55%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.site { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

.vh-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 7, 8, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.vh-top-inner {
  height: var(--header);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.search {
  flex: 1;
  display: flex;
  background: #12110e;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  max-width: 560px;
}
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 16px;
  outline: none;
}
.search button {
  border: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0 16px;
}
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ghost, .vip-link, .icon-btn, .avatar {
  border: 0;
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}
.vip-link { background: linear-gradient(180deg, #ffe14a, var(--gold-2)); color: var(--ink); font-weight: 700; }
.icon-btn, .avatar { width: 40px; padding: 0; justify-content: center; }
.avatar { background: #3a3224; }
.history-wrap { position: relative; }
.history-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 50;
}
.history-pop[hidden] { display: none; }
.history-pop h3 { margin: 4px 8px 8px; font-size: 14px; color: var(--soft); }
.history-pop a, .history-empty {
  display: block;
  padding: 8px;
  border-radius: 8px;
  font-size: 14px;
}
.history-pop a:hover { background: rgba(255, 255, 255, 0.06); }
.history-empty { color: var(--muted); }

.vh-mh {
  display: none;
  position: sticky;
  top: 0;
  z-index: 40;
  height: 52px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: rgba(7, 7, 8, 0.94);
  border-bottom: 1px solid var(--line);
}
.vh-mh .logo { margin-right: auto; }
.mh-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
}

.dm-top-caps {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 12px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.dm-top-caps a {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--soft);
  background: transparent;
  border: 1px solid transparent;
  font-size: 14px;
}
.dm-top-caps a.is-active,
.dm-top-caps a:hover {
  color: var(--ink);
  background: var(--gold);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 23, 0.72);
  z-index: 60;
}
.overlay[hidden] { display: none; }
.dm-side {
  position: fixed;
  z-index: 70;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(70%, 300px);
  background: var(--bg-deep);
  transform: translateX(-105%);
  transition: transform 0.2s ease;
  padding: 16px;
  overflow: auto;
}
.dm-side.is-open { transform: none; }
.dm-side-close {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 20px;
}
.side-link {
  display: block;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
}
.side-link.is-active { color: var(--gold); }

.wrap {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 32px;
}
.breadcrumb { color: var(--muted); font-size: 13px; margin: 8px 0 16px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { margin: 0 6px; }

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--side);
  gap: 28px;
  align-items: start;
}
.fresh { margin: 8px 0 28px; }
.fresh-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.fresh-head h2 { margin: 0; font-size: 22px; }
.fresh-head a { color: #b7b7be; font-size: 14px; }
.fresh-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px 14px;
}
.fresh-card { min-width: 0; }
.fresh-card a { display: block; }
.fresh-cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}
.fresh-cover img, .fresh-cover .cover-fallback { width: 100%; height: 100%; object-fit: cover; }
.fresh-cat {
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.62);
  color: #ffd84a;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fresh-card h3 {
  margin: 8px 0 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.fresh-meta, .fresh-when { margin: 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fresh-meta { color: #8d8d96; }
.fresh-when { margin-top: 4px; color: #e0b15a; }
.drama-page { width: min(1180px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
.drama-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.drama-hero, .drama-eps, .drama-hot {
  background: #17191f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}
.drama-hero { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; padding: 18px; }
.drama-poster { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 4; background: #111; }
.drama-poster img, .drama-poster .cover-fallback { width: 100%; height: 100%; object-fit: cover; }
.drama-copy h1 { margin: 0 0 10px; font-size: 28px; }
.drama-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 12px; color: #b7b7be; font-size: 13px; }
.drama-meta a { color: #ffd84a; }
.drama-intro { margin: 0 0 12px; color: #d4d4d8; line-height: 1.7; }
.drama-intro span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drama-intro.is-open span { display: block; -webkit-line-clamp: unset; }
.drama-intro button { margin-left: 8px; border: 0; background: transparent; color: #ffd84a; padding: 0; }
.drama-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.drama-acts .btn-gold, .drama-acts button {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 0 16px;
}
.drama-acts button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #fff;
}
.drama-acts svg { width: 16px; height: 16px; }
.drama-acts button.is-on { color: #ffd84a; border-color: rgba(255, 216, 74, 0.45); }
.drama-eps { margin-top: 16px; padding: 16px 18px 18px; }
.drama-eps-head, .drama-like h2, .drama-hot h2 { display: flex; align-items: center; gap: 10px; }
.drama-eps-head h2, .drama-like h2, .drama-hot h2 { margin: 0; font-size: 18px; }
.drama-eps-head span { color: #8d8d96; font-size: 13px; }
.drama-eps-head button { margin-left: auto; border: 0; background: transparent; color: #b7b7be; }
.drama-eps-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.drama-ep {
  position: relative;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #22252c;
  color: #eee;
  font-weight: 700;
}
.drama-ep.is-current { color: #ffd84a; }
.drama-ep.is-current::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 3px;
  border-radius: 999px;
  background: #ffd84a;
}
.drama-ep .badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 10px;
  line-height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e0a15a;
  color: #1a1204;
}
.drama-stat, .drama-year { display: none; }
.drama-resume { display: inline-block; margin-top: 14px; color: #ffd84a; }
.drama-hot { padding: 16px; }
.drama-hot ol { list-style: none; margin: 12px 0 0; padding: 0; }
.drama-hot li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 0; }
.drama-hot a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drama-hot b { color: #8d8d96; font-size: 12px; font-weight: 500; }
.drama-hot .no { color: #8d8d96; font-weight: 800; }
.drama-hot li:nth-child(-n+3) .no { color: #ffd84a; }
.drama-like { margin-top: 22px; }
.drama-like-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 12px; margin-top: 12px; }
.drama-like-card { min-width: 0; }
.drama-like-card b, .drama-like-card small { display: block; }
.drama-like-card b { margin-top: 8px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drama-like-card small { margin-top: 4px; color: #8d8d96; font-size: 12px; }
.cate-head { margin-bottom: 18px; }
.cate-head h1, .cate-head h2 { margin: 0 0 8px; font-size: 28px; text-align: center; font-weight: 700; }
.cate-head p { margin: 0 auto; max-width: 820px; color: var(--muted); line-height: 1.7; text-align: center; }

.masonry {
  columns: 4 180px;
  column-gap: 14px;
}
.card {
  break-inside: avoid;
  margin: 0 0 14px;
  background: transparent;
}
.card-cover {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 3 / 4;
}
.card-cover img, .cover-fallback { width: 100%; height: 100%; object-fit: cover; }
.cover-fallback {
  display: flex;
  align-items: flex-end;
  padding: 12px;
  min-height: 100%;
}
.cover-fallback b {
  font-size: 16px;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.heat {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 999px;
  padding: 2px 8px;
}
.card-title { margin: 8px 0 4px; font-size: 15px; font-weight: 650; line-height: 1.4; }
.card-sub {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag, .ep-badge {
  font-size: 12px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 2px 8px;
}
.tag:nth-child(even) { color: #f8cc81; }
.ep-badge { color: var(--gold); }
.ep-badge.is-updating { color: var(--ok); }

.sidebox { display: flex; flex-direction: column; gap: 16px; }
.sidebox-section, .rank, .detail-card, .comments {
  background: rgba(22, 20, 16, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.sidebox h3, .rank-tabs { margin: 0 0 10px; font-size: 15px; }
.side-search { display: flex; gap: 8px; }
.side-search input, .comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #12110e;
  border-radius: 8px;
  padding: 8px 10px;
  outline: none;
}
.side-search button, .btn, .btn-gold, .btn-line {
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--surface-2);
}
.btn-gold {
  background: linear-gradient(180deg, #ffe14a, var(--gold-2));
  color: var(--ink);
  font-weight: 700;
}
.btn-line { background: transparent; border: 1px solid var(--line); }
.rank-list, .side-list { list-style: none; margin: 0; padding: 0; }
.side-list a, .rank-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.side-list a:last-child, .rank-item:last-child { border-bottom: 0; }
.no {
  width: 22px;
  text-align: center;
  color: var(--gold);
  font-weight: 700;
  flex: none;
}
.mini-cover {
  position: relative;
  width: 42px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex: none;
}
.mini-cover .cover-fallback, .mini-cover img { height: 56px; }
.mini-cover .cover-fallback b { font-size: 10px; }
.rank-title { font-size: 14px; }
.rank-sub { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tag-cloud a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  color: var(--soft);
}
.tag-cloud a.is-active { background: var(--gold); color: var(--ink); border-color: transparent; }

.pager { display: flex; justify-content: center; gap: 8px; margin: 22px 0; list-style: none; padding: 0; }
.pager a, .pager span {
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface);
  padding: 0 10px;
}
.pager .is-active span { background: var(--gold); color: var(--ink); }
.empty { text-align: center; color: var(--muted); padding: 48px 0; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}
.detail-head {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 18px;
}
.poster {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #111;
}
.play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.18);
}
.play-badge span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
}
.detail-title { margin: 0; font-size: 26px; }
.meta { color: var(--muted); margin: 8px 0; font-size: 14px; }
.meta a { color: var(--gold); }
.desc { line-height: 1.7; color: var(--soft); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.ep-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.ep {
  position: relative;
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #12110e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ep.is-active { border-color: var(--gold); color: var(--gold); }
.ep.is-locked { color: var(--muted); }
.ep .badge {
  position: absolute;
  top: -7px;
  right: -6px;
  font-size: 10px;
  background: var(--gold-2);
  color: var(--ink);
  border-radius: 999px;
  padding: 0 4px;
  line-height: 16px;
}
.ep .badge.vip { background: var(--gold); color: var(--ink); }
.comments { margin-top: 16px; }
.comments h2 { margin: 0 0 12px; font-size: 18px; }
.comment {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.comment strong { font-size: 13px; color: var(--soft); }
.comment p { margin: 6px 0; line-height: 1.6; }
.comment-form { display: grid; gap: 8px; margin-bottom: 8px; }
.comment-form[hidden] { display: none; }
.more {
  margin-top: 10px;
  background: transparent;
  border: 0;
  color: var(--gold);
}
.related { margin-top: 22px; }
.related h2 { font-size: 18px; }

.rank-tabs { display: flex; gap: 12px; overflow: auto; }
.rank-tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0 0 6px;
}
.rank-tabs button.is-active { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }

.watch-stage {
  width: min(1100px, calc(100% - 24px));
  margin: 12px auto 24px;
  display: grid;
  grid-template-columns: minmax(0, 420px) 72px minmax(260px, 1fr);
  gap: 12px;
  align-items: start;
}
.player-wrap { position: relative; }
.player {
  position: relative;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-height: calc(100vh - 96px);
}
.player video, .player .stage-poster { width: 100%; height: 100%; object-fit: cover; }
.stage-poster { position: absolute; inset: 0; display: block; }
.card-cover .cover-fallback,
.poster .cover-fallback,
.stage-poster .cover-fallback { position: absolute; inset: 0; height: auto; }
.back {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: grid;
  place-items: center;
}
.ep-label {
  position: absolute;
  z-index: 3;
  left: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 13px;
}
.lock {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(5, 5, 5, 0.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 8px;
}
.lock[hidden] { display: none; }
.lock h2 { margin: 0; font-size: 20px; }
.lock p { margin: 0; color: var(--soft); }
.lock a.btn-gold { display: inline-block; margin-top: 8px; text-decoration: none; }
.play-fab {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
}
.play-fab svg { width: 38px; height: 38px; margin-left: 4px; }
.wact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
}
.wact button, .wact a {
  border: 0;
  background: rgba(22, 20, 16, 0.92);
  border-radius: 12px;
  color: var(--text);
  padding: 8px 4px;
  display: grid;
  justify-items: center;
  gap: 2px;
  font-size: 12px;
}
.wact button.is-on { color: var(--gold); }
.wact button:disabled, .wact a[aria-disabled="true"] { opacity: 0.35; pointer-events: none; }
.rail { min-width: 0; }
.rail-tabs { display: flex; gap: 16px; margin-bottom: 12px; }
.rail-tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  padding-bottom: 6px;
}
.rail-tabs button.is-active { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.info-row { display: flex; gap: 12px; margin-bottom: 12px; }
.info-row .mini-cover { width: 64px; height: 86px; }
.info-row h2 { margin: 0 0 6px; font-size: 18px; }
.play-status {
  margin: 8px 4px 0;
  color: var(--muted);
  font-size: 13px;
}
.stage-hud, .ep-sheet { display: none; }
.stage-hud svg, .ep-sheet svg { width: 18px; height: 18px; display: block; }
.stage-hud .ico-pause { display: none; }
.line-menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
}
.line-menu[hidden] { display: none; }
.line-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px;
  border-radius: 8px;
}
.line-menu button.is-on { color: var(--gold); }

.footer {
  margin-top: auto;
  padding: 48px 110px 28px 28px;
  color: var(--muted);
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.foot-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 1fr));
  gap: 28px 40px;
}
.foot-logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.foot-logo strong { display: block; font-size: 20px; }
.foot-logo small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.foot-brand p { margin: 14px 0 0; line-height: 1.7; }
.foot-addr { display: flex; gap: 16px; }
.foot-addr span { color: #8d887e; }
.foot-addr a { color: var(--gold); font-weight: 700; }
.foot-tip { color: #6f6a62; font-size: 13px; }
.footer h3 { margin: 0 0 14px; color: #eee; font-size: 15px; font-weight: 700; }
.footer h3 + a, .footer a + a { display: block; margin-top: 10px; color: #9a958c; }
.footer a:hover { color: var(--gold); }
.foot-copy { margin: 36px 0 0; text-align: center; color: #6f6a62; font-size: 12px; }
.dock {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.dock-btn {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 216, 74, 0.38);
  background: rgba(14, 13, 11, 0.92);
  color: #ffd84a;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
}
.dock-btn svg { width: 18px; height: 18px; display: block; }
.dock-btn span {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 5px 8px;
  border-radius: 8px;
  background: #161513;
  border: 1px solid var(--line);
  color: #f6f3ea;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.dock-btn:hover {
  background: linear-gradient(180deg, #ffe14a, #f0b400);
  color: var(--ink);
  border-color: transparent;
}
.dock-btn:hover span { opacity: 1; }
.dock-ai {
  padding: 8px 14px;
  border-radius: 999px;
  background: #1f8a4c;
  color: #fff;
  font-weight: 800;
}
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .dock-btn span { display: none; }
}

.account-card {
  width: min(480px, 100%);
  margin: 28px auto;
  background:
    radial-gradient(420px 160px at 0% 0%, rgba(255, 216, 74, 0.14), transparent 62%),
    linear-gradient(180deg, #1a1814, #12110e);
  border: 1px solid rgba(255, 216, 74, 0.2);
  border-radius: 20px;
  padding: 28px 24px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.account-kicker {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 216, 74, 0.12);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.account-card h1 { margin: 0 0 8px; font-size: 28px; letter-spacing: 0.02em; }
.account-card .lead { margin: 0 0 16px; color: var(--muted); line-height: 1.6; }
.account-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.account-avatar {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #ffe56a, #e8a400);
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(240, 180, 0, 0.28);
}
.account-id h1 { margin: 0 0 6px; }
.account-id .account-kicker { margin-bottom: 4px; }
.account-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.account-badge.is-vip {
  background: rgba(255, 216, 74, 0.16);
  color: var(--gold);
}
.account-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 18px;
}
.account-facts div {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
}
.account-facts dt { margin: 0 0 4px; color: var(--muted); font-size: 12px; }
.account-facts dd { margin: 0; color: #fff; font-weight: 700; }
.account-links { display: flex; justify-content: center; gap: 18px; margin-top: 14px; }
.account-links a { color: var(--muted); font-size: 14px; }
.account-links a:hover { color: var(--gold); }
.account-card label { display: block; margin: 12px 0 6px; color: var(--soft); }
.account-card input {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #12110e;
  color: var(--text);
  padding: 0 12px;
}
.account-card .captcha-row { display: flex; gap: 10px; align-items: center; }
.account-card .captcha-row input { flex: 1; }
.account-card img.captcha { height: 42px; border-radius: 8px; background: #fff; }
.account-card button {
  margin-top: 18px;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffe14a, var(--gold-2));
  color: var(--ink);
  font-weight: 800;
}
.account-card .switch { margin-top: 14px; color: var(--muted); }
.account-card .switch a { color: var(--gold); }
.account-card .meta { margin: 0 0 8px; color: var(--soft); }
.account-card .meta b { color: #fff; font-weight: 700; }
.account-card a.account-go {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffe56a, #f0b400);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(240, 180, 0, 0.22);
}
.account-card a.account-go:hover { filter: brightness(1.05); }
.account-card a.account-line { display: block; margin-top: 12px; text-align: center; color: var(--muted); }
.account-card.is-fail { border-color: rgba(255, 138, 128, 0.45); }
.account-card.is-fail .account-kicker { background: rgba(255, 138, 128, 0.12); color: var(--danger); }
.land-login { max-width: 148px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-msg { margin: 0 0 12px; color: var(--danger); }
.play-buy { margin: 8px 0 0; }
.play-buy a { color: #ffd84a; font-weight: 700; }
.drama-acts a.drama-buy {
  height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 16px;
  border: 1px solid rgba(255, 216, 74, 0.45);
  color: #ffd84a;
  font-weight: 700;
}
.pay-board { width: min(1040px, 100%); margin: 20px auto 8px; }
.pay-head {
  margin-bottom: 16px;
  padding: 22px 26px;
  border-radius: 20px;
  background:
    radial-gradient(520px 160px at 0% 0%, rgba(255, 216, 74, 0.14), transparent 62%),
    linear-gradient(180deg, #1a1814, #12110e);
  border: 1px solid rgba(255, 216, 74, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.pay-kicker {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 216, 74, 0.12);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.pay-board h1 { margin: 0 0 8px; font-size: 30px; letter-spacing: 0.02em; }
.pay-board .lead { margin: 0; color: var(--muted); line-height: 1.6; }
.pay-board > .account-msg { margin: 0 0 14px; }
.pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pay-card {
  display: flex;
  flex-direction: column;
  min-height: 248px;
  padding: 20px 16px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1c1a16, #12110e);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.pay-card.pay-year {
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(255, 216, 74, 0.16), transparent 70%),
    linear-gradient(180deg, #241f14, #14120e);
  border-color: rgba(255, 216, 74, 0.38);
}
.pay-card.is-on {
  border-color: rgba(255, 216, 74, 0.82);
  box-shadow: 0 0 0 1px rgba(255, 216, 74, 0.28), 0 14px 32px rgba(0, 0, 0, 0.28);
}
.pay-card h2 { margin: 0; font-size: 18px; }
.pay-card .note { margin: 8px 0 0; color: var(--muted); min-height: 42px; line-height: 1.5; font-size: 13px; }
.pay-card .price { margin: 8px 0 16px; color: #ffe14a; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.pay-card .price small { margin-right: 2px; font-size: 14px; font-weight: 700; }
.pay-go, .pay-methods button {
  margin-top: auto;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffe56a, #f0b400);
  color: var(--ink);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(240, 180, 0, 0.22);
}
.pay-go:hover, .pay-methods button:hover { filter: brightness(1.05); }
.pay-methods { display: grid; gap: 8px; margin-top: auto; }
.pay-methods button { margin-top: 0; width: 100%; }
.pay-methods button.alt {
  background: #12110e;
  color: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}
.pay-sheet, .pay-orders {
  margin-top: 16px;
  padding: 18px 18px 8px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1c1a16, #12110e);
}
.pay-sheet h2, .pay-orders h2 { margin: 0 0 8px; font-size: 18px; }
.pay-amount { margin: 8px 0; color: #ffe14a; font-size: 32px; font-weight: 800; }
.pay-orders ul { list-style: none; margin: 0; padding: 0; }
.pay-orders li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--soft);
}
.pay-orders li span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pay-orders li small { color: var(--muted); font-size: 12px; }
.pay-orders li b { flex: none; font-weight: 700; color: #fff; }
.pay-orders li em {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}
.pay-orders li b.is-paid em { background: rgba(255, 216, 74, 0.16); color: var(--gold); }
.pay-orders li b.is-wait em { background: rgba(255, 255, 255, 0.06); color: var(--muted); }
@media (max-width: 900px) {
  .pay-grid { grid-template-columns: 1fr 1fr; }
  .pay-head { padding: 18px 16px; }
}
@media (max-width: 800px) {
  .drama-acts a.drama-buy { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .account-facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pay-grid { grid-template-columns: 1fr; }
  .pay-card { min-height: 0; }
  .pay-orders li { align-items: flex-start; }
}

.rank-cup {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #ffe56a, #e8a400);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(240, 180, 0, 0.28);
}
.rank-cup svg, .bill-tabs svg, .pod-play svg, .pod-go svg { width: 16px; height: 16px; display: block; }
.billboard { padding-top: 8px; }
.bill-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
  padding: 22px 26px;
  border-radius: 20px;
  background:
    radial-gradient(520px 160px at 0% 0%, rgba(255, 216, 74, 0.14), transparent 62%),
    linear-gradient(180deg, #1a1814, #12110e);
  border: 1px solid rgba(255, 216, 74, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.bill-head h1 { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 30px; letter-spacing: 0.02em; }
.bill-kicker {
  display: inline-flex;
  margin: 10px 0 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 216, 74, 0.12);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.bill-desc { margin: 0; color: var(--muted); line-height: 1.6; }
.bill-tabs { display: flex; gap: 8px; flex: none; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.28); }
.bill-tabs a {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--soft);
}
.bill-tabs a.is-on {
  background: linear-gradient(180deg, #ffe56a, #f0b400);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(240, 180, 0, 0.28);
}
.podium { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.85fr); gap: 14px; }
.pod-champ, .pod-side {
  display: grid;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #191714, #12110e);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.pod-champ {
  grid-template-columns: 156px minmax(0, 1fr) auto;
  align-items: center;
  background:
    radial-gradient(380px 180px at 8% 0%, rgba(255, 216, 74, 0.16), transparent 58%),
    linear-gradient(180deg, #221e16, #14120e);
  border-color: rgba(255, 216, 74, 0.32);
}
.pod-stack { display: flex; flex-direction: column; gap: 14px; }
.pod-side { grid-template-columns: 76px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; }
.pod-cover { display: block; border-radius: 12px; overflow: hidden; background: #111; box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35); }
.pod-champ .pod-cover { height: 220px; }
.pod-side .pod-cover { width: 76px; height: 102px; }
.pod-cover img, .pod-ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.pod-champ:hover .pod-cover img, .pod-side:hover .pod-cover img { transform: scale(1.04); }
.board-main img, .board-main .pod-ph { width: 52px; height: 70px; object-fit: cover; border-radius: 8px; }
.pod-ph { background: #222; }
.pod-copy { min-width: 0; }
.pod-no {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 216, 74, 0.14);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.pod-n2 .pod-no { color: #ececec; background: rgba(255, 255, 255, 0.08); }
.pod-n3 .pod-no { color: #e7b98a; background: rgba(226, 160, 96, 0.14); }
.pod-copy h2, .pod-side h3 { margin: 0 0 6px; font-size: 24px; }
.pod-side h3 { font-size: 16px; }
.pod-meta, .pod-intro { margin: 0; color: var(--muted); line-height: 1.55; }
.pod-intro {
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pod-score { margin: 0; display: flex; flex-direction: column; align-items: flex-end; min-width: 72px; }
.pod-score b { font-size: 42px; line-height: 0.95; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.pod-side .pod-score b { font-size: 26px; }
.pod-score small, .board-heat small { color: var(--muted); font-size: 12px; }
.pod-acts { display: flex; gap: 8px; margin-top: 16px; }
.pod-play, .pod-more, .pod-go {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pod-play {
  background: linear-gradient(180deg, #ffe56a, #f0b400);
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(240, 180, 0, 0.22);
}
.pod-play svg { width: 12px; height: 12px; }
.pod-more { border: 1px solid rgba(255, 216, 74, 0.28); color: var(--soft); }
.pod-more:hover, .bill-tabs a:not(.is-on):hover { color: var(--gold); }
.pod-play:hover { filter: brightness(1.05); }
.pod-go {
  width: 38px;
  padding: 0;
  border: 1px solid rgba(255, 216, 74, 0.32);
  background: #1a1814;
  color: var(--gold);
}
.pod-go:hover { background: linear-gradient(180deg, #ffe56a, #f0b400); color: var(--ink); border-color: transparent; }
.board-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin: 28px 0 12px; }
.board-head h2 { margin: 0; font-size: 22px; }
.board-head span { color: var(--muted); font-size: 13px; }
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.board-col { display: flex; flex-direction: column; gap: 6px; }
.board-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
}
.board-row:hover { background: #161410; border-color: rgba(255, 216, 74, 0.14); }
.board-main { display: grid; grid-template-columns: 32px 52px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; }
.board-no { color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.board-main b, .pod-side h3 a, .pod-copy h2 a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-main b:hover, .pod-side h3 a:hover, .pod-copy h2 a:hover { color: var(--gold); }
.board-main small { display: block; margin-top: 4px; color: var(--muted); }
.board-heat { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.board-heat small { display: block; font-weight: 500; }
@media (max-width: 900px) {
  .bill-head, .podium, .board-grid { grid-template-columns: 1fr; }
  .bill-head { flex-direction: column; align-items: flex-start; }
  .bill-tabs { flex-wrap: wrap; }
  .pod-champ { grid-template-columns: 108px minmax(0, 1fr); }
  .pod-champ .pod-score { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 6px; }
  .pod-score b, .pod-side .pod-score b { font-size: 28px; }
  .pod-side .pod-intro { display: none; }
}

.seek { padding-top: 12px; }
.seek-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 58px;
  padding: 6px 6px 6px 16px;
  border-radius: 14px;
  background: #161513;
  border: 1px solid var(--line);
}
.seek-ico { color: var(--muted); font-size: 20px; }
.seek-bar input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 16px;
}
.seek-bar input::placeholder { color: #6f6a62; }
.seek-bar button {
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffe14a, var(--gold-2));
  color: var(--ink);
  font-weight: 800;
}
.seek-hint { margin: 14px 0 8px; color: var(--muted); }
.seek-hint b { color: var(--gold); }
.seek-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 28px 0 14px; }
.seek-sec h2 { margin: 0; font-size: 20px; }
.seek-sec span, .seek-sec a { color: var(--muted); font-size: 13px; }
.seek-sec a:hover { color: var(--gold); }
.seek-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.seek-pills a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #1c1b18;
  color: var(--soft);
}
.seek-pills a.is-hot { background: linear-gradient(180deg, #ffe14a, var(--gold-2)); color: var(--ink); font-weight: 800; }
.seek-pills small { color: inherit; opacity: 0.75; }
.seek-hot { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 36px; }
.seek-hot a {
  display: grid;
  grid-template-columns: 24px 46px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
}
.seek-hot .no { color: var(--gold); font-weight: 800; }
.seek-hot img, .seek-hot .ph { width: 46px; height: 62px; object-fit: cover; border-radius: 6px; background: #111; }
.seek-hot b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seek-hot small { display: block; margin-top: 4px; color: var(--muted); }
.seek-score { color: var(--soft); font-variant-numeric: tabular-nums; position: static; }
.seek-guess { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.seek-guess a { position: relative; min-width: 0; }
.seek-guess img, .seek-guess .ph {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  background: #111;
}
.seek-guess .badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}
.seek-guess .title {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seek-result h2 { margin: 18px 0 14px; font-size: 18px; }
.seek-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 14px;
}
.seek-grid .card { margin: 0; }
@media (max-width: 900px) {
  .seek-hot { grid-template-columns: 1fr; }
  .seek-guess { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.cat-page { padding-top: 8px; }
.cat-banner {
  padding: 36px 40px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: linear-gradient(100deg, #141311 0%, #1c1914 48%, #2a2418 100%);
  border: 1px solid var(--line);
}
.cat-banner h1 { margin: 0 0 12px; font-size: 34px; }
.cat-banner p { margin: 0; max-width: 920px; color: var(--soft); line-height: 1.75; }
.cat-sort { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.cat-sort a {
  padding: 8px 16px;
  border-radius: 10px;
  background: #1c1b18;
  color: var(--soft);
  border: 1px solid transparent;
}
.cat-sort a.is-on {
  color: var(--gold);
  font-weight: 800;
  background: #2a261c;
  border-color: rgba(255, 216, 74, 0.4);
}
.cat-count { margin: 0 0 16px; color: var(--muted); }
.cat-count b { color: var(--text); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 12px;
}
.cat-grid .card { margin: 0; }
.cat-grid .heat { top: 8px; bottom: auto; left: 8px; }
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .cat-banner { padding: 22px 18px; }
  .cat-banner h1 { font-size: 26px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  z-index: 30;
}
.to-top[hidden] { display: none; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  background: #161513;
  border: 1px solid var(--line);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 80;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.62);
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal[hidden] { display: none; }
.modal-card {
  width: min(420px, 100%);
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
}
.modal-card h3 { margin: 0 0 8px; }
.modal-card p { color: var(--soft); line-height: 1.6; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; }

@media (max-width: 1024px) {
  .masonry { columns: 3 160px; }
  .watch-stage { grid-template-columns: minmax(0, 380px) 72px; }
  .rail { grid-column: 1 / -1; }
  .page-grid, .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .vh-top { display: none; }
  .vh-mh { display: flex; }
  .masonry { columns: 2 140px; }
  .detail-head { grid-template-columns: 120px minmax(0, 1fr); }
  .watch-stage { grid-template-columns: 1fr; width: min(480px, calc(100% - 16px)); }
  .wact { flex-direction: row; overflow: auto; padding-top: 0; }
  .wact button { min-width: 64px; }
  .player { max-height: none; }
  .body-watch .dm-top-caps { display: none; }
}
body[data-page="watch"] .dm-top-caps { display: none; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 7, 8, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.is-home .site-nav,
.is-home .vh-top,
.is-home .vh-mh,
.is-home .dm-top-caps { display: none; }
.land-drop > button.is-active { color: #ffd84a; }
.land-menu a.is-active { color: #ffd84a; background: rgba(255, 216, 74, 0.12); }
.land {
  position: relative;
  margin: 0 0 28px;
  color: #fff;
  background: #050505;
  overflow: hidden;
}
.land-bgs { position: absolute; inset: 0; z-index: 0; }
.land-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.land-bg.is-on { opacity: 1; }
.land::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.72) 34%, rgba(0, 0, 0, 0.28) 68%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}
.land-nav, .land-hero, .land-perks { position: relative; z-index: 1; }
.land-nav { z-index: 30; }
.land-nav {
  height: 78px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.land-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.land-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffe14a, #f5b400);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px rgba(245, 180, 0, 0.12);
}
.land-mark svg { width: 22px; height: 22px; fill: #1a1204; }
.land-logo strong { display: block; font-size: 18px; letter-spacing: 0.04em; line-height: 1.1; }
.land-logo small { display: block; margin-top: 2px; color: #9a9aa2; font-size: 11px; }
.land-links { display: flex; align-items: center; gap: 18px; margin-left: 8px; font-size: 15px; min-width: 0; }
.land-links > a, .land-drop > button { color: #f2f2f2; position: relative; padding: 8px 0; white-space: nowrap; flex: none; border: 0; background: transparent; cursor: pointer; }
.land-links > a.is-active { color: #ffd84a; }
.land-links > a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: #ffd84a;
}
.land-drop { position: relative; }
.land-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  padding: 8px;
  background: #161616;
  border: 1px solid rgba(255, 216, 74, 0.25);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 31;
}
.land-drop.is-open .land-menu, .land-drop:hover .land-menu { display: grid; }
.land-menu a { padding: 8px 12px; border-radius: 8px; color: #eee; white-space: nowrap; }
.land-menu a:hover { background: rgba(255, 216, 74, 0.12); color: #ffd84a; }
.land-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.land-search {
  display: flex;
  align-items: center;
  flex: none;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 216, 74, 0.35);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.land-search input {
  width: 118px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0 12px;
  outline: none;
}
.land-search input::placeholder { color: #9a958c; }
.land-search button {
  height: 100%;
  border: 0;
  background: transparent;
  color: #ffd84a;
  font-weight: 700;
  padding: 0 12px;
  white-space: nowrap;
  flex: none;
}
.land-login, .land-reg {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  flex: none;
}
.land-login {
  color: #ffd84a;
  border: 1px solid rgba(255, 216, 74, 0.7);
  background: transparent;
}
.land-reg {
  background: linear-gradient(180deg, #ffe14a, #f0b400);
  color: var(--ink);
}
.land-burger, .land-find {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  place-items: center;
}
.land-burger svg, .land-find svg { width: 22px; height: 22px; display: block; }
.land-hero {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 460px;
  padding: 36px 28px 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: end;
  gap: 24px;
}
.land-copy h1 {
  margin: 0 0 8px;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: 0.04em;
}
.land-lead { margin: 0 0 18px; font-size: 34px; font-weight: 800; letter-spacing: 0.02em; }
.land-lead span { color: #ffd84a; }
.land-tags { margin: 0 0 14px; color: #ffd84a; font-size: 18px; letter-spacing: 0.08em; }
.land-desc { margin: 0 0 28px; color: #c8c8ce; font-size: 16px; }
.land-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.land-btn {
  height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
}
.land-btn svg { width: 18px; height: 18px; fill: currentColor; }
.land-btn.gold {
  background: linear-gradient(180deg, #ffe14a, #f0b400);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(240, 180, 0, 0.25);
}
.land-btn.line {
  color: #ffe14a;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 216, 74, 0.85);
  box-shadow: 0 0 18px rgba(255, 216, 74, 0.18);
}
.land-badge {
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #ff4d4f;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
}
.land-posters {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
  min-height: 280px;
}
.land-poster {
  width: 108px;
  flex: none;
  color: #fff;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.land-poster img, .land-poster span {
  width: 100%;
  height: 152px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: #222;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}
.land-poster.is-focus { width: 132px; }
.land-poster.is-focus img {
  height: 186px;
  border: 2px solid #ffd84a;
  box-shadow: 0 0 0 4px rgba(255, 216, 74, 0.18), 0 16px 36px rgba(0, 0, 0, 0.5);
}
.land-poster b {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.land-perks {
  max-width: 1100px;
  margin: -8px auto 0;
  padding: 22px 12px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 216, 74, 0.35);
}
.land-perks > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
}
.land-perks > div + div { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.land-perks b { display: block; font-size: 20px; }
.land-perks small { color: #b7b7be; }
.perk-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffd84a;
  border: 1px solid rgba(255, 216, 74, 0.45);
  font-weight: 800;
}
.perk-ico.script {
  border-radius: 8px;
  font-family: Georgia, serif;
  font-style: italic;
  color: #ffe14a;
}
@media (max-width: 980px) {
  .land-links, .land-tools { display: none; }
  .land-nav {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
  }
  .land-burger, .land-find { display: grid; }
  .land-burger { grid-column: 1; justify-self: start; }
  .land-logo { grid-column: 2; justify-self: center; }
  .land-find { grid-column: 3; justify-self: end; }
  .land-hero { grid-template-columns: 1fr; min-height: 0; padding-bottom: 36px; }
  .land-copy h1 { font-size: 42px; }
  .land-lead { font-size: 24px; }
  .land-posters { justify-content: flex-start; overflow: auto; }
  .land-perks { grid-template-columns: 1fr; gap: 14px; }
  .land-perks > div + div { border-left: 0; }
}

.tag-page { padding-top: 12px; }
.tag-kicker { margin: 0 0 8px; color: var(--muted); letter-spacing: 0.16em; font-size: 12px; }
.tag-page h1 { margin: 0 0 8px; font-size: 36px; }
.tag-lead { margin: 0 0 18px; color: var(--muted); }
.tag-hot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #141311;
  border: 1px solid var(--line);
}
.tag-hot > span {
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe14a, #f0b400);
  color: var(--ink);
  font-weight: 800;
}
.tag-hot a {
  padding: 6px 12px;
  border-radius: 999px;
  background: #221f1a;
  color: var(--soft);
}
.tag-hot a:hover { color: var(--gold); }
.tag-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.tag-card {
  padding: 16px 16px 8px;
  border-radius: 16px;
  background: #141311;
  border: 1px solid var(--line);
}
.tag-card h2 { margin: 0 0 8px; font-size: 16px; }
.tag-rows a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.tag-no {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.tag-no.top { color: var(--ink); }
.tag-no.top-1 { background: #ffd84a; }
.tag-no.top-2 { background: #d7d2c6; }
.tag-no.top-3 { background: #e0a15a; }
.tag-rows b { font-weight: 650; }
.tag-heat { color: #e0a15a; font-variant-numeric: tabular-nums; }
.tag-heat::before { content: "▲ "; font-size: 10px; }
@media (max-width: 900px) {
  .tag-board { grid-template-columns: 1fr; }
  .tag-page h1 { font-size: 28px; }
}

.dm-search { margin: 14px 0 10px; }
.dm-search button {
  background: linear-gradient(180deg, #ffe14a, #f0b400);
  color: var(--ink);
  font-weight: 800;
}
.dm-account { display: flex; gap: 8px; margin-bottom: 8px; }
.dm-account a {
  flex: 1;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 216, 74, 0.45);
  color: var(--gold);
  font-weight: 700;
}
.dm-account a:last-child {
  background: linear-gradient(180deg, #ffe14a, #f0b400);
  color: var(--ink);
  border: 0;
}

@media (max-width: 768px) {
  .is-home .site-nav { display: block; }
  .land > .land-nav { display: none; }
  .land-nav { height: 56px; padding: 0 12px; gap: 8px; }
  .land-logo small { display: none; }
  .land-mark { width: 34px; height: 34px; box-shadow: none; }
  .land-logo { min-width: 0; }
  .land { margin-bottom: 16px; }
  .land-hero { padding: 18px 16px 24px; gap: 16px; }
  .land-copy h1 { font-size: 32px; }
  .land-lead { font-size: 18px; margin-bottom: 10px; }
  .land-tags { font-size: 13px; letter-spacing: 0.04em; }
  .land-desc { font-size: 14px; margin-bottom: 16px; }
  .land-cta { flex-direction: column; align-items: stretch; }
  .land-btn { justify-content: center; height: auto; min-height: 46px; padding: 10px 14px; white-space: normal; text-align: center; }
  .land-hero, .land-posters, .wrap, .page-grid { min-width: 0; }
  .land-posters { min-height: 0; justify-content: flex-start; overflow-x: auto; max-width: 100%; }
  .land-poster, .land-poster.is-focus { width: 96px; }
  .land-poster img, .land-poster.is-focus img { height: 128px; }
  .land-perks { padding: 16px 8px; }
  .land-perks b { font-size: 16px; }
  .wrap { width: calc(100% - 24px); }
  .drama-page { width: calc(100% - 24px); margin-left: auto; margin-right: auto; }
  .drama-layout { grid-template-columns: 1fr; }
  .drama-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 22px 16px 18px;
    border: 0;
    border-radius: 22px;
    background: linear-gradient(180deg, #2a3d66 0%, #1a2744 46%, #141a28 100%);
  }
  .drama-poster { width: min(188px, 54%); margin: 0 auto 16px; border-radius: 12px; }
  .drama-copy { width: 100%; text-align: center; }
  .drama-copy h1 { margin: 0 0 8px; font-size: 24px; text-align: center; }
  .drama-meta { justify-content: center; margin: 0 0 6px; color: #e4e7f0; font-size: 14px; }
  .drama-meta .drama-cat, .drama-meta .drama-heat, .drama-meta .drama-updated { display: none; }
  .drama-stat {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 0 14px;
    color: #9aa3b5;
    font-size: 13px;
  }
  .drama-stat span + span::before { content: "·"; margin: 0 8px; color: #6e7688; }
  .drama-intro { margin: 0; color: #d5d8e2; text-align: left; }
  .drama-intro span { -webkit-line-clamp: 3; }
  .drama-intro button { display: flex; align-items: center; margin: 8px 0 0; color: #c5cad6; }
  .drama-intro button::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }
  .drama-intro.is-open button::after { transform: translateY(2px) rotate(225deg); }
  .drama-hero .tags { justify-content: center; gap: 8px; margin-top: 14px; }
  .drama-hero .tag {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: #d7dbe4;
  }
  .drama-hero .ep-badge { display: none; }
  .drama-year {
    display: inline-flex;
    margin: 14px auto 0;
    padding: 5px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #d7dbe4;
    font-size: 13px;
  }
  .drama-acts { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 8px; width: 100%; margin-top: 18px; }
  .drama-acts .btn-gold, .drama-acts button { width: 100%; justify-content: center; height: 42px; padding: 0 6px; font-size: 13px; }
  .drama-acts button { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.08); }
  .drama-eps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .drama-like-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fresh-head h2 { font-size: 18px; }
  .fresh-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fresh-card:nth-child(n + 3) { display: none; }
  .cate-head h1, .cate-head h2, .bill-head h1, .tag-page h1 { font-size: 24px; }
  .bill-head { padding: 16px; border-radius: 16px; }
  .pod-champ { grid-template-columns: 96px minmax(0, 1fr); }
  .pod-champ .pod-cover { height: 128px; }
  .pod-copy h2 { font-size: 18px; }
  .pod-acts { flex-wrap: wrap; }
  .pod-side { grid-template-columns: 56px minmax(0, 1fr) 36px; }
  .pod-side .pod-cover { width: 56px; height: 76px; }
  .pod-side .pod-score, .pod-side .pod-intro { display: none; }
  .board-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .board-row { gap: 8px; padding: 8px 4px; }
  .board-row b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .seek-guess { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seek-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-banner { padding: 20px 16px; }
  .cat-banner h1 { font-size: 24px; }
  .pager { flex-wrap: wrap; }
  .detail-head { grid-template-columns: 108px minmax(0, 1fr); align-items: start; }
  .detail-head > div { display: contents; }
  .poster { grid-column: 1; grid-row: 1 / span 3; }
  .detail-title { grid-column: 2; grid-row: 1; font-size: 22px; }
  .meta { grid-column: 2; grid-row: 2; }
  .desc { grid-column: 2; grid-row: 3; }
  .actions, .detail-head h2, .ep-grid { grid-column: 1 / -1; }
  .ep-grid { gap: 12px 8px; }
  .ep .badge { top: -8px; right: 4px; }
  .footer { padding: 28px 16px 88px; }
  .foot-grid { gap: 18px 16px; }
  .dock {
    left: auto;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: 0;
  }
  .dock-btn { width: 40px; height: 40px; }
  .dock-ai { height: 40px; padding: 0 12px; display: inline-flex; align-items: center; }
  body:has(.watch-stage) .dock { display: none; }
  .ep-label { top: 14px; bottom: auto; left: 56px; }
  .dm-side { width: min(86vw, 320px); padding-top: 12px; }
  body:has(.watch-stage) {
    overflow: hidden;
    background: #000;
  }
  body:has(.watch-stage) .footer { display: none; }
  body:has(.watch-stage) .site,
  body:has(.watch-stage) main { min-height: 0; background: #000; }
  .watch-stage { width: 100%; margin: 0; display: block; }
  .player {
    border-radius: 0;
    aspect-ratio: auto;
    height: calc(100dvh - 56px);
    max-height: none;
  }
  .player video, .player .stage-poster {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: calc(100% - 104px);
    object-fit: cover;
    background: #000;
  }
  .wact, .rail, .back, .ep-label, .desk-head, .desk-bar, .desk-about, .desk-comments, .desk-side { display: none; }
  .play-status {
    position: absolute;
    z-index: 4;
    left: 16px;
    right: 72px;
    bottom: 228px;
    margin: 0;
    color: #fff;
  }
  .play-status:empty { display: none; }
  .stage-hud {
    display: flex;
    position: absolute;
    inset: 0;
    z-index: 3;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px 0 0;
    background: linear-gradient(180deg, transparent 0%, transparent 46%, rgba(0, 0, 0, 0.55) 72%, rgba(0, 0, 0, 0.88) 100%);
    pointer-events: none;
  }
  .stage-hud a, .stage-hud button, .stage-hud label, .stage-hud input { pointer-events: auto; }
  .stage-crumb {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: #eee;
    font-size: 13px;
    background: #0c0c0c;
  }
  .stage-crumb a, .stage-crumb b {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .stage-crumb a:nth-of-type(3) { flex: 1; }
  .stage-crumb b {
    flex: none;
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    font-weight: 800;
  }
  .stage-crumb span { flex: none; opacity: 0.7; }
  .play-fab { top: 46%; bottom: auto; left: 50%; right: auto; transform: translate(-50%, -50%); margin: 0; }
  .stage-hud .play-fab svg { width: 38px; height: 38px; margin-left: 4px; }
  .player.is-playing .play-fab,
  .player.is-playing .stage-hud .ico-play { display: none; }
  .player.is-playing .stage-hud .ico-pause { display: block; }
  .stage-side {
    position: absolute;
    right: 8px;
    bottom: 28%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .stage-side button {
    border: 0;
    background: transparent;
    color: #fff;
    display: grid;
    justify-items: center;
    gap: 2px;
    min-width: 40px;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  }
  .stage-side svg { width: 28px; height: 28px; }
  .stage-side .ico-mute { display: none; }
  .stage-side button.is-muted .ico-sound { display: none; }
  .stage-side button.is-muted .ico-mute { display: block; }
  .stage-side b { font-size: 12px; font-weight: 700; }
  .stage-side button.is-on { color: #ff5a7a; }
  .stage-side button.is-on svg path { fill: currentColor; }
  .stage-info { padding-right: 0; }
  .stage-title, .stage-intro, .stage-note { padding-left: 12px; padding-right: 72px; }
  .stage-title {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    max-width: 100%;
    font-size: 20px;
    font-weight: 800;
  }
  .stage-intro {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 6px 0 0;
    color: #e8e8e8;
    font-size: 13px;
    line-height: 1.5;
  }
  .stage-intro span {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-width: 0;
  }
  .stage-intro.is-open span { display: block; -webkit-line-clamp: unset; }
  .stage-intro button { flex: none; border: 0; background: transparent; color: #fff; font-weight: 800; padding: 0; }
  .stage-note { margin: 6px 0 0; color: #c8c8ce; font-size: 12px; line-height: 1.5; }
  .stage-time {
    display: flex;
    margin-left: auto;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
  }
  .stage-range {
    display: block;
    width: calc(100% - 24px);
    height: 18px;
    margin: 6px 12px 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    appearance: none;
    background: transparent;
    outline: none;
  }
  .stage-range::-webkit-slider-runnable-track {
    height: 3px;
    border-radius: 0;
    background: linear-gradient(90deg, #ffd84a var(--seek, 0%), rgba(255, 255, 255, 0.35) var(--seek, 0%));
  }
  .stage-range::-moz-range-track {
    height: 3px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(90deg, #ffd84a var(--seek, 0%), rgba(255, 255, 255, 0.35) var(--seek, 0%));
  }
  .stage-range::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    margin-top: -5.5px;
    border: 0;
    border-radius: 50%;
    background: #ffd84a;
  }
  .stage-range::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: #ffd84a;
  }
  .stage-tools { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 0 12px; }
  .stage-tools button, .stage-tools a, .stage-tools .is-off {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #fff;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .stage-tools .is-off { opacity: 0.35; }
  .stage-auto { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; font-size: 14px; }
  .stage-auto input { width: 16px; height: 16px; accent-color: #ffd84a; }
  .stage-pick { display: flex; align-items: stretch; gap: 0; width: 100%; height: 64px; }
  .stage-pick > button:first-child {
    flex: 1;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 0;
    border-radius: 0;
    background: #1a1a1a;
    color: #fff;
    font-weight: 800;
  }
  .stage-pick > button:first-child small { margin-left: 2px; color: #d0d0d0; font-weight: 500; }
  .stage-pick > button:first-child svg:last-child { margin-left: auto; }
  .stage-full {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;
    background: #242424;
    color: #fff;
  }
  .stage-rate {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: #242424;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
  }
  .cmt-sheet { display: none; }
  .cmt-sheet.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 44px;
    bottom: 0;
    z-index: 7;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: auto;
  }
  .cmt-card {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 42%;
    padding: 6px 16px calc(20px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    background: #17191f;
    text-align: center;
  }
  .cmt-card b { display: block; margin: 4px 0 18px; font-size: 16px; }
  .cmt-card p { margin: 28px 0; color: #9a9aa2; font-size: 14px; }
  .ep-sheet.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 44px;
    bottom: 0;
    z-index: 6;
    background: rgba(0, 0, 0, 0.55);
  }
  .ep-sheet-card {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    max-height: 78%;
    overflow: hidden;
    padding: 6px 16px calc(12px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    background: #17191f;
  }
  .ep-sheet-fold {
    align-self: center;
    width: 36px;
    height: 22px;
    border: 0;
    background: transparent;
    color: #9a9aa2;
  }
  .ep-sheet-drama {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 18px;
    gap: 12px;
    align-items: center;
    margin: 4px 0 14px;
  }
  .ep-sheet-drama img, .ep-sheet-ph {
    width: 48px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    background: #111;
  }
  .ep-sheet-drama b { display: block; font-size: 16px; }
  .ep-sheet-drama small { display: block; margin-top: 4px; color: #9a9aa2; font-size: 13px; }
  .ep-sheet-tabs { display: flex; gap: 22px; margin-bottom: 14px; }
  .ep-sheet-tabs button {
    border: 0;
    background: transparent;
    color: #b7b7be;
    padding: 0 0 8px;
    font-size: 15px;
  }
  .ep-sheet-tabs button.is-on {
    color: #fff;
    font-weight: 800;
    box-shadow: inset 0 -2px 0 #ffd84a;
  }
  .ep-pane { display: none; min-height: 0; overflow: auto; }
  .ep-pane.is-on { display: block; }
  .ep-pane p { margin: 0 0 12px; color: #d4d4d8; line-height: 1.7; font-size: 14px; }
  .ep-sheet .ep-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding-bottom: 8px; }
  .ep-sheet .ep {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #2a2d33;
    color: #eee;
  }
  .ep-sheet .badge { display: none; }
  .ep-sheet .ep.is-locked { position: relative; }
  .ep-sheet .ep.is-locked::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e0a15a;
  }
  .ep-sheet .ep.is-active {
    background: linear-gradient(180deg, #ffe14a, #e0a800);
    color: #1a1204;
    font-weight: 800;
  }
  .ep-sheet-acts { display: flex; gap: 10px; padding-top: 10px; }
  .ep-sheet-acts button {
    flex: 1;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 12px;
    font-weight: 800;
  }
  .ep-follow {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: #fff;
  }
  .ep-fav {
    border: 0;
    background: linear-gradient(180deg, #ffe14a, #f0b400);
    color: #1a1204;
  }
  .ep-follow.is-on, .ep-fav.is-on { opacity: 0.82; }
  .player.is-fill .stage-title,
  .player.is-fill .stage-intro,
  .player.is-fill .stage-note,
  .player.is-fill .stage-time,
  .player.is-fill .stage-range,
  .player.is-fill .stage-tools,
  .player.is-fill .stage-side,
  .player.is-fill .play-fab,
  .player.is-fill .play-status { display: none; }
  .player.is-fill .stage-info { padding: 0; }
  .player.is-fill .stage-hud {
    justify-content: space-between;
    padding: 0;
    background: transparent;
  }
  .player.is-fill .stage-crumb {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: 40px;
    padding: 0 12px;
    background: #0c0c0c;
  }
  .player.is-fill .stage-pick {
    padding: 0;
    background: #0c0c0c;
  }
  .player.is-fill .stage-full {
    background: linear-gradient(180deg, #ffe14a, #f0b400);
    color: #1a1204;
  }
  .player.is-fill video,
  .player.is-fill .stage-poster {
    top: 40px;
    height: calc(100% - 104px);
  }
}

.desk-play { display: none; }

@media (min-width: 769px) {
  .watch-stage {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 48px;
    display: block;
  }
  .desk-head h1 { margin: 0 0 14px; font-size: 28px; font-weight: 800; }
  .desk-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
    align-items: start;
  }
  .wact, .rail, .back, .ep-label, .play-status { display: none; }
  .player {
    aspect-ratio: 16 / 9;
    max-height: none;
    border-radius: 12px;
  }
  .player video, .player .stage-poster { object-fit: contain; background: #000; }
  .desk-play {
    display: grid;
    place-items: center;
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.92);
    color: #1a1a1a;
  }
  .desk-play svg { width: 56px; height: 56px; margin-left: 6px; }
  .player.is-playing .desk-play { display: none; }
  .desk-bar { padding: 8px 2px 0; }
  .desk-time { margin: 0 0 0 4px; color: #ddd; font-size: 13px; font-variant-numeric: tabular-nums; }
  .desk-range {
    display: block;
    width: calc(100% - 28px);
    height: 16px;
    margin: 6px 14px 4px;
    padding: 0;
    border: 0;
    appearance: none;
    background: transparent;
    outline: none;
  }
  .desk-range::-webkit-slider-runnable-track {
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd84a var(--seek, 0%), rgba(255, 255, 255, 0.28) var(--seek, 0%));
  }
  .desk-range::-moz-range-track {
    height: 3px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd84a var(--seek, 0%), rgba(255, 255, 255, 0.28) var(--seek, 0%));
  }
  .desk-range::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    margin-top: -4.5px;
    border: 0;
    border-radius: 50%;
    background: #ffd84a;
  }
  .desk-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .desk-tools-l, .desk-tools-r { display: flex; align-items: center; gap: 12px; }
  .desk-tools button, .desk-tools a, .desk-tools .is-off {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    background: transparent;
    color: #fff;
  }
  .desk-tools svg { width: 18px; height: 18px; }
  .desk-tools .ico-pause { display: none; }
  .player.is-playing .desk-tools .ico-play { display: none; }
  .player.is-playing .desk-tools .ico-pause { display: block; }
  .desk-tools .is-off { opacity: 0.35; }
  .desk-auto { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
  .desk-auto input { accent-color: #ffd84a; }
  .desk-tools-r b { font-size: 14px; }
  .desk-vol { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
  .desk-vol svg { width: 18px; height: 18px; }
  .desk-vol input { width: 72px; accent-color: #ffd84a; }
  .desk-about, .desk-comments, .desk-card {
    margin-top: 16px;
    padding: 16px;
    border-radius: 14px;
    background: #17191f;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
  .desk-about-top, .desk-brief-top, .desk-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .desk-about h2, .desk-comments h2, .desk-card h2 { margin: 0; font-size: 16px; }
  .desk-about-top a, .desk-brief-top a, .desk-card-top button, .desk-more {
    border: 0;
    background: transparent;
    color: #b7b7be;
    font-size: 13px;
  }
  .desk-date { margin: 8px 0; color: #8d8d96; font-size: 13px; }
  .desk-intro { margin: 12px 0 0; color: #d4d4d8; line-height: 1.7; }
  .desk-intro span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .desk-intro.is-open span { display: block; -webkit-line-clamp: unset; }
  .desk-about > button {
    margin-top: 8px;
    border: 0;
    background: transparent;
    color: #c8c8ce;
    padding: 0;
  }
  .desk-comments h2 span { color: #8d8d96; font-weight: 500; }
  .desk-cmt-form { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; margin-top: 14px; }
  .desk-me {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ffd84a;
    color: #1a1204;
    font-weight: 800;
  }
  .desk-cmt-form textarea {
    width: 100%;
    min-height: 88px;
    resize: vertical;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: #12141a;
    color: #fff;
    padding: 10px 12px;
    outline: none;
  }
  .desk-cmt-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
  .desk-cmt-foot span { color: #8d8d96; font-size: 12px; }
  .desk-cmt-foot button {
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    background: linear-gradient(180deg, #ffe14a, #f0b400);
    color: #1a1204;
    font-weight: 800;
  }
  .desk-cmt { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
  .desk-cmt b { font-size: 13px; }
  .desk-cmt p { margin: 6px 0 0; color: #ddd; line-height: 1.6; }
  .desk-side { display: flex; flex-direction: column; gap: 12px; }
  .desk-side .desk-card { margin-top: 0; }
  .desk-brief p { margin: 8px 0 0; color: #b7b7be; font-size: 13px; }
  .desk-follow {
    width: 100%;
    height: 40px;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 10px;
    background: #2a2d33;
    color: #fff;
    font-weight: 700;
  }
  .desk-follow svg { width: 16px; height: 16px; }
  .desk-follow.is-on { color: #ffd84a; }
  .desk-card-top h2 { display: inline-flex; align-items: center; gap: 8px; }
  .desk-card-top h2 i { width: 3px; height: 14px; border-radius: 2px; background: #ffd84a; }
  .desk-eps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .desk-ep {
    position: relative;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #2a2d33;
    color: #eee;
  }
  .desk-ep.is-active { background: #2f9e4f; color: #fff; font-weight: 800; }
  .desk-ep.is-locked::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e0a15a;
  }
  .desk-rel-item { display: none; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .desk-rel-item.is-on { display: flex; }
  .desk-rel-main { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; flex: 1; min-width: 0; }
  .desk-rel-main img, .desk-rel-main .cover-fallback { width: 48px; height: 64px; object-fit: cover; border-radius: 6px; }
  .desk-rel-main b, .desk-rel-main small { display: block; }
  .desk-rel-main b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .desk-rel-main small { margin-top: 3px; color: #8d8d96; font-size: 12px; }
  .desk-rel-play {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: #ddd;
    flex: none;
  }
  .desk-rel-play svg { width: 16px; height: 16px; }
  .desk-more { display: block; width: 100%; margin-top: 8px; text-align: center; }
}
