*, *::before, *::after {box-sizing:border-box;margin:0;padding:0}
html {scroll-behavior:smooth}
body {font-family:"Songti SC","Noto Serif SC","Times New Roman",serif;background:#1c2329;color:#c9d1d9;line-height:1.6;font-weight:300}
img, video {display:block;max-width:100%;height:auto}
ul, ol, dl, dd {list-style:none}
a {color:inherit;text-decoration:none}
button {background:none;border:none;color:inherit;font:inherit;cursor:pointer}
h1, h2, h3 {font-weight:700;line-height:1.2}
.serif-bold {font-weight:700}
.serif-italic {font-style:italic;font-weight:300}
header {position:sticky;top:0;z-index:100;display:flex;align-items:center;gap:1.5rem;padding:.75rem 2rem;background:rgba(28,35,41,.92);backdrop-filter:blur(8px);border-bottom:1px solid #3a444c;box-shadow:0 4px 20px rgba(0,0,0,.4)}
a[data-contract="site-name"] {font-size:1.4rem;font-weight:700;letter-spacing:.15em;color:#e8b87a;text-decoration:none;white-space:nowrap}
a[data-contract="site-name"]:hover {color:#f4d4a8}
nav[data-contract="categories"] {display:flex;flex-wrap:wrap;gap:.25rem;overflow-x:auto;flex:1;justify-content:flex-end}
.runtime-category {display:inline-block;padding:.3rem .65rem;font-size:.8rem;color:#8ba0ae;text-decoration:none;white-space:nowrap;border-radius:20px;transition:background .2s,color .2s}
.runtime-category:hover {background:#3a444c;color:#e8b87a}
.hero-backdrop {position:relative;height:100vh;min-height:600px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#1c2329}
.hero-image {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.6) saturate(.9) contrast(1.05);animation:heroZoom 8s ease-out forwards}
@keyframes heroZoom{from{transform:scale(1.08)}to{transform:scale(1)}}
.hero-tagline-wrap {position:relative;z-index:2;text-align:center;padding:2rem}
.hero-tagline {font-size:clamp(2rem,6vw,4.5rem);font-weight:700;letter-spacing:.2em;color:#f4e9d8;text-shadow:0 4px 30px rgba(0,0,0,.8),0 0 60px rgba(0,0,0,.5);line-height:1.3}
main {max-width:1400px;margin:0 auto;padding:1rem 2rem 3rem}
.movie-overview {display:grid;grid-template-columns:280px 1fr;grid-template-areas:"poster title" "poster cast" "poster synopsis" "poster status" "poster details";gap:.25rem 2rem;background:linear-gradient(160deg,#232b32,#1a2126);border:1px solid #3a444c;border-radius:12px;padding:2rem;margin-top:2rem;position:relative;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.poster-wrapper {grid-area:poster;align-self:start;width:280px;max-width:100%}
.poster-wrapper img {width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,.6)}
.title-tagline-group {grid-area:title;align-self:end;padding-top:1rem}
.movie-title {font-size:2.2rem;color:#e8b87a;letter-spacing:.08em;margin-bottom:.5rem}
.movie-tagline {font-size:1.3rem;color:#a8b5bd;border-left:3px solid #e8b87a;padding-left:1rem}
.cast-group {grid-area:cast;margin-top:.5rem}
.section-title {font-size:1.1rem;color:#e8b87a;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.75rem;display:flex;align-items:center;gap:.75rem}
.section-title::after {content:"";flex:1;height:1px;background:linear-gradient(90deg,#3a444c,transparent)}
.cast-list {display:flex;flex-wrap:wrap;gap:.5rem}
.cast-chip {background:#2a333a;border:1px solid #3a444c;border-radius:20px;padding:.35rem 1rem;font-size:.95rem;color:#d4dce2;transition:background .2s,border-color .2s}
.cast-chip:hover {background:#3a444c;border-color:#e8b87a;color:#e8b87a}
.synopsis-panel {grid-area:synopsis;margin-top:.5rem}
.synopsis-para {font-size:.95rem;color:#b0bcc5;margin-bottom:.5rem;text-align:justify;line-height:1.7}
.episode-status {grid-area:status;margin-top:.5rem;padding:.5rem 0}
.status-text {font-size:1.1rem;color:#c9d1d9}
.current-episode, .total-episodes {font-weight:700;color:#e8b87a;font-size:1.4rem;margin:0 .1rem}
.details-grid {grid-area:details;display:grid;grid-template-columns:repeat(2,1fr);gap:.4rem .8rem;margin-top:.5rem;border-top:1px solid #3a444c;padding-top:1rem}
.detail-item {display:flex;gap:.5rem;font-size:.9rem}
.detail-item dt {color:#8ba0ae;font-weight:400;white-space:nowrap}
.detail-item dd {color:#d4dce2;font-weight:400}
.player-shell {background:#0d1117;border-radius:12px;padding:1rem;margin-top:1.5rem;border:1px solid #3a444c;box-shadow:0 8px 30px rgba(0,0,0,.5)}
.player-shell video {width:100%;border-radius:8px;background:#000}
.player-controls {display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.75rem;padding:.5rem;background:#1a2126;border-radius:8px}
.player-controls button {font-size:.8rem;padding:.3rem .8rem;background:#2a333a;border-radius:4px;color:#a8b5bd;transition:background .2s,color .2s}
.player-controls button:hover {background:#3a444c;color:#e8b87a}
body.lights-off .hero-image, body.lights-off .poster-wrapper, body.lights-off .movie-overview {filter:brightness(.4)}
body.lights-off .player-shell {background:#000;border-color:#1a2126}
body.lights-off .player-shell video {filter:brightness(.9)}
.episodes-panel {margin-top:2.5rem}
.episode-card-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem}
.episode-card {background:#232b32;border:1px solid #3a444c;border-radius:10px;padding:1rem;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;flex-direction:column;gap:.3rem}
.episode-card:hover {transform:translateY(-4px);box-shadow:0 8px 20px rgba(0,0,0,.4);border-color:#e8b87a}
.episode-number {font-size:2rem;font-weight:700;color:#3a444c;line-height:1}
.episode-title {font-size:1.1rem;color:#e8b87a;font-weight:700}
.episode-summary {font-size:.85rem;color:#a8b5bd;flex:1}
.episode-duration {font-size:.8rem;color:#8ba0ae;font-style:italic}
.timeline-panel {margin-top:2.5rem;background:#232b32;border:1px solid #3a444c;border-radius:12px;padding:2rem}
.timeline-list {position:relative;padding-left:2rem;max-width:700px}
.timeline-list::before {content:"";position:absolute;left:.6rem;top:0;bottom:0;width:2px;background:linear-gradient(to bottom,#e8b87a,#3a444c)}
.timeline-item {position:relative;padding:.75rem 0;display:flex;gap:1rem;align-items:baseline}
.timeline-item::before {content:"";position:absolute;left:-1.8rem;top:1rem;width:12px;height:12px;border-radius:50%;background:#e8b87a;box-shadow:0 0 12px rgba(232,184,122,.6)}
.timecode {font-family:"SF Mono","Consolas",monospace;font-size:.9rem;color:#e8b87a;white-space:nowrap;font-weight:400}
.label {color:#c9d1d9;font-size:.95rem}
.comments-wall {margin-top:2.5rem}
.comment-card-list {display:grid;grid-template-columns:repeat(2,1fr);gap:.8rem}
.comment-card {background:#232b32;border:1px solid #3a444c;border-radius:10px;padding:1.2rem;break-inside:avoid;transition:border-color .2s}
.comment-card:hover {border-color:#e8b87a}
.comment-author {font-size:1rem;font-weight:700;color:#e8b87a;margin-bottom:.5rem}
.comment-text {font-size:.9rem;color:#b0bcc5;line-height:1.6}
.recommendation-row {margin-top:2.5rem}
.recommendation-scroll {display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem;padding-bottom:.5rem}
a[data-runtime="recommendation"] {display:flex;flex-direction:column;gap:.5rem;background:#232b32;border:1px solid #3a444c;border-radius:10px;padding:.75rem;text-decoration:none;color:#d4dce2;transition:transform .2s,box-shadow .2s;overflow:hidden}
a[data-runtime="recommendation"]:hover {transform:translateY(-4px);box-shadow:0 8px 20px rgba(0,0,0,.4);border-color:#e8b87a}
a[data-runtime="recommendation"] img {width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:6px}
a[data-runtime="recommendation"] [data-runtime="name"] {font-weight:700;font-size:1rem;color:#e8b87a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
a[data-runtime="recommendation"] [data-runtime="blurb"] {font-size:.8rem;color:#a8b5bd;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
footer {background:#0d1117;border-top:1px solid #3a444c;padding:2rem;margin-top:3rem}
nav[data-contract="friend-links"] {display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-bottom:1rem}
.friend-links-label {font-size:.85rem;color:#8ba0ae;font-style:italic;margin-right:.5rem}
.runtime-friend-link {font-size:.85rem;color:#8ba0ae;text-decoration:none;padding:.25rem .5rem;border-radius:4px;transition:color .2s,background .2s}
.runtime-friend-link:hover {color:#e8b87a;background:#1a2126}
footer p {font-size:.8rem;color:#6b7a84;margin-bottom:1rem;text-align:center}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {display:inline-block;font-size:.9rem;color:#8ba0ae;text-decoration:none;margin-right:1rem;padding:.5rem 1rem;border:1px solid #3a444c;border-radius:4px;transition:color .2s,border-color .2s}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {color:#e8b87a;border-color:#e8b87a}
video.theater-mode {position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:100vw;height:100vh;object-fit:contain;z-index:9999;background:#000}
@media (max-width:1024px){.movie-overview {grid-template-columns:220px 1fr;gap:1rem}
.poster-wrapper {width:220px}
.episode-card-grid {grid-template-columns:repeat(3,1fr)}
.comment-card-list {grid-template-columns:1fr 1fr}}
@media (max-width:768px){header {flex-direction:column;gap:.5rem;padding:.75rem 1rem}
nav[data-contract="categories"] {justify-content:center;width:100%}
.hero-backdrop {height:70vh;min-height:400px}
.movie-overview {grid-template-columns:1fr;grid-template-areas:"poster" "title" "cast" "synopsis" "status" "details";padding:1.5rem}
.poster-wrapper {width:200px;margin:0 auto}
.movie-title {font-size:1.6rem}
.episode-card-grid {grid-template-columns:repeat(2,1fr)}
.timeline-list {padding-left:1.5rem}
.timeline-item {flex-direction:column;gap:.2rem}
.comment-card-list {grid-template-columns:1fr}
.recommendation-scroll {grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
.details-grid {grid-template-columns:1fr}
.player-controls {flex-wrap:wrap}
.player-controls button {flex:1 1 auto}}
@media (max-width:480px){main {padding:1rem}
.episode-card-grid {grid-template-columns:1fr}
.hero-tagline {font-size:1.8rem}
.recommendation-scroll {grid-template-columns:1fr}
.cast-list {flex-direction:column;gap:.35rem}
.cast-chip {text-align:center}
.detail-item {flex-direction:column;gap:.1rem}
.detail-item dt {font-size:.8rem}}

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}
