*, *::before, *::after {box-sizing:border-box;margin:0;padding:0}
html {scroll-behavior:smooth}
body {background:#0d1117;color:#e6e0d4;font-family:"Source Han Sans SC","Noto Sans SC","Microsoft YaHei",system-ui,sans-serif;line-height:1.6;min-height:100vh;overflow-x:hidden}
img, video {display:block;max-width:100%;height:auto}
a {text-decoration:none;color:inherit}
ul {list-style:none}
button {background:none;border:none;color:inherit;font:inherit;cursor:pointer}
h2, h3, h4 {font-weight:400;line-height:1.3}
main {max-width:1440px;margin:0 auto;padding:0 clamp(16px,3vw,48px)}
header {max-width:1440px;margin:0 auto;padding:16px clamp(16px,3vw,48px);display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;border-bottom:1px solid rgba(255,255,255,0.06)}
footer {max-width:1440px;margin:0 auto;padding:32px clamp(16px,3vw,48px);border-top:1px solid rgba(255,255,255,0.06)}
a[data-contract="site-name"] {font-family:"Source Han Serif SC","Noto Serif SC",serif;font-size:1.5rem;font-weight:700;color:#e8a33d;letter-spacing:0.05em;transition:color 0.2s}
a[data-contract="site-name"]:hover {color:#f0c06a}
.category-nav {display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.category-nav .runtime-category {display:inline-block;padding:6px 16px;border-radius:999px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);font-size:0.85rem;color:#c9c2b8;transition:all 0.2s;white-space:nowrap}
.category-nav .runtime-category:hover {background:rgba(232,163,61,0.15);border-color:rgba(232,163,61,0.4);color:#e8a33d}
.movie-overview-shell {display:grid;grid-template-columns:280px 1fr;gap:0;background:linear-gradient(135deg,rgba(20,28,40,0.6),rgba(10,14,20,0.8));border-radius:20px;margin:32px 0;overflow:hidden;border:1px solid rgba(255,255,255,0.05);box-shadow:0 20px 60px rgba(0,0,0,0.5)}
.poster-media {position:relative;background:#1a2027;align-self:start;height:auto;min-height:100%}
.main-poster-img {width:100%;aspect-ratio:2/3;object-fit:cover;display:block}
.play-badge {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:64px;height:64px;border-radius:50%;background:rgba(232,163,61,0.9);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform 0.3s,background 0.3s;box-shadow:0 4px 20px rgba(232,163,61,0.4)}
.play-badge:hover {transform:translate(-50%,-50%) scale(1.1);background:#e8a33d}
.play-triangle {width:0;height:0;border-left:18px solid #0d1117;border-top:11px solid transparent;border-bottom:11px solid transparent;margin-left:6px}
.info-group {padding:28px 32px 32px;display:flex;flex-direction:column;gap:20px}
.title-block {padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,0.06)}
.movie-title {font-family:"Source Han Serif SC","Noto Serif SC",serif;font-size:clamp(1.4rem,3vw,2.2rem);font-weight:700;color:#f0e9dc;letter-spacing:0.02em;margin-bottom:8px}
.movie-tagline {color:#8b95a5;font-size:0.95rem;font-style:italic}
.cast-chip-list {display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.chip-label {font-size:0.85rem;color:#8b95a5;text-transform:uppercase;letter-spacing:0.08em}
.chip-items {display:flex;gap:8px;flex-wrap:wrap}
.actor-chip {display:inline-block;padding:4px 16px;border-radius:999px;background:rgba(232,163,61,0.08);border:1px solid rgba(232,163,61,0.2);font-size:0.85rem;color:#e8a33d}
.synopsis-split {display:grid;grid-template-columns:1.2fr 0.8fr;gap:24px;align-items:start}
.section-subtitle {font-family:"Source Han Serif SC","Noto Serif SC",serif;font-size:1.1rem;font-weight:600;color:#e8a33d;margin-bottom:16px;display:flex;align-items:center;gap:12px}
.section-subtitle::after {content:"";flex:1;height:1px;background:rgba(255,255,255,0.08)}
.synopsis-text p {color:#b8b0a4;font-size:0.92rem;line-height:1.8;margin-bottom:12px}
.synopsis-visual {background:linear-gradient(145deg,#1a2434,#0f1620);border-radius:16px;padding:20px;min-height:220px;position:relative;overflow:hidden;border:1px solid rgba(255,255,255,0.04)}
.synopsis-image-placeholder {position:absolute;inset:0;background:radial-gradient(ellipse at 30% 40%,rgba(232,163,61,0.2),transparent 60%),radial-gradient(circle at 70% 80%,rgba(80,120,180,0.15),transparent 50%),linear-gradient(180deg,transparent 0%,rgba(0,0,0,0.4) 100%)}
.synopsis-image-placeholder::after {content:"";position:absolute;bottom:16px;left:16px;right:16px;height:2px;background:linear-gradient(90deg,transparent,rgba(232,163,61,0.6),transparent)}
.episode-status-bar {display:flex;align-items:center;gap:12px;padding:12px 16px;background:rgba(0,0,0,0.3);border-radius:12px;border-left:3px solid #e8a33d}
.status-label {font-size:0.85rem;color:#8b95a5}
.status-current {font-size:1rem;font-weight:700;color:#e8a33d}
.status-total {font-size:0.85rem;color:#8b95a5}
.details-card-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}
.detail-card {background:rgba(255,255,255,0.03);border-radius:10px;padding:12px 16px;display:flex;flex-direction:column;gap:4px;border:1px solid rgba(255,255,255,0.04)}
.detail-label {font-size:0.75rem;color:#8b95a5;text-transform:uppercase;letter-spacing:0.05em}
.detail-value {font-size:0.95rem;color:#e6e0d4;font-weight:500}
.detail-value.rating {color:#e8a33d;font-size:1.4rem;font-weight:700}
.player-wrapper {max-width:960px;margin:40px auto;background:#000;border-radius:20px;overflow:hidden;border:1px solid rgba(255,255,255,0.08);box-shadow:0 24px 80px rgba(0,0,0,0.6);min-width:480px;transition:all 0.4s}
.player-wrapper video {aspect-ratio:16/9;width:100%;background:#000}
.player-wrapper.theater-mode {max-width:100%;border-radius:0;margin:40px 0}
.player-controls {display:flex;gap:8px;padding:12px 16px;background:rgba(10,14,20,0.95);border-top:1px solid rgba(255,255,255,0.05);flex-wrap:wrap}
.player-controls button {padding:6px 14px;border-radius:8px;background:rgba(255,255,255,0.05);font-size:0.8rem;color:#b8b0a4;transition:all 0.2s;border:1px solid rgba(255,255,255,0.05)}
.player-controls button:hover {background:rgba(232,163,61,0.15);color:#e8a33d;border-color:rgba(232,163,61,0.3)}
.player-wrapper:not(.theater-mode) .player-controls {justify-content:center}
body.lights-off {background:#05070a}
body.lights-off .player-wrapper {box-shadow:0 0 0 100vmin #05070a;max-width:100%;border-radius:0;margin:40px 0}
.timeline-section {padding:48px 0 32px;max-width:800px;margin:0 auto}
.center-title {justify-content:center}
.center-title::after {display:none}
.timeline-track {position:relative;padding:20px 0;display:flex;flex-direction:column;gap:0}
.timeline-track::before {content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;background:linear-gradient(180deg,transparent,rgba(232,163,61,0.4),rgba(232,163,61,0.6),transparent);transform:translateX(-50%)}
.timeline-item {position:relative;padding:20px 40px;width:50%;transition:background 0.2s}
.timeline-item:nth-child(odd) {align-self:flex-start;text-align:right}
.timeline-item:nth-child(even) {align-self:flex-end;text-align:left}
.timeline-item::before {content:"";position:absolute;top:28px;width:12px;height:12px;border-radius:50%;background:#e8a33d;border:3px solid #0d1117;box-shadow:0 0 0 2px rgba(232,163,61,0.4)}
.timeline-item:nth-child(odd)::before {right:-6px}
.timeline-item:nth-child(even)::before {left:-6px}
.timecode {font-family:"Source Han Serif SC",serif;font-size:0.8rem;color:#e8a33d;display:block;margin-bottom:4px;font-weight:600}
.timeline-label {font-size:0.9rem;color:#b8b0a4;line-height:1.6}
.episodes-section {padding:48px 0}
.episode-card-slider {display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.episode-card {background:linear-gradient(145deg,rgba(26,36,52,0.6),rgba(15,22,32,0.8));border-radius:16px;padding:24px;border:1px solid rgba(255,255,255,0.05);transition:transform 0.3s,border-color 0.3s;position:relative;overflow:hidden}
.episode-card:hover {transform:translateY(-4px);border-color:rgba(232,163,61,0.3)}
.episode-card::before {content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,transparent,#e8a33d,transparent);opacity:0;transition:opacity 0.3s}
.episode-card:hover::before {opacity:1}
.episode-number {font-family:"Source Han Serif SC",serif;font-size:3rem;font-weight:700;color:transparent;-webkit-text-stroke:1.5px rgba(232,163,61,0.6);line-height:1;margin-bottom:12px}
.episode-title {font-family:"Source Han Serif SC",serif;font-size:1.2rem;font-weight:600;color:#e6e0d4;margin-bottom:8px}
.episode-summary {font-size:0.85rem;color:#8b95a5;line-height:1.6;margin-bottom:16px}
.episode-duration {font-size:0.75rem;color:#8b95a5;display:inline-block;padding:4px 12px;border-radius:999px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.06)}
.cast-grid-section {padding:48px 0}
.cast-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.cast-card {display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 16px;background:rgba(20,28,40,0.4);border-radius:16px;border:1px solid rgba(255,255,255,0.04);transition:background 0.3s}
.cast-card:hover {background:rgba(30,40,55,0.6)}
.cast-avatar {width:96px;height:96px;border-radius:50%;background:linear-gradient(145deg,#3a4a62,#1a2434);border:3px solid rgba(232,163,61,0.3);position:relative;overflow:hidden}
.cast-avatar::after {content:"";position:absolute;inset:8px;border-radius:50%;border:1px dashed rgba(232,163,61,0.3)}
.cast-name {font-family:"Source Han Serif SC",serif;font-size:1.1rem;font-weight:600;color:#e6e0d4}
.cast-role {font-size:0.85rem;color:#8b95a5}
.comments-masonry {display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:48px 0}
.comments-masonry>.section-subtitle {grid-column:1/-1}
.comment-column {display:flex;flex-direction:column;gap:16px}
.comment-card {background:rgba(20,28,40,0.5);border-radius:14px;padding:20px 24px;border:1px solid rgba(255,255,255,0.04);border-left:3px solid rgba(232,163,61,0.4)}
.comment-nickname {font-size:0.9rem;font-weight:600;color:#e8a33d;display:block;margin-bottom:8px}
.comment-text {font-size:0.88rem;color:#b8b0a4;line-height:1.7}
.recommend-block {padding:32px 0}
.rec-heading {font-family:"Source Han Serif SC",serif;font-size:1.2rem;font-weight:600;color:#e6e0d4;margin-bottom:20px;display:flex;align-items:center;gap:12px}
.rec-heading::before {content:"";width:3px;height:24px;background:#e8a33d;border-radius:2px}
.rec-scroll {display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}
a[data-runtime="recommendation"] {display:flex;flex-direction:column;background:rgba(20,28,40,0.4);border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,0.04);transition:all 0.3s;text-decoration:none;color:inherit;min-width:0}
a[data-runtime="recommendation"]:hover {transform:translateY(-4px);border-color:rgba(232,163,61,0.3);background:rgba(30,40,55,0.6)}
a[data-runtime="recommendation"] img {width:100%;aspect-ratio:2/3;object-fit:cover;background:#1a2027;display:block}
a[data-runtime="recommendation"] span[data-runtime="name"] {padding:12px 14px 4px;font-size:0.9rem;font-weight:600;color:#e6e0d4;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
a[data-runtime="recommendation"] span[data-runtime="blurb"] {padding:0 14px 14px;font-size:0.75rem;color:#8b95a5;line-height:1.5}
footer {display:flex;flex-direction:column;gap:24px;background:rgba(10,14,20,0.4)}
.disclaimer-text {font-size:0.8rem;color:#6b7280;line-height:1.6;text-align:center;padding:0 16px}
.footer-links {display:flex;justify-content:center;gap:32px}
.footer-links a {font-size:0.9rem;color:#8b95a5;transition:color 0.2s}
.footer-links a:hover {color:#e8a33d}
.friend-links {display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;align-items:center}
.friend-label {font-size:0.8rem;color:#8b95a5;padding-right:8px}
.runtime-friend-link {font-size:0.8rem;color:#6b7280;transition:color 0.2s}
.runtime-friend-link:hover {color:#e8a33d}
.player.click .player-wrapper {cursor:pointer}
.data-player-action {cursor:pointer}
.theater-mode .player-wrapper {max-width:none;width:100%}
@media(max-width:1024px){.movie-overview-shell {grid-template-columns:220px 1fr}
.synopsis-split {grid-template-columns:1fr}
.timeline-item {padding:16px 24px}}
@media(max-width:768px){.movie-overview-shell {grid-template-columns:1fr}
.poster-media {display:grid;grid-template-columns:1fr;max-width:400px;margin:0 auto;width:100%}
.info-group {padding:20px}
.cast-grid {grid-template-columns:repeat(3,1fr);gap:8px}
.cast-card {padding:16px 8px}
.cast-avatar {width:80px;height:80px}
.comments-masonry {grid-template-columns:1fr}
.timeline-track::before {left:16px}
.timeline-item {width:100%;padding:16px 16px 16px 48px;text-align:left}
.timeline-item:nth-child(odd) {align-self:stretch;text-align:left}
.timeline-item:nth-child(even) {align-self:stretch;text-align:left}
.timeline-item::before {left:11px !important;right:auto !important}
.episode-card-slider {grid-template-columns:1fr}
.rec-scroll {grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
.player-wrapper {min-width:0;max-width:100%}}
@media(max-width:480px){main, header, footer {padding:0 12px}
.details-card-grid {grid-template-columns:repeat(2,1fr)}
.cast-grid {grid-template-columns:1fr 1fr}
.episode-card-slider {grid-template-columns:1fr}
.rec-scroll {grid-template-columns:repeat(2,1fr);gap:8px}
.category-nav {justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}
.category-nav .runtime-category {flex-shrink:0}
.movie-title {font-size:1.4rem}
.footer-links {flex-wrap:wrap;gap:16px}
.player-controls {gap:4px}
.player-controls button {padding:4px 10px;font-size:0.75rem}}

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}
