:root {
    color-scheme: dark;
    --bg: #0c0e14;
    --surface: #171a24;
    --muted: #9da3b5;
    --text: #f6f6fa;
    --accent: #ff4057;
    --line: #292d3c;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--accent);
}
button, input, select {
    font: inherit;
}
button, select {
    cursor: pointer;
}
button, input, select {
    color: var(--text);
}
button {
    border: 0;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid #ff7b8b;
    outline-offset: 5px;
}
img {
    display: block;
    max-width: 100%;
    object-fit: cover;
}
button:hover {
    filter: brightness(1.15);
}
h1, h2, h3, p {
    margin-top: 0;
}
h1 {
    line-height: 1.25;
}
h2 {
    font-size: 26px;
    line-height: 1.35;
    letter-spacing: .02em;
}
h3 {
    font-size: 17px;
}
[hidden] {
    display: none !important;
}
.wrap {
    width: min(1320px, calc(100% - 80px));
    margin-inline: auto;
}
.site-header {
    background: #0d0f16;
    border-bottom: 1px solid var(--line);
}
.topbar {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 90px;
}
.brand {
    font-size: 23px;
    font-weight: 800;
    margin: 0;
    white-space: nowrap;
}
.brand a {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand img {
    width: 39px;
    height: 39px;
}
.search {
    display: flex;
    max-width: 440px;
    width: 100%;
    margin-left: auto;
    background: #1b1e29;
    border: 1px solid #2e3240;
    border-radius: 8px;
    overflow: hidden;
}
.search input {
    background: transparent;
    border: 0;
    padding: 11px 16px;
    width: 100%;
    min-width: 0;
    font-size: 14px;
}
.search button {
    background: transparent;
    font-size: 27px;
    width: 50px;
}
.header-extra {
    font-size: 14px;
    color: #c5c8d2;
    white-space: nowrap;
}
.nav {
    display: flex;
    gap: 36px;
    height: 58px;
    align-items: stretch;
    overflow-x: auto;
}
.nav a {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    color: #b7bbca;
    border-bottom: 3px solid transparent;
    font-size: 15px;
}
.nav a.active {
    color: #ff5368;
    border-color: var(--accent);
}
.nav span {
    font-size: 18px;
}
.hero {
    margin-top: 28px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #1b2332;
}
.hero-slides {
    aspect-ratio: 16 / 6.8;
    position: relative;
    min-height: 440px;
}
.hero-slide {
    position: absolute;
    inset: 0;
}
.hero-slide > img {
    width: 100%;
    height: 100%;
}
.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #11151fee 0%, #11151fb0 44%, #11151f0d 80%), linear-gradient(0deg, #10131bd9, transparent 65%);
}
.hero-copy {
    position: absolute;
    left: 4.5%;
    top: 12%;
    width: min(540px, 57%);
}
.eyebrow {
    display: block;
    font-size: 12px;
    letter-spacing: .16em;
    color: #ff8291;
    font-weight: 700;
    margin-bottom: 16px;
}
.hero h2 {
    font-size: clamp(32px, 3.4vw, 51px);
    margin: 15px 0;
    letter-spacing: .04em;
}
.hero p {
    color: #c6cbd4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 450px;
}
.hero-tags {
    display: flex;
    gap: 12px;
    color: #d9dce6;
    font-size: 13px;
}
.hero-tags span:first-child {
    color: #ffadba;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 7px;
    padding: 11px 25px;
    font-size: 15px;
    font-weight: 600;
}
.primary {
    background: var(--accent);
    color: white;
}
.primary:hover {
    color: white;
    background: #f02542;
}
.secondary {
    background: #ffffff15;
    color: #f4f4f6;
    border: 1px solid #ffffff2c;
}
.hero-controls {
    position: absolute;
    bottom: 25px;
    left: 4.5%;
    display: flex;
    align-items: center;
    gap: 14px;
}
.hero-controls > button {
    border-radius: 50%;
    width: 31px;
    height: 31px;
    background: #ffffff17;
}
.dots {
    display: flex;
    gap: 8px;
}
.dots button {
    padding: 0;
    width: 7px;
    height: 7px;
    background: #ffffff5a;
    border-radius: 8px;
}
.dots button[aria-current="true"] {
    width: 26px;
    background: var(--accent);
}
.hero-index {
    position: absolute;
    right: 35px;
    bottom: 25px;
    font-size: 14px;
    letter-spacing: .15em;
}
.discovery {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    align-items: center;
    gap: 24px;
    margin: 34px 0 50px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.discovery .eyebrow {
    margin: 0 0 4px;
    font-size: 11px;
}
.discovery h2 {
    font-size: 20px;
    margin: 0;
}
.discovery a {
    border-left: 1px solid var(--line);
    padding-left: 25px;
}
.discovery strong {
    display: block;
    font-size: 16px;
}
.discovery span {
    color: var(--muted);
    font-size: 13px;
}
.content-section {
    margin: 50px 0;
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}
.section-head h2 {
    margin: 0 0 5px;
}
.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}
.section-head > span {
    color: var(--muted);
    font-size: 13px;
}
.section-symbol {
    color: var(--accent);
    font-size: 21px;
}
.more {
    font-size: 14px;
    white-space: nowrap;
    color: #c9ccda;
}
.cards {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}
.card {
    min-width: 0;
}
.poster {
    display: block;
    aspect-ratio: 2 / 3;
    position: relative;
    overflow: hidden;
    background: #252b3b;
    border-radius: 9px;
}
.poster img {
    width: 100%;
    height: 100%;
    transition: transform .3s;
    color: #bac0cf;
    font-size: 14px;
}
.poster:hover img {
    transform: scale(1.06);
}
.quality {
    position: absolute;
    right: 9px;
    top: 9px;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 4px;
    background: #090c16c9;
    color: #fff;
}
.poster-state {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 10px 8px;
    background: linear-gradient(transparent, #000c);
    font-size: 12px;
    color: #fff;
}
.hover-play {
    position: absolute;
    top: 43%;
    left: 39%;
    color: white;
    opacity: 0;
    font-size: 30px;
}
.poster:hover .hover-play {
    opacity: 1;
}
.card h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 11px 0 3px;
    line-height: 1.5;
}
.meta {
    font-size: 13px;
    color: var(--muted);
}
.card-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    color: #a6acbb;
    height: 43px;
    margin: 8px 0;
}
.tag {
    display: inline-block;
    font-size: 11px;
    color: #bfc4d3;
    background: #1a1e2a;
    padding: 2px 7px;
    border-radius: 3px;
}
.rank-panel {
    padding: 30px;
    border: 1px solid #353042;
    border-radius: 12px;
    background: linear-gradient(120deg, #201922, #141923);
}
.rank-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px 36px;
}
.rank-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 13px 0;
    border-top: 1px solid #ffffff12;
}
.rank-number {
    font-size: 32px;
    font-weight: 800;
    font-style: italic;
    color: #ff667a;
}
.rank-item h3 {
    margin: 0 0 2px;
}
.rank-item span:not(.rank-number) {
    font-size: 12px;
    color: #aab0bf;
}
.rank-play {
    margin-left: auto;
    font-size: 25px;
}
.about-panel {
    padding: 35px 0 45px;
    max-width: 860px;
}
.about-panel p {
    color: var(--muted);
}
.mobile-strip {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 32px;
    background: #1b1e2a;
    border-radius: 12px;
    margin-top: 24px;
    margin-bottom: 48px;
}
.mobile-strip > img {
    width: 76px;
    height: 76px;
    border-radius: 16px;
}
.mobile-strip h2 {
    margin-bottom: 7px;
}
.mobile-strip .eyebrow {
    margin-bottom: 5px;
}
.mobile-strip p {
    color: #aeb4c5;
    margin-bottom: 0;
    font-size: 14px;
}
.mobile-actions {
    display: grid;
    gap: 8px;
    margin-left: auto;
    min-width: 180px;
}
.subscription-status {
    font-size: 12px;
    max-width: 220px;
}
.footer {
    background: #080a0f;
    padding: 45px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3,1fr);
    gap: 45px;
}
.footer-grid p {
    font-size: 14px;
    color: #9097a8;
    margin-top: 14px;
}
.footer-grid h3 {
    font-size: 14px;
    color: #d1d5df;
    margin-bottom: 14px;
}
.footer-grid > div:not(:first-child) a {
    display: block;
    font-size: 13px;
    color: #8f96a8;
    margin-bottom: 8px;
}
.footer-bottom {
    border-top: 1px solid #212530;
    padding-top: 22px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #788092;
    font-size: 12px;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
    padding: 26px 0;
}
.page-heading {
    padding: 25px 0;
    max-width: 800px;
}
.page-heading h1 {
    font-size: 42px;
    margin-bottom: 14px;
}
.page-heading p {
    color: var(--muted);
}
.feature-ribbon {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    background: var(--surface);
    padding: 20px;
    border-radius: 12px;
    margin: 10px 0 35px;
}
.feature-ribbon img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: 100%;
    max-height: 190px;
    border-radius: 8px;
}
.feature-ribbon p {
    color: var(--muted);
    max-width: 720px;
}
.feature-ribbon h2 {
    margin-bottom: 8px;
}
.feature-ribbon .eyebrow {
    margin-bottom: 7px;
}
.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    margin-bottom: 20px;
    border-block: 1px solid var(--line);
}
select {
    background: #1b202c;
    border: 1px solid #353b4c;
    border-radius: 5px;
    padding: 8px 20px 8px 10px;
    margin-left: 10px;
}
#result-count {
    margin-left: auto;
    color: var(--muted);
    font-size: 14px;
}
.end-note, .empty-result {
    text-align: center;
    padding: 30px;
    color: var(--muted);
}
.detail-hero {
    display: grid;
    grid-template-columns: 265px minmax(0,1fr);
    gap: 45px;
    padding: 20px 0 40px;
}
.detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    background: #242938;
}
.detail-copy h1 {
    font-size: 42px;
    margin-bottom: 8px;
}
.detail-subtitle {
    color: var(--muted);
}
dl {
    display: grid;
    grid-template-columns: 130px 1fr 100px 1fr;
    font-size: 14px;
    gap: 12px;
}
dt {
    color: var(--muted);
}
dd {
    margin: 0;
}
.synopsis, .episodes, .stills {
    margin: 30px 0 42px;
}
.synopsis p {
    color: #bbc1cf;
    max-width: 950px;
    line-height: 1.9;
}
.episode-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.episode-list a {
    background: #1d2230;
    padding: 9px 23px;
    border-radius: 6px;
    border: 1px solid #303747;
}
.episode-list a.selected {
    border-color: var(--accent);
    color: var(--accent);
    background: #321a26;
}
.stills > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.stills img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #1e2433;
    border-radius: 9px;
}
.sibling-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 32px;
}
.text-page {
    max-width: 850px;
    padding-block: 45px 65px;
}
.text-page h1 {
    font-size: 36px;
}
.text-page p {
    color: #bbc1cf;
    line-height: 1.9;
}
.action-status {
    font-size: 14px;
    margin-top: 12px;
}
.image-unavailable {
    opacity: .5;
}
