*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #1b1f27;
  background-image:
    linear-gradient(180deg, #232833 0%, #1b1f27 42%, #171a21 100%);
  color: #c8ccd4;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Heiti SC", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
.site-header {
  position: relative;
  background: #14171e;
  border-bottom: 2px solid #2c313d;
  box-shadow: 0 1px 0 #0c0e13 inset, 0 6px 14px -10px #000;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e08a3c 22%, #e08a3c 78%, transparent);
  opacity: 0.55;
}
.header-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 14px 6px;
  max-width: 1180px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f0a35a;
  text-shadow: 0 0 1px #6b3d16, 1px 1px 0 #341c08;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #ffc07e;
  text-decoration: underline;
  text-decoration-color: #a35b1e;
  text-underline-offset: 3px;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  padding: 0 14px 10px;
  max-width: 1180px;
  margin: 0 auto;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 9px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: #9aa3b2;
  background: #1e232d;
  border: 1px solid #333a48;
  border-radius: 2px;
  text-decoration: none;
}
a.runtime-category:hover {
  color: #ffc07e;
  border-color: #a35b1e;
  background: #262d39;
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.movie-overview {
  background: #202531;
  border: 1px solid #2e3542;
  border-radius: 3px;
  padding: 12px;
  box-shadow: 0 1px 0 #333b4a inset, 0 10px 22px -18px #000;
}
.overview-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 14px;
  align-items: start;
}
.overview-stage.is-theater {
  grid-template-columns: minmax(0, 1fr);
}
.overview-stage.is-theater .poster-shell {
  display: none;
}
.poster-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #191d26;
  border: 1px solid #333a48;
  border-radius: 2px;
  padding: 8px;
  box-shadow: 0 8px 18px -14px #000;
}
.poster-media {
  position: relative;
  background: #12151b;
  border: 1px solid #2a303c;
  overflow: hidden;
}
.poster-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.96);
}
.poster-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(224, 138, 60, 0.16) 0%, rgba(27, 31, 39, 0) 46%, rgba(12, 14, 19, 0.72) 100%);
  pointer-events: none;
}
.poster-fold-mark {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 22%;
  background: linear-gradient(225deg, rgba(224, 138, 60, 0.28), rgba(224, 138, 60, 0) 68%);
  border-left: 1px solid rgba(224, 138, 60, 0.3);
  border-bottom: 1px solid rgba(224, 138, 60, 0.3);
  transform-origin: top right;
  pointer-events: none;
}
.poster-fold-mark::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(225deg, #2b313d 0%, #2b313d 48%, transparent 49%);
  opacity: 0.85;
}
.poster-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.movie-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #f2b273;
  line-height: 1.25;
  text-shadow: 1px 1px 0 #3b1f06, -1px 0 0 #57300f;
  -webkit-text-stroke: 0.4px rgba(255, 176, 96, 0.35);
}
.movie-tagline {
  font-size: 12px;
  line-height: 1.45;
  color: #8d95a4;
  letter-spacing: 0.04em;
  border-left: 2px solid #a35b1e;
  padding-left: 6px;
}
.overview-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.player-shell {
  position: relative;
  background: #12151b;
  border: 1px solid #333a48;
  border-radius: 2px;
  padding: 6px;
  box-shadow: 0 10px 22px -18px #000;
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05070a;
  border: 1px solid #2a303c;
}
.player-shell.is-theater {
  border-color: #a35b1e;
}
.player-shell.is-lights-off {
  background: #05070a;
}
.player-shell.is-lights-off video {
  filter: brightness(1.16) contrast(1.08);
}
.player-shell.is-playing {
  border-color: #e08a3c;
  box-shadow: 0 0 0 1px rgba(224, 138, 60, 0.32), 0 10px 22px -18px #000;
}
.player-shell.is-muted .ctrl-btn[data-player-action="mute"] {
  color: #e08a3c;
  border-color: #a35b1e;
}
.player-shell.is-speeding .ctrl-btn[data-player-action="speed"] {
  color: #ffc07e;
  border-color: #a35b1e;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #333a48;
}
.ctrl-btn {
  padding: 3px 8px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #aeb6c3;
  background: #1e232d;
  border: 1px solid #333a48;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.ctrl-btn:hover {
  color: #ffc07e;
  border-color: #a35b1e;
  background: #262d39;
}
.ctrl-btn:active {
  background: #141821;
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 12px;
  min-width: 74px;
  flex: 1 1 74px;
  background: transparent;
  border: 0;
  padding: 0;
}
.ctrl-range::-webkit-slider-runnable-track {
  height: 3px;
  background: #333a48;
  border-radius: 2px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: #e08a3c;
  border: 1px solid #6b3d16;
}
.ctrl-range::-moz-range-track {
  height: 3px;
  background: #333a48;
  border-radius: 2px;
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e08a3c;
  border: 1px solid #6b3d16;
}
.episode-status {
  background: #1c212b;
  border: 1px solid #2e3542;
  border-left: 3px solid #a35b1e;
  border-radius: 2px;
  padding: 8px 10px;
}
.status-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #8d95a4;
  margin-bottom: 6px;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.status-item {
  flex: 1 1 80px;
  min-width: 80px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 8px;
  background: #171b23;
  border: 1px solid #2a303c;
  border-radius: 2px;
}
.status-key {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #6f7889;
}
.status-value {
  font-size: 15px;
  font-weight: 700;
  color: #f0a35a;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.detail-panel {
  background: #1c212b;
  border: 1px solid #2e3542;
  border-radius: 2px;
  padding: 8px 10px 10px;
}
.panel-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #d6dbe4;
  padding-left: 8px;
  border-left: 3px solid #e08a3c;
  line-height: 1.3;
  margin-bottom: 8px;
  text-shadow: 1px 1px 0 #10131a;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 0;
  border-bottom: 1px dotted #2c3340;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #6f7889;
}
.detail-row .detail-key::after {
  content: "·";
  color: #3d4553;
  margin-left: 2px;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: #c2c8d2;
  text-align: right;
  overflow-wrap: anywhere;
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #333a48;
}
.synopsis-block {
  min-width: 0;
}
.synopsis-lead {
  font-size: 13px;
  line-height: 1.6;
  color: #cfd4dc;
  background: #1a1f28;
  border: 1px solid #2a303c;
  border-left: 3px solid #e08a3c;
  padding: 7px 9px;
  margin-bottom: 8px;
}
.synopsis-paragraphs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}
.synopsis-text {
  font-size: 12px;
  line-height: 1.62;
  color: #9aa3b2;
  padding-left: 7px;
  border-left: 2px solid #2c3340;
  text-align: justify;
}
.synopsis-text:first-child {
  border-left-color: #a35b1e;
  color: #b6bdc9;
}
.cast-block {
  min-width: 0;
}
.cast-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: #3d4553 #171b23;
  -webkit-overflow-scrolling: touch;
}
.cast-rail::-webkit-scrollbar {
  height: 6px;
}
.cast-rail::-webkit-scrollbar-track {
  background: #171b23;
}
.cast-rail::-webkit-scrollbar-thumb {
  background: #3d4553;
  border-radius: 3px;
}
.cast-card {
  flex: 0 0 auto;
  width: 78px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  background: #191d26;
  border: 1px solid #2e3542;
  border-radius: 2px;
  text-align: center;
}
.cast-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(160deg, #3a4150 0%, #262c37 58%, #1c212b 100%);
  border: 1px solid #3d4553;
  border-radius: 1px;
  filter: grayscale(0.45) sepia(0.16);
  position: relative;
}
.cast-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(224, 138, 60, 0.2), rgba(224, 138, 60, 0) 55%);
}
.cast-name {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #b6bdc9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dorm-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
  align-items: start;
}
.timeline-panel, .episodes-panel, .comments-panel {
  background: #202531;
  border: 1px solid #2e3542;
  border-radius: 3px;
  padding: 10px;
  box-shadow: 0 1px 0 #333b4a inset, 0 10px 22px -18px #000;
  min-width: 0;
}
.timeline-panel {
  border-left: 3px solid #a35b1e;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 14px;
  margin-left: 2px;
  border-left: 1px solid #333a48;
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px 8px;
  background: #1a1f28;
  border: 1px solid #2a303c;
  border-radius: 2px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e08a3c;
  border: 1px solid #6b3d16;
  box-shadow: 0 0 0 2px #202531;
}
.timeline-item:nth-child(even)::before {
  background: #4a5364;
  border-color: #2c3340;
}
.timeline-time {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #e08a3c;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.5;
  color: #b6bdc9;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.episode-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  gap: 2px 6px;
  padding: 6px 8px;
  background: #1a1f28;
  border: 1px solid #2a303c;
  border-left: 2px solid #4a5364;
  border-radius: 2px;
}
.episode-item:nth-child(3n) {
  border-left-color: #a35b1e;
}
.episode-number {
  grid-area: num;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #e08a3c;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #d6dbe4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 11px;
  line-height: 1.5;
  color: #8d95a4;
}
.episode-duration {
  grid-area: dur;
  justify-self: end;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #6f7889;
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  align-items: start;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  background: #262c37;
  border: 1px solid #333a48;
  border-radius: 2px;
  box-shadow: 2px 3px 0 -1px #14171e, 2px 3px 0 0 #2c3340;
}
.comment-note:nth-child(odd) {
  background: #2a3039;
  transform: rotate(-0.5deg);
}
.comment-note:nth-child(even) {
  transform: rotate(0.6deg);
  border-color: #3d4553;
}
.comment-note:nth-child(3n) {
  border-left: 3px solid #a35b1e;
}
.comment-note:nth-child(4n) {
  border-left: 3px solid #4a5364;
}
.comment-nick {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f0a35a;
}
.comment-nick::before {
  content: "> ";
  color: #6f7889;
}
.comment-text {
  font-size: 12px;
  line-height: 1.58;
  color: #b6bdc9;
  text-align: justify;
}
.reco-region {
  background: #202531;
  border: 1px solid #2e3542;
  border-radius: 3px;
  padding: 10px;
  box-shadow: 0 1px 0 #333b4a inset, 0 10px 22px -18px #000;
}
.reco-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #d6dbe4;
  padding-left: 8px;
  border-left: 3px solid #e08a3c;
  line-height: 1.3;
  margin-bottom: 8px;
  text-shadow: 1px 1px 0 #10131a;
}
.reco-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
a.reco-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  background: #1a1f28;
  border: 1px solid #2e3542;
  border-radius: 2px;
  color: #b6bdc9;
  text-decoration: none;
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}
a.reco-card:hover {
  color: #ffc07e;
  border-color: #a35b1e;
  background: #232a35;
  text-decoration: none;
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #12151b;
  border: 1px solid #2a303c;
  filter: saturate(0.8) contrast(1.05) brightness(0.95);
}
.reco-pic {
  display: block;
}
.reco-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #d6dbe4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.reco-card:hover .reco-name {
  color: #ffc07e;
}
.reco-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: #8d95a4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reco-count {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 1px 5px;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #ffc07e;
  background: rgba(20, 23, 30, 0.86);
  border: 1px solid #a35b1e;
  border-radius: 2px;
  white-space: nowrap;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 24px;
  border-top: 1px solid #2c3340;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #6f7889;
  letter-spacing: 0.02em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #9aa3b2;
  text-decoration: none;
  border-bottom: 1px solid #3d4553;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover {
  color: #ffc07e;
  text-decoration: underline;
  text-decoration-color: #a35b1e;
  text-underline-offset: 3px;
}
a[data-contract="footer-sitemap"]:hover {
  color: #f0a35a;
  text-decoration: underline;
  text-decoration-color: #6b3d16;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding: 7px 9px;
  background: #1a1f28;
  border: 1px solid #2a303c;
  border-left: 3px solid #4a5364;
  border-radius: 2px;
}
.friend-links-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #6f7889;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #8d95a4;
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 4px;
  border: 1px solid #2c3340;
  border-radius: 2px;
  background: #171b23;
}
a.runtime-friend-link:hover {
  color: #ffc07e;
  border-color: #a35b1e;
  text-decoration: underline;
  text-decoration-color: #a35b1e;
  text-underline-offset: 2px;
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 1px solid #e08a3c;
  outline-offset: 1px;
}
@media (max-width: 900px) {.overview-stage {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-shell {
    max-width: 320px;
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr);
  }
.dorm-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.reco-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 680px) {.page-main {
    padding: 10px 10px 18px;
    gap: 12px;
  }
.header-top, .category-bar, .site-footer {
    padding-left: 10px;
    padding-right: 10px;
  }
.synopsis-paragraphs {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.reco-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-shell {
    max-width: none;
  }
.player-controls {
    gap: 3px 4px;
  }
.ctrl-btn {
    padding: 3px 6px;
    font-size: 10px;
  }
.ctrl-range {
    min-width: 60px;
    flex: 1 1 60px;
  }}
@media (max-width: 420px) {.reco-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.status-item {
    flex: 1 1 100%;
  }
.comment-note:nth-child(odd), .comment-note:nth-child(even) {
    transform: 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}
