*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #0a0e1a;
    color: #e8e8ef;
    line-height: 1.5;
    font-weight: 300;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}
a {
    color: inherit;
    text-decoration: none;
}
ul, ol {
    list-style: none;
}
img, video {
    display: block;
    max-width: 100%;
}
button, input {
    font: inherit;
    border: none;
    background: none;
    color: inherit;
}
.header-lower {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(180deg, #0d1220 0%, #0a0e1a 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(6px);
}
.site-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 0.08em;
    white-space: nowrap;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 0.5rem;
    border-right: 1px solid rgba(255, 215, 0, 0.3);
}
a.site-brand:hover {
    opacity: 0.85;
}
[data-contract="categories"] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.1rem;
    flex: 1;
    min-width: 0;
}
.runtime-category {
    font-size: 0.75rem;
    font-weight: 400;
    color: #b8b8c8;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.02em;
}
.runtime-category:hover, .runtime-category:focus-visible {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.08);
    outline: none;
}
.hero-cinema {
    background: linear-gradient(180deg, #0d1220 0%, #0a0e1a 60%, #060810 100%);
    padding: 1.2rem 1.2rem 1.8rem;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.2rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 0, 128, 0.3);
}
.hero-cinema::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #ff0080 30%, #ffd700 70%, transparent 100%);
}
.hero-media-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 0.8rem;
    align-items: start;
    min-width: 0;
}
.player-frame {
    position: relative;
    background: #000;
    border: 1px solid rgba(255, 0, 128, 0.25);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.1), 0 0 40px rgba(255, 215, 0, 0.05);
    min-width: 0;
    width: 100%;
}
.player-frame video {
    display: block;
    background: #000;
}
.player-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.5rem;
    background: rgba(10, 14, 26, 0.9);
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(4px);
}
.player-controls button {
    font-size: 0.7rem;
    color: #b8b8c8;
    padding: 0.3rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.03);
}
.player-controls button:hover {
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.08);
}
.player-controls input[type="range"] {
    flex: 1;
    min-width: 60px;
    height: 4px;
    cursor: pointer;
    background: #333;
    border-radius: 2px;
    accent-color: #ffd700;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background: #ffd700;
    border-radius: 50%;
}
.player-controls input[type="range"]::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: #ffd700;
    border-radius: 50%;
}
.poster-strip {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.2rem;
}
.main-poster-img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.movie-info-detail {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-width: 0;
}
.movie-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(255, 0, 128, 0.3);
}
.tagline {
    font-size: 0.95rem;
    color: #ffd700;
    font-style: italic;
    letter-spacing: 0.05em;
    border-left: 3px solid #ff0080;
    padding-left: 0.7rem;
    margin-top: -0.4rem;
}
.block-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid rgba(255, 0, 128, 0.4);
    margin-bottom: 0.5rem;
    position: relative;
}
.block-heading::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 24px;
    height: 2px;
    background: #ffd700;
}
.synopsis-block {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.synopsis-para {
    font-size: 0.85rem;
    color: #c8c8d8;
    line-height: 1.6;
}
.cast-grid {
    display: flex;
    flex-direction: column;
}
.actor-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
}
.actor-item {
    font-size: 0.85rem;
    color: #e0e0ef;
    background: rgba(255, 255, 255, 0.04);
    border-left: 2px solid #ff0080;
    padding: 0.3rem 0.6rem;
    transition: background 0.2s;
}
.actor-item:hover {
    background: rgba(255, 0, 128, 0.08);
}
.episode-status-chip {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 0.4rem 0.8rem;
    width: fit-content;
    margin-top: -0.2rem;
}
.status-label {
    font-size: 0.8rem;
    color: #b8b8c8;
}
.episode-current {
    font-size: 1rem;
    font-weight: 700;
    color: #ffd700;
}
.total-episodes {
    font-size: 0.8rem;
    color: #8888a0;
}
.meta-detail-grid {
    display: flex;
    flex-direction: column;
}
.detail-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem 1rem;
}
.detail-row {
    display: flex;
    gap: 0.5rem;
    font-size: 0.8rem;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.detail-row dt {
    color: #8888a0;
    min-width: 3.5em;
    font-weight: 400;
}
.detail-row dd {
    color: #e0e0ef;
    font-weight: 400;
}
.timeline-module {
    background: #0a0e1a;
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 0, 128, 0.15);
}
.timeline-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    counter-reset: timeline;
}
.timeline-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 0.8rem;
    position: relative;
    transition: border-color 0.2s;
}
.timeline-item::before {
    content: counter(timeline);
    counter-increment: timeline;
    position: absolute;
    top: 0.4rem;
    right: 0.6rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255, 0, 128, 0.15);
}
.timeline-item:hover {
    border-color: rgba(255, 215, 0, 0.4);
}
.timecode {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffd700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
}
.timeline-label {
    font-size: 0.8rem;
    color: #c8c8d8;
}
.episode-horizontal {
    background: #080b14;
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 0, 128, 0.15);
}
.episode-card-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 1fr);
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #ff0080 #1a1e2e;
}
.episode-card-strip::-webkit-scrollbar {
    height: 4px;
}
.episode-card-strip::-webkit-scrollbar-track {
    background: #1a1e2e;
}
.episode-card-strip::-webkit-scrollbar-thumb {
    background: #ff0080;
}
.episode-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 0, 128, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-height: 100%;
    transition: transform 0.2s, border-color 0.2s;
}
.episode-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 215, 0, 0.5);
}
.episode-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px #ff0080;
    line-height: 1;
}
.episode-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}
.episode-summary {
    font-size: 0.78rem;
    color: #a8a8c0;
    line-height: 1.5;
    flex: 1;
}
.episode-duration {
    font-size: 0.75rem;
    color: #ffd700;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.3rem;
}
.comment-wall {
    background: #0a0e1a;
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 0, 128, 0.15);
}
.comment-masonry {
    columns: 2;
    column-gap: 0.8rem;
}
.comment-card {
    break-inside: avoid;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem;
    border-top: 2px solid #ff0080;
    transition: border-color 0.2s;
}
.comment-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
}
.comment-nickname {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.4rem;
}
.comment-text {
    font-size: 0.82rem;
    color: #c8c8d8;
    line-height: 1.6;
    font-style: normal;
}
.recommendation-panel {
    background: #080b14;
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 0, 128, 0.15);
}
.rec-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid rgba(255, 0, 128, 0.4);
    margin-bottom: 0.8rem;
    position: relative;
}
.rec-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 24px;
    height: 2px;
    background: #ffd700;
}
.rec-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.8rem;
}
a[data-runtime="recommendation"] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    color: inherit;
}
a[data-runtime="recommendation"]:hover {
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.05);
    transform: translateY(-2px);
}
a[data-runtime="recommendation"] img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #1a1e2e;
}
a[data-runtime="recommendation"] span[data-runtime="name"] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e0e0ef;
    line-height: 1.3;
}
a[data-runtime="recommendation"] span[data-runtime="blurb"] {
    font-size: 0.72rem;
    color: #8888a0;
    line-height: 1.4;
}
footer {
    background: #060810;
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    padding: 1.2rem;
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.footer-links {
    display: flex;
    gap: 1rem;
}
.footer-links a {
    font-size: 0.8rem;
    color: #b8b8c8;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #ffd700;
}
.friend-link-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.8rem;
}
.friend-label {
    font-size: 0.75rem;
    color: #ffd700;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.runtime-friend-link {
    font-size: 0.75rem;
    color: #8888a0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
}
.runtime-friend-link:hover {
    color: #ffd700;
    border-color: #ffd700;
}
.disclaimer-text {
    font-size: 0.7rem;
    color: #555570;
    line-height: 1.5;
    margin-top: 0.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.6rem;
}
.player-frame.theater-mode {
    max-width: 100%;
    width: 100%;
}
.player-frame.theater-mode video {
    aspect-ratio: 21 / 9;
}
.hero-cinema.light-off {
    background: #000;
}
.hero-cinema.light-off .movie-info-detail, .hero-cinema.light-off .poster-strip {
    opacity: 0.3;
    transition: opacity 0.3s;
}
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: #333;
    border-radius: 2px;
}
input[type="range"]:focus {
    outline: none;
}
@media (max-width: 1100px) {.hero-cinema {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
.hero-media-panel {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
    }}
@media (max-width: 900px) {.timeline-list {
        grid-template-columns: repeat(2, 1fr);
    }
.comment-masonry {
        columns: 1;
    }
.hero-media-panel {
        grid-template-columns: 1fr;
    }
.poster-strip {
        flex-direction: row;
        overflow-x: auto;
    }
.main-poster-img {
        max-width: 180px;
        flex-shrink: 0;
    }
.detail-list {
        grid-template-columns: 1fr;
    }}
@media (max-width: 700px) {.header-lower {
        padding: 0.6rem 0.8rem;
    }
.site-brand {
        font-size: 1rem;
    }
.movie-title {
        font-size: 1.4rem;
    }
.actor-list {
        grid-template-columns: 1fr;
    }
.timeline-list {
        grid-template-columns: 1fr;
    }
.episode-card-strip {
        grid-auto-columns: minmax(160px, 80%);
    }
.rec-row {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
.player-controls {
        gap: 0.2rem;
    }
.player-controls button {
        padding: 0.2rem 0.3rem;
        font-size: 0.65rem;
    }}
@media (max-width: 480px) {.hero-media-panel, .hero-cinema {
        min-width: 0;
    }
.player-frame {
        min-width: 0;
        width: 100%;
    }
.player-frame video {
        width: 100%;
    }
.rec-row {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 0.5rem;
    }
.block-heading {
        font-size: 1rem;
    }
.synopsis-para {
        font-size: 0.8rem;
    }
.episode-card-strip {
        grid-auto-columns: minmax(140px, 75%);
    }}
main {
    overflow-x: hidden;
}
::selection {
    background: rgba(255, 0, 128, 0.3);
    color: #ffffff;
}
a:focus-visible, button:focus-visible {
    outline: 2px solid #ffd700;
    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}
