:root {
  --paris-blue: #6b7d92;
  --paris-blue-deep: #4a5a6e;
  --paris-blue-ink: #2c3745;
  --warm-gray: #a89f94;
  --warm-gray-light: #cfc7bc;
  --warm-gray-pale: #e8e3da;
  --faded-red: #a4553f;
  --faded-red-soft: #c07a62;
  --attic-dark: #1d232b;
  --attic-mid: #2a323c;
  --attic-panel: #333c48;
  --attic-line: #4d5866;
  --paper: #e6e0d5;
  --paper-warm: #ddd5c7;
  --text-main: #d0cabd;
  --text-dim: #9a948a;
  --text-muted: #7a746a;
  --serif: Georgia, "Songti SC", "SimSun", "Noto Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --radius-sm: 3px;
  --radius-md: 5px;
  --gap-tight: 10px;
  --gap-mid: 16px;
  --gap-section: 34px;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--attic-dark);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(107, 125, 146, 0.16), transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(164, 85, 63, 0.08), transparent 45%);
  color: var(--text-main);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
ul {
  list-style: none;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.3;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(29, 35, 43, 0.94);
  border-bottom: 1px solid var(--attic-line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
  text-decoration: none;
  padding-right: 16px;
  border-right: 1px solid var(--attic-line);
}
a[data-contract="site-name"]:hover {
  color: var(--faded-red-soft);
}
.category-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  color: var(--warm-gray);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--paper);
  border-color: var(--attic-line);
  background: rgba(107, 125, 146, 0.18);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 22px 28px;
  padding: 30px 0 var(--gap-section);
  align-items: start;
}
.hero-poster-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--attic-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  background: var(--attic-mid);
}
.hero-poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.hero-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--attic-line);
}
.hero-title {
  font-size: 27px;
  letter-spacing: 0.04em;
  color: var(--paper);
}
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--faded-red-soft);
  letter-spacing: 0.03em;
}
.seo-description {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  text-align: justify;
}
.player-wrap {
  position: relative;
  width: 100%;
  background: #10141a;
  border: 1px solid var(--attic-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.player-wrap video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  padding: 8px 10px;
  background: rgba(42, 50, 60, 0.92);
  border-top: 1px solid var(--attic-line);
}
.control-btn {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-main);
  padding: 4px 9px;
  border: 1px solid var(--attic-line);
  border-radius: var(--radius-sm);
  background: rgba(107, 125, 146, 0.12);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.control-btn:hover {
  background: rgba(164, 85, 63, 0.32);
  border-color: var(--faded-red);
  color: var(--paper);
}
.control-play {
  font-weight: 700;
  color: var(--paper);
  background: rgba(164, 85, 63, 0.42);
  border-color: var(--faded-red);
}
.control-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--attic-line);
  outline: none;
  cursor: pointer;
}
.control-progress {
  flex: 2 1 140px;
  min-width: 90px;
}
.control-volume {
  flex: 0 1 80px;
  min-width: 60px;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--faded-red-soft);
  border: none;
  cursor: pointer;
}
.control-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--faded-red-soft);
  border: none;
  cursor: pointer;
}
.control-select {
  font-size: 11.5px;
  padding: 4px 6px;
  color: var(--text-main);
  background: rgba(107, 125, 146, 0.12);
  border: 1px solid var(--attic-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.control-select option {
  background: var(--attic-mid);
  color: var(--text-main);
}
body.lights-off {
  background: #05070a;
}
body.lights-off .hero-section, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .recommend-region {
  opacity: 0.06;
  transition: opacity 0.4s;
}
body.theater-mode .hero-poster-wrap {
  display: none;
}
body.theater-mode .hero-section {
  grid-template-columns: minmax(0, 1fr);
}
.episode-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 7px 12px;
  background: rgba(107, 125, 146, 0.14);
  border-left: 3px solid var(--faded-red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.status-current {
  color: var(--paper);
  font-weight: 700;
}
.status-sep {
  color: var(--text-muted);
}
.status-total {
  color: var(--text-dim);
}
.status-progress {
  margin-left: auto;
  font-size: 11px;
  color: var(--faded-red-soft);
  border: 1px solid rgba(164, 85, 63, 0.5);
  border-radius: var(--radius-sm);
  padding: 1px 7px;
}
.cast-panel {
  border-top: 1px solid var(--attic-line);
  padding-top: 12px;
}
.cast-heading {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--warm-gray);
  margin-bottom: 9px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 8px 10px;
}
.cast-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  padding: 6px 8px;
  background: rgba(51, 60, 72, 0.5);
  border: 1px solid rgba(77, 88, 102, 0.7);
  border-radius: var(--radius-sm);
}
.cast-avatar {
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--paris-blue), var(--attic-panel));
  border: 1px solid var(--attic-line);
  display: block;
}
.cast-name {
  font-family: var(--serif);
  font-size: 12.5px;
  color: var(--paper);
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cast-role {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.synopsis-panel {
  border-top: 1px solid var(--attic-line);
  padding-top: 12px;
}
.synopsis-heading {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--warm-gray);
  margin-bottom: 8px;
}
.synopsis-paragraph {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.78;
  color: var(--text-dim);
  text-align: justify;
  margin-bottom: 8px;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.details-panel {
  border-top: 1px solid var(--attic-line);
  padding-top: 12px;
}
.details-heading {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--warm-gray);
  margin-bottom: 8px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0 18px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(77, 88, 102, 0.55);
  font-size: 12px;
}
.detail-key {
  flex: 0 0 auto;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  min-width: 52px;
}
.detail-value {
  color: var(--text-main);
  font-family: var(--serif);
}
.section-heading {
  font-size: 17px;
  letter-spacing: 0.1em;
  color: var(--paper);
  padding-left: 11px;
  border-left: 3px solid var(--faded-red);
  margin-bottom: 14px;
}
.timeline-section, .episodes-section, .comments-section {
  padding-bottom: var(--gap-section);
}
.timeline-scroller {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.timeline-scroller::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroller::-webkit-scrollbar-track {
  background: rgba(77, 88, 102, 0.3);
  border-radius: 3px;
}
.timeline-scroller::-webkit-scrollbar-thumb {
  background: var(--paris-blue);
  border-radius: 3px;
}
.timeline-card {
  flex: 0 0 208px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 11px 13px 13px;
  background: linear-gradient(160deg, rgba(51, 60, 72, 0.9), rgba(42, 50, 60, 0.9));
  border: 1px solid var(--attic-line);
  border-radius: var(--radius-sm);
  position: relative;
}
.timeline-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--faded-red), transparent);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.timeline-timecode {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--faded-red-soft);
}
.timeline-quote {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 9px;
  row-gap: 3px;
  align-items: baseline;
  padding: 8px 11px;
  background: rgba(42, 50, 60, 0.55);
  border: 1px solid rgba(77, 88, 102, 0.5);
  border-radius: var(--radius-sm);
  opacity: 0.66;
  transition: opacity 0.18s, border-color 0.18s, background 0.18s;
}
.episode-card:hover {
  opacity: 0.92;
  border-color: var(--paris-blue);
}
.episode-number {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
}
.episode-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 13.5px;
  color: var(--text-main);
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  grid-column: 3;
  grid-row: 1;
  font-size: 10.5px;
  color: var(--text-muted);
  white-space: nowrap;
}
.episode-summary {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.episode-current {
  opacity: 1;
  background: rgba(107, 125, 146, 0.24);
  border-color: var(--faded-red);
  box-shadow: 0 0 0 1px rgba(164, 85, 63, 0.35), 0 4px 14px rgba(0, 0, 0, 0.35);
}
.episode-current .episode-number {
  color: var(--faded-red-soft);
  font-weight: 700;
}
.episode-current .episode-title {
  color: var(--paper);
  font-weight: 700;
}
.episode-current .episode-summary {
  color: var(--text-dim);
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 12px;
  padding: 4px 6px;
}
.comment-note {
  position: relative;
  padding: 13px 14px 11px;
  background: var(--paper-warm);
  color: #3a352d;
  border-radius: 2px;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.42);
  transform: rotate(-0.7deg);
  transition: transform 0.2s, box-shadow 0.2s;
}
.comment-note:nth-child(2n) {
  transform: rotate(0.9deg);
  background: var(--paper);
}
.comment-note:nth-child(3n) {
  transform: rotate(-0.4deg) translateY(3px);
}
.comment-note:nth-child(4n) {
  transform: rotate(1.1deg);
}
.comment-note:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 3px 6px 16px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.comment-note::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 44px;
  height: 11px;
  background: rgba(164, 85, 63, 0.32);
  border: 1px solid rgba(164, 85, 63, 0.24);
}
.comment-text {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.65;
  color: #332e27;
  margin-bottom: 7px;
}
.comment-nickname {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: #7d6f5c;
  text-align: right;
  border-top: 1px dashed rgba(125, 111, 92, 0.4);
  padding-top: 4px;
}
.recommend-region {
  padding-bottom: var(--gap-section);
}
.recommend-heading {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--warm-gray);
  writing-mode: vertical-rl;
  text-orientation: upright;
  height: 108px;
  margin-bottom: 10px;
  padding-left: 2px;
  border-left: 1px solid var(--attic-line);
  padding-left: 7px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 7px;
  background: rgba(42, 50, 60, 0.6);
  border: 1px solid rgba(77, 88, 102, 0.55);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
a.recommend-card:hover {
  border-color: var(--faded-red);
  background: rgba(51, 60, 72, 0.85);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  background: var(--attic-mid);
  display: block;
}
.recommend-thumb {
  width: 100%;
  object-fit: cover;
}
.recommend-name {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--paper);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.site-footer {
  background: #161b21;
  border-top: 1px solid var(--attic-line);
  padding: 20px 20px 26px;
  margin-top: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  max-width: 1280px;
  margin: 0 auto 10px;
}
a.footer-link {
  font-size: 12.5px;
  color: var(--warm-gray);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a.footer-link:hover {
  color: var(--faded-red-soft);
  border-bottom-color: var(--faded-red-soft);
}
.footer-disclaimer {
  max-width: 1280px;
  margin: 0 auto 12px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-muted);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 14px;
  max-width: 1280px;
  margin: 0 auto;
}
.friends-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding-right: 10px;
  border-right: 1px solid var(--attic-line);
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--paris-blue);
  text-decoration: none;
  border-bottom: 1px dotted rgba(107, 125, 146, 0.5);
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--faded-red-soft);
  border-bottom-color: var(--faded-red-soft);
}
@media (max-width: 860px) {.hero-section {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    gap: 18px;
  }
.hero-title {
    font-size: 23px;
  }
.recommend-heading {
    writing-mode: horizontal-tb;
    height: auto;
    border-left: 3px solid var(--faded-red);
    padding-left: 10px;
    border-top: none;
    letter-spacing: 0.1em;
  }}
@media (max-width: 680px) {.page-main {
    padding: 0 14px 30px;
  }
.header-inner {
    padding: 9px 14px;
    gap: 6px 12px;
  }
a[data-contract="site-name"] {
    font-size: 17px;
    border-right: none;
    padding-right: 0;
  }
.hero-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-top: 20px;
  }
.hero-poster-wrap {
    max-width: 200px;
  }
.hero-title {
    font-size: 21px;
  }
.hero-tagline {
    font-size: 13px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.timeline-card {
    flex: 0 0 176px;
  }
.section-heading {
    font-size: 15.5px;
    margin-bottom: 11px;
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 8px;
  }
.comments-stack {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.comment-note, .comment-note:nth-child(2n), .comment-note:nth-child(3n), .comment-note:nth-child(4n) {
    transform: rotate(0deg);
  }}
@media (max-width: 420px) {.player-controls {
    gap: 5px 6px;
    padding: 7px 8px;
  }
.control-btn {
    font-size: 11px;
    padding: 3px 7px;
  }
.control-progress {
    flex: 1 1 100%;
    order: -1;
  }
.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-card {
    grid-template-columns: auto minmax(0, 1fr);
  }
.episode-duration {
    grid-column: 1 / -1;
    grid-row: 3;
  }}

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}
