*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #d6d2cb;
  --ink-dim: #8f8a83;
  --ink-faint: #6b665f;
  --bg: #16161a;
  --bg-2: #1c1b20;
  --panel: #221f22;
  --panel-2: #2a2629;
  --red: #7d1f24;
  --red-bright: #a62b31;
  --red-deep: #4a1116;
  --line: #3a3438;
  --tape: #c9c2b3;
  --tape-ink: #2b2620;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.022) 0px,
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px,
      transparent 3px
    ),
    radial-gradient(120% 80% at 50% 0%, rgba(125, 31, 36, 0.16), transparent 62%),
    radial-gradient(90% 60% at 100% 100%, rgba(74, 17, 22, 0.28), transparent 60%);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: var(--ink); text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2 { font-weight: 700; letter-spacing: 0.02em; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 9px 16px;
  background: linear-gradient(180deg, rgba(22, 22, 26, 0.97), rgba(22, 22, 26, 0.88));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(125, 31, 36, 0.35), 0 8px 18px -14px rgba(0, 0, 0, 0.9);
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #e5ded2;
  text-decoration: none;
  text-shadow: 1.5px 0 0 rgba(166, 43, 49, 0.55), -1px 0 0 rgba(90, 130, 140, 0.35);
  border-left: 3px solid var(--red-bright);
  padding-left: 8px;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: #fff2e6; text-decoration: none; }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--red-deep);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #f0e6d8;
  background: var(--panel-2);
  border-left-color: var(--red-bright);
  text-decoration: none;
}
.page-main {
  display: block;
  padding: 12px 16px 0;
  max-width: 1360px;
  margin: 0 auto;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  grid-template-areas:
    "poster info"
    "player player";
  gap: 12px 16px;
  align-items: start;
  background:
    linear-gradient(180deg, rgba(42, 38, 41, 0.9), rgba(28, 27, 32, 0.9)),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.25) 0 1px, transparent 1px 4px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red-deep);
  padding: 12px;
  position: relative;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 46%, rgba(166, 43, 49, 0.14) 47%, transparent 48% 100%);
  z-index: 0;
}
.overview-poster-wrap {
  grid-area: poster;
  position: relative;
  z-index: 1;
  align-self: start;
  width: 100%;
  border: 1px solid #4a4147;
  background: #0f0f12;
  padding: 4px;
  box-shadow: 0 0 0 1px rgba(125, 31, 36, 0.4), 6px 6px 0 -2px rgba(0, 0, 0, 0.5);
}
.overview-poster-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.86);
}
.overview-info {
  grid-area: info;
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flow-root;
}
.movie-title {
  font-size: clamp(20px, 3.2vw, 30px);
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: #ece4d6;
  text-shadow: 2px 0 0 rgba(166, 43, 49, 0.6), -1.5px 0 0 rgba(70, 110, 120, 0.4), 0 0 18px rgba(125, 31, 36, 0.35);
  margin-bottom: 5px;
}
.movie-tagline {
  font-size: 13px;
  color: #c9a9a0;
  letter-spacing: 0.05em;
  padding: 4px 0 4px 9px;
  border-left: 2px solid var(--red-bright);
  background: linear-gradient(90deg, rgba(125, 31, 36, 0.22), transparent 70%);
  margin-bottom: 7px;
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-dim);
  margin-bottom: 10px;
  text-align: justify;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}
.status-chip {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink-dim);
  white-space: nowrap;
}
.status-chip.status-current {
  color: #f2d9d0;
  border-color: var(--red-bright);
  background: linear-gradient(180deg, rgba(166, 43, 49, 0.4), rgba(74, 17, 22, 0.5));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.status-chip.status-total { color: #cdc6ba; }
.status-chip.status-state {
  color: #b8c2bd;
  border-color: #3d4a45;
}
.section-heading {
  font-size: 14px;
  letter-spacing: 0.14em;
  color: #ddd3c4;
  text-shadow: 1.4px 0 0 rgba(166, 43, 49, 0.5);
  padding-left: 9px;
  border-left: 3px solid var(--red-bright);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  margin-left: 10px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.cast-scroller { margin-bottom: 12px; }
.cast-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 5px;
  scrollbar-width: thin;
  scrollbar-color: var(--red-deep) transparent;
}
.cast-list::-webkit-scrollbar { height: 6px; }
.cast-list::-webkit-scrollbar-track { background: #191819; }
.cast-list::-webkit-scrollbar-thumb { background: var(--red-deep); }
.cast-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  min-width: 104px;
  padding: 6px 8px 5px;
  background: linear-gradient(180deg, #2e2a2c, #232024);
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--red-deep);
  position: relative;
}
.cast-card::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 5px;
  height: 5px;
  background: #14131a;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #4a4147;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: #e2d9ca;
  letter-spacing: 0.05em;
  padding-left: 8px;
}
.cast-tape-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--tape-ink);
  background: var(--tape);
  padding: 1px 5px;
  align-self: flex-start;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
}
.detail-panel { margin-bottom: 12px; }
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 8px;
  border-bottom: 1px solid rgba(58, 52, 56, 0.55);
  border-right: 1px solid rgba(58, 52, 56, 0.35);
  background: rgba(34, 31, 34, 0.4);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.detail-value {
  font-size: 12.5px;
  color: #cfc7ba;
  min-width: 0;
  overflow-wrap: anywhere;
}
.synopsis-block { margin-bottom: 4px; }
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-dim);
  text-align: justify;
  margin-bottom: 6px;
  padding-left: 8px;
  border-left: 1px solid rgba(125, 31, 36, 0.45);
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.player-shell {
  grid-area: player;
  position: relative;
  z-index: 1;
  width: 100%;
  background: #0e0d10;
  border: 1px solid #4a4147;
  padding: 5px;
  box-shadow: 0 0 0 1px rgba(125, 31, 36, 0.35), inset 0 0 40px rgba(0, 0, 0, 0.7);
}
.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  border: 1px solid #232024;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--red-bright), 0 0 32px rgba(166, 43, 49, 0.45);
}
.player-shell.is-lights-off video {
  filter: brightness(0.55) contrast(1.15) saturate(0.7);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  padding: 5px 6px;
  background: linear-gradient(180deg, #232024, #191819);
  border: 1px solid var(--line);
}
.ctrl-btn {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  color: #cbc3b6;
  background: #2b272b;
  border: 1px solid #423b41;
  border-bottom: 2px solid #16151a;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s, background 0.14s, border-color 0.14s;
}
.ctrl-btn:hover {
  color: #f4e8d8;
  background: var(--red-deep);
  border-color: var(--red-bright);
}
.ctrl-btn.is-active {
  color: #ffe9dc;
  background: linear-gradient(180deg, var(--red-bright), var(--red-deep));
  border-color: #c9434a;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--red-bright), #3a3438);
  border: 1px solid #14131a;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 16px;
  background: var(--tape);
  border: 1px solid #14131a;
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb {
  width: 10px;
  height: 16px;
  background: var(--tape);
  border: 1px solid #14131a;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: #3a3438;
  border: 1px solid #14131a;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px;
  height: 14px;
  background: #9c9488;
  border: 1px solid #14131a;
  cursor: pointer;
}
.ctrl-volume::-moz-range-thumb {
  width: 8px;
  height: 14px;
  background: #9c9488;
  border: 1px solid #14131a;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-speed {
  font-size: 11.5px;
  padding: 3px 6px;
  color: #cbc3b6;
  background: #2b272b;
  border: 1px solid #423b41;
  cursor: pointer;
}
.timeline-section {
  margin-top: 16px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(38, 35, 38, 0.75), rgba(24, 23, 27, 0.75));
  border: 1px solid var(--line);
  border-left: 2px solid var(--red-deep);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
  gap: 8px 0;
  padding: 4px 0;
}
.timeline-track::before {
  content: "";
  grid-column: 2;
  grid-row: 1 / -1;
  width: 2px;
  justify-self: center;
  background: repeating-linear-gradient(
    180deg,
    var(--red-deep) 0 6px,
    #2a2629 6px 12px
  );
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px 9px;
  background: rgba(34, 31, 34, 0.85);
  border: 1px solid var(--line);
  min-width: 0;
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--red-bright);
  border: 1px solid #14131a;
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(166, 43, 49, 0.8);
}
.timeline-left {
  grid-column: 1;
  text-align: right;
  align-items: flex-end;
}
.timeline-left::after { right: -11px; }
.timeline-right {
  grid-column: 3;
  text-align: left;
  align-items: flex-start;
}
.timeline-right::after { left: -11px; }
.timeline-timecode {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #d2807f;
  white-space: nowrap;
}
.timeline-label {
  font-size: 13px;
  color: #ded4c5;
  overflow-wrap: anywhere;
}
.episodes-section {
  margin-top: 16px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(38, 35, 38, 0.75), rgba(24, 23, 27, 0.75));
  border: 1px solid var(--line);
  border-top: 2px solid var(--red-deep);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  background: rgba(34, 31, 34, 0.85);
  border: 1px solid var(--line);
  border-left: 3px solid #3a3438;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover { background: rgba(48, 43, 47, 0.95); border-left-color: var(--red-bright); }
.episode-number {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #b97a78;
  white-space: nowrap;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #e4dacb;
  letter-spacing: 0.04em;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
  overflow-wrap: anywhere;
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-top: auto;
  align-self: flex-start;
  border-top: 1px dashed rgba(58, 52, 56, 0.8);
  padding-top: 3px;
}
.episode-current {
  border: 1px solid var(--red);
  border-left: 3px solid var(--red-bright);
  background: linear-gradient(180deg, rgba(74, 17, 22, 0.55), rgba(34, 31, 34, 0.9));
  box-shadow: 0 0 12px -2px rgba(166, 43, 49, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.5);
}
.episode-current .episode-title { color: #f6e2d6; }
.episode-current .episode-number { color: #e08a86; }
.comments-section {
  margin-top: 16px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(38, 35, 38, 0.75), rgba(24, 23, 27, 0.75));
  border: 1px solid var(--line);
  border-right: 2px solid var(--red-deep);
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.comment-column-left { border-left: 1px solid rgba(125, 31, 36, 0.3); padding-left: 10px; }
.comment-column-right { border-right: 1px solid rgba(125, 31, 36, 0.3); padding-right: 10px; }
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 9px 7px;
  background: linear-gradient(180deg, #efeadf, #ded7c8);
  color: #2b2620;
  border: 1px solid #b5ab98;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45);
  position: relative;
  transform: rotate(-0.35deg);
}
.comment-column-right .comment-note { transform: rotate(0.4deg); }
.comment-note::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 34px;
  height: 8px;
  background: rgba(166, 43, 49, 0.55);
  border: 1px solid rgba(74, 17, 22, 0.6);
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red-deep);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #2f2a24;
  overflow-wrap: anywhere;
}
.recommend-region {
  margin-top: 16px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(38, 35, 38, 0.75), rgba(24, 23, 27, 0.75));
  border: 1px solid var(--line);
  border-top: 2px solid #3a3438;
}
.region-one { border-top-color: var(--red-bright); }
.region-two { border-top-color: #4a5f63; }
.region-three { border-top-color: var(--red-deep); }
.recommend-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
  display: flex;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 6px;
  background: rgba(34, 31, 34, 0.9);
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--red-deep);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
a[data-runtime="recommendation"]:hover {
  background: rgba(52, 46, 50, 0.95);
  border-color: var(--red-bright);
  text-decoration: none;
  transform: translateY(-1px);
}
a[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border: 1px solid #14131a;
  filter: contrast(1.05) saturate(0.85);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  color: #ddd3c4;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-faint);
  overflow-wrap: anywhere;
}
.site-footer {
  margin-top: 20px;
  padding: 14px 16px 18px;
  background: linear-gradient(180deg, rgba(24, 23, 27, 0.9), #121116);
  border-top: 1px solid var(--red-deep);
  box-shadow: inset 0 1px 0 rgba(166, 43, 49, 0.25);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-faint);
  max-width: 900px;
}
.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.06em;
  color: #b3aca0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f0e3d3;
  text-decoration: none;
  border-bottom-color: var(--red-bright);
}
a[data-contract="footer-home"] { color: #c9a9a0; }
a[data-contract="footer-sitemap"] { color: #9aa6a1; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding-top: 7px;
  border-top: 1px dashed rgba(58, 52, 56, 0.8);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #8d8880;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #d6b8ac;
  text-decoration: underline;
}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-strip { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }}
@media (max-width: 680px) {body { font-size: 13px; }
.page-main { padding: 10px 10px 0; }
.site-header { padding: 8px 10px; gap: 8px; }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "info"
      "player";
    gap: 10px;
    padding: 10px;
  }
.overview-poster-wrap { max-width: 220px; }
.detail-list { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.timeline-track {
    grid-template-columns: 2px minmax(0, 1fr);
  }
.timeline-track::before { grid-column: 1; }
.timeline-left, .timeline-right {
    grid-column: 2;
    text-align: left;
    align-items: flex-start;
    margin-left: 14px;
  }
.timeline-left::after, .timeline-right::after { left: -18px; right: auto; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comments-columns { grid-template-columns: minmax(0, 1fr); }
.comment-column-left { border-left: none; padding-left: 0; }
.comment-column-right { border-right: none; padding-right: 0; }
.recommend-strip { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.player-controls { gap: 5px; }
.ctrl-btn { padding: 3px 7px; font-size: 11px; }
.ctrl-progress { flex: 1 1 100%; }}
@media (max-width: 400px) {.movie-title { font-size: 19px; }
.recommend-strip { grid-template-columns: minmax(0, 1fr); }
a[data-runtime="recommendation"] img { aspect-ratio: 16 / 10; }}

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}
