*, *::before, *::after {box-sizing:border-box;margin:0;padding:0}
html {font-size:16px;scroll-behavior:smooth}
body {font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;background:#0e1116;color:#c8ccd4;line-height:1.5;min-height:100vh}
img, video {max-width:100%;height:auto;display:block}
a {color:#c8ccd4;text-decoration:none}
button {font:inherit;color:inherit;background:none;border:none;cursor:pointer}
input[type="range"] {accent-color:#c9a86a}
ul {list-style:none}
header {display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:1rem 2rem;background:#14181d;border-bottom:1px solid #2a2f36;position:sticky;top:0;z-index:100}
.site-name {font-size:1.35rem;font-weight:800;letter-spacing:0.08em;color:#c9a86a;border-bottom:2px solid transparent;transition:border-color .3s}
a[data-contract="site-name"]:hover {color:#dfc488;border-bottom-color:#c9a86a}
nav[data-contract="categories"] {display:flex;gap:1.2rem;flex-wrap:wrap;justify-content:flex-end}
a.runtime-category {font-size:.9rem;font-weight:600;color:#9aa4b2;white-space:nowrap;letter-spacing:.04em;transition:color .2s}
a.runtime-category:hover {color:#c9a86a}
main {max-width:1440px;margin:0 auto;padding:0 1.5rem}
.movie-overview-hero {display:grid;grid-template-columns:minmax(0,1fr);gap:0;background:#14181d;border-radius:12px;margin:2rem 0;overflow:hidden;border:1px solid #2a2f36;box-shadow:0 8px 30px rgba(0,0,0,.6)}
.hero-media-shell {display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:1.5rem;padding:1.5rem;background:linear-gradient(135deg,#1a1f26 0%,#12161b 100%)}
.poster-frame {position:relative;align-self:start}
.main-poster-img {border-radius:8px;object-fit:cover;aspect-ratio:2/3;width:100%;height:auto;box-shadow:0 4px 20px rgba(0,0,0,.5)}
.player-shell {min-width:480px;display:flex;flex-direction:column;justify-content:flex-start}
.player-shell video {border-radius:8px;background:#000;box-shadow:0 4px 20px rgba(0,0,0,.4)}
.player-controls {display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;padding:.6rem 0;margin-top:.4rem}
.player-controls button {font-size:.75rem;padding:.3rem .7rem;border:1px solid #3a414c;border-radius:4px;background:#1c2128;color:#b8c0ca;transition:all .2s}
.player-controls button:hover {background:#2a3038;border-color:#c9a86a}
.player-controls input[type="range"] {flex:1;min-width:90px}
.hero-title-group {padding:1rem 1.5rem 0.6rem}
.movie-title {font-size:2rem;font-weight:800;color:#f0f2f5;letter-spacing:.02em;line-height:1.2}
.tagline {font-size:.95rem;color:#c9a86a;margin-top:.4rem;font-weight:500;letter-spacing:.06em}
.cast-strip {padding:.6rem 1.5rem;display:flex;flex-wrap:wrap;align-items:center;gap:1rem}
.fragment-heading {font-size:1rem;font-weight:700;color:#e8eaed;border-left:3px solid #c9a86a;padding-left:.6rem;margin-right:.4rem}
.actor-list {display:flex;flex-wrap:wrap;gap:.5rem}
.actor-chip {font-size:.85rem;padding:.3rem .9rem;background:#1c2128;border:1px solid #3a414c;border-radius:20px;color:#aeb6c0;transition:all .2s}
.actor-chip:hover {border-color:#c9a86a;color:#dfc488}
.synopsis-block {padding:.8rem 1.5rem 1rem;border-top:1px solid #2a2f36}
.synopsis-block .fragment-heading {margin-bottom:.6rem}
.synopsis-paragraph {font-size:.92rem;color:#9aa4b2;margin-bottom:.55rem;line-height:1.7;max-width:75ch}
.synopsis-paragraph:last-child {margin-bottom:0}
.movie-details-panel {padding:.8rem 1.5rem 1rem;border-top:1px solid #2a2f36}
.detail-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.4rem 1.5rem;padding-top:.4rem}
.detail-item {display:flex;justify-content:space-between;gap:.5rem;padding:.3rem 0;border-bottom:1px dotted #2f353d}
.detail-item dt {font-size:.8rem;color:#7d8794;font-weight:500}
.detail-item dd {font-size:.88rem;color:#d0d5dc;font-weight:600;text-align:right}
.rating-highlight {color:#c9a86a !important;font-weight:800;font-size:1.1rem !important}
.episode-status-block {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem;padding:.8rem 1.5rem 1.2rem;border-top:1px solid #2a2f36}
.episode-progress {font-size:.92rem;color:#b0b8c2}
.episode-progress .current-episode-num, .episode-progress .total-episode-num {font-weight:800;color:#c9a86a;font-size:1.05rem}
.episode-quick-nav {display:flex;align-items:center;gap:.6rem}
.episode-label {font-size:.85rem;padding:.3rem 1rem;background:#1c2128;border:1px solid #3a414c;border-radius:4px;color:#c9a86a;font-weight:600}
.timeline-section {margin:2.5rem 0;padding:1rem 0}
.timeline-section .fragment-heading {margin-bottom:1.2rem;font-size:1.2rem}
.timeline-slider {display:flex;gap:1.2rem;overflow-x:auto;padding-bottom:.8rem;padding-top:.4rem;scrollbar-width:thin;scrollbar-color:#3a414c #1c2128}
.timeline-slider::-webkit-scrollbar {height:6px}
.timeline-slider::-webkit-scrollbar-track {background:#1c2128;border-radius:3px}
.timeline-slider::-webkit-scrollbar-thumb {background:#3a414c;border-radius:3px}
.timeline-node {flex:0 0 auto;min-width:180px;max-width:200px;padding:1rem 1.2rem;background:#191e24;border:1px solid #2a2f36;border-radius:8px;border-top:3px solid #c9a86a;position:relative;transition:transform .2s,box-shadow .2s}
.timeline-node:hover {transform:translateY(-3px);box-shadow:0 6px 16px rgba(0,0,0,.4)}
.timecode {display:block;font-size:.75rem;color:#c9a86a;font-weight:700;margin-bottom:.5rem;letter-spacing:.05em}
.timeline-label {font-size:.85rem;color:#aeb6c0;line-height:1.5}
.episodes-grid-section {margin:2.5rem 0}
.episodes-grid-section .fragment-heading {margin-bottom:1.2rem;font-size:1.2rem}
.episode-grid {display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.episode-card {display:flex;gap:1rem;padding:1rem;background:#191e24;border:1px solid #2a2f36;border-radius:8px;align-items:flex-start;transition:border-color .2s,background .2s}
.episode-card:hover {border-color:#3a414c;background:#1f252c}
.episode-number {flex:0 0 auto;width:2.2rem;height:2.2rem;border-radius:50%;background:radial-gradient(circle at 30% 30%,#c9a86a,#8a6f3f);display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:800;color:#0e1116}
.episode-info {flex:1;min-width:0}
.episode-title {font-size:1rem;font-weight:700;color:#e8eaed;margin-bottom:.3rem}
.episode-summary {font-size:.82rem;color:#8a95a1;line-height:1.5;margin-bottom:.4rem}
.episode-duration {font-size:.72rem;color:#6c7681;background:#1c2128;padding:.15rem .6rem;border-radius:10px;border:1px solid #2a2f36}
.comments-section {margin:2.5rem 0}
.comments-section .fragment-heading {margin-bottom:1.2rem;font-size:1.2rem}
.comment-list {display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.comment-bubble {background:#191e24;border:1px solid #2a2f36;border-radius:12px;padding:1rem 1.2rem;position:relative;transition:border-color .2s}
.comment-bubble::before {content:"";position:absolute;top:14px;right:-6px;width:10px;height:10px;background:#191e24;border-right:1px solid #2a2f36;border-top:1px solid #2a2f36;transform:rotate(45deg)}
.comment-nickname {display:block;font-size:.82rem;font-weight:700;color:#c9a86a;margin-bottom:.5rem;letter-spacing:.03em}
.comment-text {font-size:.88rem;color:#b0b8c2;line-height:1.6}
.recommendation-region {margin:2.5rem 0}
.rec-title {font-size:1.2rem;font-weight:700;color:#e8eaed;margin-bottom:1rem;border-left:3px solid #c9a86a;padding-left:.6rem}
.rec-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
a[data-runtime="recommendation"] {display:flex;flex-direction:column;background:#191e24;border:1px solid #2a2f36;border-radius:8px;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s}
a[data-runtime="recommendation"]:hover {transform:translateY(-3px);border-color:#c9a86a;box-shadow:0 6px 16px rgba(0,0,0,.4)}
a[data-runtime="recommendation"] img {width:100%;aspect-ratio:16/9;object-fit:cover;background:#0e1116}
a[data-runtime="recommendation"] [data-runtime="name"] {font-size:.9rem;font-weight:700;color:#d0d5dc;padding:.6rem .8rem 0;line-height:1.3;flex:0 0 auto}
a[data-runtime="recommendation"] [data-runtime="blurb"] {font-size:.78rem;color:#7d8794;padding:.3rem .8rem .7rem;line-height:1.4;flex:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
footer {background:#14181d;border-top:1px solid #2a2f36;margin-top:3rem;padding:2rem 1.5rem 1.5rem;display:flex;flex-wrap:wrap;gap:.8rem 2rem;align-items:center}
.footer-disclaimer {font-size:.75rem;color:#6c7681;line-height:1.5;width:100%;border-bottom:1px solid #2a2f36;padding-bottom:1rem;margin-bottom:.5rem}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {font-size:.85rem;color:#9aa4b2;border-bottom:1px solid transparent;transition:color .2s,border-color .2s}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {color:#c9a86a;border-bottom-color:#c9a86a}
.friend-links {display:flex;flex-wrap:wrap;gap:.4rem 1rem;align-items:center;width:auto;flex:1;min-width:200px}
.friend-links-label {font-size:.8rem;color:#7d8794;font-weight:600;margin-right:.4rem}
a.runtime-friend-link {font-size:.78rem;color:#8a95a1;border-bottom:1px solid #2a2f36;transition:color .2s,border-color .2s;white-space:nowrap}
a.runtime-friend-link:hover {color:#c9a86a;border-bottom-color:#c9a86a}
video.playing-state {box-shadow:0 0 0 2px #c9a86a}
video.muted-state {opacity:.85}
video.theater-mode {position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:90vw;height:auto;z-index:1000;border-radius:0;box-shadow:0 0 60px rgba(0,0,0,.9)}
body.lights-off {background:#05070a}
body.lights-off main, body.lights-off header, body.lights-off footer {opacity:.6;filter:brightness(.7)}
body.lights-off video.theater-mode {opacity:1;filter:none}
@media (max-width:1100px){.rec-grid {grid-template-columns:repeat(3,1fr)}
.hero-media-shell {grid-template-columns:minmax(160px,220px) minmax(0,1fr)}
.player-shell {min-width:480px}}
@media (max-width:900px){.hero-media-shell {grid-template-columns:1fr;gap:1rem}
.poster-frame {max-width:220px}
.player-shell {min-width:480px}
.episode-grid {grid-template-columns:repeat(2,1fr)}
.comment-list {grid-template-columns:repeat(2,1fr)}
.rec-grid {grid-template-columns:repeat(2,1fr)}}
@media (max-width:680px){header {flex-direction:column;gap:.8rem;padding:1rem}
nav[data-contract="categories"] {justify-content:center;width:100%}
.movie-overview-hero {margin:1rem 0}
.hero-media-shell {grid-template-columns:1fr;padding:1rem}
.poster-frame {max-width:180px}
.player-shell {min-width:480px}
.hero-title-group {padding:.8rem 1rem}
.movie-title {font-size:1.5rem}
.cast-strip, .synopsis-block, .movie-details-panel, .episode-status-block {padding-left:1rem;padding-right:1rem}
.episode-grid {grid-template-columns:1fr}
.comment-list {grid-template-columns:1fr}
.rec-grid {grid-template-columns:1fr 1fr}
.detail-grid {grid-template-columns:1fr 1fr}}
@media (max-width:520px){main {padding:0 .8rem}
.player-shell {min-width:480px}
.rec-grid {grid-template-columns:1fr}
.detail-grid {grid-template-columns:1fr}
.timeline-node {min-width:150px}
footer {flex-direction:column;align-items:flex-start}
.friend-links {width:100%}}

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}
