*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background: #0d1210; color: #d7c9a8; font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
video { display: block; }
blockquote { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; }
header {
    background: #0a0e0c;
    border-bottom: 1px solid #2a3a32;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}
nav[data-contract="categories"] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
}
a.runtime-category {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    font-size: 0.85rem;
    color: #b9a87d;
    background: #141b18;
    border: 1px solid #2a3a32;
    border-radius: 2rem;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
a.runtime-category:hover, a.runtime-category:focus {
    background: #1d2722;
    color: #e8d9a8;
    border-color: #c6a961;
}
a[data-contract="site-name"].brand-link {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: #c9b57f;
    white-space: nowrap;
    border-left: 1px solid #2a3a32;
    padding-left: 1rem;
}
a[data-contract="site-name"].brand-link:hover, a[data-contract="site-name"].brand-link:focus {
    color: #e8d9a8;
}
main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.section-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: #c9b57f;
    border-bottom: 1px solid #2a3a32;
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
    font-weight: 400;
}
.section-subheading {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    color: #b9a87d;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    font-weight: 400;
    text-transform: uppercase;
}
.movie-overview-shell {
    display: grid;
    grid-template-columns: minmax(260px, 320px) 1fr minmax(0, 1fr);
    column-gap: 1.5rem;
    align-items: start;
    background: #111916;
    border: 1px solid #2a3a32;
    border-radius: 4px;
    padding: 1.25rem;
}
.poster-media-wrapper {
    aspect-ratio: 2 / 3;
    width: 100%;
    background: #0a0e0c;
    border: 1px solid #1e2a24;
    border-radius: 2px;
    overflow: hidden;
}
.main-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.overview-content-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 0;
}
.movie-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    color: #e8d9a8;
    line-height: 1.15;
    font-weight: 400;
}
.tagline {
    font-size: 0.95rem;
    color: #8a7a5c;
    font-style: italic;
    letter-spacing: 0.05em;
}
.synopsis-block p {
    font-size: 0.9rem;
    color: #c4b896;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
.synopsis-block p:last-child { margin-bottom: 0; }
.cast-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.cast-item {
    flex: 0 0 auto;
}
.cast-item figure {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #1a231f;
    border: 1px solid #2a3a32;
    border-radius: 2rem;
    padding: 0.25rem 0.8rem 0.25rem 0.25rem;
}
.cast-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #3a4a3e;
}
.cast-item figcaption {
    font-size: 0.8rem;
    color: #d7c9a8;
    white-space: nowrap;
}
.episode-status-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    background: #0d1411;
    border-left: 3px solid #c6a961;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}
.status-label {
    color: #e8d9a8;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.current-episode {
    color: #b9a87d;
}
.detail-meta-grid {
    margin-top: 0.25rem;
}
.meta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1rem;
}
.meta-item {
    display: flex;
    gap: 0.5rem;
    font-size: 0.82rem;
    line-height: 1.4;
}
.meta-item dt {
    color: #8a7a5c;
    white-space: nowrap;
}
.meta-item dd {
    color: #d7c9a8;
}
.player-wrapper {
    min-width: 0;
    background: #0a0e0c;
    border: 1px solid #2a3a32;
    border-radius: 2px;
    padding: 0.5rem;
}
.player-wrapper video {
    aspect-ratio: 16 / 9;
    width: 100%;
    background: #000;
}
.player-control-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.4rem 0.2rem 0.1rem;
}
.player-control-bar button {
    background: #1a231f;
    border: 1px solid #2a3a32;
    color: #b9a87d;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.player-control-bar button:hover, .player-control-bar button:focus {
    background: #2a3a32;
    color: #e8d9a8;
}
.player-wrapper.player-progress .player-control-bar button[data-player-action="progress"] { background: #c6a961; color: #0a0e0c; }
.player-wrapper.player-volume .player-control-bar button[data-player-action="volume"] { background: #c6a961; color: #0a0e0c; }
.player-wrapper.player-speed .player-control-bar button[data-player-action="speed"] { background: #c6a961; color: #0a0e0c; }
.player-wrapper.player-fullscreen { position: fixed; inset: 0; z-index: 1000; background: #000; border: none; border-radius: 0; padding: 0; }
.player-wrapper.player-fullscreen video { width: 100%; height: 100%; aspect-ratio: auto; }
.player-wrapper.theater-mode { max-width: 980px; margin: 0 auto; }
.player-wrapper.lights-dim video { filter: brightness(0.6) contrast(1.1); }
.timeline-section {
    background: #111916;
    border: 1px solid #2a3a32;
    border-radius: 4px;
    padding: 1.25rem;
}
.timeline-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}
.timeline-vertical::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 0.3rem;
    bottom: 0.3rem;
    width: 1px;
    background: #3a4a3e;
}
.timeline-node {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    position: relative;
}
.timeline-node::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0.45rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #c6a961;
    border: 2px solid #0d1210;
    box-shadow: 0 0 0 2px #c6a961;
}
.timecode {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.85rem;
    color: #c6a961;
    letter-spacing: 0.1em;
    white-space: nowrap;
    min-width: 5.5rem;
}
.label {
    font-size: 0.9rem;
    color: #d7c9a8;
}
.episodes-section {
    background: #111916;
    border: 1px solid #2a3a32;
    border-radius: 4px;
    padding: 1.25rem;
}
.episode-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}
.episode-card {
    background: #0d1411;
    border: 1px solid #2a3a32;
    border-radius: 3px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: background 0.25s, border-color 0.25s;
}
.episode-card:hover, .episode-card:focus-within {
    background: #1a231f;
    border-color: #c6a961;
}
.episode-number {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
    color: #c6a961;
    line-height: 1;
}
.episode-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    color: #e8d9a8;
    font-weight: 400;
    letter-spacing: 0.05em;
}
.episode-summary {
    font-size: 0.78rem;
    color: #a89b7d;
    line-height: 1.45;
    flex: 1;
}
.episode-duration {
    font-size: 0.72rem;
    color: #8a7a5c;
    letter-spacing: 0.05em;
}
.comments-section {
    background: #111916;
    border: 1px solid #2a3a32;
    border-radius: 4px;
    padding: 1.25rem;
}
.comment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.comment-bubble {
    background: #0d1411;
    border: 1px solid #2a3a32;
    border-radius: 3px;
    padding: 0.75rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
}
.comment-bubble::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 1rem;
    width: 0.6rem;
    height: 0.6rem;
    background: #0d1411;
    border-left: 1px solid #2a3a32;
    border-top: 1px solid #2a3a32;
    transform: rotate(45deg);
}
.nickname {
    font-size: 0.8rem;
    color: #c6a961;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.quote-text {
    font-size: 0.85rem;
    color: #d7c9a8;
    line-height: 1.5;
}
.recommend-region {
    background: #111916;
    border: 1px solid #2a3a32;
    border-radius: 4px;
    padding: 1rem 1.25rem;
}
.recommend-heading {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    color: #c9b57f;
    letter-spacing: 0.1em;
    font-weight: 400;
    margin-bottom: 0.75rem;
    border-left: 3px solid #c6a961;
    padding-left: 0.6rem;
}
.rec-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 180px;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: #3a4a3e #0d1210;
}
.rec-scroll::-webkit-scrollbar { height: 6px; }
.rec-scroll::-webkit-scrollbar-track { background: #0d1210; }
.rec-scroll::-webkit-scrollbar-thumb { background: #3a4a3e; border-radius: 3px; }
a[data-runtime="recommendation"] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background: #0d1411;
    border: 1px solid #2a3a32;
    border-radius: 3px;
    padding: 0.5rem;
    min-width: 0;
    color: #d7c9a8;
    transition: border-color 0.2s, background 0.2s;
}
a[data-runtime="recommendation"]:hover, a[data-runtime="recommendation"]:focus {
    border-color: #c6a961;
    background: #1a231f;
}
a[data-runtime="recommendation"] img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #0a0e0c;
    border-radius: 2px;
}
a[data-runtime="recommendation"] [data-runtime="name"] {
    font-size: 0.85rem;
    color: #e8d9a8;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
    font-size: 0.72rem;
    color: #a89b7d;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
footer {
    background: #0a0e0c;
    border-top: 1px solid #2a3a32;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
footer p[data-contract="disclaimer"] {
    font-size: 0.75rem;
    color: #6e6348;
    line-height: 1.6;
    max-width: 80ch;
}
nav[data-contract="friend-links"] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.75rem;
    font-size: 0.8rem;
}
.friend-label {
    color: #8a7a5c;
    white-space: nowrap;
}
a.runtime-friend-link {
    color: #a89b7d;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: #3a4a3e;
    transition: color 0.2s, text-decoration-color 0.2s;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus {
    color: #e8d9a8;
    text-decoration-color: #c6a961;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid #1e2a24;
    padding-top: 0.75rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
    font-size: 0.8rem;
    color: #b9a87d;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: #3a4a3e;
    transition: color 0.2s, text-decoration-color 0.2s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus {
    color: #e8d9a8;
    text-decoration-color: #c6a961;
}
@media (max-width: 1100px) {.movie-overview-shell {
        grid-template-columns: 260px 1fr;
        grid-template-areas:
            "poster content"
            "player player";
    }
.poster-media-wrapper { grid-area: poster; }
.overview-content-group { grid-area: content; }
.player-wrapper { grid-area: player; margin-top: 0.75rem; }
.episode-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }}
@media (max-width: 800px) {main { padding: 1rem; }
header { padding: 0.5rem 1rem; }
.movie-overview-shell {
        grid-template-columns: 1fr;
        grid-template-areas:
            "poster"
            "content"
            "player";
        padding: 0.75rem;
    }
.poster-media-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }
.meta-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
.episode-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
.comment-grid {
        grid-template-columns: 1fr;
    }
.rec-scroll {
        grid-auto-columns: 160px;
    }
.player-wrapper {
        padding: 0.25rem;
    }}
@media (max-width: 480px) {main { padding: 0.75rem; }
header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }
nav[data-contract="categories"] {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
    }
.movie-overview-shell {
        padding: 0.5rem;
        gap: 0.75rem;
    }
.movie-title {
        font-size: 1.4rem;
    }
.tagline {
        font-size: 0.85rem;
    }
.meta-row {
        grid-template-columns: 1fr;
    }
.episode-card-grid {
        grid-template-columns: 1fr;
    }
.comment-grid {
        grid-template-columns: 1fr;
    }
.rec-scroll {
        grid-auto-columns: 140px;
    }
.timeline-vertical {
        padding-left: 1.25rem;
    }
.timeline-node::before {
        left: -1.25rem;
    }
footer {
        padding: 1rem 0.75rem;
    }
.footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }}
.movie-overview-shell, .overview-content-group, .player-wrapper, .timeline-section, .episodes-section, .comments-section, .recommend-region {
    overflow: visible;
}
.episode-card, .comment-bubble, a[data-runtime="recommendation"] {
    min-width: 0;
    overflow-wrap: break-word;
}
a[data-runtime="recommendation"] { text-decoration: none; }
a[data-runtime="recommendation"]:hover { text-decoration: none; }
.movie-overview-shell { align-items: start; }
.poster-media-wrapper { align-self: start; }
.overview-content-group { align-self: start; }
.player-wrapper { align-self: start; }
.comment-grid { align-items: start; }
.episode-card-grid { align-items: start; }
.rec-scroll { align-items: start; }

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}
