*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    background: #0d0a0a;
    color: #e8dcd0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.5;
    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; border: none; background: none; cursor: pointer; color: inherit; }
.site-header {
    background: linear-gradient(180deg, #1a0e0e 0%, #0d0a0a 100%);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #2a1515;
    position: relative;
    z-index: 10;
}
.header-logo {
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #c9a86a;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 0 12px rgba(201, 168, 106, 0.3);
    transition: color 0.2s ease;
}
.header-logo:hover { color: #e6c98a; }
.header-categories {
    display: flex;
    gap: 0.25rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
}
.header-categories::-webkit-scrollbar { display: none; }
.runtime-category {
    color: #c9a86a;
    font-size: 0.875rem;
    padding: 0.35rem 0.9rem;
    border: 1px solid #3a2525;
    border-radius: 2rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    background: rgba(26, 14, 14, 0.6);
}
.runtime-category:hover {
    border-color: #c9a86a;
    background: rgba(201, 168, 106, 0.1);
    color: #e6c98a;
}
.hero-section {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0d0a0a;
}
.hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-backdrop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    filter: blur(2px) saturate(1.2) contrast(1.1);
    transform: scale(1.02);
}
.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(0deg, rgba(13, 10, 10, 0.8) 0%, rgba(13, 10, 10, 0.4) 50%, transparent 100%);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
.hero-title {
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #f0e6d8;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(201, 168, 106, 0.2);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    line-height: 1.2;
}
.hero-tagline {
    font-size: 1.1rem;
    color: #c9a86a;
    letter-spacing: 0.3em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    font-weight: 300;
}
.movie-overview {
    padding: 2rem 1.25rem;
    background: linear-gradient(180deg, #0d0a0a 0%, #130d0d 100%);
}
.movie-layout {
    max-width: 1400px;
    margin: 0 auto;
    background: #171011;
    border: 1px solid #2a1515;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
}
.poster-shell {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0 1.5rem;
}
.poster-image {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}
.movie-info-group {
    padding: 1.5rem 1.5rem 2rem 1.5rem;
}
.movie-heading {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #2a1515;
}
.movie-title {
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: 2rem;
    color: #f0e6d8;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}
.movie-tagline {
    color: #c9a86a;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
}
.section-subtitle {
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: 1.1rem;
    color: #c9a86a;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.section-subtitle::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #3a2525, transparent);
}
.cast-panel, .synopsis-panel, .episode-status-panel, .details-panel {
    margin-bottom: 1.75rem;
}
.actor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}
.actor-chip {
    background: #1f1414;
    border: 1px solid #2a1515;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.actor-chip:hover {
    border-color: #c9a86a;
    background: #2a1a1a;
    transform: translateY(-2px);
}
.actor-name {
    font-size: 0.9rem;
    color: #e8dcd0;
    letter-spacing: 0.05em;
}
.synopsis-text {
    font-size: 0.9rem;
    color: #c8b8a8;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}
.synopsis-text:last-child { margin-bottom: 0; }
.episode-status-panel {
    background: #1f1414;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
}
.status-meta {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.status-label {
    font-size: 0.8rem;
    color: #c9a86a;
    letter-spacing: 0.1em;
}
.status-value {
    font-size: 1rem;
    color: #f0e6d8;
    font-weight: 500;
}
.episode-progress {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #a89680;
    background: #171011;
    border-radius: 2rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid #2a1515;
}
.progress-current, .progress-total {
    white-space: nowrap;
}
.progress-current { color: #c9a86a; }
.details-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.5rem 1rem;
}
.detail-row {
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px dotted #2a1515;
}
.detail-label {
    color: #a89680;
    flex-shrink: 0;
}
.detail-value {
    color: #e8dcd0;
    word-break: break-word;
}
.player-shell {
    padding: 0 1.5rem 1.5rem 1.5rem;
}
.player-shell video {
    border-radius: 0.75rem;
    background: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 168, 106, 0.1);
}
.player-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    justify-content: center;
}
.control-btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
    background: #1f1414;
    border: 1px solid #3a2525;
    border-radius: 2rem;
    color: #c8b8a8;
    transition: all 0.2s ease;
}
.control-btn:hover {
    border-color: #c9a86a;
    color: #e6c98a;
    background: #2a1a1a;
}
video.is-playing { box-shadow: 0 0 20px rgba(201, 168, 106, 0.3); }
video.is-paused { opacity: 0.9; }
video.is-muted { border: 1px solid #5a3a3a; }
video.is-theater-mode { border-radius: 0; }
video.is-lights-off { filter: brightness(0.8); }
.episodes-section, .timeline-section, .comments-section {
    padding: 2.5rem 1.25rem;
}
.episodes-section { background: #0d0a0a; }
.timeline-section { background: #130d0d; }
.comments-section { background: #0d0a0a; }
.section-title {
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: 1.8rem;
    color: #f0e6d8;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.1em;
}
.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #c9a86a, transparent);
}
.episode-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0.9rem;
}
.episode-card {
    background: #171011;
    border: 1px solid #2a1515;
    border-radius: 0.9rem;
    padding: 1rem 1.1rem;
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    transition: transform 0.2s ease, border-color 0.2s ease;
    height: auto;
    align-self: start;
}
.episode-card:hover {
    border-color: #c9a86a;
    transform: translateY(-2px);
}
.episode-number {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #c9a86a;
    line-height: 1;
    flex-shrink: 0;
    width: 2.2rem;
    text-align: center;
    padding-top: 0.2rem;
}
.episode-content {
    flex: 1;
    min-width: 0;
}
.episode-title {
    font-size: 1.05rem;
    color: #f0e6d8;
    margin-bottom: 0.4rem;
    letter-spacing: 0.05em;
}
.episode-summary {
    font-size: 0.85rem;
    color: #a89680;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
.episode-duration {
    font-size: 0.75rem;
    color: #c9a86a;
    background: rgba(201, 168, 106, 0.1);
    border-radius: 2rem;
    padding: 0.15rem 0.6rem;
    display: inline-block;
}
.timeline-scroll {
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
}
.timeline-scroll::-webkit-scrollbar { height: 6px; }
.timeline-scroll::-webkit-scrollbar-track { background: #171011; border-radius: 3px; }
.timeline-scroll::-webkit-scrollbar-thumb { background: #3a2525; border-radius: 3px; }
.timeline-track {
    display: flex;
    gap: 1.5rem;
    min-width: max-content;
    padding: 0.5rem 0.5rem 1rem 0.5rem;
    position: relative;
}
.timeline-track::before {
    content: "";
    position: absolute;
    top: 1.2rem;
    left: 0.5rem;
    right: 0.5rem;
    height: 2px;
    background: linear-gradient(90deg, #3a2525, #c9a86a, #3a2525);
    opacity: 0.5;
}
.timeline-node {
    background: #171011;
    border: 1px solid #2a1515;
    border-radius: 1rem;
    padding: 1rem;
    width: 220px;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease;
}
.timeline-node:hover {
    border-color: #c9a86a;
}
.timeline-node::before {
    content: "";
    position: absolute;
    top: 1.2rem;
    left: -0.35rem;
    width: 0.7rem;
    height: 0.7rem;
    background: #c9a86a;
    border-radius: 50%;
    border: 2px solid #0d0a0a;
    box-shadow: 0 0 8px rgba(201, 168, 106, 0.5);
}
.timeline-node:first-child::before { left: 0.5rem; }
.timecode {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    color: #c9a86a;
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}
.timeline-label {
    font-size: 0.85rem;
    color: #c8b8a8;
    line-height: 1.6;
}
.comment-masonry {
    columns: 2;
    column-gap: 1rem;
}
.comment-card {
    break-inside: avoid;
    background: #171011;
    border: 1px solid #2a1515;
    border-radius: 0.9rem;
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s ease;
}
.comment-card:hover {
    border-color: #c9a86a;
}
.comment-nickname {
    font-size: 0.9rem;
    font-weight: 600;
    color: #c9a86a;
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}
.comment-text {
    font-size: 0.875rem;
    color: #c8b8a8;
    line-height: 1.6;
}
.recommendation-region {
    padding: 2rem 1.25rem;
    background: #130d0d;
}
.recommendation-region:nth-of-type(even) {
    background: #0d0a0a;
}
.recommendation-title {
    font-family: Georgia, "Times New Roman", "Songti SC", serif;
    font-size: 1.5rem;
    color: #f0e6d8;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.08em;
}
.recommendation-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #c9a86a, transparent);
}
.recommendation-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 1fr);
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}
.recommendation-row::-webkit-scrollbar { height: 5px; }
.recommendation-row::-webkit-scrollbar-track { background: #171011; }
.recommendation-row::-webkit-scrollbar-thumb { background: #3a2525; border-radius: 3px; }
.recommendation-card {
    background: #171011;
    border: 1px solid #2a1515;
    border-radius: 0.9rem;
    padding: 0.75rem;
    display: block;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    height: auto;
    align-self: start;
}
.recommendation-card:hover {
    border-color: #c9a86a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
[data-runtime="recommendation"] img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 0.6rem;
    margin-bottom: 0.6rem;
    background: #1f1414;
}
.rec-name {
    display: block;
    font-size: 0.95rem;
    color: #f0e6d8;
    font-weight: 500;
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rec-blurb {
    display: block;
    font-size: 0.8rem;
    color: #a89680;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.site-footer {
    background: #0a0808;
    border-top: 1px solid #2a1515;
    padding: 2rem 1.25rem 1.5rem;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.footer-disclaimer {
    font-size: 0.8rem;
    color: #7a6a5a;
    line-height: 1.6;
}
.footer-nav {
    display: flex;
    gap: 1.5rem;
}
.footer-link {
    font-size: 0.875rem;
    color: #c9a86a;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.footer-link:hover {
    color: #e6c98a;
    text-decoration: underline;
}
.friend-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
}
.friend-links-label {
    color: #7a6a5a;
    white-space: nowrap;
}
.runtime-friend-link {
    color: #a89680;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.runtime-friend-link:hover {
    color: #c9a86a;
    text-decoration: underline;
}
@media (max-width: 900px) {.movie-layout {
        border-radius: 1rem;
    }
.poster-shell {
        max-width: 280px;
    }
.details-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
.comment-masonry {
        columns: 1;
    }
.episode-list {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
.recommendation-row {
        grid-auto-columns: minmax(160px, 1fr);
    }}
@media (max-width: 600px) {html { font-size: 14px; }
.site-header {
        padding: 0.6rem 0.9rem;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
.header-categories {
        width: 100%;
    }
.hero-section {
        min-height: 60vh;
    }
.hero-title {
        font-size: 1.8rem;
    }
.hero-tagline {
        font-size: 0.9rem;
        letter-spacing: 0.2em;
    }
.movie-overview, .episodes-section, .timeline-section, .comments-section, .recommendation-region {
        padding: 1.75rem 0.9rem;
    }
.poster-shell {
        padding: 0.9rem 0.9rem 0 0.9rem;
    }
.movie-info-group {
        padding: 0.9rem 0.9rem 1.5rem 0.9rem;
    }
.player-shell {
        padding: 0 0.9rem 0.9rem 0.9rem;
    }
.movie-title {
        font-size: 1.5rem;
    }
.actor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
.details-list {
        grid-template-columns: 1fr;
    }
.episode-list {
        grid-template-columns: 1fr;
    }
.episode-card {
        padding: 0.85rem 0.9rem;
    }
.timeline-track {
        gap: 1rem;
    }
.timeline-node {
        width: 180px;
        padding: 0.85rem;
    }
.comment-masonry {
        columns: 1;
    }
.recommendation-row {
        grid-auto-columns: minmax(140px, 1fr);
        gap: 0.75rem;
    }
.recommendation-title {
        font-size: 1.3rem;
    }
.footer-content {
        gap: 1rem;
    }
.footer-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
.friend-links {
        gap: 0.5rem;
    }}
@media (max-width: 400px) {.actor-grid {
        grid-template-columns: 1fr;
    }
.recommendation-row {
        grid-auto-columns: minmax(130px, 1fr);
    }
.control-btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }}

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}
