*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
:root {
  --ink: #2b1a10;
  --ink-soft: #5c3a26;
  --cream: #fff4e0;
  --amber: #ffb347;
  --tomato: #e8452c;
  --deep-tomato: #b8291a;
  --brown: #3d2415;
  --moss: #274a34;
  --moss-deep: #16301f;
  --paper: #fdf3e2;
  --splash: rgba(184, 41, 26, 0.55);
  --radius-blob: 26px 14px 30px 12px;
  --radius-blob-2: 12px 28px 10px 26px;
  --shadow-warm: 0 6px 0 rgba(61, 36, 21, 0.18);
  --shadow-lift: 0 10px 24px rgba(61, 36, 21, 0.22);
  --font-round: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body {
  font-family: var(--font-round);
  font-size: 14px;
  line-height: 1.48;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 179, 71, 0.35), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(232, 69, 44, 0.28), transparent 46%),
    linear-gradient(158deg, #ffb347 0%, #ff8a3d 34%, #f0592e 62%, #d8321f 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3, p, dl, dd {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: var(--deep-tomato);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 8px 16px;
  background: linear-gradient(100deg, rgba(61, 36, 21, 0.96), rgba(22, 48, 31, 0.94));
  border-bottom: 3px solid var(--amber);
  position: relative;
  z-index: 40;
}
.header-brand {
  display: flex;
  align-items: center;
}
a[data-contract="site-name"] {
  color: #ffe4b5;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--amber);
  text-decoration: none;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px 999px 999px 6px;
  background: rgba(255, 179, 71, 0.16);
  border: 1px solid rgba(255, 179, 71, 0.5);
  color: #ffd9a0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
a.runtime-category:hover {
  background: var(--amber);
  color: var(--brown);
  text-decoration: none;
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 8px;
}
.section-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--cream);
  margin: 0 0 8px;
  display: inline-block;
  padding: 3px 12px 4px;
  background: linear-gradient(96deg, var(--brown), var(--moss-deep));
  border-radius: 16px 16px 16px 4px;
  box-shadow: var(--shadow-warm);
}
.movie-overview {
  background: var(--paper);
  border: 3px solid var(--brown);
  border-radius: var(--radius-blob);
  box-shadow: var(--shadow-lift);
  padding: 14px;
  display: block;
  margin-top: 4px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  position: relative;
}
.poster-wrap {
  position: relative;
  align-self: start;
}
.main-poster {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px 8px 20px 10px;
  border: 3px solid var(--brown);
  box-shadow: 0 8px 18px rgba(61, 36, 21, 0.3);
  position: relative;
  z-index: 2;
}
.poster-splash {
  position: absolute;
  inset: -14px -18px -18px -16px;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 78%, var(--splash) 0 7px, transparent 8px),
    radial-gradient(circle at 62% 88%, rgba(232, 69, 44, 0.45) 0 4px, transparent 5px),
    radial-gradient(circle at 88% 60%, rgba(184, 41, 26, 0.4) 0 9px, transparent 10px),
    radial-gradient(circle at 34% 40%, rgba(255, 179, 71, 0.5) 0 5px, transparent 6px),
    radial-gradient(circle at 76% 22%, rgba(232, 69, 44, 0.35) 0 6px, transparent 7px);
  filter: blur(0.4px);
  mix-blend-mode: multiply;
}
.hero-copy {
  display: block;
  min-width: 0;
  padding-top: 2px;
}
.movie-title {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--deep-tomato);
  text-shadow: 1px 2px 0 rgba(255, 179, 71, 0.6);
  border-bottom: 3px dotted rgba(61, 36, 21, 0.35);
  padding-bottom: 6px;
}
.movie-tagline {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--moss);
  background: rgba(39, 74, 52, 0.09);
  border-left: 5px solid var(--moss);
  border-radius: 4px 12px 12px 4px;
  padding: 5px 10px;
}
.movie-seo {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.btn-play {
  cursor: pointer;
  border: 3px solid var(--brown);
  background: linear-gradient(150deg, var(--amber), var(--tomato));
  color: #fff8ec;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.08em;
  padding: 8px 26px;
  border-radius: 22px 10px 24px 8px;
  box-shadow: 0 5px 0 var(--deep-tomato);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-play:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--deep-tomato);
}
.btn-play:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--deep-tomato);
}
.player-shell {
  margin-top: 14px;
  width: 100%;
  background: var(--brown);
  border: 3px solid var(--brown);
  border-radius: var(--radius-blob-2);
  padding: 8px;
  box-shadow: var(--shadow-lift);
}
.player-video {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #120a05;
  border-radius: 12px 6px 14px 6px;
}
.player-controls {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-controls button, .player-controls select {
  cursor: pointer;
  border: 2px solid rgba(255, 224, 178, 0.5);
  background: rgba(255, 244, 224, 0.12);
  color: #ffe4b5;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 14px 6px 14px 6px;
  white-space: nowrap;
}
.player-controls button:hover, .player-controls select:hover {
  background: var(--amber);
  color: var(--brown);
  border-color: var(--amber);
}
.player-controls select option {
  color: var(--ink);
  background: var(--cream);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 110px;
  height: 8px;
  accent-color: var(--amber);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 8px;
  accent-color: var(--tomato);
  cursor: pointer;
}
.ctrl-play.is-active, .ctrl-mute.is-active, .ctrl-pip.is-active, .ctrl-fullscreen.is-active, .ctrl-theater.is-active, .ctrl-light.is-active {
  background: var(--tomato);
  color: #fff6e6;
  border-color: #ffd9a0;
}
body.theater-mode .player-shell {
  background: #0b0603;
  border-color: var(--amber);
}
body.theater-mode .player-controls button, body.theater-mode .player-controls select {
  border-color: rgba(255, 179, 71, 0.7);
}
body.lights-off {
  background: #120806;
}
body.lights-off .movie-overview, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .rec-region {
  filter: brightness(0.62) saturate(0.9);
}
.cast-section {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 3px dashed rgba(61, 36, 21, 0.3);
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 6px;
  padding: 4px 2px 8px;
}
.cast-member {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 76px;
  text-align: center;
}
.cast-member:nth-child(odd) {
  transform: translateY(10px) rotate(-2deg);
}
.cast-member:nth-child(even) {
  transform: translateY(-4px) rotate(2deg);
}
.cast-avatar {
  width: 54px;
  height: 54px;
  display: block;
  border-radius: 48% 52% 44% 56% / 54% 46% 56% 44%;
  background:
    radial-gradient(circle at 32% 30%, #ffe0b0 0 22%, transparent 23%),
    radial-gradient(circle at 70% 68%, rgba(39, 74, 52, 0.55) 0 26%, transparent 27%),
    linear-gradient(150deg, var(--amber), var(--tomato));
  border: 3px solid var(--brown);
  box-shadow: 0 4px 0 rgba(61, 36, 21, 0.25);
}
.cast-member:nth-child(2n) .cast-avatar {
  background:
    radial-gradient(circle at 62% 34%, #ffe0b0 0 24%, transparent 25%),
    radial-gradient(circle at 30% 70%, rgba(184, 41, 26, 0.5) 0 24%, transparent 25%),
    linear-gradient(150deg, #ffd27a, #e8452c);
}
.cast-member:nth-child(3n) .cast-avatar {
  background:
    radial-gradient(circle at 40% 66%, #ffe9c4 0 20%, transparent 21%),
    radial-gradient(circle at 68% 26%, rgba(39, 74, 52, 0.5) 0 28%, transparent 29%),
    linear-gradient(150deg, #ffc46b, #d8321f);
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--brown);
  background: rgba(255, 179, 71, 0.35);
  padding: 1px 7px;
  border-radius: 10px 4px 10px 4px;
  white-space: nowrap;
}
.synopsis-section, .episode-status, .details-section {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 3px dashed rgba(61, 36, 21, 0.3);
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-soft);
  margin-bottom: 7px;
  padding-left: 11px;
  border-left: 4px solid rgba(232, 69, 44, 0.45);
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff3df;
  background: var(--moss);
  padding: 3px 12px;
  border-radius: 14px 5px 14px 5px;
  box-shadow: var(--shadow-warm);
  white-space: nowrap;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 5px 10px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  background: rgba(61, 36, 21, 0.06);
  border-radius: 10px 4px 10px 4px;
  padding: 3px 9px;
}
.detail-key {
  font-size: 12px;
  font-weight: 700;
  color: var(--moss);
  white-space: nowrap;
}
.detail-value {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: right;
}
.breath-gap {
  height: 34px;
}
.timeline-section {
  margin-top: 4px;
}
.timeline-scroll {
  display: flex;
  overflow-x: auto;
  padding: 10px 4px 14px 2px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.timeline-card {
  flex: 0 0 auto;
  width: 216px;
  margin-left: -26px;
  padding: 10px 12px;
  background: var(--cream);
  border: 3px solid var(--brown);
  border-radius: 18px 8px 20px 10px;
  box-shadow: 0 6px 0 rgba(22, 48, 31, 0.22);
  scroll-snap-align: start;
  transform: rotate(-1.2deg);
}
.timeline-card:first-child {
  margin-left: 0;
}
.timeline-card:nth-child(even) {
  transform: rotate(1.4deg);
  background: #ffeed3;
}
.timeline-card:nth-child(3n) {
  background: #fff6e6;
}
.timeline-timecode {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #fff3df;
  background: var(--deep-tomato);
  padding: 1px 9px;
  border-radius: 12px 4px 12px 4px;
  margin-bottom: 5px;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink);
}
.episodes-section {
  margin-top: 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  padding: 8px 2px 4px;
}
.episode-disc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: var(--cream);
  border: 3px solid var(--brown);
  border-radius: 50% 12px 46% 12px / 30% 14px 34% 14px;
  padding: 12px 13px 11px;
  box-shadow: 0 5px 0 rgba(61, 36, 21, 0.2);
  position: relative;
  overflow: hidden;
}
.episode-disc::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 69, 44, 0.35) 0 40%, transparent 42%);
  pointer-events: none;
}
.episode-disc[data-episode="1"], .episode-disc[data-episode="2"] {
  padding: 9px 11px 9px;
}
.episode-disc[data-episode="3"], .episode-disc[data-episode="4"], .episode-disc[data-episode="5"] {
  padding: 11px 12px 11px;
}
.episode-disc[data-episode="6"], .episode-disc[data-episode="7"], .episode-disc[data-episode="8"], .episode-disc[data-episode="9"] {
  padding: 13px 14px 12px;
}
.episode-disc[data-episode="10"], .episode-disc[data-episode="11"], .episode-disc[data-episode="12"] {
  padding: 15px 15px 14px;
}
.episode-disc:nth-child(3n + 2) {
  background: #ffe9cd;
}
.episode-disc:nth-child(3n) {
  background: #fff2dd;
}
.episode-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  font-size: 14px;
  font-weight: 900;
  color: #fff6e6;
  background: linear-gradient(150deg, var(--tomato), var(--deep-tomato));
  border: 2px solid var(--brown);
  border-radius: 48% 52% 44% 56% / 52% 48% 54% 46%;
}
.episode-disc[data-episode="1"] .episode-number, .episode-disc[data-episode="2"] .episode-number {
  min-width: 26px;
  height: 26px;
  font-size: 12px;
}
.episode-disc[data-episode="10"] .episode-number, .episode-disc[data-episode="11"] .episode-number, .episode-disc[data-episode="12"] .episode-number {
  min-width: 36px;
  height: 36px;
  font-size: 16px;
  background: linear-gradient(150deg, var(--amber), var(--tomato));
}
.episode-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--deep-tomato);
  line-height: 1.3;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.episode-duration {
  font-size: 11px;
  font-weight: 700;
  color: var(--moss);
  background: rgba(39, 74, 52, 0.1);
  padding: 1px 8px;
  border-radius: 10px 4px 10px 4px;
  white-space: nowrap;
}
.comments-section {
  margin-top: 16px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
  padding: 6px 2px;
}
.comment-bubble {
  background: var(--cream);
  border: 3px solid var(--moss);
  border-radius: 16px 16px 16px 4px;
  padding: 8px 11px 9px;
  box-shadow: 0 5px 0 rgba(22, 48, 31, 0.22);
  transform: rotate(-0.8deg);
}
.comment-bubble:nth-child(even) {
  transform: rotate(0.9deg);
  border-color: var(--brown);
  border-radius: 16px 16px 4px 16px;
  background: #ffeed3;
}
.comment-bubble:nth-child(3n) {
  transform: rotate(-0.4deg);
}
.comment-nick {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: #fff3df;
  background: var(--moss);
  padding: 2px 10px;
  border-radius: 12px 4px 12px 4px;
  margin-bottom: 4px;
}
.comment-bubble:nth-child(even) .comment-nick {
  background: var(--deep-tomato);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.rec-region {
  margin-top: 14px;
  background: rgba(253, 243, 226, 0.9);
  border: 3px solid var(--brown);
  border-radius: var(--radius-blob-2);
  padding: 10px 11px 12px;
  box-shadow: var(--shadow-lift);
}
.rec-region-2 {
  border-color: var(--moss);
  background: rgba(255, 244, 224, 0.92);
}
.rec-region-3 {
  border-color: var(--deep-tomato);
}
.rec-region-4 {
  border-color: var(--moss-deep);
  background: rgba(255, 238, 211, 0.92);
}
.rec-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 8px;
  padding: 2px 10px 3px;
  display: inline-block;
  background: rgba(255, 179, 71, 0.45);
  border-radius: 12px 4px 12px 4px;
}
.rec-column-set {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  background: var(--paper);
  border: 2px solid rgba(61, 36, 21, 0.55);
  border-radius: 14px 5px 16px 5px;
  padding: 6px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
a.rec-item:hover {
  transform: translateY(-3px) rotate(-0.6deg);
  box-shadow: 0 8px 16px rgba(61, 36, 21, 0.28);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 116px;
  object-fit: cover;
  border-radius: 10px 4px 12px 4px;
  border: 2px solid rgba(61, 36, 21, 0.4);
  background: linear-gradient(140deg, var(--amber), var(--tomato));
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--deep-tomato);
  line-height: 1.28;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.42;
  color: var(--ink-soft);
}
.site-footer {
  margin-top: 16px;
  background: linear-gradient(100deg, rgba(61, 36, 21, 0.97), rgba(22, 48, 31, 0.96));
  border-top: 4px solid var(--amber);
  color: #f2dcc0;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #ffd9a0;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 217, 160, 0.3);
}
.friend-links-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--amber);
  white-space: nowrap;
}
a.runtime-friend-link {
  color: #d9c6a8;
  text-decoration: none;
  font-size: 11.5px;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--cream);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(242, 220, 192, 0.72);
}
@media (max-width: 860px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-column-set {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {.page-main {
    padding: 10px 10px 6px;
  }
.movie-overview {
    padding: 11px;
    border-radius: 20px 10px 22px 10px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-wrap {
    max-width: 220px;
  }
.movie-title {
    font-size: 20px;
  }
.movie-tagline {
    font-size: 13px;
  }
.breath-gap {
    height: 24px;
  }
.timeline-card {
    width: 190px;
    margin-left: -18px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-column-set {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
[data-runtime="recommendation"] img {
    height: 100px;
  }
.cast-member {
    width: 68px;
  }}
@media (max-width: 420px) {.rec-column-set {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls button, .player-controls select {
    font-size: 11px;
    padding: 3px 8px;
  }
.ctrl-progress, .ctrl-volume {
    flex: 1 1 100%;
    min-width: 0;
  }}

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}
