*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: #12161a;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 193, 76, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(58, 90, 134, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    background-attachment: fixed;
    color: #d6dde3;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
}
a { color: #d6dde3; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #ffc74c; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2.5rem;
    background: rgba(18, 22, 26, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.brand-link {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffc74c !important;
    text-decoration: none !important;
    text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
    background: rgba(255, 199, 76, 0.08);
    padding: 0.5rem 1.8rem 0.5rem 0.8rem;
    border-left: 3px solid #ffc74c;
}
.brand-link:hover { color: #ffdb80 !important; }
.categories-bar {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}
.runtime-category {
    color: #9aa7b4 !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.3rem 0.9rem;
    border-radius: 3px;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 1px solid transparent;
}
.runtime-category:hover {
    color: #ffc74c !important;
    border-color: rgba(255, 199, 76, 0.4);
    background: rgba(255, 199, 76, 0.05);
}
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2.5rem 3rem;
}
.movie-overview-shell {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    background: #1a2026;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px 8px 4px 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-width: 1100px;
    margin: 0 auto 3rem;
}
.poster-wrapper {
    background: #0d1116;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    align-self: start;
}
.main-poster {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.05);
}
.overview-content {
    padding: 2rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.movie-title {
    font-size: 2rem;
    font-weight: 800;
    color: #f0f2f4;
    letter-spacing: 0.02em;
    line-height: 1.3;
    margin-bottom: 0.2rem;
    position: relative;
    padding-left: 1rem;
}
.movie-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 4px;
    height: 85%;
    background: #ffc74c;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.tagline {
    color: #8a97a5;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.section-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f0f2f4;
    letter-spacing: 0.06em;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
}
.section-heading::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #ffc74c;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    flex-shrink: 0;
}
.synopsis-block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1.5rem;
}
.synopsis-para {
    color: #b8c2cc;
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 0.6rem;
    font-weight: 300;
}
.synopsis-para:last-child { margin-bottom: 0; }
.details-block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1.5rem;
}
.details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}
.detail-item {
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.detail-item dt {
    font-size: 0.72rem;
    color: #77838f;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.detail-item dd {
    font-size: 0.95rem;
    color: #e0e6ea;
    font-weight: 400;
}
.episode-status-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1.5rem;
}
.current-episode, .total-episodes {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 2px;
    letter-spacing: 0.03em;
}
.current-episode {
    background: rgba(255, 199, 76, 0.15);
    color: #ffc74c;
    border: 1px solid rgba(255, 199, 76, 0.3);
}
.total-episodes {
    background: rgba(255, 255, 255, 0.05);
    color: #9aa7b4;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.cast-block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1.5rem;
}
.cast-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}
.cast-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 0.9rem 1rem;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.cast-card:hover {
    border-color: rgba(255, 199, 76, 0.4);
    background: rgba(255, 199, 76, 0.04);
}
.cast-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #d6dde3;
    letter-spacing: 0.04em;
}
.player-container {
    position: relative;
    width: 100%;
    margin-top: 0.5rem;
    background: #0d1116;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.player-container video {
    display: block;
    background: #000;
}
.player-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    background: #161c22;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.player-controls button {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b8c2cc;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.player-controls button:hover {
    background: rgba(255, 199, 76, 0.1);
    border-color: rgba(255, 199, 76, 0.3);
    color: #ffc74c;
}
.player-container.theater-mode {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: #0a0d0f;
    border-radius: 0;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}
.player-container.theater-mode video {
    max-width: 100%;
    max-height: calc(100vh - 4rem);
    margin: 0 auto;
}
.player-container.theater-mode .player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(22, 28, 34, 0.95);
}
.lights-off main, .lights-off header, .lights-off footer {
    opacity: 0.08;
    transition: opacity 0.4s ease;
}
.lights-off .player-container.theater-mode {
    opacity: 1;
}
.lights-off .player-container:not(.theater-mode) {
    opacity: 1;
}
.timeline-section {
    margin-bottom: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.timeline-list {
    list-style: none;
    position: relative;
    padding-left: 2rem;
    max-width: 800px;
}
.timeline-list::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #ffc74c 0%, rgba(255, 199, 76, 0.1) 100%);
}
.timeline-item {
    position: relative;
    padding: 0.9rem 0 0.9rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.85rem;
    top: 1.2rem;
    width: 12px;
    height: 12px;
    background: #12161a;
    border: 2px solid #ffc74c;
    border-radius: 50%;
    transform: rotate(45deg);
    border-radius: 2px;
}
.timeline-timecode {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffc74c;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.timeline-label {
    font-size: 0.95rem;
    color: #c2ccd5;
    font-weight: 300;
    line-height: 1.5;
}
.episodes-section {
    margin-bottom: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.episodes-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.episode-card {
    background: #1a2026;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 1.2rem 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
    position: relative;
}
.episode-card:hover {
    border-color: rgba(255, 199, 76, 0.3);
    transform: translateY(-2px);
}
.episode-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(255, 199, 76, 0.15);
    -webkit-text-stroke: 1px rgba(255, 199, 76, 0.4);
    line-height: 1;
    margin-bottom: 0.3rem;
}
.episode-title {
    font-size: 1rem;
    font-weight: 700;
    color: #e8ecf0;
    letter-spacing: 0.03em;
}
.episode-summary {
    font-size: 0.82rem;
    color: #9aa7b4;
    font-weight: 300;
    line-height: 1.6;
    flex-grow: 1;
}
.episode-duration {
    font-size: 0.75rem;
    color: #77838f;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding-top: 0.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.comments-section {
    margin-bottom: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.comments-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: start;
}
.comment-card {
    background: #1a2026;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 1.2rem 1.4rem;
    position: relative;
    transition: border-color 0.2s ease;
}
.comment-card:nth-child(2n) {
    transform: translateY(0.8rem);
}
.comment-card:hover {
    border-color: rgba(255, 199, 76, 0.3);
}
.comment-nickname {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffc74c;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}
.comment-text {
    font-size: 0.88rem;
    color: #b8c2cc;
    font-weight: 300;
    line-height: 1.7;
}
.recommendation-region {
    margin-bottom: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.recommendation-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f0f2f4;
    letter-spacing: 0.06em;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.recommendation-heading::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #ffc74c;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    flex-shrink: 0;
}
.recommendation-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
a[data-runtime="recommendation"] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: #1a2026;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 0.8rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
    color: #d6dde3 !important;
    text-decoration: none !important;
    align-self: start;
}
a[data-runtime="recommendation"]:hover {
    border-color: rgba(255, 199, 76, 0.4);
    transform: translateY(-2px);
}
a[data-runtime="recommendation"] img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 3px;
    display: block;
    background: #0d1116;
}
a[data-runtime="recommendation"] [data-runtime="name"] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e0e6ea;
    line-height: 1.4;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
    font-size: 0.78rem;
    color: #8a97a5;
    font-weight: 300;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
footer {
    background: #14191f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2.5rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.disclaimer {
    font-size: 0.75rem;
    color: #6b7681;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(255, 199, 76, 0.3);
}
.friend-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.friend-links-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #77838f;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-right: 0.5rem;
}
.runtime-friend-link {
    font-size: 0.8rem;
    color: #9aa7b4 !important;
    text-decoration: none !important;
    padding: 0.25rem 0.7rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.runtime-friend-link:hover {
    color: #ffc74c !important;
    border-color: rgba(255, 199, 76, 0.3);
    background: rgba(255, 199, 76, 0.04);
}
.footer-links {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
    font-size: 0.8rem;
    color: #77838f !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
    color: #ffc74c !important;
}
@media (max-width: 1024px) {main { padding: 1.5rem; }
.overview-content { padding: 1.5rem; }
.movie-overview-shell { grid-template-columns: 240px 1fr; }
.details-grid { grid-template-columns: repeat(2, 1fr); }
.episodes-scroll { grid-template-columns: repeat(3, 1fr); }
.comments-masonry { grid-template-columns: repeat(2, 1fr); }
.recommendation-row { grid-template-columns: repeat(3, 1fr); }}
@media (max-width: 768px) {header { flex-direction: column; gap: 0.8rem; padding: 1rem; }
.categories-bar { justify-content: center; }
.movie-overview-shell { grid-template-columns: 1fr; }
.poster-wrapper { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.main-poster { max-width: 320px; margin: 0 auto; }
.overview-content { padding: 1.5rem; }
.episodes-scroll { grid-template-columns: repeat(2, 1fr); }
.comments-masonry { grid-template-columns: 1fr; }
.comment-card:nth-child(2n) { transform: none; }
.recommendation-row { grid-template-columns: repeat(2, 1fr); }
footer { padding: 1.5rem; }}
@media (max-width: 480px) {main { padding: 1rem; }
.movie-title { font-size: 1.5rem; }
.details-grid { grid-template-columns: 1fr; }
.cast-grid { grid-template-columns: repeat(2, 1fr); }
.episodes-scroll { grid-template-columns: 1fr; }
.recommendation-row { grid-template-columns: 1fr; }
.player-container { min-width: 0; }
.player-container video { min-width: 0; }}
.player-container {
    min-width: 480px;
}
@media (max-width: 540px) {.player-container { min-width: 0; }}
.player-container video {
    min-width: 100%;
    max-width: 100%;
    height: auto;
}

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}
