:root {
  --ink: #0b0e11;
  --panel: #12171c;
  --panel-2: #161c22;
  --line: #2a323a;
  --line-soft: #1e252c;
  --mist: #8a97a3;
  --paper: #cfd6db;
  --bag-white: #e6e9e6;
  --hazard: #b09a3c;
  --hazard-dim: #6e6026;
  --verdict: #7a2b2f;
  --verdict-lit: #a13a3f;
  --mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --tight: 8px;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body {
  background-image:
    linear-gradient(180deg, rgba(176, 154, 60, 0.03), transparent 30%),
    repeating-linear-gradient(180deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h2, h3, p, dl, dd, dt, ol, ul, li { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #0f1418 0%, #0d1216 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(176, 154, 60, 0.12);
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 16px;
  max-width: 1320px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.16em;
  color: var(--bag-white);
  text-decoration: none;
  padding: 2px 10px 2px 8px;
  border-left: 3px solid var(--hazard);
  background: rgba(176, 154, 60, 0.07);
}
a[data-contract="site-name"]:hover {
  color: var(--hazard);
  background: rgba(176, 154, 60, 0.13);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #141a20;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--hazard);
  border-color: var(--hazard);
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.player-dock {
  position: relative;
  border: 1px solid var(--line);
  background: #000;
  padding: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.6), 0 6px 22px rgba(0,0,0,0.5);
}
.player-dock video {
  display: block;
  width: 100%;
  background: #05070a;
  filter: saturate(0.82) contrast(1.05);
}
.player-control-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #141a20, #0e1318);
  border-top: 1px solid var(--line);
}
.player-action {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--paper);
  background: #1a2129;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 9px;
  cursor: pointer;
  appearance: none;
}
button.player-action:hover, select.player-action:hover {
  border-color: var(--hazard-dim);
  color: var(--hazard);
}
.player-action.is-active {
  background: var(--hazard);
  color: var(--ink);
  border-color: var(--hazard);
}
input.player-action[type="range"] {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  padding: 0;
  border: none;
  background: #2b333c;
  border-radius: 0;
  accent-color: var(--hazard);
}
input.player-action[type="range"]:hover { background: #38424d; }
select.player-action { padding-right: 6px; }
.player-dock.is-theater {
  box-shadow: 0 0 0 2px var(--hazard), 0 10px 30px rgba(0,0,0,0.7);
}
.player-dock.is-lights-off { background: #000; }
.player-dock.is-lights-off video { filter: brightness(1.06) saturate(0.9); }
.player-dock.is-playing .player-control-bar { border-top-color: var(--hazard-dim); }
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 40%),
    var(--panel);
  position: relative;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--hazard) 0 14px, transparent 14px 26px);
  opacity: 0.55;
}
.overview-poster-column { min-width: 0; }
.poster-media-wrapper {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  padding: 5px;
  background: #0d1216;
  width: 100%;
}
.overview-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.06) brightness(0.9);
  display: block;
}
.poster-stamp {
  position: absolute;
  right: -6px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #d9c46a;
  background: rgba(11, 14, 17, 0.86);
  border: 1px solid var(--verdict-lit);
  padding: 3px 7px;
  transform: rotate(-4deg);
  text-transform: uppercase;
}
.overview-info-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.overview-title-block {
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.overview-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--bag-white);
  line-height: 1.15;
}
.overview-tagline {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--hazard);
}
.episode-status { border: 1px solid var(--line-soft); padding: 8px 10px; background: #10161b; }
.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
}
.status-value { color: var(--paper); }
.status-current { color: var(--bag-white); font-weight: 700; }
.status-total { color: var(--mist); }
.status-sep { color: var(--line); }
.section-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--mist);
  text-transform: uppercase;
  padding: 0 0 5px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  position: relative;
}
.section-heading::before {
  content: "▍";
  color: var(--hazard);
  margin-right: 4px;
  letter-spacing: 0;
}
.section-heading-cast, .section-heading-details, .section-heading-synopsis, .section-heading-status { font-size: 11px; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  border-left: 2px solid var(--hazard-dim);
  background: #10161b;
  min-width: 0;
}
.cast-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--bag-white);
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 11px;
  color: var(--mist);
  line-height: 1.4;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0 14px;
  border-top: 1px solid var(--line-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
  min-width: 52px;
}
.detail-value {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--paper);
  min-width: 0;
  overflow-wrap: anywhere;
}
.detail-row-score .detail-key { color: var(--hazard); }
.detail-score {
  font-size: 17px;
  font-weight: 700;
  color: var(--verdict-lit);
  letter-spacing: 0.06em;
}
.synopsis-body {
  display: grid;
  gap: 7px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.72;
  color: #b6c0c8;
  text-align: justify;
}
.synopsis-paragraph::first-letter {
  color: var(--hazard);
  font-weight: 700;
}
.timeline-section {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px 14px 14px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 6px 20px;
  padding-left: 16px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: 1px;
  background: linear-gradient(180deg, var(--hazard-dim), var(--line) 40%, var(--line) 100%);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 8px 5px 12px;
  border-left: 1px solid var(--line-soft);
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--hazard);
  box-shadow: 0 0 0 3px rgba(176, 154, 60, 0.12);
}
.timeline-timecode {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--hazard);
}
.timeline-label {
  font-size: 12.5px;
  color: #aab4bc;
  line-height: 1.5;
}
.episodes-section {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px 14px 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--hazard-dim);
  background: #10161b;
  padding: 8px 10px;
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  border-top-color: var(--hazard);
  background: #141b21;
}
.episode-card-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.episode-number {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--hazard);
  padding: 1px 6px;
  border-radius: 1px;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--bag-white);
  letter-spacing: 0.1em;
  flex: 1 1 auto;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mist);
  margin-left: auto;
}
.episode-summary {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: #8f9aa3;
  max-height: 2.1em;
  overflow: hidden;
  transition: max-height 0.28s ease, color 0.2s ease;
}
.episode-card:hover .episode-summary {
  max-height: 12em;
  color: #b9c3cb;
}
.comments-section {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px 14px 16px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  position: relative;
  background: linear-gradient(160deg, #e2e5e1 0%, #cfd4cf 100%);
  color: #1a1f23;
  border: 1px solid #a9b0a8;
  padding: 10px 12px 12px;
  border-radius: 1px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  transform: rotate(-0.5deg);
  min-width: 0;
}
.comment-card::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 10px;
  background: rgba(176, 154, 60, 0.5);
  border-left: 1px solid rgba(0,0,0,0.2);
  border-right: 1px solid rgba(0,0,0,0.2);
}
.comment-card:nth-child(even) { transform: rotate(0.6deg); }
.comment-card:nth-child(3n) { transform: rotate(-1deg); }
.comment-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 5px;
  margin-bottom: 6px;
  border-bottom: 1px dashed rgba(26, 31, 35, 0.28);
  flex-wrap: wrap;
}
.comment-nickname {
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #14181b;
}
.comment-bag-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--verdict);
  border: 1px solid var(--verdict);
  padding: 0 5px;
  border-radius: 1px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: #232a2f;
}
.recommendation-region {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px 14px 14px;
}
.recommendation-heading {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--bag-white);
  border: 2px solid var(--hazard-dim);
  padding: 3px 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(176, 154, 60, 0.18);
}
.recommendation-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommendation-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line-soft);
  background: #10161b;
  padding: 5px 5px 8px;
  color: var(--paper);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.recommendation-item:hover {
  border-color: var(--hazard);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #05070a;
  filter: grayscale(0.4) brightness(0.86) contrast(1.05);
}
a.recommendation-item:hover img { filter: grayscale(0.1) brightness(1) contrast(1.05); }
[data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bag-white);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
[data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.5;
  color: var(--mist);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #0c1014;
  padding: 14px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1320px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: #6f7a84;
  max-width: 760px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--hazard);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--bag-white);
  border-bottom-color: var(--verdict-lit);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mist);
  border: 1px solid var(--line);
  padding: 1px 7px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #7d8892;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--hazard);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.player .play, .player .pause, .player .mute, .player .volume, .player .progress, .player .speed, .player .timeupdate, .player .pip, .player .fullscreen, .player .theater, .player .light, .player .input, .player .click, .player .change {
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.player.is-playing .play { color: var(--hazard); }
.player.is-active { border-color: var(--hazard); }
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-poster-column {
    max-width: 260px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body { font-size: 13px; }
.page-main { padding: 10px 10px 24px; gap: 12px; }
.site-header-inner { padding: 7px 10px; gap: 10px; }
.overview-title { font-size: 21px; }
.overview-tagline { font-size: 12px; letter-spacing: 0.14em; }
.overview-poster-column { max-width: 200px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-summary {
    max-height: none;
    overflow: visible;
    color: #a3adb5;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.recommendation-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-control-bar { gap: 5px; }
.player-action { font-size: 10px; padding: 4px 7px; }
.site-footer { padding: 12px 10px 20px; }}
@media (max-width: 420px) {.recommendation-row { grid-template-columns: minmax(0, 1fr); }
.cast-grid { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.overview-poster-column { max-width: 170px; }}

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}
