*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: #0a0b0d;
  background-image:
    radial-gradient(ellipse 120% 60% at 15% -10%, rgba(120, 20, 24, 0.16), transparent 60%),
    radial-gradient(ellipse 90% 50% at 90% 0%, rgba(196, 138, 42, 0.08), transparent 55%),
    linear-gradient(180deg, #0b0c0e 0%, #101214 40%, #0a0b0d 100%);
  background-attachment: fixed;
  color: #c8ccd0;
  font-family: "Hiragino Sans", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  font-stretch: condensed;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: #b9a06a;
  text-decoration: none;
}
a:hover {
  color: #e0be76;
}
ol, ul {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.3;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(140, 150, 160, 0.14);
  background: linear-gradient(180deg, rgba(12, 13, 15, 0.96), rgba(12, 13, 15, 0.72));
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
}
a[data-contract="site-name"] {
  color: #e8e2d4;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-shadow: 0 0 14px rgba(196, 138, 42, 0.28);
}
a[data-contract="site-name"]:hover {
  color: #f0c878;
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: #9aa2a9;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.16em;
  padding: 3px 10px;
  border: 1px solid rgba(150, 158, 166, 0.22);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.015);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #e0be76;
  border-color: rgba(196, 138, 42, 0.5);
  background: rgba(120, 20, 24, 0.16);
}
.page-main {
  display: block;
  padding: 14px 18px 26px;
}
.section-heading {
  font-size: 12px;
  letter-spacing: 0.34em;
  color: #8d949b;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid rgba(140, 150, 160, 0.16);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 38px;
  height: 1px;
  background: #8f2226;
}
.overview {
  display: grid;
  grid-template-columns: minmax(0, 232px) minmax(0, 1fr) minmax(0, 1.35fr);
  grid-template-areas:
    "poster head head"
    "poster player player"
    "poster status synopsis"
    "cast cast cast"
    "details details details";
  gap: 12px 18px;
  align-items: start;
  background:
    linear-gradient(160deg, rgba(24, 26, 29, 0.92), rgba(14, 15, 17, 0.94) 55%, rgba(18, 13, 14, 0.94));
  border: 1px solid rgba(140, 150, 160, 0.12);
  border-radius: 3px;
  padding: 14px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.overview::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 46%;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      118deg,
      rgba(120, 20, 24, 0.14) 0 2px,
      transparent 2px 13px
    ),
    radial-gradient(ellipse 90% 80% at 0% 55%, rgba(143, 34, 38, 0.26), transparent 68%);
  mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.95), transparent 82%);
  -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.95), transparent 82%);
  z-index: 0;
}
.overview > * {
  position: relative;
  z-index: 1;
}
.poster-wrap {
  grid-area: poster;
  align-self: start;
  width: 100%;
  margin: 0;
  border: 1px solid rgba(150, 158, 166, 0.2);
  border-radius: 2px;
  overflow: hidden;
  background: #0d0e10;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 12px 30px -18px rgba(0, 0, 0, 0.9);
}
.poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.06);
}
.overview-head {
  grid-area: head;
  align-self: end;
  padding-bottom: 2px;
}
.movie-title {
  font-size: clamp(21px, 3.2vw, 34px);
  letter-spacing: 0.2em;
  color: #ece6d8;
  font-weight: 700;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.85);
  margin-bottom: 6px;
}
.movie-tagline {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  color: #9b8360;
  border-left: 2px solid #8f2226;
  padding-left: 9px;
  max-width: 46ch;
}
.player-shell {
  grid-area: player;
  width: 100%;
  min-width: 0;
  background: #07080a;
  border: 1px solid rgba(150, 158, 166, 0.16);
  border-radius: 2px;
  overflow: hidden;
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(18, 20, 23, 0.96), rgba(10, 11, 13, 0.96));
  border-top: 1px solid rgba(140, 150, 160, 0.14);
}
.player-btn {
  flex: 0 0 auto;
  padding: 4px 9px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #b6bcc2;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(150, 158, 166, 0.2);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s, border-color 0.14s, background 0.14s;
}
.player-btn:hover {
  color: #e8e2d4;
  border-color: rgba(196, 138, 42, 0.45);
  background: rgba(143, 34, 38, 0.18);
}
.player-btn.is-active, .player-btn.is-playing {
  color: #f0c878;
  border-color: rgba(196, 138, 42, 0.6);
  background: rgba(143, 34, 38, 0.28);
  box-shadow: inset 0 0 12px -6px rgba(240, 200, 120, 0.7);
}
.player-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  accent-color: #8f2226;
  background: rgba(150, 158, 166, 0.2);
  border-radius: 2px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.player-range::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(90deg, #8f2226, #6d4a1e);
  border-radius: 2px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: #e0be76;
  border: 1px solid #2a1a12;
  box-shadow: 0 0 8px rgba(224, 190, 118, 0.65);
}
.player-range::-moz-range-track {
  height: 4px;
  background: linear-gradient(90deg, #8f2226, #6d4a1e);
  border-radius: 2px;
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e0be76;
  border: 1px solid #2a1a12;
}
.player-shell.is-theater {
  border-color: rgba(196, 138, 42, 0.4);
  box-shadow: 0 0 0 1px rgba(143, 34, 38, 0.35), 0 0 40px -12px rgba(143, 34, 38, 0.6);
}
.lights-off {
  background-color: #000;
}
.lights-off .page-main, .lights-off .site-header, .lights-off .site-footer {
  opacity: 0.28;
  transition: opacity 0.35s;
}
.lights-off .player-shell {
  opacity: 1;
  position: relative;
  z-index: 60;
}
.episode-status {
  grid-area: status;
  align-self: start;
  padding-right: 12px;
  border-right: 1px solid rgba(140, 150, 160, 0.14);
}
.status-heading {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #7f858b;
  margin-bottom: 6px;
  font-weight: 700;
}
.status-line {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: #b9bfc5;
  line-height: 1.72;
}
.status-line + .status-line {
  color: #8f969c;
}
.synopsis {
  grid-area: synopsis;
  align-self: start;
}
.synopsis-p {
  font-size: 12.8px;
  line-height: 1.78;
  color: #a8aeb4;
  letter-spacing: 0.015em;
  text-align: justify;
}
.synopsis-p + .synopsis-p {
  margin-top: 6px;
}
.synopsis-p::first-letter {
  color: #c08a3e;
}
.cast {
  grid-area: cast;
  margin-top: 4px;
}
.cast-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(143, 34, 38, 0.7) rgba(255, 255, 255, 0.04);
}
.cast-track::-webkit-scrollbar {
  height: 5px;
}
.cast-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}
.cast-track::-webkit-scrollbar-thumb {
  background: rgba(143, 34, 38, 0.7);
}
.cast-item {
  flex: 0 0 112px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 7px 8px 9px;
  background: linear-gradient(170deg, rgba(30, 32, 36, 0.85), rgba(16, 17, 19, 0.85));
  border: 1px solid rgba(140, 150, 160, 0.12);
  border-radius: 2px;
  scroll-snap-align: start;
}
.cast-avatar {
  width: 100%;
  height: 62px;
  border-radius: 1px;
  background:
    radial-gradient(circle at 50% 34%, rgba(224, 190, 118, 0.5), transparent 42%),
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(143, 34, 38, 0.55), transparent 70%),
    repeating-linear-gradient(52deg, rgba(200, 204, 208, 0.09) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, #23262a, #101113);
  border: 1px solid rgba(150, 158, 166, 0.16);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, #8f2226, rgba(196, 138, 42, 0.7), transparent);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e2ddd0;
  line-height: 1.35;
}
.cast-role {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: #8f6f4a;
  line-height: 1.4;
}
.details {
  grid-area: details;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(140, 150, 160, 0.14);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0 18px;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dotted rgba(140, 150, 160, 0.13);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #7d848a;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: #c2c8ce;
  letter-spacing: 0.05em;
  word-break: break-word;
}
.episodes {
  margin-bottom: 22px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  align-content: start;
  gap: 3px 8px;
  padding: 8px 10px 9px;
  background: linear-gradient(168deg, rgba(26, 28, 31, 0.9), rgba(14, 15, 17, 0.9));
  border: 1px solid rgba(140, 150, 160, 0.11);
  border-left: 2px solid rgba(143, 34, 38, 0.5);
  border-radius: 2px;
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
}
.episode-card:hover {
  border-color: rgba(196, 138, 42, 0.4);
  border-left-color: #c48a2a;
  background: linear-gradient(168deg, rgba(34, 30, 28, 0.92), rgba(16, 15, 16, 0.92));
}
.ep-number {
  grid-area: num;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: #8f6f4a;
  white-space: nowrap;
  padding-top: 2px;
}
.ep-title {
  grid-area: title;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #ded9cc;
  font-weight: 700;
  min-width: 0;
}
.ep-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.62;
  color: #939aa0;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ep-duration {
  grid-area: dur;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #6f767c;
  padding-top: 1px;
}
.episode-card.is-current {
  border-color: rgba(196, 138, 42, 0.55);
  border-left-color: #e0be76;
  background:
    linear-gradient(168deg, rgba(58, 26, 24, 0.55), rgba(20, 16, 16, 0.92)),
    linear-gradient(168deg, rgba(26, 28, 31, 0.9), rgba(14, 15, 17, 0.9));
  box-shadow: 0 0 0 1px rgba(143, 34, 38, 0.35), 0 8px 26px -16px rgba(224, 190, 118, 0.6);
}
.episode-card.is-current .ep-number {
  color: #e0be76;
}
.episode-card.is-current .ep-title {
  color: #f2ead4;
  text-shadow: 0 0 12px rgba(196, 138, 42, 0.35);
}
.episode-card.is-current .ep-summary {
  color: #b6ada0;
}
.timeline {
  margin-bottom: 22px;
}
.timeline-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-left: 22px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 5px;
  width: 1px;
  background: linear-gradient(180deg, rgba(143, 34, 38, 0.1), rgba(143, 34, 38, 0.75) 18%, rgba(196, 138, 42, 0.55) 72%, rgba(143, 34, 38, 0.08));
}
.timeline-item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 6px 10px 7px;
  background: linear-gradient(120deg, rgba(24, 26, 29, 0.86), rgba(14, 15, 17, 0.7));
  border: 1px solid rgba(140, 150, 160, 0.1);
  border-radius: 2px;
  max-width: 100%;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  transform: rotate(45deg);
  background: #8f2226;
  box-shadow: 0 0 10px rgba(143, 34, 38, 0.9);
}
.timeline-code {
  flex: 0 0 auto;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #e0be76;
  padding: 2px 7px;
  background: rgba(143, 34, 38, 0.22);
  border: 1px solid rgba(196, 138, 42, 0.32);
  border-radius: 1px;
  white-space: nowrap;
}
.timeline-label {
  flex: 1 1 240px;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.62;
  color: #a9afb5;
  letter-spacing: 0.015em;
}
.comments {
  margin-bottom: 22px;
}
.comment-stack {
  columns: 2;
  column-gap: 12px;
}
.comment-item {
  break-inside: avoid;
  display: block;
  margin: 0 0 10px;
  padding: 9px 11px 8px;
  background:
    linear-gradient(165deg, rgba(28, 30, 33, 0.9), rgba(15, 16, 18, 0.9));
  border: 1px solid rgba(140, 150, 160, 0.11);
  border-top: 2px solid rgba(143, 34, 38, 0.6);
  border-radius: 2px;
}
.comment-item:nth-child(even) {
  border-top-color: rgba(196, 138, 42, 0.6);
  background: linear-gradient(165deg, rgba(30, 28, 26, 0.9), rgba(15, 15, 16, 0.9));
}
.comment-text {
  font-size: 12.4px;
  line-height: 1.72;
  color: #adb3b9;
  letter-spacing: 0.012em;
  text-align: justify;
}
.comment-nick {
  display: block;
  margin-top: 6px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: #8f6f4a;
  text-align: right;
}
.comment-nick::before {
  content: "— ";
  color: #5f6469;
}
.recommend-region {
  margin-bottom: 20px;
}
.recommend-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  color: #c3c9cf;
  text-decoration: none;
  background: linear-gradient(170deg, rgba(25, 27, 30, 0.9), rgba(13, 14, 16, 0.9));
  border: 1px solid rgba(140, 150, 160, 0.12);
  border-radius: 2px;
  transition: border-color 0.16s, transform 0.16s, background 0.16s;
}
a.recommend-item:hover {
  color: #f0e6d2;
  border-color: rgba(196, 138, 42, 0.45);
  background: linear-gradient(170deg, rgba(38, 30, 26, 0.92), rgba(16, 15, 16, 0.92));
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #0b0c0e;
  border: 1px solid rgba(150, 158, 166, 0.16);
  border-radius: 1px;
  filter: saturate(0.9) contrast(1.05);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ded9cc;
  line-height: 1.4;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.55;
  color: #8c9399;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  padding: 14px 18px 22px;
  border-top: 1px solid rgba(140, 150, 160, 0.14);
  background: linear-gradient(180deg, rgba(10, 11, 13, 0.6), rgba(6, 7, 8, 0.95));
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #9aa2a9;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #e0be76;
  border-bottom-color: rgba(196, 138, 42, 0.6);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  flex: 1 1 260px;
  min-width: 0;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #6f767c;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #8f969c;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.14s;
}
a.runtime-friend-link:hover {
  color: #c48a2a;
  text-decoration: underline;
  text-decoration-color: rgba(143, 34, 38, 0.8);
}
.disclaimer {
  flex: 1 1 100%;
  font-size: 11px;
  line-height: 1.68;
  color: #63696f;
  letter-spacing: 0.02em;
  padding-top: 8px;
  border-top: 1px dashed rgba(140, 150, 160, 0.1);
}
@media (max-width: 1080px) {.overview {
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
    grid-template-areas:
      "poster head"
      "poster player"
      "status synopsis"
      "cast cast"
      "details details";
  }}
@media (max-width: 860px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.site-header {
    padding: 9px 13px;
  }
.page-main {
    padding: 12px 13px 22px;
  }
.overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "poster"
      "player"
      "status"
      "synopsis"
      "cast"
      "details";
    gap: 12px;
    padding: 12px;
  }
.poster-wrap {
    max-width: 240px;
  }
.episode-status {
    border-right: 0;
    border-left: 2px solid rgba(143, 34, 38, 0.45);
    padding-left: 9px;
    padding-right: 0;
  }
.comment-stack {
    columns: 1;
  }
.recommend-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    padding-left: 18px;
  }
.timeline-item::before {
    left: -16px;
  }}
@media (max-width: 560px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.movie-title {
    letter-spacing: 0.14em;
  }
.cast-item {
    flex: 0 0 100px;
  }
.cast-avatar {
    height: 54px;
  }}
@media (max-width: 420px) {.player-controls {
    gap: 4px;
    padding: 6px;
  }
.player-btn {
    padding: 3px 7px;
    font-size: 11px;
  }
.player-range {
    flex: 1 1 100%;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }}

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}
