*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
:root {
  --gold: #c9a227;
  --gold-bright: #e8c860;
  --gold-dim: #8a6f22;
  --red-deep: #3a0d12;
  --red: #571318;
  --red-soft: #6d1a20;
  --ink: #10080a;
  --ink-2: #1a0f12;
  --cold: #7d8a99;
  --cold-dim: #4a5563;
  --paper: #f3e6c8;
  --paper-dim: #d8c8a4;
  --line: rgba(201, 162, 39, 0.34);
  --line-soft: rgba(201, 162, 39, 0.18);
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(120% 90% at 78% -10%, rgba(201, 162, 39, 0.14), transparent 58%),
    radial-gradient(90% 70% at 8% 4%, rgba(87, 19, 24, 0.85), transparent 62%),
    linear-gradient(180deg, #180a0c 0%, #10080a 42%, #0c0709 100%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
h1, h2, h3, dt, .site-brand, .timeline-timecode, .episode-number {
  font-family: "Songti SC", "SimSun", "Noto Serif SC", Georgia, "Times New Roman", serif;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(16, 8, 10, 0.96), rgba(16, 8, 10, 0.82));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--gold-bright);
  text-decoration: none;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-shadow: 0 0 14px rgba(201, 162, 39, 0.4);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: #fff0c2; }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--paper-dim);
  background: rgba(87, 19, 24, 0.4);
  text-decoration: none;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.14);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-heading {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  padding-left: 12px;
  border-left: 3px solid var(--red-soft);
  margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(201, 162, 39, 0.28);
}
.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.6fr) minmax(0, 1fr);
  grid-template-areas:
    "media info synopsis"
    "media details synopsis";
  gap: 14px 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(150deg, rgba(201, 162, 39, 0.09), transparent 44%),
    linear-gradient(180deg, rgba(58, 13, 18, 0.92), rgba(20, 10, 12, 0.94));
  box-shadow: 0 18px 44px -22px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(201, 162, 39, 0.06);
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 42% at 22% 8%, rgba(232, 200, 96, 0.14), transparent 70%);
}
.hero-backdrop {
  grid-area: media;
  position: relative;
  align-self: start;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #12080a;
}
.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16, 8, 10, 0.74) 0%, rgba(16, 8, 10, 0.06) 46%, rgba(58, 13, 18, 0.5) 100%),
    linear-gradient(0deg, rgba(16, 8, 10, 0.72), transparent 52%);
}
.hero-media-wrap {
  width: 100%;
  line-height: 0;
}
.hero-media-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}
.hero-info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  align-self: start;
}
.hero-title {
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  line-height: 1.24;
  letter-spacing: 0.06em;
  color: #f6e5b6;
  text-shadow: 0 2px 18px rgba(201, 162, 39, 0.35);
}
.hero-tagline {
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  color: var(--cold);
  border-left: 2px solid var(--line);
  padding-left: 10px;
}
.hero-player-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(9, 5, 6, 0.72);
  transition: box-shadow 0.25s, background 0.25s;
}
.hero-player-wrap.is-theater {
  background: rgba(4, 2, 3, 0.92);
  box-shadow: 0 0 0 1px var(--gold-dim), 0 0 34px -8px rgba(201, 162, 39, 0.45);
}
.hero-player-wrap.is-lights-off {
  background: #000;
  box-shadow: 0 0 0 1px #000, 0 0 40px -6px rgba(0, 0, 0, 0.9);
}
.hero-player-wrap.is-lights-off video {
  filter: brightness(0.42) contrast(1.12);
}
.hero-player-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #050303;
  border: 1px solid rgba(201, 162, 39, 0.22);
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-btn {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  background: linear-gradient(180deg, rgba(109, 26, 32, 0.6), rgba(58, 13, 18, 0.6));
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.player-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.24), rgba(58, 13, 18, 0.7));
}
.player-btn.is-active {
  color: #1a0f12;
  border-color: var(--gold-bright);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-dim));
}
.player-range {
  appearance: none;
  flex: 1 1 84px;
  min-width: 60px;
  height: 4px;
  border-radius: 3px;
  cursor: pointer;
  background: linear-gradient(90deg, var(--gold-dim), rgba(201, 162, 39, 0.2));
  outline: none;
}
.player-range::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 1px solid #2a1416;
  box-shadow: 0 0 8px rgba(201, 162, 39, 0.6);
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid #2a1416;
  border-radius: 50%;
  background: var(--gold-bright);
}
.hero-cast-strip {
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}
.cast-heading {
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 6px;
}
.cast-item {
  font-size: 0.78rem;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  color: var(--paper);
  background: rgba(109, 26, 32, 0.36);
  white-space: nowrap;
}
.episode-status {
  padding-top: 2px;
}
.status-line {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 4px 10px;
  display: inline-block;
  background: rgba(201, 162, 39, 0.07);
}
.hero-synopsis {
  grid-area: synopsis;
  min-width: 0;
  align-self: start;
  padding-left: 16px;
  border-left: 1px solid var(--line-soft);
}
.synopsis-heading {
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  margin-bottom: 8px;
}
.synopsis-lead {
  font-size: 0.88rem;
  line-height: 1.78;
  color: #efe0bd;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.synopsis-paragraph {
  font-size: 0.82rem;
  line-height: 1.74;
  color: rgba(216, 200, 164, 0.86);
  margin-bottom: 7px;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.hero-details {
  grid-area: details;
  min-width: 0;
  align-self: start;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.details-heading {
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  margin-bottom: 8px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(201, 162, 39, 0.16);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--cold);
}
.detail-value {
  font-size: 0.82rem;
  color: var(--paper);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  padding-top: 6px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 22px;
  border-left: 1px solid var(--line);
  padding-left: 0;
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 12px 6px 18px;
  min-width: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(58, 13, 18, 0.9), 0 0 10px rgba(201, 162, 39, 0.7);
}
.timeline-timecode {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.timeline-label {
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(216, 200, 164, 0.9);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(58, 13, 18, 0.6), rgba(20, 10, 12, 0.62));
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.episode-card:hover {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(109, 26, 32, 0.66), rgba(20, 10, 12, 0.66));
  transform: translateX(2px);
}
.episode-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 0;
}
.episode-number {
  flex: 0 0 auto;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  padding: 1px 7px;
  border-radius: 4px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid var(--line-soft);
}
.episode-title {
  color: #f0e0ba;
  letter-spacing: 0.08em;
}
.episode-summary {
  font-size: 0.8rem;
  line-height: 1.68;
  color: rgba(216, 200, 164, 0.82);
}
.episode-duration {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--cold-dim);
}
.cast-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(58, 13, 18, 0.5), rgba(20, 10, 12, 0.56));
  min-width: 0;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.cast-card:hover {
  border-color: var(--line);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.16), 0 8px 20px -14px rgba(0, 0, 0, 0.9);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 0 0 2px rgba(16, 8, 10, 0.9);
  filter: grayscale(0.2) contrast(1.04);
}
.cast-name {
  font-size: 0.88rem;
  color: #f0e0ba;
  letter-spacing: 0.06em;
  line-height: 1.3;
}
.cast-role {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--cold);
  line-height: 1.3;
}
.cast-card > .cast-name, .cast-card > .cast-role {
  min-width: 0;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-bubble {
  position: relative;
  padding: 9px 12px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 12px 12px 12px 4px;
  background: linear-gradient(160deg, rgba(109, 26, 32, 0.5), rgba(20, 10, 12, 0.62));
  min-width: 0;
  transition: border-color 0.18s, background 0.18s;
}
.comment-bubble:nth-child(even) {
  border-radius: 12px 12px 4px 12px;
  background: linear-gradient(200deg, rgba(74, 85, 99, 0.32), rgba(20, 10, 12, 0.62));
}
.comment-bubble:hover {
  border-color: var(--line);
}
.comment-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.comment-nickname {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  font-weight: 600;
}
.comment-nickname::before {
  content: "◆";
  font-size: 0.56rem;
  color: var(--red-soft);
  margin-right: 6px;
  vertical-align: 2px;
}
.comment-text {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(230, 216, 184, 0.9);
}
.recommend-region {
  padding-top: 2px;
}
.recommend-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.recommend-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.recommend-grid-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.recommend-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(58, 13, 18, 0.52), rgba(16, 8, 10, 0.66));
  text-decoration: none;
  color: var(--paper);
  min-width: 0;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
a.recommend-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -16px rgba(201, 162, 39, 0.7), 0 0 0 1px rgba(201, 162, 39, 0.18);
}
a.recommend-card:visited { color: var(--paper); }
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  background: #12080a;
  filter: saturate(0.94);
}
a.recommend-card .recommend-name {
  font-size: 0.82rem;
  line-height: 1.35;
  color: #f0e0ba;
  letter-spacing: 0.04em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
a.recommend-card .recommend-blurb {
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(216, 200, 164, 0.72);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.recommend-poster { }
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 8, 10, 0.6), rgba(24, 10, 12, 0.95));
  padding: 22px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.footer-disclaimer {
  max-width: 760px;
  font-size: 0.76rem;
  line-height: 1.7;
  color: rgba(216, 200, 164, 0.6);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--paper-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.16s, border-color 0.16s;
}
a[data-contract="footer-home"] { color: var(--gold-bright); }
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  padding-top: 6px;
  border-top: 1px dashed var(--line-soft);
  width: 100%;
}
.friend-links-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--cold);
}
a.runtime-friend-link {
  font-size: 0.76rem;
  text-decoration: none;
  color: rgba(216, 200, 164, 0.66);
  padding: 1px 2px;
  transition: color 0.16s;
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
}
.player .play, .player .mute, .player .pip, .player .fullscreen, .player .theater, .player .light, .player .speed, .player .volume, .player .progress, .player .timeupdate, .player .x, .player .input, .player .click, .player .data-player-action { }
.is-active { }
@media (max-width: 1024px) {.hero-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
    grid-template-areas:
      "media info"
      "synopsis synopsis"
      "details details";
  }
.hero-synopsis {
    padding-left: 0;
    padding-top: 12px;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }
.timeline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-grid-five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-grid-four { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 720px) {body { font-size: 14px; }
.page-main { padding: 14px 13px 30px; gap: 20px; }
.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "info"
      "synopsis"
      "details";
    padding: 13px;
    gap: 12px;
  }
.hero-backdrop { max-width: 260px; margin: 0 auto; }
.hero-media-wrap img { aspect-ratio: 9 / 16; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.cast-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.recommend-grid-four, .recommend-grid-five, .recommend-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-btn { padding: 3px 8px; font-size: 0.72rem; }
.player-range { flex: 1 1 100%; }}
@media (max-width: 420px) {.header-inner { padding: 8px 12px; }
a[data-contract="site-name"] { font-size: 1.02rem; letter-spacing: 0.08em; }
.cast-columns { grid-template-columns: minmax(0, 1fr); }
.cast-card { justify-content: flex-start; }
.recommend-grid-four, .recommend-grid-five, .recommend-grid-three { grid-template-columns: minmax(0, 1fr); }
.hero-backdrop { max-width: 200px; }
.player-controls { gap: 5px; }}

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}
