*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background: #05070d;
    color: #cbd2e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, video {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
button, input {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
}
button {
    cursor: pointer;
}
header {
    background: rgba(5, 7, 13, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-shell {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
a[data-contract="site-name"] {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #00e5ff, #7b2ff7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    white-space: nowrap;
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}
.categories-container {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}
.categories-container .runtime-category {
    color: #8a93a8;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.categories-container .runtime-category:hover, .categories-container .runtime-category:focus-visible {
    color: #00e5ff;
    border-color: rgba(0, 229, 255, 0.4);
    background: rgba(0, 229, 255, 0.08);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}
main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    overflow: hidden;
}
.movie-overview {
    display: grid;
    grid-template-columns: 320px 1fr;
    grid-template-rows: auto auto auto auto auto;
    grid-template-areas:
        "poster heading"
        "poster cast"
        "poster synopsis"
        "poster status"
        "player details";
    gap: 1.25rem 2.5rem;
    padding: 2.5rem 0;
    margin-bottom: 1rem;
    position: relative;
}
.movie-overview::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.04), rgba(123, 47, 247, 0.02));
    border-radius: 24px;
    border: 1px solid rgba(0, 229, 255, 0.08);
    pointer-events: none;
}
.poster-wrapper {
    grid-area: poster;
    position: relative;
    align-self: start;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.15), 0 0 80px rgba(123, 47, 247, 0.1);
}
.main-poster {
    aspect-ratio: 2 / 3;
    width: 100%;
    object-fit: cover;
    background: #0a0f1a;
}
.poster-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, rgba(0, 229, 255, 0.15) 0%, transparent 40%, rgba(123, 47, 247, 0.1) 100%);
    pointer-events: none;
}
.overview-heading {
    grid-area: heading;
    align-self: end;
    padding-top: 1rem;
}
.movie-title {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 900;
    color: #f0f4ff;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.4), 0 0 60px rgba(123, 47, 247, 0.2);
}
.tagline {
    margin-top: 0.4rem;
    font-size: 1rem;
    color: #00e5ff;
    letter-spacing: 0.15em;
    font-weight: 500;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}
.cast-section {
    grid-area: cast;
    align-self: start;
}
.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e8ecf5;
    margin-bottom: 0.75rem;
    letter-spacing: 0.12em;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}
.section-title::before {
    content: "";
    width: 3px;
    height: 1.1em;
    background: linear-gradient(180deg, #00e5ff, #7b2ff7);
    border-radius: 2px;
}
.cast-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.75rem 1rem;
}
.cast-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-align: center;
    font-size: 0.9rem;
    color: #aeb6c8;
    font-weight: 500;
}
.actor-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a2a40, #0d1424);
    border: 2px solid rgba(0, 229, 255, 0.4);
    position: relative;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2), inset 0 0 15px rgba(123, 47, 247, 0.15);
}
.actor-avatar::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -65%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.6);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.9);
}
.actor-avatar::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 16px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}
.synopsis-section {
    grid-area: synopsis;
    align-self: start;
}
.synopsis-paragraph {
    font-size: 0.95rem;
    color: #9aa4ba;
    margin-bottom: 0.6rem;
    line-height: 1.75;
    max-width: 65ch;
}
.episode-status-section {
    grid-area: status;
    align-self: start;
}
.status-text {
    font-size: 0.9rem;
    color: #7fd4e8;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.progress-bar {
    width: 100%;
    max-width: 420px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #00e5ff, #7b2ff7);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}
.player-wrapper {
    grid-area: player;
    width: 100%;
    min-width: 0;
    background: #0a0f1a;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.12);
    position: relative;
    transition: all 0.4s ease;
}
.player-wrapper video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}
.player-wrapper.theater-mode {
    position: fixed;
    inset: 0;
    z-index: 200;
    border-radius: 0;
    background: #000;
}
.player-wrapper.theater-mode video {
    aspect-ratio: 16 / 9;
    height: 100vh;
    object-fit: contain;
    background: #000;
}
.player-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    padding: 0.6rem 0.8rem;
    background: rgba(10, 15, 26, 0.95);
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}
.player-controls button {
    color: #9aa4ba;
    font-size: 0.8rem;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.player-controls button:hover {
    color: #00e5ff;
    border-color: rgba(0, 229, 255, 0.4);
    background: rgba(0, 229, 255, 0.08);
}
.player-controls input[type="range"] {
    flex: 1;
    min-width: 80px;
    height: 4px;
    background: #1a2a40;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00e5ff;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
    cursor: pointer;
}
.player-controls input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00e5ff;
    border: none;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
    cursor: pointer;
}
.player-controls input[type="range"]::-moz-range-track {
    height: 4px;
    background: #1a2a40;
    border-radius: 4px;
}
.lights-off .movie-overview {
    opacity: 0.15;
    filter: brightness(0.4);
}
.lights-off .player-wrapper {
    opacity: 1;
    filter: none;
    z-index: 150;
}
.details-section {
    grid-area: details;
    align-self: start;
    margin-top: 0.5rem;
}
.details-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 1.5rem;
}
.detail-item {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.5;
}
.detail-item dt {
    color: #6b7688;
    min-width: 4em;
    font-weight: 400;
}
.detail-item dd {
    color: #cbd2e0;
    font-weight: 500;
    margin: 0;
}
.timeline-section {
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 229, 255, 0.08);
}
.timeline-scroll {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 229, 255, 0.3) transparent;
}
.timeline-scroll::-webkit-scrollbar {
    height: 4px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.3);
    border-radius: 4px;
}
.timeline-track {
    display: flex;
    gap: 1.5rem;
    min-width: max-content;
    padding: 0.5rem 0;
    position: relative;
}
.timeline-track::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.3), rgba(123, 47, 247, 0.3), transparent);
}
.timeline-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.2rem;
    background: rgba(10, 15, 26, 0.7);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 12px;
    min-width: 220px;
    position: relative;
    transition: border-color 0.3s;
}
.timeline-item::before {
    content: "";
    position: absolute;
    top: -0.3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
}
.timeline-item:hover {
    border-color: rgba(0, 229, 255, 0.5);
}
.timecode {
    font-size: 0.8rem;
    font-weight: 700;
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}
.timeline-label {
    font-size: 0.85rem;
    color: #aeb6c8;
    line-height: 1.5;
}
.episodes-section {
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 229, 255, 0.08);
}
.episode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.episode-card {
    padding: 1rem 1.2rem;
    background: rgba(10, 15, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.episode-card:hover {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(123, 47, 247, 0.06));
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-2px);
}
.episode-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: #00e5ff;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}
.episode-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #e8ecf5;
    letter-spacing: 0.05em;
}
.episode-summary {
    font-size: 0.85rem;
    color: #8a93a8;
    line-height: 1.6;
}
.episode-duration {
    font-size: 0.75rem;
    color: #5a6478;
    font-weight: 500;
}
.comments-section {
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 229, 255, 0.08);
}
.comments-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    align-items: start;
}
.comment-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: border-color 0.3s, background 0.3s;
}
.comment-card:hover {
    border-color: rgba(0, 229, 255, 0.25);
    background: rgba(0, 229, 255, 0.04);
}
.comment-text {
    font-size: 0.9rem;
    color: #b8c0d0;
    line-height: 1.6;
    margin: 0;
}
.comment-author {
    font-size: 0.8rem;
    color: #00e5ff;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.recommendation-region {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 229, 255, 0.08);
}
.recommendation-region:last-of-type {
    border-bottom: 1px solid rgba(0, 229, 255, 0.08);
}
.recommendation-track {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.25rem 0 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 229, 255, 0.3) transparent;
    scroll-snap-type: x mandatory;
}
.recommendation-track::-webkit-scrollbar {
    height: 4px;
}
.recommendation-track::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.3);
    border-radius: 4px;
}
.recommendation-track a[data-runtime="recommendation"] {
    flex: 0 0 auto;
    width: 200px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.5rem;
    background: rgba(10, 15, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    color: #cbd2e0;
    text-decoration: none;
    transition: border-color 0.3s, background 0.3s, transform 0.2s;
}
.recommendation-track a[data-runtime="recommendation"]:hover {
    border-color: rgba(0, 229, 255, 0.35);
    background: rgba(0, 229, 255, 0.05);
    transform: translateY(-2px);
}
.recommendation-track a[data-runtime="recommendation"] img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    background: #0a0f1a;
}
.recommendation-track a[data-runtime="recommendation"] span[data-runtime="name"] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e8ecf5;
    line-height: 1.4;
}
.recommendation-track a[data-runtime="recommendation"] span[data-runtime="blurb"] {
    font-size: 0.75rem;
    color: #8a93a8;
    line-height: 1.5;
}
footer {
    background: rgba(5, 7, 13, 0.95);
    border-top: 1px solid rgba(0, 229, 255, 0.1);
    margin-top: 2rem;
}
.footer-shell {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    align-items: center;
}
.disclaimer-text {
    font-size: 0.8rem;
    color: #5a6478;
    line-height: 1.6;
    flex-basis: 100%;
    margin-bottom: 0.5rem;
}
.footer-link {
    font-size: 0.9rem;
    color: #aeb6c8;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.footer-link:hover {
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.06);
}
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    align-items: center;
    flex-basis: 100%;
    margin-top: 0.5rem;
}
.friend-label {
    font-size: 0.8rem;
    color: #5a6478;
    font-weight: 500;
    letter-spacing: 0.05em;
}
.runtime-friend-link {
    font-size: 0.8rem;
    color: #8a93a8;
    text-decoration: none;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.runtime-friend-link:hover {
    color: #00e5ff;
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(0, 229, 255, 0.05);
}
@media (max-width: 1024px) {.movie-overview {
        grid-template-columns: 260px 1fr;
        gap: 1rem 1.5rem;
    }
.comments-masonry {
        grid-template-columns: repeat(2, 1fr);
    }}
@media (max-width: 768px) {body {
        font-size: 13px;
    }
.header-shell {
        padding: 0.6rem 1rem;
        gap: 1rem;
    }
main {
        padding: 0 1rem;
    }
.movie-overview {
        grid-template-columns: 1fr;
        grid-template-areas:
            "poster"
            "heading"
            "cast"
            "synopsis"
            "status"
            "player"
            "details";
        gap: 1.25rem;
        padding: 1.5rem 0;
    }
.poster-wrapper {
        max-width: 260px;
        margin: 0 auto;
        width: 100%;
    }
.overview-heading {
        text-align: center;
    }
.tagline {
        text-align: center;
    }
.cast-section .section-title, .synopsis-section .section-title, .episode-status-section .section-title, .details-section .section-title {
        display: flex;
        justify-content: center;
    }
.cast-list {
        grid-template-columns: repeat(3, 1fr);
    }
.synopsis-paragraph {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
.status-text {
        text-align: center;
    }
.progress-bar {
        margin: 0 auto;
    }
.details-list {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
.detail-item {
        justify-content: center;
    }
.episode-grid {
        grid-template-columns: 1fr;
    }
.comments-masonry {
        grid-template-columns: 1fr;
    }
.recommendation-track a[data-runtime="recommendation"] {
        width: 160px;
    }
.categories-container {
        justify-content: flex-start;
        width: 100%;
        order: 3;
    }}
@media (max-width: 480px) {.header-shell {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
.categories-container {
        justify-content: flex-start;
    }
.cast-list {
        grid-template-columns: repeat(2, 1fr);
    }
.player-controls {
        gap: 0.2rem;
        padding: 0.5rem;
    }
.player-controls button {
        font-size: 0.7rem;
        padding: 0.2rem 0.45rem;
    }
.recommendation-track a[data-runtime="recommendation"] {
        width: 140px;
    }
.footer-shell {
        padding: 1rem;
        gap: 0.5rem;
    }}

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}
