*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --iron: #2b2f33;
  --iron-deep: #1a1d20;
  --iron-soft: #3a4046;
  --frost: #7d8b96;
  --frost-dim: #55606a;
  --ice: #a8b6c0;
  --resin: #d97b28;
  --resin-hot: #f08a2a;
  --resin-deep: #a34f12;
  --snow: #e8ecf0;
  --line: #3f464d;
}
html {
  -webkit-text-size-adjust: 100%;
  background: #14171a;
}
body {
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-stretch: condensed;
  font-size: 13px;
  line-height: 1.45;
  color: #c4ccd3;
  background:
    radial-gradient(120% 80% at 18% -10%, rgba(217,123,40,0.10) 0%, rgba(217,123,40,0) 46%),
    radial-gradient(140% 100% at 90% 0%, rgba(90,120,150,0.10) 0%, rgba(90,120,150,0) 55%),
    linear-gradient(180deg, #14171a 0%, #191d21 40%, #14171a 100%);
  background-attachment: fixed;
  letter-spacing: 0.01em;
}
img { display: block; max-width: 100%; }
a { color: var(--ice); text-decoration: none; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: 0.02em; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(20,23,26,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 7px 14px;
}
a[data-contract="site-name"] {
  font-size: 15px;
  font-weight: 800;
  color: var(--snow);
  text-decoration: none;
  letter-spacing: 0.14em;
  padding-left: 10px;
  border-left: 4px solid var(--resin);
  line-height: 1.1;
}
a[data-contract="site-name"]:hover { color: var(--resin-hot); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  color: var(--frost);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background: rgba(60,70,80,0.28);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
a.runtime-category:hover { color: var(--resin-hot); border-color: var(--resin-deep); }
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 14px 20px;
}
.hero-section {
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 65% at 75% 12%, rgba(240,138,42,0.13) 0%, rgba(240,138,42,0) 58%),
    linear-gradient(160deg, #20252a 0%, #191d21 55%, #15181b 100%);
  padding: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 2.05fr);
  gap: 16px;
  align-items: start;
  padding: 14px 14px 12px;
}
.hero-poster-column { position: relative; }
.poster-frame {
  position: relative;
  border: 1px solid var(--iron-soft);
  background: #101315;
  box-shadow: 0 0 0 1px rgba(217,123,40,0.18), 10px 12px 30px rgba(0,0,0,0.6);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(190deg, rgba(217,123,40,0.12) 0%, rgba(217,123,40,0) 34%);
  mix-blend-mode: screen;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
}
.hero-info-column {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}
.title-block {
  position: relative;
  padding: 0 0 9px 14px;
  border-bottom: 1px solid var(--line);
}
.title-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 10px;
  width: 5px;
  background: linear-gradient(180deg, var(--resin-hot), var(--resin-deep));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 90%, 0 100%);
}
.movie-title {
  font-size: 26px;
  line-height: 1.05;
  color: var(--snow);
  text-shadow: 0 0 22px rgba(217,123,40,0.35);
}
.movie-tagline {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--resin-hot);
}
.movie-seo-blurb {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.5;
  color: #98a3ac;
  max-width: 62ch;
}
.episode-status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.status-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #15181b;
  background: var(--resin);
  padding: 2px 8px;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
.status-current {
  font-size: 11px;
  color: var(--frost);
  border-bottom: 1px dashed var(--iron-soft);
  padding-bottom: 1px;
}
.player-panel {
  position: relative;
  border: 1px solid var(--iron-soft);
  background: #0d1012;
  padding: 6px;
}
.player-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(217,123,40,0.16) 0%, rgba(217,123,40,0) 30%);
}
.player-panel video {
  display: block;
  width: 100%;
  background: #000;
  border: 1px solid #23282c;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}
.player-btn {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ice);
  background: rgba(58,64,70,0.55);
  border: 1px solid var(--line);
  padding: 3px 8px;
  cursor: pointer;
  clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px);
}
.player-btn:hover { color: var(--resin-hot); border-color: var(--resin-deep); }
.player-btn.is-active, .player-btn.is-playing {
  color: #15181b;
  background: var(--resin);
  border-color: var(--resin-hot);
}
.player-btn.is-muted { color: var(--frost-dim); border-color: var(--iron-soft); }
.player-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 5px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--resin) 0%, var(--resin) 0%, #2c3237 0%, #2c3237 100%);
  border: 1px solid var(--line);
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 14px;
  background: var(--resin-hot);
  border: none;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.player-progress::-moz-range-thumb {
  width: 9px;
  height: 14px;
  border: none;
  background: var(--resin-hot);
}
.player-volume {
  flex: 0 1 74px;
  min-width: 56px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: #2c3237;
  border: 1px solid var(--line);
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 7px;
  height: 12px;
  background: var(--frost);
}
.player-volume::-moz-range-thumb {
  width: 7px;
  height: 12px;
  border: none;
  background: var(--frost);
}
.player-speed {
  font-size: 11px;
  background: rgba(58,64,70,0.55);
  border: 1px solid var(--line);
  color: var(--ice);
  padding: 3px 4px;
}
.player-speed option { background: #191d21; }
.cast-strip {
  border: 1px solid var(--line);
  background: rgba(43,47,51,0.42);
  padding: 7px 9px;
}
.cast-heading {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--resin);
  margin-bottom: 5px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.cast-item {
  font-size: 11px;
  color: #b3bdc5;
  padding: 2px 8px;
  background: rgba(20,23,26,0.7);
  border: 1px solid var(--iron-soft);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
.synopsis-panel {
  border: 1px solid var(--line);
  border-left: 3px solid var(--iron-soft);
  background: rgba(30,34,38,0.6);
  padding: 8px 10px;
}
.synopsis-heading, .details-heading, .comments-heading, .recommendations-heading, .episodes-heading, .timeline-heading {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--snow);
  padding-bottom: 4px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.synopsis-heading::before, .details-heading::before, .comments-heading::before, .recommendations-heading::before, .episodes-heading::before, .timeline-heading::before {
  content: "▍";
  color: var(--resin);
  margin-right: 4px;
}
.synopsis-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 14px;
  counter-reset: syn;
}
.synopsis-item {
  position: relative;
  counter-increment: syn;
  font-size: 11.5px;
  line-height: 1.5;
  color: #9aa5ae;
  padding-left: 20px;
}
.synopsis-item::before {
  content: counter(syn, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 10px;
  font-weight: 800;
  color: var(--resin-deep);
}
.details-panel {
  border: 1px solid var(--line);
  background: rgba(30,34,38,0.6);
  padding: 8px 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(85,96,106,0.4);
}
.detail-key {
  flex: 0 0 52px;
  font-size: 11px;
  color: var(--frost-dim);
  letter-spacing: 0.05em;
}
.detail-value {
  font-size: 11.5px;
  color: #c4ccd3;
  min-width: 0;
}
.timeline-band {
  margin-top: 12px;
  border-top: 1px solid var(--iron-soft);
  background:
    linear-gradient(180deg, rgba(217,123,40,0.06) 0%, rgba(217,123,40,0) 60%),
    rgba(18,21,24,0.85);
  padding: 9px 14px 13px;
}
.timeline-heading { display: inline-block; border-bottom: none; margin-bottom: 8px; }
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding-top: 11px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--iron-soft) 0 6px, rgba(63,70,77,0.25) 6px 10px);
}
.timeline-node {
  position: relative;
  padding-top: 9px;
  border-top: 1px solid transparent;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--resin);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(217,123,40,0.6);
}
.timeline-timecode {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--resin-hot);
}
.timeline-label {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.4;
  color: #98a3ac;
}
.content-lower {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 14px;
}
.content-main-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.comments-section {
  border: 1px solid var(--line);
  background: rgba(30,34,38,0.55);
  padding: 9px 10px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  align-items: start;
}
.comment-card {
  position: relative;
  background: rgba(20,23,26,0.92);
  border: 1px solid var(--iron-soft);
  border-left: 3px solid var(--resin-deep);
  padding: 7px 9px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
}
.comment-card:nth-child(2n) { transform: translateY(9px); border-left-color: var(--frost-dim); }
.comment-card:nth-child(3n) { transform: translateY(4px); }
.comment-card:nth-child(5n) { transform: translateY(-3px); }
.comment-nickname {
  font-size: 11px;
  font-weight: 800;
  color: var(--resin-hot);
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: #9aa5ae;
}
.recommendations-section {
  border: 1px solid var(--line);
  background: rgba(30,34,38,0.55);
  padding: 9px 10px;
}
.rec-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.rec-grid-1 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rec-grid-2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-grid-3 { grid-template-columns: 1.5fr 1fr 1.5fr 1fr 1.5fr 1fr; }
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(20,23,26,0.92);
  border: 1px solid var(--iron-soft);
  padding: 5px;
  color: var(--ice);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.rec-card:hover {
  border-color: var(--resin);
  color: var(--resin-hot);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #101315;
  filter: saturate(0.8) contrast(1.05) brightness(0.92);
}
.rec-name {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--snow);
  line-height: 1.3;
}
.rec-blurb {
  font-size: 10.5px;
  line-height: 1.45;
  color: #8b969f;
}
.episodes-column {
  position: sticky;
  top: 46px;
  border: 1px solid var(--line);
  background: rgba(24,28,32,0.9);
  padding: 9px 10px;
  max-height: calc(100vh - 58px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--iron-soft) transparent;
}
.episodes-column::-webkit-scrollbar { width: 6px; }
.episodes-column::-webkit-scrollbar-thumb { background: var(--iron-soft); }
.episode-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.episode-item {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  background: rgba(20,23,26,0.75);
  border: 1px solid var(--iron-soft);
  border-left: 2px solid var(--iron-soft);
  padding: 5px 7px;
}
.episode-item:hover { border-left-color: var(--resin); }
.episode-number {
  flex: 0 0 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--resin-hot);
  background: rgba(217,123,40,0.10);
  border: 1px solid var(--resin-deep);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
.episode-body { min-width: 0; }
.episode-title {
  font-size: 12px;
  color: var(--snow);
  line-height: 1.25;
}
.episode-summary {
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.45;
  color: #8b969f;
}
.episode-duration {
  display: inline-block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--frost-dim);
  letter-spacing: 0.06em;
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 14px 26px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--resin-hot);
  border-bottom-color: var(--resin-deep);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--frost-dim);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--frost);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover { color: var(--resin-hot); text-decoration: underline; }
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.5;
  color: #6e7982;
  max-width: 80ch;
}
.player-panel .change, .player-panel .click, .player-panel .input { outline: none; }
.player-panel .play, .player-panel .progress, .player-panel .volume, .player-panel .mute, .player-panel .speed, .player-panel .pip, .player-panel .fullscreen, .player-panel .theater, .player-panel .light { transition: color 0.15s ease, background 0.15s ease; }
.player-panel .play.is-playing, .player-panel .pip.is-active, .player-panel .fullscreen.is-active, .player-panel .theater.is-active, .player-panel .light.is-active { color: #15181b; background: var(--resin); }
.player-panel .mute.is-muted, .player-panel .mute.is-muted:hover { color: var(--frost-dim); border-color: var(--iron-soft); }
.hero-section.theater-mode { background: #08090a; border-color: var(--resin-deep); }
.hero-section.theater-mode .player-panel {
  border-color: var(--resin-deep);
  box-shadow: 0 0 40px rgba(217,123,40,0.18);
}
.hero-section.lights-off .hero-poster-column, .hero-section.lights-off .title-block, .hero-section.lights-off .episode-status, .hero-section.lights-off .cast-strip, .hero-section.lights-off .synopsis-panel, .hero-section.lights-off .details-panel, .hero-section.lights-off .timeline-band {
  opacity: 0.22;
  filter: brightness(0.55);
  transition: opacity 0.25s ease;
}
.player-panel .timeupdate { color: var(--frost); }
@media (max-width: 1080px) {.content-lower { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
.rec-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 900px) {.hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero-poster-column { max-width: 300px; }
.timeline-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.content-lower { grid-template-columns: minmax(0, 1fr); }
.episodes-column {
    position: static;
    max-height: none;
    overflow: visible;
  }
.episode-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-card:nth-child(2n), .comment-card:nth-child(3n), .comment-card:nth-child(5n) { transform: none; }
.rec-grid-1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 640px) {body { font-size: 12.5px; }
.page-main { padding: 10px 10px 16px; }
.hero-grid { padding: 10px 10px 8px; gap: 12px; }
.hero-poster-column { max-width: 220px; }
.movie-title { font-size: 21px; }
.synopsis-list { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.detail-key { flex: 0 0 60px; }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.timeline-band { padding: 8px 10px 12px; }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.rec-grid-1, .rec-grid-2, .rec-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-list { grid-template-columns: minmax(0, 1fr); }
.site-footer { padding: 10px 10px 22px; }}
@media (max-width: 420px) {.header-inner { padding: 6px 10px; }
.rec-grid-1, .rec-grid-2, .rec-grid-3 { grid-template-columns: minmax(0, 1fr); }
.player-progress { flex: 1 1 100%; }
.player-volume { flex: 1 1 60px; }}
@media (min-width: 1281px) {.hero-grid { grid-template-columns: minmax(0, 0.66fr) minmax(0, 2.2fr); }}

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}
