:root {
    color-scheme: dark;
    --bg: #080b12;
    --panel: #101622;
    --panel-strong: #151d2c;
    --line: rgba(255, 255, 255, 0.1);
    --text: #f4f7fb;
    --muted: #9aa7b8;
    --cyan: #30e6d1;
    --coral: #ff5c68;
    --gold: #ffc857;
    --radius: 18px;
    --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--text);
    background: radial-gradient(circle at 85% 0%, rgba(48, 230, 209, 0.09), transparent 28rem), var(--bg);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.shell {
    width: min(1320px, calc(100% - 48px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 11, 18, 0.88);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 240px;
    gap: 28px;
    align-items: center;
    min-height: 76px;
}

.brand-heading {
    margin: 0;
    font-size: 1rem;
}

.brand img {
    width: 188px;
    height: 44px;
}

.main-nav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-link {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 7px;
    align-items: center;
    padding: 10px 11px;
    color: var(--muted);
    border-radius: 12px;
    font-size: 14px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
    background: rgba(48, 230, 209, 0.1);
}

.site-search {
    display: flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.site-search input {
    width: 100%;
    padding: 10px 4px;
    color: var(--text);
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 14px;
}

.menu-button {
    display: none;
}

.hero {
    margin-top: 28px;
}

.hero-stage {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #10141d;
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 500ms ease, visibility 500ms ease;
}

.hero-slide.is-active {
    visibility: visible;
    opacity: 1;
}

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 10, 17, 0.98) 0%, rgba(7, 10, 17, 0.78) 38%, rgba(7, 10, 17, 0.08) 75%), linear-gradient(0deg, rgba(7, 10, 17, 0.62), transparent 45%);
}

.hero-content {
    position: absolute;
    z-index: 2;
    left: clamp(28px, 5vw, 76px);
    top: 50%;
    width: min(570px, 76%);
    transform: translateY(-50%);
}

.hero-kicker,
.eyebrow {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-content h2 {
    margin: 10px 0 4px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.hero-content p {
    display: -webkit-box;
    max-width: 52ch;
    overflow: hidden;
    color: #d0d8e4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hero-meta,
.hero-actions,
.detail-tags,
.detail-actions,
.app-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-meta span,
.detail-tags span {
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #d7dfeb;
    background: rgba(255, 255, 255, 0.06);
    font-size: 13px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 800;
}

.button-primary {
    color: #06110f;
    background: var(--cyan);
    box-shadow: 0 10px 30px rgba(48, 230, 209, 0.2);
}

.button-ghost {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.07);
}

.hero-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 46px;
    height: 46px;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(5, 8, 13, 0.7);
    cursor: pointer;
    transform: translateY(-50%);
}

.hero-prev { left: 18px; }
.hero-next { right: 18px; }

.hero-dots {
    position: absolute;
    z-index: 4;
    right: 32px;
    bottom: 26px;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 250ms ease, background 250ms ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: var(--cyan);
}

.now-strip {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: stretch;
    margin-top: 22px;
}

.now-label {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 16px 22px;
    border-radius: 16px;
    color: #1a080a;
    background: var(--coral);
}

.now-label h2 { margin: 0; font-size: 18px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: white; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2); }

.now-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
}

.now-list a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-right: 1px solid var(--line);
}

.now-list span { color: var(--muted); font-size: 13px; }

.content-section,
.update-board,
.split-feature,
.documentary-band,
.ranking-panel,
.about-panel,
.app-banner,
.catalog,
.detail-section,
.stills,
.watch-shell,
.watch-episodes,
.watch-description,
.rank-board,
.prose-panel {
    margin-top: 78px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 5px 0 0;
    font-size: clamp(26px, 3vw, 38px);
    letter-spacing: -0.04em;
}

.section-heading > a,
.text-link {
    color: var(--cyan);
    font-weight: 800;
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}

.poster-card {
    min-width: 0;
}

.poster-link {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.poster-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(145deg, #172132, #0d111a);
}

.poster-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.poster-link:hover .poster-media img { transform: scale(1.045); }

.quality-badge,
.score-badge {
    position: absolute;
    top: 10px;
    padding: 4px 8px;
    border-radius: 8px;
    color: #08100f;
    background: var(--cyan);
    font-size: 12px;
    font-weight: 900;
}

.quality-badge { left: 10px; }
.score-badge { right: 10px; color: #1c1000; background: var(--gold); }

.poster-body {
    display: grid;
    gap: 3px;
    padding: 14px 3px 0;
}

.poster-body strong {
    overflow: hidden;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.poster-body span { color: var(--muted); font-size: 13px; }
.poster-body .status-text { color: #d9e3ee; }

.section-tv .poster-card:nth-child(even) { transform: translateY(22px); }
.section-variety { padding: 38px; border-radius: 28px; background: linear-gradient(145deg, #24172b, #111621); }
.section-anime .poster-media { border-radius: 34px 34px 14px 14px; }
.section-short .poster-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.section-short .poster-card { padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }

.update-board {
    padding: 34px;
    color: #111923;
    border-radius: 28px;
    background: #eef3f8;
}

.update-board .eyebrow { color: #087a70; }
.section-heading-light a { color: #087a70; font-weight: 800; }
.update-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border-radius: 16px; background: #cad4df; }
.update-list a { display: grid; grid-template-columns: 56px 40px 1fr auto; gap: 12px; align-items: center; padding: 18px; background: white; }
.update-list time { color: #647283; font-size: 13px; }
.update-list small { display: block; color: #647283; }
.update-list b { color: #087a70; }

.split-feature {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--panel);
}

.split-copy { position: relative; padding: clamp(32px, 5vw, 70px); }
.split-copy h2 { margin: 8px 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; }
.split-copy p { color: var(--muted); }
.score-ring { display: inline-grid; width: 110px; height: 110px; place-content: center; margin: 18px 24px 18px 0; border: 8px solid rgba(48, 230, 209, 0.18); border-top-color: var(--cyan); border-radius: 50%; text-align: center; }
.score-ring strong { font-size: 28px; line-height: 1; }
.score-ring span { color: var(--muted); font-size: 12px; }
.split-image { position: relative; min-height: 430px; }
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-image span { position: absolute; right: 20px; bottom: 20px; padding: 8px 12px; border-radius: 10px; background: rgba(8, 11, 18, 0.78); }

.documentary-band { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 28px; padding: 38px; border-radius: 30px; background: #12231e; }
.documentary-intro h2 { margin: 8px 0; font-size: 40px; line-height: 1.15; }
.documentary-intro p { color: #b9c9c3; }
.documentary-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.documentary-stack a { position: relative; min-height: 330px; overflow: hidden; border-radius: 18px; }
.documentary-stack img { width: 100%; height: 100%; object-fit: cover; }
.documentary-stack span { position: absolute; inset: auto 0 0; padding: 60px 16px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); }
.documentary-stack small { display: block; color: #bfcec9; }

.ranking-panel { display: grid; grid-template-columns: 0.5fr 1.5fr; gap: 30px; padding: 38px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(130deg, #171d2b, #0e1119); }
.ranking-copy h2 { margin: 7px 0; font-size: 42px; }
.ranking-copy p { color: var(--muted); }
.ranking-copy a { color: var(--cyan); font-weight: 800; }
.rank-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rank-list li { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.rank-number { color: var(--coral); font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.rank-list a { display: grid; }
.rank-list span { color: var(--muted); font-size: 12px; }
.rank-list b { color: var(--gold); }

.about-panel { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; padding: 46px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-mark { display: grid; width: 120px; height: 120px; place-content: center; border-radius: 32px; color: #07100f; background: var(--cyan); font-size: 40px; font-weight: 950; transform: rotate(-6deg); }
.about-panel h2 { margin: 7px 0; font-size: 36px; }
.about-panel p { max-width: 80ch; color: var(--muted); }

.app-banner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; margin-bottom: 78px; padding: 48px; overflow: hidden; border-radius: 30px; color: #09100f; background: linear-gradient(120deg, #30e6d1, #b8fff2); }
.app-copy h2 { margin: 7px 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; }
.app-copy .eyebrow { color: #0c655e; }
.app-copy p { max-width: 66ch; }
.app-copy .button-primary { color: white; background: #0b1517; }
.app-copy .button-ghost { color: #0b1517; border-color: rgba(0, 0, 0, 0.22); }
.app-code { display: grid; gap: 8px; justify-items: center; font-size: 13px; }
.app-code img { border-radius: 16px; background: white; }

.site-footer { border-top: 1px solid var(--line); background: #06080d; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.7fr 0.7fr; gap: 60px; padding-block: 58px; }
.footer-brand p { max-width: 55ch; color: var(--muted); }
.site-footer h2 { margin-top: 0; font-size: 16px; }
.site-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 20px; border-top: 1px solid var(--line); color: #788596; font-size: 13px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 24px; color: var(--muted); font-size: 13px; }
.breadcrumb a:hover { color: var(--cyan); }
.channel-hero,
.rank-hero,
.simple-hero { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-top: 32px; padding: 48px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(135deg, #141c2b, #0c111b); }
.channel-hero > div { max-width: 780px; }
.channel-icon { font-size: 48px; }
.channel-hero h1,
.rank-hero h1,
.simple-hero h1 { margin: 8px 0; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -0.05em; }
.channel-hero p,
.rank-hero p,
.simple-hero p { max-width: 76ch; color: var(--muted); }
.channel-count { color: var(--muted); }
.channel-count strong { display: block; color: var(--cyan); font-size: 52px; line-height: 1; }
.category-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
.category-feature { position: relative; min-height: 330px; overflow: hidden; border-radius: 24px; }
.category-feature img { width: 100%; height: 100%; object-fit: cover; }
.category-feature > div { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: end; padding: 28px; background: linear-gradient(transparent 5%, rgba(4, 7, 12, 0.94)); }
.category-feature h2 { margin: 3px 0; font-size: 34px; }
.category-feature p { display: -webkit-box; max-width: 62ch; overflow: hidden; color: #c7d1de; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.category-feature .button { align-self: start; }
.catalog-toolbar { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.catalog-toolbar h2 { margin: 4px 0 0; font-size: 38px; }
.catalog-toolbar label { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.catalog-toolbar select { padding: 9px 14px; color: var(--text); border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.filter-pills { display: flex; gap: 8px; margin: 24px 0; overflow-x: auto; }
.filter-pills button { flex: 0 0 auto; padding: 8px 15px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; }
.filter-pills button.is-active { color: #07100f; border-color: var(--cyan); background: var(--cyan); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 38px; }
.pagination > * { padding: 9px 16px; border: 1px solid var(--line); border-radius: 10px; }
.pagination span { color: #07100f; background: var(--cyan); }

.detail-hero { position: relative; display: grid; grid-template-columns: 280px 1fr 130px; gap: 36px; margin-top: 28px; padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: var(--panel); }
.detail-poster { margin: 0; }
.detail-poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 18px; }
.detail-poster figcaption { margin-top: 8px; color: var(--muted); text-align: center; font-size: 13px; }
.detail-info h1 { margin: 6px 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.05em; }
.alias { color: var(--muted); }
.detail-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; margin: 24px 0; }
.detail-meta div { display: grid; grid-template-columns: 72px 1fr; }
.detail-meta dt { color: var(--muted); }
.detail-meta dd { margin: 0; }
.detail-summary { max-width: 74ch; color: #cbd5e1; }
.detail-score { display: grid; align-content: start; justify-items: center; padding: 18px; border-left: 1px solid var(--line); }
.detail-score strong { color: var(--gold); font-size: 52px; line-height: 1; }
.detail-score span,
.detail-score small { color: var(--muted); }
.detail-section { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; }
.detail-copy,
.episode-panel,
.watch-description { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.detail-copy h2,
.watch-description h2 { margin: 6px 0; font-size: 34px; }
.detail-copy p,
.watch-description p { color: var(--muted); }
.episode-panel .section-heading { align-items: center; }
.episode-panel .section-heading > span { color: var(--muted); }
.episode-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.episode-grid a { padding: 11px; border: 1px solid var(--line); border-radius: 10px; text-align: center; background: rgba(255, 255, 255, 0.035); }
.episode-grid a:hover,
.episode-grid a.is-active { color: #07100f; border-color: var(--cyan); background: var(--cyan); }
.stills-grid { display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr; gap: 14px; }
.stills-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; }

.watch-heading { display: flex; justify-content: space-between; gap: 22px; align-items: end; margin-bottom: 20px; }
.watch-heading h1 { margin: 5px 0 0; font-size: clamp(32px, 4vw, 52px); }
.watch-heading > a { color: var(--cyan); }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 22px; background: #000; box-shadow: var(--shadow); }
.video-frame video { width: 100%; height: 100%; object-fit: contain; }
.video-note { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 10px; align-items: center; max-width: 430px; padding: 10px 14px; border-radius: 12px; background: rgba(7, 10, 15, 0.8); pointer-events: none; }
.video-note p { margin: 0; color: #cad4df; font-size: 13px; }
.video-note span { color: var(--cyan); }
.watch-controls { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 16px; }
.watch-controls a { padding: 11px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); }
.watch-controls a:last-child { text-align: right; }
.watch-controls span { color: var(--muted); font-size: 13px; }
.watch-episodes { margin-top: 32px; }

.rank-hero { display: block; }
.rank-board { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rank-column { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.rank-column-title { display: flex; gap: 12px; align-items: center; }
.rank-column-title h2 { margin: 0; }
.rank-column ol { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.rank-column li { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); }
.rank-column li a { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.rank-column img { width: 56px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; }
.rank-column small { color: var(--muted); }
.rank-column b { color: var(--gold); }

.simple-hero { display: block; }
.prose-panel { padding: 42px; border: 1px solid var(--line); border-radius: 28px; background: var(--panel); }
.prose-panel > h2 { font-size: 38px; }
.prose-panel > p { max-width: 78ch; color: var(--muted); }
.prose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.prose-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.03); }
.prose-grid article > span { color: var(--coral); font-size: 28px; font-weight: 900; }
.prose-grid h3 { margin: 8px 0; }
.prose-grid p { color: var(--muted); }

[hidden] { display: none !important; }
