*, *::before, *::after {box-sizing:border-box;margin:0;padding:0}
html {scroll-behavior:smooth}
body {font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,sans-serif;background:linear-gradient(180deg,#fff7ed 0%,#ffedd5 40%,#f0f9ff 100%);color:#1e293b;line-height:1.6;min-height:100vh;transition:filter .3s ease}
body.lights-dim {filter:brightness(.85)}
img {display:block;max-width:100%}
a {color:inherit}
ul {list-style:none}
button {font:inherit;cursor:pointer;background:none;border:none;color:inherit}
.fragment-heading, .recommendation-title {font-weight:800;font-size:1.25rem;letter-spacing:.02em;color:#c2410c;margin-bottom:1rem;position:relative;padding-left:.75rem}
.fragment-heading::before, .recommendation-title::before {content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:1.2em;background:linear-gradient(180deg,#f97316,#fbbf24);border-radius:2px}
header {display:flex;align-items:center;justify-content:space-between;padding:1rem 2rem;background:rgba(255,255,255,.85);backdrop-filter:blur(12px);border-bottom:1px solid #fed7aa;position:sticky;top:0;z-index:100;flex-wrap:wrap;gap:.5rem}
.site-brand {font-size:1.4rem;font-weight:900;color:#ea580c;text-decoration:none;letter-spacing:.05em;white-space:nowrap}
.site-brand:hover {color:#c2410c}
[data-contract="categories"] {display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}
.runtime-category {display:inline-block;padding:.35rem .9rem;border-radius:999px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:.875rem;font-weight:600;text-decoration:none;white-space:nowrap;transition:all .2s}
.runtime-category:hover {background:#ffedd5;border-color:#fb923c;color:#c2410c}
.hero-unit {background:linear-gradient(135deg,#fff7ed 0%,#fef3c7 50%,#e0f2fe 100%);padding:2rem 2rem 4rem;display:flex;flex-direction:column;gap:2rem;border-bottom:4px solid #fdba74}
.hero-media {display:grid;grid-template-columns:minmax(160px,220px) minmax(0,1fr);gap:1.5rem;align-items:start;max-width:1200px;margin:0 auto;width:100%}
.poster-frame {border-radius:1.25rem;overflow:hidden;box-shadow:0 10px 30px rgba(194,65,12,.25);border:3px solid white;aspect-ratio:2/3;background:#fff7ed}
.hero-poster {width:100%;height:100%;object-fit:cover}
.player-shell {border-radius:1.25rem;overflow:hidden;box-shadow:0 8px 30px rgba(2,132,199,.2);background:#0c4a6e;border:3px solid white;position:relative}
.player-shell video {display:block;background:#000}
.player-controls {display:flex;flex-wrap:wrap;gap:.5rem;padding:.75rem;background:rgba(2,132,199,.9);justify-content:center}
.player-controls button {padding:.35rem .75rem;border-radius:999px;background:#bae6fd;color:#075985;font-size:.75rem;font-weight:600;transition:background .2s}
.player-controls button:hover {background:#e0f2fe}
.player-shell.theater-mode {position:fixed;inset:0;z-index:200;border-radius:0;display:flex;flex-direction:column;justify-content:center;background:#0c4a6e}
.player-shell.theater-mode video {max-height:80vh}
.movie-info {max-width:1200px;margin:0 auto;width:100%;background:rgba(255,255,255,.6);border-radius:1.5rem;padding:1.5rem 2rem;border:1px solid rgba(253,186,116,.3)}
.movie-title {font-size:clamp(1.5rem,3vw,2.25rem);font-weight:900;color:#9a3412;line-height:1.3;margin-bottom:.25rem}
.tagline {font-size:.95rem;color:#c2410c;font-style:italic;margin-bottom:1.5rem;border-left:3px solid #fdba74;padding-left:.75rem}
.cast-group {margin-bottom:1.5rem}
.cast-group .fragment-heading {margin-bottom:.5rem;font-size:1.1rem}
.cast-list {display:flex;flex-wrap:wrap;gap:.5rem}
.cast-list li {background:#ffedd5;border-radius:999px;padding:.3rem .9rem;font-size:.875rem;color:#9a3412;font-weight:600;border:1px solid #fed7aa}
.actor-name {font-weight:600}
.synopsis-block {display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem;padding:1rem;background:rgba(255,247,237,.7);border-radius:1rem}
.synopsis-paragraph {font-size:.9rem;color:#475569;line-height:1.8;text-align:justify}
.synopsis-divider {height:1px;background:linear-gradient(90deg,transparent,#fdba74,transparent)}
.episode-status {display:flex;gap:.75rem;margin-bottom:1.5rem}
.episode-current, .episode-total {font-size:.875rem;font-weight:700;padding:.4rem 1rem;border-radius:999px}
.episode-current {background:#f97316;color:white}
.episode-total {background:#e0f2fe;color:#075985}
.detail-meta {margin-top:1rem}
.detail-list {display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.5rem}
.detail-item {display:flex;flex-direction:column;background:rgba(255,255,255,.8);border-radius:.75rem;padding:.5rem .75rem;border:1px solid #e2e8f0}
.detail-item dt {font-size:.75rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}
.detail-item dd {font-size:.9rem;font-weight:600;color:#334155}
.episode-list-section {padding:2rem;max-width:1400px;margin:0 auto;width:100%}
.episode-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.75rem}
.episode-card {background:white;border-radius:1rem;padding:1rem;border:1px solid #fee2e2;border-left:4px solid #f97316;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column;gap:.5rem}
.episode-card:hover {transform:translateY(-4px);box-shadow:0 8px 20px rgba(249,115,22,.15)}
.episode-number {font-family:"SF Mono",Consolas,monospace;font-size:1.5rem;font-weight:800;color:#fb923c;line-height:1}
.episode-title {font-size:1rem;font-weight:700;color:#1e293b}
.episode-summary {font-size:.8rem;color:#64748b;line-height:1.5;flex-grow:1}
.episode-duration {font-family:"SF Mono",Consolas,monospace;font-size:.75rem;color:#94a3b8;align-self:flex-end}
.timeline-section {padding:2rem;max-width:1000px;margin:0 auto;width:100%;background:linear-gradient(180deg,#fff7ed,transparent)}
.timeline-list {position:relative;padding-left:2rem}
.timeline-list::before {content:"";position:absolute;left:.5rem;top:.5rem;bottom:.5rem;width:3px;background:linear-gradient(180deg,#f97316,#fb923c,#fdba74);border-radius:2px}
.timeline-item {position:relative;padding:1rem 1rem 1rem 1.5rem;background:white;border-radius:1rem;margin-bottom:.75rem;border:1px solid #fed7aa;transition:box-shadow .2s}
.timeline-item:hover {box-shadow:0 4px 15px rgba(249,115,22,.2)}
.timeline-item::before {content:"";position:absolute;left:-1.75rem;top:1.25rem;width:1rem;height:1rem;border-radius:50%;background:#f97316;border:3px solid white;box-shadow:0 0 0 2px #fdba74}
.timeline-code {font-family:"SF Mono",Consolas,monospace;font-weight:800;color:#c2410c;font-size:.9rem;display:block;margin-bottom:.25rem}
.timeline-label {font-size:.9rem;color:#475569;line-height:1.6}
.cast-gallery {padding:2rem;max-width:1200px;margin:0 auto;width:100%}
.cast-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1.5rem}
.cast-member {display:flex;flex-direction:column;align-items:center;gap:.75rem;padding:1.25rem;background:white;border-radius:1.25rem;border:1px solid #fee2e2;transition:transform .2s}
.cast-member:hover {transform:scale(1.03)}
.cast-avatar {width:100px;height:100px;border-radius:50%;background:linear-gradient(135deg,#fdba74,#f97316);border:4px solid #ffedd5;box-shadow:0 4px 12px rgba(249,115,22,.3);position:relative;overflow:hidden}
.cast-avatar::after {content:"";position:absolute;bottom:-20px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:20px solid transparent;border-right:20px solid transparent;border-bottom:30px solid rgba(255,255,255,.4)}
.cast-name {font-weight:700;color:#9a3412;font-size:1rem}
.comments-section {padding:2rem;max-width:1200px;margin:0 auto;width:100%}
.comment-list {display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}
.comment-item {display:flex;gap:.75rem;align-items:flex-start;background:white;border-radius:1rem;padding:1rem;border:1px solid #e0f2fe;transition:box-shadow .2s}
.comment-item:hover {box-shadow:0 4px 12px rgba(2,132,199,.15)}
.comment-avatar {width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#38bdf8,#0ea5e9);flex-shrink:0;border:2px solid #bae6fd}
.comment-bubble {flex:1;background:#f0f9ff;border-radius:1rem 1rem 1rem .25rem;padding:.75rem 1rem;position:relative}
.comment-bubble::before {content:"";position:absolute;left:-6px;top:12px;width:0;height:0;border-top:8px solid transparent;border-bottom:8px solid transparent;border-right:8px solid #f0f9ff}
.comment-nick {font-weight:700;color:#075985;font-size:.875rem;display:block;margin-bottom:.25rem}
.comment-text {font-size:.85rem;color:#475569;line-height:1.6}
.recommendation-region {padding:1.5rem 2rem;max-width:1400px;margin:0 auto;width:100%}
.recommendation-region+.recommendation-region {border-top:1px dashed #fdba74}
.recommendation-row {display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem}
.recommendation-row a[data-runtime="recommendation"] {display:flex;flex-direction:column;gap:.5rem;background:white;border-radius:1rem;padding:.75rem;border:1px solid #fee2e2;text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s;align-self:start}
.recommendation-row a[data-runtime="recommendation"]:hover {transform:translateY(-4px);box-shadow:0 8px 20px rgba(249,115,22,.15)}
.recommendation-row a[data-runtime="recommendation"] img {width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:.5rem}
.recommendation-row a[data-runtime="recommendation"] span[data-runtime="name"] {font-weight:700;font-size:.9rem;color:#1e293b}
.recommendation-row a[data-runtime="recommendation"] span[data-runtime="blurb"] {font-size:.75rem;color:#64748b;line-height:1.4}
footer {background:#0c4a6e;color:#e0f2fe;padding:2.5rem 2rem;margin-top:2rem}
.footer-disclaimer {font-size:.85rem;color:#7dd3fc;max-width:1200px;margin:0 auto 1.5rem;line-height:1.7;border-left:3px solid #38bdf8;padding-left:1rem}
.friend-links {max-width:1200px;margin:0 auto 1.5rem;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.friend-label {font-size:.9rem;color:#7dd3fc;white-space:nowrap}
.runtime-friend-link {font-size:.85rem;color:#bae6fd;text-decoration:none;padding:.25rem .75rem;border-radius:999px;background:rgba(56,189,248,.15);border:1px solid rgba(56,189,248,.3);white-space:nowrap;transition:background .2s}
.runtime-friend-link:hover {background:rgba(56,189,248,.3);color:white}
.footer-links {max-width:1200px;margin:0 auto;display:flex;gap:1.5rem}
.footer-links a {color:#7dd3fc;text-decoration:none;font-size:.9rem;transition:color .2s}
.footer-links a:hover {color:white}
@media(max-width:900px){.hero-media {grid-template-columns:1fr;max-width:600px}
.poster-frame {max-width:240px}
.movie-info {padding:1.25rem}
.hero-unit {padding:1.5rem}}
@media(max-width:640px){header {padding:1rem;flex-direction:column;align-items:flex-start}
.runtime-category {font-size:.75rem;padding:.25rem .75rem}
.hero-unit {padding:1rem}
.movie-info {padding:1rem}
.detail-list {grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}
.episode-grid, .cast-grid, .comment-list, .recommendation-row {grid-template-columns:1fr}
.timeline-list {padding-left:1.5rem}
.timeline-item {padding-left:1rem}
.footer-links {flex-direction:column;gap:.75rem}
.player-controls {gap:.25rem}
.player-controls button {font-size:.7rem;padding:.25rem .5rem}}
@media(max-width:480px){.synopsis-block {padding:.75rem}
.episode-status {flex-direction:column}
.cast-avatar {width:80px;height:80px}
.comment-item {flex-direction:column}
.comment-bubble::before {display:none}
.recommendation-row a[data-runtime="recommendation"] img {aspect-ratio:1/1}}

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}
