*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #0d1117; color: #f0e6d2; font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: Georgia, "Times New Roman", "Songti SC", serif; font-weight: 700; letter-spacing: 0.02em; }
p { margin: 0; }
a { color: #d4b978; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #f0e6d2; }
dt, dd, .timecode, .episode-number, .status-value, .cast-role, .comment-nickname { font-family: "SF Mono", "Cascadia Code", "Consolas", monospace; }
a[data-contract="site-name"] { color: #d4b978; text-decoration: none; font-size: 1.4rem; font-weight: 700; letter-spacing: 0.3em; }
a[data-contract="site-name"]:hover { color: #f0e6d2; }
a.runtime-category { color: #c8b98a; text-decoration: none; white-space: nowrap; padding: 0.4em 0.8em; border: 1px solid rgba(212, 185, 120, 0.3); border-radius: 4px; font-size: 0.9rem; transition: background 0.2s, color 0.2s; }
a.runtime-category:hover { background: rgba(212, 185, 120, 0.15); color: #f0e6d2; }
a[data-runtime="recommendation"] { color: #d4b978; text-decoration: none; display: flex; flex-direction: column; gap: 0.4rem; }
a[data-runtime="recommendation"]:hover { color: #f0e6d2; }
a.runtime-friend-link { color: #a89f8a; text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
a.runtime-friend-link:hover { color: #d4b978; }
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] { color: #a89f8a; text-decoration: none; font-size: 0.85rem; padding: 0.2rem 0.6rem; }
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover { color: #d4b978; text-decoration: underline; }
.header-shell { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1rem; border-bottom: 1px solid rgba(212, 185, 120, 0.2); background: rgba(13, 17, 23, 0.95); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(8px); }
.categories-nav { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: flex-end; }
.categories-nav a.runtime-category { display: inline-block; margin: 0.2rem 0; }
.hero-section { padding: 1.5rem 1rem; position: relative; }
.hero-visual-shell { display: flex; gap: 1rem; align-items: stretch; margin-bottom: 1rem; }
.cinema-facade { flex: 1; min-height: 240px; border-radius: 12px; background: linear-gradient(135deg, #1a1f2a 0%, #0d1117 60%, #2a1f1a 100%), repeating-linear-gradient(90deg, transparent 0, transparent 8px, rgba(212, 185, 120, 0.1) 8px, rgba(212, 185, 120, 0.1) 10px); position: relative; overflow: hidden; box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 185, 120, 0.08); }
.cinema-facade::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(212, 185, 120, 0.15) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(255, 180, 80, 0.1) 0%, transparent 50%); }
.cinema-facade::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(13, 17, 23, 0.9), transparent); }
.hero-poster-column { flex: 0 0 220px; }
.main-poster-img { width: 100%; height: auto; display: block; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 185, 120, 0.2); border: 1px solid rgba(212, 185, 120, 0.2); }
.hero-title-block { margin: 1rem 0; text-align: center; padding: 0 0.5rem; }
.movie-title { font-size: clamp(1.8rem, 4vw, 2.6rem); color: #d4b978; text-shadow: 0 0 20px rgba(212, 185, 120, 0.3); letter-spacing: 0.1em; }
.movie-tagline { margin-top: 0.5rem; font-size: 1rem; color: #a89f8a; font-style: italic; }
.player-wrapper { max-width: 960px; margin: 1rem auto; position: relative; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8); border: 1px solid rgba(212, 185, 120, 0.15); min-width: 480px; }
.player-wrapper video { display: block; }
.player-controls { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; background: rgba(13, 17, 23, 0.85); border-top: 1px solid rgba(212, 185, 120, 0.15); }
.player-controls button { background: none; border: none; color: #d4b978; font-size: 1rem; cursor: pointer; padding: 0.3rem 0.5rem; border-radius: 4px; transition: background 0.2s; }
.player-controls button:hover { background: rgba(212, 185, 120, 0.2); }
.player-controls input[type="range"] { flex: 1; accent-color: #d4b978; height: 4px; }
.player-controls select { background: #1a1f2a; color: #f0e6d2; border: 1px solid rgba(212, 185, 120, 0.3); border-radius: 4px; padding: 0.2rem 0.4rem; font-size: 0.85rem; }
.player-wrapper.theater-mode { max-width: 100%; border-radius: 0; }
body.lights-dimmed .player-wrapper { z-index: 50; }
body.lights-dimmed .hero-section > *:not(.player-wrapper) { opacity: 0.2; transition: opacity 0.3s; }
.section-heading { font-size: 1.3rem; color: #d4b978; margin-bottom: 0.8rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(212, 185, 120, 0.3); letter-spacing: 0.15em; }
.synopsis-panel, .details-panel, .cast-panel, .episode-status-panel, .timeline-section, .episodes-section, .comments-section, .recommendation-region { padding: 1rem; }
.synopsis-columns { display: grid; grid-template-columns: 1fr; gap: 0; }
.synopsis-paragraph { padding: 1rem 0; color: #c8b98a; line-height: 1.8; font-size: 0.95rem; }
.synopsis-paragraph + .synopsis-paragraph { border-top: 1px solid rgba(212, 185, 120, 0.15); }
.details-table { display: grid; grid-template-columns: 1fr; gap: 0; }
.detail-row { display: flex; align-items: baseline; padding: 0.6rem 0; border-bottom: 1px solid rgba(212, 185, 120, 0.08); }
.detail-row dt { flex: 0 0 100px; color: #a89f8a; font-size: 0.9rem; }
.detail-row dd { flex: 1; color: #f0e6d2; }
.cast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
.cast-card { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; padding: 0.8rem; border: 1px solid rgba(212, 185, 120, 0.1); border-radius: 8px; background: rgba(26, 31, 42, 0.5); }
.cast-silhouette { width: 100%; aspect-ratio: 3/4; background: linear-gradient(135deg, #1a1f2a 0%, #2a2530 100%); border-radius: 6px; position: relative; overflow: hidden; }
.cast-silhouette::after { content: ""; position: absolute; inset: 15% 20% 10% 20%; background: radial-gradient(ellipse at center, rgba(212, 185, 120, 0.15), transparent 70%); border-radius: 50%; }
.cast-name { font-weight: 600; color: #f0e6d2; font-size: 0.95rem; }
.cast-role { color: #a89f8a; font-size: 0.8rem; }
.episode-status-row { display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; padding: 0.8rem; background: rgba(212, 185, 120, 0.05); border-radius: 8px; }
.status-label { color: #a89f8a; font-size: 0.9rem; }
.status-value { color: #d4b978; font-weight: 700; font-size: 1.1rem; }
.timeline-track { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.5rem 0 1rem; position: relative; }
.timeline-track::before { content: ""; position: absolute; top: 14px; left: 10px; right: 10px; height: 2px; background: linear-gradient(to right, rgba(212, 185, 120, 0.3), rgba(212, 185, 120, 0.8), rgba(212, 185, 120, 0.3)); }
.timeline-node { display: flex; flex-direction: column; flex: 0 0 180px; gap: 0.4rem; padding: 2rem 0.5rem 0.5rem; position: relative; }
.timeline-node::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 10px; height: 10px; border-radius: 50%; background: #d4b978; box-shadow: 0 0 12px rgba(212, 185, 120, 0.6); }
.timecode { color: #d4b978; font-size: 0.85rem; font-weight: 700; }
.timeline-label { color: #a89f8a; font-size: 0.85rem; line-height: 1.4; }
.episode-list { display: grid; gap: 0.6rem; }
.episode-card { display: flex; gap: 1rem; padding: 0.8rem; border: 1px solid rgba(212, 185, 120, 0.1); border-radius: 8px; background: rgba(26, 31, 42, 0.4); align-items: flex-start; }
.episode-number { font-size: 2.2rem; font-weight: 700; color: #d4b978; line-height: 1; opacity: 0.7; flex: 0 0 auto; }
.episode-info { display: flex; flex-direction: column; gap: 0.2rem; text-align: right; }
.episode-title { color: #f0e6d2; font-weight: 600; font-size: 1rem; }
.episode-summary { color: #a89f8a; font-size: 0.85rem; line-height: 1.4; }
.episode-duration { color: #c8b98a; font-size: 0.8rem; font-family: monospace; }
.comments-scroll { display: flex; gap: 0.8rem; overflow-x: auto; padding: 0.5rem 0; scroll-snap-type: x mandatory; }
.comment-card { flex: 0 0 260px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 0.4rem; padding: 0.8rem; background: rgba(26, 31, 42, 0.6); border-radius: 8px; border: 1px solid rgba(212, 185, 120, 0.1); transform: rotate(-1deg); transition: transform 0.2s; }
.comment-card:hover { transform: rotate(0deg); }
.comment-card:nth-child(even) { transform: rotate(1deg); }
.comment-card:nth-child(even):hover { transform: rotate(0deg); }
.comment-nickname { color: #d4b978; font-size: 0.9rem; font-weight: 700; }
.comment-text { color: #c8b98a; font-size: 0.85rem; line-height: 1.5; }
.recommendation-region { padding: 1rem; }
.recommendation-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.8rem; }
.recommendation-strip a[data-runtime="recommendation"] { border: 1px solid rgba(212, 185, 120, 0.1); border-radius: 8px; padding: 0.5rem; background: rgba(26, 31, 42, 0.4); transition: border-color 0.2s, transform 0.2s; }
.recommendation-strip a[data-runtime="recommendation"]:hover { border-color: rgba(212, 185, 120, 0.4); transform: translateY(-2px); }
.recommendation-strip a[data-runtime="recommendation"] img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; border-radius: 4px; }
.recommendation-strip span[data-runtime="name"] { font-weight: 600; color: #f0e6d2; font-size: 0.9rem; }
.recommendation-strip span[data-runtime="blurb"] { color: #a89f8a; font-size: 0.8rem; }
.recommendation-vertical { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.8rem; }
.recommendation-vertical a[data-runtime="recommendation"] { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.5rem; border: 1px solid rgba(212, 185, 120, 0.1); border-radius: 8px; background: rgba(26, 31, 42, 0.4); }
.recommendation-vertical a[data-runtime="recommendation"] img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
.recommendation-vertical span[data-runtime="name"] { font-weight: 600; color: #f0e6d2; }
.recommendation-vertical span[data-runtime="blurb"] { color: #a89f8a; font-size: 0.8rem; }
.recommendation-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.8rem; }
.recommendation-grid a[data-runtime="recommendation"] { padding: 0.5rem; border: 1px solid rgba(212, 185, 120, 0.1); border-radius: 8px; background: rgba(26, 31, 42, 0.4); }
.recommendation-grid a[data-runtime="recommendation"]:nth-child(3n/**/+1) { transform: translateY(8px); }
.recommendation-grid a[data-runtime="recommendation"]:nth-child(3n/**/+2) { transform: translateY(-4px); }
.recommendation-grid a[data-runtime="recommendation"]:nth-child(3n/**/+3) { transform: translateY(4px); }
.recommendation-grid a[data-runtime="recommendation"] img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; border-radius: 4px; }
.recommendation-grid span[data-runtime="name"] { font-weight: 600; color: #f0e6d2; font-size: 0.9rem; }
.recommendation-grid span[data-runtime="blurb"] { color: #a89f8a; font-size: 0.8rem; }
.site-footer { padding: 1.5rem 1rem 1rem; border-top: 1px solid rgba(212, 185, 120, 0.2); background: rgba(13, 17, 23, 0.95); }
.friend-links-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: 1rem; }
.friend-links-label { color: #a89f8a; font-size: 0.85rem; font-weight: 600; padding-right: 0.5rem; }
.footer-links { display: flex; gap: 1rem; margin-bottom: 0.5rem; }
.footer-links a { display: inline-block; }
.footer-disclaimer { color: #777; font-size: 0.75rem; line-height: 1.6; }
@media (min-width: 768px) {.header-shell { padding: 0.8rem 2rem; }
.hero-section { padding: 2rem; }
.synopsis-columns { grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
.synopsis-paragraph { padding: 0 1rem; border-left: 1px solid rgba(212, 185, 120, 0.15); border-top: none; }
.synopsis-paragraph:first-child { border-left: none; padding-left: 0; }
.details-table { grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.episode-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.episode-info { text-align: left; }
.episode-card { align-items: center; }
.recommendation-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }}
@media (min-width: 1024px) {.hero-visual-shell { gap: 2rem; }
.hero-poster-column { flex-basis: 260px; }
.synopsis-paragraph { font-size: 1rem; }
.recommendation-strip { grid-template-columns: repeat(4, 1fr); }
.recommendation-vertical { grid-template-columns: repeat(3, 1fr); }
.timeline-track { overflow: visible; justify-content: space-between; }
.timeline-node { flex: 0 0 18%; }}
@media (max-width: 480px) {.header-shell { flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.categories-nav { justify-content: flex-start; }
.hero-visual-shell { flex-direction: column; }
.hero-poster-column { flex-basis: auto; max-width: 180px; margin: 0 auto; }
.main-poster-img { aspect-ratio: 2/3; }
.cinema-facade { min-height: 160px; }
.player-controls { flex-wrap: wrap; gap: 0.3rem; }
.player-controls input[type="range"] { flex-basis: 100%; }
.movie-title { font-size: 1.5rem; }
.episode-card { flex-direction: column; }
.episode-number { font-size: 1.8rem; }
.episode-info { text-align: left; }
.cast-grid { grid-template-columns: repeat(2, 1fr); }
.comment-card { flex-basis: 220px; }
.recommendation-strip, .recommendation-vertical, .recommendation-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.timeline-node { flex-basis: 140px; }}
@media (max-width: 520px) {.player-wrapper { min-width: 100%; }}
.hero-visual-shell, .synopsis-columns, .details-table, .cast-grid, .episode-list, .comments-scroll, .recommendation-strip, .recommendation-vertical, .recommendation-grid { align-items: start; }
.hero-poster-column, .synopsis-paragraph, .detail-row, .cast-card, .episode-card, .comment-card, .recommendation-strip a[data-runtime="recommendation"], .recommendation-vertical a[data-runtime="recommendation"], .recommendation-grid a[data-runtime="recommendation"] { align-self: start; }
.recommendation-strip a[data-runtime="recommendation"], .recommendation-vertical a[data-runtime="recommendation"], .recommendation-grid a[data-runtime="recommendation"] { display: flex; flex-direction: column; gap: 0.4rem; }
.recommendation-strip a[data-runtime="recommendation"] img, .recommendation-vertical a[data-runtime="recommendation"] img, .recommendation-grid a[data-runtime="recommendation"] img { width: 100%; display: block; }
.main-poster-img { aspect-ratio: 2 / 3; }
@media (prefers-reduced-motion: reduce) {* { transition: none !important; animation: none !important; }
.comment-card, .comment-card:nth-child(even), .recommendation-grid a[data-runtime="recommendation"]:nth-child(n) { transform: none !important; }}

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}
