/* ==========================================================================
   DRAMA 3.0 — 短剧流媒体视觉（暗色 / 玫红渐变 / 竖版海报网格）
   纯 CSS，无外部字体、无 CDN 依赖；交互状态类与 mech.js 保持一致
   ========================================================================== */

:root {
    --bg: #08080c;
    --bg-2: #0c0c13;
    --panel: #13131c;
    --panel-2: #1a1a26;
    --panel-3: #22222f;

    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --line-3: rgba(255, 255, 255, .24);

    --txt: #f6f6fa;
    --txt-2: #a9a9bd;
    --txt-3: #71718a;

    --hot: #ff2e63;
    --hot-2: #ff6685;
    --violet: #7c3aed;
    --grad: linear-gradient(135deg, #ff2e63 0%, #ff4d6d 42%, #7c3aed 100%);
    --hot-dim: rgba(255, 46, 99, .14);

    --ok: #2ecc71;
    --err: #ff5b5b;

    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    --sans: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;

    --ease: cubic-bezier(.22, .61, .36, 1);
    --hdr-h: 68px;
    --r: 14px;
    --shadow-1: 0 8px 24px -14px rgba(0, 0, 0, .9);
    --shadow-2: 0 26px 60px -28px rgba(0, 0, 0, 1), 0 0 0 1px rgba(255, 46, 99, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--txt);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 顶部两团光晕，模拟影院氛围 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(60% 46% at 14% -6%, rgba(255, 46, 99, .16), transparent 70%),
        radial-gradient(52% 40% at 96% 4%, rgba(124, 58, 237, .14), transparent 72%);
}

img { max-width: 100%; border: 0; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: color .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--hot); color: #fff; }

:focus-visible { outline: 2px solid var(--hot-2); outline-offset: 3px; border-radius: 4px; }

.wrap {
    width: min(1320px, calc(100vw - 80px));
    margin: 0 auto;
    position: relative;
}

.ico-play { width: 15px; height: 15px; flex: 0 0 auto; }

/* ---------------------------------------------------------------- 按钮 */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 44px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: var(--panel-2);
    color: var(--txt);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: all .28s var(--ease);
}

.btn:hover { background: var(--panel-3); border-color: var(--line-3); transform: translateY(-1px); }

.btn--hot {
    border-color: transparent;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 12px 30px -16px rgba(255, 46, 99, .95);
}

.btn--hot:hover {
    background: var(--grad);
    border-color: transparent;
    filter: brightness(1.08);
    box-shadow: 0 18px 38px -18px rgba(255, 46, 99, 1);
}

.btn--ghost {
    background: rgba(255, 255, 255, .04);
    border-color: var(--line-2);
    color: var(--txt);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, .1);
    border-color: var(--line-3);
    color: #fff;
}

.btn--lg { height: 52px; padding: 0 32px; font-size: 15px; }
.btn--lg .ico-play { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- 顶栏 */

.hdr {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    height: var(--hdr-h);
    background: linear-gradient(180deg, rgba(8, 8, 12, .92), rgba(8, 8, 12, 0));
    border-bottom: 1px solid transparent;
    transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}

.hdr.is-solid {
    background: rgba(8, 8, 12, .88);
    border-bottom-color: var(--line);
    backdrop-filter: saturate(1.5) blur(16px);
    -webkit-backdrop-filter: saturate(1.5) blur(16px);
}

.hdr__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.brand__mark {
    width: 6px;
    height: 26px;
    border-radius: 3px;
    background: var(--grad);
    box-shadow: 0 0 18px rgba(255, 46, 99, .7);
}

.brand__logo { height: 26px; width: auto; }

.nav { flex: 1 1 auto; min-width: 0; }

.nav__list { display: flex; align-items: center; gap: 4px; }

.nav__link {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--txt-2);
    white-space: nowrap;
}

.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .06); }

.nav__link.is-on { color: #fff; background: rgba(255, 255, 255, .09); }

/* 导航项过多时横向滚动，不换行挤压 logo */
.nav__list {
    overflow-x: auto;
    scrollbar-width: none;
}

.nav__list::-webkit-scrollbar { display: none; }

.hdr__right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.hdr__cta { height: 40px; padding: 0 18px; font-size: 13px; }

/* ------------------------------------------------------------ 语言切换 */

.lang-switch { position: relative; }

.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    font-size: 13px;
    color: var(--txt-2);
    transition: all .22s var(--ease);
}

.lang-switch-btn:hover { border-color: var(--line-3); color: #fff; }

.lang-switch-btn svg,
.lang-switch-menu svg {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    flex: 0 0 auto;
    object-fit: cover;
}

.lang-switch-label { white-space: nowrap; }

.lang-switch-arrow {
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform .25s var(--ease);
}

.lang-switch.is-open .lang-switch-arrow { transform: rotate(-135deg) translateY(-1px); }

.lang-switch-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 168px;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: rgba(19, 19, 28, .98);
    box-shadow: 0 24px 48px -24px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all .22s var(--ease);
    z-index: 5;
}

.lang-switch.is-open .lang-switch-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-switch-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--txt-2);
}

.lang-switch-menu a:hover { background: rgba(255, 255, 255, .07); color: #fff; }

.lang-switch-menu li.is-active a { background: var(--hot-dim); color: var(--hot-2); font-weight: 600; }

/* 汉堡 */
.burger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    position: relative;
}

.burger span,
.burger span::before,
.burger span::after {
    position: absolute;
    left: 50%;
    width: 16px;
    height: 1.6px;
    border-radius: 2px;
    background: #fff;
    transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.burger span { top: 50%; margin: -0.8px 0 0 -8px; }
.burger span::before { content: ""; top: -5px; left: 0; }
.burger span::after { content: ""; top: 5px; left: 0; }

body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span::after { transform: translateY(-5px) rotate(-45deg); }

/* ------------------------------------------------------------ 抽屉菜单 */

.drawer__mask {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
}

body.menu-open .drawer__mask { opacity: 1; visibility: visible; }

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 96;
    width: min(340px, 86vw);
    height: 100%;
    padding: calc(var(--hdr-h) + 18px) 22px 28px;
    background: #0b0b11;
    border-left: 1px solid var(--line);
    transform: translateX(102%);
    transition: transform .34s var(--ease);
    overflow-y: auto;
}

body.menu-open .drawer { transform: translateX(0); }

.drawer__list li { border-bottom: 1px solid var(--line); }

.drawer__list a {
    display: block;
    padding: 14px 2px;
    font-size: 15px;
    color: var(--txt-2);
}

.drawer__list a:hover { color: #fff; }

.drawer__langs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.drawer__langs a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--txt-2);
}

.drawer__langs a svg { width: 17px; height: 12px; border-radius: 2px; }

.drawer__langs a.is-active { border-color: var(--hot); color: #fff; background: var(--hot-dim); }

.drawer__meta {
    margin-top: 26px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--txt-3);
}

/* ---------------------------------------------------------------- 首屏 */

.hero {
    position: relative;
    height: clamp(560px, 92vh, 900px);
    padding-top: var(--hdr-h);
    overflow: hidden;
    isolation: isolate;
}

.hero__stage { position: absolute; inset: 0; }

.hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s var(--ease), visibility .9s;
}

.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__media {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1b0b1c, #0a0a12 60%);
    background-position: center 28%;
    background-size: cover;
    transform: scale(1.06);
    transition: transform 8s linear;
}

.hero__slide.is-active .hero__media { transform: scale(1); }

.hero__media[data-empty],
.hero__slide[data-empty] .hero__media {
    background:
        radial-gradient(50% 60% at 22% 30%, rgba(255, 46, 99, .34), transparent 68%),
        radial-gradient(46% 52% at 78% 18%, rgba(124, 58, 237, .3), transparent 70%),
        linear-gradient(135deg, #14060d, #08080c 62%);
}

/* 左侧渐隐遮罩：保证标题永远压得住底图 */
.hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 8, 12, .96) 0%, rgba(8, 8, 12, .78) 40%, rgba(8, 8, 12, .16) 72%, rgba(8, 8, 12, .5) 100%),
        linear-gradient(0deg, #08080c 2%, rgba(8, 8, 12, 0) 56%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: min(1320px, calc(100vw - 80px));
    margin: 0 auto;
    padding-bottom: clamp(64px, 9vh, 110px);
}

.hero__content { max-width: 640px; }

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 46, 99, .4);
    background: rgba(255, 46, 99, .12);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .18em;
    color: var(--hot-2);
    text-transform: uppercase;
}

.hero__title {
    margin: 18px 0 14px;
    font-size: clamp(34px, 5.4vw, 68px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.025em;
    color: #fff;
    text-shadow: 0 18px 40px rgba(0, 0, 0, .6);
}

.hero__sub {
    font-size: clamp(15px, 1.6vw, 19px);
    color: var(--hot-2);
    font-weight: 600;
    margin-bottom: 10px;
}

.hero__text {
    max-width: 560px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--txt-2);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero .btn { height: 48px; padding: 0 28px; }

.hero__hud {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    z-index: 3;
}

.hero__hud-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero__counter {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--txt-3);
}

.hero__counter b { font-size: 22px; color: #fff; font-weight: 700; }

.hero__counter i { font-style: normal; opacity: .4; }

.hero__bar {
    flex: 1 1 auto;
    max-width: 320px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .16);
    overflow: hidden;
}

.hero__bar i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--grad);
}

.hero__dots { display: flex; gap: 6px; margin-left: auto; }

.hero__dot {
    width: 32px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid var(--line-2);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--txt-3);
    transition: all .22s var(--ease);
}

.hero__dot:hover { color: #fff; border-color: var(--line-3); }

.hero__dot.is-active { border-color: transparent; background: var(--grad); color: #fff; }

/* ---------------------------------------------------------------- 区块 */

.sec {
    position: relative;
    z-index: 1;
    padding: clamp(48px, 6vw, 78px) 0;
}

.sec--split { padding-top: 0; }

.sec__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.sec__title {
    font-size: clamp(21px, 2.4vw, 28px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
    line-height: 1.25;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.sec__title small {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: .22em;
    color: var(--txt-3);
    text-transform: uppercase;
}

.sec__rule {
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(90deg, var(--line-2), transparent);
}

.sec__more {
    flex: 0 0 auto;
    font-size: 13px;
    color: var(--txt-2);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.sec__more:hover { color: var(--hot-2); border-bottom-color: var(--hot-2); }

.sec__kicker {
    display: block;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .22em;
    color: var(--hot-2);
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* ------------------------------------------------------------ 海报网格 */

.poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
    gap: 24px 20px;
}

.poster {
    display: block;
    border-radius: var(--r);
    transition: transform .3s var(--ease);
}

.poster:hover { transform: translateY(-6px); }

.poster__art {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: var(--r);
    overflow: hidden;
    background: linear-gradient(150deg, #1b1b28, #101018);
    box-shadow: var(--shadow-1);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.poster:hover .poster__art { box-shadow: var(--shadow-2); }

.poster__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease), filter .3s var(--ease);
}

.poster:hover .poster__art img { transform: scale(1.06); filter: brightness(.82); }

.poster__rank {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    min-width: 26px;
    height: 26px;
    padding: 0 7px;
    border-radius: 8px;
    background: rgba(8, 8, 12, .72);
    backdrop-filter: blur(6px);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.poster__play {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(8, 8, 12, .6);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(6px);
    color: #fff;
    opacity: 0;
    transform: scale(.86);
    transition: all .28s var(--ease);
}

.poster__play svg { width: 16px; height: 16px; margin-left: 1px; }

.poster:hover .poster__play {
    opacity: 1;
    transform: scale(1);
    background: var(--grad);
    border-color: transparent;
}

.poster__empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--txt-3);
}

.poster__body { padding: 12px 2px 0; }

.poster__title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--txt);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.poster:hover .poster__title { color: #fff; }

.poster__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

/* ---------------------------------------------------------------- 标签 */

.chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    font-size: 11px;
    line-height: 1.5;
    color: var(--txt-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.chip:hover { border-color: var(--hot); color: var(--hot-2); background: var(--hot-dim); }

.chip--lg { padding: 8px 16px; font-size: 12.5px; }

.chip-cloud { display: flex; flex-wrap: wrap; gap: 9px; }

/* 移动端横向滚动条：165 个子分类不撑破页面 */
.chip-cloud--rail { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chip-cloud--rail::-webkit-scrollbar { display: none; }
.chip-cloud--rail .chip { flex: 0 0 auto; }

/* ---------------------------------------------------------------- 分栏 */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
    padding-top: clamp(18px, 3vw, 32px);
    border-top: 1px solid var(--line);
}

.lead {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 600;
    line-height: 1.6;
    color: #fff;
    margin: 12px 0 16px;
}

.prose { color: var(--txt-2); font-size: 14.5px; line-height: 1.9; }
.prose p { margin: 0 0 16px; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; margin: 12px 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: #fff; margin: 26px 0 12px; line-height: 1.35; font-weight: 700; }
.prose h2 { font-size: 21px; }
.prose h3 { font-size: 17px; }
.prose a { color: var(--hot-2); border-bottom: 1px solid rgba(255, 46, 99, .4); }
.prose a:hover { border-bottom-color: var(--hot-2); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; list-style: revert; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
    margin: 18px 0;
    padding: 14px 18px;
    border-left: 2px solid var(--hot);
    background: rgba(255, 255, 255, .04);
    border-radius: 0 8px 8px 0;
    color: var(--txt-2);
}
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13.5px; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 10px 13px; text-align: left; }
.prose th { background: var(--panel-2); color: #fff; font-weight: 600; }

.fact {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.fact:first-child { padding-top: 0; }

.fact b {
    min-width: 116px;
    font-family: var(--mono);
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 700;
    color: transparent;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    letter-spacing: -.02em;
}

.fact span { font-size: 13px; color: var(--txt-2); }

/* ---------------------------------------------------------------- 资讯 */

.news { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 48px); }

.news__col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--line-2);
}

.news__col-head h3 { font-size: 15px; font-weight: 700; color: #fff; }

.news__col-head a { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--txt-3); }
.news__col-head a:hover { color: var(--hot-2); }

.news__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 10px;
    border-radius: 10px;
    border-bottom: 1px solid var(--line);
}

.news__item:hover { background: rgba(255, 255, 255, .045); }

.news__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 46px;
    padding-right: 12px;
    border-right: 1px solid var(--line);
}

.news__date b { font-family: var(--mono); font-size: 17px; font-weight: 700; color: #fff; line-height: 1.1; }
.news__date span { font-family: var(--mono); font-size: 10px; color: var(--txt-3); }

.news__title {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--txt-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news__item:hover .news__title { color: #fff; }

/* ---------------------------------------------------------------- CTA */

.cta {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: clamp(40px, 5vw, 64px) 0;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 120% at 12% 0%, rgba(255, 46, 99, .26), transparent 62%),
        radial-gradient(60% 120% at 88% 100%, rgba(124, 58, 237, .24), transparent 64%),
        linear-gradient(120deg, #16080f, #0b0b12 55%, #100a1a);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.cta__title { font-size: clamp(22px, 2.8vw, 34px); font-weight: 800; letter-spacing: -.02em; color: #fff; }

.cta__sub {
    margin-top: 8px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .18em;
    color: var(--txt-3);
}

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

/* ---------------------------------------------------------------- 页脚 */

.foot {
    position: relative;
    z-index: 1;
    padding: clamp(44px, 5vw, 68px) 0 26px;
    background: #06060a;
    border-top: 1px solid var(--line);
}

.foot__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: clamp(24px, 4vw, 48px);
}

.foot__col h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

.foot__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.foot__brand img { height: 26px; width: auto; }
.foot__brand .brand__mark { height: 22px; }

.foot__desc { font-size: 13px; line-height: 1.9; color: var(--txt-3); }

.foot__blog {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--txt-2);
}

.foot__blog img {
    width: 42px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex: 0 0 auto;
    background: var(--panel-2);
}

.foot__blog span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.foot__blog:hover { color: #fff; }

.foot__links { display: flex; flex-direction: column; gap: 10px; }
.foot__links a { font-size: 13px; color: var(--txt-2); }
.foot__links a:hover { color: var(--hot-2); }

.foot__contact { font-size: 13px; line-height: 1.9; color: var(--txt-3); }

.foot__contact b {
    display: block;
    font-family: var(--mono);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.foot__line {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--txt-2);
}

.foot__line:hover { color: var(--hot-2); }

.foot__soc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.foot__soc a {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--txt-2);
}

.foot__soc a:hover { border-color: var(--hot); color: #fff; background: var(--hot-dim); }

.foot__soc svg, .foot__soc img.soc-ico { width: 16px; height: 16px; }
.foot__soc img.soc-ico { object-fit: contain; }

.foot__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--txt-3);
}

.foot__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .14em;
}

.foot__status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 10px var(--ok);
}

/* ---------------------------------------------------------------- 悬浮条 */

.bar {
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bar__item {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: rgba(14, 14, 20, .88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: grid;
    place-items: center;
    color: var(--txt-2);
    transition: all .22s var(--ease);
}

.bar__item:hover,
.bar__item:focus-visible,
.bar__item.is-open { color: #fff; border-color: rgba(255, 46, 99, .6); background: rgba(255, 46, 99, .18); }

.bar__item svg { width: 18px; height: 18px; }
.bar__item img.soc-ico { width: 18px; height: 18px; object-fit: contain; }

.bar__item > span {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%) translateX(4px);
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(14, 14, 20, .95);
    border: 1px solid var(--line);
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all .2s var(--ease);
}

.bar__item:hover > span { opacity: 1; transform: translateY(-50%) translateX(0); }

.bar__item--top { opacity: 0; visibility: hidden; }
.bar__item--top.is-visible { opacity: 1; visibility: visible; }

.bar__fly {
    position: absolute;
    right: calc(100% + 10px);
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: rgba(14, 14, 20, .97);
    box-shadow: 0 24px 48px -24px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(6px);
    transition: all .22s var(--ease);
    max-height: 60vh;
    overflow-y: auto;
}

.bar__item--social:hover > .bar__fly,
.bar__item--social:focus-within > .bar__fly,
.bar__item--social.is-open > .bar__fly,
.bar__item--mail:hover > .bar__fly,
.bar__item--mail:focus-within > .bar__fly,
.bar__item--mail.is-open > .bar__fly {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.bar__soc {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: var(--txt-2);
}

.bar__soc:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.bar__mail {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    min-width: 168px;
}

.bar__mail b { display: block; font-size: 11px; color: var(--txt-3); font-weight: 500; }
.bar__mail small { display: block; font-size: 12px; color: var(--txt); }
.bar__mail:hover { border-color: var(--hot); background: var(--hot-dim); }

/* ---------------------------------------------------------------- 内页头部 */

.page-hero {
    position: relative;
    z-index: 1;
    padding: calc(var(--hdr-h) + clamp(48px, 7vw, 84px)) 0 clamp(32px, 5vw, 52px);
    overflow: hidden;
    isolation: isolate;
}

.page-hero--slim { padding-bottom: clamp(22px, 3vw, 32px); }

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    z-index: -2;
}

.page-hero__bg[data-empty] {
    background:
        radial-gradient(56% 100% at 10% 0%, rgba(255, 46, 99, .22), transparent 64%),
        radial-gradient(50% 100% at 88% 10%, rgba(124, 58, 237, .2), transparent 66%),
        linear-gradient(135deg, #12070f, #08080c 58%);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(8, 8, 12, .74) 0%, rgba(8, 8, 12, .9) 62%, var(--bg) 100%);
}

.page-hero .wrap { position: relative; z-index: 2; }

.crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--txt-3);
}

.crumb a:hover { color: #fff; }
.crumb i { font-style: normal; opacity: .45; }
.crumb span { color: var(--txt-2); }

.page-title {
    margin: 14px 0 6px;
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.12;
    color: #fff;
}

.page-sub {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--txt-3);
    text-transform: uppercase;
}

/* ---------------------------------------------------------------- 列表 */

.list-wrap { position: relative; z-index: 1; padding: 30px 0 clamp(56px, 7vw, 92px); }

.list-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 22px 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--txt-3);
}

.list-bar__count b { font-family: var(--mono); font-size: 15px; color: #fff; }

.list-bar__hint { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; }

.empty {
    padding: 60px 0;
    text-align: center;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .14em;
    color: var(--txt-3);
}

/* 分页 */
.page { margin-top: 40px; }
.page ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }

.page li a,
.page li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--txt-2);
}

.page li a:hover { border-color: var(--hot); color: var(--hot-2); background: var(--hot-dim); }

.page li.active span { background: var(--grad); border-color: transparent; color: #fff; }

.page .input-page { display: none; }

/* ---------------------------------------------------------------- 详情 */

.detail {
    position: relative;
    z-index: 1;
    padding: calc(var(--hdr-h) + clamp(28px, 4vw, 46px)) 0 clamp(24px, 4vw, 40px);
    overflow: hidden;
    isolation: isolate;
}

/* 用封面自身放大模糊做环境光 */
.detail__glow {
    position: absolute;
    inset: -10% -10% auto -10%;
    height: 78%;
    z-index: -1;
    background-size: cover;
    background-position: center 25%;
    filter: blur(90px) saturate(1.5);
    opacity: .34;
    transform: scale(1.1);
}

.detail::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(8, 8, 12, .72) 0%, rgba(8, 8, 12, .93) 55%, var(--bg) 100%);
}

.detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
    margin-top: 26px;
}

.detail__art {
    position: relative;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(150deg, #1b1b28, #101018);
    box-shadow: 0 40px 80px -40px #000, 0 0 0 1px rgba(255, 255, 255, .07);
}

.detail__art img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
}

.detail__art-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(8, 8, 12, 0) 40%, rgba(8, 8, 12, .55) 100%);
    color: #fff;
    transition: background .3s var(--ease);
}

.detail__art-play svg {
    width: 62px;
    height: 62px;
    padding: 18px;
    border-radius: 50%;
    background: rgba(255, 46, 99, .88);
    box-shadow: 0 14px 34px -12px rgba(255, 46, 99, .9);
    transition: transform .28s var(--ease), background .28s var(--ease);
}

.detail__art-play:hover svg { transform: scale(1.08); background: var(--hot); }

.detail__info { padding-top: 4px; }

.detail__title {
    font-size: clamp(26px, 3.4vw, 44px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.1;
    color: #fff;
}

.detail__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 16px 0 18px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--txt-3);
    text-transform: uppercase;
}

.detail__meta span + span::before {
    content: "·";
    margin-right: 10px;
    opacity: .5;
}

.detail__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

.detail__desc {
    font-size: 15px;
    line-height: 1.9;
    color: var(--txt-2);
    max-width: 68ch;
}

.detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.detail__note {
    margin-top: 14px;
    font-size: 12px;
    color: var(--txt-3);
}

/* ---------------------------------------------------------------- 文章 */

.article {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(22px, 3vw, 34px);
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--panel);
}

.article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--txt-3);
}

.article__meta a { color: var(--hot-2); }

.rich { color: var(--txt-2); font-size: 15px; line-height: 1.95; }
.rich > *:first-child { margin-top: 0; }
.rich p { margin: 0 0 18px; }
.rich img { max-width: 100%; height: auto; margin: 14px 0; border-radius: 10px; }
.rich h1, .rich h2, .rich h3, .rich h4 { color: #fff; margin: 30px 0 14px; line-height: 1.4; font-weight: 700; }
.rich h2 { font-size: 22px; }
.rich h3 { font-size: 18px; }
.rich a { color: var(--hot-2); border-bottom: 1px solid rgba(255, 46, 99, .4); }
.rich ul, .rich ol { margin: 0 0 18px; padding-left: 22px; list-style: revert; }
.rich li { margin-bottom: 8px; }
.rich blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    border-left: 2px solid var(--hot);
    background: rgba(255, 255, 255, .04);
    border-radius: 0 8px 8px 0;
}

.article__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.article__foot a { color: var(--txt-2); }
.article__foot a:hover { color: var(--hot-2); }

/* ---------------------------------------------------------------- 询盘表单 */

.inquiry {
    position: relative;
    z-index: 1;
    padding: clamp(40px, 5vw, 72px) 0;
    margin-top: clamp(30px, 4vw, 48px);
    border-top: 1px solid var(--line);
    background:
        radial-gradient(50% 120% at 0% 0%, rgba(255, 46, 99, .12), transparent 62%),
        radial-gradient(50% 120% at 100% 100%, rgba(124, 58, 237, .12), transparent 64%),
        #0a0a10;
}

.inquiry__inner { position: relative; }

.inquiry__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.inquiry__head h2, .inquiry__head h3 {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
}

.inquiry__lead { width: 100%; color: var(--txt-2); font-size: 14px; margin-top: 6px; }

.inq-form { margin-top: 26px; max-width: 780px; }

.inq-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.inq-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }

.inq-field { display: flex; flex-direction: column; gap: 8px; }
.inq-field--full { grid-column: 1 / -1; }

.inq-field label {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--txt-3);
}

.inq-field label i { font-style: normal; color: var(--hot); }

.inq-field input,
.inq-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .04);
    color: var(--txt);
    font: inherit;
    font-size: 14px;
    transition: border-color .22s var(--ease), background .22s var(--ease);
}

.inq-field textarea { min-height: 130px; resize: vertical; }

.inq-field input::placeholder,
.inq-field textarea::placeholder { color: var(--txt-3); }

.inq-field input:focus,
.inq-field textarea:focus {
    outline: none;
    border-color: var(--hot);
    background: rgba(255, 255, 255, .07);
}

.inq-form__foot {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.inq-form__submit { min-width: 180px; }
.inq-form__submit.is-loading { opacity: .6; pointer-events: none; }

.inq-form__msg { font-size: 13px; margin: 0; min-height: 20px; }
.inq-form__msg.is-ok { color: var(--ok); }
.inq-form__msg.is-err { color: var(--err); }

/* ---------------------------------------------------------------- 动效 */

.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }

body.js-reveal .reveal { opacity: 0; transform: translateY(18px); }

body.js-reveal .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------------------------------------------------------------- 响应式 */

@media (max-width: 1180px) {
    .poster-grid { grid-template-columns: repeat(auto-fill, minmax(164px, 1fr)); gap: 20px 16px; }
    .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .foot__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
    :root { --hdr-h: 62px; }
    .wrap, .hero__inner { width: calc(100vw - 40px); }
    .nav { display: none; }
    .burger { display: block; }
    .hdr__cta { display: none; }
    .detail__grid { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
    .split { grid-template-columns: 1fr; }
    .news { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 760px) {
    body { font-size: 14.5px; }
    .hero { height: clamp(520px, 82vh, 700px); }
    .hero__hud { bottom: 16px; }
    .hero__bar { display: none; }
    .hero__dots { margin-left: auto; }
    .poster-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 18px 12px; }
    .poster__title { font-size: 13px; min-height: 38px; }
    .poster__play { opacity: 1; transform: none; width: 30px; height: 30px; }
    .poster__play svg { width: 13px; height: 13px; }
    .detail__grid { grid-template-columns: 1fr; gap: 24px; }
    .detail__art { max-width: 260px; }
    .detail__art-play svg { width: 52px; height: 52px; padding: 15px; }
    .detail__actions .btn { flex: 1 1 auto; }
    .sec__title { font-size: 20px; }
    .sec__title small { display: none; }
    .foot__grid { grid-template-columns: 1fr 1fr; }
    .foot__col:first-child { grid-column: 1 / -1; }
    .inq-form__grid { grid-template-columns: 1fr; }
    .article { padding: 20px 16px; }
    .bar { right: 10px; bottom: 12px; }
    .bar__item { width: 40px; height: 40px; }
    .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
    .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot__grid { grid-template-columns: 1fr; }
}
