:root {
    --bg: #07090d;
    --panel: #10141b;
    --panel-soft: #171c25;
    --text: #f5f7fb;
    --muted: #9ba5b6;
    --line: rgba(255, 255, 255, 0.11);
    --lime: #c9ff47;
    --cyan: #65d6ff;
    --shell: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

body::before {
    position: fixed;
    z-index: -1;
    top: -20rem;
    right: -18rem;
    width: 48rem;
    height: 48rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(101, 214, 255, 0.11), transparent 66%);
    content: "";
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
}

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 9, 13, 0.88);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: 74px;
    align-items: center;
    gap: 22px;
}

.brand {
    flex: 0 0 auto;
}

.brand img,
.site-footer img {
    height: 42px;
}

.main-nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 4px;
}

.main-nav a {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 14px;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--text);
    background: var(--panel-soft);
}

.main-nav a.is-active span:first-child {
    color: var(--lime);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    background: var(--panel);
}

.hero {
    display: grid;
    min-height: 560px;
    margin-top: 42px;
    padding: 56px;
    overflow: hidden;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 48px;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: linear-gradient(135deg, #111721 0%, #0b0d12 52%, #14211b 100%);
}

.hero h1 {
    margin: 10px 0 0;
    font-size: clamp(3.8rem, 9vw, 7.6rem);
    line-height: 0.9;
    letter-spacing: -0.08em;
}

.hero h1 a {
    color: var(--lime);
}

.hero h2 {
    margin: 30px 0 12px;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    line-height: 1.25;
}

.hero-copy > p {
    max-width: 38rem;
    color: #c2cad7;
}

.kicker,
.section-index,
.eyebrow {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-actions,
.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    cursor: pointer;
    background: transparent;
    font-weight: 750;
}

.button.primary {
    border-color: var(--lime);
    color: #101500;
    background: var(--lime);
}

.button.ghost:hover {
    background: var(--panel-soft);
}

.hero-facts span {
    padding-right: 12px;
    border-right: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.hero-visual {
    position: relative;
    min-width: 0;
}

.hero-visual img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.5);
}

.hero-play,
.play-mark,
.vertical-play {
    position: absolute;
    display: grid;
    border-radius: 50%;
    place-items: center;
    color: #0a0d0f;
    background: var(--lime);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.hero-play {
    top: 50%;
    left: 50%;
    width: 76px;
    height: 76px;
    transform: translate(-50%, -50%);
    font-size: 25px;
}

.hero-caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(7, 9, 13, 0.82);
}

.section {
    margin-top: 104px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.section-head h2,
.classic-layout h2,
.ranking-copy h2,
.editor-note h2,
.about-block h2,
.app-copy h2,
.detail-copy h2,
.highlight-panel h2 {
    margin: 4px 0 0;
    font-size: clamp(1.85rem, 4vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-head > p,
.section-head > a {
    max-width: 31rem;
    color: var(--muted);
}

.spotlight-grid,
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.video-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
}

.poster {
    position: relative;
    display: block;
    overflow: hidden;
}

.poster img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.video-card:hover .poster img {
    transform: scale(1.045);
}

.play-mark {
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    transform: translate(-50%, -50%);
}

.duration {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.78);
    font-size: 12px;
}

.card-body {
    padding: 18px;
}

.card-body h3 {
    display: -webkit-box;
    min-height: 3.1em;
    margin: 6px 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.45;
}

.card-body p {
    display: -webkit-box;
    min-height: 4.8em;
    margin: 6px 0 12px;
    overflow: hidden;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 14px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #768195;
    font-size: 12px;
}

.update-strip,
.anime-band {
    padding: 76px 0;
    background: #0c1016;
}

.timeline {
    display: grid;
    border-top: 1px solid var(--line);
}

.timeline a {
    display: grid;
    padding: 20px 0;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid var(--line);
}

.timeline time {
    color: var(--lime);
    font-size: 1.4rem;
    font-weight: 800;
}

.timeline span {
    color: var(--muted);
}

.split-feature {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
    overflow: hidden;
    border-radius: 28px;
    background: #ebeef3;
    color: #10131a;
}

.feature-poster {
    position: relative;
}

.feature-poster img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.feature-copy {
    align-self: center;
    padding: 56px;
}

.feature-copy h2 {
    margin: 8px 0 34px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.feature-copy h3 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
}

.feature-copy p {
    color: #4f5868;
}

.text-link {
    display: inline-block;
    margin-top: 16px;
    font-weight: 800;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.category-tile {
    min-height: 245px;
    padding: 26px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    border-radius: 18px;
    background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 10%, var(--panel)), var(--panel));
}

.category-icon,
.channel-symbol {
    display: grid;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    place-items: center;
    color: #0b0e12;
    background: var(--accent);
    font-size: 24px;
    font-weight: 900;
}

.category-tile h3 {
    margin: 22px 0 8px;
    font-size: 1.3rem;
}

.category-tile p {
    min-height: 6.6em;
    color: var(--muted);
    font-size: 14px;
}

.category-tile > span:last-child {
    color: var(--accent);
    font-weight: 800;
}

.short-stage {
    padding: 38px;
    border-radius: 30px;
    background: linear-gradient(120deg, #25101a, #12121d);
}

.short-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.short-card {
    position: relative;
    min-width: 0;
}

.short-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    object-fit: cover;
}

.vertical-play {
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
}

.short-card strong,
.short-card small {
    display: block;
}

.short-card strong {
    margin-top: 12px;
}

.short-card small {
    color: var(--muted);
}

.anime-band {
    background: linear-gradient(180deg, #0d1820, #0a0d12);
}

.poster-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.poster-rail .poster img {
    aspect-ratio: 4 / 5;
}

.poster-rail .card-body p {
    display: none;
}

.classic-layout,
.editor-picks,
.about-block,
.detail-copy,
.highlight-panel {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 80px;
}

.classic-list {
    border-top: 1px solid var(--line);
}

.classic-list a {
    display: grid;
    padding: 24px 0;
    grid-template-columns: 50px 1fr auto;
    gap: 14px;
    border-bottom: 1px solid var(--line);
}

.classic-list span {
    color: var(--lime);
    font-weight: 900;
}

.classic-list small {
    color: var(--muted);
}

.premiere-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.premiere-track article {
    display: grid;
    min-height: 280px;
    padding: 28px;
    grid-template-rows: auto 1fr;
    border-radius: 22px;
    color: #11151c;
    background: #c9ff47;
}

.premiere-track article:nth-child(2) {
    background: #65d6ff;
}

.premiere-track article:nth-child(3) {
    background: #ff8b6a;
}

.premiere-track time {
    font-size: 2rem;
    font-weight: 900;
}

.premiere-track div {
    align-self: end;
}

.premiere-track h3 {
    margin: 6px 0;
    font-size: 1.45rem;
}

.premiere-track p {
    margin-bottom: 0;
}

.ranking-layout {
    display: grid;
    padding: 52px;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 70px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--panel);
}

.ranking-copy p {
    color: var(--muted);
}

.ranking-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-list li {
    display: grid;
    padding: 15px 0;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--line);
}

.rank-number {
    color: var(--lime);
    font-size: 1.4rem;
    font-weight: 900;
}

.ranking-list small {
    display: block;
    color: var(--muted);
}

.ranking-list em {
    color: #ffb347;
    font-style: normal;
}

.topic-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 18px;
}

.topic-grid a {
    position: relative;
    display: flex;
    min-height: 265px;
    padding: 28px;
    overflow: hidden;
    flex-direction: column;
    justify-content: end;
    border-radius: 22px;
}

.topic-grid .topic-large {
    min-height: 548px;
    grid-row: span 2;
}

.topic-grid img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topic-grid a::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(transparent 25%, rgba(0, 0, 0, 0.85));
    content: "";
}

.topic-grid h3 {
    margin: 5px 0;
    font-size: 1.8rem;
}

.topic-grid p {
    margin: 0;
    color: #d6dbe3;
}

.editor-picks {
    padding: 58px;
    border-radius: 30px;
    color: #11151c;
    background: #f0f2f5;
}

.editor-note blockquote {
    margin: 28px 0;
    font-size: 1.5rem;
    font-weight: 800;
}

.mini-picks {
    display: grid;
    gap: 12px;
}

.mini-picks a {
    display: grid;
    padding-bottom: 12px;
    grid-template-columns: 110px 1fr;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #d2d6dd;
}

.mini-picks img {
    width: 110px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    object-fit: cover;
}

.mini-picks small {
    display: block;
    color: #667081;
}

.tag-cloud {
    display: grid;
    grid-template-columns: 0.55fr 1.45fr;
    align-items: start;
    gap: 60px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tags a {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #dce2eb;
    background: var(--panel);
}

.tags a:hover {
    border-color: var(--lime);
    color: var(--lime);
}

.about-block {
    padding-top: 74px;
    border-top: 1px solid var(--line);
}

.about-block p {
    margin-top: 0;
    color: #c1c8d4;
    font-size: 1.06rem;
}

.app-callout {
    display: grid;
    margin-bottom: 104px;
    padding: 48px;
    grid-template-columns: 1fr 250px;
    align-items: center;
    gap: 50px;
    border-radius: 30px;
    color: #0c1015;
    background: linear-gradient(120deg, var(--lime), #65d6ff);
}

.app-copy p {
    max-width: 44rem;
}

.app-copy .button {
    border-color: #0b0d12;
    color: var(--text);
    background: #0b0d12;
}

.subscribe-status {
    display: block;
    margin-top: 12px;
}

.brand-code {
    display: grid;
    width: 210px;
    height: 210px;
    padding: 20px;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border: 10px solid #0b0d12;
    background: #fff;
}

.brand-code span {
    display: grid;
    grid-column: span 2;
    grid-row: span 2;
    place-items: center;
    color: #fff;
    background: #0b0d12;
    font-size: 2.3rem;
    font-weight: 900;
}

.brand-code i {
    background: #0b0d12;
}

.brand-code i:nth-of-type(2),
.brand-code i:nth-of-type(5) {
    background: var(--lime);
}

.brand-code b {
    grid-column: span 3;
    align-self: center;
    text-align: center;
    font-size: 13px;
}

.site-footer {
    padding: 64px 0 24px;
    border-top: 1px solid var(--line);
    background: #05070a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.35fr;
    gap: 44px;
}

.footer-grid p,
.footer-grid a {
    display: block;
    margin: 8px 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 1rem;
}

.copyright {
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: #626d80;
    font-size: 13px;
}

.back-top {
    position: fixed;
    z-index: 40;
    right: 24px;
    bottom: 24px;
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    background: var(--panel-soft);
}

.back-top.is-visible {
    display: block;
}

.breadcrumb {
    display: flex;
    margin-top: 34px;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.channel-hero {
    --accent: var(--channel);
    display: grid;
    margin-top: 28px;
    padding: 50px;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 46px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--channel) 14%, #10141b), #0b0e13);
}

.channel-hero h1 {
    margin: 10px 0;
    font-size: clamp(2.6rem, 6vw, 5.5rem);
    line-height: 1;
}

.channel-hero p {
    color: #b4bdcb;
}

.channel-feature {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
}

.channel-feature img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.channel-feature strong {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 32px 18px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.catalog-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.catalog-grid .card-body p {
    -webkit-line-clamp: 4;
}

.channel-hot {
    display: grid;
    margin-bottom: 104px;
    padding: 46px;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 65px;
    border-radius: 26px;
    color: #11151c;
    background: #eef1f4;
}

.channel-hot h2 {
    margin: 8px 0;
    font-size: 2.3rem;
}

.channel-hot ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.channel-hot li {
    display: grid;
    padding: 15px 0;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    border-bottom: 1px solid #d0d5dd;
}

.channel-hot li > span {
    font-size: 1.25rem;
    font-weight: 900;
}

.channel-hot small {
    display: block;
    color: #626c7c;
}

.video-detail {
    margin-top: 28px;
    margin-bottom: 104px;
}

.video-title-block {
    display: grid;
    margin-bottom: 34px;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 60px;
}

.video-title-block h1 {
    max-width: 900px;
    margin: 10px 0 14px;
    font-size: clamp(2rem, 5vw, 4.6rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.video-title-block p {
    max-width: 800px;
    color: #b9c1ce;
}

.video-title-block dl {
    display: flex;
    margin: 0;
    gap: 22px;
}

.video-title-block dt {
    color: var(--muted);
    font-size: 12px;
}

.video-title-block dd {
    margin: 0;
    white-space: nowrap;
    font-weight: 750;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #000;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.4);
}

.player-shell video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.player-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 86px;
    height: 86px;
    border: 0;
    border-radius: 50%;
    place-items: center;
    transform: translate(-50%, -50%);
    color: #0b0e13;
    cursor: pointer;
    background: var(--lime);
    font-size: 28px;
}

.custom-controls {
    position: absolute;
    right: 18px;
    bottom: 15px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.custom-controls i {
    height: 4px;
    flex: 1;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lime) 0 18%, #717a87 18%);
}

.watch-note {
    margin: 16px 0 0;
    padding: 14px 18px;
    border-left: 3px solid var(--lime);
    color: var(--muted);
    background: var(--panel);
}

.detail-copy,
.scene-gallery,
.highlight-panel,
.related-section,
.end-note {
    margin-top: 88px;
}

.detail-copy p,
.highlight-panel li {
    color: #c0c8d4;
    font-size: 1.03rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.gallery-grid figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.gallery-grid figcaption {
    padding: 14px 18px;
    color: var(--muted);
    font-size: 14px;
}

.highlight-panel {
    padding: 42px;
    border-radius: 24px;
    background: linear-gradient(135deg, #152219, #10141b);
}

.highlight-panel ul {
    margin: 0;
}

.highlight-panel li {
    margin-bottom: 14px;
}

.episode-nav {
    display: grid;
    margin-top: 70px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.episode-nav > a:not(.back-channel),
.episode-end {
    min-height: 80px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
}

.episode-nav > a:last-child {
    text-align: right;
}

.episode-nav span,
.episode-nav small {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.back-channel {
    padding: 10px 15px;
    border-radius: 999px;
    color: #0d1117;
    background: var(--lime);
    font-weight: 800;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.end-note {
    padding: 44px;
    border: 1px dashed rgba(201, 255, 71, 0.45);
    border-radius: 24px;
    text-align: center;
}

.end-note > span {
    color: var(--lime);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
}
