:root {
    color-scheme: dark;
    --bg: #101114;
    --surface: #191b20;
    --surface-raised: #22252b;
    --line: #2b2d33;
    --text: #f1f2f5;
    --muted: #969ba5;
    --accent: #c6f36a;
    --max: 1320px;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}
img {
    display: block;
    max-width: 100%;
    object-fit: cover;
    color: #c1c6cc;
    font-size: 14px;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--accent);
}
button, input, select {
    font: inherit;
}
button, select {
    cursor: pointer;
}
button {
    color: inherit;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 14px;
}
button:hover {
    border-color: var(--accent);
}
button:disabled {
    opacity: .35;
    cursor: not-allowed;
}
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}
[hidden] {
    display: none !important;
}
h1, h2, h3, p {
    margin: 0;
}
h2 {
    font-size: 25px;
    letter-spacing: -.5px;
}
h3 {
    font-size: 16px;
}
.site-header {
    border-bottom: 1px solid var(--line);
    background: #101114f5;
}
.topbar, .main-nav, main, .mobile-banner, footer {
    width: calc(100% - 80px);
    max-width: var(--max);
    margin-inline: auto;
}
.topbar {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 88px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}
.brand small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 500;
    margin-top: 8px;
}
.search {
    margin-left: auto;
    display: flex;
    width: 350px;
    background: var(--surface-raised);
    border: 1px solid #303238;
    border-radius: 30px;
    align-items: center;
    height: 43px;
}
.search input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: none;
    color: white;
    padding: 9px 0 9px 20px;
    font-size: 14px;
}
.search button {
    border: 0;
    font-size: 28px;
    padding: 0 17px;
}
.history-link, .device-link {
    color: #c7cbd2;
    font-size: 14px;
    display: flex;
    gap: 8px;
    align-items: center;
    white-space: nowrap;
}
.main-nav {
    display: flex;
    gap: 38px;
    height: 58px;
    align-items: stretch;
    scrollbar-width: none;
}
.main-nav > a {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    white-space: nowrap;
    color: #b9bdc5;
    font-size: 15px;
}
.main-nav .active {
    color: var(--accent);
    font-weight: 700;
}
.main-nav .active::after {
    content: "";
    position: absolute;
    height: 3px;
    width: 22px;
    bottom: 0;
    left: calc(50% - 11px);
    background: var(--accent);
    border-radius: 5px;
}
.ico {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    flex: 0 0 20px;
    background: currentColor;
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
}
.ico-home {
    mask-image: url('../images/home.svg');
}
.ico-film {
    mask-image: url('../images/film.svg');
}
.ico-tv {
    mask-image: url('../images/tv.svg');
}
.ico-play {
    mask-image: url('../images/play.svg');
}
.ico-mic {
    mask-image: url('../images/mic.svg');
}
.ico-camera {
    mask-image: url('../images/camera.svg');
}
.ico-video {
    mask-image: url('../images/video.svg');
}
.ico-cup {
    mask-image: url('../images/cup.svg');
}
.ico-clock {
    mask-image: url('../images/clock.svg');
}
.ico-fire {
    mask-image: url('../images/fire.svg');
}
.hero {
    margin-top: 26px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #20262f;
    min-height: 480px;
    aspect-ratio: 2.65;
}
.hero-slides, .slide {
    position: absolute;
    inset: 0;
}
.slide {
    visibility: hidden;
    opacity: 0;
    transition: opacity .65s;
}
.slide.is-active {
    opacity: 1;
    visibility: visible;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-position: center 38%;
}
.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #11171ff5 0%, #11171fcc 31%, #11171f2b 73%), linear-gradient(0deg, #0d131bbb, transparent 50%);
}
.hero-copy {
    position: absolute;
    z-index: 1;
    top: 38px;
    left: 46px;
    max-width: 52%;
}
.eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.2px;
}
.hero-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 9px;
    font-size: 13px;
    color: #c0c8d1;
}
.hero-tags > span:first-child {
    border: 1px solid #b9d99466;
    background: #b7d56b19;
    color: #d5f6a5;
    padding: 1px 8px;
    border-radius: 4px;
}
.hero h2 {
    font-size: clamp(38px, 4vw, 58px);
    letter-spacing: 4px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 10px;
}
.hero-tagline {
    font-size: 19px;
    color: #e4e8ec;
    margin-bottom: 11px;
}
.hero-summary {
    font-size: 14px;
    max-width: 460px;
    color: #b1bac5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 11px 23px;
    font-size: 14px;
    border-radius: 7px;
    font-weight: 600;
    transition: background .2s, transform .2s;
}
.button:hover {
    transform: translateY(-2px);
}
.primary {
    color: #192214;
    background: var(--accent);
}
.primary:hover {
    color: #111;
    background: #d9ff96;
}
.glass {
    background: #ffffff1c;
    border: 1px solid #ffffff29;
    backdrop-filter: blur(12px);
}
.subtle {
    background: var(--surface-raised);
    border: 1px solid #ffffff13;
}
.hero-controls {
    position: absolute;
    z-index: 2;
    right: 30px;
    bottom: 25px;
    display: flex;
    gap: 14px;
    align-items: center;
}
.hero-controls > button {
    width: 32px;
    height: 32px;
    border: 1px solid #ffffff40;
    padding: 0;
    border-radius: 50%;
    background: #11111142;
}
.dots {
    display: flex;
    gap: 7px;
}
.dots button {
    padding: 0;
    width: 6px;
    height: 6px;
    background: #ffffff60;
    border: none;
    border-radius: 6px;
}
.dots button[aria-pressed="true"] {
    width: 24px;
    background: var(--accent);
}
.slide-count {
    color: #e7ebf2;
    font-size: 12px;
    letter-spacing: 3px;
}
.quick-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 25px 0 32px;
    padding-bottom: 27px;
    border-bottom: 1px solid var(--line);
}
.quick-nav > a {
    display: flex;
    gap: 6px;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--line);
}
.quick-nav > a:last-child {
    border: 0;
}
.quick-nav .ico {
    margin-right: 9px;
    color: var(--accent);
}
.quick-nav small {
    color: var(--muted);
    font-size: 12px;
}
.page-intro {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-top: 30px;
}
.page-intro h1 {
    font-size: 17px;
}
.page-intro p {
    color: var(--muted);
    font-size: 13px;
}
.live-dot {
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
}
.live-dot::before {
    content: "";
    width: 5px;
    height: 5px;
    display: inline-block;
    border-radius: 50%;
    background: var(--accent);
    margin: 0 7px 2px 0;
}
.shelf {
    margin: 35px 0 48px;
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 21px;
}
.section-head h2, .update-strip h2, .ranking-panel > h2 {
    display: flex;
    align-items: center;
    gap: 11px;
}
h2 .ico {
    color: var(--accent);
    width: 23px;
    height: 23px;
    flex-basis: 23px;
}
.section-head p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
}
.more {
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap;
}
.cards {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 23px 18px;
}
.card {
    min-width: 0;
}
.poster {
    display: block;
    aspect-ratio: 2 / 3;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #292d36, #19212a);
    border-radius: 9px;
    isolation: isolate;
}
.poster img {
    width: 100%;
    height: 100%;
    transition: transform .4s, opacity .3s;
}
.poster:hover img {
    transform: scale(1.04);
    opacity: .7;
}
.poster::after {
    content: "";
    position: absolute;
    inset: 60% 0 0;
    background: linear-gradient(transparent, #000b);
    pointer-events: none;
    z-index: 0;
}
.quality {
    position: absolute;
    top: 9px;
    right: 8px;
    background: #101114ae;
    border-radius: 3px;
    padding: 0 5px;
    color: #f4f4f4;
    font-size: 12px;
}
.poster-status {
    position: absolute;
    z-index: 1;
    bottom: 8px;
    right: 9px;
    font-size: 12px;
    color: white;
}
.play-hover {
    position: absolute;
    left: calc(50% - 25px);
    top: calc(50% - 25px);
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: #171d0e;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s;
}
.poster:hover .play-hover, .poster:focus-visible .play-hover {
    opacity: 1;
    transform: none;
}
.card h3 {
    margin: 10px 0 3px;
    font-size: 15px;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.meta {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
}
.meta > span {
    font-size: 12px;
    color: #747c89;
}
.card-tag {
    font-size: 12px;
    color: #858d98;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 5px;
}
.card-summary {
    display: none;
}
.catalog .card-summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 44px;
    overflow: hidden;
    margin-top: 8px;
    font-size: 13px;
    color: #9ba2ad;
}
.editorial-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 26px;
    margin: 50px 0;
}
.feature-panel, .ranking-panel {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 27px;
    background: var(--surface);
    min-width: 0;
}
.feature-panel {
    background: linear-gradient(125deg, #27322c, #171d20);
}
.feature-panel h2 {
    margin: 8px 0;
    font-size: 30px;
}
.feature-panel > p {
    color: #a8b1ac;
    font-size: 14px;
}
.mini-classics {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
}
.mini-classics img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    border-radius: 5px;
    margin-bottom: 10px;
}
.mini-classics span {
    font-size: 14px;
}
.mini-classics small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}
.rank-row {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid #ffffff0b;
}
.rank-no {
    font-size: 25px;
    font-weight: 750;
    font-style: italic;
    color: var(--accent);
    width: 32px;
    flex-shrink: 0;
}
.rank-row img {
    width: 45px;
    height: 60px;
    border-radius: 4px;
    background: #2b333c;
    flex-shrink: 0;
}
.rank-row h3 {
    font-size: 15px;
}
.rank-row p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}
.rank-arrow {
    margin-left: auto;
    color: var(--muted);
}
.rank-note {
    color: #858b95;
    margin-top: 14px;
    font-size: 12px;
}
.update-strip {
    display: flex;
    align-items: center;
    gap: 30px;
    border-block: 1px solid var(--line);
    padding: 27px 0;
    margin: 50px 0;
}
.update-strip h2 {
    margin: 7px 0;
}
.update-strip p {
    color: var(--muted);
    font-size: 13px;
}
.update-strip ol {
    display: flex;
    flex: 1;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 30px;
}
.update-strip li {
    display: flex;
    flex-direction: column;
    flex: 1;
    font-size: 14px;
}
.update-strip time, .update-strip li > span {
    font-size: 12px;
    color: #898f99;
}
.about-block {
    padding: 42px 0 44px;
    border-top: 1px solid var(--line);
    max-width: 100%;
}
.about-block h2 {
    font-size: 32px;
    margin: 10px 0 16px;
}
.about-block p {
    max-width: 950px;
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
    margin-bottom: 18px;
}
.mobile-banner {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px 35px;
    margin-top: 35px;
    margin-bottom: 45px;
    background: #1e2520;
    border: 1px solid #394432;
    border-radius: 12px;
}
.mobile-banner > img {
    flex: 0 0 76px;
}
.mobile-banner h2 {
    font-size: 24px;
}
.mobile-banner p {
    color: #aeb7aa;
    font-size: 13px;
    margin: 7px 0;
}
.mobile-banner small {
    color: #829078;
    font-size: 12px;
}
.mobile-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}
.footer-main {
    border-top: 1px solid var(--line);
    padding: 38px 0;
    display: grid;
    grid-template-columns: 2.3fr 1.2fr 1fr 1fr;
    gap: 35px;
}
.footer-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
}
.footer-main p {
    font-size: 13px;
    color: var(--muted);
    margin-top: 16px;
    line-height: 1.9;
}
.footer-main h3 {
    font-size: 14px;
    margin-bottom: 12px;
}
.footer-main > div:not(:first-child) a {
    display: block;
    color: var(--muted);
    font-size: 13px;
    padding: 3px 0;
}
.footer-main a:hover {
    color: var(--accent) !important;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6e7681;
    border-top: 1px solid var(--line);
    padding: 19px 0 27px;
}
.crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    margin: 28px 0;
    color: var(--muted);
}
.category-header {
    margin: 38px 0;
}
.category-header h1, .info-page h1 {
    font-size: 38px;
    margin: 8px 0 12px;
}
.category-header p {
    color: var(--muted);
}
.category-header small {
    color: #85907c;
}
.filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-block: 1px solid var(--line);
    margin-bottom: 18px;
}
.filters button {
    border: 0;
    font-size: 14px;
    color: var(--muted);
}
.filters button.selected {
    background: var(--accent);
    color: #192214;
}
select {
    background: var(--surface);
    color: #ced2d8;
    border: 1px solid var(--line);
    padding: 7px;
    border-radius: 5px;
    font-size: 14px;
}
.section-head label {
    font-size: 13px;
    color: var(--muted);
}
.muted, .end-note, .empty-state {
    color: var(--muted);
    font-size: 14px;
}
#result-count {
    margin-bottom: 20px;
}
.end-note, .empty-state {
    text-align: center;
    padding: 35px;
}
.detail-hero {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
}
.detail-poster {
    width: 250px;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    background: #242c36;
}
.detail-copy h1 {
    font-size: 40px;
    margin: 5px 0;
}
.detail-tagline {
    color: #b4bdc7;
}
.facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 25px;
    margin: 25px 0;
    font-size: 14px;
}
.facts > div {
    display: flex;
    gap: 12px;
}
.facts dt {
    color: #87919f;
    white-space: nowrap;
}
.facts dd {
    margin: 0;
}
.text-panel, .episode-panel {
    margin: 32px 0;
    padding: 27px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
}
.text-panel p {
    color: #b6bec9;
    line-height: 1.9;
    margin-top: 16px;
}
.episodes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0;
}
.episode {
    background: #242831;
    padding: 9px 24px;
    border-radius: 6px;
    font-size: 14px;
}
.episode.selected {
    background: var(--accent);
    color: #152013;
}
.stills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.stills img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #242831;
    border-radius: 8px;
}
.adjacent {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
    font-size: 14px;
    color: var(--muted);
}
.rank-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.rank-columns .ranking-panel {
    padding: 20px;
}
.rank-columns h2 {
    margin-bottom: 20px;
    font-size: 22px;
}
.rank-columns .rank-row {
    gap: 10px;
}
.info-page {
    max-width: 850px;
    margin: 60px auto 90px;
}
.info-page p {
    margin: 25px 0;
    color: #b6bec9;
    line-height: 2;
}
.history-list {
    min-height: 200px;
}
.history-item {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--line);
}
.history-item small {
    color: var(--muted);
}
.image-unavailable {
    opacity: .65;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}
