*, *::before, *::after {box-sizing:border-box;margin:0;padding:0}
html {font-size:16px;scroll-behavior:smooth}
body {background:#1a110d;color:#f2e8dc;font-family:Georgia,"Times New Roman",serif;line-height:1.5;min-height:100vh}
img, video {display:block;max-width:100%;height:auto}
a {color:inherit;text-decoration:none}
button, input {font:inherit;color:inherit}
h1, h2, h3 {font-weight:700;line-height:1.2}
header {background:#0f0a07;border-bottom:2px solid #8b5e34;padding:0.75rem 1rem;display:flex;flex-wrap:wrap;align-items:center;gap:1rem;position:sticky;top:0;z-index:100}
.site-brand {font-size:1.4rem;font-weight:700;letter-spacing:0.08em;color:#e8b04a;border-bottom:2px solid transparent;transition:border-color 0.3s}
a[data-contract="site-name"]:hover {color:#f5cd6d;border-color:#e8b04a}
a[data-contract="site-name"]:visited {color:#e8b04a}
.categories-shell {display:flex;flex-wrap:wrap;gap:0.5rem;flex:1;justify-content:flex-end}
.runtime-category {background:transparent;border:1px solid #6b4a2b;color:#d9c2a7;padding:0.35rem 0.8rem;font-size:0.85rem;border-radius:20px;white-space:nowrap;transition:all 0.3s}
.runtime-category:hover {background:#8b5e34;border-color:#e8b04a;color:#fff}
.runtime-category:visited {color:#d9c2a7}
.runtime-category:active {color:#fff}
main {max-width:1280px;margin:0 auto;padding:1rem 1rem 2rem}
.movie-overview {background:#241812;border:1px solid #5a3c22;border-radius:12px;padding:1rem;margin-bottom:2rem;box-shadow:0 8px 30px rgba(0,0,0,0.5)}
.overview-media-wrap {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:1rem;margin-bottom:0.75rem}
.poster-frame {position:relative;max-width:300px;justify-self:start}
.main-poster {width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:8px;border:1px solid #6b4a2b}
.player-frame {min-width:0;display:flex;align-items:flex-start}
.main-player {background:#000;border-radius:8px;border:1px solid #6b4a2b}
video.main-player {width:100%}
.title-block {padding:0.5rem 0 0.5rem;border-bottom:1px solid #4a3020;margin-bottom:0.75rem}
.movie-title {font-size:1.8rem;color:#f5cd6d;letter-spacing:0.05em;margin-bottom:0.25rem}
.tagline {font-style:italic;color:#c9a87c;font-size:1rem}
.cast-shell {margin-bottom:1rem;padding:0.5rem 0}
.section-heading {font-size:1.2rem;color:#e8b04a;text-transform:uppercase;letter-spacing:0.08em;border-left:4px solid #b5651d;padding-left:0.5rem;margin-bottom:0.75rem}
.cast-list {display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:0.75rem}
.cast-card {display:flex;flex-direction:column;align-items:center;text-align:center;padding:0.5rem;background:rgba(0,0,0,0.2);border-radius:8px;border:1px solid #3d2a1a}
.actor-portrait {width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg,#5a3c22,#8b5e34);margin-bottom:0.5rem;border:2px solid #b5651d}
.actor-name {font-weight:700;color:#e8d5b8;font-size:0.95rem}
.role-name {font-size:0.8rem;color:#a8876a}
.synopsis-panel {background:#f5efe6;color:#2c2018;border-radius:8px;padding:1rem;margin-bottom:1rem;border:1px solid #d4b896}
.synopsis-panel .section-heading {color:#6b3a2a;border-color:#b5651d}
.synopsis-line {margin-bottom:0.6rem;font-size:0.95rem;line-height:1.6}
.synopsis-line:last-child {margin-bottom:0}
.episode-status-block {display:flex;gap:0.75rem;align-items:center;margin-bottom:1rem;flex-wrap:wrap}
.status-badge {background:#b5651d;color:#fff;padding:0.25rem 0.75rem;border-radius:20px;font-weight:700;font-size:0.85rem}
.update-info {color:#c9a87c;font-size:0.9rem}
.details-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:0.35rem;padding-top:0.5rem;border-top:1px solid #4a3020}
.detail-item {display:flex;flex-direction:column;background:rgba(0,0,0,0.15);padding:0.35rem 0.5rem;border-radius:4px}
.detail-label {font-size:0.7rem;text-transform:uppercase;color:#a8876a;letter-spacing:0.05em}
.detail-value {font-size:0.9rem;color:#e8d5b8}
.timeline-section {margin-bottom:2rem}
.timeline-vertical {display:grid;grid-template-columns:1fr;gap:0.5rem;position:relative;padding-left:1.5rem}
.timeline-vertical::before {content:"";position:absolute;left:6px;top:0;bottom:0;width:2px;background:#8b5e34}
.timeline-entry {display:flex;align-items:baseline;gap:1rem;padding:0.5rem;background:rgba(0,0,0,0.2);border-radius:6px;border-left:3px solid #b5651d}
.timecode {font-weight:700;color:#e8b04a;min-width:70px;font-size:0.95rem}
.event-label {color:#d9c2a7;font-size:0.9rem}
.episodes-listing {margin-bottom:2rem}
.episode-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:0.75rem}
.episode-card {background:#1f1610;border:1px solid #4a3020;border-radius:8px;padding:0.75rem;display:flex;flex-direction:column;gap:0.35rem}
.ep-number {font-size:0.8rem;color:#b5651d;font-weight:700;letter-spacing:0.05em}
.ep-title {font-size:1rem;color:#e8d5b8;margin:0}
.ep-summary {font-size:0.85rem;color:#a8876a;flex:1}
.ep-duration {font-size:0.75rem;color:#8b5e34}
.comments-section {margin-bottom:2rem}
.comments-list {display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:0.75rem;background:#1a110d;padding:1rem;border-radius:8px;border:1px solid #3d2a1a}
.comment-bubble {background:#2a1e16;border-radius:12px 12px 12px 4px;padding:0.75rem;border:1px solid #5a3c22;position:relative}
.comment-nick {display:block;font-weight:700;color:#e8b04a;margin-bottom:0.35rem;font-size:0.85rem}
.comment-text {font-size:0.85rem;color:#d9c2a7;line-height:1.5}
.recommend-region {margin-bottom:2rem}
.recommend-title {font-size:1.2rem;color:#e8b04a;margin-bottom:0.75rem;font-weight:700}
.recommend-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:0.75rem}
a.recommend-card {display:flex;flex-direction:column;background:#241812;border:1px solid #4a3020;border-radius:8px;padding:0.5rem;transition:transform 0.2s,box-shadow 0.2s;color:inherit}
a.recommend-card:hover {transform:translateY(-2px);box-shadow:0 4px 15px rgba(0,0,0,0.5);border-color:#b5651d}
a.recommend-card:visited {color:inherit}
a.recommend-card:active {color:inherit}
[data-runtime="recommendation"] img.recommend-poster {width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:4px;margin-bottom:0.4rem}
.recommend-name {font-weight:700;color:#e8d5b8;font-size:0.9rem;margin-bottom:0.25rem;line-height:1.3}
.recommend-blurb {font-size:0.8rem;color:#a8876a;line-height:1.4;flex:1}
footer {background:#0f0a07;border-top:2px solid #8b5e34;padding:1.25rem 1rem;font-size:0.85rem;display:flex;flex-direction:column;gap:0.75rem}
.footer-disclaimer {color:#8b7a6a;line-height:1.5}
.friend-links {display:flex;flex-wrap:wrap;gap:0.5rem;align-items:center}
.friend-label {color:#e8b04a;font-weight:700;margin-right:0.25rem}
a.runtime-friend-link {color:#a8876a;border-bottom:1px dotted #6b4a2b;padding:0.1rem 0;transition:color 0.2s}
a.runtime-friend-link:hover {color:#e8b04a}
a.runtime-friend-link:visited {color:#a8876a}
a.runtime-friend-link:active {color:#e8b04a}
.footer-links {display:flex;gap:1.5rem;flex-wrap:wrap}
a[data-contract="footer-home"] {color:#e8b04a;border-bottom:1px solid transparent}
a[data-contract="footer-home"]:hover {border-color:#e8b04a}
a[data-contract="footer-home"]:visited {color:#e8b04a}
a[data-contract="footer-sitemap"] {color:#a8876a;border-bottom:1px solid transparent}
a[data-contract="footer-sitemap"]:hover {color:#e8b04a;border-color:#e8b04a}
a[data-contract="footer-sitemap"]:visited {color:#a8876a}
.player-controls {position:fixed;bottom:1rem;right:1rem;display:flex;gap:0.4rem;background:rgba(20,12,8,0.9);padding:0.5rem;border-radius:8px;border:1px solid #6b4a2b;z-index:1000;flex-wrap:wrap;max-width:calc(100vw - 2rem)}
.player-btn {background:#3d2a1a;border:1px solid #6b4a2b;color:#e8d5b8;padding:0.35rem 0.6rem;font-size:0.75rem;border-radius:4px;cursor:pointer;transition:background 0.2s}
.player-btn:hover {background:#8b5e34}
.player-btn.playing {background:#b5651d;color:#fff}
.player-btn.muted {background:#8b0000}
input[type="range"] {width:100px;background:#3d2a1a;height:4px;appearance:none;-webkit-appearance:none;border-radius:2px}
input[type="range"]::-webkit-slider-thumb {appearance:none;-webkit-appearance:none;width:14px;height:14px;background:#e8b04a;border-radius:50%;cursor:pointer}
input[type="range"]::-moz-range-thumb {width:14px;height:14px;background:#e8b04a;border-radius:50%;cursor:pointer;border:none}
.play-btn.playing::before {content:"⏸ "}
.play-btn:not(.playing)::before {content:"▶ "}
.mute-btn.muted::before {content:"🔇 "}
.mute-btn:not(.muted)::before {content:"🔊 "}
body.theater-mode .player-frame {max-width:none;width:100%}
body.theater-mode .overview-media-wrap {grid-template-columns:1fr}
body.theater-mode .poster-frame {display:none}
body.lights-off {background:#0a0604}
body.lights-off .movie-overview, body.lights-off .timeline-section, body.lights-off .episodes-listing, body.lights-off .comments-section, body.lights-off .recommend-region {filter:brightness(0.7)}
body.lights-off .player-frame {filter:brightness(1.2)}
body.lights-off header, body.lights-off footer {filter:brightness(0.5)}
@media (max-width:900px){.overview-media-wrap {grid-template-columns:1fr}
.poster-frame {max-width:260px;justify-self:center}
.player-frame {width:100%}
.movie-title {font-size:1.5rem}}
@media (max-width:600px){header {flex-direction:column;align-items:flex-start;gap:0.5rem}
.categories-shell {justify-content:flex-start;width:100%}
.movie-overview {padding:0.75rem}
.poster-frame {max-width:180px}
.cast-list {grid-template-columns:repeat(2,1fr)}
.details-grid {grid-template-columns:repeat(2,1fr)}
.episode-grid {grid-template-columns:1fr}
.comments-list {grid-template-columns:1fr}
.recommend-grid {grid-template-columns:repeat(2,1fr)}
.player-controls {position:static;margin:1rem auto 0;max-width:100%;border-radius:8px}
.timeline-vertical {padding-left:1rem}
.timecode {min-width:60px}}
@media (max-width:400px){.cast-list {grid-template-columns:1fr}
.recommend-grid {grid-template-columns:1fr}
.overview-media-wrap {grid-template-columns:1fr}
.main-poster {max-width:140px;margin:0 auto}}
@media (max-width:480px){.player-frame {min-width:0;width:100%}
.overview-media-wrap {grid-template-columns:minmax(0,1fr)}}

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}
