*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:root {
  --ink: #0d1512;
  --ink-2: #121d19;
  --panel: #16231e;
  --panel-2: #1b2a24;
  --moss: #2f4a3c;
  --moss-hi: #3f6350;
  --rust: #8a4a2c;
  --rust-hi: #b06a3f;
  --cold: #8d9a94;
  --cold-2: #6d7a74;
  --bone: #d5d9d2;
  --bone-dim: #a8b1a9;
  --lamp: #f0b46a;
  --lamp-glow: rgba(240, 180, 106, 0.55);
  --rule: rgba(141, 154, 148, 0.22);
  --serif: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(47, 74, 60, 0.55), transparent 60%),
    linear-gradient(180deg, #0b120f 0%, #0d1512 45%, #0a100e 100%);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  font-stretch: condensed;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(10, 17, 14, 0.96), rgba(10, 17, 14, 0.78));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.header-shell {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 9px 18px;
  max-width: 1320px;
  margin: 0 auto;
}
.site-brand {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--bone);
  padding-right: 12px;
  border-right: 1px solid var(--rule);
  text-shadow: 0 0 14px rgba(240, 180, 106, 0.18);
  white-space: nowrap;
}
.header-tagline {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--cold);
  white-space: nowrap;
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cold);
  white-space: nowrap;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(47, 74, 60, 0.18);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--lamp);
  border-color: rgba(240, 180, 106, 0.5);
  background: rgba(138, 74, 44, 0.22);
}
a[data-contract="site-name"] {
  color: var(--bone);
  text-decoration: none;
}
a[data-contract="site-name"]:hover { color: var(--lamp); }
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 18px;
}
.hero-well {
  position: relative;
  padding-top: 14px;
}
.hero-media-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(141, 154, 148, 0.16);
  border-radius: 3px;
  background: #050908;
  isolation: isolate;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) brightness(0.72) contrast(1.06);
}
.hero-mist-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 55% at 50% 42%, rgba(13, 21, 18, 0) 0%, rgba(13, 21, 18, 0.55) 68%, rgba(8, 13, 11, 0.92) 100%),
    linear-gradient(180deg, rgba(8, 13, 11, 0.35) 0%, rgba(8, 13, 11, 0) 22%, rgba(8, 13, 11, 0.72) 100%);
}
.hero-warmlamp {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 34%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(240, 180, 106, 0.42) 0%, rgba(240, 180, 106, 0.12) 34%, rgba(240, 180, 106, 0) 68%);
  mix-blend-mode: screen;
}
.hero-waterline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26%;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(63, 99, 80, 0.16) 0 1px, rgba(63, 99, 80, 0) 1px 7px),
    linear-gradient(180deg, rgba(11, 18, 15, 0) 0%, rgba(11, 18, 15, 0.85) 100%);
}
.hero-title-panel {
  position: relative;
  margin-top: -82px;
  padding: 0 4px;
  z-index: 3;
  pointer-events: none;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(38px, 8.4vw, 104px);
  line-height: 0.96;
  letter-spacing: 0.06em;
  color: #e6e9e0;
  text-shadow:
    0 2px 0 rgba(13, 21, 18, 0.9),
    0 0 26px rgba(13, 21, 18, 0.95),
    0 0 60px rgba(47, 74, 60, 0.6);
}
.hero-tagline {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(12px, 1.7vw, 17px);
  letter-spacing: 0.42em;
  color: var(--cold);
  text-shadow: 0 0 18px rgba(8, 13, 11, 0.9);
}
.player-shell {
  margin-top: 18px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: linear-gradient(180deg, #101a16, #0b120f);
  padding: 8px;
}
.player-frame {
  display: block;
  width: 100%;
  background: #040706;
  border-radius: 2px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.player-btn {
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
  background: rgba(47, 74, 60, 0.22);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 5px 9px;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.player-btn:hover, .player-btn:focus-visible {
  color: var(--lamp);
  border-color: rgba(240, 180, 106, 0.55);
  background: rgba(138, 74, 44, 0.24);
}
.player-btn.is-playing, .player-btn.is-active {
  color: var(--lamp);
  border-color: rgba(240, 180, 106, 0.7);
  box-shadow: inset 0 0 12px rgba(240, 180, 106, 0.18);
}
.player-btn.is-muted {
  color: var(--rust-hi);
  border-color: rgba(176, 106, 63, 0.6);
}
.player-progress {
  flex: 1 1 220px;
  min-width: 140px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--moss-hi), var(--rust));
  border-radius: 3px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lamp);
  box-shadow: 0 0 10px var(--lamp-glow);
  border: none;
}
.player-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--lamp);
}
.player-volume {
  flex: 0 1 96px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--moss);
  border-radius: 3px;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cold);
  border: none;
}
.player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--cold);
}
.player-speed {
  font-size: 12px;
  padding: 4px 6px;
  background: rgba(47, 74, 60, 0.22);
  color: var(--bone-dim);
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
}
.player-shell.lights-dim {
  background: linear-gradient(180deg, #060a08, #050807);
  box-shadow: 0 0 0 1px rgba(240, 180, 106, 0.24) inset;
}
.player-shell.lights-dim .player-frame {
  filter: brightness(0.72) saturate(1.1) contrast(1.05);
}
.player-shell.theater-mode {
  background: #050807;
  box-shadow: 0 0 0 1px rgba(240, 180, 106, 0.3) inset, 0 0 60px rgba(240, 180, 106, 0.08) inset;
}
.player-shell.theater-mode .player-frame {
  filter: brightness(0.9) contrast(1.08);
}
.hero-seo {
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.78;
  color: var(--bone-dim);
  background: rgba(22, 35, 30, 0.62);
  border-left: 3px solid var(--rust);
  border-radius: 0 2px 2px 0;
}
.detail-strip {
  margin-top: 12px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(27, 42, 36, 0.8), rgba(18, 29, 25, 0.8));
  border: 1px solid var(--rule);
  border-radius: 3px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 6px 14px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(141, 154, 148, 0.14);
}
.detail-key {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cold-2);
  white-space: nowrap;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: var(--bone);
  letter-spacing: 0.02em;
}
.episode-status {
  margin-top: 10px;
}
.status-line {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--lamp);
  background: rgba(138, 74, 44, 0.24);
  border: 1px solid rgba(240, 180, 106, 0.32);
  border-radius: 2px;
  padding: 6px 12px;
}
.section-heading {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.18em;
  color: #dfe4da;
  padding-left: 12px;
  border-left: 3px solid var(--rust);
  margin-bottom: 10px;
}
.synopsis-block {
  margin-top: 16px;
}
.synopsis-paragraphs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
}
.synopsis-text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--bone-dim);
  padding-left: 10px;
  border-left: 1px solid rgba(141, 154, 148, 0.16);
}
.cast-block {
  margin-top: 16px;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 8px 10px;
  background: rgba(22, 35, 30, 0.55);
  border: 1px solid var(--rule);
  border-radius: 3px;
}
.cast-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 5px;
  background:
    radial-gradient(circle at 34% 30%, rgba(240, 180, 106, 0.42), rgba(240, 180, 106, 0) 58%),
    linear-gradient(150deg, #2f4a3c, #16231e 62%, #0d1512);
  border: 1px solid rgba(141, 154, 148, 0.28);
  box-shadow: inset 0 0 12px rgba(8, 13, 11, 0.8);
}
.cast-name {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--bone);
}
.cast-role {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--cold-2);
}
.timeline-section {
  margin-top: 20px;
  padding-bottom: 4px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(178px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--moss-hi) transparent;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 26px;
  height: 2px;
  background: linear-gradient(90deg, rgba(47, 74, 60, 0.9), rgba(138, 74, 44, 0.75));
  z-index: 0;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: rgba(47, 74, 60, 0.16); }
.timeline-track::-webkit-scrollbar-thumb { background: var(--moss-hi); border-radius: 3px; }
.timeline-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 4px;
  min-width: 0;
}
.timeline-timecode {
  display: inline-block;
  align-self: flex-start;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--lamp);
  background: rgba(8, 13, 11, 0.92);
  border: 1px solid rgba(240, 180, 106, 0.4);
  border-radius: 2px;
  padding: 6px 3px;
  line-height: 1;
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 34px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rust-hi);
  box-shadow: 0 0 10px rgba(176, 106, 63, 0.7);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--bone-dim);
  padding-top: 2px;
}
.episodes-section {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 8px;
  row-gap: 2px;
  align-content: start;
  padding: 8px 10px 9px;
  background: rgba(18, 29, 25, 0.72);
  border: 1px solid var(--rule);
  border-left: 2px solid rgba(138, 74, 44, 0.55);
  border-radius: 2px;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.episode-card:hover {
  border-color: rgba(240, 180, 106, 0.45);
  border-left-color: var(--lamp);
  background: rgba(27, 42, 36, 0.8);
}
.episode-number {
  grid-row: 1 / span 3;
  grid-column: 1;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--moss-hi);
  letter-spacing: 0.02em;
  min-width: 1.6em;
  text-align: right;
}
.episode-title {
  grid-column: 2;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--bone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  grid-column: 2;
  font-size: 12px;
  line-height: 1.6;
  color: var(--cold-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  grid-column: 2;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--rust-hi);
}
.comments-section {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.comments-wall {
  column-count: 2;
  column-gap: 10px;
}
.comment-note {
  break-inside: avoid;
  margin-bottom: 10px;
  padding: 9px 11px 10px;
  background: linear-gradient(160deg, rgba(27, 42, 36, 0.9), rgba(18, 29, 25, 0.86));
  border: 1px solid var(--rule);
  border-radius: 2px;
  box-shadow: 2px 3px 0 rgba(8, 13, 11, 0.55);
}
.comment-note:nth-child(odd) { transform: rotate(-0.35deg); }
.comment-note:nth-child(even) { transform: rotate(0.4deg); }
.comment-note:nth-child(3n) { border-top: 2px solid rgba(176, 106, 63, 0.5); }
.comment-note:nth-child(4n) { border-top: 2px solid rgba(63, 99, 80, 0.6); }
.comment-nickname {
  display: block;
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--lamp);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--bone-dim);
}
.recommend-region {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.recommend-cassette {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.recommend-entry {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  padding: 8px;
  background: rgba(18, 29, 25, 0.78);
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--bone);
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
a[data-runtime="recommendation"]:hover, a[data-runtime="recommendation"]:focus-visible {
  border-color: rgba(240, 180, 106, 0.5);
  background: rgba(27, 42, 36, 0.92);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: #050908;
  filter: saturate(0.78) brightness(0.86);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--serif);
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: var(--bone);
  display: block;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.62;
  color: var(--cold-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.main-breather {
  height: 64px;
}
.site-footer {
  margin-top: 8px;
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(13, 21, 18, 0.9), #080d0b);
}
.footer-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 18px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--cold-2);
  max-width: 78ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(141, 154, 148, 0.28);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--lamp);
  border-bottom-color: rgba(240, 180, 106, 0.6);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--cold);
  padding-right: 10px;
  border-right: 1px solid var(--rule);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--cold-2);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 6px;
  border: 1px solid rgba(141, 154, 148, 0.16);
  border-radius: 2px;
}
a.runtime-friend-link:hover {
  color: var(--lamp);
  border-color: rgba(240, 180, 106, 0.4);
  text-decoration: none;
}
.footer-sign {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--moss-hi);
  padding-top: 4px;
}
@media (max-width: 1000px) {.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-cassette { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.synopsis-paragraphs { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 760px) {.header-shell { padding: 8px 14px; gap: 10px; }
.site-brand { font-size: 18px; padding-right: 10px; }
.header-tagline { font-size: 11px; letter-spacing: 0.24em; }
.page-main { padding: 0 14px; }
.hero-title-panel { margin-top: -54px; }
.hero-title { font-size: clamp(30px, 11vw, 52px); }
.hero-tagline { letter-spacing: 0.28em; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.recommend-cassette { grid-template-columns: minmax(0, 1fr); }
.comments-wall { column-count: 1; }
.cast-strip { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.detail-list { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
.timeline-track { grid-auto-columns: minmax(150px, 1fr); }
.main-breather { height: 40px; }
.footer-shell { padding: 18px 14px 26px; }}
@media (max-width: 480px) {.hero-title-panel { margin-top: -40px; }
.hero-seo { font-size: 12.5px; }
.section-heading { font-size: 16.5px; letter-spacing: 0.14em; }
.episode-number { font-size: 22px; }
.player-progress { flex-basis: 100%; }
.player-volume { flex-basis: 72px; }
.cast-strip { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.timeline-track { grid-auto-columns: minmax(132px, 1fr); }}
@media (prefers-reduced-motion: reduce) {html { scroll-behavior: auto; }
a[data-runtime="recommendation"], .player-btn, .episode-card, a.runtime-category { transition: none; }
.comment-note:nth-child(odd), .comment-note:nth-child(even) { transform: none; }}

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}
