*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Songti SC", "SimSun", serif;
    background: #0b0e1a;
    color: #f5ecd7;
    line-height: 1.6;
    min-height: 100vh;
}
img {
    max-width: 100%;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
a.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #f5ecd7;
    color: #0b0e1a;
    padding: 0.5rem 1rem;
    z-index: 1000;
    font-size: 0.9rem;
}
a.skip-link:focus {
    left: 0;
    color: #0b0e1a;
    text-decoration: underline;
}
.site-header {
    background: linear-gradient(180deg, #0f1322 0%, #0b0e1a 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.75rem 1.25rem;
}
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}
a[data-contract="site-name"] {
    font-family: "KaiTi", "STKaiti", serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #d4af37;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
    white-space: nowrap;
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus {
    color: #f5ecd7;
    text-decoration: underline;
}
.categories-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    align-items: center;
}
a.runtime-category {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    color: #c8bfa7;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}
a.runtime-category:hover, a.runtime-category:focus {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    text-decoration: underline;
}
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem;
}
.section-title {
    font-family: "KaiTi", "STKaiti", serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #d4af37;
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
}
.section-title::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 2.5rem;
    height: 1px;
    background: #d4af37;
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}
.movie-overview {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
    background: linear-gradient(145deg, rgba(15, 19, 34, 0.95), rgba(11, 14, 26, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}
.movie-overview::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 0%, rgba(212, 175, 55, 0.05), transparent 50%),
                radial-gradient(ellipse at 80% 100%, rgba(100, 80, 160, 0.08), transparent 50%);
    pointer-events: none;
    z-index: 1;
}
.overview-poster-wrapper {
    position: relative;
    z-index: 2;
}
.main-poster-img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.15);
}
.overview-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}
.movie-title {
    font-family: "KaiTi", "STKaiti", serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #f5ecd7;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}
.movie-tagline {
    font-size: 0.95rem;
    color: #c8bfa7;
    font-style: italic;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.cast-panel {
    margin-bottom: 0.75rem;
}
.cast-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}
.cast-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: rgba(24, 28, 48, 0.7);
    border-left: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 0 4px 4px 0;
}
.actor-name {
    font-size: 1.05rem;
    color: #f5ecd7;
    font-weight: 600;
}
.actor-role {
    font-size: 0.85rem;
    color: #aaa17d;
}
.synopsis-para {
    font-size: 0.95rem;
    color: #d8d0b8;
    margin-bottom: 0.5rem;
    text-align: justify;
    letter-spacing: 0.02em;
}
.episode-status-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    align-items: center;
    padding: 0.6rem 0.9rem;
    background: rgba(120, 90, 40, 0.15);
    border-radius: 4px;
}
.episode-current {
    color: #d4af37;
    font-weight: 600;
    font-size: 1rem;
}
.current-ep-num {
    color: #f5ecd7;
    font-size: 1.2rem;
    font-weight: 700;
}
.episode-total, .episode-frequency {
    font-size: 0.85rem;
    color: #c8bfa7;
    letter-spacing: 0.05em;
}
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.4rem 1rem;
}
.detail-item {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
}
.detail-item dt {
    color: #aaa17d;
    white-space: nowrap;
}
.detail-item dd {
    color: #e8dfc8;
}
.player-wrapper {
    width: 100%;
    margin-top: 0.25rem;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    aspect-ratio: 16 / 9;
    min-width: 480px;
}
.player-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}
.player-controls {
    display: none;
    
}
.timeline-section {
    margin-bottom: 2.5rem;
    padding: 1.25rem;
    background: linear-gradient(145deg, rgba(15, 19, 34, 0.9), rgba(11, 14, 26, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.1);
}
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
    padding-left: 1.5rem;
}
.timeline-container::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.7), rgba(212, 175, 55, 0.2));
}
.timeline-event {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0.75rem;
    background: rgba(24, 28, 48, 0.6);
    border-radius: 4px;
    border-left: 2px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}
.timeline-event:hover {
    border-left-color: #d4af37;
    background: rgba(24, 28, 48, 0.9);
}
.timecode {
    font-size: 0.8rem;
    color: #d4af37;
    font-weight: 700;
    white-space: nowrap;
    min-width: 3.5rem;
}
.event-label {
    font-size: 0.9rem;
    color: #d8d0b8;
}
.episodes-section {
    margin-bottom: 2.5rem;
    padding: 1.25rem;
    background: linear-gradient(145deg, rgba(15, 19, 34, 0.9), rgba(11, 14, 26, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.1);
}
.episodes-scroller {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
}
.episode-card {
    padding: 0.75rem;
    background: rgba(24, 28, 48, 0.6);
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.episode-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
}
.episode-card.current-episode {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.12);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}
.ep-number {
    display: inline-block;
    width: 1.8rem;
    height: 1.8rem;
    line-height: 1.8rem;
    text-align: center;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    font-weight: 700;
    border-radius: 2px;
    font-size: 0.9rem;
}
.episode-card.current-episode .ep-number {
    background: #d4af37;
    color: #0b0e1a;
}
.ep-title {
    font-size: 1rem;
    color: #f5ecd7;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.ep-summary {
    font-size: 0.85rem;
    color: #aaa17d;
    flex-grow: 1;
}
.ep-duration {
    font-size: 0.75rem;
    color: #888;
    border-top: 1px dashed rgba(212, 175, 55, 0.2);
    padding-top: 0.35rem;
}
.comments-section {
    margin-bottom: 2.5rem;
    padding: 1.25rem;
    background: linear-gradient(145deg, rgba(15, 19, 34, 0.9), rgba(11, 14, 26, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.1);
}
.comments-masonry {
    column-count: 3;
    column-gap: 1rem;
}
.comment-card {
    break-inside: avoid;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(24, 28, 48, 0.7);
    border-radius: 8px;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.1);
}
.comment-card::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 1.5rem;
    width: 12px;
    height: 12px;
    background: rgba(24, 28, 48, 0.7);
    transform: rotate(45deg);
    border-right: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
.comment-text {
    font-size: 0.9rem;
    color: #d8d0b8;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
.comment-author {
    font-size: 0.8rem;
    color: #d4af37;
    display: block;
    text-align: right;
}
.recommendation-region {
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: linear-gradient(145deg, rgba(15, 19, 34, 0.8), rgba(11, 14, 26, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.1);
}
.rec-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}
a.rec-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.5rem;
    background: rgba(24, 28, 48, 0.6);
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    color: #d8d0b8;
    text-decoration: none;
}
a.rec-item:hover, a.rec-item:focus {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    color: #f5ecd7;
    text-decoration: none;
}
[data-runtime="recommendation"] img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 2px;
    background: #1a1f33;
}
[data-runtime="name"] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f5ecd7;
}
[data-runtime="blurb"] {
    font-size: 0.8rem;
    color: #aaa17d;
    line-height: 1.4;
}
.site-footer {
    background: linear-gradient(180deg, #0b0e1a, #070912);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 1.5rem 1.25rem 2rem;
}
.footer-contract {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 1rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
    color: #aaa17d;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 2px;
    font-size: 0.8rem;
    transition: color 0.2s, border-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: #d4af37;
    border-color: rgba(212, 175, 55, 0.5);
    text-decoration: underline;
}
.friend-links {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
}
.friend-label {
    font-size: 0.85rem;
    color: #d4af37;
    letter-spacing: 0.1em;
}
a.runtime-friend-link {
    font-size: 0.8rem;
    color: #8a8a8a;
    text-decoration: none;
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
    transition: color 0.2s, background 0.2s;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.08);
    text-decoration: underline;
}
.player-wrapper.theater-mode {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: #000;
    border: none;
    min-width: 100vw;
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.theater-mode video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.player-wrapper.lights-dim {
    background: #000;
}
.lights-dim video {
    opacity: 0.8;
}
@media (max-width: 1024px) {.movie-overview {
        grid-template-columns: 220px 1fr;
    }
.comments-masonry {
        column-count: 2;
    }}
@media (max-width: 768px) {.header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
.movie-overview {
        grid-template-columns: 1fr;
    }
.overview-poster-wrapper {
        max-width: 240px;
        margin: 0 auto;
    }
.player-wrapper {
        min-width: 0;
        width: 100%;
    }
.comments-masonry {
        column-count: 1;
    }
.episodes-scroller {
        grid-template-columns: 1fr;
    }
.rec-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }}
@media (max-width: 480px) {.main-content {
        padding: 0.75rem;
    }
.section-title {
        font-size: 1.25rem;
    }
.movie-title {
        font-size: 1.5rem;
    }
.cast-list {
        flex-direction: column;
        gap: 0.5rem;
    }
.rec-list {
        grid-template-columns: 1fr 1fr;
    }
.footer-contract {
        flex-direction: column;
        align-items: flex-start;
    }}
a.skip-link:focus {
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
}
:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

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}
