*, *::before, *::after {
  box-sizing: border-box;
}
html, body, h1, h2, h3, p, ul, ol, li, figure, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
:root {
  --ink: #0d1013;
  --cabinet: #1b2128;
  --cabinet-2: #232b34;
  --steel: #38424d;
  --steel-2: #4c5866;
  --paper: #d9c69a;
  --paper-2: #c8b184;
  --paper-dim: #a9946a;
  --accent: #e2c16c;
  --accent-deep: #b9903c;
  --tape: #2a3038;
  --text: #cdd4da;
  --text-dim: #8d98a2;
  --text-faint: #646f79;
  --line: #313a44;
  --mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", "Courier New", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background:
    linear-gradient(180deg, #14191f 0%, #0d1013 40%, #10151a 100%);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
  opacity: 0.5;
}
.site-header, .page-main, .site-footer {
  position: relative;
  z-index: 1;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 18px;
  background: linear-gradient(180deg, #232b34, #1a2027);
  border-bottom: 2px solid #0a0d10;
  box-shadow: inset 0 -1px 0 #3b454f, 0 6px 14px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
}
.header-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  min-width: 0;
}
.site-logo {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
  text-shadow: 0 1px 0 #000;
  border-left: 3px solid var(--accent-deep);
  padding-left: 8px;
}
.header-subtitle {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.14em;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  background: var(--cabinet-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel-2);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  background: var(--paper);
  color: #1a1408;
  border-left-color: var(--accent-deep);
  outline: none;
}
.page-main {
  padding: 14px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1560px;
  margin: 0 auto;
}
.film-record {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  background:
    linear-gradient(180deg, #1e252d, #171d24);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 #2c3641, 0 10px 24px rgba(0, 0, 0, 0.45);
  position: relative;
}
.film-record::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  background: linear-gradient(225deg, var(--paper-dim) 0 46%, transparent 47%);
  opacity: 0.22;
  pointer-events: none;
}
.record-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.poster-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #0a0d10;
  border: 1px solid var(--steel);
  padding: 6px;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.94);
  border: 1px solid #05070a;
}
.poster-caption {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--paper-dim);
  padding: 6px 2px 1px;
  text-transform: uppercase;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #05070a;
  border: 1px solid var(--steel);
  padding: 6px 6px 0;
  transition: background 0.25s, border-color 0.25s;
}
.player-shell video {
  width: 100%;
  height: auto;
  background: #000;
  display: block;
}
.player-shell.is-theater {
  background: #000;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 1px #000, 0 12px 40px rgba(0, 0, 0, 0.7);
}
.player-shell.is-lights-off {
  background: #000;
  border-color: #000;
}
.player-shell.is-lights-off video {
  filter: brightness(0.55);
}
.player-shell.is-speed-changed .console-select {
  color: var(--accent);
  border-color: var(--accent-deep);
}
.player-console {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 2px 8px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.console-btn {
  flex: 0 0 auto;
  background: var(--cabinet-2);
  border: 1px solid var(--steel);
  color: var(--text);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.console-btn:hover {
  background: var(--steel);
  color: #fff;
}
.console-btn.is-active {
  background: var(--accent);
  border-color: var(--accent-deep);
  color: #1a1408;
  font-weight: 700;
}
.console-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--steel);
  border: 1px solid #0a0d10;
  cursor: pointer;
}
.console-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 15px;
  background: var(--paper);
  border: 1px solid #000;
}
.console-range::-moz-range-thumb {
  width: 9px;
  height: 15px;
  background: var(--paper);
  border: 1px solid #000;
  border-radius: 0;
}
.console-select {
  flex: 0 0 auto;
  background: var(--cabinet-2);
  border: 1px solid var(--steel);
  color: var(--text);
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 4px 6px;
  cursor: pointer;
}
.record-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  background: linear-gradient(180deg, rgba(217, 198, 154, 0.05), rgba(217, 198, 154, 0.01));
  border: 1px solid var(--line);
  border-left: 3px solid var(--paper-dim);
  padding: 12px 13px;
}
.film-title {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #f0e6cf;
  text-shadow: 0 2px 0 #000;
}
.film-tagline {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding-left: 10px;
  border-left: 2px solid var(--accent-deep);
  line-height: 1.45;
}
.record-status {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.status-chip {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  background: var(--paper);
  color: #221a08;
  border: 1px solid var(--accent-deep);
  font-weight: 700;
  white-space: nowrap;
}
.status-chip + .status-chip {
  background: var(--cabinet-2);
  color: var(--paper-2);
  border-color: var(--steel);
  font-weight: 400;
}
.cast-index {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px dashed var(--line);
}
.cast-heading, .synopsis-heading, .detail-heading, .timeline-heading, .episode-heading, .comment-heading, .recommend-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--paper-2);
  padding-left: 9px;
  border-left: 3px solid var(--accent-deep);
  text-transform: none;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.cast-tab {
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  color: var(--text);
  background: var(--cabinet);
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--steel-2);
  white-space: nowrap;
}
.cast-tab:nth-child(odd) {
  border-bottom-color: var(--paper-dim);
}
.synopsis-dossier {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 5px;
  border-top: 1px dashed var(--line);
}
.synopsis-seo {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.62;
  color: #e4dcc8;
  background: rgba(217, 198, 154, 0.07);
  border-left: 3px solid var(--paper-dim);
  padding: 8px 10px;
}
.synopsis-para {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.62;
  color: var(--text-dim);
  text-indent: 2em;
}
.detail-dossier {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 5px;
  border-top: 1px dashed var(--line);
}
.detail-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 10px;
  font-size: 11.5px;
  line-height: 1.45;
}
.detail-key {
  color: var(--text-faint);
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 2px 0;
  border-bottom: 1px dotted #2a323b;
}
.detail-value {
  color: var(--text);
  padding: 2px 0;
  border-bottom: 1px dotted #2a323b;
}
.timeline-track {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px 13px;
  background: linear-gradient(180deg, #1a2027, #14191f);
  border: 1px solid var(--line);
  border-top: 2px solid var(--steel);
}
.timeline-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--steel-2) #0a0d10;
  align-items: stretch;
}
.timeline-rail::-webkit-scrollbar {
  height: 9px;
}
.timeline-rail::-webkit-scrollbar-track {
  background: #0a0d10;
  border: 1px solid var(--line);
}
.timeline-rail::-webkit-scrollbar-thumb {
  background: var(--steel-2);
  border: 1px solid #0a0d10;
}
.tape-node {
  flex: 0 0 auto;
  width: 148px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 9px 11px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #2e3841, #232b34);
  border: 1px solid #0a0d10;
  box-shadow: inset 0 1px 0 #46525d, inset 0 -3px 0 #161c22;
  position: relative;
}
.tape-node::before, .tape-node::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #6b7681 0 22%, #10151a 23% 100%);
  border: 1px solid #0a0d10;
}
.tape-node::before {
  left: 10px;
}
.tape-node::after {
  left: 28px;
}
.tape-timecode {
  align-self: flex-start;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #221a08;
  background: var(--paper);
  padding: 2px 6px;
  border: 1px solid var(--accent-deep);
  font-weight: 700;
  margin-left: 40px;
  white-space: nowrap;
}
.tape-label {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.5;
  color: var(--text);
  padding-top: 4px;
  border-top: 1px dashed var(--steel);
}
.episode-drawers {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px 13px;
  background: linear-gradient(180deg, #1b2128, #151a20);
  border: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 9px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px 10px;
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #d9c69a, #cbb583);
  color: #221a08;
  border: 1px solid #8f7c50;
  border-top: 3px solid #6f6038;
  box-shadow: inset 0 1px 0 #efe3c3, 0 4px 10px rgba(0, 0, 0, 0.4);
  position: relative;
}
.episode-card::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 26px;
  height: 10px;
  border-top: 1px solid rgba(34, 26, 8, 0.35);
  border-bottom: 1px solid rgba(34, 26, 8, 0.35);
}
.episode-number {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #5c4c24;
  white-space: nowrap;
}
.episode-title {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.28;
  font-weight: 700;
  color: #1c1507;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(34, 26, 8, 0.3);
}
.episode-summary {
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.5;
  color: #3a2f18;
}
.episode-duration {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: #f0e6cf;
  background: #2a3038;
  padding: 2px 7px;
  border: 1px solid #0a0d10;
  white-space: nowrap;
}
.comment-wall {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px 13px;
  background: linear-gradient(180deg, #14191f, #0e1216);
  border: 1px solid var(--line);
}
.comment-masonry {
  columns: 3;
  column-gap: 9px;
}
.comment-slip {
  break-inside: avoid;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 9px;
  padding: 9px 10px;
  background: linear-gradient(180deg, #232b34, #1a2027);
  border: 1px solid #0a0d10;
  border-left: 4px solid var(--paper-dim);
  box-shadow: inset 0 1px 0 #333d48;
}
.comment-nickname {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-nickname::before {
  content: "▸ ";
  color: var(--paper-dim);
}
.comment-text {
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.58;
  color: #e6e2d6;
  transform: rotate(-0.25deg);
}
.recommend-region {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px 13px;
  background: linear-gradient(180deg, #1a2027, #141a20);
  border: 1px solid var(--line);
  border-top: 2px solid var(--steel);
}
.recommend-heading {
  font-size: 13px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 9px;
  align-items: start;
}
.recommend-card {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 6px;
  background: var(--cabinet);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--steel-2);
  color: var(--text);
  text-decoration: none;
  transition: background 0.16s, border-color 0.16s, transform 0.16s;
}
a[data-runtime="recommendation"]:hover, a[data-runtime="recommendation"]:focus-visible {
  background: #2a333d;
  border-bottom-color: var(--accent);
  transform: translateY(-2px);
  outline: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: #0a0d10;
  border: 1px solid #05070a;
  filter: saturate(0.8) contrast(1.05);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ece4d0;
  line-height: 1.35;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 22px;
  margin-top: 8px;
  background: linear-gradient(180deg, #1a2027, #0b0e11);
  border-top: 2px solid var(--steel);
  font-size: 11.5px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--paper-2);
  text-decoration: none;
  letter-spacing: 0.1em;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--accent);
  border-bottom-color: var(--accent-deep);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
}
.friend-links-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  padding-right: 6px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 2px 7px;
  background: var(--cabinet);
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--accent);
  border-color: var(--accent-deep);
  background: #202832;
}
.footer-disclaimer {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-faint);
  max-width: 90ch;
}
.footer-meta {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--steel-2);
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}
.player.is-playing, .player {
  background: #000;
}
.change, .click, .data-player-action, .input, .light, .mute, .pip, .play, .progress, .speed, .theater, .timeupdate, .volume, .fullscreen {
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.is-active {
  opacity: 1;
}
@media (max-width: 1100px) {.film-record {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-masonry {
    columns: 2;
  }}
@media (max-width: 860px) {.page-main {
    padding: 12px 12px 22px;
    gap: 12px;
  }
.film-title {
    font-size: 21px;
  }
.poster-frame {
    max-width: 100%;
  }}
@media (max-width: 640px) {.site-header {
    padding: 9px 12px;
  }
.site-logo {
    font-size: 15px;
  }
.header-subtitle {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
.film-record {
    padding: 10px;
    gap: 11px;
  }
.film-title {
    font-size: 19px;
  }
.film-tagline {
    font-size: 11.5px;
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
.comment-masonry {
    columns: 1;
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.console-btn {
    font-size: 10px;
    padding: 4px 7px;
  }
.console-range {
    flex: 1 1 100%;
    order: 2;
  }
.tape-node {
    width: 136px;
  }
.site-footer {
    padding: 14px 12px 20px;
  }}
@media (max-width: 420px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
.detail-key {
    border-bottom: none;
    padding-bottom: 0;
  }
.detail-value {
    padding-left: 10px;
    border-bottom: 1px dotted #2a323b;
  }}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }}

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}
