*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, figure, figcaption, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul { list-style: none; }
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
:root {
  --ink-deep: #0b1020;
  --ink-mid: #131a2e;
  --ink-soft: #1c2438;
  --line: rgba(226, 214, 190, 0.16);
  --warm-white: #f3ede2;
  --warm-dim: #c9c2b4;
  --gold: #e3b872;
  --gold-soft: rgba(227, 184, 114, 0.14);
  --petal: #e79ab4;
  --petal-soft: rgba(231, 154, 180, 0.16);
  --cool-blue: #6d8fc7;
  --radius-sm: 4px;
  --radius-md: 8px;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Consolas", "Menlo", monospace;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--warm-white);
  background:
    radial-gradient(1200px 620px at 78% -8%, rgba(231, 154, 180, 0.10), transparent 62%),
    radial-gradient(900px 520px at 8% 4%, rgba(109, 143, 199, 0.16), transparent 60%),
    linear-gradient(168deg, #101a34 0%, #0d1426 42%, #15171c 100%);
  background-attachment: fixed;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(11, 16, 32, 0.94), rgba(11, 16, 32, 0.78));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: none;
  text-shadow: 0 0 18px rgba(227, 184, 114, 0.28);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--petal);
}
.categories-container {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  color: var(--warm-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
a.runtime-category:hover {
  color: var(--ink-deep);
  background: var(--gold);
  border-color: var(--gold);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.page-main.lights-dim {
  filter: brightness(0.68) saturate(0.85);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 22px 26px;
  align-items: start;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.hero-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0a0f1e;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(227, 184, 114, 0.14);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(109, 143, 199, 0.20) 0%, transparent 34%),
    linear-gradient(0deg, rgba(11, 16, 32, 0.86) 0%, transparent 46%);
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.hero-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.03em;
  color: var(--warm-white);
}
.hero-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--petal), rgba(231, 154, 180, 0));
}
.hero-tagline {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.hero-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--warm-dim);
  word-break: break-all;
}
.hero-player-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #05080f;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--line);
  transition: box-shadow 0.25s ease;
}
.hero-player-wrap.theater-mode {
  box-shadow: 0 0 0 1px var(--gold), 0 18px 42px rgba(227, 184, 114, 0.16);
}
.main-player {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(19, 26, 46, 0.96), rgba(11, 16, 32, 0.98));
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  padding: 4px 10px;
  font-size: 12px;
  color: var(--warm-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.ctrl-btn:hover {
  color: var(--gold);
  border-color: rgba(227, 184, 114, 0.5);
  background: var(--gold-soft);
}
.ctrl-btn.is-playing, .ctrl-btn.is-active {
  color: var(--ink-deep);
  background: var(--gold);
  border-color: var(--gold);
}
.ctrl-btn.is-muted {
  color: var(--ink-deep);
  background: var(--petal);
  border-color: var(--petal);
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 0;
  height: 4px;
  appearance: none;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--petal);
  box-shadow: 0 0 8px rgba(231, 154, 180, 0.7);
}
.ctrl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--petal);
}
.ctrl-volume {
  flex: 0 1 82px;
  min-width: 56px;
  height: 4px;
  appearance: none;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cool-blue);
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--cool-blue);
}
.ctrl-speed {
  padding: 4px 6px;
  font-size: 12px;
  color: var(--warm-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.ctrl-speed option {
  color: #111;
}
.cast-block {
  margin-top: 4px;
}
.cast-heading {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 9px;
}
.cast-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 184, 114, 0.4) transparent;
}
.cast-scroll::-webkit-scrollbar { height: 6px; }
.cast-scroll::-webkit-scrollbar-thumb {
  background: rgba(227, 184, 114, 0.35);
  border-radius: 999px;
}
.cast-card {
  position: relative;
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(231, 154, 180, 0.42), transparent 58%),
    linear-gradient(150deg, #253451, #131a2e);
  border: 1px solid rgba(227, 184, 114, 0.3);
  box-shadow: inset 0 0 22px rgba(11, 16, 32, 0.7);
}
.cast-name {
  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
  font-size: 10px;
  line-height: 1.1;
  color: var(--warm-white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}
.synopsis-block {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.synopsis-heading {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 6px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--warm-dim);
  text-align: justify;
}
.synopsis-para + .synopsis-para {
  margin-top: 5px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.status-total, .status-current, .status-state {
  font-size: 11.5px;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--warm-dim);
}
.status-total { color: var(--cool-blue); border-color: rgba(109, 143, 199, 0.44); }
.status-current { color: var(--gold); border-color: rgba(227, 184, 114, 0.44); }
.status-state { color: var(--petal); border-color: rgba(231, 154, 180, 0.44); }
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(226, 214, 190, 0.12);
  font-size: 12px;
}
.detail-key {
  flex: 0 0 auto;
  min-width: 52px;
  color: var(--warm-dim);
  opacity: 0.82;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--warm-white);
  overflow-wrap: anywhere;
}
.section-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.section-heading {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--warm-white);
  position: relative;
  padding-left: 13px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 4px;
  height: 0.9em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--petal), var(--gold));
}
.section-count {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
}
.timeline-section {
  padding-top: 2px;
}
.timeline-list {
  position: relative;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  bottom: 5px;
  width: 1px;
  background: linear-gradient(180deg, rgba(227, 184, 114, 0.55), rgba(109, 143, 199, 0.35) 55%, rgba(231, 154, 180, 0.4));
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid rgba(226, 214, 190, 0.08);
}
.timeline-node:last-child { border-bottom: 0; }
.timeline-icon {
  position: absolute;
  left: -20px;
  top: 11px;
  width: 11px;
  height: 11px;
  background: linear-gradient(140deg, var(--petal), var(--gold));
  border-radius: 62% 38% 58% 42% / 58% 60% 40% 42%;
  box-shadow: 0 0 10px rgba(231, 154, 180, 0.55);
}
.timeline-time {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--gold);
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--warm-dim);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  align-items: start;
}
.episode-card {
  position: relative;
  padding: 9px 11px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(227, 184, 114, 0.5);
  background: linear-gradient(160deg, rgba(28, 36, 56, 0.72), rgba(19, 26, 46, 0.5));
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.episode-card:hover {
  border-left-color: var(--petal);
  border-color: rgba(231, 154, 180, 0.4);
  background: linear-gradient(160deg, rgba(38, 48, 72, 0.85), rgba(19, 26, 46, 0.6));
}
.episode-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--cool-blue);
  margin-bottom: 2px;
}
.episode-title {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--warm-white);
}
.episode-summary {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--warm-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  opacity: 0;
  transition: max-height 0.24s ease, opacity 0.24s ease, margin-top 0.24s ease;
}
.episode-card:hover .episode-duration {
  max-height: 22px;
  margin-top: 5px;
  opacity: 1;
}
.comment-columns {
  column-count: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  margin-bottom: 9px;
  padding: 8px 11px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(200deg, rgba(231, 154, 180, 0.07), rgba(19, 26, 46, 0.42));
}
.comment-nickname {
  display: block;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--petal);
  margin-bottom: 2px;
}
.comment-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--warm-white);
}
.rec-region { padding-top: 2px; }
a.rec-card-portrait, a.rec-card-landscape, a[data-runtime="recommendation"] {
  color: var(--warm-white);
  text-decoration: none;
}
a.rec-card-portrait:hover, a.rec-card-landscape:hover, a[data-runtime="recommendation"]:hover {
  color: var(--gold);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #0a0f1e;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: inherit;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  display: block;
  font-size: 11px;
  line-height: 1.45;
  color: var(--warm-dim);
  opacity: 0.86;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-grid-portrait {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.rec-card-portrait {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 6px 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28, 36, 56, 0.6), rgba(13, 20, 38, 0.5));
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
a.rec-card-portrait:hover {
  border-color: rgba(231, 154, 180, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}
a.rec-card-portrait img {
  aspect-ratio: 2 / 3;
}
.rec-grid-landscape {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.rec-card-landscape {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 9px;
  align-items: start;
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(28, 36, 56, 0.62), rgba(13, 20, 38, 0.5));
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
a.rec-card-landscape:hover {
  border-color: rgba(227, 184, 114, 0.5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.42);
}
a.rec-card-landscape img {
  grid-row: 1 / span 2;
  aspect-ratio: 16 / 10;
  align-self: start;
  height: auto;
}
.rec-list-compact {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.rec-item-compact > a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  padding: 5px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(19, 26, 46, 0.46);
  transition: border-color 0.16s ease, background 0.16s ease;
}
.rec-item-compact > a:hover {
  border-color: rgba(109, 143, 199, 0.5);
  background: rgba(28, 36, 56, 0.7);
}
.rec-item-compact > a img {
  grid-row: 1 / span 2;
  width: 46px;
  height: 62px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.rec-item-compact [data-runtime="blurb"] {
  -webkit-line-clamp: 1;
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 16px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--warm-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold);
  border-bottom-color: rgba(227, 184, 114, 0.6);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
}
.friend-links-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.9;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--warm-dim);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px dotted rgba(226, 214, 190, 0.28);
}
a.runtime-friend-link:hover {
  color: var(--petal);
  border-bottom-color: var(--petal);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--warm-dim);
  opacity: 0.66;
  max-width: 70ch;
}
@media (max-width: 1080px) {.rec-list-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 920px) {.hero {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-grid-portrait {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-grid-landscape {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.page-main {
    gap: 20px;
    padding: 14px 13px 6px;
  }
.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-bottom: 20px;
  }
.hero-visual {
    max-width: 240px;
  }
.hero-title { font-size: 22px; }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    column-count: 1;
  }
.rec-grid-portrait {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-grid-landscape, .rec-list-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node {
    grid-template-columns: minmax(0, 1fr);
  }
.footer-disclaimer { max-width: none; }}
@media (max-width: 520px) {body { font-size: 13.5px; }
.header-bar { padding: 7px 12px; gap: 8px; }
a[data-contract="site-name"] { font-size: 17px; }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid-portrait, .rec-grid-landscape, .rec-list-compact {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-list-compact {
    gap: 6px;
  }
.hero-visual { max-width: 200px; }
.section-heading { font-size: 16px; }
.ctrl-btn { padding: 4px 8px; }}

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}
