* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8d6 40%, #fde2c8 100%);
    color: #3a2e2a;
    line-height: 1.5;
    min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 245, 240, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(233, 150, 122, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e07a5f;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.3s;
}
.site-name:hover {
    color: #c05a3f;
}
nav[data-contract="categories"] {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
}
nav[data-contract="categories"]::-webkit-scrollbar { display: none; }
.runtime-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(233, 150, 122, 0.4);
    color: #c05a3f;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all 0.3s;
    text-decoration: none;
}
.runtime-category:hover {
    background: #e07a5f;
    color: #fff;
    border-color: #e07a5f;
}
.overview-shell {
    padding: 1.5rem 1.5rem 0.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.overview-main-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 1.8fr;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(233, 150, 122, 0.2);
    border: 1px solid rgba(233, 150, 122, 0.25);
}
.overview-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.overview-right {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.poster-media {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(233, 150, 122, 0.3);
    aspect-ratio: 2 / 3;
    background: #fde2c8;
}
.main-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.synopsis-panel {
    background: rgba(253, 226, 200, 0.4);
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    border-left: 4px solid #e07a5f;
}
.synopsis-heading {
    font-size: 1.1rem;
    color: #c05a3f;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.synopsis-para {
    font-size: 0.9rem;
    color: #4a3a35;
    margin-bottom: 0.4rem;
    line-height: 1.6;
}
.synopsis-para:last-child { margin-bottom: 0; }
.episode-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(90deg, #e07a5f, #f2a88d);
    border-radius: 2rem;
    color: #fff;
    font-size: 0.9rem;
    align-self: flex-start;
    box-shadow: 0 3px 8px rgba(224, 122, 95, 0.4);
}
.status-label { font-weight: 600; }
.status-current {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}
.status-total { opacity: 0.9; }
.movie-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #3a2e2a;
    line-height: 1.2;
    letter-spacing: 0.02em;
}
.tagline {
    font-size: 1.1rem;
    color: #e07a5f;
    font-style: italic;
    border-left: 3px solid #e07a5f;
    padding-left: 0.8rem;
    margin-top: -0.5rem;
}
.cast-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}
.cast-heading {
    grid-column: 1 / -1;
    font-size: 1.1rem;
    color: #c05a3f;
    font-weight: 700;
    border-bottom: 2px solid rgba(224, 122, 95, 0.3);
    padding-bottom: 0.3rem;
}
.actor-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.8rem;
    padding: 0.6rem 0.9rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(224, 122, 95, 0.15);
    transition: all 0.3s;
}
.actor-card:hover {
    background: #fff;
    box-shadow: 0 3px 8px rgba(224, 122, 95, 0.2);
    transform: translateY(-2px);
}
.actor-name {
    font-weight: 700;
    color: #3a2e2a;
    font-size: 1rem;
}
.actor-role {
    font-size: 0.8rem;
    color: #8a7a75;
    margin-top: 0.1rem;
}
.details-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    padding: 1rem 1.2rem;
}
.details-heading {
    font-size: 1.1rem;
    color: #c05a3f;
    font-weight: 700;
    margin-bottom: 0.6rem;
    border-bottom: 2px solid rgba(224, 122, 95, 0.3);
    padding-bottom: 0.3rem;
}
.details-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem 1.5rem;
}
.detail-item {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.85rem;
    padding: 0.2rem 0;
    border-bottom: 1px dashed rgba(224, 122, 95, 0.15);
}
.detail-item dt {
    color: #8a7a75;
    font-weight: 500;
}
.detail-item dd {
    color: #3a2e2a;
    font-weight: 600;
    text-align: right;
}
.player-wrapper {
    margin-top: 1.5rem;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #2a1f1c;
    box-shadow: 0 8px 30px rgba(42, 31, 28, 0.4);
    min-width: 0;
}
.player-wrapper video {
    display: block;
    background: #000;
}
.player-controls {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(90deg, #2a1f1c, #3a2e2a);
}
.player-controls button, .player-progress {
    padding: 0.3rem 0.8rem;
    border-radius: 1.5rem;
    font-size: 0.8rem;
    color: #fde2c8;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    white-space: nowrap;
}
.player-controls button:hover {
    background: rgba(224, 122, 95, 0.5);
}
.player-progress {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: default;
}
.timeline-section {
    padding: 2rem 1.5rem 0.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.timeline-heading {
    font-size: 1.4rem;
    color: #3a2e2a;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.3rem;
}
.timeline-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e07a5f, #f2a88d);
    border-radius: 2px;
}
.timeline-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.8rem;
    scrollbar-width: thin;
    scrollbar-color: #e07a5f rgba(224, 122, 95, 0.2);
}
.timeline-scroll::-webkit-scrollbar {
    height: 6px;
}
.timeline-scroll::-webkit-scrollbar-track {
    background: rgba(224, 122, 95, 0.1);
    border-radius: 3px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
    background: #e07a5f;
    border-radius: 3px;
}
.timeline-item {
    flex: 0 0 auto;
    max-width: 220px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(224, 122, 95, 0.2);
    position: relative;
    transition: all 0.3s;
}
.timeline-item::before {
    content: "♥";
    position: absolute;
    top: -0.6rem;
    left: 1rem;
    color: #e07a5f;
    font-size: 1.2rem;
    background: #fff5f0;
    padding: 0 0.3rem;
    border-radius: 50%;
}
.timeline-item:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(224, 122, 95, 0.25);
}
.timecode {
    display: block;
    font-size: 0.8rem;
    color: #e07a5f;
    font-weight: 700;
    margin-bottom: 0.4rem;
    font-family: monospace;
}
.timeline-label {
    font-size: 0.85rem;
    color: #4a3a35;
    line-height: 1.4;
}
.episodes-section {
    padding: 2rem 1.5rem 0.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.episodes-heading {
    font-size: 1.4rem;
    color: #3a2e2a;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.3rem;
}
.episodes-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e07a5f, #f2a88d);
    border-radius: 2px;
}
.episode-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}
.episode-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(224, 122, 95, 0.15);
    transition: all 0.3s;
}
.episode-item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(224, 122, 95, 0.2);
}
.episode-number {
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e07a5f, #f2a88d);
    color: #fff;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(224, 122, 95, 0.4);
}
.episode-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.episode-title {
    font-weight: 700;
    color: #3a2e2a;
    font-size: 0.95rem;
}
.episode-summary {
    font-size: 0.8rem;
    color: #6a5a55;
    line-height: 1.4;
}
.episode-duration {
    font-size: 0.75rem;
    color: #a08a85;
    margin-top: 0.2rem;
    align-self: flex-start;
    padding: 0.1rem 0.6rem;
    background: rgba(224, 122, 95, 0.1);
    border-radius: 1rem;
}
.comments-section {
    padding: 2rem 1.5rem 0.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.comments-heading {
    font-size: 1.4rem;
    color: #3a2e2a;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.3rem;
}
.comments-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e07a5f, #f2a88d);
    border-radius: 2px;
}
.comments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    align-items: start;
}
.comment-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 1rem;
    padding: 1rem;
    border-left: 4px solid #e07a5f;
    box-shadow: 0 2px 6px rgba(224, 122, 95, 0.1);
    transition: all 0.3s;
}
.comment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 122, 95, 0.2);
}
.comment-nickname {
    display: block;
    font-weight: 700;
    color: #c05a3f;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}
.comment-text {
    font-size: 0.85rem;
    color: #4a3a35;
    line-height: 1.5;
}
.recommend-region {
    padding: 2rem 1.5rem 0.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.recommend-region h2 {
    font-size: 1.4rem;
    color: #3a2e2a;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.3rem;
}
.recommend-region h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e07a5f, #f2a88d);
    border-radius: 2px;
}
.recommend-row {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.8rem;
    scrollbar-width: thin;
    scrollbar-color: #e07a5f rgba(224, 122, 95, 0.2);
}
.recommend-row::-webkit-scrollbar {
    height: 6px;
}
.recommend-row::-webkit-scrollbar-track {
    background: rgba(224, 122, 95, 0.1);
    border-radius: 3px;
}
.recommend-row::-webkit-scrollbar-thumb {
    background: #e07a5f;
    border-radius: 3px;
}
a.recommend-card {
    flex: 0 0 auto;
    width: 180px;
    min-height: 260px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(224, 122, 95, 0.2);
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}
a.recommend-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(224, 122, 95, 0.3);
}
[data-runtime="recommendation"] img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center;
}
[data-runtime="recommendation"] [data-runtime="name"] {
    padding: 0.6rem 0.8rem 0.2rem;
    font-weight: 700;
    color: #3a2e2a;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
    padding: 0 0.8rem 0.8rem;
    font-size: 0.8rem;
    color: #8a7a75;
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
footer {
    padding: 1.5rem 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.disclaimer {
    font-size: 0.75rem;
    color: #a08a85;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0.8rem;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.footer-links a {
    font-size: 0.9rem;
    color: #c05a3f;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.2rem 0.5rem;
    border-radius: 0.5rem;
}
.footer-links a:hover {
    color: #e07a5f;
    background: rgba(224, 122, 95, 0.1);
}
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.8rem;
}
.friend-label {
    font-size: 0.85rem;
    color: #8a7a75;
    font-weight: 600;
}
a.runtime-friend-link {
    font-size: 0.85rem;
    color: #6a5a55;
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
}
a.runtime-friend-link:hover {
    color: #e07a5f;
    background: rgba(224, 122, 95, 0.1);
}
body.theater-mode .player-wrapper {
    max-width: 100%;
    border-radius: 0;
}
body.theater-mode .player-wrapper video {
    aspect-ratio: 16 / 9;
}
body.lights-off {
    background: #1a1412;
}
body.lights-off .overview-shell, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .recommend-region, body.lights-off footer, body.lights-off header {
    opacity: 0.2;
    transition: opacity 0.3s;
}
body.lights-off .player-wrapper {
    opacity: 1;
    box-shadow: 0 0 40px rgba(224, 122, 95, 0.3);
}
.player-controls button[data-player-action="play"].play {
    background: rgba(224, 122, 95, 0.4);
}
.player-controls button[data-player-action="fullscreen"].fullscreen {
    background: rgba(224, 122, 95, 0.3);
}
.player-controls button[data-player-action="theater"].theater {
    background: rgba(224, 122, 95, 0.3);
}
.player-controls button[data-player-action="light"].light {
    background: rgba(224, 122, 95, 0.3);
}
.player-controls button[data-player-action="volume"].volume {
    background: rgba(224, 122, 95, 0.3);
}
.player-controls button[data-player-action="mute"].mute {
    background: rgba(224, 122, 95, 0.3);
}
.player-controls button[data-player-action="speed"].speed {
    background: rgba(224, 122, 95, 0.3);
}
.player-controls button[data-player-action="pip"].pip {
    background: rgba(224, 122, 95, 0.3);
}
.player-controls .player-progress.progress {
    background: rgba(224, 122, 95, 0.2);
}
@media (max-width: 1024px) {.overview-main-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
.overview-left {
        flex-direction: row;
        flex-wrap: wrap;
    }
.poster-media {
        flex: 0 0 200px;
        aspect-ratio: 2 / 3;
    }
.synopsis-panel {
        flex: 1;
        min-width: 240px;
    }
.episode-status-chip {
        align-self: flex-start;
    }
.episode-list {
        grid-template-columns: repeat(2, 1fr);
    }}
@media (max-width: 768px) {header {
        padding: 0.6rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
.site-name {
        font-size: 1.1rem;
    }
.overview-shell {
        padding: 0.8rem;
    }
.overview-main-grid {
        padding: 0.8rem;
        border-radius: 1rem;
    }
.overview-left {
        flex-direction: column;
    }
.poster-media {
        flex: none;
        width: 100%;
        aspect-ratio: 16 / 10;
    }
.main-poster-img {
        object-position: center 20%;
    }
.synopsis-panel {
        min-width: 0;
    }
.movie-title {
        font-size: 1.4rem;
    }
.tagline {
        font-size: 0.95rem;
    }
.cast-grid {
        grid-template-columns: repeat(2, 1fr);
    }
.details-list {
        grid-template-columns: 1fr;
    }
.player-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
.player-progress {
        flex-basis: 100%;
        order: 10;
    }
.episode-list {
        grid-template-columns: 1fr;
    }
.comments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
.timeline-scroll {
        padding-bottom: 0.5rem;
    }
.recommend-row {
        gap: 0.6rem;
    }
a.recommend-card {
        width: 140px;
        min-height: 220px;
    }
[data-runtime="recommendation"] img {
        height: 120px;
    }
.friend-links {
        gap: 0.3rem 0.8rem;
    }}
@media (max-width: 480px) {.overview-shell {
        padding: 0.5rem;
    }
.overview-main-grid {
        padding: 0.6rem;
        border-radius: 0.8rem;
    }
.poster-media {
        aspect-ratio: 16 / 9;
    }
.movie-title {
        font-size: 1.2rem;
    }
.tagline {
        font-size: 0.85rem;
    }
.cast-grid {
        grid-template-columns: 1fr;
    }
.episode-status-chip {
        font-size: 0.8rem;
    }
.status-current {
        font-size: 1.2rem;
    }
.episode-list {
        grid-template-columns: 1fr;
    }
.comments-grid {
        grid-template-columns: 1fr;
    }
.timeline-section, .episodes-section, .comments-section, .recommend-region {
        padding: 1.5rem 0.5rem 0.5rem;
    }
.timeline-heading, .episodes-heading, .comments-heading, .recommend-region h2 {
        font-size: 1.2rem;
    }
a.recommend-card {
        width: 120px;
        min-height: 190px;
    }
[data-runtime="recommendation"] img {
        height: 100px;
    }
.player-controls button {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }
.footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
.friend-links {
        flex-direction: column;
        align-items: flex-start;
    }}
.overview-left, .overview-right {
    align-content: start;
}
.overview-left > *, .overview-right > * {
    margin-bottom: 0;
}
.cast-grid, .details-list, .comments-grid, .episode-list {
    align-items: start;
}
.actor-card, .comment-card, .episode-item {
    height: auto;
}
.poster-media {
    max-height: 600px;
}
.player-wrapper {
    min-width: 0;
}
@media (min-width: 481px) {.player-wrapper {
        min-width: 480px;
    }}
nav[data-contract="categories"] {
    flex: 1;
    justify-content: flex-end;
}
main {
    overflow-x: hidden;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.overview-shell, .timeline-section, .episodes-section, .comments-section, .recommend-region {
    animation: fadeInUp 0.6s ease-out both;
}
.timeline-section { animation-delay: 0.1s; }
.episodes-section { animation-delay: 0.2s; }
.comments-section { animation-delay: 0.3s; }
.recommend-region { animation-delay: 0.4s; }
.friend-links {
    justify-content: flex-start;
}
.footer-links {
    justify-content: flex-start;
}
header, .overview-shell, .timeline-section, .episodes-section, .comments-section, .recommend-region, footer {
    margin-bottom: 0.5rem;
}
@media (max-width: 360px) {.movie-title {
        font-size: 1rem;
        word-break: break-all;
    }
.tagline {
        font-size: 0.75rem;
    }
.episode-info {
        min-width: 0;
    }
.episode-summary {
        word-break: break-word;
    }}

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}
