*, *::before, *::after {box-sizing:border-box;margin:0;padding:0}
html {font-size:16px;scroll-behavior:smooth}
body {background:#0a1628;color:#dce3ea;font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif;line-height:1.45}
img, video {display:block;max-width:100%}
a {color:inherit;text-decoration:none}
button {font:inherit;color:inherit;background:none;border:none;cursor:pointer}
header {background:#0d1f36;border-bottom:1px solid #1e3a5f;padding:0.75rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;position:sticky;top:0;z-index:100}
.site-logo {font-family:"Songti SC","STSong",serif;font-size:1.4rem;font-weight:700;letter-spacing:0.15em;color:#f0c75e;white-space:nowrap}
.site-logo:hover {color:#ffde8a}
nav[data-contract="categories"] {display:flex;flex-wrap:wrap;gap:0.35rem;justify-content:flex-end}
.runtime-category {color:#8fa8c8;font-size:0.85rem;padding:0.3rem 0.7rem;border:1px solid #2a4a6a;border-radius:2rem;white-space:nowrap;transition:all 0.2s}
.runtime-category:hover {color:#0a1628;background:#f0c75e;border-color:#f0c75e}
main {max-width:1400px;margin:0 auto;padding:1rem 1.25rem 2rem}
.movie-overview-hero {display:grid;grid-template-columns:minmax(300px,380px) 1fr;gap:1.75rem;align-items:start;background:linear-gradient(145deg,#0f2340 0%,#0a1628 70%);border-radius:0.5rem;padding:1.5rem;box-shadow:0 8px 32px rgba(0,0,0,0.5);border:1px solid #1e3a5f;margin-bottom:1.5rem}
.overview-poster-block {grid-column:1;position:relative;align-self:start}
.hero-poster-img {width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:0.4rem;box-shadow:0 4px 24px rgba(0,0,0,0.6),0 0 0 1px rgba(240,199,94,0.15)}
.poster-title-wrap {position:absolute;bottom:0;left:0;right:0;padding:2rem 1rem 1rem;background:linear-gradient(to top,rgba(10,22,40,0.95),rgba(10,22,40,0.6),transparent);border-radius:0 0 0.4rem 0.4rem}
.movie-title {font-family:"Songti SC","STSong",serif;font-size:1.35rem;font-weight:700;letter-spacing:0.08em;color:#f0c75e;line-height:1.3;margin-bottom:0.4rem;text-shadow:0 2px 8px rgba(0,0,0,0.7)}
.movie-tagline {font-size:0.85rem;color:#b8c9de;line-height:1.5;font-style:italic}
.cast-list {grid-column:2;align-self:start}
.section-subhead {font-family:"Songti SC","STSong",serif;font-size:1.05rem;font-weight:600;letter-spacing:0.2em;color:#f0c75e;margin-bottom:0.75rem;border-bottom:1px solid #2a4a6a;padding-bottom:0.4rem;display:inline-block}
.cast-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:0.75rem}
.cast-card {display:flex;flex-direction:column;align-items:center;gap:0.4rem;text-align:center;padding:0.5rem 0.25rem}
.cast-avatar {width:72px;height:72px;border-radius:50%;object-fit:cover;border:2px solid #f0c75e;box-shadow:0 2px 8px rgba(0,0,0,0.4);background:#1e3a5f}
.cast-name {font-size:0.85rem;color:#dce3ea;letter-spacing:0.05em}
.synopsis-panel {grid-column:2;align-self:start;padding-left:0;border-left:none}
.synopsis-line {font-size:0.9rem;line-height:1.6;color:#c2d0e0;margin-bottom:0.5rem;max-width:100%}
.episode-status-block {grid-column:2;display:flex;gap:1rem;align-items:center;flex-wrap:wrap;background:rgba(240,199,94,0.1);border-left:4px solid #f0c75e;padding:0.5rem 1rem;border-radius:0 0.3rem 0.3rem 0;align-self:start}
.episode-count, .current-episode {font-size:0.85rem;color:#f0c75e;font-weight:600;letter-spacing:0.05em}
.movie-details {grid-column:2;align-self:start}
.details-list {display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:0.5rem 1.5rem}
.detail-item {display:flex;gap:0.5rem;align-items:baseline;border-bottom:1px dashed #1e3a5f;padding-bottom:0.3rem}
.detail-item dt {font-family:"Songti SC","STSong",serif;font-size:0.85rem;color:#8fa8c8;letter-spacing:0.1em;white-space:nowrap}
.detail-item dd {font-size:0.9rem;color:#dce3ea;margin:0}
.player-wrapper {max-width:960px;margin:1.5rem auto;background:#0d1f36;border-radius:0.5rem;box-shadow:0 4px 20px rgba(0,0,0,0.5);overflow:hidden;border:1px solid #1e3a5f}
.player-wrapper video {display:block;width:100%;aspect-ratio:16/9;background:#000}
.player-controls {display:flex;flex-wrap:wrap;gap:0.25rem;padding:0.5rem 0.75rem;background:#0d1f36;border-top:1px solid #1e3a5f;justify-content:center}
.player-controls button {font-size:0.75rem;color:#8fa8c8;padding:0.3rem 0.6rem;border-radius:0.25rem;transition:background 0.2s,color 0.2s}
.player-controls button:hover {background:#1e3a5f;color:#f0c75e}
.timeline-section, .episodes-section, .comments-section, .recommend-region {margin-bottom:2rem}
.section-heading {font-family:"Songti SC","STSong",serif;font-size:1.25rem;font-weight:700;letter-spacing:0.2em;color:#f0c75e;margin-bottom:1rem;position:relative;padding-left:1rem}
.section-heading::before {content:"";position:absolute;left:0;top:0.2em;width:4px;height:0.85em;background:#f0c75e;border-radius:2px}
.timeline-scroll {display:flex;gap:0.75rem;overflow-x:auto;padding-bottom:0.75rem;scrollbar-width:thin;scrollbar-color:#2a4a6a transparent}
.timeline-scroll::-webkit-scrollbar {height:6px}
.timeline-scroll::-webkit-scrollbar-thumb {background:#2a4a6a;border-radius:3px}
.timeline-entry {flex:0 0 auto;min-width:180px;max-width:220px;background:#0d1f36;border:1px solid #1e3a5f;border-radius:0.4rem;padding:0.75rem;display:flex;flex-direction:column;gap:0.4rem;transition:border-color 0.3s}
.timeline-entry:hover {border-color:#f0c75e}
.timecode {font-family:"Songti SC","STSong",serif;font-size:1rem;font-weight:700;color:#f0c75e;letter-spacing:0.1em}
.timeline-label {font-size:0.8rem;color:#b8c9de;line-height:1.5}
.episodes-section .episode-card {display:flex;gap:1rem;background:#0d1f36;border:1px solid #1e3a5f;border-radius:0.4rem;padding:1rem;max-width:560px;transition:border-color 0.3s}
.episode-card:hover {border-color:#f0c75e}
.episode-number {font-family:"Songti SC","STSong",serif;font-size:2rem;font-weight:700;color:#f0c75e;min-width:2.5rem;text-align:center;line-height:1}
.episode-info {display:flex;flex-direction:column;gap:0.4rem}
.episode-title {font-family:"Songti SC","STSong",serif;font-size:1.1rem;color:#dce3ea;letter-spacing:0.05em}
.episode-summary {font-size:0.85rem;color:#8fa8c8;line-height:1.6}
.episode-duration {font-size:0.8rem;color:#f0c75e;align-self:flex-start;background:rgba(240,199,94,0.15);padding:0.2rem 0.6rem;border-radius:0.25rem}
.comments-masonry {columns:2;column-gap:1rem}
.comment-card {break-inside:avoid;background:#0d1f36;border:1px solid #1e3a5f;border-radius:0.4rem;padding:0.75rem 1rem;margin-bottom:1rem;transition:border-color 0.3s}
.comment-card:hover {border-color:#f0c75e}
.comment-nickname {display:block;font-family:"Songti SC","STSong",serif;font-size:0.9rem;font-weight:600;color:#f0c75e;margin-bottom:0.4rem;letter-spacing:0.05em}
.comment-text {font-size:0.85rem;color:#b8c9de;line-height:1.6}
.recommend-row {display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}
.recommend-row a[data-runtime="recommendation"] {display:flex;flex-direction:column;gap:0.5rem;background:#0d1f36;border:1px solid #1e3a5f;border-radius:0.4rem;padding:0.75rem;transition:transform 0.2s,border-color 0.2s,box-shadow 0.2s}
.recommend-row a[data-runtime="recommendation"]:hover {transform:translateY(-3px);border-color:#f0c75e;box-shadow:0 6px 16px rgba(0,0,0,0.4)}
.recommend-row a[data-runtime="recommendation"] img {width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:0.3rem;background:#1e3a5f}
.recommend-row a[data-runtime="recommendation"] span[data-runtime="name"] {font-family:"Songti SC","STSong",serif;font-size:0.95rem;font-weight:600;color:#dce3ea;letter-spacing:0.03em;line-height:1.3}
.recommend-row a[data-runtime="recommendation"] span[data-runtime="blurb"] {font-size:0.8rem;color:#8fa8c8;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
footer {background:#0d1f36;border-top:1px solid #1e3a5f;padding:1.5rem 1.25rem;margin-top:2rem}
nav[data-contract="friend-links"] {display:flex;flex-wrap:wrap;gap:0.5rem 1rem;align-items:center;margin-bottom:1rem}
.friend-label {font-family:"Songti SC","STSong",serif;font-size:0.85rem;color:#f0c75e;letter-spacing:0.1em;white-space:nowrap}
a.runtime-friend-link {font-size:0.85rem;color:#8fa8c8;transition:color 0.2s;white-space:nowrap}
a.runtime-friend-link:hover {color:#f0c75e}
footer p[data-contract="disclaimer"] {font-size:0.75rem;color:#5a6f8a;line-height:1.6;margin-bottom:1rem;max-width:1200px}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {font-size:0.85rem;color:#8fa8c8;margin-right:1rem;transition:color 0.2s;display:inline-block;padding-top:0.5rem}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {color:#f0c75e}
main.lights-dim {background:#050b14}
main.lights-dim .movie-overview-hero {background:linear-gradient(145deg,#0a1a30 0%,#050b14 70%)}
main.lights-dim .hero-poster-img {filter:brightness(0.7)}
main.lights-dim .player-wrapper {box-shadow:0 0 40px rgba(240,199,94,0.2)}
video.theater-mode {object-fit:contain;background:#000}
@media (max-width:960px){.movie-overview-hero {grid-template-columns:1fr;gap:1.25rem}
.overview-poster-block, .cast-list, .synopsis-panel, .episode-status-block, .movie-details {grid-column:1}
.overview-poster-block {max-width:400px;margin:0 auto}
.cast-grid {grid-template-columns:repeat(4,1fr)}}
@media (max-width:720px){header {flex-direction:column;gap:0.5rem;padding:0.5rem}
nav[data-contract="categories"] {justify-content:center}
.comments-masonry {columns:1}
.recommend-row {grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
.player-wrapper {max-width:100%}
.timeline-entry {min-width:150px}}
@media (max-width:480px){body {font-size:14px}
main {padding:0.75rem}
.movie-overview-hero {padding:1rem}
.cast-grid {grid-template-columns:repeat(2,1fr)}
.details-list {grid-template-columns:1fr 1fr}
.recommend-row {grid-template-columns:1fr 1fr;gap:0.75rem}
.player-controls button {font-size:0.7rem;padding:0.25rem 0.4rem}
.timeline-entry {min-width:130px;max-width:170px}}

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}
