*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", Georgia, serif; background: #0b1a2a; color: #d8c9a3; line-height: 1.55; letter-spacing: 0.02em; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: 0.12em; color: #d8c9a3; }
h1 { font-size: 1.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.1rem; }
p { line-height: 1.65; }
a[data-contract="site-name"] { color: #c9a84c; text-decoration: none; font-size: 1.4rem; letter-spacing: 0.2em; }
a[data-contract="site-name"]:hover { text-decoration: underline; }
a.runtime-category { color: #a7b6c2; text-decoration: none; font-size: 0.85rem; letter-spacing: 0.08em; padding: 0.2rem 0.6rem; border: 1px solid rgba(201,168,76,0.3); border-radius: 2px; }
a.runtime-category:hover { color: #c9a84c; border-color: #c9a84c; text-decoration: none; }
a[data-runtime="recommendation"] { color: #a7b6c2; text-decoration: none; display: flex; flex-direction: column; gap: 0.35rem; }
a[data-runtime="recommendation"]:hover { color: #c9a84c; text-decoration: none; }
a.runtime-friend-link { color: #7e93a5; text-decoration: none; font-size: 0.8rem; }
a.runtime-friend-link:hover { color: #c9a84c; text-decoration: underline; }
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] { color: #7e93a5; text-decoration: none; font-size: 0.8rem; }
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover { color: #c9a84c; text-decoration: underline; }
header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; border-bottom: 1px solid rgba(201,168,76,0.25); background: rgba(11,26,42,0.95); position: relative; z-index: 10; }
.categories-bar { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }
.categories-bar a { white-space: nowrap; }
.hero-tagline { text-align: center; padding: 4rem 2rem 2.5rem; border-bottom: 1px solid rgba(201,168,76,0.15); background: linear-gradient(180deg, #0b1a2a 0%, #10233a 60%, #0b1a2a 100%); }
.hero-title { font-size: 2.4rem; letter-spacing: 0.3em; text-shadow: 0 0 30px rgba(201,168,76,0.3); }
.hero-sub { margin-top: 0.8rem; color: #c9a84c; font-size: 1.1rem; letter-spacing: 0.15em; font-style: italic; }
main { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.movie-overview-panel { background: linear-gradient(150deg, #0e2035 0%, #0b1a2a 100%); border: 1px solid rgba(201,168,76,0.2); border-radius: 4px; padding: 2rem; margin-top: 2rem; box-shadow: 0 4px 30px rgba(0,0,0,0.4); }
.media-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2rem; margin-bottom: 2rem; }
.poster-wrapper { width: 240px; }
.poster-img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.player-wrapper { min-width: 480px; position: relative; background: #000; border-radius: 3px; overflow: hidden; }
.player-wrapper video { display: block; }
.player-controls { display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0.4rem; background: rgba(11,26,42,0.85); border-top: 1px solid rgba(201,168,76,0.2); }
.ctrl-btn { font-size: 0.75rem; letter-spacing: 0.05em; padding: 0.3rem 0.5rem; border: 1px solid rgba(201,168,76,0.3); border-radius: 2px; color: #a7b6c2; }
.ctrl-btn:hover { border-color: #c9a84c; color: #c9a84c; }
.title-group { margin-bottom: 1.8rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(201,168,76,0.2); }
.movie-title { font-size: 1.8rem; letter-spacing: 0.2em; }
.tagline-text { margin-top: 0.4rem; color: #c9a84c; font-style: italic; font-size: 1rem; letter-spacing: 0.1em; }
.cast-section { margin-bottom: 1.8rem; }
.section-subhead { font-size: 0.95rem; letter-spacing: 0.2em; color: #c9a84c; margin-bottom: 0.8rem; }
.cast-scroll { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.cast-card { background: rgba(201,168,76,0.06); border: 1px solid rgba(201,168,76,0.15); border-radius: 3px; padding: 1rem 0.8rem; text-align: center; transition: border-color 0.2s; }
.cast-card:hover { border-color: #c9a84c; }
.actor-name { font-size: 0.95rem; letter-spacing: 0.12em; color: #d8c9a3; }
.synopsis-block { margin-bottom: 1.8rem; }
.synopsis-para { margin-bottom: 0.8rem; font-size: 0.95rem; color: #b8c4cc; text-align: justify; }
.episode-status-strip { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; background: rgba(201,168,76,0.08); border-left: 3px solid #c9a84c; margin-bottom: 1.8rem; }
.status-label { font-weight: 600; color: #c9a84c; font-size: 0.95rem; }
.status-divider { color: #c9a84c; opacity: 0.6; }
.status-current { color: #d8c9a3; font-size: 0.9rem; }
.details-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(201,168,76,0.15); }
.detail-item { display: flex; flex-direction: column; gap: 0.2rem; }
.detail-term { font-size: 0.7rem; letter-spacing: 0.15em; color: #7e93a5; text-transform: uppercase; }
.detail-value { font-size: 0.9rem; color: #d8c9a3; }
.timeline-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(201,168,76,0.2); }
.section-heading { font-size: 1.2rem; letter-spacing: 0.25em; color: #c9a84c; margin-bottom: 1.5rem; position: relative; display: inline-block; }
.section-heading::after { content: ""; display: block; width: 60%; height: 1px; background: #c9a84c; margin-top: 0.3rem; }
.timeline-container { position: relative; padding-left: 2rem; }
.timeline-container::before { content: ""; position: absolute; left: 0.6rem; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, #c9a84c 0%, rgba(201,168,76,0.1) 100%); }
.timeline-node { position: relative; margin-bottom: 1.2rem; display: flex; gap: 1.5rem; align-items: baseline; }
.timeline-node::before { content: ""; position: absolute; left: -1.7rem; top: 0.55rem; width: 7px; height: 7px; background: #c9a84c; border-radius: 50%; box-shadow: 0 0 8px rgba(201,168,76,0.6); }
.timecode { font-family: "Courier New", monospace; font-size: 0.85rem; color: #c9a84c; letter-spacing: 0.08em; min-width: 3.5rem; }
.timeline-label { font-size: 0.95rem; color: #b8c4cc; }
.episodes-section { margin-top: 3rem; }
.episode-card-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.episode-card { background: #0e2035; border: 1px solid rgba(201,168,76,0.15); border-radius: 3px; padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; transition: border-color 0.2s; }
.episode-card:hover { border-color: #c9a84c; }
.ep-number { font-family: "Times New Roman", serif; font-size: 2rem; font-weight: 700; color: #c9a84c; line-height: 1; opacity: 0.8; }
.ep-cover { height: 120px; background: linear-gradient(135deg, rgba(201,168,76,0.1) 0%, rgba(11,26,42,0.4) 100%), repeating-linear-gradient(45deg, rgba(201,168,76,0.05) 0px, rgba(201,168,76,0.05) 2px, transparent 2px, transparent 6px); border-radius: 2px; margin: 0.3rem 0; }
.ep-title { font-size: 0.95rem; letter-spacing: 0.08em; color: #d8c9a3; }
.ep-summary { font-size: 0.8rem; color: #7e93a5; flex-grow: 1; }
.ep-duration { font-size: 0.75rem; color: #c9a84c; opacity: 0.8; letter-spacing: 0.05em; }
.comments-section { margin-top: 3rem; }
.comments-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.comment-bubble { background: rgba(14,32,53,0.8); border: 1px solid rgba(201,168,76,0.25); border-radius: 12px 12px 12px 4px; padding: 1rem 1.2rem; position: relative; }
.comment-bubble::before { content: ""; position: absolute; bottom: -1px; left: 12px; width: 12px; height: 12px; background: #0e2035; border-right: 1px solid rgba(201,168,76,0.25); border-bottom: 1px solid rgba(201,168,76,0.25); transform: rotate(45deg); }
.comment-nick { display: block; color: #c9a84c; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 0.4rem; }
.comment-text { font-size: 0.9rem; color: #b8c4cc; }
.recommend-region { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(201,168,76,0.2); }
.rec-title { font-size: 1.1rem; letter-spacing: 0.2em; color: #c9a84c; margin-bottom: 1.2rem; }
.recommend-region a[data-runtime="recommendation"] { background: #0e2035; border: 1px solid rgba(201,168,76,0.12); border-radius: 3px; padding: 0.8rem; transition: border-color 0.2s; }
.recommend-region a[data-runtime="recommendation"]:hover { border-color: #c9a84c; }
.recommend-region a[data-runtime="recommendation"] img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; }
.recommend-region a[data-runtime="recommendation"] span[data-runtime="name"] { font-size: 0.9rem; letter-spacing: 0.06em; color: #d8c9a3; }
.recommend-region a[data-runtime="recommendation"] span[data-runtime="blurb"] { font-size: 0.8rem; color: #7e93a5; }
main > .recommend-region { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
main > .recommend-region .rec-title { grid-column: 1 / -1; }
footer { margin-top: 4rem; padding: 2rem; border-top: 1px solid rgba(201,168,76,0.2); background: #0a1726; }
.friend-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: center; margin-bottom: 1rem; }
.friend-label { font-size: 0.85rem; color: #7e93a5; letter-spacing: 0.1em; }
footer p { font-size: 0.75rem; color: #5a6e7d; line-height: 1.8; margin-bottom: 1rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.85rem; }
.theater-mode { position: fixed; inset: 0; z-index: 100; background: #000; padding: 2rem; display: flex; align-items: center; justify-content: center; border-radius: 0; }
.theater-mode video { max-height: 100%; width: auto; max-width: 100%; }
.theater-mode .player-controls { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); }
.lights-low { background: #050d18; }
.lights-low .movie-overview-panel, .lights-low .episode-card, .lights-low .comment-bubble, .lights-low .recommend-region a[data-runtime="recommendation"] { background: #081422; }
@media (max-width: 1200px) {.episode-card-row { grid-template-columns: repeat(3, 1fr); }
.details-grid { grid-template-columns: repeat(3, 1fr); }}
@media (max-width: 992px) {main { padding: 0 1.5rem; }
.media-shell { grid-template-columns: 180px minmax(0, 1fr); gap: 1.5rem; }
.poster-wrapper { width: 180px; }
.cast-scroll { grid-template-columns: repeat(2, 1fr); }
.comments-grid { grid-template-columns: 1fr; }
.episode-card-row { grid-template-columns: repeat(2, 1fr); }
.details-grid { grid-template-columns: repeat(2, 1fr); }
main > .recommend-region { grid-template-columns: 1fr; }}
@media (max-width: 768px) {header { flex-direction: column; gap: 0.8rem; align-items: flex-start; padding: 1rem; }
.categories-bar { justify-content: flex-start; }
.hero-tagline { padding: 3rem 1rem 2rem; }
.hero-title { font-size: 1.8rem; }
.movie-overview-panel { padding: 1.2rem; }
.media-shell { grid-template-columns: 1fr; }
.poster-wrapper { width: 100%; max-width: 240px; }
.player-wrapper { min-width: 0; width: 100%; }
.details-grid { grid-template-columns: repeat(2, 1fr); }
.episode-card-row { grid-template-columns: 1fr; }
.timeline-node { flex-direction: column; gap: 0.2rem; }
.timecode { min-width: 0; }}
@media (max-width: 480px) {main { padding: 0 1rem; }
.hero-title { font-size: 1.4rem; letter-spacing: 0.15em; }
.hero-sub { font-size: 0.9rem; }
.movie-title { font-size: 1.3rem; }
.cast-scroll { grid-template-columns: 1fr; }
.details-grid { grid-template-columns: 1fr; }
.comments-grid { grid-template-columns: 1fr; }
.timeline-container { padding-left: 1.5rem; }
.episode-card-row { grid-template-columns: 1fr; }
.player-controls { gap: 0.2rem; }
.ctrl-btn { font-size: 0.65rem; padding: 0.2rem 0.35rem; }}
@media print {body { background: #fff; color: #000; }
.player-wrapper, .player-controls, .categories-bar, footer { display: none; }
.movie-overview-panel { border: none; }}

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}
