:root {
  --bg-void: #0a0d0e;
  --bg-panel: #111718;
  --bg-panel-2: #161e20;
  --bg-raised: #1c2628;
  --ink: #c8d2cf;
  --ink-dim: #7f8c88;
  --ink-faint: #57625f;
  --steel: #4a5f63;
  --steel-line: #2a3739;
  --rust: #8c3a2a;
  --rust-bright: #c14a33;
  --rust-glow: #e05a3c;
  --fluo: #58e07a;
  --fluo-dim: #2e7a44;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "SFMono-Regular", "Consolas", "Menlo", "Courier New", monospace;
  --pad: 8px;
  --gap: 6px;
  --radius: 2px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  background: var(--bg-void);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  background:
    repeating-linear-gradient(0deg, rgba(74, 95, 99, 0.04) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 120% 80% at 20% -10%, rgba(74, 95, 99, 0.18), transparent 60%),
    var(--bg-void);
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ink);
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 7px 12px;
  background: linear-gradient(180deg, #131b1d, #0d1314);
  border-bottom: 1px solid var(--steel-line);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}
a[data-contract="site-name"] {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--rust-glow);
  text-decoration: none;
  text-shadow: 0 0 8px rgba(224, 90, 60, 0.35);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--fluo);
  text-shadow: 0 0 10px rgba(88, 224, 122, 0.45);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--steel-line);
  background: rgba(74, 95, 99, 0.08);
  border-radius: var(--radius);
}
a.runtime-category:hover {
  color: var(--fluo);
  border-color: var(--fluo-dim);
  background: rgba(88, 224, 122, 0.08);
}
.page-main {
  display: block;
  padding: 10px 12px 22px;
  max-width: 1440px;
  margin: 0 auto;
}
.movie-shell {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(74, 95, 99, 0.14), rgba(10, 13, 14, 0.2) 55%),
    var(--bg-panel);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  padding: 10px;
  position: relative;
  overflow: hidden;
}
.movie-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 96%, rgba(88, 224, 122, 0.05) 96% 100%),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(74, 95, 99, 0.07) 22px 23px);
  pointer-events: none;
}
.poster-column {
  position: relative;
  z-index: 1;
  align-self: start;
}
.poster-frame {
  position: relative;
  border: 1px solid var(--steel);
  background: #05090a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 6px 18px rgba(0, 0, 0, 0.6);
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08) brightness(0.92);
}
.overview-column {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.title-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  border-left: 3px solid var(--rust-bright);
  padding-left: 9px;
}
.movie-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #e8efec;
  text-shadow: 0 1px 0 #000, 0 0 14px rgba(193, 74, 51, 0.3);
}
.movie-tagline {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--rust-glow);
  font-weight: 600;
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  min-width: 0;
  background: #05090a;
  border: 1px solid var(--steel-line);
  padding: 4px;
  border-radius: var(--radius);
}
.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.control-btn {
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: linear-gradient(180deg, #1e2a2c, #141d1f);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  padding: 3px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.control-btn:hover {
  color: var(--fluo);
  border-color: var(--fluo-dim);
}
.control-btn.is-active, .control-btn.is-playing {
  color: #08110b;
  background: var(--fluo);
  border-color: var(--fluo);
}
.control-btn.is-muted {
  color: var(--rust-glow);
  border-color: var(--rust);
}
.control-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 60px;
  height: 4px;
  background: var(--steel);
  border-radius: 2px;
  cursor: pointer;
  accent-color: var(--rust-bright);
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--rust-glow);
  border: 1px solid #000;
  box-shadow: 0 0 6px rgba(224, 90, 60, 0.7);
}
.control-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #000;
  border-radius: 50%;
  background: var(--rust-glow);
}
.control-select {
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink);
  background: #141d1f;
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  padding: 3px 4px;
  cursor: pointer;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--rust-bright), 0 0 24px rgba(193, 74, 51, 0.35);
}
body.lights-off {
  background: #000;
}
body.lights-off .movie-shell, body.lights-off .timeline-panel, body.lights-off .episode-grid-panel, body.lights-off .comment-stack-panel, body.lights-off .reco-region {
  filter: brightness(0.45);
  transition: filter 0.3s;
}
body.lights-off .player-shell {
  filter: brightness(1.15);
}
.cast-strip {
  border-top: 1px solid var(--steel-line);
  padding-top: 7px;
}
.cast-heading, .synopsis-heading, .detail-heading, .timeline-heading, .episode-heading, .comment-heading, .reco-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--rust-glow);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cast-heading::before, .synopsis-heading::before, .detail-heading::before, .timeline-heading::before, .episode-heading::before, .comment-heading::before {
  content: "";
  width: 12px;
  height: 2px;
  background: var(--rust-bright);
  flex: none;
}
.cast-list {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 7px 2px 5px;
  scrollbar-width: thin;
  scrollbar-color: var(--steel) transparent;
}
.cast-list::-webkit-scrollbar {
  height: 5px;
}
.cast-list::-webkit-scrollbar-thumb {
  background: var(--steel);
  border-radius: 3px;
}
.cast-item {
  flex: 0 0 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
  padding: 6px 4px;
  background: rgba(22, 30, 32, 0.85);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
}
.cast-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  background:
    radial-gradient(circle at 34% 30%, rgba(88, 224, 122, 0.5), transparent 42%),
    radial-gradient(circle at 50% 50%, #2e3a3c, #131c1e 70%);
  border: 1px solid var(--steel);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.8), 0 0 6px rgba(74, 95, 99, 0.4);
}
.cast-name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #e2eae7;
}
.cast-role {
  font-size: 10px;
  line-height: 1.4;
  color: var(--ink-dim);
}
.synopsis-block {
  border-top: 1px solid var(--steel-line);
  padding-top: 7px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 14px;
  align-items: start;
}
.synopsis-heading {
  grid-column: 1 / -1;
}
.synopsis-text {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  text-align: justify;
  border-left: 1px solid var(--steel-line);
  padding-left: 8px;
}
.synopsis-text:first-of-type {
  color: var(--ink);
  border-left-color: var(--rust);
}
.episode-status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--steel-line);
  background: linear-gradient(90deg, rgba(140, 58, 42, 0.18), transparent 70%), var(--bg-panel-2);
  border-radius: var(--radius);
}
.status-item {
  flex: 1 1 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 5px 10px;
  border-right: 1px solid var(--steel-line);
  white-space: nowrap;
}
.status-item:last-child {
  border-right: 0;
}
.status-item:nth-child(2) {
  color: var(--rust-glow);
}
.status-item:nth-child(4) {
  color: var(--fluo);
  font-family: var(--mono);
}
.detail-panel {
  border-top: 1px solid var(--steel-line);
  padding-top: 7px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 3px 12px;
  margin-top: 6px;
  align-items: start;
}
.detail-grid dt {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-transform: uppercase;
  grid-column: 1;
  padding-top: 3px;
}
.detail-grid dd {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px dotted var(--steel-line);
}
.timeline-panel {
  margin-top: 12px;
  border: 1px solid var(--steel-line);
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 9px 10px 10px;
  position: relative;
}
.timeline-scale {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 2px 0;
  margin-top: 8px;
  position: relative;
  border-left: 2px solid var(--steel);
  padding-left: 0;
}
.timeline-tick {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 4px 8px 4px 16px;
  border-bottom: 1px solid var(--steel-line);
}
.timeline-tick::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 8px;
  width: 10px;
  height: 1px;
  background: var(--steel);
}
.tick-timecode {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--steel);
}
.tick-label {
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-dim);
}
.timeline-tick-active {
  background: linear-gradient(90deg, rgba(193, 74, 51, 0.28), transparent 85%);
  border-bottom-color: var(--rust);
}
.timeline-tick-active::before {
  left: -2px;
  top: 5px;
  width: 12px;
  height: 2px;
  background: var(--rust-glow);
  box-shadow: 0 0 8px rgba(224, 90, 60, 0.9);
}
.timeline-tick-active .tick-timecode {
  color: var(--rust-glow);
  text-shadow: 0 0 8px rgba(224, 90, 60, 0.5);
}
.timeline-tick-active .tick-label {
  color: #e6d6d1;
  font-weight: 700;
}
.episode-grid-panel {
  margin-top: 12px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 6px;
  margin-top: 7px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px 7px 12px;
  background: var(--bg-panel-2);
  border: 1px solid var(--steel-line);
  border-left: 3px solid var(--steel);
  border-radius: var(--radius);
  cursor: default;
  transition: background 0.15s, border-color 0.15s;
}
.episode-card:hover {
  background: #1b2628;
  border-left-color: var(--fluo);
}
.episode-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #e2eae7;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.episode-summary {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.22s ease, opacity 0.22s ease, margin 0.22s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 140px;
  opacity: 1;
  margin-top: 2px;
}
.episode-card-active {
  background: linear-gradient(135deg, rgba(193, 74, 51, 0.3), rgba(22, 30, 32, 0.95) 70%);
  border-color: var(--rust);
  border-left-color: var(--rust-glow);
  box-shadow: 0 0 0 1px rgba(193, 74, 51, 0.35), 0 0 14px rgba(193, 74, 51, 0.18);
}
.episode-card-active .episode-title {
  color: var(--rust-glow);
}
.episode-card-active .episode-duration {
  color: #d8a99e;
}
.episode-card-active .episode-summary {
  max-height: 140px;
  opacity: 1;
  margin-top: 2px;
  color: #ddc9c3;
}
.comment-stack-panel {
  margin-top: 12px;
  border-top: 1px solid var(--steel-line);
  padding-top: 8px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  margin-top: 9px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background:
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(74, 95, 99, 0.12) 17px 18px),
    #e8e2d4;
  color: #23292a;
  border-radius: 2px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.55);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.comment-card::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 34px;
  height: 9px;
  background: rgba(88, 224, 122, 0.28);
  border: 1px solid rgba(88, 224, 122, 0.35);
}
.comment-card:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7);
  z-index: 3;
}
.comment-card-tilt-a {
  transform: rotate(-1.3deg);
}
.comment-card-tilt-b {
  transform: rotate(1.1deg);
}
.comment-card-tilt-c {
  transform: rotate(-0.6deg);
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #6b2a1c;
  border-bottom: 1px solid rgba(35, 41, 42, 0.22);
  padding-bottom: 2px;
}
.comment-text {
  font-size: 11px;
  line-height: 1.6;
  color: #2c3334;
}
.reco-region {
  margin-top: 12px;
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  padding: 9px 10px 10px;
  position: relative;
}
.reco-region-a {
  background: linear-gradient(135deg, rgba(140, 58, 42, 0.14), transparent 60%), var(--bg-panel);
}
.reco-region-b {
  background: linear-gradient(135deg, rgba(74, 95, 99, 0.2), transparent 60%), var(--bg-panel);
}
.reco-region-c {
  background: linear-gradient(135deg, rgba(46, 122, 68, 0.14), transparent 60%), var(--bg-panel);
}
.reco-heading {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.28em;
  font-size: 11.5px;
  padding: 4px 0;
  border-right: 2px solid var(--rust-bright);
  float: left;
  margin-right: 10px;
  color: #e6d6d1;
  max-height: 100%;
}
.reco-region-b .reco-heading {
  border-right-color: var(--steel);
}
.reco-region-c .reco-heading {
  border-right-color: var(--fluo-dim);
}
.reco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
  align-items: start;
  overflow: hidden;
}
.reco-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 5px;
  background: rgba(10, 13, 14, 0.75);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.reco-card:hover {
  border-color: var(--rust-bright);
  background: rgba(28, 38, 40, 0.9);
  transform: translateY(-1px);
}
.reco-region-c .reco-card:hover {
  border-color: var(--fluo-dim);
}
[data-runtime="recommendation"] img, .reco-pic {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #05090a;
  border: 1px solid #000;
  filter: saturate(0.95) contrast(1.05) brightness(0.9);
}
.reco-name {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #e2eae7;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reco-blurb {
  font-size: 10px;
  line-height: 1.5;
  color: var(--ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--steel-line);
  background: linear-gradient(180deg, #0d1314, #070a0b);
  padding: 12px;
  margin-top: 16px;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  white-space: nowrap;
}
a[data-contract="footer-home"] {
  color: var(--fluo);
  border-color: var(--fluo-dim);
}
a[data-contract="footer-sitemap"] {
  color: var(--rust-glow);
  border-color: var(--rust);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  background: rgba(74, 95, 99, 0.2);
  color: #fff;
}
.footer-friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 7px;
  flex: 1 1 300px;
  min-width: 0;
}
.friend-links-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  text-transform: uppercase;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 10.5px;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 1px 5px;
  border-bottom: 1px dotted var(--steel);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--fluo);
  border-bottom-color: var(--fluo);
}
.footer-disclaimer {
  flex: 1 1 100%;
  font-size: 10px;
  line-height: 1.6;
  color: var(--ink-faint);
  border-top: 1px solid var(--steel-line);
  padding-top: 6px;
  margin-top: 2px;
}
@media (max-width: 900px) {.movie-shell {
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
  }
.movie-title {
    font-size: 19px;
  }
.synopsis-block {
    grid-template-columns: 1fr;
  }}
@media (max-width: 680px) {body {
    font-size: 12.5px;
  }
.page-main {
    padding: 8px 8px 18px;
  }
.movie-shell {
    grid-template-columns: 1fr;
    padding: 8px;
    gap: 10px;
  }
.poster-column {
    max-width: 200px;
  }
.movie-title {
    font-size: 17px;
  }
.timeline-scale {
    grid-template-columns: 1fr;
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
.comment-stack {
    grid-template-columns: 1fr;
  }
.comment-card-tilt-a, .comment-card-tilt-b, .comment-card-tilt-c {
    transform: rotate(0deg);
  }
.reco-heading {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    float: none;
    border-right: 0;
    border-left: 3px solid var(--rust-bright);
    padding-left: 7px;
    margin-right: 0;
    margin-bottom: 7px;
    max-height: none;
  }
.reco-region-b .reco-heading {
    border-left-color: var(--steel);
  }
.reco-region-c .reco-heading {
    border-left-color: var(--fluo-dim);
  }
.reco-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }}
@media (max-width: 420px) {.cast-item {
    flex-basis: 112px;
  }
.episode-grid {
    grid-template-columns: 1fr;
  }
.reco-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.status-item {
    flex: 1 1 45%;
  }
.detail-grid {
    grid-template-columns: repeat(2, 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}
