:root {
  --chalk-white: #e8ece9;
  --chalk-dim: #9aa8a1;
  --board-green: #1c2b26;
  --board-deep: #121c18;
  --board-line: #2c3f38;
  --chalk-yellow: #d9c46a;
  --chalk-yellow-soft: #b8a75a;
  --ink: #0d1512;
  --desk-wood: #6b4f38;
  --lamp-cold: #dfe8e6;
  --muted: #76857e;
  --mono: "Courier New", "Noto Sans Mono CJK SC", "Source Han Sans SC", ui-monospace, monospace;
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: var(--board-deep);
  color: var(--chalk-white);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
h1, h2, p, ul, ol, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
a {
  color: var(--chalk-white);
  text-decoration: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(18, 28, 24, 0.98), rgba(18, 28, 24, 0.9));
  border-bottom: 1px solid var(--board-line);
  backdrop-filter: blur(4px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  color: var(--chalk-yellow);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--lamp-cold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid var(--board-line);
  border-radius: 2px;
  background: rgba(44, 63, 56, 0.4);
  color: var(--chalk-dim);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--chalk-yellow);
  border-color: var(--chalk-yellow-soft);
  background: rgba(217, 196, 106, 0.08);
  text-decoration: none;
}
.page-main {
  display: block;
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 14px 26px;
}
.section-heading {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--chalk-yellow);
  text-transform: uppercase;
  padding-bottom: 4px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--board-line);
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  grid-template-areas:
    "media title"
    "media player"
    "status status"
    "cast cast"
    "synopsis details";
  gap: 12px 16px;
  align-items: start;
  padding: 14px;
  margin-bottom: 16px;
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(223, 232, 230, 0.06), transparent 60%),
    linear-gradient(180deg, #18241f, #131e1a);
  border: 1px solid var(--board-line);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero-stage > * {
  position: relative;
  z-index: 1;
}
.hero-media {
  grid-area: media;
  position: relative;
  justify-self: start;
  align-self: start;
  max-width: 100%;
  border: 1px solid var(--board-line);
  background: #0e1714;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.poster-frame {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05) brightness(0.94);
}
.hero-figure {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 7px;
  background: rgba(14, 23, 20, 0.92);
  border-top: 1px solid var(--board-line);
}
.hero-figure-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--chalk-yellow);
}
.hero-figure-note {
  font-size: 10px;
  line-height: 1.35;
  color: var(--muted);
}
.hero-title-block {
  grid-area: title;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.movie-title {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lamp-cold);
  text-shadow: 0 0 18px rgba(223, 232, 230, 0.16);
}
.movie-tagline {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--chalk-yellow);
  padding-left: 8px;
  border-left: 2px solid var(--chalk-yellow-soft);
}
.movie-seo {
  font-size: 13px;
  line-height: 1.62;
  color: #b9c6c0;
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.hero-actions button {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 5px 13px;
  border: 1px solid var(--board-line);
  border-radius: 2px;
  background: rgba(44, 63, 56, 0.35);
  color: var(--chalk-dim);
  transition: color 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.hero-actions button:hover {
  color: var(--lamp-cold);
  border-color: var(--chalk-dim);
  background: rgba(223, 232, 230, 0.07);
}
.btn-play {
  border-color: var(--chalk-yellow-soft) !important;
  color: var(--chalk-yellow) !important;
  background: rgba(217, 196, 106, 0.1) !important;
}
.btn-play:hover {
  background: rgba(217, 196, 106, 0.2) !important;
  box-shadow: 0 0 12px rgba(217, 196, 106, 0.22);
}
.btn-play.is-playing, .btn-theater.is-active, .btn-light.is-active {
  color: var(--ink) !important;
  background: var(--chalk-yellow) !important;
  border-color: var(--chalk-yellow) !important;
}
.player-shell {
  grid-area: player;
  position: relative;
  min-width: 0;
  align-self: start;
  border: 1px solid var(--board-line);
  background: #050a08;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050a08;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px 6px;
  background: rgba(18, 28, 24, 0.96);
  border-top: 1px solid var(--board-line);
}
.ctrl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border: 1px solid var(--board-line);
  border-radius: 2px;
  color: var(--muted);
  background: rgba(44, 63, 56, 0.28);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl:hover {
  color: var(--lamp-cold);
  border-color: var(--chalk-dim);
}
.ctrl.is-active, .ctrl.is-muted {
  color: var(--ink);
  background: var(--chalk-yellow);
  border-color: var(--chalk-yellow);
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 5px 0 3px;
  border-top: 1px solid var(--board-line);
  border-bottom: 1px solid var(--board-line);
}
.episode-status span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  padding: 2px 9px;
  border: 1px solid var(--board-line);
  border-radius: 2px;
  color: var(--muted);
}
.status-current {
  color: var(--chalk-yellow) !important;
  border-color: var(--chalk-yellow-soft) !important;
  background: rgba(217, 196, 106, 0.08);
}
.status-score {
  color: var(--lamp-cold) !important;
  border-color: var(--chalk-dim) !important;
}
.cast-panel {
  grid-area: cast;
  min-width: 0;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(146px, 1fr));
  gap: 6px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 9px;
  background: linear-gradient(135deg, rgba(107, 79, 56, 0.22), rgba(44, 63, 56, 0.16));
  border: 1px solid var(--board-line);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.cast-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(112deg, rgba(232, 236, 233, 0.05) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(24deg, rgba(232, 236, 233, 0.035) 0 1px, transparent 1px 11px);
  pointer-events: none;
  mix-blend-mode: screen;
}
.cast-name {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--lamp-cold);
}
.cast-role {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.synopsis-panel {
  grid-area: synopsis;
  min-width: 0;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.72;
  color: #b3c0ba;
  margin-bottom: 7px;
  text-indent: 2em;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.details-panel {
  grid-area: details;
  min-width: 0;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0 12px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(44, 63, 56, 0.7);
}
.detail-key {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  min-width: 4.5em;
}
.detail-value {
  font-size: 12.5px;
  color: #c4d0cb;
  min-width: 0;
  word-break: break-word;
}
.timeline-section {
  margin-bottom: 16px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #17231e, #131e1a);
  border: 1px solid var(--board-line);
  border-radius: 3px;
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 6px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--board-line) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 7px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(44, 63, 56, 0.35);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--chalk-dim);
  border-radius: 0;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding: 8px 14px 0 0;
  cursor: pointer;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--chalk-dim);
  opacity: 0.7;
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  right: 6px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(154, 168, 161, 0.55) 0 5px, transparent 5px 10px);
}
.timeline-timecode {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--chalk-yellow);
  margin-bottom: 2px;
}
.timeline-label {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: #a9b6b0;
  transition: color 0.15s;
}
.timeline-node:hover .timeline-label {
  color: var(--lamp-cold);
}
.timeline-node-current::before {
  width: 40px;
  height: 3px;
  background: var(--chalk-yellow);
  opacity: 1;
  box-shadow: 0 0 10px rgba(217, 196, 106, 0.5);
}
.timeline-node-current .timeline-label, .timeline-node.is-active .timeline-label {
  color: var(--lamp-cold);
}
.timeline-node.is-active .timeline-timecode {
  color: var(--lamp-cold);
}
.episodes-section {
  margin-bottom: 16px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #17231e, #131e1a);
  border: 1px solid var(--board-line);
  border-radius: 3px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.episode-cell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  align-items: center;
  gap: 0 7px;
  padding: 5px 8px;
  background: rgba(44, 63, 56, 0.22);
  border: 1px solid transparent;
  border-left: 2px solid var(--board-line);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, border-left-color 0.15s;
}
.episode-cell:hover {
  background: rgba(44, 63, 56, 0.42);
  border-color: var(--board-line);
  border-left-color: var(--chalk-yellow);
}
.episode-number {
  grid-area: num;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--chalk-yellow);
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 12.5px;
  color: #c4d0cb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-duration {
  grid-area: dur;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.22s ease, margin 0.22s ease;
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.55;
  color: #9fb0a9;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease, margin 0.25s ease;
}
.episode-cell:hover .episode-summary, .episode-cell:focus-within .episode-summary {
  max-height: 8em;
  opacity: 1;
  margin-top: 4px;
}
.episode-cell:hover .episode-duration, .episode-cell:focus-within .episode-duration {
  max-height: 2em;
  opacity: 1;
  margin-top: 3px;
}
.comments-section {
  margin-bottom: 16px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #17231e, #131e1a);
  border: 1px solid var(--board-line);
  border-radius: 3px;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  align-items: start;
}
.comment-card {
  min-width: 0;
  padding: 8px 11px;
  border-radius: 2px;
}
.comment-long {
  background: rgba(44, 63, 56, 0.24);
  border: 1px solid var(--board-line);
  border-left: 2px solid var(--chalk-yellow-soft);
}
.comment-bubble {
  position: relative;
  background: rgba(223, 232, 230, 0.06);
  border: 1px solid rgba(44, 63, 56, 0.85);
  border-radius: 12px 12px 12px 3px;
}
.comment-nickname {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--chalk-yellow);
  margin-bottom: 3px;
}
.comment-bubble .comment-nickname {
  color: var(--chalk-dim);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: #b3c0ba;
}
.comment-long .comment-text {
  color: #c4d0cb;
}
.recommend-strip {
  margin-bottom: 12px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #16221d, #121c18);
  border: 1px solid var(--board-line);
  border-radius: 3px;
}
.strip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 5px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--board-line);
}
.strip-title {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--chalk-yellow);
}
.strip-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}
.strip-items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: flex-start;
}
a.chip-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 0 0 auto;
  width: 168px;
  padding: 6px;
  background: rgba(44, 63, 56, 0.26);
  border: 1px solid var(--board-line);
  border-radius: 2px;
  color: var(--chalk-white);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.chip-card:hover {
  border-color: var(--chalk-yellow-soft);
  background: rgba(217, 196, 106, 0.09);
  transform: translateY(-1px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.04) brightness(0.94);
  border: 1px solid rgba(44, 63, 56, 0.9);
}
.chip-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lamp-cold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chip-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 14px 26px;
  border-top: 1px solid var(--board-line);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-bottom: 9px;
  margin-bottom: 9px;
  border-bottom: 1px dashed rgba(44, 63, 56, 0.7);
}
.friend-links-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--chalk-yellow);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--chalk-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--chalk-dim);
  text-decoration: none;
  transition: color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--chalk-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.65;
  color: #5f6d67;
  max-width: 78ch;
}
.hero-stage.is-theater {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "player"
    "title"
    "media"
    "status"
    "cast"
    "synopsis"
    "details";
}
.hero-stage.is-lights-off {
  background: #080d0b;
}
.hero-stage.is-lights-off .movie-seo, .hero-stage.is-lights-off .synopsis-paragraph {
  color: #8a978f;
}
.hero-stage.is-lights-off .main-player {
  filter: brightness(1.06);
}
@media (max-width: 980px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "media"
      "player"
      "status"
      "cast"
      "synopsis"
      "details";
  }
.hero-media {
    justify-self: center;
  }
.poster-frame {
    max-width: 260px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
  }
.details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 10px 10px 20px;
  }
.hero-stage {
    padding: 10px;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr);
  }
.movie-title {
    font-size: 22px;
  }
.poster-frame {
    max-width: 210px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    width: 148px;
  }
a.chip-card {
    width: 100%;
  }
.strip-items {
    gap: 6px;
  }
.header-inner {
    padding: 7px 10px;
  }
.player-controls {
    gap: 3px;
  }
.ctrl {
    font-size: 10.5px;
    padding: 3px 7px;
  }}
@media (max-width: 420px) {a.chip-card {
    width: 100%;
  }
.timeline-node {
    width: 132px;
  }
.hero-actions button {
    font-size: 11px;
    padding: 4px 10px;
  }}

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}
