*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background: #0a0e1a; color: #c8d0e0; font-family: "Helvetica Neue", Arial, sans-serif; line-height: 1.5; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
p { margin: 0; }
.header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: #0a0e1a;
    border-bottom: 1px solid #1e2a3a;
    gap: 1rem;
    flex-wrap: wrap;
}
.site-name-link {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #00e5ff;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s;
}
.site-name-link:hover { color: #ffffff; }
.categories-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}
.runtime-category {
    color: #7a8aa0;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border: 1px solid #1e2a3a;
    border-radius: 999px;
    white-space: nowrap;
    transition: all 0.2s;
    text-decoration: none;
}
.runtime-category:hover {
    color: #00e5ff;
    border-color: #00e5ff;
    background: rgba(0, 229, 255, 0.08);
}
.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 2rem;
    padding: 2rem 1.25rem;
    background: linear-gradient(160deg, #0a0e1a 0%, #0d1424 60%, #0a0e1a 100%);
    max-width: 1400px;
    margin: 0 auto;
}
.hero-poster-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: start;
}
.poster-wrapper {
    position: relative;
    width: 100%;
}
.hero-poster-image {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border: 1px solid #1e2a3a;
    filter: grayscale(0.2) contrast(1.1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}
.hero-rating-block {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: rgba(0, 229, 255, 0.05);
    border-left: 3px solid #00e5ff;
}
.rating-value {
    font-size: 2rem;
    font-weight: 800;
    color: #00e5ff;
    letter-spacing: -0.02em;
}
.rating-label {
    font-size: 0.8rem;
    color: #7a8aa0;
    letter-spacing: 0.05em;
}
.hero-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}
.hero-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ffffff;
    line-height: 1.2;
    border-bottom: 2px solid #00e5ff;
    padding-bottom: 0.5rem;
}
.hero-tagline {
    font-size: 1rem;
    color: #00e5ff;
    font-style: italic;
    letter-spacing: 0.1em;
}
.hero-seo-desc {
    font-size: 0.9rem;
    color: #9aacc0;
    line-height: 1.7;
    max-width: 60ch;
}
.cast-panel {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem 0;
    border-top: 1px solid #1e2a3a;
    border-bottom: 1px solid #1e2a3a;
}
.cast-heading {
    font-size: 1.1rem;
    color: #00e5ff;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.cast-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.8rem;
}
.cast-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.6rem 0.3rem;
    background: #0f1626;
    border: 1px solid #1a2434;
    border-radius: 4px;
    transition: all 0.2s;
}
.cast-card:hover {
    border-color: #00e5ff;
    transform: translateY(-2px);
}
.cast-card-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #1a2434;
    border: 2px solid #1e2a3a;
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
    transition: filter 0.3s;
}
.cast-card-photo[data-actor="林霜"] { background-image: linear-gradient(135deg, #3a4a6a, #0a0e1a); }
.cast-card-photo[data-actor="顾嘉树"] { background-image: linear-gradient(135deg, #2a3a5a, #0a0e1a); }
.cast-card-photo[data-actor="沈一诺"] { background-image: linear-gradient(135deg, #4a5a7a, #0a0e1a); }
.cast-card-photo[data-actor="赵海峰"] { background-image: linear-gradient(135deg, #1a2a4a, #0a0e1a); }
.cast-card-photo[data-actor="程小雨"] { background-image: linear-gradient(135deg, #5a6a8a, #0a0e1a); }
.cast-card:hover .cast-card-photo { filter: grayscale(0); }
.cast-card-name {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 600;
}
.cast-card-role {
    font-size: 0.7rem;
    color: #7a8aa0;
}
.episode-status-panel {
    padding: 0.8rem 0;
    border-bottom: 1px solid #1e2a3a;
}
.episode-status-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.episode-status-total {
    font-size: 0.9rem;
    color: #00e5ff;
    font-weight: 700;
}
.episode-status-current {
    font-size: 0.8rem;
    color: #9aacc0;
}
.episode-status-badge {
    font-size: 0.7rem;
    background: #00e5ff;
    color: #0a0e1a;
    padding: 0.15rem 0.6rem;
    border-radius: 3px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.episode-progress-track {
    height: 4px;
    background: #1a2434;
    border-radius: 2px;
    overflow: hidden;
}
.episode-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00e5ff, #0080ff);
    border-radius: 2px;
}
.details-panel {
    padding: 0.5rem 0;
}
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.4rem 1rem;
}
.details-item {
    display: flex;
    gap: 0.5rem;
    font-size: 0.8rem;
    padding: 0.3rem 0;
    border-bottom: 1px dashed #1a2434;
}
.details-item dt {
    color: #7a8aa0;
    min-width: 4em;
    font-weight: 500;
}
.details-item dd {
    color: #c8d0e0;
}
.synopsis-panel {
    padding: 1rem 0;
    border-top: 1px solid #1e2a3a;
}
.synopsis-heading {
    font-size: 1.1rem;
    color: #00e5ff;
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
}
.synopsis-paragraph-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.synopsis-paragraph {
    font-size: 0.9rem;
    color: #9aacc0;
    line-height: 1.7;
    text-align: justify;
}
.player-block {
    width: 100%;
    margin-top: 0.5rem;
    background: #0f1626;
    border: 1px solid #1e2a3a;
    padding: 0.8rem;
}
.player-block video {
    display: block;
    width: 100% !important;
    height: auto;
    background: #000;
    border-radius: 2px;
}
.player-block.theater-mode video {
    max-width: 100%;
}
.player-controls-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.6rem;
}
.player-control-btn {
    background: #1a2434;
    border: 1px solid #2a3a4a;
    color: #9aacc0;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.player-control-btn:hover {
    background: #00e5ff;
    color: #0a0e1a;
    border-color: #00e5ff;
}
.player-block.lights-off {
    background: #000;
    border-color: #000;
}
.player-block.lights-off video {
    opacity: 0.3;
}
.timeline-panel {
    padding: 2rem 1.25rem;
    max-width: 1400px;
    margin: 0 auto;
}
.timeline-heading {
    font-size: 1.4rem;
    color: #00e5ff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #00e5ff;
    padding-bottom: 0.5rem;
}
.timeline-track {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}
.timeline-track::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #1a2434;
}
.timeline-item {
    position: relative;
    padding: 0.8rem 1rem;
    background: #0f1626;
    border: 1px solid #1a2434;
    border-radius: 4px;
    transition: all 0.2s;
    cursor: pointer;
}
.timeline-item:hover {
    border-color: #00e5ff;
    background: #141c2e;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.35rem;
    top: 1rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e5ff;
    box-shadow: 0 0 6px #00e5ff;
}
.timeline-timecode {
    display: inline-block;
    font-size: 0.7rem;
    color: #00e5ff;
    font-weight: 700;
    background: rgba(0, 229, 255, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 2px;
    margin-bottom: 0.3rem;
}
.timeline-label {
    display: block;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}
.timeline-detail {
    display: none;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #7a8aa0;
    line-height: 1.6;
    border-top: 1px dashed #1a2434;
    padding-top: 0.5rem;
}
.timeline-item:hover .timeline-detail {
    display: block;
}
.episodes-panel {
    padding: 2rem 1.25rem;
    max-width: 1400px;
    margin: 0 auto;
}
.episodes-heading {
    font-size: 1.4rem;
    color: #00e5ff;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #00e5ff;
    padding-bottom: 0.5rem;
}
.episodes-accordion {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.5rem;
}
.episode-item {
    display: flex;
    gap: 0.8rem;
    padding: 0.7rem;
    background: #0f1626;
    border: 1px solid #1a2434;
    border-radius: 4px;
    transition: all 0.2s;
    align-items: flex-start;
}
.episode-item:hover {
    border-color: #00e5ff;
    background: #141c2e;
}
.episode-number-block {
    min-width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a2434;
    color: #00e5ff;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 3px;
    border: 1px solid #2a3a4a;
}
.episode-content {
    flex: 1;
    min-width: 0;
}
.episode-title {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.episode-summary {
    font-size: 0.78rem;
    color: #7a8aa0;
    line-height: 1.5;
    margin-bottom: 0.3rem;
}
.episode-duration {
    font-size: 0.7rem;
    color: #4a5a6a;
    font-weight: 500;
}
.comments-panel {
    padding: 2rem 1.25rem;
    max-width: 1400px;
    margin: 0 auto;
}
.comments-heading {
    font-size: 1.4rem;
    color: #00e5ff;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #00e5ff;
    padding-bottom: 0.5rem;
}
.comments-bubble-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.8rem;
}
.comment-bubble {
    background: #0f1626;
    border: 1px solid #1a2434;
    border-radius: 8px;
    padding: 0.8rem;
    position: relative;
    transition: all 0.2s;
}
.comment-bubble::before {
    content: "";
    position: absolute;
    left: 1.2rem;
    top: -0.5rem;
    width: 10px;
    height: 10px;
    background: #0f1626;
    border-left: 1px solid #1a2434;
    border-top: 1px solid #1a2434;
    transform: rotate(45deg);
}
.comment-bubble:hover {
    border-color: #00e5ff;
    background: #141c2e;
}
.comment-nickname {
    display: block;
    font-size: 0.8rem;
    color: #00e5ff;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.comment-text {
    font-size: 0.82rem;
    color: #9aacc0;
    line-height: 1.5;
}
.recommendation-region {
    padding: 1.5rem 1.25rem;
    max-width: 1400px;
    margin: 0 auto;
}
.recommendation-heading {
    font-size: 1.2rem;
    color: #00e5ff;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #1e2a3a;
    padding-bottom: 0.4rem;
}
.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.recommendation-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: #0f1626;
    border: 1px solid #1a2434;
    border-radius: 4px;
    padding: 0.6rem;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}
.recommendation-card:hover {
    border-color: #00e5ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.1);
}
.recommendation-poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    filter: blur(2px) grayscale(0.4);
    transition: all 0.3s;
    background: #1a2434;
}
.recommendation-card:hover .recommendation-poster {
    filter: blur(0) grayscale(0);
}
.recommendation-name {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 600;
}
.recommendation-blurb {
    font-size: 0.78rem;
    color: #7a8aa0;
    line-height: 1.4;
    flex: 1;
}
.footer-shell {
    padding: 1.5rem 1.25rem;
    background: #0a0e1a;
    border-top: 1px solid #1e2a3a;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}
.footer-disclaimer {
    font-size: 0.75rem;
    color: #4a5a6a;
    line-height: 1.6;
}
.footer-links-row {
    display: flex;
    gap: 1.5rem;
}
.footer-link {
    font-size: 0.85rem;
    color: #7a8aa0;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover {
    color: #00e5ff;
}
.footer-friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
}
.friend-links-label {
    font-size: 0.8rem;
    color: #4a5a6a;
}
.runtime-friend-link {
    font-size: 0.8rem;
    color: #7a8aa0;
    text-decoration: none;
    transition: color 0.2s;
}
.runtime-friend-link:hover {
    color: #00e5ff;
}
@media (max-width: 900px) {.hero-panel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
.hero-poster-column {
        max-width: 280px;
        margin: 0 auto;
        width: 100%;
    }
.cast-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
.details-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
.episodes-accordion {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
.comments-bubble-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
.recommendation-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }}
@media (max-width: 600px) {.header-shell {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 0.8rem;
    }
.categories-nav {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.3rem;
    }
.hero-panel, .timeline-panel, .episodes-panel, .comments-panel, .recommendation-region {
        padding: 1.5rem 0.8rem;
    }
.hero-poster-column {
        max-width: 220px;
    }
.episode-status-row {
        gap: 0.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
.player-controls-row {
        gap: 0.3rem;
    }
.player-control-btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.7rem;
    }
.timeline-track {
        padding-left: 1.2rem;
    }
.timeline-item::before {
        left: -1.15rem;
    }
.episodes-accordion {
        grid-template-columns: 1fr;
    }
.comments-bubble-grid {
        grid-template-columns: 1fr;
    }
.recommendation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
.recommendation-card {
        padding: 0.4rem;
    }
.footer-shell {
        padding: 1rem 0.8rem;
    }
.footer-links-row {
        gap: 1rem;
    }}
@media (max-width: 400px) {.recommendation-grid {
        grid-template-columns: 1fr;
    }
.cast-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }}
.player-block.lights-off {
    background: #000;
    border-color: #000;
}
.player-block.theater-mode {
    background: #000;
    border-color: #000;
}
.player-block.lights-off video, .player-block.theater-mode video {
    border-radius: 0;
}
.player-block {
    min-width: 480px;
}
@media (max-width: 520px) {.player-block {
        min-width: 0;
    }}

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}
