* {margin:0;padding:0;box-sizing:border-box}
html {scroll-behavior:smooth}
body {font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,sans-serif;background:#f5e9d8;color:#3e3a32;line-height:1.5;font-size:14px}
img, video {display:block;max-width:100%}
a {color:inherit;text-decoration:none}
button {font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
header {background:#2e3b2a;border-bottom:3px solid #c9a45c;position:sticky;top:0;z-index:100;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.header-inner {display:flex;align-items:center;justify-content:space-between;max-width:1400px;margin:0 auto;padding:10px 24px;gap:20px}
a[data-contract="site-name"] {font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:700;color:#f5e9d8;letter-spacing:2px;white-space:nowrap}
a[data-contract="site-name"]:hover {color:#e8c96e;text-decoration:none}
.categories-nav {display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:2px 0}
.categories-nav::-webkit-scrollbar {display:none}
a.runtime-category {display:inline-block;background:#3e4d38;color:#f0d9a8;border:1px solid #5c6e50;border-radius:20px;padding:4px 14px;font-size:13px;white-space:nowrap;transition:background .2s,color .2s}
a.runtime-category:hover {background:#c9a45c;color:#2e3b2a;text-decoration:none;border-color:#c9a45c}
main {max-width:1400px;margin:0 auto;padding:20px 24px 40px}
.movie-overview {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin-bottom:36px;background:linear-gradient(145deg,#faf3e6 0%,#f0e0cc 100%);border-radius:18px;padding:28px;box-shadow:0 4px 20px rgba(62,58,50,.12);border:1px solid #e6d3b8;position:relative;overflow:hidden}
.movie-overview::before {content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#c9a45c,#e8c96e,#c9a45c);border-radius:18px 18px 0 0}
.poster-player-group {display:flex;flex-direction:column;gap:16px;min-width:0}
.poster-wrapper {width:100%;max-width:380px;border-radius:12px;overflow:hidden;box-shadow:0 6px 16px rgba(62,58,50,.18);border:3px solid #d9c9a8;background:#e8dcc8}
.main-poster-img {width:100%;aspect-ratio:2/3;object-fit:cover}
.player-wrapper {width:100%;min-width:0;display:flex;flex-direction:column;gap:8px}
.detail-player {width:100%;border-radius:10px;background:#1a1a1a;box-shadow:0 4px 12px rgba(0,0,0,.3)}
.player-controls {display:flex;flex-wrap:wrap;gap:6px;background:#2e3b2a;border-radius:10px;padding:8px 10px;align-items:center}
.player-controls button {background:#3e4d38;color:#f0d9a8;border:1px solid #5c6e50;border-radius:6px;padding:4px 10px;font-size:12px;white-space:nowrap;transition:background .2s}
.player-controls button:hover {background:#c9a45c;color:#2e3b2a;border-color:#c9a45c}
.player-controls button.theater-toggle, .player-controls button.light-toggle {border-radius:6px 0 0 6px}
.detail-player.theater-mode {position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:1000;background:#000;aspect-ratio:auto}
.detail-player.light-mode {filter:brightness(1.2);background:#fff}
.title-tagline-group {display:flex;flex-direction:column;gap:6px;align-self:start;margin-top:4px}
.movie-title {font-family:Georgia,"Times New Roman",serif;font-size:30px;color:#4a3f2a;line-height:1.2;text-shadow:1px 1px 0 rgba(255,255,255,.5)}
.tagline {font-family:Georgia,serif;font-style:italic;font-size:16px;color:#8a6d3b;letter-spacing:4px;border-left:3px solid #c9a45c;padding-left:12px}
.synopsis-block {grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:#faf3e6;border-radius:12px;padding:18px;border:1px solid #e6d3b8}
.synopsis-text {font-size:13.5px;color:#4a4038;line-height:1.7;text-align:justify;padding:0 8px;border-right:1px solid #e6d3b8}
.synopsis-text:last-child {border-right:none}
.cast-section {margin-top:20px}
.section-subtitle {font-family:Georgia,"Times New Roman",serif;font-size:20px;color:#4a3f2a;margin-bottom:12px;padding-left:10px;border-left:4px solid #c9a45c}
.cast-scroll {display:flex;gap:14px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#c9a45c transparent;padding:8px 4px 16px}
.cast-scroll::-webkit-scrollbar {height:6px}
.cast-scroll::-webkit-scrollbar-thumb {background:#c9a45c;border-radius:3px}
.cast-card {display:flex;flex-direction:column;align-items:center;gap:8px;flex:0 0 auto;width:100px;padding:10px 8px;background:#faf3e6;border-radius:14px;border:1px solid #e6d3b8;transition:transform .2s,box-shadow .2s}
.cast-card:hover {transform:translateY(-4px);box-shadow:0 4px 12px rgba(62,58,50,.15)}
.cast-avatar {width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,#c9a45c,#e8c96e);display:flex;align-items:center;justify-content:center;font-size:11px;color:#2e3b2a;font-weight:700;border:2px solid #faf3e6;box-shadow:0 2px 6px rgba(0,0,0,.15);text-align:center;line-height:1.2;padding:4px}
.cast-name {font-size:13px;color:#4a4038;font-weight:600;white-space:nowrap}
.episode-status {margin-top:16px;grid-column:1/-1}
.episode-info {display:inline-block;background:#2e3b2a;color:#f0d9a8;padding:6px 16px;border-radius:20px;font-size:13px;border:1px solid #5c6e50}
.details-table {margin-top:20px;grid-column:1/-1}
.detail-list {display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:0;background:#faf3e6;border-radius:12px;border:1px solid #e6d3b8;overflow:hidden}
.detail-item {display:flex;padding:10px 14px;border-bottom:1px solid #e6d3b8;border-right:1px solid #e6d3b8;background:transparent}
.detail-item:nth-child(odd) {background:rgba(201,164,92,.06)}
.detail-item dt {font-weight:700;color:#4a3f2a;width:70px;flex-shrink:0}
.detail-item dd {color:#6b5b45;flex:1}
.timeline-section {margin:48px 0;padding:28px;background:linear-gradient(180deg,#faf3e6,#f0e0cc);border-radius:16px;border:1px solid #e6d3b8;box-shadow:0 4px 16px rgba(62,58,50,.1)}
.section-heading {font-family:Georgia,"Times New Roman",serif;font-size:26px;color:#4a3f2a;margin-bottom:20px;text-align:center;letter-spacing:2px;position:relative}
.section-heading::after {content:"";display:block;width:60px;height:3px;background:#c9a45c;margin:8px auto 0;border-radius:2px}
.timeline-scroll {display:flex;gap:0;overflow-x:auto;padding:20px 8px;scrollbar-width:thin;scrollbar-color:#c9a45c transparent}
.timeline-scroll::-webkit-scrollbar {height:6px}
.timeline-scroll::-webkit-scrollbar-thumb {background:#c9a45c;border-radius:3px}
.timeline-item {display:flex;flex-direction:column;align-items:center;flex:0 0 auto;width:130px;position:relative;padding:0 12px;text-align:center}
.timeline-item::before {content:"";position:absolute;top:34px;left:-50%;width:100%;height:2px;background:#c9a45c;z-index:0}
.timeline-item:first-child::before {display:none}
.time-node {width:36px;height:36px;border-radius:50%;background:#c9a45c;color:#2e3b2a;font-weight:700;display:flex;align-items:center;justify-content:center;font-size:12px;border:3px solid #faf3e6;box-shadow:0 2px 6px rgba(0,0,0,.2);z-index:1;position:relative;white-space:nowrap;padding:0 4px}
.time-label {font-size:12px;color:#4a4038;margin-top:10px;line-height:1.4;background:#faf3e6;border-radius:8px;padding:6px 8px;border:1px solid #e6d3b8;position:relative;z-index:1}
.episodes-grid-section {margin:48px 0;padding:28px;background:#faf3e6;border-radius:16px;border:1px solid #e6d3b8;box-shadow:0 4px 16px rgba(62,58,50,.08)}
.episodes-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.episode-card {display:flex;flex-direction:column;padding:14px;background:#fffdf8;border-radius:10px;border:1px solid #e6d3b8;border-left:4px solid #c9a45c;transition:transform .2s,box-shadow .2s;min-height:0}
.episode-card:hover {transform:translateY(-2px);box-shadow:0 4px 10px rgba(62,58,50,.12)}
.ep-number {font-size:13px;font-weight:700;color:#8a6d3b;margin-bottom:4px}
.ep-title {font-size:16px;font-family:Georgia,serif;color:#4a3f2a;font-weight:600}
.comments-section {margin:48px 0;padding:28px;background:linear-gradient(145deg,#f5e9d8,#f0e0cc);border-radius:16px;border:1px solid #e6d3b8}
.comments-masonry {display:grid;grid-template-columns:1fr 1fr;gap:16px;column-gap:24px}
.comment-bubble {background:#faf3e6;border-radius:16px 16px 16px 4px;padding:16px 18px;border:1px solid #e6d3b8;position:relative;box-shadow:0 2px 8px rgba(62,58,50,.06)}
.comment-bubble::after {content:"";position:absolute;bottom:0;left:12px;width:14px;height:14px;background:#faf3e6;border-bottom:1px solid #e6d3b8;border-left:1px solid #e6d3b8;transform:translateY(7px) rotate(-45deg)}
.commenter {font-size:13px;font-weight:700;color:#8a6d3b;display:block;margin-bottom:6px}
.comment-bubble p {font-size:13px;color:#4a4038;line-height:1.6}
.recommendation-region {margin:48px 0;padding:28px;background:#faf3e6;border-radius:16px;border:1px solid #e6d3b8}
.rec-title {font-family:Georgia,"Times New Roman",serif;font-size:22px;color:#4a3f2a;margin-bottom:20px;padding-left:12px;border-left:4px solid #c9a45c}
.rec-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
a[data-runtime="recommendation"] {display:flex;flex-direction:column;gap:6px;background:#fffdf8;border-radius:12px;padding:12px;border:1px solid #e6d3b8;transition:transform .2s,box-shadow .2s;color:inherit;text-decoration:none;min-height:0}
a[data-runtime="recommendation"]:hover {transform:translateY(-4px);box-shadow:0 6px 16px rgba(62,58,50,.15);text-decoration:none;color:#4a3f2a}
a[data-runtime="recommendation"] img {width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:8px;background:#e8dcc8}
a[data-runtime="recommendation"] [data-runtime="name"] {font-size:14px;font-weight:700;color:#4a3f2a;line-height:1.3}
a[data-runtime="recommendation"] [data-runtime="blurb"] {font-size:12px;color:#6b5b45;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
footer {background:#2e3b2a;color:#f0d9a8;margin-top:48px;border-top:4px solid #c9a45c}
.footer-content {max-width:1400px;margin:0 auto;padding:32px 24px;display:grid;grid-template-columns:1fr;gap:20px}
.disclaimer {font-size:12px;color:#b8a98a;line-height:1.6;text-align:center;border-bottom:1px solid #4a5a3e;padding-bottom:18px}
.friend-links {display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center}
.friend-label {font-size:13px;color:#b8a98a}
a.runtime-friend-link {display:inline-block;background:#3e4d38;color:#e8c96e;border:1px solid #5c6e50;border-radius:16px;padding:3px 12px;font-size:12px;white-space:nowrap;transition:background .2s,color .2s}
a.runtime-friend-link:hover {background:#c9a45c;color:#2e3b2a;text-decoration:none;border-color:#c9a45c}
.footer-links {display:flex;justify-content:center;gap:16px;padding-top:8px;border-top:1px solid #4a5a3e}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {color:#f0d9a8;font-size:14px;padding:4px 8px;border-radius:4px;transition:color .2s,background .2s}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {color:#c9a45c;text-decoration:none;background:rgba(201,164,92,.15)}
@media (max-width:1100px){.movie-overview {grid-template-columns:1fr;padding:20px}
.poster-player-group {flex-direction:row;gap:20px;align-items:flex-start}
.poster-wrapper {max-width:280px}
.player-wrapper {flex:1;min-width:0}
.synopsis-block {grid-template-columns:1fr}
.synopsis-text {border-right:none;border-bottom:1px solid #e6d3b8;padding-bottom:12px;margin-bottom:0}
.synopsis-text:last-child {border-bottom:none}
.rec-grid {grid-template-columns:repeat(2,1fr)}
.episodes-grid {grid-template-columns:repeat(3,1fr)}
.detail-list {grid-template-columns:repeat(2,1fr)}}
@media (max-width:768px){main {padding:16px 12px 32px}
.header-inner {flex-direction:column;align-items:flex-start;gap:10px;padding:12px 16px}
.categories-nav {width:100%;flex-wrap:nowrap}
.poster-player-group {flex-direction:column}
.poster-wrapper {max-width:100%;width:100%}
.main-poster-img {aspect-ratio:16/10;object-fit:cover}
.title-tagline-group {margin-top:16px}
.movie-title {font-size:24px}
.cast-scroll {width:100%}
.episodes-grid {grid-template-columns:repeat(2,1fr);gap:10px}
.comments-masonry {grid-template-columns:1fr;gap:14px}
.rec-grid {grid-template-columns:1fr;gap:14px}
.detail-list {grid-template-columns:1fr}
.timeline-item {width:110px}
.footer-content {padding:24px 16px}
.footer-links {flex-direction:column;align-items:center;gap:8px}
.player-controls {justify-content:center}
.player-controls button {flex:1;min-width:80px;text-align:center}}
@media (max-width:480px){body {font-size:13px}
.movie-overview {padding:16px;border-radius:14px}
.poster-wrapper {max-width:100%}
.player-controls {flex-direction:row;flex-wrap:wrap;gap:4px;padding:6px}
.player-controls button {flex:1 1 30%;min-width:70px;font-size:11px;padding:4px 6px}
.episodes-grid {grid-template-columns:1fr 1fr;gap:8px}
.episode-card {padding:10px;border-left-width:3px}
.ep-title {font-size:14px}
.ep-number {font-size:12px}
.cast-card {width:84px}
.cast-avatar {width:60px;height:60px;font-size:10px}
.timeline-item {width:90px;padding:0 6px}
.time-node {width:30px;height:30px;font-size:10px}
.time-label {font-size:11px;padding:4px 6px}
.detail-item {flex-direction:column;gap:2px}
.detail-item dt {width:auto}
.rec-grid {grid-template-columns:1fr}
a[data-runtime="recommendation"] img {aspect-ratio:16/9}
.comment-bubble {padding:14px;border-radius:14px 14px 14px 4px}
.section-heading {font-size:22px}
.section-subtitle {font-size:18px}
.tagline {font-size:14px}
.movie-title {font-size:20px;line-height:1.3}
.friend-links {flex-direction:column;align-items:center}
.friend-label {text-align:center;width:100%}
.player-controls button.theater-toggle, .player-controls button.light-toggle {border-radius:6px}}

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}
