*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #0a0e1a;
  color: #d8dbe4;
  font-family: "Hiragino Sans GB", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
h1, h2, h3, p, dl, dd, dt, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
:root {
  --ink: #0a0e1a;
  --ink-2: #0e1424;
  --ink-3: #141b2e;
  --line: #232c42;
  --line-soft: #1a2236;
  --text: #d8dbe4;
  --text-dim: #8b93a8;
  --text-faint: #5f6880;
  --amber: #e8b24a;
  --amber-soft: #f0c368;
  --amber-deep: #b9862c;
  --amber-glow: rgba(232, 178, 74, 0.16);
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 14, 26, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-shell {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 22px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 18px;
}
a[data-contract="site-name"].brand-mark {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--amber);
  text-decoration: none;
  border-left: 2px solid var(--amber-deep);
  padding-left: 10px;
  line-height: 1.1;
  white-space: nowrap;
}
a[data-contract="site-name"].brand-mark:hover {
  color: var(--amber-soft);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
a.runtime-category:hover {
  color: var(--amber);
  border-color: var(--amber-deep);
  background-color: var(--amber-glow);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px 12px;
}
.page-main.is-theater {
  max-width: 100%;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas:
    "headline player"
    "poster   meta"
    "cast     cast"
    "synopsis synopsis";
  gap: 20px 30px;
  padding: 34px 0 30px;
  border-bottom: 1px solid var(--line);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  border-radius: 2px;
}
.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(232, 178, 74, 0.13) 0%, rgba(232, 178, 74, 0.04) 32%, rgba(10, 14, 26, 0) 62%),
    linear-gradient(180deg, #0c1121 0%, #0a0e1a 70%);
}
.hero-lantern {
  position: absolute;
  top: 14px;
  right: 6%;
  width: 96px;
  height: 150px;
  z-index: 2;
}
.lantern-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(240, 195, 104, 0.34) 0%, rgba(240, 195, 104, 0.1) 38%, rgba(240, 195, 104, 0) 70%);
  border-radius: 50%;
  filter: blur(2px);
}
.lantern-body {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 66px;
  height: 118px;
  border-radius: 8px / 20px;
  background:
    linear-gradient(180deg, #f3cb7c 0%, #e8b24a 42%, #c9922f 100%);
  box-shadow:
    0 0 26px rgba(232, 178, 74, 0.55),
    0 0 60px rgba(232, 178, 74, 0.22),
    inset 0 0 14px rgba(120, 78, 12, 0.4);
  opacity: 0.92;
}
.lantern-body::before, .lantern-body::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  height: 1px;
  background: rgba(90, 58, 10, 0.55);
}
.lantern-body::before { top: 30%; }
.lantern-body::after { top: 62%; }
.lantern-mark {
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  color: #4a2f07;
  text-shadow: 0 1px 0 rgba(255, 235, 190, 0.5);
}
.hero-doorframe {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 62%;
  z-index: 1;
  perspective: 900px;
}
.door-panel {
  position: absolute;
  top: 4%;
  bottom: 4%;
  background:
    linear-gradient(180deg, #131a2c 0%, #0d1322 100%);
  border: 1px solid #1e2740;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6);
}
.door-panel::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(180deg, rgba(232, 178, 74, 0.24), rgba(232, 178, 74, 0.02));
}
.door-panel-left {
  left: 0;
  width: 42%;
  border-right: 2px solid #060a14;
  transform: rotateY(16deg);
  transform-origin: left center;
}
.door-panel-left::after { right: 10px; }
.door-panel-right {
  left: 46%;
  width: 40%;
  border-left: 2px solid #060a14;
  transform: rotateY(-22deg);
  transform-origin: right center;
  opacity: 0.9;
}
.door-panel-right::after { left: 12px; }
.hero-silhouette {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  height: 62%;
  z-index: 2;
}
.silhouette-counter {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 46%;
  background: linear-gradient(180deg, rgba(6, 9, 18, 0.86) 0%, rgba(6, 9, 18, 0.98) 100%);
  border-top: 1px solid rgba(232, 178, 74, 0.12);
}
.silhouette-figure {
  position: absolute;
  left: 34%;
  bottom: 34%;
  width: 26px;
  height: 62px;
  background: linear-gradient(180deg, rgba(4, 7, 14, 0.95) 0%, rgba(4, 7, 14, 0.99) 100%);
  border-radius: 12px 12px 2px 2px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}
.silhouette-figure::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -14px;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(4, 7, 14, 0.98);
}
.hero-headline {
  grid-area: headline;
  position: relative;
  z-index: 3;
  align-self: start;
  padding: 8px 0 0 12px;
  border-left: 1px solid rgba(232, 178, 74, 0.28);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0.12em;
  color: #f2ecdd;
  writing-mode: vertical-rl;
  text-orientation: upright;
  height: clamp(150px, 22vw, 240px);
  margin-left: 4px;
  text-shadow: 0 0 22px rgba(232, 178, 74, 0.22);
}
.hero-tagline {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--amber);
  writing-mode: vertical-rl;
  text-orientation: upright;
  height: clamp(120px, 16vw, 180px);
}
.hero-poster-wrap {
  grid-area: poster;
  position: relative;
  z-index: 3;
  justify-self: start;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: min(190px, 46%);
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #0d1322;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.6);
}
.poster-caption {
  margin-top: 0;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 2px 2px;
  background: #0d1322;
  padding: 5px 8px;
}
.poster-caption-line {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.hero-player-wrap {
  grid-area: player;
  position: relative;
  z-index: 3;
  align-self: start;
  width: 100%;
  min-width: 0;
  background: #070a12;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.hero-player {
  display: block;
  width: 100%;
  height: auto;
  background: #05070d;
}
.hero-player-wrap.is-lights-off::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 10, 0.94);
  pointer-events: none;
  z-index: 4;
}
.player-controls {
  position: relative;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 6px 8px;
  background: #0b101d;
  border-top: 1px solid var(--line-soft);
}
.ctl-btn {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #0e1424;
  transition: color 0.14s, border-color 0.14s, background-color 0.14s;
}
.ctl-btn:hover {
  color: var(--amber);
  border-color: var(--amber-deep);
  background: var(--amber-glow);
}
.ctl-btn.is-active, .ctl-btn.is-playing, .ctl-btn.is-muted {
  color: var(--amber);
  border-color: var(--amber-deep);
  background: var(--amber-glow);
}
.ctl-progress {
  flex: 1 1 120px;
  min-width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #1c2438;
  border-radius: 1px;
  cursor: pointer;
}
.ctl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
}
.ctl-progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--amber);
}
.ctl-volume {
  flex: 0 1 74px;
  min-width: 54px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #1c2438;
  border-radius: 1px;
  cursor: pointer;
}
.ctl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber-deep);
  border: none;
}
.ctl-volume::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: var(--amber-deep);
}
.ctl-speed {
  font-size: 11px;
  color: var(--text-dim);
  background: #0e1424;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 4px;
}
.ctl-speed.is-altered {
  color: var(--amber);
  border-color: var(--amber-deep);
}
.hero-meta {
  grid-area: meta;
  position: relative;
  z-index: 3;
  align-self: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  background: rgba(13, 19, 34, 0.72);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 16px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1px 6px;
}
.status-value {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--amber);
}
.status-sep {
  color: var(--text-faint);
}
.status-total {
  font-size: 12px;
  color: var(--text-dim);
}
.detail-panel {
  min-width: 0;
}
.detail-heading {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--text-dim);
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 2px solid var(--amber-deep);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 22px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.detail-val {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--text);
  text-align: right;
}
.cast-strip {
  grid-area: cast;
  position: relative;
  z-index: 3;
  align-self: start;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.cast-heading {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--text-dim);
  margin-bottom: 10px;
  padding-left: 8px;
  border-left: 2px solid var(--amber-deep);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 62px;
}
.cast-avatar {
  position: relative;
  width: 62px;
  height: 82px;
  background: linear-gradient(180deg, #1a2337 0%, #0d1322 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26px;
  background: linear-gradient(180deg, rgba(10, 14, 26, 0) 0%, rgba(10, 14, 26, 0.92) 100%);
}
.avatar-mark {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: 22px;
  color: rgba(232, 178, 74, 0.62);
}
.cast-name {
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}
.synopsis-section {
  grid-area: synopsis;
  position: relative;
  z-index: 3;
  align-self: start;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.section-heading {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: #e6e0d2;
  margin-bottom: 12px;
  padding-left: 9px;
  border-left: 2px solid var(--amber-deep);
}
.synopsis-body {
  columns: 2;
  column-gap: 26px;
  column-rule: 1px solid var(--line-soft);
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.78;
  color: var(--text-dim);
  margin-bottom: 10px;
  break-inside: avoid;
}
.synopsis-para:first-child {
  color: var(--text);
}
.timeline-section {
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--line);
}
.timeline-track {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--amber-deep) #0e1424;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: #0e1424;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--amber-deep);
  border-radius: 1px;
}
.timeline-list {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 6px 2px 0;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 178, 74, 0.05) 0%, rgba(232, 178, 74, 0.4) 50%, rgba(232, 178, 74, 0.05) 100%);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 132px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-right: 10px;
}
.node-lantern {
  position: relative;
  z-index: 2;
  width: 12px;
  height: 18px;
  border-radius: 3px / 6px;
  background: #4a3a1c;
  border: 1px solid #6b5323;
  margin-bottom: 2px;
}
.node-timecode {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.node-label {
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-dim);
}
.timeline-node.is-current .node-lantern {
  background: linear-gradient(180deg, #f3cb7c, #d59f38);
  border-color: #f0c368;
  box-shadow: 0 0 10px rgba(232, 178, 74, 0.7), 0 0 24px rgba(232, 178, 74, 0.3);
}
.timeline-node.is-current .node-timecode {
  color: var(--amber);
}
.timeline-node.is-current .node-label {
  color: #e6e0d2;
}
.episodes-section {
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 11px 13px 30px;
  background: rgba(14, 20, 36, 0.66);
  border: 1px solid var(--line);
  border-radius: 2px;
  min-width: 0;
  transition: border-color 0.16s, background-color 0.16s;
}
.episode-card:hover {
  border-color: var(--amber-deep);
  background: rgba(232, 178, 74, 0.05);
}
.episode-card.is-current {
  border-color: var(--amber-deep);
  background: rgba(232, 178, 74, 0.07);
}
.episode-card.is-current::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--amber);
}
.episode-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.episode-number {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--amber);
  flex: 0 0 auto;
}
.episode-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #e6e0d2;
  min-width: 0;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.62;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  position: absolute;
  left: 13px;
  bottom: 9px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1px 7px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s, transform 0.18s;
}
.episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration {
  opacity: 1;
  transform: translateY(0);
  color: var(--amber);
  border-color: var(--amber-deep);
}
.comments-section {
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--line);
}
.comment-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 22px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.comment-column-left {
  padding-top: 0;
}
.comment-column-right {
  padding-top: 26px;
}
.comment-card {
  position: relative;
  padding: 12px 14px;
  background: rgba(20, 27, 46, 0.7);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  min-width: 0;
}
.comment-column-left .comment-card:nth-child(2) {
  transform: translateX(10px);
}
.comment-column-right .comment-card:nth-child(1) {
  transform: translateX(-8px);
  background: rgba(232, 178, 74, 0.05);
  border-color: rgba(232, 178, 74, 0.22);
}
.comment-column-right .comment-card:nth-child(3) {
  transform: translateX(-6px);
}
.comment-head {
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}
.comment-nickname {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--amber);
}
.comment-text {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
}
.recommend-region {
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--line-soft);
}
.recommend-region:last-child {
  border-bottom: none;
}
.recommend-heading {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: #e6e0d2;
  margin-bottom: 12px;
  padding-left: 9px;
  border-left: 2px solid var(--amber-deep);
}
.recommend-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  padding: 7px 9px;
  background: rgba(14, 20, 36, 0.66);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.16s, background-color 0.16s, transform 0.16s;
}
a.recommend-card:hover {
  border-color: var(--amber-deep);
  background: rgba(232, 178, 74, 0.06);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  grid-row: 1 / span 2;
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #0d1322;
}
.recommend-name {
  grid-column: 2;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #e6e0d2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  grid-column: 2;
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  background: #080c17;
}
.footer-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-faint);
  max-width: 82ch;
}
.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
}
a[data-contract="footer-home"] {
  color: var(--text);
}
a[data-contract="footer-sitemap"] {
  color: var(--text-faint);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
}
.friends-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  text-decoration: underline;
}
@media (max-width: 980px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "headline"
      "player"
      "poster"
      "meta"
      "cast"
      "synopsis";
    gap: 20px;
    padding-top: 26px;
  }
.hero-title {
    writing-mode: horizontal-tb;
    height: auto;
    font-size: clamp(28px, 8vw, 44px);
    letter-spacing: 0.1em;
  }
.hero-tagline {
    writing-mode: horizontal-tb;
    height: auto;
    margin-top: 8px;
    letter-spacing: 0.18em;
  }
.hero-headline {
    border-left: none;
    padding-left: 0;
  }
.hero-poster-wrap {
    width: min(200px, 52%);
  }
.hero-doorframe {
    width: 74%;
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.comment-board {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.comment-column-right {
    padding-top: 0;
  }
.comment-column-left .comment-card:nth-child(2), .comment-column-right .comment-card:nth-child(1), .comment-column-right .comment-card:nth-child(3) {
    transform: none;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 720px) {.header-shell {
    padding: 9px 14px;
    gap: 6px 14px;
  }
.category-nav {
    margin-left: 0;
  }
.page-main {
    padding: 0 14px 10px;
  }
.hero-shell {
    padding-top: 22px;
    gap: 16px;
  }
.hero-lantern {
    width: 74px;
    height: 118px;
    right: 2%;
    opacity: 0.85;
  }
.lantern-body {
    width: 52px;
    height: 92px;
  }
.lantern-mark {
    top: 32px;
    font-size: 17px;
  }
.lantern-glow {
    width: 200px;
    height: 200px;
  }
.hero-poster-wrap {
    width: min(180px, 60%);
  }
.hero-meta {
    padding: 12px 12px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.timeline-node {
    width: 118px;
  }
.episode-card {
    padding: 10px 11px 28px;
  }
.episode-duration {
    left: 11px;
    opacity: 1;
    transform: none;
  }
.recommend-strip {
    grid-template-columns: minmax(0, 1fr);
  }
.footer-shell {
    padding: 16px 14px 22px;
  }}
@media (max-width: 460px) {body {
    font-size: 13px;
  }
.brand-mark {
    font-size: 17px;
  }
.hero-poster-wrap {
    width: min(160px, 62%);
  }
.cast-item {
    width: 56px;
  }
.cast-avatar {
    width: 56px;
    height: 74px;
  }
.timeline-node {
    width: 108px;
  }
a.recommend-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }
.friends-label {
    border-right: none;
    padding-right: 0;
  }}

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}
