:root {
  --char: #100d0b;
  --char-deep: #070605;
  --char-soft: #1b1613;
  --ochre: #b26a2c;
  --ochre-bright: #d98a3c;
  --ochre-dim: #7a4a20;
  --bone: #e8ddc8;
  --bone-dim: #b8ad97;
  --bone-faint: #8b8172;
  --shell-blue: #6fb7d4;
  --shell-glow: #a9e2f5;
  --line: rgba(184,173,151,0.18);
  --line-strong: rgba(184,173,151,0.32);
  --gap: 14px;
  --pad: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 12% -6%, rgba(178,106,44,0.16), transparent 62%),
    radial-gradient(900px 560px at 96% 10%, rgba(111,183,212,0.07), transparent 60%),
    linear-gradient(180deg, #0d0b09 0%, #100d0b 45%, #0a0807 100%);
  background-color: var(--char);
  color: var(--bone);
  font-family: "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC","Source Han Sans SC",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100%;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
ul, ol, dl, dd, dt, p, h1, h2, h3 { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--bone); text-decoration: none; }
strong { font-weight: 700; color: var(--ochre-bright); }
::selection { background: var(--ochre-dim); color: var(--bone); }
:focus-visible {
  outline: 2px solid var(--shell-blue);
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(7,6,5,0.96) 0%, rgba(7,6,5,0.82) 78%, rgba(7,6,5,0) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 9px clamp(12px, 3vw, 32px);
  max-width: 1360px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--bone);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-shadow: 0 0 10px rgba(178,106,44,0.4);
}
a[data-contract="site-name"]::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--ochre-bright);
  box-shadow: 0 0 9px 2px rgba(217,138,60,0.7);
  vertical-align: 2px;
}
a[data-contract="site-name"]:hover { color: var(--shell-glow); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--bone-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color .18s, border-color .18s, background-color .18s;
}
a.runtime-category:hover {
  color: var(--char-deep);
  background: var(--ochre-bright);
  border-color: var(--ochre-bright);
}
.page-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 32px) 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-title {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--bone);
  padding-left: 14px;
  margin-bottom: 10px;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 3px;
  background: linear-gradient(180deg, var(--ochre-bright), var(--ochre-dim));
  box-shadow: 0 0 8px rgba(217,138,60,0.55);
}
.section-title::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent 72%);
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: clamp(14px, 3vw, 30px) 0 clamp(10px, 2vw, 20px);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -18% -12% -6% -20%;
  background:
    radial-gradient(46% 42% at 26% 34%, rgba(169,226,245,0.15), transparent 68%),
    radial-gradient(60% 56% at 18% 40%, rgba(178,106,44,0.13), transparent 72%);
  z-index: -1;
  pointer-events: none;
}
.hero-figure {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
.poster-wrap {
  position: relative;
  width: min(62%, 380px);
  min-width: 180px;
  border: 1px solid var(--line-strong);
  background: var(--char-deep);
  box-shadow:
    0 0 0 6px rgba(7,6,5,0.65),
    0 26px 48px -22px rgba(0,0,0,0.95);
  overflow: hidden;
}
.poster-wrap img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
}
.hero-glow {
  position: absolute;
  left: 8%;
  top: 14%;
  width: min(74%, 440px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 44%, rgba(226,246,255,0.92) 0%, rgba(169,226,245,0.55) 14%, rgba(111,183,212,0.26) 34%, rgba(178,106,44,0.14) 56%, transparent 74%);
  filter: blur(4px);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.hero-title {
  font-size: clamp(24px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.04em;
  color: var(--bone);
  text-shadow: 0 0 26px rgba(111,183,212,0.32), 0 2px 0 rgba(0,0,0,0.6);
}
.hero-tagline {
  font-size: clamp(13px, 1.35vw, 16px);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ochre-bright);
  padding-left: 12px;
  border-left: 2px solid var(--ochre-dim);
}
.hero-seo {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--bone-dim);
  max-width: 62ch;
}
.hero-player {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 2px;
  border: 1px solid var(--line-strong);
  background: #050403;
  box-shadow: 0 18px 34px -20px rgba(0,0,0,0.95);
}
.hero-player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #050403;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #17120e, #0c0908);
  border-top: 1px solid var(--line);
}
.pc-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(232,221,200,0.05);
  color: var(--bone-dim);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .16s, color .16s, border-color .16s;
}
.pc-btn:hover {
  color: var(--char-deep);
  background: var(--ochre-bright);
  border-color: var(--ochre-bright);
}
.pc-btn.is-active {
  color: var(--char-deep);
  background: var(--shell-blue);
  border-color: var(--shell-blue);
  box-shadow: 0 0 12px rgba(111,183,212,0.55);
}
.pc-progress {
  flex: 1 1 130px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(232,221,200,0.16);
  border-radius: 3px;
  cursor: pointer;
}
.pc-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--shell-glow);
  box-shadow: 0 0 10px 1px rgba(169,226,245,0.85);
  border: none;
}
.pc-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--shell-glow);
  box-shadow: 0 0 10px 1px rgba(169,226,245,0.85);
}
.pc-volume {
  flex: 0 1 84px;
  min-width: 62px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(232,221,200,0.16);
  border-radius: 3px;
  cursor: pointer;
}
.pc-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ochre-bright);
  border: none;
}
.pc-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--ochre-bright);
}
.pc-speed {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(232,221,200,0.05);
  border: 1px solid var(--line);
  color: var(--bone-dim);
  font-size: 11.5px;
  padding: 4px 6px;
  border-radius: 3px;
  cursor: pointer;
}
.hero.lights-dim { }
.lights-dim::before { opacity: 0.32; }
.lights-dim .hero-glow { opacity: 0.4; }
.lights-dim .hero-player { border-color: rgba(111,183,212,0.28); }
.hero.theater-mode {
  grid-template-columns: minmax(0, 1fr);
}
.theater-mode .hero-figure { display: none; }
.theater-mode .hero-player {
  box-shadow: 0 0 0 1px rgba(111,183,212,0.35), 0 0 44px -6px rgba(111,183,212,0.32);
}
.episode-status {
  border-left: 2px solid var(--ochre-dim);
  padding: 5px 0 5px 12px;
  background: linear-gradient(90deg, rgba(178,106,44,0.12), transparent 62%);
}
.status-line {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
}
.status-total, .status-current {
  color: var(--ochre-bright);
  font-weight: 700;
  font-size: 14px;
}
.cast-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--ochre-dim) transparent;
  -webkit-overflow-scrolling: touch;
}
.cast-strip::-webkit-scrollbar { height: 6px; }
.cast-strip::-webkit-scrollbar-track { background: rgba(232,221,200,0.06); }
.cast-strip::-webkit-scrollbar-thumb { background: var(--ochre-dim); border-radius: 3px; }
.cast-card {
  flex: 0 0 auto;
  width: 104px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(232,221,200,0.045), rgba(232,221,200,0.015));
  border: 1px solid var(--line);
  border-radius: 2px;
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 5px;
  border-radius: 2px;
  background-color: #241c15;
  background-image:
    radial-gradient(circle at 30% 26%, rgba(232,221,200,0.22), transparent 42%),
    radial-gradient(circle at 72% 70%, rgba(178,106,44,0.4), transparent 52%),
    repeating-linear-gradient(118deg, rgba(0,0,0,0.34) 0 3px, rgba(232,221,200,0.05) 3px 6px);
  border: 1px solid var(--line-strong);
  filter: saturate(0.85);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bone);
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 11px;
  color: var(--bone-faint);
  letter-spacing: 0.03em;
}
.synopsis {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--bone-dim);
  text-align: justify;
  border-left: 1px solid var(--line);
  padding-left: 11px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 9px;
  background: rgba(232,221,200,0.028);
}
.detail-item dt {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bone-faint);
}
.detail-item dd {
  font-size: 12.5px;
  color: var(--bone);
  min-width: 0;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 var(--gap);
  border-left: 1px solid var(--line-strong);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "dot time"
    "dot label";
  column-gap: 10px;
  align-items: start;
  padding: 8px 4px 10px 0;
  border-bottom: 1px dashed var(--line);
}
.timeline-dot {
  grid-area: dot;
  align-self: start;
  justify-self: end;
  width: 9px;
  height: 9px;
  margin-top: 4px;
  margin-left: -5px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #ffd9a3, var(--ochre-bright) 46%, var(--ochre-dim) 100%);
  box-shadow: 0 0 10px 2px rgba(217,138,60,0.6);
  transform: translateX(-50%);
}
.timeline-time {
  grid-area: time;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ochre-bright);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  grid-area: label;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--bone-dim);
  text-align: right;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 11px 11px;
  background: linear-gradient(180deg, rgba(232,221,200,0.05), rgba(232,221,200,0.012) 60%, rgba(0,0,0,0.16));
  border: 1px solid var(--line);
  border-top: 2px solid var(--ochre-dim);
  border-radius: 2px;
  transition: border-color .18s, background-color .18s, transform .18s;
}
.episode-card:hover {
  border-top-color: var(--shell-blue);
  background: rgba(111,183,212,0.06);
  transform: translateY(-2px);
}
.episode-number {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
  color: rgba(178,106,44,0.55);
  font-variant-numeric: tabular-nums;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--bone);
  line-height: 1.35;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.62;
  color: var(--bone-faint);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s ease, opacity .25s ease, margin .3s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 12em;
  opacity: 1;
  margin-top: 2px;
}
.episode-duration {
  margin-top: auto;
  align-self: flex-start;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--bone-faint);
  padding-top: 6px;
  border-top: 1px solid var(--line);
  width: 100%;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-column:last-child { margin-top: 22px; }
.comment-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 10px;
  background: rgba(232,221,200,0.035);
  border: 1px solid var(--line);
  border-left: 2px solid var(--ochre-dim);
  border-radius: 2px;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #2a2018;
  background-image:
    radial-gradient(circle at 34% 30%, rgba(232,221,200,0.3), transparent 46%),
    repeating-radial-gradient(circle at 50% 50%, rgba(232,221,200,0.12) 0 1px, transparent 1px 5px);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.6);
}
.comment-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--bone-dim);
}
.comment-nick {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ochre-bright);
  align-self: flex-start;
  padding-top: 3px;
  border-top: 1px solid var(--line);
}
.rec-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.rec-heading {
  display: flex;
  align-items: baseline;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--bone);
  text-align: left;
}
.rec-heading::after {
  content: "";
  flex: 1 1 auto;
  margin-left: 12px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent 85%);
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 10px;
  align-items: start;
}
.rec-item {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  padding: 7px;
  color: var(--bone);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(232,221,200,0.05), rgba(0,0,0,0.2));
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .18s, background-color .18s, transform .18s;
}
a[data-runtime="recommendation"]:hover {
  border-color: rgba(111,183,212,0.55);
  background: rgba(111,183,212,0.07);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #1a1410;
  filter: saturate(0.85) contrast(1.05);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--bone);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.55;
  color: var(--bone-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px clamp(12px, 3vw, 32px) 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--bone-faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--bone-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ochre-bright);
  border-bottom-color: var(--ochre-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--bone-faint);
}
a.runtime-friend-link {
  color: var(--bone-faint);
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color .18s;
}
a.runtime-friend-link:hover { color: var(--shell-blue); }
@media (max-width: 1080px){.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 900px){.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
.hero-figure { justify-content: center; }
.poster-wrap { width: min(58%, 300px); }
.hero-glow { left: 50%; transform: translateX(-50%); top: 8%; width: min(80%, 380px); }
.hero-title { text-align: left; }}
@media (max-width: 760px){body { font-size: 13.5px; }
.page-main { gap: 20px; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-columns { grid-template-columns: minmax(0, 1fr); }
.comment-column:last-child { margin-top: 0; }
.timeline-label { text-align: left; }
.rec-list { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }}
@media (max-width: 560px){.header-bar { gap: 6px 10px; }
.category-nav { margin-left: 0; width: 100%; }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-summary {
    max-height: none;
    opacity: 1;
    margin-top: 2px;
  }
.detail-list { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }
.poster-wrap { width: min(74%, 260px); }
.cast-card { width: 92px; }
.player-controls { gap: 5px 6px; }
.pc-progress { flex: 1 1 100%; order: 3; }
.rec-list { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }}
@media (max-width: 380px){.episode-grid { grid-template-columns: minmax(0, 1fr); }
.rec-list { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }}
@media (prefers-reduced-motion: reduce){* { transition: none !important; animation: none !important; scroll-behavior: auto !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}
