*, *::before, *::after {box-sizing:border-box;margin:0;padding:0}
html {font-size:16px;scroll-behavior:smooth}
body {font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,sans-serif;font-weight:300;line-height:1.5;background:#0a1128;color:#e8ecf4;min-height:100vh}
ul, ol {list-style:none}
a {color:inherit;text-decoration:none}
img, video {display:block;max-width:100%;height:auto}
button {font:inherit;color:inherit;background:none;border:none;cursor:pointer}
header {display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:0.75rem 1.5rem;background:#0d1735;border-bottom:1px solid #1e3157;position:sticky;top:0;z-index:100}
a[data-contract="site-name"] {font-size:1.15rem;font-weight:600;letter-spacing:0.06em;color:#ff9f1c;text-transform:uppercase;white-space:nowrap}
a[data-contract="site-name"]:hover {color:#ffbe5c}
.categories-nav {display:flex;align-items:center;gap:0.35rem;flex-wrap:wrap;justify-content:flex-end}
a.runtime-category {display:inline-block;padding:0.3rem 0.75rem;font-size:0.85rem;color:#b8c4de;background:rgba(255,159,28,0.08);border:1px solid #1e3157;border-radius:2px;white-space:nowrap;letter-spacing:0.03em}
a.runtime-category:hover {color:#ff9f1c;border-color:#ff9f1c;background:rgba(255,159,28,0.15)}
main {max-width:1600px;margin:0 auto;padding:1rem 1.5rem 2rem}
.movie-overview-panel {display:grid;grid-template-columns:220px 1fr;grid-template-areas:
    "poster title"
    "poster cast"
    "poster synopsis"
    "poster status"
    "poster details";
    gap:0.9rem 1.2rem;padding:1.2rem;background:#0e1938;border:1px solid #1e3157;border-radius:4px;margin-bottom:1rem}
.poster-shell {grid-area:poster;align-self:start;max-width:220px}
.poster-shell img {width:100%;aspect-ratio:2/3;object-fit:cover;background:#0a1128;border:1px solid #2a4172}
.title-tagline-group {grid-area:title;align-self:end}
.movie-title {font-size:1.4rem;font-weight:600;letter-spacing:0.02em;color:#ffffff;line-height:1.3;margin-bottom:0.2rem}
.tagline {font-size:0.9rem;color:#ff9f1c;letter-spacing:0.05em;font-weight:300}
.cast-card-block {grid-area:cast;align-self:start}
.block-heading {font-size:0.85rem;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;color:#ff9f1c;margin-bottom:0.4rem;padding-bottom:0.25rem;border-bottom:1px solid #1e3157}
.actor-list {display:flex;flex-wrap:wrap;gap:0.35rem}
.actor-chip {font-size:0.8rem;padding:0.2rem 0.7rem;background:#14264d;border:1px solid #2a4172;border-radius:2px;color:#c8d4f0;white-space:nowrap}
.synopsis-panel {grid-area:synopsis;align-self:start}
.synopsis-para {font-size:0.88rem;color:#b8c4de;margin-bottom:0.4rem;line-height:1.6;max-width:70ch}
.synopsis-para:last-child {margin-bottom:0}
.episode-status-box {grid-area:status;display:flex;align-items:center;gap:0.75rem;flex-wrap:wrap;align-self:start}
.episode-count-label {font-size:0.85rem;color:#b8c4de;padding:0.2rem 0.6rem;background:#14264d;border:1px solid #2a4172;border-radius:2px;white-space:nowrap}
.total-episodes {color:#ff9f1c;font-weight:600}
.current-episode-badge {font-size:0.85rem;color:#ff9f1c;background:rgba(255,159,28,0.12);border:1px solid #ff9f1c;padding:0.2rem 0.6rem;border-radius:2px;white-space:nowrap}
.current-episode-num {font-weight:600}
.detail-meta-grid {grid-area:details;display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:0.25rem 0.8rem;align-self:start;padding-top:0.5rem;border-top:1px solid #1e3157}
.meta-row {display:flex;flex-direction:column;gap:0.05rem}
.meta-label {font-size:0.7rem;color:#6b7ba3;letter-spacing:0.08em;text-transform:uppercase}
.meta-value {font-size:0.85rem;color:#d6e0f5}
.rating-row .meta-value {color:#ff9f1c;font-weight:600;font-size:1rem}
.player-wrapper {width:100%;max-width:1200px;margin:0 auto 1.5rem;background:#0d1735;border:1px solid #1e3157;border-radius:4px;padding:0.5rem;position:relative}
.player-wrapper video {width:100%;aspect-ratio:16/9;object-fit:contain;background:#000}
.player-controls {display:flex;flex-wrap:wrap;gap:0.5rem;padding:0.5rem 0.25rem 0.25rem;justify-content:center}
.player-controls button {font-size:0.75rem;padding:0.25rem 0.6rem;background:#14264d;border:1px solid #2a4172;border-radius:2px;color:#b8c4de;white-space:nowrap}
.player-controls button:hover {color:#ff9f1c;border-color:#ff9f1c}
.player-wrapper.theater-mode {max-width:none;width:100%}
body.lights-dim {background:#050810}
body.lights-dim .movie-overview-panel, body.lights-dim .player-wrapper, body.lights-dim .episodes-list-panel, body.lights-dim .timeline-section, body.lights-dim .comments-grid-section, body.lights-dim .recommendation-shelf {background:#0a1128;border-color:#14264d}
.timeline-section {padding:1.2rem;background:#0e1938;border:1px solid #1e3157;border-radius:4px;margin-bottom:1rem}
.timeline-horizontal {display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0.5rem;position:relative;margin-top:0.5rem}
.timeline-horizontal::before {content:"";position:absolute;top:0.8rem;left:1rem;right:1rem;height:1px;background:linear-gradient(90deg,#ff9f1c 0%,#ff9f1c 10%,#2a4172 50%,transparent 100%);opacity:0.5}
.timeline-item {display:flex;flex-direction:column;gap:0.2rem;padding:0.5rem 0.5rem 0.5rem 1.2rem;position:relative;background:#14264d;border:1px solid #1e3157;border-radius:2px}
.timeline-item::before {content:"";position:absolute;left:0.35rem;top:0.7rem;width:0.6rem;height:0.6rem;background:#ff9f1c;transform:rotate(45deg);z-index:1}
.timecode {font-size:0.8rem;font-weight:600;color:#ff9f1c;font-family:"SF Mono",Consolas,monospace}
.time-label {font-size:0.8rem;color:#c8d4f0;line-height:1.4}
.episodes-list-panel {padding:1.2rem;background:#0e1938;border:1px solid #1e3157;border-radius:4px;margin-bottom:1rem}
.episode-list {display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:0.5rem;margin-top:0.5rem}
.episode-item {display:flex;align-items:flex-start;gap:0.6rem;padding:0.6rem;background:#14264d;border:1px solid #1e3157;border-radius:2px}
.episode-number {display:flex;align-items:center;justify-content:center;width:1.8rem;height:1.8rem;border-radius:50%;background:#ff9f1c;color:#0a1128;font-weight:600;font-size:0.9rem;flex-shrink:0}
.episode-info {display:flex;flex-direction:column;gap:0.15rem;min-width:0}
.episode-title {font-size:0.9rem;font-weight:600;color:#ffffff}
.episode-summary {font-size:0.8rem;color:#b8c4de;line-height:1.4}
.episode-duration {font-size:0.75rem;color:#6b7ba3;font-family:"SF Mono",Consolas,monospace}
.comments-grid-section {padding:1.2rem;background:#0e1938;border:1px solid #1e3157;border-radius:4px;margin-bottom:1rem}
.comment-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:0.5rem;margin-top:0.5rem}
.comment-card {display:flex;flex-direction:column;gap:0.35rem;padding:0.7rem;background:#14264d;border:1px solid #1e3157;border-radius:2px;align-self:start}
.comment-author {font-size:0.8rem;font-weight:600;color:#ff9f1c;letter-spacing:0.03em}
.comment-text {font-size:0.82rem;color:#c8d4f0;line-height:1.5}
.recommendation-shelf {padding:1.2rem;background:#0e1938;border:1px solid #1e3157;border-radius:4px;margin-bottom:1rem}
.recommendation-heading {font-size:1rem;font-weight:600;letter-spacing:0.05em;color:#ff9f1c;margin-bottom:0.6rem;padding-bottom:0.3rem;border-bottom:2px solid #ff9f1c;display:inline-block}
.recommendation-row {display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0.6rem}
a.rec-card {display:flex;flex-direction:column;gap:0.3rem;padding:0.5rem;background:#14264d;border:1px solid #1e3157;border-radius:2px;color:#e8ecf4;transition:border-color 0.15s,transform 0.15s;align-self:start}
a.rec-card:hover {border-color:#ff9f1c;transform:translateY(-1px)}
a[data-runtime="recommendation"] img {width:100%;aspect-ratio:16/9;object-fit:cover;background:#0a1128;border:1px solid #1e3157}
a[data-runtime="recommendation"] [data-runtime="name"] {font-size:0.85rem;font-weight:600;color:#ffffff;line-height:1.3}
a[data-runtime="recommendation"] [data-runtime="blurb"] {font-size:0.75rem;color:#b8c4de;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
footer {padding:1.5rem;background:#0d1735;border-top:1px solid #1e3157;margin-top:1rem}
.footer-links {display:flex;gap:1rem;margin-bottom:0.8rem;flex-wrap:wrap}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {font-size:0.85rem;color:#b8c4de;padding:0.2rem 0;border-bottom:1px solid transparent}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {color:#ff9f1c;border-bottom-color:#ff9f1c}
.friend-links {display:flex;flex-wrap:wrap;align-items:center;gap:0.4rem 0.8rem;margin-bottom:1rem}
.friend-links-label {font-size:0.8rem;color:#6b7ba3;letter-spacing:0.06em}
a.runtime-friend-link {font-size:0.8rem;color:#8fa0c0;padding:0.15rem 0.4rem;border:1px solid #1e3157;border-radius:2px;white-space:nowrap}
a.runtime-friend-link:hover {color:#ff9f1c;border-color:#ff9f1c}
.disclaimer-text {font-size:0.7rem;color:#5a6a8f;line-height:1.6;max-width:80ch}
@media (max-width:1024px){.movie-overview-panel {grid-template-columns:180px 1fr;grid-template-areas:
        "poster title"
        "poster cast"
        "poster synopsis"
        "poster status"
        "poster details"}
.poster-shell {max-width:180px}
.timeline-horizontal {grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}
@media (max-width:768px){main {padding:0.75rem}
header {padding:0.5rem 0.75rem}
.movie-overview-panel {grid-template-columns:1fr;grid-template-areas:
        "poster"
        "title"
        "cast"
        "synopsis"
        "status"
        "details";gap:0.6rem;padding:0.8rem}
.poster-shell {max-width:160px;margin:0 auto}
.movie-title {font-size:1.1rem;text-align:center}
.tagline {text-align:center}
.cast-card-block .block-heading {text-align:center}
.actor-list {justify-content:center}
.episode-status-box {justify-content:center}
.detail-meta-grid {grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}
.timeline-horizontal {grid-template-columns:1fr}
.timeline-horizontal::before {display:none}
.episode-list {grid-template-columns:1fr}
.comment-grid {grid-template-columns:1fr}
.recommendation-row {grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.player-controls {gap:0.3rem}
.player-controls button {font-size:0.7rem;padding:0.2rem 0.4rem}}
@media (max-width:480px){html {font-size:14px}
.categories-nav {justify-content:flex-start;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
a.runtime-category {flex-shrink:0}
.recommendation-row {grid-template-columns:1fr 1fr}
.friend-links {flex-direction:column;align-items:flex-start}
.footer-links {flex-direction:column;gap:0.3rem}}
.player-wrapper.theater-mode {padding:0}
.player-wrapper.theater-mode video {border-radius:0}
body.lights-dim .player-wrapper {border-color:#ff9f1c}
.player-wrapper video.fullscreen {object-fit:contain}
.player-controls button.play {color:#ff9f1c}
.player-controls button.pause {color:#ff9f1c}
.player-controls button.mute {color:#ff9f1c}
.player-controls button.speed {color:#ff9f1c}
.player-controls button.pip {color:#ff9f1c}
.player-controls button.fullscreen {color:#ff9f1c}
.player-controls button.theater {color:#ff9f1c}
.player-controls button.light {color:#ff9f1c}
.player-controls button.progress {color:#ff9f1c}
.player-controls button.volume {color:#ff9f1c}
body.lights-dim .player-wrapper video {filter:brightness(0.85)}
.player-wrapper.click video {cursor:pointer}
.player-wrapper.lights-dim video {filter:brightness(0.7)}
.player-wrapper.theater-mode {position:fixed;inset:0;z-index:200;background:#000;border:none;border-radius:0;display:flex;flex-direction:column;justify-content:center}
.player-wrapper.theater-mode video {max-height:100vh}
.player-wrapper.theater-mode .player-controls {position:absolute;bottom:0;left:0;right:0;background:rgba(10,17,40,0.9);padding:0.5rem;justify-content:center}
body.lights-dim .movie-overview-panel, body.lights-dim .timeline-section, body.lights-dim .episodes-list-panel, body.lights-dim .comments-grid-section, body.lights-dim .recommendation-shelf {background:#0a1128;border-color:#14264d}
body.lights-dim .actor-chip, body.lights-dim .episode-item, body.lights-dim .comment-card, body.lights-dim .rec-card {background:#0d1735;border-color:#1e3157}

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}
