:root {
    --bg: #080912;
    --panel: #11131f;
    --panel-2: #171a2a;
    --text: #f5f6fb;
    --muted: #a4a8ba;
    --line: rgba(255, 255, 255, .1);
    --accent: #ff3566;
    --purple: #8c5cff;
    --cyan: #2bd9d0;
    --radius: 18px;
    --shell: min(1320px, calc(100% - 48px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    background: radial-gradient(circle at 15% 15%, rgba(140, 92, 255, .11), transparent 28%), radial-gradient(circle at 85% 40%, rgba(255, 53, 102, .08), transparent 25%);
}

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

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

button,
input {
    font: inherit;
}

svg {
    width: 1.2em;
    height: 1.2em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

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

.header-row {
    display: flex;
    align-items: center;
    min-height: 76px;
    gap: 26px;
}

.brand-heading {
    flex: 0 0 auto;
    margin: 0;
    line-height: 0;
}

.brand img,
.footer-logo {
    width: 156px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 11px;
    border-radius: 10px;
    color: #c8cad6;
    font-size: 14px;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 53, 102, .18), rgba(140, 92, 255, .16));
}

.search {
    display: flex;
    align-items: center;
    max-width: 220px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: rgba(255, 255, 255, .045);
}

.search input {
    width: 100%;
    padding: 9px 4px 9px 15px;
    color: #fff;
    border: 0;
    outline: 0;
    background: transparent;
}

.search button,
.menu-toggle {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    color: #fff;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle {
    display: none;
}

.hero {
    position: relative;
    min-height: 610px;
    margin-top: 22px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity .65s ease, visibility .65s;
}

.hero-slide.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, 8, 15, .96) 0%, rgba(7, 8, 15, .6) 46%, rgba(7, 8, 15, .12) 75%), linear-gradient(0deg, var(--bg), transparent 35%);
}

.hero-copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-copy h2 {
    max-width: 680px;
    margin: 14px 0 0;
    font-size: clamp(44px, 6vw, 84px);
    line-height: 1.03;
    letter-spacing: -.05em;
}

.hero-tag,
.eyebrow {
    display: inline-flex;
    color: #ff7a9a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.hero-meta {
    color: #fff;
    font-weight: 700;
}

.hero-desc {
    display: -webkit-box;
    max-width: 620px;
    overflow: hidden;
    color: #c7cad6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 99px;
    font-weight: 800;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #d51d73);
    box-shadow: 0 12px 36px rgba(255, 53, 102, .28);
}

.btn-glass,
.btn-ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    color: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(8, 9, 18, .46);
    cursor: pointer;
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.slider-dots {
    position: absolute;
    bottom: 44px;
    left: 50%;
    z-index: 4;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.slider-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .4);
    transition: width .25s;
}

.slider-dots button.active {
    width: 28px;
    background: var(--accent);
}

.now-strip {
    border-block: 1px solid var(--line);
    background: #0d0f19;
}

.strip-inner {
    display: flex;
    min-height: 68px;
    align-items: center;
    gap: 26px;
}

.strip-inner > span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff6b8f;
    font-weight: 800;
}

.ticker {
    display: flex;
    flex: 1;
    gap: 14px;
    overflow: hidden;
    white-space: nowrap;
}

.ticker i {
    color: var(--muted);
    font-style: normal;
}

.strip-inner > a,
.text-link {
    color: #bbb0ff;
    font-weight: 700;
}

.content-section,
.catalog,
.recommend,
.stills {
    padding: 72px 0;
}

.content-section:nth-child(even) {
    background: rgba(255, 255, 255, .018);
}

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

.section-head > div {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: -.03em;
}

.section-head p {
    grid-column: 2;
    max-width: 700px;
    margin: 4px 0 0;
    color: var(--muted);
}

.section-head > a {
    flex: 0 0 auto;
    color: #c7bcff;
}

.section-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--purple));
}

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

.media-card {
    min-width: 0;
}

.poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.poster::after {
    position: absolute;
    inset: 35% 0 0;
    content: "";
    background: linear-gradient(transparent, rgba(5, 6, 12, .85));
}

.media-card:hover .poster img {
    transform: scale(1.055);
}

.quality,
.score {
    position: absolute;
    top: 12px;
    z-index: 2;
    padding: 4px 9px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.quality { left: 12px; background: rgba(255, 53, 102, .86); }
.score { right: 12px; color: #1a1420; background: #ffd166; }

.play-orb {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: #131520;
    opacity: 0;
    transform: translateY(8px);
    transition: .25s ease;
}

.media-card:hover .play-orb {
    opacity: 1;
    transform: none;
}

.card-body {
    padding: 14px 3px 0;
}

.card-body h3 {
    display: -webkit-box;
    min-height: 28px;
    margin: 0;
    overflow: hidden;
    font-size: 17px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.card-body p {
    margin: 3px 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card-body > span {
    color: #777d91;
    font-size: 12px;
}

.variant-2 .poster { border-radius: 80px 80px 18px 18px; }
.variant-3 .media-card:nth-child(even) { transform: translateY(18px); }
.variant-4 .poster { box-shadow: 8px 8px 0 rgba(140, 92, 255, .13); }
.variant-5 .card-body { margin: -26px 10px 0; padding: 14px; position: relative; z-index: 4; border-radius: 12px; background: var(--panel-2); }
.variant-6 .poster { border-radius: 4px; }

.rank-home {
    padding: 80px 0;
    background: linear-gradient(120deg, rgba(140, 92, 255, .16), rgba(255, 53, 102, .08));
}

.split-rank {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 70px;
    align-items: center;
}

.split-rank h2,
.about-panel h2,
.mobile-inner h2 {
    margin: 8px 0;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.15;
}

.split-rank p,
.about-panel p,
.mobile-inner p {
    color: var(--muted);
}

.split-rank ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.split-rank li {
    display: grid;
    grid-template-columns: 52px 1fr 1fr 50px;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid var(--line);
}

.split-rank li > span {
    color: #ff668b;
    font-size: 22px;
    font-weight: 900;
}

.split-rank em {
    color: var(--muted);
    font-style: normal;
}

.split-rank li > b {
    color: #ffd166;
}

.upcoming {
    padding: 76px 0;
}

.premiere-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.premiere-row article {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, #171927, #0e101a);
}

.premiere-row time {
    color: #ff6b8f;
    font-size: 30px;
    font-weight: 900;
}

.premiere-row h3 { margin: 18px 0 0; }
.premiere-row p { margin: 0; color: var(--muted); }

.about-home {
    padding: 20px 0 90px;
}

.about-panel {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--panel);
}

.brand-mark {
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    font-size: 32px;
}

.mobile-cta {
    padding: 56px 0;
    background: #171424;
    border-top: 1px solid var(--line);
}

.mobile-inner {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 34px;
}

.mobile-inner > img {
    width: 120px;
    border-radius: 18px;
}

.mobile-inner h2 { font-size: 34px; }

.site-footer {
    padding: 62px 0 24px;
    background: #06070c;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr repeat(3, 1fr);
    gap: 54px;
}

.footer-grid h3 { margin-top: 0; }
.footer-grid p { color: #777b8e; }
.footer-grid a { display: block; margin: 9px 0; color: #adb0be; }
.copyright { margin-top: 50px; padding-top: 20px; color: #676b7c; border-top: 1px solid var(--line); font-size: 13px; }

.inner-main {
    min-height: 70vh;
    padding-bottom: 80px;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 28px 0;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb strong { color: #fff; }

.channel-hero,
.rank-title {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 170px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(115deg, rgba(255, 53, 102, .12), rgba(140, 92, 255, .1));
}

.channel-hero h1,
.rank-title h1,
.simple-hero h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 62px);
    letter-spacing: -.04em;
}

.channel-hero p,
.rank-title p { margin: 2px 0 0; color: var(--muted); }
.channel-stat { margin-left: auto; text-align: center; }
.channel-stat b { display: block; color: #ff7193; font-size: 42px; }
.channel-stat span { color: var(--muted); font-size: 13px; }

.featured {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    min-height: 380px;
    margin-top: 28px;
    overflow: hidden;
    border-radius: 24px;
    background: var(--panel);
}

.featured > img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
}

.featured > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 42px;
}

.featured h2 { margin: 8px 0; font-size: 38px; }
.featured p { color: var(--muted); }

.filter-panel {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
}

.filter-panel > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-panel b { margin-right: 8px; }
.filter-panel button { padding: 7px 12px; color: var(--muted); border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.filter-panel button.active { color: #fff; background: rgba(140, 92, 255, .25); }
.pagination { display: flex; justify-content: center; gap: 12px; margin-top: 36px; color: var(--muted); }
.pagination .current { display: grid; width: 32px; height: 32px; place-items: center; color: #fff; border-radius: 50%; background: var(--accent); }

.detail-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    border-radius: 26px;
}

.detail-backdrop,
.detail-fade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.detail-backdrop { object-fit: cover; opacity: .55; }
.detail-fade { background: linear-gradient(90deg, rgba(8, 9, 18, .96), rgba(8, 9, 18, .65) 60%, rgba(8, 9, 18, .35)), linear-gradient(0deg, #080912, transparent 45%); }

.detail-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 42px;
    align-items: end;
    min-height: 620px;
    padding: 54px;
}

.detail-poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.45);
}

.detail-info h1 { margin: 8px 0; font-size: clamp(42px, 6vw, 72px); line-height: 1; letter-spacing: -.05em; }
.detail-info > p { max-width: 760px; color: #c6c8d4; }
.detail-info .alias { color: #8f93a5; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.chips span { padding: 5px 11px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.06); font-size: 13px; }
.detail-info dl { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 720px; gap: 8px 30px; }
.detail-info dl div { display: flex; gap: 12px; }
.detail-info dt { color: #777b8e; }
.detail-info dd { margin: 0; }

.episode-panel,
.player-info {
    margin-top: 34px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel);
}

.episodes { display: flex; flex-wrap: wrap; gap: 10px; }
.episodes a { display: grid; min-width: 72px; height: 42px; padding: 0 12px; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: #0c0e17; }
.episodes a:hover,
.episodes a.active { border-color: var(--accent); background: rgba(255,53,102,.13); }

.still-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.still-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }

.neighbor { display: flex; justify-content: space-between; padding: 26px 0; border-top: 1px solid var(--line); }

.player-page { background: #05060a; }
.player-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 8px 0 20px; }
.player-heading > div { display: flex; align-items: center; gap: 12px; }
.player-heading h1 { margin: 0; font-size: clamp(25px, 3vw, 38px); }
.player-heading > a { color: #b6a7ff; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.player-wrap { overflow: hidden; border: 1px solid #2b2e40; border-radius: 20px; background: #000; box-shadow: 0 30px 100px rgba(0,0,0,.55); }
.player-wrap video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.play-notice { margin: 0; padding: 12px 18px; color: #85899b; background: #0c0d14; font-size: 13px; }
.player-controls { display: grid; grid-template-columns: 120px 1fr 120px; align-items: center; gap: 20px; margin-top: 20px; }
.player-controls > a { text-align: center; color: #cbc1ff; }
.player-controls > a:last-child { text-align: right; }
.player-controls .disabled { color: #555968; pointer-events: none; }
.player-info h2 { margin: 8px 0; font-size: 32px; }
.player-info p { max-width: 900px; color: var(--muted); }

.rank-title > span { display: grid; width: 78px; height: 78px; place-items: center; color: #ffd166; border-radius: 22px; background: rgba(255,209,102,.12); font-size: 35px; }
.rank-board { margin-top: 28px; }
.rank-board ol { margin: 0; padding: 0; list-style: none; }
.rank-board li { display: grid; grid-template-columns: 70px 74px 1fr 70px 70px; gap: 20px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.rank-board li > b { color: #ff7193; font-size: 26px; }
.rank-board img { width: 58px; aspect-ratio: 2/3; object-fit: cover; border-radius: 8px; }
.rank-board h2 { margin: 0; font-size: 19px; }
.rank-board p { margin: 2px 0; color: var(--muted); font-size: 13px; }
.rank-board div > span { display: -webkit-box; overflow: hidden; color: #74788a; font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.rank-board li > strong { color: #ffd166; font-size: 20px; }
.rank-play { padding: 7px 10px; text-align: center; border-radius: 8px; background: rgba(140,92,255,.2); }

.simple-hero { padding: 80px 0 50px; text-align: center; }
.simple-hero p { max-width: 760px; margin: 18px auto; color: var(--muted); }
.simple-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.simple-grid > a { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.simple-grid > a > span { color: #ff7193; font-size: 26px; }
.simple-grid h2 { margin: 12px 0 4px; }
.simple-grid p { color: var(--muted); }
.big-search { display: flex; max-width: 680px; margin: 28px auto 0; padding: 5px; border: 1px solid var(--line); border-radius: 99px; background: var(--panel); }
.big-search input { flex: 1; min-width: 0; padding: 0 18px; color: #fff; border: 0; outline: 0; background: transparent; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
