*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 14px;
    scroll-behavior: smooth;
}
body {
    background: #0a0f1e;
    color: #c8d0e0;
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}
h1, h2, h3 {
    font-family: "Noto Serif SC", "Songti SC", Georgia, serif;
    font-weight: 700;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    background: #0a0f1e;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}
a[data-contract="site-name"] {
    font-family: "Noto Serif SC", serif;
    font-size: 1.4rem;
    color: #d4af37;
    letter-spacing: 0.15em;
    white-space: nowrap;
}
.category-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
a.runtime-category {
    color: #a0a8c0;
    padding: 0.2rem 0.6rem;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
}
a.runtime-category:hover, a.runtime-category:focus {
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.4);
}
.hero-labyrinth {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60vh;
    background: linear-gradient(135deg, #0a0f1e 0%, #1a1035 50%, #0a0f1e 100%);
    overflow: hidden;
}
.hero-image {
    position: relative;
    overflow: hidden;
}
.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(212, 175, 55, 0.15), transparent 60%),
        linear-gradient(180deg, transparent 50%, #0a0f1e 100%);
    pointer-events: none;
}
.hero-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.3) contrast(1.1) brightness(0.9);
}
.hero-caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 3rem;
    gap: 1rem;
}
.hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #f0e6d0;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    border-left: 3px solid #d4af37;
    padding-left: 1rem;
}
.hero-tagline {
    font-size: 1rem;
    color: #b0b8d0;
    max-width: 30ch;
    font-style: italic;
}
.movie-overview {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: #10162a;
    border: 1px solid rgba(212, 175, 55, 0.1);
    margin: 2rem auto;
    max-width: 1400px;
    width: 100%;
}
.poster-player-wrap {
    display: flex;
    flex-direction: column;
    background: inherit;
    padding: 1rem;
    gap: 1rem;
    border-right: 1px solid rgba(212, 175, 55, 0.1);
}
.poster-frame {
    width: 100%;
    max-width: 100%;
}
.poster-frame img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 4px;
}
.player-frame {
    width: 100%;
    min-width: 0;
    position: relative;
}
.player-frame video {
    display: block;
    border-radius: 4px;
    background: #000;
}
.player-controls {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.5rem;
    background: rgba(10, 15, 30, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-top: none;
    border-radius: 0 0 4px 4px;
    flex-wrap: wrap;
}
.player-controls button {
    background: transparent;
    border: none;
    color: #c8d0e0;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s;
}
.player-controls button:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
}
.player-controls input[type="range"] {
    flex: 1;
    min-width: 80px;
    accent-color: #d4af37;
    background: transparent;
    height: 4px;
}
.overview-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.title-group {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 1rem;
}
.movie-title {
    font-size: 1.8rem;
    color: #f0e6d0;
    margin-bottom: 0.3rem;
}
.movie-tagline {
    color: #d4af37;
    font-style: italic;
    font-size: 0.9rem;
}
.synopsis-block p {
    margin: 0.5rem 0;
    color: #a8b0c8;
    font-size: 0.85rem;
}
.synopsis-block h3, .cast-grid h3, .detail-meta h3, .timeline-block h3, .comments-section h3, .episode-list-section h3 {
    font-size: 1.1rem;
    color: #d4af37;
    margin-bottom: 0.8rem;
    letter-spacing: 0.1em;
    border-left: 2px solid #d4af37;
    padding-left: 0.5rem;
}
.cast-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}
.cast-grid h3 {
    grid-column: 1 / -1;
}
.actor-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    background: rgba(10, 15, 30, 0.4);
    padding: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}
.actor-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 2px;
}
.actor-name {
    font-family: "Noto Serif SC", serif;
    font-weight: 700;
    color: #f0e6d0;
    font-size: 0.95rem;
}
.actor-role {
    font-size: 0.75rem;
    color: #8890a8;
}
.detail-meta .meta-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1rem;
}
.meta-list div {
    display: flex;
    gap: 0.3rem;
    font-size: 0.8rem;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}
.meta-list dt {
    color: #8890a8;
    white-space: nowrap;
}
.meta-list dd {
    color: #c8d0e0;
}
.timeline-horizontal {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.5rem;
}
.timeline-item {
    flex: 0 0 auto;
    min-width: 120px;
    max-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    position: relative;
    padding-top: 1rem;
}
.timeline-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, rgba(212, 175, 55, 0.1));
    border-radius: 1px;
}
.time-node {
    font-family: "Noto Serif SC", serif;
    color: #d4af37;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    padding-left: 0.8rem;
}
.time-node::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: #d4af37;
    border-radius: 50%;
    transform: translateY(-50%);
}
.time-label {
    font-size: 0.75rem;
    color: #a0a8c0;
}
.episode-status-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    background: rgba(10, 15, 30, 0.5);
    padding: 0.8rem;
    border-left: 3px solid #d4af37;
}
.episode-current {
    color: #d4af37;
    font-weight: 700;
}
.episode-total {
    color: #8890a8;
    font-size: 0.8rem;
}
.episode-progress-bar {
    flex: 1;
    min-width: 100px;
    height: 4px;
    background: #1a2035;
    border-radius: 2px;
    overflow: hidden;
}
.episode-progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #e8c86a);
}
.episode-list-section {
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}
.episode-list-section h3 {
    margin-bottom: 1rem;
}
.episode-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: start;
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.2s;
}
.episode-card:hover {
    background: rgba(212, 175, 55, 0.03);
}
.ep-number {
    font-family: "Noto Serif SC", serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
    opacity: 0.6;
    min-width: 2ch;
}
.ep-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.ep-title {
    font-family: "Noto Serif SC", serif;
    color: #f0e6d0;
    font-weight: 700;
}
.ep-summary {
    font-size: 0.8rem;
    color: #8890a8;
}
.ep-duration {
    font-size: 0.75rem;
    color: #8890a8;
    white-space: nowrap;
    padding-top: 0.3rem;
}
.comments-section {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.comment-stack {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.comment-card {
    background: #10162a;
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1rem;
    border-radius: 4px;
    transform: rotate(-0.5deg);
    transition: transform 0.2s;
}
.comment-card:nth-child(even) {
    transform: rotate(0.5deg) translateY(0.5rem);
}
.comment-card:hover {
    transform: rotate(0deg) translateY(0);
}
.comment-nick {
    display: block;
    font-family: "Noto Serif SC", serif;
    color: #d4af37;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.comment-card p {
    font-size: 0.8rem;
    color: #a8b0c8;
}
.recommendation-region {
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}
.recommendation-region h3 {
    font-size: 1.1rem;
    color: #d4af37;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    border-left: 2px solid #d4af37;
    padding-left: 0.5rem;
}
.rec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
a[data-runtime="recommendation"] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: #c8d0e0;
    background: #10162a;
    padding: 0.6rem;
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 4px;
    transition: border-color 0.2s, transform 0.2s;
}
a[data-runtime="recommendation"]:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}
a[data-runtime="recommendation"] img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 3px;
}
a[data-runtime="recommendation"] span[data-runtime="name"] {
    font-family: "Noto Serif SC", serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #f0e6d0;
}
a[data-runtime="recommendation"] span[data-runtime="blurb"] {
    font-size: 0.75rem;
    color: #8890a8;
}
footer {
    background: #0a0f1e;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 2rem;
    margin-top: 2rem;
}
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    margin-bottom: 1rem;
}
.friend-label {
    color: #d4af37;
    font-weight: 700;
    font-size: 0.85rem;
}
a.runtime-friend-link {
    color: #8890a8;
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    transition: color 0.2s, border-color 0.2s;
}
a.runtime-friend-link:hover {
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.3);
}
.disclaimer {
    color: #8890a8;
    font-size: 0.7rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 80ch;
}
.footer-links {
    display: flex;
    gap: 1rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
    color: #a0a8c0;
    font-size: 0.8rem;
    transition: color 0.2s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
    color: #d4af37;
}
.theater-mode {
    max-width: 100% !important;
}
.dim-lights {
    background: #05070f;
}
.dim-lights .hero-labyrinth, .dim-lights .movie-overview, .dim-lights .episode-list-section, .dim-lights .comments-section, .dim-lights .recommendation-region {
    filter: brightness(0.7);
}
@media (max-width: 1200px) {.movie-overview {
        grid-template-columns: 1fr 1.2fr;
    }
.comment-stack {
        grid-template-columns: repeat(2, 1fr);
    }
.rec-grid {
        grid-template-columns: repeat(2, 1fr);
    }}
@media (max-width: 900px) {html {
        font-size: 13px;
    }
header {
        padding: 0.6rem 1rem;
    }
.hero-labyrinth {
        grid-template-columns: 1fr;
        min-height: auto;
    }
.hero-image {
        max-height: 50vh;
    }
.hero-portrait {
        height: 100%;
        max-height: 50vh;
    }
.hero-caption {
        padding: 1.5rem;
    }
.movie-overview {
        grid-template-columns: 1fr;
        margin: 1rem;
    }
.poster-player-wrap {
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }
.poster-frame {
        max-width: 280px;
    }
.overview-content {
        padding: 1rem;
    }
.cast-grid {
        grid-template-columns: repeat(2, 1fr);
    }
.episode-list-section, .comments-section, .recommendation-region {
        padding: 1rem;
    }}
@media (max-width: 600px) {html {
        font-size: 12px;
    }
header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
.category-nav {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }
.hero-title {
        font-size: 1.4rem;
    }
.meta-list {
        grid-template-columns: 1fr !important;
    }
.cast-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
.actor-card {
        padding: 0.4rem;
    }
.timeline-horizontal {
        gap: 0.8rem;
    }
.timeline-item {
        min-width: 100px;
    }
.episode-card {
        grid-template-columns: auto 1fr;
        gap: 0.5rem;
    }
.ep-duration {
        grid-column: 2 / -1;
        padding-top: 0;
    }
.comment-stack {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
.comment-card:nth-child(even) {
        transform: rotate(0deg) translateY(0);
    }
.rec-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
.player-controls {
        gap: 0.2rem;
    }
.player-controls button {
        font-size: 0.65rem;
        padding: 0.15rem 0.3rem;
    }
.footer-links {
        flex-direction: column;
        gap: 0.3rem;
    }}
@media (max-width: 380px) {.poster-player-wrap {
        padding: 0.5rem;
    }
.overview-content {
        padding: 0.5rem;
    }
.cast-grid {
        grid-template-columns: 1fr;
    }
.meta-list {
        grid-template-columns: 1fr;
    }
.timeline-item {
        min-width: 80px;
    }}
:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {* {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }}

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}
