*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    background: #0b0e14;
    color: #c8d0dc;
    font-family: "STHeiti", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    line-height: 1.5;
    min-height: 100vh;
}
img {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    background: #0e1218;
    border-bottom: 1px solid #1a2029;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(6px);
}
.site-name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffd166;
    text-transform: uppercase;
    white-space: nowrap;
}
a[data-contract="site-name"] {
    color: #ffd166;
    text-decoration: none;
    transition: opacity 0.2s;
}
a[data-contract="site-name"]:hover {
    opacity: 0.8;
}
nav[data-contract="categories"] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-end;
}
.runtime-category {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #8fa1b3;
    background: #161d26;
    border-radius: 3px;
    transition: all 0.2s;
    white-space: nowrap;
    letter-spacing: 0.03em;
}
a.runtime-category {
    color: #8fa1b3;
    text-decoration: none;
}
.runtime-category:hover {
    color: #ffd166;
    background: #1f2733;
}
main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
.movie-overview {
    margin-top: 1.2rem;
    background: #10151d;
    border: 1px solid #1a222c;
    border-radius: 8px;
    padding: 1rem 1rem 1.5rem;
    display: grid;
    grid-template-columns: 220px 1fr;
    grid-template-areas:
        "poster header"
        "poster cast"
        "poster synopsis"
        "poster status"
        "poster details";
    gap: 0.8rem 1.2rem;
    position: relative;
}
.movie-overview::before {
    content: "";
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.03) 0%, transparent 40%);
    pointer-events: none;
    border-radius: 8px;
    z-index: 0;
}
.movie-overview > * {
    position: relative;
    z-index: 1;
}
.poster-media {
    grid-area: poster;
    align-self: start;
}
.poster-media img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
    background: #1a222c;
}
.overview-header {
    grid-area: header;
    align-self: start;
}
.movie-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.04em;
    line-height: 1.2;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.tagline {
    font-size: 0.95rem;
    color: #9fb0c0;
    font-style: italic;
    letter-spacing: 0.02em;
    border-left: 3px solid #ffd166;
    padding-left: 0.8rem;
}
.cast-block {
    grid-area: cast;
}
.cast-block .section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e8edf2;
    margin-bottom: 0.3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid #1f2833;
    padding-bottom: 0.2rem;
}
.cast-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.35rem;
}
.cast-card {
    background: #141b24;
    border: 1px solid #1e2733;
    border-radius: 4px;
    padding: 0.5rem 0.3rem;
    text-align: center;
    transition: all 0.2s;
    cursor: default;
}
.cast-card:hover {
    border-color: #ffd166;
    background: #19212b;
}
.actor-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: #dbe2ea;
    letter-spacing: 0.05em;
}
.synopsis-block {
    grid-area: synopsis;
}
.synopsis-block .section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e8edf2;
    margin-bottom: 0.4rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid #1f2833;
    padding-bottom: 0.2rem;
}
.synopsis-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem 1rem;
    font-size: 0.83rem;
    line-height: 1.55;
    color: #a7b6c5;
}
.synopsis-columns p {
    margin-bottom: 0.3rem;
    text-align: justify;
    hyphens: auto;
}
.episode-status-block {
    grid-area: status;
    background: #141b24;
    border-left: 3px solid #ffd166;
    padding: 0.45rem 0.8rem;
    border-radius: 0 4px 4px 0;
}
.episode-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.85rem;
    color: #c9d3de;
    font-weight: 500;
    letter-spacing: 0.03em;
}
.details-panel {
    grid-area: details;
}
.details-panel .section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e8edf2;
    margin-bottom: 0.4rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid #1f2833;
    padding-bottom: 0.2rem;
}
.details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem 0.6rem;
    font-size: 0.82rem;
}
.details-grid div {
    display: flex;
    flex-direction: column;
    background: #141b24;
    border-radius: 3px;
    padding: 0.35rem 0.5rem;
}
.details-grid dt {
    color: #7d8e9e;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}
.details-grid dd {
    color: #dbe2ea;
    font-weight: 500;
    line-height: 1.3;
}
.player-container {
    margin-top: 1.2rem;
    background: #0e1218;
    border: 1px solid #1a222c;
    border-radius: 8px;
    padding: 0.8rem;
    min-width: 0;
}
.player-container video {
    display: block;
    border-radius: 4px;
    background: #000;
    width: 100%;
    min-width: 0;
}
.player-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px solid #1a222c;
}
.player-controls button {
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    background: #161d26;
    border: 1px solid #222c38;
    border-radius: 3px;
    color: #b8c4d0;
    transition: all 0.2s;
    white-space: nowrap;
}
.player-controls button:hover {
    border-color: #ffd166;
    color: #ffd166;
}
.player.theater-mode, .theater-mode {
    max-width: 100%;
}
.player.lights-off, .lights-off {
    filter: brightness(0.5);
}
.player.fullscreen {
    width: 100%;
    height: 100%;
}
.player.mute, .player.play, .player.pip, .player.speed, .player.progress, .player.volume, .player.light, .player.click, .player .fullscreen, .player .theater, .player .light {
    
}
.episodes-section {
    margin-top: 1.6rem;
}
.section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #f0f3f6;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0.9rem;
}
.section-title::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1.1em;
    background: #ffd166;
    border-radius: 2px;
}
.episode-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.5rem;
}
.episode-item {
    background: #10151d;
    border: 1px solid #1a222c;
    border-radius: 5px;
    transition: border-color 0.2s;
}
.episode-item:hover {
    border-color: #2a3644;
}
.episode-item summary {
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #d8e0e8;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    background: #131a23;
    border-radius: 5px;
    transition: background 0.2s;
}
.episode-item summary::-webkit-details-marker {
    display: none;
}
.episode-item summary::after {
    content: "▸";
    color: #ffd166;
    font-size: 0.8rem;
    transition: transform 0.2s;
}
.episode-item[open] summary {
    background: #161e28;
    border-bottom: 1px solid #1a222c;
    border-radius: 5px 5px 0 0;
}
.episode-item[open] summary::after {
    transform: rotate(90deg);
}
.duration {
    font-size: 0.75rem;
    font-weight: 400;
    color: #7d8e9e;
    background: #1a222c;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    white-space: nowrap;
}
.episode-item p {
    padding: 0.6rem 0.9rem;
    font-size: 0.82rem;
    color: #9fb0c0;
    line-height: 1.5;
}
.timeline-section {
    margin-top: 1.6rem;
}
.timeline-vertical {
    position: relative;
    padding-left: 1.8rem;
    max-width: 720px;
}
.timeline-vertical::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #1f2833;
}
.timeline-node {
    position: relative;
    padding: 0.6rem 0 0.6rem 0.8rem;
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    border-left: 2px solid transparent;
}
.timeline-node::before {
    content: "";
    position: absolute;
    left: -1.8rem;
    top: 0.75rem;
    width: 12px;
    height: 12px;
    background: #ffd166;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 209, 102, 0.5);
    border: 2px solid #0b0e14;
}
.timeline-node:not(:last-child) {
    border-bottom: 1px solid #161d25;
}
.timecode {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffd166;
    min-width: 3.5rem;
    letter-spacing: 0.03em;
    background: rgba(255, 209, 102, 0.08);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    text-align: center;
}
.label {
    font-size: 0.88rem;
    color: #c0cbda;
    line-height: 1.4;
}
.comments-section {
    margin-top: 1.6rem;
}
.comments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}
.comment-card {
    background: #10151d;
    border: 1px solid #1a222c;
    border-radius: 5px;
    padding: 0.8rem 0.9rem;
    transition: border-color 0.2s;
}
.comment-card:hover {
    border-color: #2a3644;
}
.nickname {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffd166;
    margin-bottom: 0.3rem;
    letter-spacing: 0.04em;
}
.comment-card p {
    font-size: 0.84rem;
    color: #a7b6c5;
    line-height: 1.5;
}
.recommendation-region {
    margin-top: 1.6rem;
}
.recommendation-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e8edf2;
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
    border-left: 3px solid #ffd166;
    padding-left: 0.7rem;
}
.recommendation-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.6rem;
}
a[data-runtime="recommendation"] {
    display: flex;
    flex-direction: column;
    background: #10151d;
    border: 1px solid #1a222c;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.2s;
    color: #c8d0dc;
    text-decoration: none;
    height: auto;
    align-self: start;
}
a[data-runtime="recommendation"]:hover {
    border-color: #ffd166;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
a[data-runtime="recommendation"] img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #1a222c;
}
a[data-runtime="recommendation"] span[data-runtime="name"] {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e0e6ed;
    padding: 0.5rem 0.6rem 0.1rem;
    line-height: 1.3;
}
a[data-runtime="recommendation"] span[data-runtime="blurb"] {
    display: block;
    font-size: 0.75rem;
    color: #7d8e9e;
    padding: 0.1rem 0.6rem 0.6rem;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
footer {
    margin-top: 2rem;
    padding: 1.2rem 1rem 2rem;
    background: #0e1218;
    border-top: 1px solid #1a222c;
}
.disclaimer {
    font-size: 0.75rem;
    color: #6b7c8c;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 0.8rem;
    padding: 0.5rem 0.8rem;
    background: #10151d;
    border-radius: 4px;
}
.footer-nav {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 0.8rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
    font-size: 0.85rem;
    color: #9fb0c0;
    text-decoration: none;
    transition: color 0.2s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
    color: #ffd166;
}
.friend-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.8rem;
    font-size: 0.78rem;
}
.friend-links-label {
    color: #5f6f7e;
    white-space: nowrap;
}
a.runtime-friend-link {
    color: #7d8e9e;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
a.runtime-friend-link:hover {
    color: #ffd166;
    text-decoration: underline;
}
@media (max-width: 960px) {.movie-overview {
        grid-template-columns: 180px 1fr;
        gap: 0.7rem 1rem;
    }
.movie-title {
        font-size: 1.5rem;
    }
.synopsis-columns {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
.details-grid {
        grid-template-columns: repeat(3, 1fr);
    }}
@media (max-width: 720px) {.movie-overview {
        grid-template-columns: 1fr;
        grid-template-areas:
            "poster"
            "header"
            "cast"
            "synopsis"
            "status"
            "details";
    }
.poster-media {
        max-width: 180px;
        margin: 0 auto;
    }
.poster-media img {
        aspect-ratio: 2 / 3;
    }
.overview-header {
        text-align: center;
    }
.tagline {
        border-left: none;
        border-top: 2px solid #ffd166;
        padding: 0.4rem 0.5rem 0;
        text-align: center;
    }
.cast-card-list {
        grid-template-columns: repeat(2, 1fr);
    }
.details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
.comments-grid {
        grid-template-columns: 1fr;
    }
.player-container {
        padding: 0.5rem;
    }
.player-controls button {
        flex: 1 1 auto;
        min-width: 60px;
        text-align: center;
    }}
@media (max-width: 480px) {main {
        padding: 0 0.5rem;
    }
.movie-overview {
        padding: 0.8rem;
    }
.poster-media {
        max-width: 150px;
    }
.movie-title {
        font-size: 1.2rem;
    }
.tagline {
        font-size: 0.85rem;
    }
.details-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.3rem;
    }
.episode-list {
        grid-template-columns: 1fr;
    }
.recommendation-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.4rem;
    }
.timeline-vertical {
        padding-left: 1.5rem;
    }
.timeline-node {
        flex-direction: column;
        gap: 0.2rem;
        padding-left: 0.5rem;
    }
.timecode {
        min-width: 0;
        align-self: flex-start;
    }
.player-container {
        min-width: 0;
    }
.player-container video {
        min-width: 0;
    }}
.section-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e8edf2;
    letter-spacing: 0.05em;
}
nav[data-contract="categories"] .runtime-category {
    white-space: nowrap;
}
.cast-block {
    align-self: start;
}
.synopsis-block {
    align-self: start;
}
.episode-status-block {
    align-self: start;
}
.details-panel {
    align-self: start;
}
.movie-overview > * {
    min-width: 0;
}
.poster-media {
    height: auto;
}
.poster-media img {
    height: auto;
}
.player-container {
    min-width: 0;
    width: 100%;
}
.player-container video {
    width: 100%;
    min-width: 0;
}
.friend-links-label {
    white-space: nowrap;
}
[data-runtime="recommendation"] img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    height: auto;
}
.runtime-friend-link {
    white-space: nowrap;
}
* {
    overflow-wrap: break-word;
    word-break: normal;
}
.player {
    position: relative;
}
.player::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: transparent;
    pointer-events: none;
}
.player.theater-mode::after {
    background: rgba(0, 0, 0, 0.2);
}
.player.lights-off::after {
    background: rgba(0, 0, 0, 0.6);
}
summary {
    list-style: none;
}
summary::-webkit-details-marker {
    display: none;
}
.timeline-node {
    align-items: flex-start;
}
.cast-card {
    height: auto;
    align-self: start;
}
.comment-card {
    height: auto;
    align-self: start;
}
.episode-item {
    height: auto;
    align-self: start;
}
.cast-card-list .cast-card, .comments-grid .comment-card, .episode-list .episode-item, .recommendation-list a[data-runtime="recommendation"] {
    align-self: start;
}

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}
