*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #140f0a;
  background-image:
    radial-gradient(120% 80% at 15% 0%, rgba(196, 138, 62, 0.16), transparent 55%),
    radial-gradient(90% 70% at 100% 100%, rgba(74, 84, 44, 0.18), transparent 60%);
  color: #e8dcc6;
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #d8b070;
  text-decoration: none;
}
button, input, select, label {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
:focus-visible {
  outline: 2px solid #b5421f;
  outline-offset: 2px;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 10px 16px;
  background: linear-gradient(180deg, #1d150d 0%, #191209 100%);
  border-bottom: 1px solid rgba(190, 140, 70, 0.28);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
a[data-contract="site-name"] {
  color: #f0e0c2;
  text-decoration: none;
  font-family: Georgia, "Songti SC", "Noto Serif SC", serif;
  font-size: 1.28rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  white-space: nowrap;
  border-left: 3px solid #b5421f;
  padding-left: 9px;
  line-height: 1.15;
}
a[data-contract="site-name"]:hover {
  color: #d8b070;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #cbb488;
  text-decoration: none;
  border: 1px solid rgba(190, 140, 70, 0.32);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}
a.runtime-category:hover {
  color: #f0e0c2;
  background: rgba(181, 66, 31, 0.28);
  border-color: #b5421f;
}
.page-main {
  display: block;
  padding: 0 16px 30px;
  max-width: 1240px;
  margin: 0 auto;
}
.hero-poster-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  grid-template-areas:
    "poster title"
    "poster blurb"
    "poster player"
    "strip strip"
    "epstat epstat"
    "cast cast"
    "synopsis synopsis";
  column-gap: 22px;
  row-gap: 12px;
  align-items: start;
  padding: 18px 0 4px;
  border-bottom: 1px solid rgba(190, 140, 70, 0.22);
}
.poster-media-wrapper {
  grid-area: poster;
  align-self: start;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(190, 140, 70, 0.3);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.95);
  background: #0d0906;
}
.poster-media-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.86);
}
.hero-title-group {
  grid-area: title;
  align-self: end;
  padding-top: 4px;
  border-bottom: 1px solid rgba(190, 140, 70, 0.2);
  padding-bottom: 10px;
}
.movie-title {
  font-family: Georgia, "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: 0.05em;
  color: #f4e8d0;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.85);
}
.movie-tagline {
  margin-top: 8px;
  font-family: Georgia, "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(0.9rem, 1.5vw, 1.12rem);
  letter-spacing: 0.16em;
  color: #b5421f;
  text-transform: none;
  padding-left: 12px;
  border-left: 2px solid rgba(181, 66, 31, 0.7);
}
.hero-seo-blurb {
  grid-area: blurb;
  max-width: 62ch;
}
.seo-description {
  font-size: 0.86rem;
  line-height: 1.85;
  color: #b9a888;
  padding-left: 13px;
  border-left: 1px solid rgba(190, 140, 70, 0.34);
}
.hero-player-wrapper {
  grid-area: player;
  position: relative;
  width: 100%;
  margin-top: 4px;
  background: #0b0805;
  border: 1px solid rgba(190, 140, 70, 0.3);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.hero-player-wrapper video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}
.player-control-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding: 7px 9px;
  background: linear-gradient(180deg, #241a10 0%, #1a120a 100%);
  border-top: 1px solid rgba(190, 140, 70, 0.26);
}
.player-btn {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: #d6c29a;
  padding: 4px 9px;
  border: 1px solid rgba(190, 140, 70, 0.34);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.player-btn:hover {
  background: rgba(181, 66, 31, 0.3);
  color: #f4e8d0;
  border-color: #b5421f;
}
.player-btn.is-active, .player-btn.is-playing {
  background: #b5421f;
  color: #150e07;
  border-color: #b5421f;
}
.player-btn.is-muted {
  color: #7d6a4a;
  border-style: dashed;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: linear-gradient(90deg, #b5421f, #6b4a20 60%, #3a2c18);
  border: 1px solid rgba(190, 140, 70, 0.3);
  cursor: pointer;
}
.player-range-progress {
  flex: 1 1 130px;
  min-width: 90px;
}
.player-range-volume {
  flex: 0 1 84px;
  min-width: 64px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 15px;
  background: #e8dcc6;
  border: 1px solid #6b4a20;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%);
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 15px;
  border-radius: 0;
  background: #e8dcc6;
  border: 1px solid #6b4a20;
}
.player-speed-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: #b9a888;
  white-space: nowrap;
}
.player-speed-select {
  background: #1a120a;
  color: #d6c29a;
  border: 1px solid rgba(190, 140, 70, 0.34);
  padding: 3px 4px;
  font-size: 0.74rem;
}
.player-speed-select.is-altered {
  color: #e8a06a;
  border-color: #b5421f;
}
.hero-player-wrapper.is-theater {
  grid-area: player;
  background: #050403;
  border-color: #b5421f;
}
.hero-player-wrapper.is-theater video {
  max-height: 74vh;
}
body.lights-off {
  background-color: #060402;
}
body.lights-off .page-main {
  background: transparent;
}
.details-strip {
  grid-area: strip;
  margin-top: 8px;
  width: 100%;
  border-top: 1px solid rgba(190, 140, 70, 0.45);
  border-bottom: 1px solid rgba(190, 140, 70, 0.45);
  background: linear-gradient(90deg, rgba(36, 26, 16, 0.85), rgba(22, 16, 9, 0.6));
  padding: 8px 12px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 3px 20px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 2px 0;
  border-bottom: 1px dotted rgba(190, 140, 70, 0.16);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #8f7c5c;
  white-space: nowrap;
}
.detail-key::after {
  content: "·";
  margin-left: 6px;
  color: rgba(181, 66, 31, 0.75);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.8rem;
  color: #e0d0b2;
  line-height: 1.4;
}
.episode-status {
  grid-area: epstat;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 7px 12px;
  border-left: 3px solid #b5421f;
  background: rgba(181, 66, 31, 0.1);
}
.status-current {
  font-family: Georgia, "Songti SC", serif;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: #e8a06a;
}
.status-total {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: #a08c68;
}
.cast-rail {
  grid-area: cast;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(190, 140, 70, 0.22);
}
.cast-heading, .synopsis-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-family: Georgia, "Songti SC", "Noto Serif SC", serif;
  font-size: 1.02rem;
  letter-spacing: 0.2em;
  color: #f0e2c6;
  padding-left: 11px;
  border-left: 3px solid #b5421f;
  margin-bottom: 9px;
  line-height: 1.3;
}
.cast-card-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #6b4a20 transparent;
}
.cast-card-list::-webkit-scrollbar {
  height: 6px;
}
.cast-card-list::-webkit-scrollbar-thumb {
  background: #6b4a20;
}
.cast-card {
  flex: 0 0 auto;
  min-width: 116px;
  padding: 8px 12px 10px;
  background: linear-gradient(160deg, #2a1e12 0%, #1a120a 100%);
  border: 1px solid rgba(190, 140, 70, 0.28);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.cast-name {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #e4d4b4;
  white-space: nowrap;
}
.synopsis-block {
  grid-area: synopsis;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(190, 140, 70, 0.22);
}
.synopsis-para {
  font-size: 0.84rem;
  line-height: 1.9;
  color: #b7a684;
  padding: 7px 0 7px 13px;
  border-left: 1px solid rgba(190, 140, 70, 0.3);
}
.synopsis-para + .synopsis-para {
  border-top: 1px solid rgba(190, 140, 70, 0.14);
}
.timeline-section {
  padding: 20px 0 16px;
  border-bottom: 1px solid rgba(190, 140, 70, 0.22);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0 10px;
  padding: 6px 0 4px;
  border-top: 1px solid rgba(190, 140, 70, 0.4);
  border-bottom: 1px solid rgba(190, 140, 70, 0.4);
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(190, 140, 70, 0.55) 0 14px,
    rgba(190, 140, 70, 0.14) 14px 26px
  );
  pointer-events: none;
}
.timeline-node {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 6px 6px 6px 12px;
  border-left: 2px solid rgba(190, 140, 70, 0.5);
  background: rgba(20, 15, 10, 0.86);
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: #c48a3e;
}
.timeline-node-up {
  align-self: end;
  margin-bottom: 46px;
}
.timeline-node-down {
  align-self: start;
  margin-top: 46px;
}
.timeline-node-turn {
  border-left-color: #b5421f;
}
.timeline-node-turn::before {
  background: #b5421f;
  box-shadow: 0 0 0 3px rgba(181, 66, 31, 0.24);
}
.timeline-timecode {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: #d8b070;
  margin-bottom: 3px;
  white-space: nowrap;
}
.timeline-label {
  display: block;
  font-size: 0.74rem;
  line-height: 1.55;
  color: #a9987a;
}
.episodes-section {
  padding: 18px 0 16px;
  border-bottom: 1px solid rgba(190, 140, 70, 0.22);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 0 22px;
}
.episode-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num summary"
    "num duration";
  column-gap: 12px;
  align-items: start;
  padding: 8px 0 9px;
  border-bottom: 1px solid rgba(190, 140, 70, 0.16);
}
.episode-number {
  grid-area: num;
  font-family: Georgia, "Songti SC", serif;
  font-size: 2.5rem;
  line-height: 0.9;
  font-weight: 700;
  color: #140f0a;
  background: #e4d4b4;
  padding: 2px 7px 4px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16% 100%, 0 78%);
  letter-spacing: -0.02em;
}
.episode-title {
  grid-area: title;
  font-family: Georgia, "Songti SC", serif;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  color: #f0e2c6;
  margin-bottom: 2px;
}
.episode-summary {
  grid-area: summary;
  font-size: 0.78rem;
  line-height: 1.62;
  color: #a9987a;
  padding-left: 8px;
  border-left: 1px solid rgba(190, 140, 70, 0.24);
}
.episode-duration {
  grid-area: duration;
  margin-top: 4px;
  padding-left: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: #b5421f;
}
.comments-section {
  padding: 18px 0 16px;
  border-bottom: 1px solid rgba(190, 140, 70, 0.22);
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 8px 16px;
  align-items: start;
}
.comment-card {
  padding: 8px 10px 9px;
  background: rgba(30, 22, 14, 0.72);
  border: 1px solid rgba(190, 140, 70, 0.22);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.comment-card-a {
  border-left: 2px solid #c48a3e;
}
.comment-card-b {
  border-left: 2px solid #5d6b34;
  margin-top: 14px;
}
.comment-grid > .comment-card-b:first-child {
  margin-top: 0;
}
.comment-nickname {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #d8b070;
  margin-bottom: 4px;
}
.comment-nickname::before {
  content: "— ";
  color: #b5421f;
}
.comment-text {
  font-size: 0.79rem;
  line-height: 1.68;
  color: #b7a684;
}
.recommend-region {
  padding: 16px 0 10px;
  border-bottom: 1px solid rgba(190, 140, 70, 0.22);
}
.recommend-region:last-of-type {
  border-bottom: 0;
}
.recommend-heading {
  margin-bottom: 7px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px 10px;
  align-items: start;
}
.recommend-card {
  display: block;
  background: rgba(28, 20, 13, 0.78);
  border: 1px solid rgba(190, 140, 70, 0.24);
  padding: 0 0 7px;
  color: #d6c29a;
  text-decoration: none;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: border-color 0.15s, background 0.15s;
}
.recommend-card:hover {
  border-color: #b5421f;
  background: rgba(48, 30, 18, 0.85);
  color: #f4e8d0;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0b0805;
  filter: saturate(0.8) contrast(1.05) brightness(0.88);
}
.recommend-card [data-runtime="name"] {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #e6d6b6;
  padding: 6px 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-card [data-runtime="blurb"] {
  display: block;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #9c8b6c;
  padding: 2px 8px 0;
}
.site-footer {
  margin-top: 8px;
  padding: 16px 16px 26px;
  background: linear-gradient(180deg, #191209 0%, #0d0906 100%);
  border-top: 1px solid rgba(190, 140, 70, 0.3);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: flex-start;
}
.footer-disclaimer {
  flex: 1 1 300px;
  font-size: 0.72rem;
  line-height: 1.7;
  color: #7d6a4a;
  max-width: 62ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #cbb488;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(190, 140, 70, 0.34);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f0e0c2;
  border-bottom-color: #b5421f;
}
a[data-contract="footer-sitemap"] {
  color: #9c8b6c;
}
.friend-links {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(190, 140, 70, 0.16);
}
.friend-links-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: #8f7c5c;
  padding-right: 8px;
  border-right: 1px solid rgba(190, 140, 70, 0.3);
  white-space: nowrap;
}
a.runtime-friend-link {
  color: #9c8b6c;
  text-decoration: none;
  font-size: 0.74rem;
  white-space: nowrap;
  padding: 1px 0;
  border-bottom: 1px dotted rgba(190, 140, 70, 0.28);
}
a.runtime-friend-link:hover {
  color: #d8b070;
  border-bottom-color: #b5421f;
}
@media (max-width: 980px) {.hero-poster-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "poster title"
      "poster blurb"
      "player player"
      "strip strip"
      "epstat epstat"
      "cast cast"
      "synopsis synopsis";
    column-gap: 16px;
  }
.timeline-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 16px;
  }
.timeline-node-up, .timeline-node-down {
    margin-top: 0;
    margin-bottom: 0;
  }
.timeline-track::before {
    display: none;
  }}
@media (max-width: 720px) {body {
    font-size: 14px;
  }
.site-header {
    padding: 8px 12px;
    gap: 6px 12px;
  }
a[data-contract="site-name"] {
    font-size: 1.05rem;
  }
.page-main {
    padding: 0 12px 22px;
  }
.hero-poster-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
  }
.poster-media-wrapper {
    width: min(74vw, 300px);
    max-width: 100%;
    align-self: center;
  }
.hero-seo-blurb {
    max-width: none;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card-b {
    margin-top: 0;
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 14px;
  }
.site-footer {
    padding: 14px 12px 22px;
  }}
@media (max-width: 420px) {.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-number {
    font-size: 2rem;
  }
.movie-tagline {
    letter-spacing: 0.1em;
  }}

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}
