*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #0a0e14;
  color: #c6d2de;
  font-family: "Hiragino Sans", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: #6fa8c9; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
::selection { background: #b04a32; color: #f2f5f8; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 14, 20, 0.94);
  border-bottom: 1px solid #1c2734;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  color: #e6edf4;
  text-decoration: none;
  font-family: "SFMono-Regular", "Cascadia Mono", Consolas, "Courier New", monospace;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 1px 0 0 rgba(176, 74, 50, 0.55), -1px 0 0 rgba(72, 132, 176, 0.55);
}
a[data-contract="site-name"]:hover { color: #8fc3e3; }
.category-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid #24313f;
  color: #8ea3b6;
  text-decoration: none;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.08em;
  border-radius: 1px;
  background: #10161f;
}
a.runtime-category:hover {
  color: #f2f5f8;
  border-color: #b04a32;
  background: #1a1412;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 26px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px 0 18px;
  border-bottom: 1px solid #1c2734;
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  border: 1px solid #26333f;
  background: #060a0f;
  box-shadow: 0 0 0 1px rgba(72, 132, 176, 0.12), 0 12px 26px rgba(0, 0, 0, 0.6);
}
.hero-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(70, 130, 180, 0.20) 0%, rgba(70, 130, 180, 0) 46%, rgba(0, 0, 0, 0.42) 100%);
  mix-blend-mode: screen;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.08);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.hero-title {
  font-family: "SFMono-Regular", "Cascadia Mono", Consolas, "Courier New", monospace;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #eef4f9;
  text-shadow: 2px 0 0 rgba(176, 74, 50, 0.5), -2px 0 0 rgba(64, 126, 168, 0.5);
}
.hero-tagline {
  max-width: 34em;
  padding-left: 10px;
  border-left: 2px solid #b04a32;
  color: #9fb1c1;
  font-size: 13px;
}
.episode-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px 0;
  border-top: 1px solid #1c2734;
  border-bottom: 1px solid #1c2734;
}
.episode-status-current, .episode-status-total, .episode-status-score {
  font-family: "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 1px;
}
.episode-status-current {
  background: #b04a32;
  color: #fbeee9;
}
.episode-status-total {
  background: #16202b;
  color: #93a7b8;
  border: 1px solid #24313f;
}
.episode-status-score {
  background: #0f1a24;
  color: #7fb6d8;
  border: 1px solid #2c4256;
}
.cast { display: flex; flex-direction: column; gap: 6px; }
.cast-heading, .synopsis-heading, .details-heading, .episodes-heading, .comments-heading, .timeline-heading {
  font-family: "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #b04a32;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid #24313f;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.cast-item {
  display: grid;
  grid-template-columns: 22px auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 6px;
  padding: 3px 6px 3px 3px;
  border: 1px solid #1c2734;
  border-radius: 1px;
  background: #0d131b;
}
.cast-avatar {
  grid-row: 1 / 3;
  width: 22px;
  height: 22px;
  border-radius: 1px;
  background:
    linear-gradient(135deg, #2b3a49 0%, #16202b 55%, #b04a32 100%);
  box-shadow: inset 0 0 0 1px rgba(143, 195, 227, 0.18);
}
.cast-name {
  font-size: 12px;
  font-weight: 600;
  color: #dfe8f0;
  white-space: nowrap;
}
.cast-role {
  font-size: 10px;
  color: #7d8fa0;
  white-space: nowrap;
}
.synopsis { display: flex; flex-direction: column; gap: 5px; }
.synopsis-para {
  color: #a9bac9;
  font-size: 12.5px;
  line-height: 1.6;
  text-align: justify;
}
.details { display: flex; flex-direction: column; gap: 6px; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 16px;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed #1c2734;
}
.details-key {
  flex: 0 0 62px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #6e8194;
}
.details-value {
  margin: 0;
  font-size: 12px;
  color: #cfdae5;
}
.player-shell {
  margin: 18px 0;
  padding: 8px;
  border: 1px solid #24313f;
  border-radius: 2px;
  background: #0c1219;
  box-shadow: inset 0 0 0 1px rgba(72, 132, 176, 0.06);
}
.player-wrap {
  width: 100%;
  background: #05080c;
  border: 1px solid #1c2734;
}
.player-wrap video {
  display: block;
  width: 100%;
  background: #05080c;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid #1c2734;
}
.player-btn {
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #9fb1c1;
  background: #131c26;
  border: 1px solid #24313f;
  border-radius: 1px;
}
.player-btn:hover { color: #eef4f9; border-color: #b04a32; background: #1b1310; }
.player-btn.is-playing, .player-btn.is-active { color: #fbeee9; background: #b04a32; border-color: #b04a32; }
.player-btn.is-muted { color: #0a0e14; background: #6fa8c9; border-color: #6fa8c9; }
.player-progress {
  flex: 1 1 140px;
  min-width: 0;
  height: 4px;
  accent-color: #b04a32;
}
.player-volume {
  flex: 0 1 88px;
  min-width: 0;
  height: 4px;
  accent-color: #6fa8c9;
}
.player-speed {
  padding: 3px 4px;
  font-size: 11px;
  background: #131c26;
  border: 1px solid #24313f;
  border-radius: 1px;
  color: #9fb1c1;
}
.player-shell.is-theater {
  background: #04070a;
  border-color: #b04a32;
  box-shadow: 0 0 0 1px rgba(176, 74, 50, 0.28), 0 0 40px rgba(70, 130, 180, 0.14);
}
body.is-lights-off { background: #04060a; }
body.is-lights-off .page-main { filter: brightness(0.86); }
.timeline-section {
  margin: 18px 0;
  padding-top: 14px;
  border-top: 1px solid #1c2734;
}
.timeline-heading { margin-bottom: 8px; }
.timeline-strip {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  border-top: 1px solid #24313f;
  border-bottom: 1px solid #24313f;
  background:
    repeating-linear-gradient(90deg, #0c1219 0 12px, #0a0e14 12px 24px);
  scrollbar-color: #b04a32 #0c1219;
  scrollbar-width: thin;
}
.timeline-strip::-webkit-scrollbar { height: 8px; }
.timeline-strip::-webkit-scrollbar-track { background: #0c1219; }
.timeline-strip::-webkit-scrollbar-thumb { background: #3a4b5c; border-radius: 1px; }
.timeline-strip::-webkit-scrollbar-thumb:hover { background: #b04a32; }
.timeline-list {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 10px 0;
}
.timeline-node {
  flex: 0 0 auto;
  width: 158px;
  padding: 0 11px;
  border-right: 1px solid #1c2734;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.timeline-node:last-child { border-right: none; }
.timeline-frame {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid #2b3a49;
  border-radius: 1px;
  background:
    linear-gradient(160deg, #1d2b39 0%, #0c1219 52%, #3a1d17 100%);
  filter: blur(1.6px) saturate(0.7) contrast(1.05);
  transition: filter 0.35s ease, border-color 0.35s ease;
  position: relative;
}
.timeline-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.timeline-node:hover .timeline-frame, .timeline-node:focus-within .timeline-frame {
  filter: blur(0) saturate(1) contrast(1.12);
  border-color: #b04a32;
}
.timeline-timecode {
  font-family: "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #6fa8c9;
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: #93a7b8;
}
.episodes-section {
  margin: 18px 0;
  padding-top: 14px;
  border-top: 1px solid #1c2734;
}
.episodes-heading { margin-bottom: 8px; }
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  border-top: 1px solid #24313f;
}
.episode-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #1c2734;
}
.episode-number {
  font-family: "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  font-size: 19px;
  line-height: 1;
  font-weight: 700;
  color: #b04a32;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.1em;
  padding-top: 2px;
}
.episode-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.episode-title {
  font-family: "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #dfe8f0;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: #9aacbc;
}
.episode-duration {
  align-self: flex-start;
  font-family: "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #6e8194;
  padding: 1px 5px;
  border: 1px solid #24313f;
  border-radius: 1px;
}
.comments-section {
  margin: 18px 0;
  padding-top: 14px;
  border-top: 1px solid #1c2734;
}
.comments-heading { margin-bottom: 10px; }
.comments-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px;
  background: #131a23;
  border: 1px solid #24313f;
  border-left: 3px solid #b04a32;
  border-radius: 1px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}
.comment-card:nth-child(odd) { transform: rotate(-0.7deg); }
.comment-card:nth-child(even) { transform: rotate(0.6deg); }
.comment-card:nth-child(3n) { transform: rotate(0.3deg); }
.comment-card:hover { transform: rotate(0deg); border-left-color: #6fa8c9; }
.comment-nickname {
  font-family: "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #7fb6d8;
}
.comment-text {
  font-size: 12px;
  line-height: 1.55;
  color: #b3c2d0;
}
.recommend-region {
  margin: 18px 0;
  padding-top: 14px;
  border-top: 1px solid #1c2734;
}
.recommend-title {
  font-family: "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #b04a32;
  margin-bottom: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid #24313f;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-item { min-width: 0; }
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 5px;
  background: #0d131b;
  border: 1px solid #1c2734;
  border-radius: 1px;
  color: #c6d2de;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
a[data-runtime="recommendation"]:hover {
  border-color: #b04a32;
  background: #15130f;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1px;
  background: #05080c;
  filter: saturate(0.85) contrast(1.06);
}
[data-runtime="name"] {
  font-size: 12px;
  font-weight: 600;
  color: #dfe8f0;
}
[data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: #8093a4;
}
.site-footer {
  border-top: 1px solid #24313f;
  background: #080c11;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #9fb1c1;
  text-decoration: none;
  border-bottom: 1px solid #24313f;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #eef4f9;
  border-bottom-color: #b04a32;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}
.friend-links-label {
  font-family: "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #b04a32;
  padding-right: 6px;
  border-right: 1px solid #24313f;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #7d8fa0;
  text-decoration: none;
}
a.runtime-friend-link:hover { color: #7fb6d8; text-decoration: underline; }
.footer-disclaimer {
  max-width: 70ch;
  font-size: 11px;
  line-height: 1.55;
  color: #5f7183;
}
@media (max-width: 900px) {.hero { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); }
.hero-title { font-size: 25px; }}
@media (max-width: 720px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.hero-poster-wrap { max-width: 190px; }
.episodes-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.recommend-list { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
.timeline-node { width: 140px; }}
@media (max-width: 480px) {body { font-size: 12.5px; }
.header-inner { padding: 7px 12px; }
.page-main { padding: 0 12px 20px; }
.hero-title { font-size: 21px; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.comments-stack { grid-template-columns: minmax(0, 1fr); }
.recommend-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-controls { gap: 5px; }
.player-progress { flex: 1 1 100%; }
.player-volume { flex: 1 1 60px; }
.timeline-node { width: 128px; }}

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}
