*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink: #221a14;
  --ink-soft: #4a3b2f;
  --paper: #f4ede1;
  --paper-2: #ece1cf;
  --wall: #23302a;
  --wall-2: #1a241f;
  --ember: #d4572a;
  --ember-deep: #a83a17;
  --wood: #7a4f2c;
  --wood-light: #b98a58;
  --cream: #fbf6ec;
  --line: rgba(122, 79, 44, 0.28);
  --line-soft: rgba(122, 79, 44, 0.16);
  --mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  --serif: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --hand: "Kaiti SC", "KaiTi", "STKaiti", "Xingkai SC", cursive, var(--serif);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
}
html, body {
  background: var(--paper);
}
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  overflow-x: hidden;
}
body.lights-off {
  background-color: #120c09;
}
body.lights-off .page-main {
  filter: brightness(0.72) saturate(0.88);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, var(--wall) 0%, var(--wall-2) 100%);
  border-bottom: 2px solid var(--ember-deep);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  font-family: var(--hand);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cream);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  transition: color 0.18s ease;
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus-visible {
  color: var(--ember);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 11px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #f0d9c4;
  background: rgba(212, 87, 42, 0.16);
  border: 1px solid rgba(212, 87, 42, 0.55);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #fff4e8;
  background: rgba(212, 87, 42, 0.42);
  border-color: var(--ember);
}
.page-main {
  display: block;
  width: 100%;
  background: var(--paper);
}
.block-title {
  font-family: var(--hand);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ember-deep);
  padding-left: 10px;
  margin-bottom: 9px;
  border-left: 4px solid var(--ember);
  line-height: 1.3;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  gap: 0;
  background: linear-gradient(180deg, var(--wall) 0%, #2c3a32 62%, #37453c 100%);
}
.hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 14px 14px 16px;
  min-width: 0;
}
.poster-frame {
  position: relative;
  width: 100%;
  max-width: 260px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  border: 2px solid rgba(212, 87, 42, 0.5);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  background: #0f0c0a;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.player-frame {
  position: relative;
  width: 100%;
  min-width: 0;
  border-radius: var(--radius);
  border: 2px solid rgba(122, 79, 44, 0.85);
  overflow: hidden;
  background: #0d0a08;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}
.player-frame video {
  display: block;
  width: 100%;
  background: #000;
}
.player-frame.is-theater {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(212, 87, 42, 0.3), 0 12px 30px rgba(0, 0, 0, 0.6);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #2a211a 0%, #1d1712 100%);
  border-top: 1px solid rgba(212, 87, 42, 0.35);
}
.pc-btn {
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.5;
  padding: 3px 9px;
  color: #f2e2d2;
  background: rgba(122, 79, 44, 0.5);
  border: 1px solid rgba(185, 138, 88, 0.55);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.pc-btn:hover, .pc-btn:focus-visible {
  background: rgba(212, 87, 42, 0.62);
  border-color: var(--ember);
  color: #fff6ec;
}
.pc-btn.is-active, .pc-btn.is-playing {
  background: var(--ember);
  border-color: #ffb27d;
  color: #fff8f0;
}
.pc-btn.is-muted {
  color: #9c8b7c;
  border-color: rgba(156, 139, 124, 0.5);
  background: rgba(40, 33, 27, 0.7);
}
.pc-field {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 1 auto;
  min-width: 0;
}
.pc-label {
  font-size: 11px;
  color: #c9b49f;
  white-space: nowrap;
}
.pc-progress {
  flex: 1 1 140px;
  min-width: 110px;
}
.pc-volume {
  flex: 0 1 110px;
  min-width: 80px;
}
.pc-progress input, .pc-volume input {
  width: 100%;
  min-width: 0;
  height: 4px;
  accent-color: var(--ember);
  cursor: pointer;
}
.pc-speed select {
  font-size: 11px;
  padding: 2px 4px;
  color: #f2e2d2;
  background: #2a211a;
  border: 1px solid rgba(185, 138, 88, 0.55);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.pc-speed select.is-boosted {
  border-color: var(--ember);
  color: #ffcba4;
}
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px 16px 18px 4px;
}
.movie-title {
  font-family: var(--hand);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.05em;
  color: var(--cream);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}
.movie-tagline {
  font-family: var(--hand);
  font-size: 14px;
  line-height: 1.4;
  color: #f0b98d;
  padding-left: 10px;
  border-left: 3px solid rgba(212, 87, 42, 0.75);
}
.movie-seo {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.62;
  color: #cfc2b2;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 7px 10px;
  background: rgba(15, 12, 10, 0.4);
  border: 1px solid rgba(212, 87, 42, 0.4);
  border-radius: var(--radius-sm);
}
.status-item {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.status-total {
  color: #d8c7b4;
}
.status-current {
  color: #ffb27d;
}
.status-current::before {
  content: "▍";
  color: var(--ember);
  margin-right: 3px;
}
.cast-block {
  margin-top: 2px;
}
.cast-block .block-title {
  color: #ffb27d;
  border-left-color: var(--ember);
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-self: start;
  padding: 5px 8px;
  background: rgba(15, 12, 10, 0.34);
  border: 1px solid rgba(185, 138, 88, 0.32);
  border-radius: var(--radius-sm);
  min-width: 0;
}
.cast-name {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  color: #f3e6d6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 10.5px;
  line-height: 1.3;
  color: #a89684;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  margin-top: 2px;
}
.synopsis-block .block-title {
  color: #ffb27d;
  border-left-color: var(--ember);
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 2px;
}
.synopsis-para {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.66;
  color: #c6b8a8;
  text-align: justify;
}
.details-block {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(185, 138, 88, 0.28);
}
.details-block .block-title {
  color: #ffb27d;
  border-left-color: var(--ember);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding: 2px 0;
  border-bottom: 1px dashed rgba(185, 138, 88, 0.22);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: #9c8b7c;
  letter-spacing: 0.04em;
}
.detail-key::after {
  content: "·";
  margin-left: 4px;
  color: rgba(185, 138, 88, 0.6);
}
.detail-value {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #e3d5c4;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  position: relative;
  padding: 18px 16px 20px;
  background: linear-gradient(180deg, #37453c 0%, #5a5f4d 100%);
}
.timeline-section .block-title {
  color: #ffc59a;
  border-left-color: var(--ember);
}
.timeline-track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--ember) rgba(0, 0, 0, 0.2);
  -webkit-overflow-scrolling: touch;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: rgba(212, 87, 42, 0.75);
  border-radius: 999px;
}
.timeline-node {
  position: relative;
  flex: 1 0 auto;
  min-width: 156px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: flex-start;
  padding: 9px 14px 10px 22px;
  background: rgba(20, 26, 22, 0.42);
  border: 1px solid rgba(185, 138, 88, 0.4);
  border-radius: var(--radius);
  margin-right: 10px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 3px rgba(212, 87, 42, 0.22);
}
.timeline-node::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: rgba(185, 138, 88, 0.55);
}
.timeline-node:last-child {
  margin-right: 0;
}
.timeline-node:last-child::after {
  display: none;
}
.node-code {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #ffb27d;
}
.node-label {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.4;
  color: #efe4d6;
}
.episodes-section {
  padding: 20px 16px 22px;
  background: var(--paper);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px 10px;
}
.episode-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  padding: 6px 9px;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-left: 3px solid rgba(122, 79, 44, 0.45);
  border-radius: var(--radius-sm);
  min-width: 0;
}
.episode-row-active {
  background: #fff2e2;
  border-color: rgba(212, 87, 42, 0.5);
  border-left-color: var(--ember);
  box-shadow: inset 0 0 0 1px rgba(212, 87, 42, 0.12);
}
.episode-no {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--wood);
  min-width: 1.4em;
  text-align: right;
}
.episode-row-active .episode-no {
  color: var(--ember);
}
.episode-body {
  min-width: 0;
}
.episode-title {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 1px;
}
.episode-summary {
  font-family: var(--serif);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.episode-duration {
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.4;
  color: #96795c;
  white-space: nowrap;
  padding-top: 2px;
}
.comments-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 8px 22px;
  padding: 20px 16px 24px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.comments-section .block-title {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-column-offset {
  margin-top: 26px;
}
.comment-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 8px 11px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(122, 79, 44, 0.08);
}
.comment-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  font-family: var(--hand);
  font-size: 15px;
  color: #fff3e6;
  background: radial-gradient(circle at 30% 25%, var(--ember) 0%, var(--ember-deep) 100%);
  border: 1px solid rgba(122, 79, 44, 0.5);
  border-radius: 50%;
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.comment-nick {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--wood);
}
.comment-text {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.rec-region {
  padding: 16px 16px 14px;
  background: var(--paper-2);
}
.rec-region-1 {
  background: var(--paper-2);
}
.rec-region-2 {
  background: #d9cdb8;
}
.rec-region-3 {
  background: linear-gradient(180deg, #2b362f 0%, var(--wall-2) 100%);
  padding-bottom: 20px;
}
.rec-title {
  font-family: var(--hand);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ember-deep);
  padding-left: 10px;
  margin-bottom: 9px;
  border-left: 4px solid var(--ember);
  line-height: 1.3;
}
.rec-region-3 .rec-title {
  color: #ffc59a;
}
.rec-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  align-items: start;
}
.rec-card {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 4px;
  padding: 6px 6px 8px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.rec-card:hover, .rec-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--ember);
  box-shadow: 0 6px 14px rgba(60, 32, 16, 0.22);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #ded2bd;
}
.rec-name {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-blurb {
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.5;
  color: #7c6a58;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-region-3 .rec-card {
  background: #f2e9db;
  border-color: rgba(212, 87, 42, 0.35);
}
.rec-region-3 .rec-name {
  color: #3a2a1e;
}
.site-footer {
  background: linear-gradient(180deg, var(--wall-2) 0%, #0f1613 100%);
  border-top: 2px solid var(--ember-deep);
  padding: 16px 16px 20px;
  color: #b6a795;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--serif);
  font-size: 13px;
  color: #d8c7b4;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--ember);
  border-bottom-color: var(--ember);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(185, 138, 88, 0.22);
}
.friend-label {
  font-family: var(--hand);
  font-size: 12px;
  color: #9c8b7c;
  margin-right: 2px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #c9b49f;
  text-decoration: none;
  padding: 1px 7px;
  border: 1px solid rgba(185, 138, 88, 0.28);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: #ffd7b3;
  border-color: var(--ember);
  background: rgba(212, 87, 42, 0.18);
}
.footer-disclaimer {
  font-family: var(--serif);
  font-size: 11.5px;
  line-height: 1.6;
  color: #8d7f70;
  max-width: 74ch;
}
@media (max-width: 1024px) {.hero {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-media {
    padding: 14px 16px 12px;
  }
.hero-copy {
    padding: 4px 16px 18px;
  }
.poster-frame {
    max-width: 220px;
  }
.episode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px) {body {
    font-size: 14px;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    min-width: 140px;
  }
.comments-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.comment-column-offset {
    margin-top: 0;
  }
.rec-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 560px) {.header-bar {
    padding: 7px 12px;
  }
a[data-contract="site-name"] {
    font-size: 18px;
  }
.movie-title {
    font-size: 21px;
  }
.hero-media {
    padding: 12px 12px 10px;
  }
.hero-copy {
    padding: 2px 12px 16px;
  }
.poster-frame {
    max-width: 180px;
  }
.pc-btn {
    font-size: 11px;
    padding: 3px 8px;
  }
.pc-progress {
    flex: 1 1 100%;
  }
.timeline-section, .episodes-section, .comments-section, .rec-region {
    padding-left: 12px;
    padding-right: 12px;
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.site-footer {
    padding: 14px 12px 18px;
  }}
@media (max-width: 380px) {.cast-grid {
    grid-template-columns: minmax(0, 1fr);
  }}

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}
