*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #e8e2d9;
  color: #2a2622;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, dl, dd, dt, ul, ol, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
video {
  display: block;
}
.site-header {
  background: #26221e;
  color: #f3ede4;
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 2px solid #d98a2b;
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #f7f1e8;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #f2a33d;
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #ece4d8;
  background: #363028;
  border: 1px solid #4a4238;
  border-radius: 2px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  background: #d98a2b;
  border-color: #d98a2b;
  color: #26221e;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 28px;
}
.block-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #26221e;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid #c9c0b3;
  position: relative;
}
.block-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: #d98a2b;
}
.hero {
  padding-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-areas:
    "media info"
    "player info";
  gap: 14px 18px;
  align-items: start;
}
.hero-media {
  grid-area: media;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: #33302b;
  align-self: start;
}
.hero-media .poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(32,27,22,0.05) 0%, rgba(32,27,22,0) 30%, rgba(32,27,22,0.72) 72%, rgba(32,27,22,0.94) 100%),
    radial-gradient(120% 80% at 78% 18%, rgba(217,138,43,0.16) 0%, rgba(217,138,43,0) 55%);
}
.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px 14px;
  z-index: 2;
}
.movie-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fdf7ee;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
  line-height: 1.25;
}
.movie-tagline {
  margin-top: 4px;
  font-size: 12px;
  color: #f0b877;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.hero-player {
  grid-area: player;
  position: relative;
  background: #1c1916;
  border-radius: 3px;
  overflow: hidden;
  align-self: start;
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  background: #26221e;
  border-top: 1px solid #3a342c;
}
.ctrl {
  border: 1px solid #4a4238;
  background: #332e27;
  color: #ece4d8;
  font-size: 11px;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ctrl:hover {
  background: #453e34;
  border-color: #6a5f50;
}
.ctrl-play {
  background: #d98a2b;
  border-color: #d98a2b;
  color: #26221e;
  font-weight: 700;
}
.ctrl-play:hover {
  background: #f2a33d;
  border-color: #f2a33d;
}
.ctrl-progress {
  flex: 1 1 130px;
  min-width: 90px;
  padding: 0;
  height: 5px;
  background: #453e34;
  border: none;
  border-radius: 3px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d98a2b;
  border: none;
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: #d98a2b;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 70px;
  min-width: 50px;
  padding: 0;
  height: 5px;
  background: #453e34;
  border: none;
  border-radius: 3px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbbfae;
  cursor: pointer;
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: #cbbfae;
  cursor: pointer;
}
.ctrl-speed {
  padding: 4px 4px;
  background: #332e27;
  border: 1px solid #4a4238;
  border-radius: 2px;
  font-size: 11px;
  cursor: pointer;
}
.ctrl.is-playing {
  background: #f2a33d;
  border-color: #f2a33d;
  color: #26221e;
  font-weight: 700;
}
.ctrl.is-muted {
  background: #4a3a2a;
  border-color: #b06f22;
  color: #f0b877;
}
.ctrl.is-active {
  background: #d98a2b;
  border-color: #d98a2b;
  color: #26221e;
}
.hero-player.is-theater {
  grid-column: 1 / -1;
  grid-row: auto;
  order: 3;
}
body.lights-off {
  background: #15120f;
}
body.lights-off .page-main, body.lights-off .site-header, body.lights-off .site-footer {
  filter: brightness(0.82);
}
.overview-info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.seo-desc {
  font-size: 13px;
  line-height: 1.65;
  color: #4a4238;
  border-left: 3px solid #d98a2b;
  padding: 2px 0 2px 10px;
  background: rgba(217, 138, 43, 0.06);
}
.status-line {
  font-size: 13px;
  font-weight: 700;
  color: #2a2622;
  letter-spacing: 0.03em;
}
.episode-status {
  padding-bottom: 2px;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.synopsis-body p {
  font-size: 13px;
  line-height: 1.62;
  color: #524a40;
  text-align: justify;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.cast-item {
  flex: 1 1 92px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1px;
  padding: 7px 4px;
  background: #f1ece4;
  border: 1px solid #d8d0c4;
  border-radius: 3px;
  text-align: center;
}
.cast-item::before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-bottom: 4px;
  background:
    radial-gradient(circle at 50% 34%, #cbbfae 0 26%, rgba(203,191,174,0) 27%),
    radial-gradient(circle at 50% 108%, #c2b5a2 0 46%, rgba(194,181,162,0) 47%),
    linear-gradient(160deg, #e6dfd3, #d3c9ba);
  border: 1px solid #c9c0b3;
}
.cast-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #2a2622;
  line-height: 1.3;
}
.cast-role {
  font-size: 11px;
  color: #7a7064;
  line-height: 1.3;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed #d3cabd;
  min-width: 0;
}
.detail-row dt {
  font-size: 12px;
  color: #857a6d;
  white-space: nowrap;
  flex: 0 0 auto;
}
.detail-row dd {
  font-size: 12.5px;
  color: #332e28;
  font-weight: 600;
  text-align: right;
  min-width: 0;
}
.timeline {
  margin-top: 22px;
  padding-top: 4px;
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c9a06a transparent;
  position: relative;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(201, 192, 179, 0.4);
  border-radius: 3px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: #d98a2b;
  border-radius: 3px;
}
.timeline-node {
  flex: 0 0 auto;
  width: 168px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px 10px 11px;
  background: #f1ece4;
  border: 1px solid #d8d0c4;
  border-radius: 3px;
  position: relative;
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -11px;
  width: 12px;
  height: 1px;
  background: #c9c0b3;
}
.timeline-node:last-child::after {
  display: none;
}
.node-bowl {
  width: 26px;
  height: 13px;
  border: 1.6px solid #d98a2b;
  border-top: none;
  border-radius: 0 0 26px 26px / 0 0 15px 15px;
  background: linear-gradient(180deg, rgba(217,138,43,0.28), rgba(217,138,43,0.02));
  position: relative;
  margin-bottom: 2px;
}
.node-bowl::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -3px;
  right: -3px;
  height: 2px;
  background: #d98a2b;
  border-radius: 2px;
}
.node-bowl::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 4px;
  border: 1.4px solid #d98a2b;
  border-top: none;
  border-radius: 0 0 4px 4px;
}
.node-timecode {
  font-size: 12px;
  font-weight: 800;
  color: #b06f22;
  letter-spacing: 0.04em;
}
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: #4a4238;
}
.episodes {
  margin-top: 22px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "summary summary summary";
  align-items: center;
  column-gap: 8px;
  row-gap: 4px;
  padding: 7px 9px;
  background: #f1ece4;
  border: 1px solid #d8d0c4;
  border-left: 3px solid #c9c0b3;
  border-radius: 2px;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.episode-card:hover {
  background: #f7f2ea;
  border-left-color: #d98a2b;
  box-shadow: 0 2px 8px rgba(60, 48, 32, 0.12);
}
.ep-number {
  grid-area: num;
  font-size: 11.5px;
  font-weight: 800;
  color: #b06f22;
  white-space: nowrap;
}
.ep-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 700;
  color: #2a2622;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.ep-duration {
  grid-area: dur;
  font-size: 11px;
  color: #857a6d;
  white-space: nowrap;
}
.ep-summary {
  grid-area: summary;
  font-size: 12px;
  line-height: 1.5;
  color: #5b5247;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.18s ease, margin-top 0.18s ease;
}
.episode-card:hover .ep-summary, .episode-card:focus-within .ep-summary {
  max-height: 120px;
  opacity: 1;
  margin-top: 1px;
}
.episode-card.is-current {
  border-left-color: #d98a2b;
  background: #fbf0dd;
  box-shadow: 0 0 0 1px rgba(217, 138, 43, 0.35);
}
.episode-card.is-current .ep-number {
  color: #8f5814;
}
.comments {
  margin-top: 22px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  padding: 8px 10px 9px;
  background: #f1ece4;
  border: 1px solid #d8d0c4;
  border-radius: 2px;
  min-width: 0;
  align-self: start;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.comment-card:nth-child(3n + 1) {
  background: #f4efe7;
}
.comment-card:nth-child(3n + 2) {
  background: #ece5da;
  transform: translateY(6px);
}
.comment-card:nth-child(3n) {
  background: #f0e8dc;
  transform: translateY(-4px);
}
.comment-card:hover {
  transform: translateY(0) scale(1.012);
  background: #f9f3ea;
  box-shadow: 0 3px 10px rgba(60, 48, 32, 0.14);
  z-index: 2;
}
.comment-nickname {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #b06f22;
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: #4a4238;
}
.rec-region {
  margin-top: 22px;
}
.rec-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #26221e;
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid #c9c0b3;
  position: relative;
}
.rec-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 26px;
  height: 2px;
  background: #d98a2b;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 8px 8px;
  background: #efe9df;
  border: 1px solid #d8d0c4;
  border-radius: 2px;
  color: #2a2622;
  text-decoration: none;
  min-width: 0;
  align-self: start;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
a.rec-card:hover {
  background: #f8f3eb;
  border-color: #d98a2b;
  box-shadow: 0 2px 8px rgba(60, 48, 32, 0.12);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: #33302b;
}
a.rec-card [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #2a2622;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.rec-card [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.4;
  color: #7a7064;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-top: 3px;
  border-top: 1px dotted #d3cabf;
}
.site-footer {
  background: #26221e;
  color: #cfc6b8;
  margin-top: 26px;
  border-top: 2px solid #d98a2b;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: #f0b877;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fdf7ee;
  border-bottom-color: #fdf7ee;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-label {
  font-size: 12px;
  font-weight: 700;
  color: #9c9284;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #cfc6b8;
  text-decoration: none;
  border-bottom: 1px solid #4a4238;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: #f0b877;
  border-bottom-color: #f0b877;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #857c6e;
  padding-top: 8px;
  border-top: 1px solid #3a342c;
}
@media (max-width: 900px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "player"
      "info";
    gap: 12px;
  }
.hero-media {
    max-width: 340px;
  }
.overview-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    align-items: start;
  }
.seo-desc {
    grid-column: 1 / -1;
  }
.synopsis {
    grid-column: 1 / -1;
  }
.episode-status, .cast, .details {
    align-self: start;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-card:nth-child(3n + 2), .comment-card:nth-child(3n) {
    transform: none;
  }}
@media (max-width: 620px) {.header-inner {
    padding: 7px 12px;
  }
.page-main {
    padding: 0 12px 22px;
  }
.hero {
    padding-top: 12px;
  }
.hero-media {
    max-width: 100%;
  }
.movie-title {
    font-size: 18px;
  }
.overview-info {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.ep-summary {
    max-height: 160px;
    opacity: 1;
    margin-top: 1px;
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node {
    width: 150px;
  }
.player-controls {
    gap: 4px;
  }
.ctrl {
    font-size: 10.5px;
    padding: 5px 7px;
  }}
@media (max-width: 420px) {.rec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-item {
    flex: 1 1 78px;
  }
.ctrl-progress {
    flex: 1 1 100%;
  }}

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}
