*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #14100f;
    color: #e8dcd4;
    line-height: 1.5;
    font-size: 15px;
    overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
header {
    background: #1a1513;
    border-bottom: 1px solid #3a2e28;
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 24px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.site-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #d4a373;
    letter-spacing: 0.04em;
    transition: color 0.2s;
    white-space: nowrap;
}
.site-brand:hover { color: #f0c9a0; }
.categories-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.runtime-category {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    background: #241d19;
    border: 1px solid #3a2e28;
    color: #cbb8aa;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.runtime-category:hover {
    background: #3a2e28;
    border-color: #d4a373;
    color: #f0c9a0;
}
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px 40px;
}
.movie-overview-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 20px 24px;
    padding: 28px 0 20px;
    align-items: start;
}
.overview-media-wrap {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1513;
    border: 1px solid #3a2e28;
}
.main-poster-img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}
.title-group {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    padding: 8px 0 0;
}
.movie-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    line-height: 1.25;
    color: #f0d9c0;
    margin-bottom: 8px;
    font-weight: 600;
}
.tagline {
    font-size: 0.95rem;
    color: #c9a88a;
    font-style: italic;
    letter-spacing: 0.02em;
}
.cast-cluster {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    padding: 4px 0 0;
}
.cluster-heading {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
    color: #d4a373;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.actor-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.actor-chip {
    padding: 6px 14px;
    background: #241d19;
    border-radius: 30px;
    border: 1px solid #3a2e28;
    font-size: 0.9rem;
    color: #e0cfc2;
    transition: border-color 0.2s, background 0.2s;
}
.actor-chip:hover {
    border-color: #d4a373;
    background: #2e2520;
}
.synopsis-panel {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    border-top: 1px solid #3a2e28;
    padding-top: 18px;
}
.panel-heading {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    color: #d4a373;
    margin-bottom: 10px;
    font-weight: 600;
}
.synopsis-para {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #cdbdb0;
    margin-bottom: 10px;
}
.synopsis-para:last-child { margin-bottom: 0; }
.episode-status-block {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid #3a2e28;
    border-bottom: 1px solid #3a2e28;
    flex-wrap: wrap;
}
.status-label {
    font-size: 0.95rem;
    color: #e8dcd4;
    font-weight: 500;
}
.status-number, .current-episode {
    color: #d4a373;
    font-weight: 700;
}
.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d4a373;
    display: inline-block;
}
.status-duration {
    font-size: 0.85rem;
    color: #9a8a7e;
}
.details-grid {
    grid-column: 2 / 3;
    grid-row: 3 / 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    align-content: start;
    border-top: 1px solid #3a2e28;
    padding-top: 18px;
}
.detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.detail-label {
    font-size: 0.75rem;
    color: #8a7a6e;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.detail-value {
    font-size: 0.9rem;
    color: #e0cfc2;
}
.player-wrapper {
    grid-column: 1 / 2;
    grid-row: 5 / 6;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1513;
    border: 1px solid #3a2e28;
    min-width: 0;
}
.main-player {
    display: block;
}
.player-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px 12px;
    background: #1a1513;
    border-top: 1px solid #3a2e28;
}
.ctrl-btn {
    padding: 5px 10px;
    font-size: 0.78rem;
    background: #241d19;
    border-radius: 6px;
    color: #cbb8aa;
    transition: background 0.2s, color 0.2s;
}
.ctrl-btn:hover {
    background: #3a2e28;
    color: #f0c9a0;
}
.player-wrapper.theater-mode {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
}
.player-wrapper.theater-mode .main-player {
    aspect-ratio: 16 / 9;
}
body.lights-dim .movie-overview-shell {
    filter: brightness(0.75);
}
body.lights-dim .episodes-section, body.lights-dim .timeline-section, body.lights-dim .cast-section, body.lights-dim .comments-section, body.lights-dim .recommend-region {
    filter: brightness(0.85);
}
.section-heading {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    color: #f0d9c0;
    font-weight: 600;
    padding: 28px 0 14px;
    border-bottom: 1px solid #3a2e28;
    margin-bottom: 18px;
    letter-spacing: 0.03em;
}
.timeline-section {
    padding: 10px 0 0;
}
.timeline-scroll {
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #d4a373 #1a1513;
    -webkit-overflow-scrolling: touch;
}
.timeline-track {
    display: flex;
    gap: 16px;
    min-width: max-content;
    padding: 4px 2px;
}
.timeline-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #1a1513;
    border: 1px solid #3a2e28;
    border-radius: 12px;
    padding: 14px 16px;
    width: 220px;
    min-height: 110px;
    transition: border-color 0.2s, transform 0.2s;
}
.timeline-item:hover {
    border-color: #d4a373;
    transform: translateY(-2px);
}
.timecode {
    font-size: 0.8rem;
    color: #d4a373;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.timeline-label {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #cdbdb0;
}
.episodes-section {
    padding: 10px 0 0;
}
.episodes-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.episode-card {
    display: flex;
    gap: 14px;
    background: #1a1513;
    border: 1px solid #3a2e28;
    border-radius: 10px;
    padding: 14px 16px;
    transition: border-color 0.2s, background 0.2s;
    align-items: flex-start;
}
.episode-card:hover {
    border-color: #d4a373;
    background: #1f1916;
}
.episode-number {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #d4a373;
    line-height: 1;
    min-width: 32px;
    padding-top: 2px;
}
.episode-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.episode-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    color: #f0d9c0;
    font-weight: 600;
}
.episode-summary {
    font-size: 0.85rem;
    color: #b3a296;
    line-height: 1.5;
}
.episode-duration {
    font-size: 0.78rem;
    color: #8a7a6e;
    margin-top: 4px;
}
.cast-section {
    padding: 10px 0 0;
}
.cast-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.cast-card {
    background: #1a1513;
    border: 1px solid #3a2e28;
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}
.cast-card:hover {
    border-color: #d4a373;
    transform: translateY(-2px);
}
.cast-avatar {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 2px solid #3a2e28;
}
.cast-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    color: #f0d9c0;
    margin-bottom: 4px;
}
.cast-role {
    font-size: 0.85rem;
    color: #9a8a7e;
}
.comments-section {
    padding: 10px 0 0;
}
.comments-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #d4a373 #1a1513;
    -webkit-overflow-scrolling: touch;
}
.comment-card {
    background: #1a1513;
    border: 1px solid #3a2e28;
    border-radius: 12px;
    padding: 16px;
    min-width: 240px;
    max-width: 300px;
    flex-shrink: 0;
    transition: border-color 0.2s;
}
.comment-card:hover {
    border-color: #d4a373;
}
.comment-nickname {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
    color: #d4a373;
    font-weight: 600;
    margin-bottom: 8px;
}
.comment-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #cdbdb0;
}
.recommend-region {
    padding: 10px 0 0;
}
.recommend-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    color: #d4a373;
    font-weight: 600;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #3a2e28;
}
.recommend-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.recommend-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #1a1513;
    border: 1px solid #3a2e28;
    border-radius: 10px;
    padding: 10px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.recommend-item:hover {
    border-color: #d4a373;
    transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 6px;
}
[data-runtime="name"] {
    font-size: 0.95rem;
    color: #f0d9c0;
    font-weight: 500;
    line-height: 1.3;
}
[data-runtime="blurb"] {
    font-size: 0.8rem;
    color: #9a8a7e;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
footer {
    background: #1a1513;
    border-top: 1px solid #3a2e28;
    padding: 24px;
    margin-top: 30px;
}
.disclaimer-text {
    font-size: 0.78rem;
    color: #8a7a6e;
    line-height: 1.5;
    max-width: 1400px;
    margin: 0 auto 14px;
    padding: 0 24px;
}
.footer-links {
    display: flex;
    gap: 18px;
    max-width: 1400px;
    margin: 0 auto 14px;
    padding: 0 24px;
}
.footer-links a {
    font-size: 0.88rem;
    color: #cbb8aa;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #d4a373;
}
.friend-links {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: center;
}
.friend-label {
    font-size: 0.85rem;
    color: #8a7a6e;
}
.runtime-friend-link {
    font-size: 0.85rem;
    color: #b3a296;
    transition: color 0.2s;
    border-bottom: 1px dotted #3a2e28;
    padding-bottom: 1px;
}
.runtime-friend-link:hover {
    color: #d4a373;
    border-color: #d4a373;
}
@media (max-width: 1024px) {.movie-overview-shell {
        grid-template-columns: 1fr;
        gap: 18px;
    }
.overview-media-wrap {
        grid-column: 1;
        grid-row: auto;
    }
.title-group {
        grid-column: 1;
        grid-row: auto;
    }
.cast-cluster {
        grid-column: 1;
        grid-row: auto;
    }
.synopsis-panel {
        grid-column: 1;
        grid-row: auto;
    }
.episode-status-block {
        grid-column: 1;
        grid-row: auto;
    }
.details-grid {
        grid-column: 1;
        grid-row: auto;
        grid-template-columns: repeat(3, 1fr);
    }
.player-wrapper {
        grid-column: 1;
        grid-row: auto;
    }
.episodes-list {
        grid-template-columns: 1fr;
    }
.cast-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
.recommend-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
.player-wrapper {
        min-width: 0;
    }
.player-wrapper .main-player {
        width: 100%;
    }}
@media (max-width: 640px) {main {
        padding: 0 14px 30px;
    }
.header-shell {
        padding: 10px 14px;
        flex-direction: column;
        align-items: flex-start;
    }
.categories-bar {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }
.runtime-category {
        flex-shrink: 0;
    }
.movie-title {
        font-size: 1.35rem;
    }
.details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
.cast-card-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
.cast-avatar {
        max-width: 140px;
        margin-left: auto;
        margin-right: auto;
    }
.recommend-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
.recommend-item {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
[data-runtime="recommendation"] img {
        width: 90px;
        aspect-ratio: 2 / 3;
        flex-shrink: 0;
    }
.timeline-item {
        width: 190px;
    }
.comment-card {
        min-width: 220px;
    }
.player-controls {
        gap: 6px;
    }
.ctrl-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
.episode-card {
        padding: 12px;
    }
.episode-number {
        font-size: 1.2rem;
        min-width: 26px;
    }
footer {
        padding: 18px 0;
    }
.disclaimer-text {
        padding: 0 14px;
    }
.footer-links {
        padding: 0 14px;
    }
.friend-links {
        padding: 0 14px;
    }}
.player-wrapper {
    min-width: 0;
}
.player-wrapper .main-player {
    width: 100%;
    height: auto;
}

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}
