:root {
  --paper: #fbf3dd;
  --paper-deep: #f2e4c2;
  --paper-edge: #e6d3a8;
  --ink: #22365e;
  --ink-soft: #46608f;
  --ink-faint: #7d8cae;
  --rule: #d9c69b;
  --pause-bg: #e7ebf2;
  --pause-bg-deep: #dbe2ee;
  --highlight: #ffe25c;
  --highlight-soft: #fff0a3;
  --accent: #d9553f;
  --accent-soft: #f0a99a;
  --shadow: 0 2px 0 rgba(34, 54, 94, 0.12), 0 8px 18px -12px rgba(34, 54, 94, 0.45);
  --shadow-tight: 0 1px 0 rgba(34, 54, 94, 0.14);
  --hand: "Kaiti SC", "STKaiti", "KaiTi", "Xingkai SC", "Yuanti SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --gap: 10px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(
      to bottom,
      rgba(180, 158, 112, 0.16) 0,
      rgba(180, 158, 112, 0.16) 1px,
      transparent 1px,
      transparent 26px
    ),
    radial-gradient(120% 80% at 12% 0%, #fffaf0 0%, rgba(255, 250, 240, 0) 55%),
    radial-gradient(120% 90% at 100% 100%, #f6ead0 0%, rgba(246, 234, 208, 0) 60%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol, dl, dd {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, p {
  margin: 0;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: var(--ink);
  text-decoration: none;
}
:focus-visible {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #fdf7e6 0%, #f8eed6 100%);
  border-bottom: 2px solid var(--rule);
  box-shadow: 0 6px 14px -12px rgba(34, 54, 94, 0.6);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--hand);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 3px solid var(--highlight);
  padding-bottom: 1px;
}
a[data-contract="site-name"]:hover {
  color: var(--accent);
  border-bottom-color: var(--accent-soft);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fffdf6;
  box-shadow: var(--shadow-tight);
}
a.runtime-category:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-main.theater-mode {
  max-width: 100%;
}
.section-heading {
  font-family: var(--hand);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  padding-left: 10px;
  border-left: 5px solid var(--accent);
  margin-bottom: 8px;
}
.hero-section {
  position: relative;
  border: 2px solid var(--rule);
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdf4 0%, #fbf1d9 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0 0 12px;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 60% at 20% 10%, rgba(255, 240, 190, 0.7) 0%, rgba(255, 240, 190, 0) 70%),
    radial-gradient(80% 60% at 90% 0%, rgba(210, 224, 245, 0.6) 0%, rgba(210, 224, 245, 0) 72%);
  pointer-events: none;
}
.hero-desk-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 10px;
  border-bottom: 2px dashed var(--rule);
}
.hero-illustration {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #f7e7c0 0%, #efd9ab 62%, #e2c68d 62%, #d8b87a 100%);
  border: 2px solid #d3b47c;
  box-shadow: inset 0 -8px 0 rgba(160, 128, 66, 0.22);
  min-height: 128px;
}
.hero-figure {
  display: block;
  font-family: var(--hand);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding: 8px 6px;
  border-radius: 12px;
  background: #fffdf5;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(34, 54, 94, 0.28);
  letter-spacing: 0.08em;
}
.hero-figure-left {
  justify-self: end;
  transform: rotate(-2.4deg);
  color: #b8432c;
  border-color: #b8432c;
  box-shadow: 3px 3px 0 rgba(184, 67, 44, 0.26);
}
.hero-figure-right {
  justify-self: start;
  transform: rotate(2.2deg);
  color: #2c5b8c;
  border-color: #2c5b8c;
  box-shadow: 3px 3px 0 rgba(44, 91, 140, 0.26);
}
.hero-divider-line {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--hand);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  padding: 6px 2px;
  border-left: 2px dashed var(--accent);
  border-right: 2px dashed var(--accent);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 4px;
}
.hero-chalkboard {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 2px, rgba(0, 0, 0, 0) 2px 7px),
    linear-gradient(160deg, #2f4a45 0%, #26403c 60%, #22383a 100%);
  border: 3px solid #c9a86a;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.chalk-word {
  font-family: var(--hand);
  font-size: 15px;
  color: #f4f0e2;
  letter-spacing: 0.12em;
  padding: 1px 8px 3px;
  border-bottom: 2px solid rgba(244, 240, 226, 0.4);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
  filter: blur(0.2px);
}
.movie-overview-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  margin-top: 10px;
  border-radius: 12px;
  background: rgba(255, 253, 246, 0.82);
  border: 1px dashed var(--rule);
}
.poster-wrapper {
  align-self: start;
  width: 100%;
  max-width: 220px;
  padding: 6px 6px 16px;
  background: #fffdf6;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 5px 0 rgba(34, 54, 94, 0.2);
  transform: rotate(-1.4deg);
}
.poster-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  background: var(--paper-deep);
}
.overview-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.movie-title {
  font-family: var(--hand);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1.25;
  border-bottom: 4px solid var(--highlight);
  display: inline-block;
  padding-bottom: 2px;
}
.movie-tagline {
  font-family: var(--hand);
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.player-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 10px;
  background: #f4ead2;
  border: 2px solid var(--rule);
}
.player-video {
  width: 100%;
  display: block;
  border-radius: 6px;
  background: #1b2740;
  border: 2px solid var(--ink);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-btn {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: #fffdf6;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(34, 54, 94, 0.18);
  transition: transform 0.12s ease, background 0.12s ease;
}
.player-btn:hover {
  background: var(--highlight-soft);
}
.player-btn:active, .player-btn.is-active, .player-btn.is-playing {
  transform: translate(1px, 1px);
  background: var(--highlight);
  box-shadow: none;
}
.player-btn.is-muted {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: #6b1d10;
}
.player-btn-play {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.player-btn-play:hover {
  background: var(--ink-soft);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 16px;
  background: transparent;
  cursor: pointer;
}
.player-range-progress {
  flex: 1 1 140px;
  min-width: 110px;
}
.player-range-volume {
  flex: 0 1 92px;
  min-width: 70px;
}
.player-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: #cdd6e6;
  border: 1px solid var(--rule);
}
.player-range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: #cdd6e6;
  border: 1px solid var(--rule);
}
.player-range-progress::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, var(--accent) 0%, var(--highlight) 100%);
}
.player-range-progress::-moz-range-track {
  background: linear-gradient(90deg, var(--accent) 0%, var(--highlight) 100%);
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  margin-top: -5px;
  border-radius: 50%;
  background: #fffdf6;
  border: 2px solid var(--ink);
  box-shadow: 1px 1px 0 rgba(34, 54, 94, 0.3);
}
.player-range::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fffdf6;
  border: 2px solid var(--ink);
}
.player-select {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 6px;
  border-radius: 8px;
  border: 1.5px solid var(--ink);
  background: #fffdf6;
  color: var(--ink);
  cursor: pointer;
}
.episode-status-block, .cast-block, .synopsis-block, .details-block {
  padding-top: 8px;
  border-top: 1px dashed var(--rule);
}
.status-heading, .cast-heading, .synopsis-heading, .details-heading {
  font-family: var(--hand);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 5px;
}
.status-line {
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 6px;
}
.status-meter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--highlight-soft) 0%, var(--highlight-soft) 46%, #e6ecf5 46%, #e6ecf5 100%);
  border: 1.5px solid var(--rule);
}
.status-meter-fill, .status-meter-remain {
  font-size: 12.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}
.status-meter-fill {
  background: var(--ink);
  color: #fff;
}
.status-meter-remain {
  background: #fffdf6;
  color: var(--ink-soft);
  border: 1px dashed var(--ink-faint);
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 7px 6px;
  border-radius: 10px;
  background: #fffdf6;
  border: 1.5px solid var(--rule);
  box-shadow: 2px 2px 0 rgba(34, 54, 94, 0.1);
  text-align: center;
}
.cast-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hand);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: radial-gradient(circle at 32% 28%, var(--ink-soft) 0%, var(--ink) 78%);
  border: 2px solid #fffdf6;
  box-shadow: 0 0 0 1.5px var(--ink);
}
.cast-name {
  font-family: var(--hand);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.cast-role {
  font-size: 11.5px;
  color: var(--ink-faint);
  line-height: 1.25;
}
.synopsis-paragraph {
  font-size: 13.5px;
  line-height: 1.62;
  color: #33456b;
  text-indent: 2em;
}
.synopsis-paragraph + .synopsis-paragraph {
  margin-top: 6px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px 10px;
  align-items: start;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(231, 235, 242, 0.7);
  border-left: 3px solid var(--rule);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}
.detail-value {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #eaf0f8 0%, #e2e9f4 100%);
  border: 2px solid #c3cfe2;
  box-shadow: var(--shadow);
}
.timeline-heading {
  border-left-color: var(--ink-soft);
}
.timeline-spine {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 22px;
}
.timeline-spine::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 8px;
  width: 3px;
  border-radius: 3px;
  background: repeating-linear-gradient(
    to bottom,
    var(--ink-soft) 0 6px,
    transparent 6px 11px
  );
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #fffdf7;
  border: 1px solid #c9d4e6;
  box-shadow: 2px 2px 0 rgba(34, 54, 94, 0.09);
}
.timeline-icon {
  position: absolute;
  left: -22px;
  top: 4px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  border: 2px solid #fffdf7;
  box-shadow: 0 0 0 1.5px var(--ink-soft);
}
.timeline-content {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.timeline-timecode {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.timeline-label {
  font-size: 13.5px;
  line-height: 1.45;
  color: #2c3f68;
}
.episodes-section {
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #edf1f7 0%, #e5eaf3 100%);
  border: 2px solid #c6d1e3;
  box-shadow: var(--shadow);
}
.episodes-heading {
  border-left-color: var(--accent);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 9px;
  border-radius: 9px;
  background: #fffdf7;
  border: 1.5px solid #ccd6e6;
  border-left: 4px solid var(--highlight);
  box-shadow: 2px 2px 0 rgba(34, 54, 94, 0.1);
  cursor: default;
}
.episode-number {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.episode-title {
  font-family: var(--hand);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.episode-duration {
  font-size: 11.5px;
  color: var(--ink-faint);
}
.episode-summary-bubble {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: calc(100% - 4px);
  z-index: 5;
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1.5;
  color: #2a3b60;
  background: #fffbe8;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  box-shadow: 3px 3px 0 rgba(34, 54, 94, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  pointer-events: none;
}
.episode-summary-bubble::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -7px;
  width: 10px;
  height: 10px;
  background: #fffbe8;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
}
.episode-card:hover .episode-summary-bubble, .episode-card:focus-within .episode-summary-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.comments-section {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 253, 246, 0.6);
  border: 2px dashed var(--rule);
}
.comments-heading {
  border-left-color: var(--ink-soft);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-note {
  position: relative;
  padding: 9px 10px 10px;
  border-radius: 4px;
  background: #fffbe8;
  border: 1.5px solid #e0cf9c;
  box-shadow: 3px 4px 0 rgba(34, 54, 94, 0.14);
}
.comment-note:nth-child(3n + 1) {
  transform: rotate(-1.3deg);
  background: #fffbe8;
}
.comment-note:nth-child(3n + 2) {
  transform: rotate(1.1deg);
  background: #fdf6e0;
}
.comment-note:nth-child(3n + 3) {
  transform: rotate(-0.6deg);
  background: #fffdf2;
}
.comment-note::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 42px;
  height: 12px;
  margin-left: -21px;
  background: rgba(255, 226, 92, 0.65);
  border: 1px solid rgba(214, 178, 44, 0.6);
  transform: rotate(-2deg);
}
.comment-nickname {
  display: block;
  font-family: var(--hand);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 13px;
  line-height: 1.55;
  color: #33456b;
}
.recommend-region {
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdf4 0%, #f7ecd2 100%);
  border: 2px solid var(--rule);
  box-shadow: var(--shadow);
}
.recommend-region-1 {
  background: linear-gradient(180deg, #fffdf4 0%, #f8efd8 100%);
}
.recommend-region-2 {
  background: linear-gradient(180deg, #f8f6ef 0%, #eef1f6 100%);
  border-color: #c9d4e6;
}
.recommend-region-3 {
  background: linear-gradient(180deg, #fdf8ee 0%, #f4e6c8 100%);
}
.recommend-title {
  display: inline-block;
  position: relative;
  padding: 1px 8px 3px;
  border-left: 0;
  background: linear-gradient(180deg, transparent 42%, var(--highlight) 42%, var(--highlight) 88%, transparent 88%);
  border-radius: 2px;
}
.recommend-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
}
a.runtime-recommendation, a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 6px 8px;
  border-radius: 10px;
  background: #fffdf6;
  border: 1.5px solid var(--rule);
  box-shadow: 2px 2px 0 rgba(34, 54, 94, 0.12);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  min-width: 0;
  height: 100%;
}
a[data-runtime="recommendation"]:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(34, 54, 94, 0.2);
  background: #fffbe8;
}
a[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  border: 1.5px solid var(--rule);
  background: var(--paper-deep);
}
.recommend-poster {
  display: block;
}
.recommend-name {
  font-family: var(--hand);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-faint);
  overflow-wrap: anywhere;
}
.site-footer {
  margin-top: 18px;
  padding: 14px 14px 20px;
  background: linear-gradient(180deg, #f7edd6 0%, #f0e1c0 100%);
  border-top: 3px double var(--rule);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
a[data-contract="footer-home"] {
  font-family: var(--hand);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--highlight);
}
a[data-contract="footer-home"]:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
a[data-contract="footer-sitemap"] {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: underline dotted var(--ink-faint);
  text-underline-offset: 3px;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.friend-links-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 253, 246, 0.8);
  border: 1px dashed var(--rule);
}
.friend-links-label {
  font-family: var(--hand);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  padding-right: 4px;
  border-right: 2px solid var(--highlight);
}
a.runtime-friend-link {
  font-size: 12.5px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fffdf6;
  border: 1px solid var(--rule);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #fff;
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-faint);
  padding-top: 6px;
  border-top: 1px dashed var(--rule);
}
.player {
  position: relative;
}
.play.is-playing, .pause {
  background: var(--highlight);
}
.mute.is-muted {
  background: var(--accent-soft);
}
.volume, .progress, .speed, .input, .change, .click, .timeupdate {
  transition: background 0.12s ease;
}
.main.theater-mode {
  max-width: 100%;
}
body.lights-off {
  background-color: #1c2438;
  background-image: radial-gradient(120% 80% at 20% 0%, #2b3654 0%, rgba(43, 54, 84, 0) 60%);
  color: #eef1f8;
}
body.lights-off .site-header {
  background: linear-gradient(180deg, #232c45 0%, #1d2539 100%);
  border-bottom-color: #3c4a6c;
}
body.lights-off a[data-contract="site-name"], body.lights-off .movie-title, body.lights-off .section-heading {
  color: #f4f0e2;
}
body.lights-off .hero-section, body.lights-off .movie-overview-panel, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .recommend-region {
  background: #232c45;
  border-color: #3c4a6c;
  color: #eef1f8;
}
body.lights-off .synopsis-paragraph, body.lights-off .comment-text, body.lights-off .timeline-label, body.lights-off .detail-value, body.lights-off .status-line {
  color: #d8def0;
}
body.lights-off .episode-card, body.lights-off .timeline-item, body.lights-off .cast-card, body.lights-off .comment-note, body.lights-off a[data-runtime="recommendation"] {
  background: #2a3450;
  border-color: #43527a;
  color: #eef1f8;
}
@media (min-width: 620px) {.movie-overview-panel {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
  }
.poster-wrapper {
    max-width: 220px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (min-width: 900px) {body {
    font-size: 15.5px;
  }
.page-main {
    padding: 16px 20px 26px;
    gap: 18px;
  }
.movie-title {
    font-size: 32px;
  }
.hero-illustration {
    min-height: 168px;
    padding: 20px 18px;
  }
.hero-figure {
    font-size: 24px;
    padding: 12px 10px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
.comment-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.recommend-region-2 .recommend-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.cast-row {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }}
@media (min-width: 1080px) {.movie-overview-panel {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
  }
.poster-wrapper {
    max-width: 240px;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }}
@media (max-width: 480px) {.header-inner {
    padding: 6px 10px;
    gap: 8px;
  }
a[data-contract="site-name"] {
    font-size: 18px;
  }
.page-main {
    padding: 10px 10px 18px;
    gap: 12px;
  }
.movie-title {
    font-size: 23px;
  }
.hero-illustration {
    grid-template-columns: 1fr auto 1fr;
    padding: 10px 8px;
    min-height: 108px;
  }
.hero-figure {
    font-size: 16px;
    padding: 6px 4px;
  }
.hero-divider-line {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
.poster-wrapper {
    max-width: 168px;
    margin: 0 auto;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-columns {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.cast-row {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  }
.episode-summary-bubble {
    left: 4px;
    right: 4px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
.episode-summary-bubble {
    transition: none;
  }}

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}
