*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #2c2a33 0%, #3a3438 40%, #4a3d3a 100%);
    color: #d8d2c8;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
}
body.dim-lights {
    background: #1a181c;
}
body.dim-lights .hero-player {
    position: relative;
}
body.dim-lights .hero-player::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.7) 100%);
    z-index: 10;
    pointer-events: none;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: rgba(30, 28, 32, 0.85);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 235, 205, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-name {
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #e8d5b7;
    transition: color 0.3s ease;
}
.site-name:hover {
    color: #c9a87c;
}
header [data-contract="categories"] {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
header [data-contract="categories"]::-webkit-scrollbar {
    display: none;
}
.runtime-category {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
    color: #a8a09a;
    border: 1px solid transparent;
    border-radius: 999px;
    white-space: nowrap;
    transition: all 0.3s ease;
    line-height: 1.4;
}
.runtime-category:hover, .runtime-category:focus-visible {
    color: #e8d5b7;
    border-color: rgba(232, 213, 183, 0.25);
    background: rgba(232, 213, 183, 0.06);
}
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.25rem 2rem;
    position: relative;
    z-index: 1;
}
.hero-player {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(20, 18, 22, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255, 235, 205, 0.06);
    backdrop-filter: blur(4px);
}
.player-shell {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.player-shell video {
    display: block;
    background: #111;
}
.player-shell video:fullscreen {
    object-fit: contain;
}
.theater-mode .player-shell {
    max-width: 100%;
    border-radius: 0;
}
.theater-mode .player-shell video {
    aspect-ratio: 21 / 9 !important;
}
.player-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem;
    padding: 0.4rem 0.5rem;
    background: rgba(0, 0, 0, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.player-controls button {
    font-size: 0.7rem;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    color: #9a918a;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.25s ease;
    white-space: nowrap;
}
.player-controls button:hover {
    color: #e8d5b7;
    background: rgba(232, 213, 183, 0.08);
}
.hero-tagline {
    margin-top: 1rem;
    text-align: center;
    padding: 0.25rem 0 0.5rem;
}
.main-tagline {
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: #e8d5b7;
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.movie-overview {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(28, 26, 30, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(255, 235, 205, 0.08);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}
.poster-wrapper {
    align-self: start;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}
.main-poster {
    aspect-ratio: 2 / 3;
    width: 100%;
    object-fit: cover;
    background: #2a2628;
}
.movie-info-group {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.movie-title {
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #f0e3cf;
    letter-spacing: 0.04em;
    line-height: 1.3;
}
.movie-tagline {
    font-size: 0.95rem;
    color: #a89e94;
    font-style: italic;
    letter-spacing: 0.03em;
    margin-top: -0.5rem;
}
.section-heading {
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #c9b696;
    letter-spacing: 0.06em;
    border-left: 3px solid #a8895f;
    padding-left: 0.6rem;
    margin-bottom: 0.5rem;
}
.synopsis-block {
    border-top: 1px solid rgba(255, 235, 205, 0.05);
    padding-top: 0.75rem;
}
.synopsis-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 1rem;
}
.synopsis-para {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #b8b0a6;
    text-align: justify;
}
.details-block {
    border-top: 1px solid rgba(255, 235, 205, 0.05);
    padding-top: 0.75rem;
}
.detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.detail-table th, .detail-table td {
    padding: 0.25rem 0.4rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 235, 205, 0.04);
}
.detail-table th {
    color: #a8895f;
    font-weight: 500;
    width: 30%;
    white-space: nowrap;
}
.detail-table td {
    color: #cbc2b6;
}
.cast-block {
    border-top: 1px solid rgba(255, 235, 205, 0.05);
    padding-top: 0.75rem;
}
.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 0.6rem;
}
.cast-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
}
.avatar-round {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, #6b5a4e, #51443c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Songti SC", "STSong", serif;
    font-size: 1.1rem;
    color: #f0e3cf;
    border: 2px solid rgba(232, 213, 183, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.cast-name {
    font-size: 0.75rem;
    color: #b8b0a6;
    line-height: 1.3;
}
.episode-status {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-top: 1px solid rgba(255, 235, 205, 0.05);
    padding-top: 0.75rem;
    font-size: 0.85rem;
}
.total-episodes {
    background: rgba(168, 137, 95, 0.15);
    color: #c9b696;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-weight: 500;
}
.current-episode {
    color: #a89e94;
}
.timeline-section {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(28, 26, 30, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255, 235, 205, 0.06);
}
.timeline-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 1.2rem;
    max-width: 640px;
    margin: 0 auto;
}
.timeline-vertical::before {
    content: "";
    position: absolute;
    left: 0.35rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 2px;
    background: linear-gradient(to bottom, rgba(168, 137, 95, 0.6), rgba(168, 137, 95, 0.15));
}
.timeline-item {
    position: relative;
    padding: 0.4rem 0 0.4rem 1rem;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.05rem;
    top: 0.85rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #a8895f;
    border: 2px solid rgba(40, 38, 42, 0.9);
    box-shadow: 0 0 6px rgba(168, 137, 95, 0.4);
}
.timecode {
    font-family: "Songti SC", "STSong", serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c9b696;
    display: block;
    margin-bottom: 0.1rem;
}
.timeline-label {
    font-size: 0.85rem;
    color: #b0a89e;
    line-height: 1.5;
}
.episodes-section {
    margin-bottom: 1.5rem;
    padding: 1.25rem 0;
}
.episode-card-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 260px);
    gap: 0.8rem;
    overflow-x: auto;
    padding: 0.5rem 0.25rem 0.5rem 0.25rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 137, 95, 0.3) transparent;
}
.episode-card-row::-webkit-scrollbar {
    height: 6px;
}
.episode-card-row::-webkit-scrollbar-track {
    background: transparent;
}
.episode-card-row::-webkit-scrollbar-thumb {
    background: rgba(168, 137, 95, 0.3);
    border-radius: 3px;
}
.episode-card {
    scroll-snap-align: start;
    background: rgba(40, 38, 42, 0.7);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255, 235, 205, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: border-color 0.3s ease, transform 0.2s ease;
}
.episode-card:hover {
    border-color: rgba(168, 137, 95, 0.25);
    transform: translateY(-2px);
}
.ep-number {
    font-family: "Songti SC", "STSong", serif;
    font-size: 0.75rem;
    color: #a8895f;
    font-weight: 600;
}
.ep-title {
    font-family: "Songti SC", "STSong", serif;
    font-size: 1rem;
    color: #e8d5b7;
    font-weight: 600;
    line-height: 1.3;
}
.ep-summary {
    font-size: 0.78rem;
    color: #a8a09a;
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ep-duration {
    font-size: 0.72rem;
    color: #8a827a;
    border-top: 1px solid rgba(255, 235, 205, 0.05);
    padding-top: 0.3rem;
    margin-top: auto;
}
.comments-section {
    margin-bottom: 1.5rem;
    padding: 1.25rem 0;
}
.comments-masonry {
    columns: 2;
    column-gap: 0.8rem;
}
.comment-card {
    break-inside: avoid;
    margin-bottom: 0.8rem;
    background: rgba(40, 38, 42, 0.65);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255, 235, 205, 0.05);
    display: inline-block;
    width: 100%;
}
.comment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}
.avatar-small {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(145deg, #5e534a, #473f3a);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Songti SC", "STSong", serif;
    font-size: 0.8rem;
    color: #e0d3c0;
    border: 1px solid rgba(232, 213, 183, 0.15);
    flex-shrink: 0;
}
.comment-nickname {
    font-size: 0.83rem;
    font-weight: 500;
    color: #c9b696;
}
.comment-text {
    font-size: 0.82rem;
    color: #b0a89e;
    line-height: 1.6;
}
.recommendation-region {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}
.recommendation-title {
    font-family: "Songti SC", "STSong", serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #c9b696;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
    border-left: 3px solid #a8895f;
    padding-left: 0.6rem;
}
.recommendation-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.7rem;
}
a[data-runtime="recommendation"] {
    display: flex;
    flex-direction: column;
    background: rgba(40, 38, 42, 0.6);
    border-radius: 10px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 235, 205, 0.04);
    transition: all 0.3s ease;
    gap: 0.3rem;
}
a[data-runtime="recommendation"] img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    background: #2a2628;
}
a[data-runtime="recommendation"] [data-runtime="name"] {
    font-size: 0.85rem;
    font-weight: 500;
    color: #cfc4b4;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
    font-size: 0.75rem;
    color: #9a918a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
a[data-runtime="recommendation"]:hover {
    border-color: rgba(168, 137, 95, 0.3);
    background: rgba(48, 45, 50, 0.7);
    transform: translateY(-2px);
}
.cta-footer {
    text-align: center;
    padding: 1.5rem 0 0.5rem;
}
.cta-button {
    padding: 0.5rem 2rem;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    color: #8a827a;
    background: rgba(168, 137, 95, 0.08);
    border: 1px solid rgba(168, 137, 95, 0.2);
    border-radius: 999px;
    transition: all 0.3s ease;
}
.cta-button:hover {
    color: #b0a89e;
    background: rgba(168, 137, 95, 0.14);
    border-color: rgba(168, 137, 95, 0.35);
}
footer {
    background: rgba(20, 18, 22, 0.85);
    border-top: 1px solid rgba(255, 235, 205, 0.05);
    padding: 1.25rem 1.5rem 1.5rem;
    margin-top: 1rem;
    backdrop-filter: blur(4px);
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-content [data-contract="disclaimer"] {
    font-size: 0.75rem;
    color: #6a645e;
    line-height: 1.6;
    text-align: justify;
}
footer nav[data-contract="friend-links"] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.6rem;
    align-items: center;
    font-size: 0.8rem;
}
.friend-label {
    color: #7a726a;
    font-size: 0.78rem;
    margin-right: 0.3rem;
}
.runtime-friend-link {
    color: #6a645e;
    font-size: 0.78rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.runtime-friend-link:hover, .runtime-friend-link:focus-visible {
    color: #a8895f;
}
.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-top: 1px solid rgba(255, 235, 205, 0.05);
    padding-top: 0.75rem;
}
.footer-links a {
    font-size: 0.8rem;
    color: #6a645e;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #c9b696;
}
.player .click, .player .play, .player .progress, .player .volume, .player .mute, .player .speed, .player .pip, .player .fullscreen, .player .theater, .player .light {
    
}
@media (max-width: 900px) {.movie-overview {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
.poster-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }
.main-poster {
        aspect-ratio: 2 / 3;
    }
.synopsis-columns {
        grid-template-columns: 1fr;
    }
.comments-masonry {
        columns: 1;
    }
.recommendation-row {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
.episode-card-row {
        grid-auto-columns: minmax(180px, 220px);
    }
.main-tagline {
        font-size: 1.3rem;
    }}
@media (max-width: 600px) {header {
        padding: 0.5rem 0.75rem;
        align-items: flex-start;
        flex-direction: column;
        gap: 0.4rem;
    }
header [data-contract="categories"] {
        width: 100%;
        padding-bottom: 0.2rem;
    }
.site-name {
        font-size: 1.1rem;
    }
main {
        padding: 0.75rem 0.75rem 1.5rem;
    }
.hero-player {
        padding: 0.5rem;
        border-radius: 12px;
    }
.player-shell {
        border-radius: 8px;
    }
.player-controls button {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }
.main-tagline {
        font-size: 1.1rem;
        letter-spacing: 0.06em;
    }
.movie-overview {
        padding: 0.75rem;
        border-radius: 12px;
    }
.movie-title {
        font-size: 1.3rem;
    }
.cast-grid {
        grid-template-columns: repeat(3, 1fr);
    }
.episode-card-row {
        grid-auto-columns: minmax(160px, 200px);
        gap: 0.6rem;
        margin-left: -0.25rem;
        margin-right: -0.25rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
.recommendation-row {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.5rem;
    }
.recommendation-region {
        padding: 0.75rem 0;
    }
a[data-runtime="recommendation"] {
        padding: 0.4rem;
    }
.timeline-section {
        padding: 1rem;
    }
.timeline-vertical {
        padding-left: 1rem;
    }
.timeline-item::before {
        left: -0.95rem;
    }
.footer-content {
        gap: 0.6rem;
    }
footer nav[data-contract="friend-links"] {
        gap: 0.15rem 0.4rem;
    }
.cta-button {
        padding: 0.4rem 1.5rem;
        font-size: 0.85rem;
    }}
@media (max-width: 400px) {.cast-grid {
        grid-template-columns: repeat(2, 1fr);
    }
.recommendation-row {
        grid-template-columns: repeat(2, 1fr);
    }
.episode-card-row {
        grid-auto-columns: minmax(150px, 180px);
    }
.player-controls {
        gap: 0.1rem;
    }
.player-controls button {
        font-size: 0.55rem;
        padding: 0.2rem 0.35rem;
    }}
@media (min-width: 601px) {.player-shell {
        min-width: 480px;
    }}
:focus-visible {
    outline: 2px solid #a8895f;
    outline-offset: 2px;
    border-radius: 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}
