*, *::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:#e8e4df;color:#3d3a38;line-height:1.6;overflow-x:hidden}
img, video {display:block;max-width:100%;height:auto}
a {color:inherit;text-decoration:none}
button {font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
dl, dd {margin:0}
header {display:flex;align-items:center;justify-content:space-between;padding:0.75rem 1.25rem;background:rgba(255,255,255,0.55);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);position:sticky;top:0;z-index:100;border-bottom:1px solid rgba(255,255,255,0.5)}
.site-logo {font-family:Georgia,"Times New Roman",serif;font-size:1.35rem;font-weight:600;color:#5b6d7a;letter-spacing:0.02em;text-decoration:none}
.categories-nav {display:flex;gap:0.5rem;flex-wrap:wrap;justify-content:flex-end}
.categories-nav .runtime-category {white-space:nowrap;font-size:0.85rem;color:#4f6670;padding:0.3rem 0.8rem;border-radius:2rem;background:rgba(255,255,255,0.4);border:1px solid rgba(255,255,255,0.6);transition:background 0.2s,color 0.2s}
.categories-nav .runtime-category:hover {background:#a8b8c0;color:#f4f1ec}
.hero-section {position:relative;padding:2rem 0 1rem;overflow:hidden}
.hero-visual {position:relative;max-width:1200px;margin:0 auto;height:300px;display:flex;align-items:flex-end;justify-content:center}
.hero-figure {position:absolute;bottom:0;width:180px;height:260px;background:linear-gradient(145deg,#b7c4cc 0%,#8a9ba6 60%,#6e8190 100%);border-radius:4px 4px 0 0;box-shadow:0 10px 30px rgba(0,0,0,0.08);transition:transform 0.3s ease}
.hero-figure-left {left:calc(50% - 200px);transform:rotate(-3deg);background:linear-gradient(155deg,#c3ced4 0%,#9aabb5 55%,#7e92a0 100%)}
.hero-figure-right {right:calc(50% - 200px);transform:rotate(3deg);background:linear-gradient(155deg,#cfd6d9 0%,#b0bcc3 55%,#94a6b0 100%)}
.hero-dialog-bubble {position:absolute;top:30%;left:50%;transform:translateX(-50%);background:rgba(255,255,255,0.75);backdrop-filter:blur(12px);border-radius:20px;padding:0.8rem 1.8rem;box-shadow:0 4px 20px rgba(0,0,0,0.06);border:1px solid rgba(255,255,255,0.6);min-width:80px;text-align:center}
.dialog-dots {font-size:2.2rem;color:#5b6d7a;letter-spacing:0.2em;line-height:1}
.tagline-section {padding:1.5rem 1.25rem;text-align:center}
.tagline-text {font-family:Georgia,"Times New Roman",serif;font-size:1.5rem;color:#4f6670;letter-spacing:0.08em;font-style:italic;text-shadow:0 1px 2px rgba(255,255,255,0.5)}
.recommendation-region {padding:1rem 1.25rem;margin-bottom:0.5rem}
.recommendation-header {font-family:Georgia,"Times New Roman",serif;font-size:1.2rem;color:#5b6d7a;font-weight:600;margin-bottom:0.75rem;padding-left:0.25rem}
.recommendation-scroll {display:flex;gap:0.75rem;overflow-x:auto;padding-bottom:0.5rem;scroll-snap-type:x proximity}
.recommendation-scroll::-webkit-scrollbar {height:4px}
.recommendation-scroll::-webkit-scrollbar-thumb {background:#b7c4cc;border-radius:2px}
.recommendation-item {flex:0 0 auto;width:150px;display:flex;flex-direction:column;background:rgba(255,255,255,0.45);border-radius:10px;padding:0.6rem;text-decoration:none;color:#3d3a38;transition:background 0.2s,transform 0.2s;border:1px solid rgba(255,255,255,0.5);scroll-snap-align:start}
.recommendation-item:hover {background:rgba(255,255,255,0.7);transform:translateY(-2px)}
.recommendation-item img {width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:6px;background:#d5d3d0}
.recommendation-item [data-runtime="name"] {font-size:0.85rem;font-weight:600;color:#4f6670;margin-top:0.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recommendation-item [data-runtime="blurb"] {font-size:0.75rem;color:#6b7a84;margin-top:0.25rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.movie-overview {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.8fr);gap:1.5rem;padding:1.5rem 1.25rem;max-width:1200px;margin:0 auto;background:linear-gradient(135deg,rgba(255,255,255,0.5),rgba(255,255,255,0.3));border-radius:16px;backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.5)}
.poster-wrapper {width:100%;max-width:260px;align-self:start}
.movie-poster {width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,0.1)}
.movie-info-panel {display:flex;flex-direction:column;gap:1rem}
.movie-title {font-family:Georgia,"Times New Roman",serif;font-size:1.6rem;color:#3d4a54;font-weight:700;line-height:1.3}
.movie-tagline {font-size:0.95rem;color:#6b7a84;font-style:italic;margin-bottom:0.25rem}
.cast-section {margin-top:0.5rem}
.section-subheading {font-family:Georgia,"Times New Roman",serif;font-size:1rem;color:#5b6d7a;font-weight:600;margin-bottom:0.6rem;border-bottom:1px solid rgba(255,255,255,0.5);padding-bottom:0.3rem}
.cast-list {display:grid;grid-template-columns:repeat(4,1fr);gap:0.75rem}
.cast-member {display:flex;flex-direction:column;align-items:center;text-align:center;padding:0.4rem}
.cast-avatar {width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,#a8b8c0,#7e92a0);margin-bottom:0.35rem;border:2px solid rgba(255,255,255,0.6)}
.actor-name {font-size:0.8rem;color:#4f6670;font-weight:600}
.synopsis-section {margin-top:0.5rem}
.synopsis-paragraph {font-size:0.85rem;color:#4a5258;line-height:1.65;margin-bottom:0.4rem}
.episode-status-section {margin-top:0.5rem;background:rgba(255,255,255,0.3);border-radius:8px;padding:0.8rem 1rem}
.episode-status-row {display:flex;align-items:baseline;gap:0.4rem;flex-wrap:wrap}
.status-label {font-size:0.85rem;color:#6b7a84}
.status-value {font-size:1.3rem;font-weight:700;color:#3d4a54;font-family:Georgia,serif}
.progress-indicator {height:6px;background:rgba(0,0,0,0.08);border-radius:3px;margin-top:0.6rem;overflow:hidden}
.progress-fill {display:block;width:33.3%;height:100%;background:linear-gradient(90deg,#c8a86a,#a8895a);border-radius:3px}
.details-section {margin-top:0.5rem}
.details-grid {display:grid;grid-template-columns:repeat(2,1fr);gap:0.4rem 1rem}
.detail-item {display:flex;gap:0.3rem;font-size:0.82rem;padding:0.2rem 0;border-bottom:1px dashed rgba(255,255,255,0.4)}
.detail-item dt {color:#6b7a84;font-weight:500}
.detail-item dd {color:#3d4a54;font-weight:600}
.player-wrapper {grid-column:1/-1;margin-top:0.5rem;background:rgba(0,0,0,0.08);border-radius:10px;overflow:hidden;padding:0.75rem}
.player-wrapper video {display:block;border-radius:6px}
.player-controls {display:flex;flex-wrap:wrap;gap:0.35rem;margin-top:0.5rem}
.control-btn {font-size:0.75rem;background:rgba(255,255,255,0.4);border:1px solid rgba(255,255,255,0.5);color:#4f6670;padding:0.25rem 0.6rem;border-radius:3px;transition:background 0.2s}
.control-btn:hover {background:rgba(255,255,255,0.7)}
.episodes-section {padding:1.5rem 1.25rem;max-width:1200px;margin:0 auto}
.section-heading {font-family:Georgia,"Times New Roman",serif;font-size:1.3rem;color:#3d4a54;font-weight:700;margin-bottom:1rem;padding-left:0.25rem;border-left:4px solid #c8a86a;padding-left:0.6rem}
.episode-card-scroll {display:flex;gap:0.75rem;overflow-x:auto;padding-bottom:0.5rem}
.episode-card-scroll::-webkit-scrollbar {height:4px}
.episode-card-scroll::-webkit-scrollbar-thumb {background:#b7c4cc;border-radius:2px}
.episode-card {flex:0 0 auto;width:170px;background:rgba(255,255,255,0.4);border-radius:8px;padding:0.7rem;border:1px solid rgba(255,255,255,0.5);display:flex;flex-direction:column;gap:0.3rem}
.episode-number {font-family:Georgia,serif;font-size:1.4rem;font-weight:700;color:#c8a86a;line-height:1}
.episode-title {font-weight:600;color:#3d4a54;font-size:0.9rem}
.episode-summary {font-size:0.75rem;color:#6b7a84;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.episode-duration {font-size:0.7rem;color:#8a9ba6;margin-top:auto}
.timeline-section {padding:1.5rem 1.25rem;max-width:1200px;margin:0 auto}
.timeline-vertical {position:relative;padding-left:1.5rem;max-width:720px}
.timeline-vertical::before {content:"";position:absolute;left:6px;top:0;bottom:0;width:2px;background:linear-gradient(to bottom,rgba(200,168,106,0.3),rgba(91,109,122,0.2))}
.timeline-item {position:relative;padding:0.35rem 0 0.35rem 1rem}
.timeline-node {position:absolute;left:-1.5rem;top:0.8rem;width:12px;height:12px;border-radius:50%;background:#c8a86a;border:2px solid #f4f1ec;box-shadow:0 2px 6px rgba(200,168,106,0.4);transform:translateX(-50%);left:6px}
.timeline-content {background:rgba(255,255,255,0.35);border-radius:6px;padding:0.5rem 0.8rem;border:1px solid rgba(255,255,255,0.4)}
.timeline-timecode {font-family:Georgia,serif;font-size:0.9rem;font-weight:700;color:#5b6d7a;display:block}
.timeline-label {font-size:0.8rem;color:#4a5258;margin-top:0.15rem}
.comments-section {padding:1.5rem 1.25rem;max-width:1200px;margin:0 auto}
.comments-grid {display:grid;grid-template-columns:repeat(2,1fr);gap:0.75rem}
.comment-card {display:flex;gap:0.75rem;background:rgba(255,255,255,0.4);border-radius:10px;padding:0.75rem;border:1px solid rgba(255,255,255,0.5)}
.comment-avatar {flex:0 0 36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#b7c4cc,#7e92a0);border:2px solid rgba(255,255,255,0.6)}
.comment-content {display:flex;flex-direction:column;gap:0.2rem}
.comment-nickname {font-size:0.82rem;font-weight:600;color:#4f6670}
.comment-text {font-size:0.8rem;color:#4a5258;line-height:1.5}
footer {background:rgba(255,255,255,0.4);backdrop-filter:blur(8px);padding:1.25rem;border-top:1px solid rgba(255,255,255,0.5);margin-top:1rem}
.footer-content {max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:0.75rem}
.footer-disclaimer {font-size:0.72rem;color:#6b7a84;line-height:1.5}
.footer-links {display:flex;gap:1rem}
.footer-link {font-size:0.8rem;color:#4f6670;text-decoration:none;transition:color 0.2s}
.footer-link:hover {color:#c8a86a}
.friend-links-nav {display:flex;flex-wrap:wrap;gap:0.4rem 0.8rem;align-items:center}
.friend-links-label {font-size:0.75rem;color:#8a9ba6;font-weight:600}
.runtime-friend-link {font-size:0.75rem;color:#5b6d7a;text-decoration:none;transition:color 0.2s}
.runtime-friend-link:hover {color:#c8a86a}
.is-lights-off .hero-visual, .is-lights-off .tagline-section, .is-lights-off .recommendation-region, .is-lights-off .episodes-section, .is-lights-off .timeline-section, .is-lights-off .comments-section, .is-lights-off .movie-overview, .is-lights-off footer {filter:brightness(0.85) contrast(1.05)}
.is-theater-mode .player-wrapper {background:rgba(0,0,0,0.6);padding:0.5rem}
@media (max-width:900px){.movie-overview {grid-template-columns:1fr;gap:1rem}
.poster-wrapper {max-width:220px;margin:0 auto}
.cast-list {grid-template-columns:repeat(4,1fr)}
.comments-grid {grid-template-columns:1fr}
.hero-figure {width:140px;height:220px}
.hero-figure-left {left:calc(50% - 160px)}
.hero-figure-right {right:calc(50% - 160px)}}
@media (max-width:640px){header {padding:0.5rem 1rem;flex-direction:column;align-items:flex-start;gap:0.4rem}
.categories-nav {width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap}
.categories-nav .runtime-category {flex:0 0 auto}
.hero-section {padding:1rem 0}
.hero-visual {height:220px}
.hero-figure {width:110px;height:180px}
.hero-figure-left {left:calc(50% - 125px)}
.hero-figure-right {right:calc(50% - 125px)}
.hero-dialog-bubble {padding:0.5rem 1.2rem}
.dialog-dots {font-size:1.6rem}
.tagline-text {font-size:1.2rem}
.movie-title {font-size:1.2rem}
.cast-list {grid-template-columns:repeat(2,1fr)}
.details-grid {grid-template-columns:1fr}
.episode-card {width:140px}
.comments-grid {grid-template-columns:1fr}
.recommendation-item {width:120px}
.player-wrapper {min-width:0}
.episode-status-row {font-size:0.8rem}
.status-value {font-size:1.1rem}}
@media (max-width:420px){.hero-visual {height:180px}
.hero-figure {width:90px;height:150px}
.hero-figure-left {left:calc(50% - 105px)}
.hero-figure-right {right:calc(50% - 105px)}
.hero-dialog-bubble {top:25%}
.dialog-dots {font-size:1.3rem}
.tagline-text {font-size:1rem}
.recommendation-item {width:110px}
.episode-card {width:130px}
.timeline-vertical {padding-left:1.2rem}
.timeline-item {padding-left:0.8rem}
.timeline-node {left:6px}
.movie-overview {padding:1rem}
.poster-wrapper {max-width:180px}}
.movie-overview {grid-template-columns:minmax(0,1fr) minmax(0,1.8fr)}
@media (min-width:901px){.movie-overview .player-wrapper {grid-column:1/-1;width:100%;max-width:none}
.player-wrapper video {width:100% !important}}
.player-wrapper {min-width:0}
@media (min-width:641px){.player-wrapper {min-width:480px}}

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}
