:root {
  --bg: #f4f1e6;
  --bg-deep: #e8e4d4;
  --surface: #fbfaf3;
  --surface-alt: #eef0e4;
  --ink: #2f3a2f;
  --ink-soft: #5c6656;
  --ink-faint: #8a927e;
  --green: #7c9a7e;
  --green-deep: #4f6b52;
  --green-pale: #cfdcc6;
  --sun: #e9c96a;
  --sun-deep: #cf9f3c;
  --line: #d8d5c4;
  --line-soft: #e6e3d5;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(60, 70, 50, 0.06), 0 6px 18px rgba(60, 70, 50, 0.07);
  --gap: 12px;
  --pad: 14px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f6f3e8 0%, #f1efe2 45%, #eef0e2 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--green-deep);
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 243, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--green-deep);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--sun-deep);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
a.runtime-category:hover {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green-deep);
  text-transform: none;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::before {
  content: "";
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--sun);
  flex: none;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  align-self: start;
  position: relative;
}
.hero-media .poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--green-pale);
}
.hero-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.movie-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.movie-tagline {
  margin-top: -8px;
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.hero-player {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
}
.player-frame {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  background: #1d231d;
  box-shadow: var(--shadow);
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}
.ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 3px 9px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-soft);
  background: var(--surface-alt);
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.ctrl:hover {
  background: var(--green-pale);
  color: var(--green-deep);
}
.ctrl:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.ctrl-play {
  font-weight: 700;
  color: #fff;
  background: var(--green-deep);
  padding-inline: 14px;
}
.ctrl-play:hover {
  background: var(--green);
  color: #fff;
}
.ctrl-play.is-playing {
  background: var(--sun-deep);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 6px;
  padding: 0;
  accent-color: var(--green);
  background: var(--line-soft);
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green-deep);
  border: 2px solid var(--surface);
}
.ctrl-progress::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--green-deep);
}
.ctrl-progress.is-loaded {
  background: var(--green-pale);
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 64px;
  height: 6px;
  padding: 0;
  accent-color: var(--sun-deep);
  appearance: none;
  -webkit-appearance: none;
  background: var(--line-soft);
  border-radius: 999px;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sun-deep);
  border: 2px solid var(--surface);
}
.ctrl-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--sun-deep);
}
.ctrl-mute.is-muted, .ctrl-pip.is-active, .ctrl-theater.is-active, .ctrl-light.is-active, .ctrl-fullscreen.is-active, .ctrl-speed.is-active {
  background: var(--green-deep);
  color: #fff;
  border-color: var(--green-deep);
}
.ctrl-speed {
  padding-right: 4px;
  border-radius: 999px;
}
.hero-player.is-theater {
  position: relative;
  z-index: 30;
}
.hero-player.is-theater .player-frame {
  box-shadow: 0 12px 40px rgba(30, 40, 30, 0.35);
}
body.is-lights-off {
  background: #20261f;
}
body.is-lights-off .hero-player {
  box-shadow: 0 0 0 4px var(--sun-deep);
  border-radius: var(--radius);
}
.cast-strip {
  padding-top: 2px;
}
.cast-strip .section-title {
  margin-bottom: 8px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 5px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
}
.cast-avatar {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #ffffff 0 14%, transparent 15%),
    linear-gradient(150deg, var(--green-pale), var(--sun) 85%);
  border: 1px solid rgba(120, 140, 110, 0.35);
}
.cast-name {
  font-size: 12.5px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.synopsis-panel {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
}
.synopsis-panel .section-title {
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 0;
}
.synopsis-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  text-align: justify;
}
.synopsis-text + .synopsis-text {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed var(--line-soft);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 8px 12px;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
}
.status-line {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-deep);
}
.status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  font-size: 11.5px;
  padding: 2px 9px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}
.details-panel {
  padding-top: 2px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: none;
  width: 62px;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.detail-value {
  font-size: 12.5px;
  color: var(--ink);
  min-width: 0;
  word-break: break-word;
}
.timeline-section {
  padding-top: 4px;
}
.timeline-section .section-title {
  border-bottom: 0;
  padding-bottom: 2px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  position: relative;
  padding-top: 18px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 4%;
  right: 4%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-pale), var(--green), var(--sun));
  opacity: 0.85;
}
.timeline-node {
  position: relative;
  padding: 14px 10px 10px;
  margin-right: 10px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--green-deep);
}
.timeline-node:nth-child(even) {
  margin-top: 22px;
}
.timeline-node:nth-child(even)::before {
  top: -40px;
}
.timeline-time {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--sun-deep);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.episodes-section {
  padding-top: 4px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  align-self: start;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.episode-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.episode-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green-deep);
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: -webkit-line-clamp 0.2s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  -webkit-line-clamp: 6;
}
.episode-duration {
  margin-top: 3px;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  padding-top: 4px;
  border-top: 1px dashed var(--line-soft);
}
.comments-section {
  padding-top: 4px;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 13px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  position: relative;
  align-self: start;
}
.comment-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 2px;
  background: var(--green-pale);
}
.comment-card:nth-child(even) {
  margin-left: 26px;
}
.comment-card:nth-child(odd) {
  margin-right: 26px;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.rec-region {
  padding-top: 2px;
}
.rec-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.rec-title::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun-deep);
  flex: none;
}
.rec-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.rec-track::-webkit-scrollbar {
  height: 6px;
}
.rec-track::-webkit-scrollbar-track {
  background: var(--line-soft);
  border-radius: 999px;
}
.rec-track::-webkit-scrollbar-thumb {
  background: var(--green-pale);
  border-radius: 999px;
}
.rec-item {
  flex: 0 0 158px;
  scroll-snap-align: start;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px 7px 9px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  height: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: var(--green-deep);
  text-decoration: none;
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  background: var(--green-pale);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 30px;
  padding: 20px 16px 28px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}
.disclaimer {
  max-width: 1180px;
  margin: 0 auto 14px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  text-align: center;
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--green-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--sun-deep);
  border-bottom-color: var(--sun-deep);
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--green-deep);
  text-decoration: underline;
}
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
@media (max-width: 900px) {.hero {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    gap: 16px;
  }
.movie-title {
    font-size: 20px;
  }
.timeline-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 0;
  }
.timeline-list::before {
    display: none;
  }
.timeline-node, .timeline-node:nth-child(even) {
    margin: 0;
    padding-top: 12px;
  }
.timeline-node::before, .timeline-node:nth-child(even)::before {
    top: 10px;
    left: auto;
    right: 12px;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.page-main {
    gap: 22px;
    padding: 14px 12px 6px;
  }
.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.hero-media {
    max-width: 190px;
  }
.movie-title {
    font-size: 19px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.comment-card:nth-child(even), .comment-card:nth-child(odd) {
    margin-left: 0;
    margin-right: 0;
  }
.comment-card:nth-child(even) {
    margin-left: 18px;
  }
.comment-card:nth-child(odd) {
    margin-right: 0;
  }}
@media (max-width: 520px) {.header-inner {
    padding: 8px 12px;
    gap: 8px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
  }
.category-nav {
    margin-left: 0;
    width: 100%;
  }
.hero-media {
    max-width: 150px;
  }
.movie-title {
    font-size: 18px;
  }
.player-controls {
    padding: 7px 8px;
    gap: 5px;
  }
.ctrl {
    font-size: 11.5px;
    padding: 3px 8px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    min-width: 0;
    order: -1;
  }
.ctrl-volume {
    flex: 0 1 72px;
  }
.cast-item {
    padding: 4px 9px 4px 4px;
  }
.cast-avatar {
    width: 22px;
    height: 22px;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(even) {
    margin-left: 10px;
  }
.rec-item {
    flex: 0 0 138px;
  }
.site-footer {
    padding: 16px 12px 22px;
  }}

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}
