*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, ul, ol, li, dl, dd, dt, figure, figcaption {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink-900: #0d1319;
  --ink-800: #121a23;
  --ink-700: #18222d;
  --ink-600: #1f2c39;
  --ink-500: #2b3a49;
  --ink-line: #33475a;
  --paper: #e8dcc2;
  --paper-dim: #c8bb9d;
  --paper-soft: #a99f86;
  --amber: #d9a441;
  --amber-deep: #b07d24;
  --moss: #5f7a5a;
  --moss-deep: #3c5340;
  --cold: #8fa4b5;
  --shadow: 0 2px 0 rgba(0, 0, 0, 0.55), 0 10px 24px rgba(0, 0, 0, 0.45);
  --worn: 1px solid rgba(217, 164, 65, 0.32);
  --radius: 10px;
  --radius-sm: 6px;
  --gap: 10px;
}
body {
  background:
    radial-gradient(120% 80% at 12% -10%, rgba(95, 122, 90, 0.18), transparent 60%),
    radial-gradient(90% 70% at 100% 0%, rgba(217, 164, 65, 0.12), transparent 55%),
    linear-gradient(180deg, var(--ink-900), #0a1015 60%, #080c10);
  color: var(--paper);
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(13, 19, 25, 0.96), rgba(13, 19, 25, 0.82));
  border-bottom: 1px solid var(--ink-line);
  backdrop-filter: blur(6px);
}
.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 900;
  font-stretch: condensed;
  font-size: 19px;
  letter-spacing: 0.16em;
  color: var(--paper);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(217, 164, 65, 0.28);
  border-left: 3px solid var(--amber);
  padding-left: 9px;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--amber);
}
.category-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--paper-dim);
  text-decoration: none;
  padding: 5px 11px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: rgba(43, 58, 73, 0.4);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--ink-900);
  background: var(--amber);
  border-color: var(--amber-deep);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.player-panel, .synopsis-panel, .cast-panel, .details-panel, .timeline-section, .episodes-section, .comments-section, .rec-region {
  scroll-margin-top: 60px;
}
.hero-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-bleed {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  align-items: start;
  border: var(--worn);
  border-radius: var(--radius);
  background:
    linear-gradient(115deg, rgba(31, 44, 57, 0.9) 0%, rgba(13, 19, 25, 0.94) 42%, rgba(24, 34, 45, 0.9) 100%),
    repeating-linear-gradient(90deg, rgba(217, 164, 65, 0.04) 0 2px, transparent 2px 46px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-silhouette {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: stretch;
  background:
    radial-gradient(70% 60% at 62% 30%, rgba(143, 164, 181, 0.22), transparent 70%),
    linear-gradient(180deg, #1b2632, #0e161e);
  border-right: 1px solid var(--ink-line);
}
.hero-cabinet-wall {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 14px 18px 14px;
  background-image:
    repeating-linear-gradient(0deg, rgba(232, 220, 194, 0.05) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(232, 220, 194, 0.045) 0 1px, transparent 1px 34px),
    linear-gradient(160deg, rgba(95, 122, 90, 0.16), transparent 55%);
}
.hero-cabinet-wall::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(232, 220, 194, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 6%, rgba(232, 220, 194, 0.09) 0 3px, transparent 4px),
    radial-gradient(circle at 88% 78%, rgba(95, 122, 90, 0.22) 0 4px, transparent 6px);
  pointer-events: none;
}
.hero-posterslot {
  position: relative;
  width: min(190px, 52%);
  align-self: center;
  border: 1px solid rgba(217, 164, 65, 0.4);
  border-radius: var(--radius-sm);
  padding: 5px;
  background: rgba(13, 19, 25, 0.72);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 16px 30px rgba(0, 0, 0, 0.55);
  transform: rotate(-1.4deg);
}
img.hero-poster {
  width: 100%;
  height: auto;
  border-radius: 4px;
  filter: saturate(0.78) contrast(1.08) brightness(0.92);
}
.hero-inset {
  position: absolute;
  left: 10px;
  bottom: 12px;
  width: min(170px, 46%);
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: var(--radius-sm);
  background: rgba(9, 13, 17, 0.9);
  padding: 5px 5px 4px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.6);
  transform: rotate(1.6deg);
}
.hero-inset-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 42% 28%;
  border-radius: 3px;
  filter: sepia(0.34) saturate(1.15) contrast(1.06) brightness(1.02);
}
.hero-inset-caption {
  display: block;
  margin-top: 4px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 18px 16px;
}
.hero-kicker {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--moss);
  text-transform: uppercase;
}
.hero-title {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 5.4vw, 46px);
  line-height: 1.02;
  letter-spacing: 0.04em;
  color: var(--paper);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6), 0 0 26px rgba(217, 164, 65, 0.22);
}
.hero-tagline {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--amber);
  border-left: 3px solid var(--amber-deep);
  padding-left: 9px;
  max-width: 46ch;
}
.hero-desc {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--paper-dim);
  max-width: 52ch;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.cast-chip {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  padding: 3px 9px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: rgba(31, 44, 57, 0.55);
  white-space: nowrap;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}
.btn-play, .btn-theater, .btn-light {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-play {
  color: var(--ink-900);
  background: linear-gradient(180deg, var(--amber), var(--amber-deep));
  border: 1px solid #7d5715;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}
.btn-theater {
  color: var(--paper);
  background: rgba(95, 122, 90, 0.28);
  border: 1px solid var(--moss-deep);
}
.btn-light {
  color: var(--cold);
  background: rgba(31, 44, 57, 0.6);
  border: 1px solid var(--ink-line);
}
.btn-play:hover, .btn-theater:hover, .btn-light:hover {
  transform: translateY(-1px);
}
.btn-play:hover {
  background: linear-gradient(180deg, #e8b95c, var(--amber));
}
.btn-theater:hover {
  background: rgba(95, 122, 90, 0.5);
  color: var(--paper);
}
.btn-light:hover {
  color: var(--amber);
  border-color: var(--amber-deep);
}
.player-panel {
  border: var(--worn);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(24, 34, 45, 0.92), rgba(13, 19, 25, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.player-frame {
  position: relative;
  width: 100%;
  background: #05080b;
  border-bottom: 1px solid var(--ink-line);
}
.player-frame video {
  display: block;
  width: 100%;
  height: auto;
  background: #05080b;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(13, 19, 25, 0.85);
}
.ctl {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  background: rgba(43, 58, 73, 0.5);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-sm);
  padding: 5px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s, border-color 0.14s, background 0.14s;
}
.ctl:hover {
  color: var(--amber);
  border-color: var(--amber-deep);
}
.ctl-progress, .ctl-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--ink-line);
  background: linear-gradient(90deg, var(--amber-deep), rgba(43, 58, 73, 0.7));
  cursor: pointer;
  flex: 1 1 120px;
  min-width: 90px;
}
.ctl-volume {
  flex: 0 1 90px;
  min-width: 70px;
}
.ctl-progress::-webkit-slider-thumb, .ctl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: 1px solid #6f4d12;
}
.ctl-progress::-moz-range-thumb, .ctl-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: 1px solid #6f4d12;
}
select.ctl-speed {
  padding-right: 22px;
  background-image: linear-gradient(45deg, transparent 50%, var(--amber) 50%),
    linear-gradient(135deg, var(--amber) 50%, transparent 50%);
  background-position: calc(100% - 13px) 50%, calc(100% - 8px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  -webkit-appearance: none;
  appearance: none;
}
body.is-playing .ctl-play, .ctl-play.is-active {
  color: var(--ink-900);
  background: var(--amber);
  border-color: var(--amber-deep);
}
body.is-muted .ctl-mute, .ctl-mute.is-muted {
  color: var(--ink-900);
  background: var(--moss);
  border-color: var(--moss-deep);
}
body.is-theater .player-panel {
  border-color: var(--amber-deep);
  box-shadow: 0 0 0 1px rgba(217, 164, 65, 0.35), var(--shadow);
}
body.is-theater .ctl-theater.is-active {
  color: var(--ink-900);
  background: var(--amber);
  border-color: var(--amber-deep);
}
body.is-lights-off {
  background: #05080b;
}
body.is-lights-off .page-main {
  filter: brightness(0.82);
}
body.is-lights-off .player-panel, body.is-lights-off .player-frame {
  filter: brightness(1.18);
}
body.is-lights-off .ctl-light.is-active {
  color: var(--ink-900);
  background: var(--amber);
  border-color: var(--amber-deep);
}
.synopsis-panel {
  border: 1px solid var(--ink-line);
  border-left: 3px solid var(--moss-deep);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(24, 34, 45, 0.72), rgba(13, 19, 25, 0.7));
  padding: 12px 16px 14px;
  box-shadow: var(--shadow);
}
.synopsis-heading, .cast-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .rec-heading {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--amber);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--ink-line);
  position: relative;
}
.synopsis-heading::after, .cast-heading::after, .details-heading::after, .timeline-heading::after, .episodes-heading::after, .comments-heading::after, .rec-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: var(--amber);
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.76;
  color: var(--paper-dim);
  max-width: 84ch;
}
.synopsis-para + .synopsis-para {
  margin-top: 8px;
}
.episode-status {
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: rgba(18, 26, 35, 0.72);
  padding: 10px 14px 12px;
}
.status-line {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cold);
  margin-bottom: 9px;
}
.status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.status-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--paper-soft);
  background: rgba(43, 58, 73, 0.5);
  border: 1px solid var(--ink-line);
}
.status-node.is-done {
  color: var(--ink-900);
  background: var(--moss);
  border-color: var(--moss-deep);
}
.status-node.is-active {
  color: var(--ink-900);
  background: linear-gradient(180deg, var(--amber), var(--amber-deep));
  border-color: #7d5715;
  box-shadow: 0 0 0 2px rgba(217, 164, 65, 0.25);
}
.cast-panel {
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: rgba(18, 26, 35, 0.62);
  padding: 12px 16px 14px;
}
.cast-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 165px), 1fr));
  gap: var(--gap);
  align-items: start;
}
.cast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(31, 44, 57, 0.68), rgba(13, 19, 25, 0.72));
  padding: 9px 11px 10px 40px;
  min-height: 62px;
}
.cast-card::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(217, 164, 65, 0.22);
}
.cast-index {
  position: absolute;
  left: 10px;
  top: 9px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--amber-deep);
}
.cast-name {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--paper);
  line-height: 1.3;
}
.cast-role {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--paper-soft);
}
.details-panel {
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: rgba(18, 26, 35, 0.62);
  padding: 12px 16px 14px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: 6px 14px;
  align-items: start;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(51, 71, 90, 0.7);
  min-width: 0;
}
.detail-item dt {
  flex: 0 0 auto;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--moss);
}
.detail-item dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--paper-dim);
  overflow-wrap: anywhere;
}
.timeline-section {
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(24, 34, 45, 0.7), rgba(13, 19, 25, 0.72));
  padding: 12px 16px 16px;
  box-shadow: var(--shadow);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding-top: 4px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 15px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--moss-deep), var(--amber-deep) 55%, var(--amber));
  box-shadow: 0 0 10px rgba(217, 164, 65, 0.25);
}
.timeline-stop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding-top: 30px;
  min-width: 0;
}
.timeline-dot {
  position: absolute;
  top: 8px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 3px solid var(--amber);
  box-shadow: 0 0 0 3px rgba(13, 19, 25, 0.9);
}
.timeline-stop:nth-child(even) .timeline-dot {
  border-color: var(--moss);
}
.timeline-time {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--amber);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--paper-dim);
}
.episodes-section {
  border-top: 1px solid var(--ink-line);
  padding-top: 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(31, 44, 57, 0.6), rgba(13, 19, 25, 0.68));
  padding: 9px 11px 10px;
  min-width: 0;
}
.episode-num {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--moss);
}
.episode-title {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.05em;
  color: var(--paper);
  margin-bottom: 2px;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--paper-soft);
  flex: 1 1 auto;
}
.episode-duration {
  align-self: flex-start;
  margin-top: 4px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--amber);
  border: 1px solid rgba(217, 164, 65, 0.36);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.comments-section {
  border-top: 1px solid var(--ink-line);
  padding-top: 14px;
}
.comment-stream {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap) 18px;
  align-items: start;
}
.comment-card {
  position: relative;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(31, 44, 57, 0.62), rgba(13, 19, 25, 0.7));
  padding: 9px 12px 10px;
  min-width: 0;
}
.comment-left {
  margin-right: 14px;
  border-left: 3px solid var(--moss-deep);
}
.comment-right {
  margin-left: 14px;
  margin-top: 14px;
  border-right: 3px solid var(--amber-deep);
}
.comment-nick {
  display: block;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--paper-dim);
}
.rec-region {
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: rgba(18, 26, 35, 0.5);
  padding: 12px 14px 14px;
}
.rec-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: var(--gap);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.rec-strip::-webkit-scrollbar {
  height: 8px;
}
.rec-strip::-webkit-scrollbar-track {
  background: rgba(13, 19, 25, 0.7);
  border-radius: 999px;
}
.rec-strip::-webkit-scrollbar-thumb {
  background: var(--ink-500);
  border-radius: 999px;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(31, 44, 57, 0.66), rgba(13, 19, 25, 0.74));
  padding: 6px 7px 8px;
  color: var(--paper);
  text-decoration: none;
  scroll-snap-align: start;
  min-width: 0;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.82) contrast(1.05) brightness(0.94);
}
a.rec-card span[data-runtime="name"] {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--paper);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
a.rec-card span[data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--paper-soft);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
a.rec-card:hover {
  border-color: var(--amber-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
a.rec-card:hover span[data-runtime="name"] {
  color: var(--amber);
}
.rec-region-1 a.rec-card {
  border-top: 2px solid var(--amber-deep);
}
.rec-region-2 a.rec-card {
  border-top: 2px solid var(--moss-deep);
}
.rec-region-3 a.rec-card {
  border-top: 2px solid var(--ink-line);
}
.site-footer {
  border-top: 1px solid var(--ink-line);
  background: linear-gradient(180deg, rgba(13, 19, 25, 0.9), #080c10);
  margin-top: 8px;
}
.footer-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-note {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--paper-soft);
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--moss);
  border-bottom-color: var(--moss);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(51, 71, 90, 0.7);
}
.friend-label {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--moss);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--paper-soft);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 2px 8px;
  background: rgba(31, 44, 57, 0.45);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--ink-900);
  background: var(--paper-dim);
  border-color: var(--amber-deep);
}
@media (max-width: 900px) {.hero-bleed {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-silhouette {
    min-height: 260px;
    border-right: none;
    border-bottom: 1px solid var(--ink-line);
  }
.hero-posterslot {
    width: min(160px, 40%);
  }
.hero-inset {
    width: min(150px, 38%);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 12px;
  }
.timeline-track::before {
    left: 4%;
    right: 4%;
  }}
@media (max-width: 640px) {body {
    font-size: 14.5px;
  }
.page-main {
    padding: 12px 12px 22px;
    gap: 16px;
  }
.header-shell {
    padding: 8px 12px;
    gap: 8px;
  }
a[data-contract="site-name"] {
    font-size: 16px;
    letter-spacing: 0.1em;
  }
.hero-copy {
    padding: 14px 14px 14px;
  }
.hero-title {
    font-size: clamp(24px, 8vw, 34px);
  }
.hero-tagline {
    font-size: 13.5px;
  }
.hero-desc {
    font-size: 13px;
  }
.hero-silhouette {
    min-height: 220px;
  }
.hero-posterslot {
    width: min(140px, 44%);
  }
.hero-inset {
    width: min(132px, 42%);
    left: 8px;
    bottom: 10px;
  }
.synopsis-panel, .cast-panel, .details-panel, .timeline-section, .rec-region, .episode-status {
    padding: 11px 12px 13px;
  }
.cast-cards {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr));
  }
.details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }
.timeline-track::before {
    left: 3%;
    right: 3%;
  }
.comment-stream {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.comment-left {
    margin-right: 0;
  }
.comment-right {
    margin-left: 0;
    margin-top: 0;
  }
.rec-strip {
    grid-auto-columns: minmax(140px, 62%);
  }
.player-controls {
    gap: 5px;
    padding: 7px 8px;
  }
.ctl {
    font-size: 11px;
    padding: 4px 8px;
  }
.ctl-progress, .ctl-volume {
    flex: 1 1 100%;
    min-width: 0;
  }
.footer-shell {
    padding: 12px 12px 18px;
  }}
@media (max-width: 400px) {.timeline-track {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.timeline-track::before {
    display: none;
  }
.timeline-stop {
    padding-top: 0;
    padding-left: 24px;
  }
.timeline-dot {
    top: 3px;
  }
.hero-posterslot {
    width: min(120px, 48%);
  }
.hero-inset {
    width: min(116px, 46%);
  }}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }}

footer{text-align:center!important}
footer *{justify-content:center!important}
footer :is(div,nav,ul,ol,p,section,address){margin-left:auto!important;margin-right:auto!important}
