:root {
  --ice-0: #f7f9fb;
  --ice-1: #eef2f6;
  --ice-2: #dfe6ed;
  --ice-3: #c6d2dd;
  --slate-0: #8d9dab;
  --slate-1: #5f6f7d;
  --slate-2: #3d4a56;
  --slate-3: #232d36;
  --paper: #f4efe2;
  --paper-2: #e9e1cd;
  --sakura: #f0d9dd;
  --sakura-2: #dcb4bd;
  --line: #cfd8e0;
  --line-strong: #aebbc7;
  --serif: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK 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;
  background: var(--ice-0);
  color: var(--slate-2);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
body.lights-off {
  background: #10161b;
  color: var(--ice-2);
}
img {
  display: block;
  max-width: 100%;
}
h1, h2, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: var(--slate-1);
  text-decoration: none;
}
button, input, summary {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 249, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
body.lights-off .site-header {
  background: rgba(16, 22, 27, 0.94);
  border-bottom-color: #2b3740;
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.site-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--slate-3);
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}
a[data-contract="site-name"] {
  color: var(--slate-3);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--sakura-2);
  border-bottom-color: var(--sakura-2);
}
body.lights-off a[data-contract="site-name"] {
  color: var(--ice-1);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
  max-width: 100%;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--slate-1);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background: var(--ice-1);
}
a.runtime-category:hover {
  color: var(--slate-3);
  text-decoration: underline;
  border-color: var(--line-strong);
  background: var(--paper);
}
body.lights-off a.runtime-category {
  color: var(--ice-2);
  background: #1a232a;
  border-color: #2f3c46;
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.section-heading {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--slate-3);
  padding: 0 0 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
}
body.lights-off .section-heading {
  color: var(--ice-1);
  border-bottom-color: #3a4a55;
}
.movie-overview {
  padding-top: 18px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 18px;
  align-items: start;
  position: relative;
  padding-bottom: 18px;
}
.overview-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--line) 40%, transparent);
}
.poster-frame {
  position: relative;
  align-self: start;
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--slate-3);
  overflow: hidden;
}
.poster-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(244, 239, 226, 0.32) 0%, rgba(244, 239, 226, 0) 42%, rgba(35, 45, 54, 0.42) 100%);
  pointer-events: none;
  z-index: 2;
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.hero-media {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--line-strong);
  background: var(--ice-1);
  padding: 8px;
}
.hero-media.theater-mode {
  grid-column: 1 / -1;
  width: 100%;
}
.main-player {
  display: block;
  width: 100%;
  background: #0d1216;
  border: 1px solid var(--slate-3);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 2px;
}
.ctrl {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--slate-2);
  background: var(--ice-0);
  border: 1px solid var(--line-strong);
  padding: 4px 10px;
  cursor: pointer;
}
.ctrl:hover {
  background: var(--paper);
  border-color: var(--slate-0);
}
.ctrl.is-active {
  background: var(--slate-2);
  color: var(--ice-0);
  border-color: var(--slate-2);
}
.ctrl-play {
  background: var(--slate-3);
  color: var(--ice-0);
  border-color: var(--slate-3);
}
.ctrl-play.is-active {
  background: var(--sakura-2);
  color: var(--slate-3);
  border-color: var(--sakura-2);
}
.ctrl-progress {
  flex: 1 1 200px;
  min-width: 120px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--ice-2);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  padding: 0;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 12px;
  background: var(--slate-2);
  border: none;
}
.ctrl-progress::-moz-range-thumb {
  width: 10px;
  height: 12px;
  border: none;
  border-radius: 0;
  background: var(--slate-2);
}
.ctrl-volume {
  width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--ice-2);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  padding: 0;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px;
  height: 12px;
  background: var(--slate-1);
  border: none;
}
.ctrl-volume::-moz-range-thumb {
  width: 8px;
  height: 12px;
  border: none;
  border-radius: 0;
  background: var(--slate-1);
}
.overview-title-group {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}
.movie-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: var(--slate-3);
}
body.lights-off .movie-title {
  color: var(--ice-0);
}
.movie-tagline {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--slate-1);
  padding-left: 12px;
  border-left: 2px solid var(--sakura-2);
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 18px 26px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.details-panel, .synopsis-panel, .episode-status-panel {
  min-width: 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: grid;
  grid-template-columns: 5.2em minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px dotted var(--line);
}
.detail-key {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate-0);
}
.detail-value {
  font-size: 12.5px;
  color: var(--slate-2);
  line-height: 1.5;
}
body.lights-off .detail-key {
  color: #7f8f9b;
}
body.lights-off .detail-value {
  color: var(--ice-2);
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--slate-1);
  text-align: justify;
}
.synopsis-para:first-child::first-letter {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  float: left;
  padding: 3px 6px 0 0;
  color: var(--slate-3);
}
body.lights-off .synopsis-para {
  color: var(--ice-2);
}
body.lights-off .synopsis-para:first-child::first-letter {
  color: var(--sakura-2);
}
.episode-status-panel {
  grid-column: 1 / -1;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  padding: 10px 14px;
}
.episode-status-panel .section-heading {
  margin-bottom: 8px;
  border-bottom-color: var(--line);
}
.episode-status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
}
.status-current {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--slate-3);
}
.status-current::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--sakura-2);
  vertical-align: middle;
}
.status-total {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate-1);
}
.cast-panel {
  padding: 18px 0 0;
  border-bottom: 1px solid var(--line);
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 18px;
}
.cast-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--ice-1);
  padding: 8px;
  min-width: 0;
}
.cast-avatar {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  filter: grayscale(0.5) contrast(1.02);
}
.cast-name {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--slate-3);
  line-height: 1.35;
  align-self: end;
}
.cast-role {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--slate-0);
  line-height: 1.3;
  align-self: start;
}
.timeline-panel {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  position: relative;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--line-strong);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 158px;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 12px;
  width: 9px;
  height: 9px;
  background: var(--ice-0);
  border: 1px solid var(--slate-2);
  z-index: 1;
}
.timeline-node:last-child::before {
  right: 50%;
}
.node-ep {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--slate-3);
  padding-bottom: 24px;
}
.node-label {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--slate-1);
  border-top: 1px solid var(--line);
  padding-top: 6px;
}
body.lights-off .node-ep {
  color: var(--ice-0);
}
body.lights-off .node-label {
  color: var(--ice-2);
  border-top-color: #3a4a55;
}
body.lights-off .timeline-node::before {
  background: #3a4a55;
}
body.lights-off .timeline-node::after {
  background: #10161b;
  border-color: var(--ice-2);
}
.episodes-panel {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  align-items: start;
}
.episode-item {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--ice-1);
}
.episode-entry {
  min-width: 0;
}
.episode-summary {
  display: grid;
  grid-template-columns: 4.2em minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
  padding: 7px 10px;
  cursor: pointer;
  list-style: none;
}
.episode-summary::-webkit-details-marker {
  display: none;
}
.episode-summary::after {
  content: "＋";
  font-size: 12px;
  color: var(--slate-0);
  justify-self: end;
}
.episode-entry[open] .episode-summary::after {
  content: "－";
  color: var(--sakura-2);
}
.ep-number {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--slate-3);
}
.ep-title {
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--slate-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ep-duration {
  font-size: 11px;
  color: var(--slate-0);
  letter-spacing: 0.05em;
}
.ep-summary-text {
  font-size: 12px;
  line-height: 1.75;
  color: var(--slate-1);
  padding: 8px 10px 10px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
body.lights-off .episode-item {
  background: #1a232a;
  border-color: #2f3c46;
}
body.lights-off .ep-number {
  color: var(--ice-0);
}
body.lights-off .ep-title {
  color: var(--ice-2);
}
body.lights-off .ep-summary-text {
  background: #141c22;
  color: var(--ice-2);
  border-top-color: #2f3c46;
}
.comments-panel {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  border: 1px solid var(--line);
  background: var(--ice-1);
  min-width: 0;
}
.comment-avatar {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  filter: grayscale(0.4);
}
.comment-body {
  min-width: 0;
}
.comment-nick {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--slate-3);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.75;
  color: var(--slate-1);
}
body.lights-off .comment-card {
  background: #1a232a;
  border-color: #2f3c46;
}
body.lights-off .comment-nick {
  color: var(--ice-0);
}
body.lights-off .comment-text {
  color: var(--ice-2);
}
.recommend-region {
  padding: 18px 0 0;
}
.recommend-region:last-child {
  padding-bottom: 18px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--slate-2);
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--ice-1);
}
a.recommend-card:hover {
  color: var(--slate-3);
  text-decoration: underline;
  border-color: var(--sakura-2);
  background: var(--paper);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: grayscale(0.35) contrast(1.02);
}
[data-runtime="recommendation"]:hover img {
  filter: grayscale(0) contrast(1.05);
}
.recommend-name {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--slate-3);
  padding: 8px 10px 0;
  line-height: 1.4;
}
.recommend-blurb {
  display: block;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--slate-1);
  padding: 4px 10px 10px;
}
body.lights-off a.recommend-card {
  background: #1a232a;
  border-color: #2f3c46;
}
body.lights-off .recommend-name {
  color: var(--ice-0);
}
body.lights-off .recommend-blurb {
  color: var(--ice-2);
}
.site-footer {
  border-top: 1px solid var(--line-strong);
  background: var(--paper);
  padding: 18px 16px 26px;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--slate-0);
  max-width: 78ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--slate-2);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--sakura-2);
  text-decoration: underline;
  border-bottom-color: var(--sakura-2);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding-top: 4px;
  border-top: 1px dotted var(--line-strong);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--slate-0);
  padding-right: 6px;
  border-right: 1px solid var(--line-strong);
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--slate-1);
  text-decoration: none;
}
a.runtime-friend-link:hover {
  color: var(--slate-3);
  text-decoration: underline;
}
body.lights-off .site-footer {
  background: #141c22;
  border-top-color: #3a4a55;
}
body.lights-off .footer-disclaimer, body.lights-off .friend-links-label {
  color: #7f8f9b;
}
body.lights-off a[data-contract="footer-home"], body.lights-off a[data-contract="footer-sitemap"], body.lights-off a.runtime-friend-link {
  color: var(--ice-2);
}
.player .theater-mode, .theater .theater-mode {
  outline: 1px solid var(--sakura-2);
}
.is-active.mute, .is-active.pip, .is-active.fullscreen, .is-active.speed, .is-active.theater, .is-active.light {
  background: var(--slate-2);
  color: var(--ice-0);
  border-color: var(--slate-2);
}
body.lights-off .main-player {
  border-color: #3a4a55;
}
body.lights-off .ctrl {
  background: #1a232a;
  border-color: #2f3c46;
  color: var(--ice-2);
}
body.lights-off .ctrl.is-active {
  background: var(--sakura-2);
  border-color: var(--sakura-2);
  color: var(--slate-3);
}
@media (max-width: 1024px) {.overview-hero {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.poster-frame {
    max-width: 220px;
    margin: 0 auto;
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.episode-status-panel {
    grid-column: auto;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 560px) {body {
    font-size: 13px;
  }
.page-main {
    padding: 0 12px 30px;
  }
.header-inner {
    padding: 7px 12px;
    gap: 8px;
  }
.movie-title {
    font-size: 23px;
  }
.movie-tagline {
    font-size: 12px;
  }
.detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.site-footer {
    padding: 16px 12px 22px;
  }
.ctrl {
    padding: 4px 8px;
    font-size: 11.5px;
  }
.ctrl-volume {
    width: 70px;
  }
.timeline-node {
    width: 142px;
  }}
@media (max-width: 380px) {.cast-card {
    grid-template-columns: 40px minmax(0, 1fr);
  }
.cast-avatar {
    width: 40px;
    height: 40px;
  }}

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}
