*, *::before, *::after {box-sizing:border-box;margin:0;padding:0}
html {scroll-behavior:smooth;font-size:16px}
body {background:#c8b89a;color:#2c2a26;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;background:none;border:none}
.site-header {position:sticky;top:0;z-index:50;background:rgba(178,160,130,.96);border-bottom:2px solid #5c4f3e;box-shadow:0 2px 8px rgba(0,0,0,.15);backdrop-filter:blur(4px)}
.brand-link {display:inline-block;padding:.5rem 1rem;font-size:1.3rem;font-weight:700;letter-spacing:.12em;color:#3a2f22;text-shadow:1px 1px 0 rgba(255,255,255,.3);border-right:2px solid #6b5a44}
.brand-link:hover {color:#1f1a14}
.category-strip {display:flex;flex-wrap:wrap;gap:.25rem;padding:.5rem 1rem;align-items:center}
.runtime-category {display:inline-block;padding:.2rem .6rem;font-size:.8rem;color:#4a3f30;border:1px solid transparent;border-radius:3px;white-space:nowrap;transition:background .2s,border-color .2s}
.runtime-category:hover {background:rgba(92,79,62,.15);border-color:#6b5a44;color:#2c2a26}
.runtime-category:active {background:rgba(92,79,62,.25)}
.page-shell {max-width:1440px;margin:0 auto;padding:.5rem 1rem 2rem;display:flex;flex-direction:column;gap:1.5rem}
.overview-panel {background:linear-gradient(160deg,#d6cbb6 0%,#bfae92 100%);border:2px solid #8a7a60;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.4);padding:1rem;position:relative;overflow:hidden}
.overview-panel::before {content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#5c4f3e,#a89a80,#5c4f3e);opacity:.6}
.hero-media-grid {display:grid;grid-template-columns:240px minmax(0,1fr);gap:1rem;align-items:start;margin-bottom:1rem}
.poster-frame {border:3px solid #6b5a44;border-radius:6px;box-shadow:0 4px 12px rgba(0,0,0,.3);overflow:hidden;background:#2c2a26;width:100%;aspect-ratio:2/3}
.poster-img {width:100%;height:100%;object-fit:cover;filter:sepia(.2) contrast(1.05)}
.player-wrapper {min-width:0;background:#2c2a26;border:2px solid #6b5a44;border-radius:6px;overflow:hidden;box-shadow:0 4px 12px rgba(0,0,0,.3);position:relative}
.player-wrapper video {display:block}
.player-wrapper.theater-mode {position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:90vw;z-index:100;box-shadow:0 8px 40px rgba(0,0,0,.8)}
.player-controls {display:flex;align-items:center;gap:.4rem;padding:.4rem .6rem;background:linear-gradient(180deg,#3a352e,#2c2a26);border-top:1px solid #6b5a44}
.player-controls button {color:#d6cbb6;font-size:.9rem;padding:.2rem .4rem;border-radius:3px;cursor:pointer;transition:background .2s}
.player-controls button:hover {background:rgba(214,203,182,.2)}
.player-controls input[type="range"] {flex:1;min-width:60px;accent-color:#8a7a60;height:20px}
.player-controls input[type="range"]:nth-of-type(2) {flex:3}
.title-group {margin:1rem 0 .5rem;padding-bottom:.8rem;border-bottom:1px solid rgba(92,79,62,.5)}
.movie-title {font-size:1.8rem;font-weight:900;letter-spacing:.08em;color:#2c2a26;text-shadow:2px 2px 0 rgba(255,255,255,.2);line-height:1.2;margin-bottom:.3rem}
.tagline {font-style:italic;font-size:1.1rem;color:#4a3f30;margin-bottom:.4rem;border-left:3px solid #8a7a60;padding-left:.6rem}
.seo-desc {font-size:.9rem;color:#3a352e;line-height:1.6}
.synopsis-card {padding:.8rem 0;border-bottom:1px solid rgba(92,79,62,.3)}
.section-subhead {font-size:1.2rem;font-weight:700;color:#3a2f22;margin-bottom:.5rem;letter-spacing:.05em;display:inline-block;border-bottom:2px solid #6b5a44;padding-bottom:.1rem}
.synopsis-para {font-size:.95rem;line-height:1.7;margin-bottom:.6rem;text-align:justify;color:#2c2a26}
.cast-grid {padding:.8rem 0;border-bottom:1px solid rgba(92,79,62,.3)}
.actor-list {display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.4rem}
.actor-chip {background:rgba(92,79,62,.15);border:1px solid #6b5a44;border-radius:20px;padding:.3rem .9rem;font-size:.9rem;color:#3a2f22;transition:background .2s}
.actor-chip:hover {background:rgba(92,79,62,.3)}
.episode-status-strip {display:flex;gap:1.5rem;padding:.6rem 0;border-bottom:1px solid rgba(92,79,62,.3);flex-wrap:wrap}
.total-ep, .current-ep {font-size:.95rem;font-weight:600;color:#3a2f22;background:rgba(92,79,62,.1);padding:.2rem .8rem;border-radius:4px;border-left:3px solid #6b5a44}
.detail-meta {padding:.8rem 0}
.meta-list {display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.4rem 1rem}
.meta-item {display:flex;gap:.4rem;font-size:.88rem;padding:.2rem 0;border-bottom:1px dotted rgba(92,79,62,.3)}
.meta-item dt {color:#4a3f30;font-weight:600;white-space:nowrap}
.meta-item dt::after {content:"："}
.meta-item dd {color:#1f1a14;font-weight:500}
.timeline-rail {background:linear-gradient(180deg,#bfae92,#a89a80);border:2px solid #8a7a60;border-radius:8px;padding:1rem;position:relative;overflow-x:auto}
.timeline-rail::before {content:"";position:absolute;top:0;left:0;right:0;height:2px;background:repeating-linear-gradient(90deg,#5c4f3e 0 8px,transparent 8px 16px)}
.section-heading {font-size:1.4rem;font-weight:900;color:#2c2a26;letter-spacing:.1em;margin-bottom:.8rem;text-shadow:1px 1px 0 rgba(255,255,255,.3);position:relative;padding-left:.8rem}
.section-heading::before {content:"▍";position:absolute;left:0;top:0;color:#6b5a44}
.timeline-scroll {display:flex;flex-direction:column;gap:.8rem;padding:.5rem 0 .5rem 1rem;position:relative;min-width:280px}
.timeline-scroll::before {content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:linear-gradient(180deg,#6b5a44,#5c4f3e,#6b5a44);border-radius:2px}
.timeline-node {display:flex;gap:1rem;align-items:baseline;padding:.6rem 1rem;background:rgba(255,255,255,.15);border-radius:4px;border-left:3px solid #6b5a44;position:relative;transition:background .2s,transform .2s}
.timeline-node::before {content:"";position:absolute;left:-.45rem;top:50%;transform:translateY(-50%);width:10px;height:10px;background:#2c2a26;border:2px solid #6b5a44;border-radius:50%;box-shadow:0 0 0 2px rgba(255,255,255,.3)}
.timeline-node:hover {background:rgba(255,255,255,.3);transform:translateX(4px)}
.node-time {font-weight:700;color:#3a2f22;font-size:1rem;white-space:nowrap;min-width:3.5rem}
.node-label {color:#2c2a26;font-size:.95rem;line-height:1.4}
.episode-wall {background:linear-gradient(180deg,#d6cbb6,#c8b89a);border:2px solid #8a7a60;border-radius:8px;padding:1rem}
.episode-horizontal-list {display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.6rem}
.episode-card {background:rgba(255,255,255,.12);border:1px solid rgba(92,79,62,.4);border-radius:6px;padding:.7rem;display:flex;flex-direction:column;gap:.3rem;transition:background .2s,border-color .2s,box-shadow .2s;min-height:0}
.episode-card:hover {background:rgba(255,255,255,.25);border-color:#6b5a44;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.ep-number {font-size:1.2rem;font-weight:900;color:#6b5a44;line-height:1}
.ep-title {font-size:1rem;font-weight:700;color:#2c2a26;letter-spacing:.03em}
.ep-summary {font-size:.82rem;color:#4a3f30;line-height:1.5;flex:1}
.ep-duration {font-size:.75rem;color:#6b5a44;font-style:italic;border-top:1px dotted rgba(92,79,62,.4);padding-top:.2rem}
.comment-masonry {background:linear-gradient(180deg,#a89a80,#bfae92);border:2px solid #8a7a60;border-radius:8px;padding:1rem;columns:3;column-gap:1rem}
.comment-masonry .section-heading {column-span:all;margin-bottom:.8rem}
.comment-card {break-inside:avoid;background:rgba(255,255,255,.15);border:1px solid rgba(92,79,62,.4);border-radius:6px;padding:.8rem;margin-bottom:.8rem;display:flex;flex-direction:column;gap:.4rem;box-shadow:0 2px 6px rgba(0,0,0,.1)}
.comment-nick {font-weight:700;color:#3a2f22;font-size:.9rem;border-bottom:1px solid rgba(92,79,62,.3);padding-bottom:.3rem}
.comment-text {font-size:.88rem;color:#2c2a26;line-height:1.6}
.recommend-row {background:linear-gradient(180deg,#c8b89a,#bfae92);border:2px solid #8a7a60;border-radius:8px;padding:1rem;overflow:hidden}
.recommend-scroll {display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.8rem}
.rec-card {display:flex;flex-direction:column;gap:.4rem;background:rgba(255,255,255,.1);border:1px solid rgba(92,79,62,.4);border-radius:6px;padding:.5rem;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s;min-width:0;color:#2c2a26}
.rec-card:hover {background:rgba(255,255,255,.25);border-color:#6b5a44;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.2)}
.rec-card[data-runtime="recommendation"] img {width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px;background:#2c2a26}
.rec-card[data-runtime="recommendation"] span[data-runtime="name"] {font-weight:700;font-size:.9rem;color:#3a2f22;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rec-card[data-runtime="recommendation"] span[data-runtime="blurb"] {font-size:.78rem;color:#4a3f30;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.site-footer {background:linear-gradient(180deg,#4a3f30,#2c2a26);color:#d6cbb6;padding:1rem;border-top:3px solid #6b5a44;margin-top:1.5rem}
.footer-disclaimer {font-size:.8rem;color:#a89a80;line-height:1.5;max-width:900px;margin-bottom:.8rem}
.footer-nav {display:flex;gap:1rem;margin-bottom:.8rem;flex-wrap:wrap}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {color:#d6cbb6;font-size:.9rem;padding:.2rem .6rem;border:1px solid #6b5a44;border-radius:4px;transition:background .2s,color .2s}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {background:#6b5a44;color:#fff}
.friend-links {display:flex;flex-wrap:wrap;gap:.4rem .8rem;align-items:center}
.friend-label {color:#a89a80;font-size:.85rem;font-weight:600}
.runtime-friend-link {color:#c8b89a;font-size:.85rem;padding:.1rem .4rem;border-bottom:1px dotted #6b5a44;transition:color .2s,border-color .2s}
.runtime-friend-link:hover {color:#fff;border-bottom-color:#d6cbb6}
@media (max-width:1100px){.hero-media-grid {grid-template-columns:200px minmax(0,1fr)}
.comment-masonry {columns:2}
.episode-horizontal-list {grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}
@media (max-width:860px){.hero-media-grid {grid-template-columns:160px minmax(0,1fr)}
.movie-title {font-size:1.5rem}
.recommend-scroll {grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
.episode-horizontal-list {grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}
.meta-list {grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}}
@media (max-width:680px){.page-shell {padding:.3rem .5rem;gap:1rem}
.hero-media-grid {grid-template-columns:120px minmax(0,1fr);gap:.6rem}
.poster-frame {border-width:2px}
.movie-title {font-size:1.3rem}
.tagline {font-size:1rem}
.section-heading {font-size:1.2rem}
.comment-masonry {columns:1}
.episode-horizontal-list {grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.recommend-scroll {grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}
.player-controls {flex-wrap:wrap}
.player-controls input[type="range"] {min-width:40px}
.category-strip {max-height:120px;overflow-y:auto}
.meta-list {grid-template-columns:1fr 1fr}
.timeline-scroll {min-width:240px}}
@media (max-width:480px){.hero-media-grid {grid-template-columns:1fr}
.poster-frame {max-width:200px;margin:0 auto}
.player-wrapper {min-width:0}
.title-group, .synopsis-card, .cast-grid, .episode-status-strip, .detail-meta {padding-left:.3rem;padding-right:.3rem}
.meta-list {grid-template-columns:1fr}
.episode-horizontal-list {grid-template-columns:1fr}
.recommend-scroll {grid-template-columns:repeat(2,1fr)}
.actor-list {gap:.3rem}
.actor-chip {padding:.2rem .6rem;font-size:.8rem}
.timeline-node {flex-direction:column;gap:.2rem}
.node-time {min-width:0}
.footer-nav, .friend-links {flex-direction:column;align-items:flex-start}
.brand-link {font-size:1.1rem}}
body.dim-lights {background:#1a1814}
body.dim-lights .site-header {background:rgba(50,44,34,.95)}
body.dim-lights .overview-panel, body.dim-lights .timeline-rail, body.dim-lights .episode-wall, body.dim-lights .comment-masonry, body.dim-lights .recommend-row {box-shadow:0 0 20px rgba(0,0,0,.6)}
.player-wrapper.theater-mode {position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:92vw;max-height:90vh;z-index:200;background:#000;border-color:#8a7a60}
.player-wrapper.theater-mode video {max-height:calc(90vh - 50px)}
.player-wrapper.theater-mode .player-controls {position:absolute;bottom:0;left:0;right:0}
.category-strip, .recommend-scroll, .episode-horizontal-list, .comment-masonry, .timeline-scroll {overflow-wrap:break-word;word-wrap:break-word}
.player-wrapper {min-width:480px}
@media (max-width:520px){.player-wrapper {min-width:0}}

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}
