*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Georgia", "Songti SC", "SimSun", serif; background: #0b1120; color: #d8dee9; line-height: 1.5; font-size: 15px; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 4vw; background: linear-gradient(180deg, #0d1526 0%, #0b1120 100%); border-bottom: 2px solid #e8452c; position: sticky; top: 0; z-index: 50; }
.site-brand { font-family: "Arial", "Helvetica", sans-serif; font-weight: 900; font-size: 1.35rem; letter-spacing: 0.04em; color: #fff; text-shadow: 0 0 12px rgba(232, 69, 44, 0.4); }
.site-brand:hover { color: #ff6b4a; }
.category-strip { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.runtime-category { font-family: "Arial", "Helvetica", sans-serif; font-size: 0.82rem; font-weight: 600; color: #9fb3c8; padding: 4px 10px; border: 1px solid #1d2b3f; border-radius: 999px; white-space: nowrap; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.runtime-category:hover { color: #ff6b4a; border-color: #ff6b4a; background: rgba(232, 69, 44, 0.08); }
main { max-width: 1440px; margin: 0 auto; padding: 0 4vw 48px; }
.movie-overview { background: #101a2b; border: 1px solid #1d2b3f; border-radius: 12px; margin-top: 24px; padding: 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.45); position: relative; overflow: hidden; }
.movie-overview::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #e8452c 0%, #e8452c 30%, #ffb347 30%, #ffb347 35%, transparent 35%); }
.poster-player-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(480px, 2.2fr); gap: 20px; margin-bottom: 20px; align-items: start; }
.poster-visual { position: relative; }
.main-poster { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.5); filter: saturate(0.9) contrast(1.05); }
.player-shell { background: #0a0f1a; border-radius: 10px; padding: 10px; border: 1px solid #1d2b3f; box-shadow: inset 0 0 20px rgba(0,0,0,0.4); }
.player-shell video { border-radius: 6px; background: #000; }
.player-shell.theater-mode { position: fixed; inset: 60px 4vw 60px; z-index: 100; background: #05080f; border-radius: 12px; padding: 12px; }
.player-shell.theater-mode video { width: 100%; height: calc(100vh - 160px); object-fit: contain; }
.player-controls { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; padding: 0 4px; }
.player-controls button { font-family: "Arial", sans-serif; font-size: 0.72rem; font-weight: 600; color: #9fb3c8; background: #16233a; border: 1px solid #1d2b3f; border-radius: 6px; padding: 4px 8px; cursor: pointer; transition: all 0.2s; }
.player-controls button:hover { color: #fff; background: #e8452c; border-color: #e8452c; }
.progress-container { flex: 1 1 120px; min-width: 80px; height: 6px; background: #1d2b3f; border-radius: 3px; position: relative; cursor: pointer; }
.progress-container::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 35%; background: linear-gradient(90deg, #ff6b4a, #e8452c); border-radius: 3px; }
.movie-title { font-family: "Arial", "Helvetica", sans-serif; font-weight: 900; font-size: clamp(1.4rem, 3vw, 2.2rem); color: #fff; letter-spacing: 0.02em; margin: 16px 0 4px; line-height: 1.2; }
.tagline { font-size: 0.95rem; color: #ffb347; font-style: italic; margin-bottom: 20px; border-left: 3px solid #e8452c; padding-left: 12px; }
.cast-block { margin-bottom: 24px; }
.block-heading { font-family: "Arial", sans-serif; font-size: 0.9rem; font-weight: 700; color: #ff6b4a; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.actor-list { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.actor-list li { font-size: 0.95rem; color: #c8d3e0; padding: 3px 12px; background: #16233a; border-radius: 4px; border-left: 3px solid #e8452c; }
.synopsis-block { margin-bottom: 24px; }
.synopsis-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.synopsis-columns p { font-size: 0.9rem; color: #b6c2d1; text-align: justify; line-height: 1.65; }
.episode-status-block { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 20px; padding: 10px 14px; background: rgba(232, 69, 44, 0.08); border: 1px solid rgba(232, 69, 44, 0.25); border-radius: 8px; }
.status-label { font-family: "Arial", sans-serif; font-weight: 700; color: #ff6b4a; font-size: 0.95rem; }
.current-episode { font-size: 0.85rem; color: #9fb3c8; }
.details-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 16px; border-top: 1px solid #1d2b3f; padding-top: 14px; }
.detail-item { font-size: 0.85rem; color: #c8d3e0; display: flex; flex-direction: column; gap: 2px; }
.detail-term { font-family: "Arial", sans-serif; font-size: 0.7rem; color: #6b7f96; text-transform: uppercase; letter-spacing: 0.06em; }
.section-title { font-family: "Arial", "Helvetica", sans-serif; font-weight: 800; font-size: 1.3rem; color: #fff; margin: 36px 0 16px; display: flex; align-items: center; gap: 12px; }
.section-title::before { content: ""; width: 8px; height: 8px; background: #e8452c; transform: rotate(45deg); flex-shrink: 0; }
.section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, #1d2b3f, transparent); }
.timeline-fragment { margin-bottom: 8px; }
.timeline-horizontal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; padding: 20px 0 8px; }
.timeline-horizontal::before { content: ""; position: absolute; top: 32px; left: 4%; right: 4%; height: 2px; background: #1d2b3f; }
.timeline-node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; position: relative; padding: 0 6px; }
.timeline-node::before { content: ""; width: 14px; height: 14px; background: #0b1120; border: 3px solid #e8452c; border-radius: 50%; position: relative; z-index: 1; margin-bottom: 4px; box-shadow: 0 0 0 3px rgba(232, 69, 44, 0.2); }
.timecode { font-family: "Arial", sans-serif; font-weight: 700; font-size: 0.85rem; color: #ff6b4a; }
.label { font-size: 0.82rem; color: #9fb3c8; line-height: 1.3; }
.episodes-fragment { margin-bottom: 8px; }
.episode-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.episode-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #101a2b; border: 1px solid #1d2b3f; border-radius: 8px; transition: border-color 0.2s, background 0.2s; }
.episode-row:hover { border-color: #e8452c; background: #14203a; }
.ep-number { font-family: "Arial", sans-serif; font-weight: 900; font-size: 1.6rem; color: #e8452c; min-width: 32px; text-align: center; line-height: 1; }
.ep-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ep-title { font-family: "Arial", sans-serif; font-weight: 700; font-size: 0.92rem; color: #fff; }
.ep-summary { font-size: 0.78rem; color: #8a9bb0; }
.ep-duration { font-size: 0.75rem; color: #6b7f96; white-space: nowrap; font-family: "Arial", sans-serif; }
.comments-fragment { margin-bottom: 8px; }
.comments-scroll { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.comment-card { background: #101a2b; border: 1px solid #1d2b3f; border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; min-height: 80px; }
.comment-nick { font-family: "Arial", sans-serif; font-weight: 700; font-size: 0.82rem; color: #ffb347; }
.comment-text { font-size: 0.85rem; color: #c8d3e0; line-height: 1.5; }
.recommendation-region { margin-bottom: 36px; }
.recommend-title { font-family: "Arial", sans-serif; font-weight: 700; font-size: 1.05rem; color: #fff; margin-bottom: 14px; }
.recommend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
a[data-runtime="recommendation"] { display: flex; flex-direction: column; gap: 6px; background: #101a2b; border: 1px solid #1d2b3f; border-radius: 10px; padding: 10px; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; color: #c8d3e0; }
a[data-runtime="recommendation"]:hover { transform: translateY(-3px); border-color: #e8452c; box-shadow: 0 6px 16px rgba(232, 69, 44, 0.15); }
a[data-runtime="recommendation"] img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; background: #1d2b3f; }
a[data-runtime="recommendation"] [data-runtime="name"] { font-family: "Arial", sans-serif; font-weight: 700; font-size: 0.9rem; color: #fff; }
a[data-runtime="recommendation"] [data-runtime="blurb"] { font-size: 0.78rem; color: #8a9bb0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
footer { border-top: 2px solid #e8452c; background: #0a0f1a; padding: 24px 4vw 32px; margin-top: 40px; }
.disclaimer { font-size: 0.75rem; color: #6b7f96; line-height: 1.6; max-width: 900px; margin-bottom: 16px; padding: 10px 14px; background: #101a2b; border-left: 3px solid #1d2b3f; border-radius: 0 6px 6px 0; }
.footer-links { display: flex; gap: 18px; margin-bottom: 16px; }
.footer-links a { font-family: "Arial", sans-serif; font-size: 0.85rem; color: #9fb3c8; transition: color 0.2s; }
.footer-links a:hover { color: #ff6b4a; }
.friend-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.friend-label { font-family: "Arial", sans-serif; font-size: 0.8rem; color: #6b7f96; }
.runtime-friend-link { font-size: 0.8rem; color: #8a9bb0; transition: color 0.2s; }
.runtime-friend-link:hover { color: #ffb347; }
main.lights-dim { filter: brightness(0.6) saturate(0.7); transition: filter 0.3s; }
main.lights-dim .movie-overview { box-shadow: none; }
main.lights-dim .poster-visual, main.lights-dim .player-shell { opacity: 0.9; }
@media (max-width: 1100px) {.poster-player-shell { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.main-poster { max-width: 320px; margin: 0 auto; }
.poster-visual { display: flex; justify-content: center; }
.player-shell { min-width: 0; }
.details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.synopsis-columns { grid-template-columns: 1fr; gap: 12px; }
.timeline-horizontal { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
.timeline-horizontal::before { top: 32px; }
.episode-list { grid-template-columns: 1fr; }
.comments-scroll { grid-template-columns: repeat(3, minmax(200px, 1fr)); }}
@media (max-width: 700px) {body { font-size: 14px; }
header { flex-direction: column; align-items: flex-start; gap: 8px; }
.category-strip { width: 100%; }
.movie-overview { padding: 14px; }
.poster-player-shell { min-width: 0; }
.player-shell { padding: 6px; }
.player-shell video { width: 100% !important; }
.details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.timeline-horizontal { grid-template-columns: 1fr 1fr; }
.timeline-horizontal::before { display: none; }
.timeline-node { padding: 10px; background: #101a2b; border: 1px solid #1d2b3f; border-radius: 8px; }
.recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.comments-scroll { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
.player-controls button { font-size: 0.65rem; padding: 3px 6px; }
.progress-container { min-width: 60px; }
footer { padding: 20px 4vw 24px; }
.friend-links { gap: 6px 10px; }}
@media (max-width: 480px) {main { padding: 0 3vw 32px; }
.poster-player-shell { grid-template-columns: minmax(0, 1fr); }
.main-poster { max-width: 240px; }
.details-grid { grid-template-columns: 1fr 1fr; }
.episode-row { flex-wrap: wrap; gap: 6px; }
.ep-number { min-width: 24px; font-size: 1.2rem; }
.ep-duration { margin-left: auto; }
.timeline-horizontal { grid-template-columns: 1fr; gap: 8px; }
.timeline-node { flex-direction: row; justify-content: flex-start; text-align: left; gap: 10px; }
.timeline-node::before { margin-bottom: 0; margin-right: 4px; }
.recommend-grid { grid-template-columns: 1fr; }
.comments-scroll { grid-template-columns: 1fr; }
.player-controls { gap: 4px; }
.player-controls button { flex: 1 1 auto; }}
@media (min-width: 701px) and (max-width: 1100px) {.player-shell video { min-width: 480px; width: 100%; }}
.poster-player-shell > .player-shell { min-width: 480px; }
@media (max-width: 700px) {.poster-player-shell > .player-shell { 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}
