*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #1a0d0d;
  color: #d8cfc4;
  line-height: 1.45;
  font-size: 15px;
  letter-spacing: 0.01em;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 800; line-height: 1.2; }
header { background: #120808; border-bottom: 1px solid #3a1f1f; position: sticky; top: 0; z-index: 100; }
.header-shell { display: flex; align-items: center; gap: 1.5rem; padding: 0.65rem 1rem; max-width: 1400px; margin: 0 auto; }
.brand-mark {
  font-size: 1.15rem; font-weight: 900; letter-spacing: 0.08em; color: #e8d5c0;
  white-space: nowrap; text-transform: uppercase; line-height: 1;
}
.brand-mark:hover { color: #f0b88a; }
.category-strip { display: flex; flex-wrap: nowrap; gap: 0.25rem; overflow-x: auto; flex: 1; scrollbar-width: thin; }
.runtime-category {
  display: inline-block; padding: 0.35rem 0.7rem; font-size: 0.85rem; font-weight: 600;
  color: #b8a89a; border-radius: 2px; white-space: nowrap; background: transparent;
  border: 1px solid transparent; transition: all 0.15s;
}
.runtime-category:hover { color: #f0b88a; background: #2a1515; border-color: #5a2a2a; }
.movie-overview-panel {
  display: grid; grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) minmax(480px, 1fr);
  gap: 1.25rem; padding: 1.5rem 1rem; max-width: 1400px; margin: 0 auto;
  background: linear-gradient(135deg, #1a0d0d 0%, #231212 100%);
  border-bottom: 1px solid #3a1f1f;
  position: relative;
}
.movie-overview-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 20% 10%, rgba(180, 40, 40, 0.12), transparent 60%);
}
.poster-media-wrap { position: relative; align-self: start; }
.poster-media-wrap::after {
  content: "REC ●"; position: absolute; top: 8px; right: 8px; font-size: 0.7rem; font-weight: 700;
  color: #ff5555; background: rgba(0,0,0,0.6); padding: 2px 6px; letter-spacing: 0.1em; border: 1px solid #ff5555;
  animation: blink 2s infinite;
}
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.4; } }
.poster-img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border: 1px solid #3a1f1f; box-shadow: 8px 8px 24px rgba(0,0,0,0.5); }
.overview-info-group {
  display: flex; flex-direction: column; gap: 0.9rem; align-self: start;
  min-width: 0; 
  background: rgba(20, 10, 10, 0.6); border: 1px solid #2e1a1a; padding: 1rem 1.2rem;
  border-left: 3px solid #7a2a2a;
}
.movie-title { font-size: 1.5rem; font-weight: 900; color: #f0e0d0; letter-spacing: 0.02em; line-height: 1.25; }
.tagline { font-size: 0.9rem; color: #b07050; font-weight: 600; letter-spacing: 0.05em; }
.seo-desc { font-size: 0.82rem; color: #9a8a7a; line-height: 1.5; }
.synopsis-block { border-top: 1px solid #2e1a1a; padding-top: 0.7rem; }
.synopsis-text-lines {
  writing-mode: vertical-rl; text-orientation: mixed;
  max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: 0.25rem;
  padding-right: 0.5rem; font-size: 0.88rem; line-height: 1.7; color: #c5b8ab;
}
.synopsis-text-lines p { margin: 0; }
.synopsis-text-lines::-webkit-scrollbar { width: 4px; }
.synopsis-text-lines::-webkit-scrollbar-thumb { background: #5a2a2a; }
.cast-module { border-top: 1px solid #2e1a1a; padding-top: 0.7rem; }
.fragment-heading {
  font-size: 0.95rem; font-weight: 800; color: #d8a080; margin-bottom: 0.5rem;
  letter-spacing: 0.12em; text-transform: uppercase; display: flex; align-items: center; gap: 0.5rem;
}
.fragment-heading::before { content: "//"; color: #7a2a2a; font-weight: 700; }
.cast-horizontal-scroll { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cast-card {
  display: inline-flex; align-items: center; padding: 0.4rem 0.8rem;
  background: #2a1818; border: 1px solid #3a1f1f; color: #d8cfc4;
  font-size: 0.85rem; font-weight: 600; transition: all 0.15s; border-radius: 2px;
}
.cast-card::before { content: "◈"; color: #7a2a2a; margin-right: 0.4rem; font-size: 0.7rem; }
.cast-card:hover { background: #3a2020; border-color: #7a2a2a; color: #f0b88a; transform: translateY(-1px); }
.actor-name { line-height: 1; }
.details-spec-list { border-top: 1px solid #2e1a1a; padding-top: 0.7rem; }
.meta-grid { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; font-size: 0.8rem; }
.meta-grid li { display: contents; }
.meta-label { color: #9a7a6a; font-weight: 600; }
.meta-value { color: #d8cfc4; }
.episode-progress-indicator {
  display: flex; align-items: baseline; gap: 0.5rem; border-top: 1px solid #2e1a1a; padding-top: 0.7rem;
}
.progress-label { font-size: 0.8rem; color: #9a7a6a; font-weight: 600; }
.current-ep-number { font-size: 2rem; font-weight: 900; color: #e8a87a; line-height: 1; }
.progress-total { font-size: 0.9rem; color: #7a6a5a; }
.player-stage {
  background: #0d0505; border: 1px solid #3a1f1f; padding: 0.5rem;
  align-self: start; min-width: 0; position: relative;
}
.player-stage video { background: #000; border: 1px solid #2a1515; }
.player-control-bar {
  display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.5rem;
  padding-top: 0.5rem; border-top: 1px solid #2a1515;
}
.ctrl-btn {
  background: #1a0d0d; color: #b8a89a; border: 1px solid #3a1f1f;
  padding: 0.3rem 0.6rem; font-size: 0.72rem; font-weight: 600; cursor: pointer;
  transition: all 0.12s; border-radius: 2px; font-family: inherit;
}
.ctrl-btn:hover { background: #2a1515; color: #f0b88a; border-color: #7a2a2a; }
.ctrl-progress {
  flex: 1; min-width: 80px; background: #1a0d0d; border: 1px solid #3a1f1f;
  padding: 0.3rem 0.6rem; font-size: 0.72rem; color: #9a8a7a; display: inline-flex; align-items: center;
  cursor: default; border-radius: 2px;
}
.theater-mode { max-width: 100% !important; }
.theater-mode video { aspect-ratio: 16 / 9 !important; }
.lights-low { background: #000 !important; }
.lights-low .movie-overview-panel, .lights-low .timeline-vessel, .lights-low .episodes-grid-wrap, .lights-low .comments-dialog, .lights-low .rec-region, .lights-low .site-footer {
  filter: brightness(0.5); transition: filter 0.3s;
}
.lights-low .player-stage { filter: brightness(1); }
.timeline-vessel { max-width: 1400px; margin: 0 auto; padding: 1.5rem 1rem; border-bottom: 1px solid #2e1a1a; }
.timeline-curve {
  position: relative; display: flex; flex-direction: column; gap: 0.75rem; padding-left: 2rem;
}
.timeline-curve::before {
  content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, #7a2a2a 0%, #b05050 30%, #7a2a2a 60%, #3a1f1f 100%);
  border-radius: 1px;
}
.timeline-curve::after {
  content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 10px;
  background: radial-gradient(circle at center, rgba(180, 60, 60, 0.3), transparent 70%);
  filter: blur(3px); pointer-events: none;
}
.timeline-node {
  position: relative; display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.5rem 0.75rem; background: #1d1010; border: 1px solid #2e1a1a;
  border-left: 3px solid #7a2a2a; transition: border-color 0.2s;
}
.timeline-node::before {
  content: ""; position: absolute; left: -1.55rem; top: 0.65rem; width: 10px; height: 10px;
  background: #b05050; border-radius: 50%; border: 2px solid #1a0d0d;
  box-shadow: 0 0 8px rgba(200, 80, 80, 0.6); animation: nodePulse 2s infinite;
}
@keyframes nodePulse { 0%, 100% { box-shadow: 0 0 4px rgba(200, 80, 80, 0.4); } 50% { box-shadow: 0 0 14px rgba(220, 100, 100, 0.9); } }
.timeline-node:nth-child(2n) { margin-left: 1.5rem; }
.timeline-node:nth-child(2n/**/+1) { margin-left: 0; }
.timecode { font-size: 0.75rem; font-weight: 700; color: #e8a87a; font-family: "Courier New", monospace; background: #2a1515; padding: 0.15rem 0.4rem; white-space: nowrap; }
.event-label { font-size: 0.85rem; color: #c5b8ab; line-height: 1.4; }
.episodes-grid-wrap { max-width: 1400px; margin: 0 auto; padding: 1.5rem 1rem; border-bottom: 1px solid #2e1a1a; }
.episode-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.episode-card {
  background: linear-gradient(145deg, #1d1010, #150a0a); border: 1px solid #2e1a1a;
  padding: 0.9rem; display: flex; flex-direction: column; gap: 0.4rem; position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.episode-card:hover { border-color: #7a2a2a; transform: translateY(-2px); }
.episode-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #7a2a2a, #b05050, #7a2a2a); opacity: 0.6;
}
.ep-number { font-size: 2.2rem; font-weight: 900; color: #3a1f1f; line-height: 1; font-family: "Courier New", monospace; }
.episode-card:hover .ep-number { color: #7a2a2a; }
.ep-title { font-size: 1rem; font-weight: 800; color: #e8d5c0; }
.ep-summary { font-size: 0.8rem; color: #a89a8a; line-height: 1.5; flex: 1; }
.ep-duration {
  font-size: 0.7rem; color: #b07050; background: #2a1515; padding: 0.15rem 0.5rem;
  align-self: flex-start; border-radius: 2px; font-weight: 600;
}
.comments-dialog { max-width: 1400px; margin: 0 auto; padding: 1.5rem 1rem; border-bottom: 1px solid #2e1a1a; }
.comment-bubble-column {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem;
}
.comment-bubble {
  background: #1d1010; border: 1px solid #2e1a1a; border-radius: 4px;
  padding: 0.7rem 0.9rem; position: relative; display: flex; flex-direction: column; gap: 0.35rem;
}
.comment-bubble:nth-child(2n) { transform: translateX(0.75rem); }
.comment-bubble:nth-child(2n/**/+1) { transform: translateX(-0.35rem); }
.comment-author { font-size: 0.78rem; font-weight: 700; color: #d8a080; }
.comment-author::before { content: "▸ "; color: #7a2a2a; }
.comment-text { font-size: 0.82rem; color: #c5b8ab; line-height: 1.5; }
.rec-region { max-width: 1400px; margin: 0 auto; padding: 1.5rem 1rem; border-bottom: 1px solid #2e1a1a; }
.rec-title { font-size: 1rem; font-weight: 800; color: #d8a080; margin-bottom: 0.75rem; letter-spacing: 0.08em; }
.rec-row {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.75rem;
}
a[data-runtime="recommendation"] {
  background: #1d1010; border: 1px solid #2e1a1a; padding: 0.5rem; display: flex; flex-direction: column;
  gap: 0.4rem; transition: border-color 0.2s, transform 0.2s; color: #c5b8ab; min-width: 0;
}
a[data-runtime="recommendation"]:hover { border-color: #7a2a2a; transform: translateY(-2px); }
a[data-runtime="recommendation"] img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #2a1818; border: 1px solid #2a1515;
}
a[data-runtime="recommendation"] span[data-runtime="name"] {
  font-size: 0.85rem; font-weight: 700; color: #e8d5c0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
a[data-runtime="recommendation"] span[data-runtime="blurb"] {
  font-size: 0.72rem; color: #9a8a7a; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.site-footer { background: #120808; border-top: 1px solid #3a1f1f; }
.footer-inner {
  max-width: 1400px; margin: 0 auto; padding: 1.25rem 1rem; display: flex; flex-wrap: wrap;
  gap: 0.75rem 1.5rem; align-items: center; font-size: 0.8rem; color: #9a8a7a;
}
.disclaimer-text { flex-basis: 100%; font-size: 0.72rem; color: #7a6a5a; line-height: 1.5; }
.footer-link {
  color: #b8a89a; font-weight: 600; padding: 0.2rem 0; border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s; white-space: nowrap;
}
.footer-link:hover { color: #f0b88a; border-bottom-color: #7a2a2a; }
.friend-links-nav {
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem; align-items: center; flex-basis: 100%;
  margin-top: 0.25rem; padding-top: 0.5rem; border-top: 1px solid #2a1515;
}
.friend-links-label { font-size: 0.72rem; font-weight: 700; color: #7a6a5a; letter-spacing: 0.08em; }
.runtime-friend-link {
  font-size: 0.75rem; color: #b8a89a; padding: 0.2rem 0.4rem; background: #1a0d0d;
  border: 1px solid #2e1a1a; border-radius: 2px; white-space: nowrap; transition: all 0.15s;
}
.runtime-friend-link:hover { color: #f0b88a; border-color: #7a2a2a; background: #2a1515; }
.player { position: relative; }
.player .player-control-bar { opacity: 1; }
.player.click .player-control-bar { opacity: 1; }
.player.play .ctrl-btn[data-player-action="play"] { border-color: #b05050; color: #f0b88a; }
.player.mute .ctrl-btn[data-player-action="mute"] { border-color: #b05050; color: #f0b88a; }
.player.speed .ctrl-btn[data-player-action="speed"] { border-color: #b05050; color: #f0b88a; }
.player.pip .ctrl-btn[data-player-action="pip"] { border-color: #b05050; color: #f0b88a; }
.player.fullscreen .ctrl-btn[data-player-action="fullscreen"] { border-color: #b05050; color: #f0b88a; }
.player.theater .ctrl-btn[data-player-action="theater"] { border-color: #b05050; color: #f0b88a; }
.player.light .ctrl-btn[data-player-action="light"] { border-color: #b05050; color: #f0b88a; }
.player .ctrl-progress { position: relative; }
.player.progress .ctrl-progress { color: #f0b88a; }
.player.progress .ctrl-progress::after {
  content: ""; position: absolute; left: 6px; top: 50%; height: 3px; width: 40%;
  background: #b05050; transform: translateY(-50%);
}
.player.volume .ctrl-btn[data-player-action="volume"] { border-color: #b05050; color: #f0b88a; }
@media (max-width: 1100px) {.movie-overview-panel { grid-template-columns: minmax(200px, 240px) minmax(0, 1fr); }
.player-stage { grid-column: 1 / -1; max-width: none; }
.player-stage video { max-width: 100%; }}
@media (max-width: 760px) {body { font-size: 14px; }
.header-shell { flex-direction: column; gap: 0.5rem; padding: 0.5rem 0.75rem; }
.brand-mark { align-self: flex-start; }
.category-strip { width: 100%; }
.movie-overview-panel { grid-template-columns: 1fr; gap: 1rem; padding: 1rem 0.75rem; }
.poster-media-wrap { max-width: 220px; }
.poster-img { aspect-ratio: 2 / 3; }
.overview-info-group { padding: 0.75rem; }
.synopsis-text-lines { writing-mode: horizontal-tb; max-height: none; }
.player-stage { grid-column: auto; }
.episode-card-grid { grid-template-columns: 1fr; }
.comment-bubble-column { grid-template-columns: 1fr; }
.comment-bubble:nth-child(2n) { transform: none; }
.comment-bubble:nth-child(2n/**/+1) { transform: none; }
.rec-row { grid-template-columns: repeat(2, 1fr); }
.timeline-node:nth-child(2n) { margin-left: 0; }
.timeline-curve { padding-left: 1.5rem; }
.timeline-curve::before { left: 8px; }
.timeline-node::before { left: -1.2rem; }
.footer-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.friend-links-nav { flex-basis: 100%; }}
@media (max-width: 480px) {.rec-row { grid-template-columns: 1fr; }
.episode-card-grid { grid-template-columns: 1fr; }
.meta-grid { grid-template-columns: 1fr; }
.meta-grid li { display: flex; justify-content: space-between; }
.player-stage { padding: 0.25rem; }
.player-control-bar { gap: 0.15rem; }
.ctrl-btn { padding: 0.25rem 0.4rem; font-size: 0.65rem; }
.timeline-curve { padding-left: 1.25rem; }
.timeline-node { padding: 0.4rem 0.5rem; }
.timeline-node::before { left: -1.1rem; width: 8px; height: 8px; }}

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}
