*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: #0d1117;
    color: #c9d1d9;
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: 300;
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}
img, video { max-width: 100%; display: block; border: 0; }
a { color: #8b949e; text-decoration: none; transition: color .25s ease; }
ul { list-style: none; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 17, 23, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #21262d;
    padding: .6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.site-logo {
    font-size: 1.4rem;
    font-weight: 200;
    letter-spacing: .3em;
    color: #e6edf3;
    text-transform: uppercase;
    white-space: nowrap;
}
.site-logo:hover { color: #58a6ff; }
.categories-bar {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}
.runtime-category {
    display: inline-block;
    padding: .25rem .7rem;
    font-size: .8rem;
    letter-spacing: .05em;
    color: #8b949e;
    border: 1px solid #30363d;
    border-radius: 2px;
    white-space: nowrap;
    background: rgba(22, 27, 34, .6);
    transition: all .25s ease;
}
.runtime-category:hover {
    color: #e6edf3;
    border-color: #58a6ff;
    background: rgba(88, 166, 255, .08);
}
main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.2rem 2rem;
}
.movie-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
    padding: 1.5rem 0 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #21262d;
    background: linear-gradient(180deg, rgba(13, 17, 23, 0) 0%, rgba(22, 27, 34, .4) 100%);
    border-radius: 4px;
}
.poster-player-panel {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.poster-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
    border: 1px solid #21262d;
    aspect-ratio: 2 / 3;
    max-height: 100%;
}
.main-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.85) contrast(1.05);
}
.player-wrapper {
    position: relative;
    width: 100%;
    min-width: 0;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .6);
    border: 1px solid #21262d;
}
.main-player {
    width: 100% !important;
    height: auto !important;
    display: block;
    background: #000;
}
.player-controls {
    display: flex;
    flex-wrap: wrap;
    gap: .15rem;
    padding: .4rem;
    background: rgba(13, 17, 23, .95);
    border-top: 1px solid #21262d;
    align-items: center;
}
.player-control-btn {
    font-size: .7rem;
    padding: .25rem .6rem;
    color: #8b949e;
    border-radius: 2px;
    transition: all .2s ease;
    white-space: nowrap;
}
.player-control-btn:hover { color: #e6edf3; background: rgba(88, 166, 255, .15); }
.player-control-btn:active { transform: scale(.95); }
.player.theater-mode, .theater-mode { max-width: 100% !important; }
.player.lights-off { opacity: .3; }
.player.fullscreen { width: 100vw !important; height: 100vh !important; object-fit: contain; }
.title-tagline-group {
    padding: .5rem 0 .2rem;
    border-bottom: 1px solid #21262d;
    margin-bottom: .8rem;
}
.movie-title {
    font-size: 1.8rem;
    font-weight: 200;
    letter-spacing: .06em;
    color: #f0f6fc;
    line-height: 1.3;
    margin-bottom: .2rem;
}
.movie-tagline {
    font-size: .95rem;
    color: #58a6ff;
    letter-spacing: .15em;
    font-weight: 300;
    padding-left: .2rem;
    border-left: 2px solid #58a6ff;
}
.cast-panel {
    margin-bottom: .8rem;
    padding: .8rem 0;
    border-bottom: 1px solid #21262d;
}
.section-heading {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: .12em;
    color: #e6edf3;
    margin-bottom: .8rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.section-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #21262d, transparent);
}
.cast-card-scroll {
    display: flex;
    gap: .8rem;
    overflow-x: auto;
    padding-bottom: .5rem;
    scrollbar-width: thin;
    scrollbar-color: #30363d transparent;
}
.cast-card {
    flex: 0 0 auto;
    min-width: 120px;
    padding: .8rem 1.2rem;
    background: rgba(22, 27, 34, .6);
    border: 1px solid #21262d;
    border-radius: 3px;
    text-align: center;
    transition: all .25s ease;
    cursor: default;
}
.cast-card:hover { border-color: #58a6ff; background: rgba(88, 166, 255, .06); }
.actor-name {
    font-size: .9rem;
    letter-spacing: .1em;
    color: #c9d1d9;
    white-space: nowrap;
}
.synopsis-panel {
    padding: .8rem 0;
    border-bottom: 1px solid #21262d;
    display: grid;
    gap: .6rem;
}
.synopsis-paragraph {
    font-size: .9rem;
    line-height: 1.8;
    color: #8b949e;
    text-align: justify;
    max-width: 80ch;
}
.episode-status-panel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .8rem 0;
    border-bottom: 1px solid #21262d;
    flex-wrap: wrap;
}
.status-label, .status-current {
    font-size: .85rem;
    padding: .3rem .8rem;
    border-radius: 2px;
    background: rgba(22, 27, 34, .6);
    border: 1px solid #21262d;
    color: #c9d1d9;
}
.status-current { color: #58a6ff; border-color: rgba(88, 166, 255, .3); }
.progress-meta { flex: 1; min-width: 120px; display: flex; align-items: center; }
.episode-count { font-size: .8rem; color: #8b949e; letter-spacing: .05em; }
.details-panel { padding: .8rem 0; }
.details-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .4rem .8rem;
}
.details-list li {
    font-size: .85rem;
    color: #8b949e;
    padding: .3rem 0;
    border-bottom: 1px dashed rgba(33, 38, 45, .5);
}
.detail-label {
    display: inline-block;
    min-width: 4em;
    color: #e6edf3;
    font-size: .8rem;
    letter-spacing: .08em;
    margin-right: .4rem;
}
.timeline-section {
    padding: 2rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #21262d;
}
.timeline-track {
    display: flex;
    gap: .4rem;
    overflow-x: auto;
    padding: 1rem 0;
    position: relative;
    scrollbar-width: thin;
    align-items: flex-start;
}
.timeline-track::before {
    content: "";
    position: absolute;
    top: 2.2rem;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #21262d, #30363d, #21262d);
}
.timeline-item {
    flex: 0 0 auto;
    min-width: 120px;
    text-align: center;
    padding: .6rem .4rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    align-items: center;
}
.timeline-item::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #21262d;
    border: 2px solid #58a6ff;
    position: relative;
    z-index: 1;
    margin-bottom: .2rem;
}
.timecode {
    font-size: .75rem;
    color: #58a6ff;
    letter-spacing: .1em;
    font-weight: 400;
}
.label {
    font-size: .8rem;
    color: #8b949e;
    line-height: 1.4;
    max-width: 10ch;
}
.episodes-section {
    padding: 2rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #21262d;
}
.episodes-accordion {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: .5rem;
    align-items: start;
}
.episode-item {
    background: rgba(22, 27, 34, .4);
    border: 1px solid #21262d;
    border-radius: 3px;
    overflow: hidden;
    transition: border-color .25s ease;
    height: fit-content;
    break-inside: avoid;
}
.episode-item:hover { border-color: #30363d; }
.episode-item summary {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem .8rem;
    background: rgba(13, 17, 23, .5);
    font-size: .85rem;
    color: #c9d1d9;
    transition: background .25s ease;
}
.episode-item summary:hover { background: rgba(88, 166, 255, .06); }
.episode-item[open] summary { border-bottom: 1px solid #21262d; }
.episode-number {
    color: #58a6ff;
    font-weight: 400;
    min-width: 3.5em;
    letter-spacing: .05em;
}
.episode-title { flex: 1; letter-spacing: .02em; }
.episode-duration {
    font-size: .7rem;
    color: #8b949e;
    white-space: nowrap;
}
.episode-summary {
    padding: .7rem .8rem;
    font-size: .8rem;
    line-height: 1.7;
    color: #8b949e;
    background: rgba(13, 17, 23, .2);
}
.episodes-accordion details[open] { background: rgba(88, 166, 255, .03); }
.episodes-accordion details[open] summary { color: #e6edf3; }
.comments-section {
    padding: 2rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #21262d;
}
.comments-masonry {
    columns: 3;
    column-gap: .8rem;
}
.comment-card {
    break-inside: avoid;
    margin-bottom: .8rem;
    padding: .9rem;
    background: rgba(22, 27, 34, .5);
    border: 1px solid #21262d;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.comment-nick {
    font-size: .75rem;
    color: #58a6ff;
    letter-spacing: .1em;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.comment-text {
    font-size: .82rem;
    line-height: 1.7;
    color: #8b949e;
}
.recommendation-region {
    padding: 2rem 0 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #21262d;
}
.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .8rem;
}
.rec-card {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: .6rem;
    background: rgba(22, 27, 34, .4);
    border: 1px solid #21262d;
    border-radius: 3px;
    transition: all .25s ease;
    height: auto;
    align-self: start;
    color: #8b949e;
    text-decoration: none;
}
.rec-card:hover {
    border-color: #58a6ff;
    background: rgba(88, 166, 255, .05);
    transform: translateY(-2px);
    color: #e6edf3;
}
.rec-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 2px;
    background: #21262d;
}
.rec-card span[data-runtime="name"] {
    font-size: .85rem;
    color: #e6edf3;
    letter-spacing: .03em;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rec-card span[data-runtime="blurb"] {
    font-size: .75rem;
    color: #8b949e;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
footer {
    padding: 2rem 1.2rem;
    background: #0a0d12;
    border-top: 1px solid #21262d;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 1280px;
    margin: 0 auto;
}
.disclaimer {
    font-size: .75rem;
    color: #484f58;
    line-height: 1.7;
    text-align: center;
    max-width: 80ch;
    margin: 0 auto;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: .4rem 0;
}
.footer-links a {
    font-size: .85rem;
    color: #8b949e;
    letter-spacing: .08em;
    text-decoration: none;
}
.footer-links a:hover { color: #58a6ff; }
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1rem;
    justify-content: center;
    align-items: center;
    padding-top: .8rem;
    border-top: 1px solid #21262d;
}
.friend-label {
    font-size: .75rem;
    color: #484f58;
    letter-spacing: .15em;
    white-space: nowrap;
}
.runtime-friend-link {
    font-size: .75rem;
    color: #8b949e;
    white-space: nowrap;
    padding: .2rem 0;
    border-bottom: 1px solid transparent;
    transition: all .2s ease;
    text-decoration: none;
}
.runtime-friend-link:hover {
    color: #58a6ff;
    border-bottom-color: #58a6ff;
}
.timeline-track::-webkit-scrollbar { height: 4px; }
.timeline-track::-webkit-scrollbar-thumb { background: #30363d; border-radius: 2px; }
.timeline-track::-webkit-scrollbar-track { background: transparent; }
.cast-card-scroll::-webkit-scrollbar { height: 4px; }
.cast-card-scroll::-webkit-scrollbar-thumb { background: #30363d; border-radius: 2px; }
@media (max-width: 900px) {.poster-player-panel { grid-template-columns: 200px minmax(0, 1fr); }
.comments-masonry { columns: 2; }
.movie-title { font-size: 1.4rem; }
header { padding: .5rem 1rem; }
.categories-bar { justify-content: flex-start; }
.movie-overview { padding: 1rem 0; }}
@media (max-width: 640px) {body { font-size: 14px; }
main { padding: .8rem .8rem 1.5rem; }
.poster-player-panel { grid-template-columns: 1fr; gap: 1rem; }
.poster-wrapper { max-width: 240px; margin: 0 auto; }
.poster-player-panel .player-wrapper { width: 100%; }
.title-tagline-group { padding: .4rem 0; }
.movie-title { font-size: 1.2rem; }
.cast-card-scroll { gap: .5rem; }
.cast-card { min-width: 100px; padding: .6rem .8rem; }
.synopsis-paragraph { font-size: .85rem; }
.details-list { grid-template-columns: 1fr 1fr; }
.timeline-track { gap: .2rem; }
.timeline-item { min-width: 100px; }
.episodes-accordion { grid-template-columns: 1fr; }
.comments-masonry { columns: 1; }
.recommendation-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.rec-card { padding: .4rem; }
.footer-links { flex-direction: column; align-items: center; gap: .6rem; }
.friend-links { justify-content: flex-start; gap: .3rem .8rem; }}
@media (max-width: 400px) {.details-list { grid-template-columns: 1fr; }
.recommendation-grid { grid-template-columns: 1fr 1fr; }
.rec-card span[data-runtime="blurb"] { -webkit-line-clamp: 1; }
.timeline-item { min-width: 80px; }
.runtime-category { padding: .2rem .5rem; font-size: .75rem; }}
@media (prefers-reduced-motion: reduce) {* { animation: none !important; transition: none !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}
