*, *::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%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:root {
  --deep-red: #4a0d12;
  --cinnabar: #a8202b;
  --dark-gold: #8a6d2f;
  --gold: #c9a24b;
  --cold-slate: #46566b;
  --ink: #1c1a18;
  --ink-soft: #3a3430;
  --paper: #ece4d6;
  --paper-dim: #ded2bd;
  --line: rgba(138, 109, 47, 0.34);
  --serif: "Songti SC", "SimSun", "Noto Serif SC", "STSong", serif;
  --kai: "Kaiti SC", "STKaiti", "KaiTi", "Noto Serif SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Arial", sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(120% 60% at 88% 0%, rgba(74, 13, 18, 0.92) 0%, rgba(28, 20, 22, 0.96) 46%, #14100f 100%),
    #14100f;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px clamp(10px, 3vw, 30px);
  background: linear-gradient(180deg, rgba(20, 12, 13, 0.96), rgba(74, 13, 18, 0.82));
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(3px);
}
.header-brand { display: flex; align-items: center; }
a[data-contract="site-name"] {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-decoration: none;
  padding: 2px 10px 2px 0;
  border-right: 1px solid var(--line);
}
a[data-contract="site-name"]:hover { color: #f0d79a; text-decoration: none; }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  justify-content: flex-end;
}
a.runtime-category {
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #d9cdb4;
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid rgba(138, 109, 47, 0.4);
  border-radius: 2px;
  background: rgba(70, 86, 107, 0.24);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: #fff2d0;
  border-color: var(--gold);
  background: rgba(168, 32, 43, 0.45);
  text-decoration: none;
}
a.runtime-category.is-active, a.runtime-category:focus-visible { color: #fff2d0; border-color: var(--gold); }
.page-main {
  display: block;
  padding: 10px clamp(10px, 3vw, 30px) 26px;
  max-width: 1280px;
  margin: 0 auto;
}
.movie-overview { margin-bottom: 16px; }
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 2.38fr);
  gap: 14px;
  align-items: start;
  position: relative;
}
.poster-shell {
  position: relative;
  align-self: start;
  width: 100%;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(74, 13, 18, 0.85), rgba(20, 14, 15, 0.9));
  padding: 5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}
.poster-shell::after {
  content: "";
  position: absolute;
  inset: 5px;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(201, 162, 75, 0.16), transparent 44%);
  mix-blend-mode: screen;
}
.main-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) sepia(0.1);
}
.overview-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px 12px;
  background:
    linear-gradient(180deg, rgba(74, 13, 18, 0.55), rgba(20, 14, 15, 0.72));
  border: 1px solid var(--line);
}
.movie-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(19px, 2.6vw, 27px);
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: #f3e3bd;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  font-family: var(--kai);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.6;
  color: #cbbfa6;
  border-left: 2px solid var(--cinnabar);
  padding-left: 8px;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #0c0908;
  border: 1px solid var(--line);
  padding: 4px;
  overflow: hidden;
}
.main-player {
  width: 100%;
  height: auto;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 6px 4px 2px;
  font-family: var(--sans);
}
.control-btn {
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border: 1px solid rgba(138, 109, 47, 0.5);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(70, 86, 107, 0.4), rgba(74, 13, 18, 0.5));
  color: #e6d9bd;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.control-btn:hover, .control-btn:focus-visible { background: rgba(168, 32, 43, 0.6); border-color: var(--gold); color: #fff3d6; }
.control-btn.play, .control-btn.is-active { background: rgba(168, 32, 43, 0.68); border-color: var(--gold); color: #fff3d6; }
.control-progress, .control-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: linear-gradient(90deg, var(--cinnabar), var(--dark-gold));
  border-radius: 2px;
  cursor: pointer;
  min-width: 0;
}
.control-progress { flex: 1 1 120px; }
.control-volume { flex: 0 1 74px; }
.control-progress::-webkit-slider-thumb, .control-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid #2a1a0e;
}
.control-progress::-moz-range-thumb, .control-volume::-moz-range-thumb {
  width: 10px; height: 10px; border: 1px solid #2a1a0e; border-radius: 50%; background: var(--gold);
}
.control-speed {
  font-size: 11px;
  padding: 2px 4px;
  background: rgba(20, 14, 15, 0.9);
  color: #e6d9bd;
  border: 1px solid rgba(138, 109, 47, 0.5);
  border-radius: 2px;
  cursor: pointer;
}
.player-shell.is-theater { border-color: var(--gold); box-shadow: 0 0 0 1px var(--dark-gold), 0 10px 30px rgba(0, 0, 0, 0.7); }
.player-shell.is-lights-off { filter: brightness(0.72) contrast(1.08); }
.player-shell.is-lights-off .main-player { box-shadow: 0 0 34px rgba(201, 162, 75, 0.22); }
.player-shell.fullscreen { width: 100%; }
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  padding: 6px 0 0;
}
.status-item {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: #e2d5ba;
  padding: 3px 9px;
  background: rgba(70, 86, 107, 0.3);
  border: 1px solid rgba(138, 109, 47, 0.36);
  border-radius: 2px;
  white-space: nowrap;
}
.detail-block { padding-top: 8px; border-top: 1px solid var(--line); }
.detail-heading, .cast-heading, .synopsis-heading {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 6px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 3px 12px;
}
.detail-row {
  display: flex;
  gap: 6px;
  align-items: baseline;
  min-width: 0;
  border-bottom: 1px dotted rgba(138, 109, 47, 0.28);
  padding: 2px 0;
}
.detail-row dt {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: #9c8f77;
  letter-spacing: 0.06em;
}
.detail-row dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: #e6d9bd;
  text-align: right;
}
.cast-block { padding-top: 8px; border-top: 1px solid var(--line); }
.cast-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}
.cast-card {
  flex: 0 0 auto;
  position: relative;
  width: 96px;
  height: 128px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background:
    linear-gradient(150deg, rgba(168, 32, 43, 0.5), rgba(28, 20, 22, 0.9) 62%),
    repeating-linear-gradient(45deg, rgba(201, 162, 75, 0.09) 0 8px, transparent 8px 16px);
  border: 1px solid rgba(138, 109, 47, 0.45);
  clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%);
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s;
}
.cast-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.cast-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 162, 75, 0.22);
  clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%);
  pointer-events: none;
}
.cast-name {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #f4e4c1;
  padding: 5px 2px;
  background: rgba(74, 13, 18, 0.9);
  border-top: 1px solid rgba(201, 162, 75, 0.4);
}
.synopsis-block { padding-top: 8px; border-top: 1px solid var(--line); }
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.65;
  color: #cec2aa;
  text-align: justify;
  margin-bottom: 5px;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.synopsis-paragraph::first-letter { color: var(--gold); }
.section-heading {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(14px, 1.8vw, 17px);
  letter-spacing: 0.2em;
  color: #f0dcae;
  margin-bottom: 8px;
  padding-left: 10px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.1em;
  width: 3px;
  background: linear-gradient(180deg, var(--cinnabar), var(--dark-gold));
}
.timeline-section { margin-bottom: 16px; }
.timeline-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px 8px;
  position: relative;
  padding-top: 16px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 4px;
  right: 4px;
  height: 1px;
  background: linear-gradient(90deg, rgba(168, 32, 43, 0.1), var(--dark-gold) 12%, var(--dark-gold) 88%, rgba(168, 32, 43, 0.1));
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 6px 6px;
  min-width: 0;
  background: rgba(28, 20, 22, 0.6);
  border: 1px solid rgba(138, 109, 47, 0.22);
  transition: border-color 0.2s, background 0.2s;
}
.timeline-node:hover, .timeline-node.is-open {
  border-color: var(--gold);
  background: rgba(74, 13, 18, 0.55);
}
.node-dot {
  position: absolute;
  top: -14px;
  left: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cinnabar);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(168, 32, 43, 0.18);
}
.timeline-node:hover .node-dot, .timeline-node.is-open .node-dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.22); }
.node-timecode {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.node-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: #d3c7ae;
  max-height: 2.9em;
  overflow: hidden;
  transition: max-height 0.25s ease, color 0.2s;
}
.timeline-node:hover .node-label, .timeline-node.is-open .node-label { max-height: 9em; color: #f2e4c5; }
.episodes-section { margin-bottom: 16px; }
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}
.episode-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 6px;
  background: rgba(28, 20, 22, 0.55);
  border: 1px solid rgba(138, 109, 47, 0.22);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.episode-item:hover, .episode-item.is-active {
  border-color: var(--gold);
  background: rgba(74, 13, 18, 0.55);
}
.episode-thumb {
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(138, 109, 47, 0.4);
  background: #0e0a0a;
}
.episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05) sepia(0.14);
}
.episode-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.episode-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #f0dcae;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: #c3b79f;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--cold-slate);
  filter: brightness(1.6);
}
.comments-section { margin-bottom: 16px; }
.comment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 10px;
  background:
    linear-gradient(160deg, rgba(236, 228, 214, 0.1), rgba(236, 228, 214, 0.03)),
    repeating-linear-gradient(90deg, rgba(236, 228, 214, 0.05) 0 2px, transparent 2px 6px),
    rgba(28, 20, 22, 0.72);
  border: 1px solid rgba(138, 109, 47, 0.28);
  backdrop-filter: blur(1px);
  transition: border-color 0.18s;
}
.comment-card:hover { border-color: var(--gold); }
.comment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 100% 0%, rgba(201, 162, 75, 0.08), transparent 55%);
}
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: #ded2ba;
  text-align: justify;
}
.comment-nickname {
  align-self: flex-end;
  font-family: var(--kai);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cinnabar);
  filter: brightness(1.7);
  border-top: 1px solid rgba(138, 109, 47, 0.3);
  padding-top: 4px;
  width: 100%;
  text-align: right;
}
.recommendation-region { margin-bottom: 14px; }
.recommendation-heading {
  font-family: var(--kai);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 7px;
  padding-left: 8px;
  border-left: 2px solid var(--cinnabar);
}
.recommendation-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
a.recommendation-card {
  flex: 1 1 168px;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  color: #d9cdb4;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(74, 13, 18, 0.42), rgba(20, 14, 15, 0.8));
  border: 1px solid rgba(138, 109, 47, 0.3);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
a.recommendation-card:hover, a.recommendation-card.is-active {
  border-color: var(--gold);
  color: #f5e6c4;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05) sepia(0.12);
  border: 1px solid rgba(138, 109, 47, 0.24);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #f0dcae;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: #b6aa92;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(0deg, rgba(74, 13, 18, 0.75), rgba(20, 14, 15, 0.92));
  padding: 12px clamp(10px, 3vw, 30px) 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11.5px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}
.footer-link {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #d7c9a8;
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid rgba(138, 109, 47, 0.34);
  border-radius: 2px;
  transition: color 0.16s, border-color 0.16s;
}
.footer-link:hover { color: #fff3d6; border-color: var(--gold); text-decoration: none; }
a[data-contract="footer-home"] { color: #d7c9a8; text-decoration: none; }
a[data-contract="footer-home"]:hover { color: #fff3d6; border-color: var(--gold); text-decoration: none; }
a[data-contract="footer-sitemap"] { color: #b7ab93; text-decoration: none; }
a[data-contract="footer-sitemap"]:hover { color: #fff3d6; border-color: var(--gold); text-decoration: none; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.friend-links-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #a89c85;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(138, 109, 47, 0.4);
  transition: color 0.16s, border-color 0.16s;
}
a.runtime-friend-link:hover { color: #f2e4c5; border-color: var(--gold); text-decoration: none; }
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.55;
  color: #7e7466;
  max-width: 900px;
}
@media (max-width: 1024px) {.overview-hero { grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); }
.timeline-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.comment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 820px) {.overview-hero { grid-template-columns: minmax(0, 1fr); }
.poster-shell { max-width: 240px; }
.timeline-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.episode-list { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }}
@media (max-width: 620px) {body { font-size: 13.5px; }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-grid { grid-template-columns: minmax(0, 1fr); }
.episode-list { grid-template-columns: minmax(0, 1fr); }
.episode-item { grid-template-columns: 54px minmax(0, 1fr); }
.poster-shell { max-width: 200px; }
a.recommendation-card { flex: 1 1 140px; }
.control-progress { flex: 1 1 100%; }}
@media (max-width: 420px) {.timeline-track { grid-template-columns: minmax(0, 1fr); }
.timeline-node { padding: 10px 8px 6px; }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.cast-card { width: 84px; height: 112px; }
a.recommendation-card { flex: 1 1 100%; }
.poster-shell { max-width: 168px; }}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !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}
