*, *::before, *::after {box-sizing:border-box;margin:0;padding:0}
html {scroll-behavior:smooth}
body {font-family:Georgia,"Times New Roman",serif;background:#1a1f2e;color:#e8dcc8;line-height:1.5;min-height:100vh}
img, video {display:block;max-width:100%}
a {color:inherit}
ul, ol {list-style:none}
button {font:inherit;cursor:pointer;background:none;border:none;color:inherit}
header {display:flex;align-items:center;gap:24px;padding:14px 24px;background:#12161f;border-bottom:2px solid #8a6d3b;position:sticky;top:0;z-index:100}
.site-brand {font-size:1.5rem;font-weight:700;color:#c9a84c;text-decoration:none;letter-spacing:2px}
.site-brand:hover {color:#e8d48a}
header nav {display:flex;gap:12px;overflow-x:auto;scrollbar-width:none}
header nav::-webkit-scrollbar {display:none}
.runtime-category {color:#b8a88a;text-decoration:none;font-size:0.9rem;padding:6px 12px;border:1px solid #3a4152;border-radius:20px;white-space:nowrap;transition:all .2s}
.runtime-category:hover {color:#1a1f2e;background:#c9a84c;border-color:#c9a84c}
main {max-width:1400px;margin:0 auto;padding:24px;display:flex;flex-direction:column;gap:32px}
.movie-overview-shell {display:grid;grid-template-columns:minmax(300px,420px) 1fr;grid-template-rows:auto auto auto;gap:24px;background:linear-gradient(145deg,#222838 0%,#1c2130 100%);border:1px solid #3a4152;border-radius:16px;padding:28px;position:relative;box-shadow:0 8px 32px rgba(0,0,0,.4)}
.poster-hero {grid-row:1/4;grid-column:1;align-self:start}
.main-poster-img {width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.5)}
.title-tagline-group {grid-column:2;display:flex;flex-direction:column;gap:12px}
.movie-title {font-size:2.2rem;font-weight:800;color:#e8d48a;line-height:1.2;letter-spacing:1px}
.movie-tagline {font-size:1.2rem;font-style:italic;color:#c9a84c;border-left:4px solid #c9a84c;padding-left:16px}
.seo-description {font-size:0.95rem;color:#b8a88a;max-width:70ch}
.details-panel {grid-column:2;background:rgba(0,0,0,.2);border-radius:8px;padding:16px}
.details-list {display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.detail-item {display:flex;flex-direction:column;gap:2px;padding:8px;background:rgba(255,255,255,.03);border-radius:6px}
.detail-item dt {font-size:0.75rem;color:#8a7a5a;text-transform:uppercase;letter-spacing:1px}
.detail-item dd {font-size:0.9rem;color:#e8dcc8;font-weight:600}
.synopsis-block {grid-column:2;display:flex;flex-direction:column;gap:10px}
.synopsis-block p {font-size:0.95rem;color:#d4c8b4;line-height:1.7}
.cast-section {grid-column:2;display:flex;flex-direction:column;gap:12px}
.cast-list {display:flex;gap:12px;flex-wrap:wrap}
.cast-card {background:linear-gradient(135deg,#c9a84c,#a8842e);color:#12161f;padding:10px 18px;border-radius:30px;font-weight:700;font-size:0.95rem;box-shadow:0 4px 12px rgba(0,0,0,.3);transition:transform .2s}
.cast-card:hover {transform:translateY(-3px)}
.episode-status-block {grid-column:2;display:flex;flex-direction:column;gap:16px}
.episode-meta {display:flex;gap:16px;align-items:center}
.episode-current {background:#c9a84c;color:#12161f;padding:6px 16px;border-radius:20px;font-weight:700;font-size:0.9rem}
.episode-total {color:#b8a88a;font-size:0.9rem}
.player-wrapper {position:relative;width:100%;min-width:0}
.player-wrapper video {width:100%;aspect-ratio:16/9;border-radius:12px;background:#000;border:1px solid #3a4152}
.player-controls {display:flex;gap:8px;flex-wrap:wrap;padding:12px 0}
.player-controls button {background:#2a3040;color:#e8dcc8;padding:8px 14px;border-radius:6px;font-size:0.8rem;transition:background .2s}
.player-controls button:hover {background:#c9a84c;color:#12161f}
.section-subheading {font-size:1.5rem;font-weight:800;color:#e8d48a;margin-bottom:16px;position:relative;padding-left:16px}
.section-subheading::before {content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:24px;background:#c9a84c;border-radius:2px}
.timeline-section {background:#1e2433;border-radius:12px;padding:24px;border:1px solid #3a4152}
.timeline-list {position:relative;display:flex;flex-direction:column;gap:0}
.timeline-list::before {content:"";position:absolute;left:20px;top:0;bottom:0;width:2px;background:linear-gradient(to bottom,#c9a84c,#5a4a2a)}
.timeline-item {display:flex;gap:24px;align-items:flex-start;padding:12px 0;position:relative}
.timeline-item::before {content:"";position:absolute;left:14px;top:20px;width:14px;height:14px;background:#c9a84c;border-radius:50%;border:3px solid #1e2433;box-shadow:0 0 0 2px #c9a84c}
.timecode {flex:0 0 80px;font-weight:700;color:#c9a84c;font-size:0.9rem;padding-left:48px}
.timeline-label {color:#e8dcc8;font-size:1rem}
.episodes-section {padding:24px 0}
.episode-chip-list {display:flex;gap:16px;overflow-x:auto;padding-bottom:12px;scrollbar-width:thin;scrollbar-color:#c9a84c #2a3040}
.episode-chip {flex:0 0 300px;background:#222838;border:1px solid #3a4152;border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:8px;transition:transform .2s}
.episode-chip:hover {transform:translateY(-4px)}
.episode-number {font-size:2rem;font-weight:800;color:#c9a84c}
.episode-title {font-size:1.3rem;font-weight:700;color:#e8d48a}
.episode-summary {font-size:0.9rem;color:#b8a88a;line-height:1.6}
.episode-duration {font-size:0.8rem;color:#8a7a5a;margin-top:auto;border-top:1px solid #3a4152;padding-top:8px}
.comments-section {padding:24px 0}
.comments-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.comment-card {background:#222838;border-radius:12px;padding:20px;box-shadow:0 4px 16px rgba(0,0,0,.3);display:flex;flex-direction:column;gap:12px;border:1px solid #3a4152}
.comment-nickname {font-weight:700;color:#c9a84c;font-size:0.95rem;display:flex;align-items:center;gap:8px}
.comment-nickname::before {content:"“";font-size:2rem;color:#c9a84c;line-height:1}
.comment-text {font-size:0.95rem;color:#d4c8b4;line-height:1.6}
.recommendation-region {padding:24px 0}
.recommendation-row {display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.recommendation-row a[data-runtime="recommendation"] {background:#222838;border-radius:12px;overflow:hidden;text-decoration:none;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column;border:1px solid #3a4152}
.recommendation-row a[data-runtime="recommendation"]:hover {transform:translateY(-6px);box-shadow:0 12px 32px rgba(0,0,0,.5)}
.recommendation-row a[data-runtime="recommendation"] img {width:100%;aspect-ratio:16/9;object-fit:cover;border-bottom:2px solid #c9a84c}
.recommendation-row a[data-runtime="recommendation"] span {padding:10px 14px}
.recommendation-row a[data-runtime="recommendation"] span[data-runtime="name"] {font-weight:700;color:#e8d48a;font-size:1rem}
.recommendation-row a[data-runtime="recommendation"] span[data-runtime="blurb"] {font-size:0.85rem;color:#b8a88a;line-height:1.5;padding-top:0}
footer {background:#12161f;border-top:2px solid #8a6d3b;padding:32px 24px;display:flex;flex-direction:column;gap:16px;align-items:center;text-align:center}
footer a[data-contract="footer-home"], footer a[data-contract="footer-sitemap"] {color:#c9a84c;text-decoration:none;font-size:0.95rem;padding:8px 16px;border:1px solid #3a4152;border-radius:20px;transition:all .2s;display:inline-block}
footer a[data-contract="footer-home"]:hover, footer a[data-contract="footer-sitemap"]:hover {background:#c9a84c;color:#12161f}
footer > div {color:#8a7a5a;font-size:0.85rem;max-width:800px}
footer nav[data-contract="friend-links"] {display:flex;flex-wrap:wrap;gap:12px;justify-content:center;align-items:center}
.friend-links-label {color:#8a7a5a;font-size:0.9rem;white-space:nowrap}
.runtime-friend-link {color:#b8a88a;text-decoration:none;font-size:0.85rem;padding:4px 10px;border:1px dashed #3a4152;border-radius:4px;transition:all .2s}
.runtime-friend-link:hover {color:#c9a84c;border-color:#c9a84c;text-decoration:underline}
video.is-muted {opacity:0.6}
video.speed-changed {outline:2px solid #c9a84c}
video.fullscreen-active {border-radius:0}
video.theater-mode {position:fixed;top:0;left:0;width:100%;height:100%;z-index:1000;background:#000;border:none;border-radius:0}
video.light-dimmed {filter:brightness(0.6)}
body.lights-off {background:#0a0c12}
body.lights-off .movie-overview-shell, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .recommendation-region, body.lights-off footer {background:rgba(10,12,18,.9)}
@media (min-width:901px) and (max-width:1200px){.comments-grid {grid-template-columns:repeat(2,1fr)}
.recommendation-row {grid-template-columns:repeat(2,1fr)}
.details-list {grid-template-columns:repeat(2,1fr)}}
@media (min-width:701px) and (max-width:900px){.movie-overview-shell {grid-template-columns:280px 1fr;gap:20px;padding:20px}
.movie-title {font-size:1.6rem}
.poster-hero {grid-row:1/3}
.title-tagline-group, .details-panel, .synopsis-block, .cast-section, .episode-status-block {grid-column:2}
.comments-grid {grid-template-columns:repeat(2,1fr)}
.recommendation-row {grid-template-columns:repeat(2,1fr)}
.episode-chip {flex-basis:260px}}
@media (max-width:700px){main {padding:16px;gap:24px}
.movie-overview-shell {grid-template-columns:1fr;padding:16px}
.poster-hero {grid-row:auto;grid-column:1}
.main-poster-img {aspect-ratio:2/3;max-width:280px;margin:0 auto}
.title-tagline-group, .details-panel, .synopsis-block, .cast-section, .episode-status-block {grid-column:1}
.movie-title {font-size:1.4rem}
.details-list {grid-template-columns:repeat(2,1fr)}
.cast-list {justify-content:center}
.timeline-item {flex-direction:column;gap:4px}
.timecode {padding-left:48px}
.episode-chip-list {flex-direction:row;overflow-x:auto}
.episode-chip {flex:0 0 240px}
.comments-grid {grid-template-columns:1fr}
.recommendation-row {grid-template-columns:1fr}
.player-controls {justify-content:center}
header {flex-direction:column;gap:12px;padding:12px}
header nav {width:100%;justify-content:flex-start}
.runtime-category {font-size:0.8rem;padding:4px 10px}
footer nav[data-contract="friend-links"] {flex-direction:column;gap:8px}
.episode-status-block {min-width:0}
.player-wrapper {min-width:0;width:100%}}
@media (max-width:480px){.movie-overview-shell {padding:12px}
.details-list {grid-template-columns:1fr}
.section-subheading {font-size:1.2rem}
.timeline-list::before {left:12px}
.timeline-item::before {left:6px}
.timecode {padding-left:36px}
.episode-chip {flex-basis:220px}
.recommendation-row a[data-runtime="recommendation"] img {aspect-ratio:16/10}}

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}
