/* ==========================================================================
   QYN · HOLO SYSTEM  —  首页 / 文章页 Hero Banner 共用视觉系统
   --------------------------------------------------------------------------
   设计方向：航天 HUD × 全息仪器。深空底、单像素描边、等宽数据标签、
             一个青色主强调，蓝/紫只作为三维核心的次级光。
   依赖：my.css 的 --cyan / --blue / --violet / --grad / --text 系列 / --line 系列 / --panel 等令牌；
         三套主题（dark / light / eye）自动适配，不写死背景色。
   结构：01 基础令牌 → 02 首页 Hero → 03 通用区块 → 04 矩阵 → 05 最新
         → 06 数据面板 → 07 文章页 Banner → 08 双语/主题/响应式
   ========================================================================== */

/* ---------------------------------------------------------------- 01 基础 */
.qyn-home,
.qbn {
    --qyn-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Cascadia Code", Consolas, monospace;
    --qyn-ease: cubic-bezier(.22, .61, .36, 1);
    --qyn-accent: var(--cyan);
    --qyn-panel: linear-gradient(155deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .014));
    --qyn-edge: var(--line);
    --qyn-edge-hot: rgba(121, 196, 208, .48);

    /* 深色态「抬起的表面」：比 --bg-0(#04060d) 明显更亮的蓝灰实色板。
       旧版全用半透明玻璃，叠在深空背景上等于没底色，卡片和背景糊成一片。
       --qyn-surface 给文章卡/数据面板，--qyn-cell-surface 给导航矩阵，
       light / eye 主题在 08 段覆盖回白底。 */
    --qyn-surface: linear-gradient(155deg, rgba(34, 54, 90, .97), rgba(17, 28, 50, .98));
    --qyn-cell-surface: linear-gradient(158deg, rgba(38, 60, 98, .98), rgba(19, 31, 55, .98));
    --qyn-edge-solid: rgba(126, 166, 255, .30);
    -webkit-font-smoothing: antialiased;
}

.qyn-home { position: relative; z-index: 1; }

/* 等宽 HUD 标签：全站唯一的「仪器感」来源，不依赖外链字体 */
.qyn-hud,
.qbn-hud {
    font-family: var(--qyn-mono);
    font-size: 10px;
    letter-spacing: 2.2px;
    color: var(--text-mute);
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
}

.qyn-hud-dot {
    display: inline-block;
    width: 5px; height: 5px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    vertical-align: 2px;
    animation: qynBlink 2.4s ease-in-out infinite;
}
@keyframes qynBlink { 0%, 100% { opacity: 1; } 50% { opacity: .28; } }

/* 通用的细描边玻璃按钮 */
.qyn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    padding: 0 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .6px;
    text-decoration: none;
    transition: transform .24s var(--qyn-ease), box-shadow .24s var(--qyn-ease),
                border-color .24s var(--qyn-ease), background-color .24s var(--qyn-ease);
    will-change: transform;
}
.qyn-btn:hover { transform: translateY(-3px); }
.qyn-btn:active { transform: translateY(-1px) scale(.985); }
.qyn-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.qyn-btn-primary {
    color: #04121f;
    background: var(--grad);
    box-shadow: 0 16px 38px -14px rgba(121, 196, 208, .62);
}
.qyn-btn-primary:hover {
    box-shadow: 0 22px 48px -12px rgba(121, 196, 208, .8);
    color: #04121f;
}
.qyn-btn-ghost {
    color: var(--text);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--qyn-edge);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.qyn-btn-ghost:hover { border-color: var(--qyn-edge-hot); color: var(--cyan); }
.qyn-btn i { font-size: 13px; }

/* ------------------------------------------------------------- 02 首页 Hero */
.qyn-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 128px 0 104px;
    overflow: hidden;
    isolation: isolate;
}

/* 三维核心画布：铺满 Hero 右半区，绝不拦截指针 */
.qyn-core-canvas {
    position: absolute;
    top: 0; right: 0;
    width: 58%; height: 100%;
    z-index: -1;
    display: block;
    pointer-events: none;
}

/* 顶部极光：两团品牌色雾，压住背景粒子、托住文字 */
.qyn-hero::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 720px;
    z-index: -2;
    background:
        radial-gradient(520px 360px at 18% 42%, rgba(121, 196, 208, .12), transparent 68%),
        radial-gradient(560px 400px at 78% 30%, rgba(119, 145, 207, .10), transparent 70%);
    filter: blur(18px);
    pointer-events: none;
}

/* 细网格（仅上半部，遮罩柔化边缘，避免整屏格子感） */
.qyn-hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(var(--grid-line, rgba(126, 166, 255, .07)) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line, rgba(126, 166, 255, .07)) 1px, transparent 1px);
    background-size: 68px 68px;
    -webkit-mask-image: radial-gradient(ellipse 74% 62% at 50% 34%, #000 24%, transparent 80%);
    mask-image: radial-gradient(ellipse 74% 62% at 50% 34%, #000 24%, transparent 80%);
    pointer-events: none;
}

/* 扫描光带：极慢地掠过画面，制造「仪器正在工作」的呼吸 */
.qyn-hero-scan {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 180px;
    z-index: -1;
    background: linear-gradient(180deg, transparent, rgba(121, 196, 208, .045), transparent);
    animation: qynScan 11s linear infinite;
    pointer-events: none;
}
@keyframes qynScan { from { transform: translateY(-200px); } to { transform: translateY(100vh); } }

.qyn-hud-tl { position: absolute; left: max(28px, 4vw); top: 104px; z-index: 2; }
.qyn-hud-tr { position: absolute; right: max(28px, 4vw); top: 104px; z-index: 2; text-align: right; line-height: 1.9; }
.qyn-hud-bl { position: absolute; left: max(28px, 4vw); bottom: 42px; z-index: 2; }
.qyn-hud-bl i { margin-left: 8px; color: var(--cyan); }

.qyn-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1280px, 92vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
    gap: 24px;
}

/* --- 左：文案 --- */
.qyn-hero-copy { max-width: 620px; }

.qyn-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--qyn-mono);
    font-size: 11px;
    letter-spacing: 2.6px;
    color: var(--cyan);
    text-transform: uppercase;
}
.qyn-eyebrow-line { width: 30px; height: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.qyn-eyebrow-num { color: var(--text-mute); letter-spacing: 1px; }

.qyn-title {
    margin: 26px 0 22px;
    font-size: clamp(52px, 6.5vw, 100px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -.02em;
    color: var(--text);
    text-wrap: pretty;
}
.qyn-title-line { display: block; }
.qyn-title-accent {
    background-image: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.qyn-title-dot { -webkit-text-fill-color: var(--cyan); color: var(--cyan); }

.qyn-sub {
    max-width: 540px;
    margin: 0;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.9;
    color: var(--text-dim);
    text-wrap: pretty;
}

.qyn-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* 数据条：等宽数字 + 极细分隔线，替代旧的方块胶囊 */
.qyn-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: 560px;
    margin-top: 54px;
    border-top: 1px solid var(--qyn-edge);
    padding-top: 20px;
}
.qyn-stat { padding: 0 14px; border-left: 1px solid var(--qyn-edge); }
.qyn-stat:first-child { padding-left: 0; border-left: 0; }
.qyn-stat b {
    display: block;
    font-family: var(--qyn-mono);
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text);
}
.qyn-stat b em { font-style: normal; color: var(--cyan); }

/* 统计数字一次性入场：只做视觉上浮 + 发光，textContent 始终由 HTML 提供真实值。
   纯 CSS 播放、随首屏一起开始，不依赖 JS —— 因为 lm-hero.js 是 idle 延迟加载的，
   若由 JS 补加动画类，会出现「先显示真值 → 2.5s 后重播动画」的二次闪烁。 */
.qyn-stat b {
    animation: qynCountIn .72s cubic-bezier(.2, .8, .25, 1) both;
}
.qyn-stat:nth-child(1) b { animation-delay: .10s; }
.qyn-stat:nth-child(2) b { animation-delay: .19s; }
.qyn-stat:nth-child(3) b { animation-delay: .28s; }
.qyn-stat:nth-child(4) b { animation-delay: .37s; }
@keyframes qynCountIn {
    from { opacity: 0; transform: translateY(10px); filter: blur(3px); text-shadow: 0 0 22px var(--cyan); }
    60%  { opacity: 1; filter: blur(0); }
    to   { opacity: 1; transform: none; filter: none; text-shadow: none; }
}
.qyn-stat span {
    display: block;
    margin-top: 5px;
    font-family: var(--qyn-mono);
    font-size: 10px;
    letter-spacing: 1.6px;
    color: var(--text-mute);
    text-transform: uppercase;
}

/* --- 右：三维核心 + 环绕信息 --- */
.qyn-hero-visual {
    position: relative;
    height: min(560px, 62vh);
    min-height: 380px;
}
.qyn-core-halo {
    position: absolute;
    left: 50%; top: 50%;
    width: 62%; aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(121, 196, 208, .10), transparent 68%);
    border: 1px solid rgba(121, 196, 208, .10);
    box-shadow: inset 0 0 80px -30px rgba(121, 196, 208, .22);
    pointer-events: none;
}
.qyn-core-halo::after {
    content: "";
    position: absolute;
    inset: -14%;
    border-radius: 50%;
    border: 1px dashed rgba(126, 166, 255, .14);
    animation: qynSpin 48s linear infinite;
}
@keyframes qynSpin { to { transform: rotate(360deg); } }

.qyn-orbit-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border-radius: 8px;
    background: var(--panel, rgba(13, 20, 38, .72));
    border: 1px solid var(--qyn-edge);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-family: var(--qyn-mono);
    font-size: 10.5px;
    letter-spacing: .6px;
    color: var(--text-dim);
    white-space: nowrap;
    box-shadow: var(--elev-2, 0 10px 30px -14px rgba(0, 0, 0, .55));
    animation: qynFloat 7s ease-in-out infinite alternate;
}
.qyn-orbit-label::before {
    content: "";
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
}
.qyn-orbit-label.l1 { left: 1%;  top: 17%; }
.qyn-orbit-label.l2 { right: 0%; top: 30%; animation-delay: -1.8s; }
.qyn-orbit-label.l3 { left: 5%;  bottom: 20%; animation-delay: -3.6s; }
.qyn-orbit-label.l4 { right: 4%; bottom: 13%; animation-delay: -5.2s; }
.qyn-orbit-label.l2::before { background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.qyn-orbit-label.l3::before { background: #34d399; box-shadow: 0 0 8px #34d399; }
@keyframes qynFloat { from { transform: translateY(-7px); } to { transform: translateY(9px); } }

.qyn-core-caption {
    position: absolute;
    left: 50%; bottom: 2%;
    transform: translateX(-50%);
    font-family: var(--qyn-mono);
    font-size: 9.5px;
    letter-spacing: 2px;
    line-height: 1.9;
    text-align: center;
    color: var(--text-mute);
    pointer-events: none;
}

.qyn-scroll {
    position: absolute;
    left: 50%; bottom: 26px;
    transform: translateX(-50%);
    width: 1px; height: 46px;
    background: linear-gradient(var(--cyan), transparent);
    z-index: 2;
}
.qyn-scroll span {
    position: absolute;
    left: -2px; top: 0;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    animation: qynScroll 2.2s var(--qyn-ease) infinite;
}
@keyframes qynScroll { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(42px); opacity: 0; } }

/* ------------------------------------------------------------- 03 通用区块 */
.qyn-section {
    position: relative;
    width: min(1240px, 92vw);
    margin: 0 auto;
    padding: 92px 0;
}
.qyn-section + .qyn-section { border-top: 1px solid var(--qyn-edge); }

.qyn-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px;
}
.qyn-sec-kicker {
    display: block;
    font-family: var(--qyn-mono);
    font-size: 10px;
    letter-spacing: 2.6px;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.qyn-sec-title {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 46px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: var(--text);
}
.qyn-sec-desc {
    max-width: 420px;
    margin: 0;
    font-size: 14px;
    line-height: 1.85;
    color: var(--text-dim);
    text-align: right;
    text-wrap: pretty;
}

/* 滚动入场：由 lm-hero.js 的 IntersectionObserver 添加 .is-in */
.qyn-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--qyn-ease), transform .7s var(--qyn-ease);
}
.qyn-reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- 04 矩阵 */
/* 深色态设计：入口卡由「透明玻璃」改为「抬起的仪表盘」——实色蓝灰底 +
   通道色描边 / 顶线 / 图标，和近黑背景拉开明度差；描述文字从 --text-mute
   提到 #b3c4de，标题提到 #f4f8ff，保证 WCAG 级别的正文对比度。
   通道色表集中在下方 8 条 nth-child 规则里，颜色承担分类语义
   （热榜=暖橙、音乐=玫红、书单=靛蓝），不是随意的装饰色。
   动效分四层：① 错峰入场 ② 常驻呼吸 / 扫光 / 状态点（纯 transform+opacity）
   ③ 交互驱动：hover 时沿边框跑一圈流光 + 3D 倾斜 + 内容视差 + 顶线跑马灯
   ④ 点击涟漪（由 lm-hero.js 在 pointerdown 生成，动画结束自动移除）。
   性能原则：常驻动画只改 transform/opacity；较重的 conic 边框流光只在
   hover / focus 单卡播放（animation-play-state: paused → running），
   避免 8 张卡同时每帧重绘渐变；reduced-motion 下全部关闭。 */

/* 注册角度自定义属性，让 conic-gradient 的起点可以被动画插值。
   不支持 @property 的旧浏览器会退化为静态光段，不影响可读性。 */
@property --qyn-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

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

/* --cell-rgb  = 分类主色（rgb 三元组，供 rgba() 复用）
   --cell-rgb2 = 顶线渐变的收尾色
   --i         = 入场错峰序号（70ms 步进）
   --stage     = 常驻动画的错峰起点，避免 8 张卡同步闪烁 */
.qyn-matrix-grid > .qyn-cell {
    --cell-ink: rgb(var(--cell-rgb));
    --i: 0;
    --stage: 0s;
}
.qyn-matrix-grid > .qyn-cell:nth-child(1) { --cell-rgb: 34, 211, 238; --cell-rgb2: 59, 130, 246; --i: 0; --stage: 0s; }
.qyn-matrix-grid > .qyn-cell:nth-child(2) { --cell-rgb: 96, 150, 255; --cell-rgb2: 139, 92, 246; --i: 1; --stage: .7s; }
.qyn-matrix-grid > .qyn-cell:nth-child(3) { --cell-rgb: 178, 124, 255; --cell-rgb2: 236, 110, 190; --i: 2; --stage: 1.4s; }
.qyn-matrix-grid > .qyn-cell:nth-child(4) { --cell-rgb: 255, 183, 94; --cell-rgb2: 255, 105, 140; --i: 3; --stage: 2.1s; }
.qyn-matrix-grid > .qyn-cell:nth-child(5) { --cell-rgb: 45, 212, 191; --cell-rgb2: 34, 211, 238; --i: 4; --stage: 2.8s; }
.qyn-matrix-grid > .qyn-cell:nth-child(6) { --cell-rgb: 255, 145, 92; --cell-rgb2: 244, 86, 140; --i: 5; --stage: 3.5s; }
.qyn-matrix-grid > .qyn-cell:nth-child(7) { --cell-rgb: 244, 114, 182; --cell-rgb2: 168, 85, 247; --i: 6; --stage: 4.2s; }
.qyn-matrix-grid > .qyn-cell:nth-child(8) { --cell-rgb: 129, 140, 248; --cell-rgb2: 96, 165, 250; --i: 7; --stage: 4.9s; }

.qyn-cell {
    position: relative;
    display: block;
    padding: 24px 22px 22px;
    min-height: 168px;
    border-radius: 16px;
    background:
        radial-gradient(135% 105% at 0% 0%, rgba(var(--cell-rgb), .18), transparent 62%),
        var(--qyn-cell-surface);
    border: 1px solid rgba(var(--cell-rgb), .38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 18px 40px -24px rgba(0, 0, 0, .9);
    text-decoration: none;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform .3s var(--qyn-ease), border-color .3s var(--qyn-ease),
                box-shadow .3s var(--qyn-ease);
    --mx: 50%; --my: 0%; --rx: 0deg; --ry: 0deg; --px: 0; --py: 0;
}
/* 让文字永远在光晕层之上；fx / 涟漪 / 伪元素都设了 pointer-events:none */
.qyn-cell > :not(.qyn-cell-fx):not(.qyn-cell-ripple) { position: relative; z-index: 2; }
.qyn-cell > .qyn-cell-arrow { position: absolute; z-index: 2; }

/* 交互驱动的边框流光：沿 1px 描边跑一段高光。
   平时 paused + opacity 0，只在该卡 :hover / :focus-visible 时启动，
   全页最多一张卡在重绘渐变，性能可控。 */
.qyn-cell::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--qyn-angle),
                transparent 0 62%, rgba(var(--cell-rgb), .5) 74%,
                rgba(255, 255, 255, .85) 81%, rgba(var(--cell-rgb), .5) 88%, transparent 96%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    animation: qynCellSpin 2.4s linear infinite;
    animation-play-state: paused;
    transition: opacity .3s var(--qyn-ease);
    pointer-events: none;
}
.qyn-cell:hover::after,
.qyn-cell:focus-visible::after { opacity: 1; animation-play-state: running; }

/* 光追：鼠标位置由 lm-hero.js 写入 --mx/--my，仅 hover 时显现 */
.qyn-cell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: radial-gradient(340px circle at var(--mx) var(--my), rgba(var(--cell-rgb), .3), transparent 68%);
    opacity: 0;
    transition: opacity .3s var(--qyn-ease);
    pointer-events: none;
}
.qyn-cell:hover {
    transform: translateY(-10px) perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) scale(1.015);
    border-color: rgba(var(--cell-rgb), .9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12),
                0 32px 60px -26px rgba(var(--cell-rgb), .55),
                0 16px 34px -18px rgba(0, 0, 0, .85);
}
.qyn-cell:hover::before { opacity: 1; }
.qyn-cell:active { transform: translateY(-2px) scale(.985); }
.qyn-cell:focus-visible { outline: 2px solid var(--cell-ink); outline-offset: 3px; }

/* 点击涟漪：坐标由 JS 写入 left/top，动画结束即移除 DOM，不留垃圾节点 */
.qyn-cell-ripple {
    position: absolute;
    z-index: 4;
    width: 16px; height: 16px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: radial-gradient(circle, rgba(var(--cell-rgb), .6), rgba(var(--cell-rgb), 0) 70%);
    pointer-events: none;
    animation: qynCellRipple .62s cubic-bezier(.2, .7, .3, 1) forwards;
}

/* 动效承载层：顶线（呼吸 + hover 展开）、斜向扫光带，都不接收事件 */
.qyn-cell-fx {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
    animation: qynCellBreathe 5.4s ease-in-out infinite;
    animation-delay: var(--stage);
}
/* hover 时固定为最亮，避免呼吸相位把交互反馈压暗 */
.qyn-cell:hover .qyn-cell-fx,
.qyn-cell:focus-visible .qyn-cell-fx { animation: none; opacity: 1; }
.qyn-cell-fx::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 2px;
    transform: scaleX(.32);
    transform-origin: left center;
    background: linear-gradient(90deg, rgb(var(--cell-rgb)), rgb(var(--cell-rgb2)), #fff, rgb(var(--cell-rgb2)), rgb(var(--cell-rgb)));
    background-size: 220% 100%;
    box-shadow: 0 0 16px rgba(var(--cell-rgb), .85);
    transition: transform .55s var(--qyn-ease);
    animation: qynCellGlow 4.6s ease-in-out infinite;
    animation-delay: var(--stage);
}
/* hover：顶线展开成 100%，同时高亮段沿轨道跑动 */
.qyn-cell:hover .qyn-cell-fx::before,
.qyn-cell:focus-visible .qyn-cell-fx::before {
    transform: scaleX(1);
    animation: qynCellRail 1.5s linear infinite;
}
.qyn-cell-fx::after {
    content: "";
    position: absolute;
    top: -45%; left: 0;
    width: 46%; height: 190%;
    background: linear-gradient(90deg, transparent, rgba(var(--cell-rgb), .2), rgba(255, 255, 255, .11), transparent);
    transform: rotate(18deg) translateX(-220%);
    animation: qynCellSweep 5.4s linear infinite;
    animation-delay: var(--stage);
}
/* hover 时扫光加速，让"这张卡活了"更明确 */
.qyn-cell:hover .qyn-cell-fx::after { animation-duration: 2.2s; }

.qyn-cell-no {
    display: block;
    font-family: var(--qyn-mono);
    font-size: 10px;
    letter-spacing: 1.6px;
    color: var(--cell-ink);
}
.qyn-cell-no::before {
    content: "";
    display: inline-block;
    width: 5px; height: 5px;
    margin-right: 8px;
    border-radius: 50%;
    vertical-align: 2px;
    background: rgb(var(--cell-rgb));
    box-shadow: 0 0 9px rgb(var(--cell-rgb));
    animation: qynCellPulse 2.6s ease-in-out infinite;
    animation-delay: var(--stage);
}
.qyn-cell-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    margin: 14px 0 12px;
    border-radius: 10px;
    font-size: 16px;
    color: var(--cell-ink);
    background: linear-gradient(145deg, rgba(var(--cell-rgb), .3), rgba(var(--cell-rgb), .1));
    border: 1px solid rgba(var(--cell-rgb), .52);
    box-shadow: 0 0 18px -6px rgba(var(--cell-rgb), .75), inset 0 1px 0 rgba(255, 255, 255, .12);
    transition: transform .3s var(--qyn-ease), box-shadow .3s var(--qyn-ease);
}
/* 浮动放在图标字形上：外层的 hover 变换不会被常驻动画覆盖 */
.qyn-cell-ico i {
    animation: qynCellFloat 5.2s ease-in-out infinite;
    animation-delay: var(--stage);
}
/* 内容视差：--px/--py 由 lm-hero.js 按指针位置写入（-1 ~ 1），
   图标位移最大、标题减半，制造卡片内部的景深 */
.qyn-cell:hover .qyn-cell-ico {
    transform: translate(calc(var(--px) * 7px), calc(var(--py) * 7px)) scale(1.14) rotate(-6deg);
    box-shadow: 0 0 26px -4px rgba(var(--cell-rgb), .9), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.qyn-cell h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .2px;
    color: #f4f8ff;
    transition: transform .3s var(--qyn-ease), text-shadow .3s var(--qyn-ease);
}
.qyn-cell:hover h3 {
    transform: translateX(calc(var(--px) * 3px));
    text-shadow: 0 0 18px rgba(var(--cell-rgb), .45);
}
.qyn-cell p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.7;
    color: #b3c4de;
    text-wrap: pretty;
}
.qyn-cell-arrow {
    position: absolute;
    right: 20px; bottom: 20px;
    font-size: 12px;
    color: rgba(var(--cell-rgb), .78);
    transition: transform .3s var(--qyn-ease), color .3s var(--qyn-ease);
}
.qyn-cell:hover .qyn-cell-arrow { transform: translate(3px, -3px); color: var(--cell-ink); }

/* ① 错峰入场：用 backwards 而非 both，动画结束后释放 transform，
      否则 forwards 的 transform:none 会压掉 hover 的 3D 倾斜。 */
.qyn-matrix-grid > .qyn-cell.qyn-reveal { opacity: 1; transform: none; transition: none; }
.qyn-matrix-grid > .qyn-cell.is-in {
    animation: qynCellIn .72s cubic-bezier(.2, .8, .25, 1) backwards;
    animation-delay: calc(var(--i) * 90ms);
}
@keyframes qynCellIn {
    0%   { opacity: 0; transform: translateY(28px) scale(.93) rotateX(9deg); }
    60%  { opacity: 1; transform: translateY(-3px) scale(1.01) rotateX(0deg); }
    100% { opacity: 1; transform: none; }
}
/* ② 常驻动效：全部只改 transform / opacity */
@keyframes qynCellGlow    { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@keyframes qynCellBreathe { 0%, 100% { opacity: .72; } 50% { opacity: 1; } }
@keyframes qynCellPulse   { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.6); } }
@keyframes qynCellFloat   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes qynCellSweep {
    0%   { transform: rotate(18deg) translateX(-220%); }
    72%  { transform: rotate(18deg) translateX(340%); }
    100% { transform: rotate(18deg) translateX(340%); }
}
/* ③ 交互驱动：边框流光（角度插值）/ 顶线跑马灯 / 点击涟漪 */
@keyframes qynCellSpin   { to { --qyn-angle: 360deg; } }
@keyframes qynCellRail   { from { background-position: 0% 0; } to { background-position: 220% 0; } }
@keyframes qynCellRipple {
    from { transform: translate(-50%, -50%) scale(0); opacity: .9; }
    to   { transform: translate(-50%, -50%) scale(26); opacity: 0; }
}

/* ------------------------------------------------------------- 05 最新发布 */
.qyn-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.qyn-post {
    position: relative;
    /* 涟漪 / 光追沿用矩阵卡的 --cell-rgb 约定，最新发布统一青色 */
    --cell-rgb: 34, 211, 238;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: var(--qyn-surface);
    border: 1px solid var(--qyn-edge-solid);
    text-decoration: none;
    transition: transform .3s var(--qyn-ease), border-color .3s var(--qyn-ease), box-shadow .3s var(--qyn-ease);
}
/* 最新发布：与导航矩阵一致的"错峰入场 + hover 边框流光 + 点击涟漪" */
.qyn-latest-grid.is-in .qyn-post {
    animation: qynPostIn .7s cubic-bezier(.2, .8, .25, 1) backwards;
}
.qyn-latest-grid.is-in .qyn-post:nth-child(2) { animation-delay: .1s; }
.qyn-latest-grid.is-in .qyn-post:nth-child(3) { animation-delay: .2s; }
@keyframes qynPostIn {
    from { opacity: 0; transform: translateY(22px) scale(.97); }
    to   { opacity: 1; transform: none; }
}
.qyn-post::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--qyn-angle),
                transparent 0 62%, rgba(121, 196, 208, .5) 74%,
                rgba(255, 255, 255, .8) 81%, rgba(121, 196, 208, .5) 88%, transparent 96%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    animation: qynCellSpin 2.6s linear infinite;
    animation-play-state: paused;
    transition: opacity .3s var(--qyn-ease);
    pointer-events: none;
}
.qyn-post:hover::after,
.qyn-post:focus-visible::after { opacity: 1; animation-play-state: running; }
.qyn-post .qyn-cell-ripple { z-index: 4; }
.qyn-post:hover {
    transform: translateY(-6px);
    border-color: var(--qyn-edge-hot);
    box-shadow: 0 26px 52px -26px rgba(121, 196, 208, .38);
}
.qyn-post:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.qyn-post-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(121, 196, 208, .12), rgba(169, 146, 204, .10));
}
.qyn-post-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--qyn-ease), filter .4s var(--qyn-ease);
    filter: saturate(.85) brightness(.82);
}
.qyn-post:hover .qyn-post-cover img { transform: scale(1.06); filter: saturate(1) brightness(.95); }
.qyn-post-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(4, 6, 13, .55));
    pointer-events: none;
}
.qyn-post-meta {
    position: absolute;
    left: 14px; bottom: 12px;
    z-index: 1;
    display: flex;
    gap: 10px;
    font-family: var(--qyn-mono);
    font-size: 10px;
    letter-spacing: 1px;
    color: #dceaff;
}
.qyn-post-meta span:first-child { color: #7dd3fc; }
.qyn-post-body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.qyn-post-body h3 {
    margin: 0 0 10px;
    font-size: 15.5px;
    line-height: 1.6;
    font-weight: 700;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.qyn-post-body p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.75;
    color: var(--text-mute);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.qyn-post-more {
    margin-top: auto;
    padding-top: 16px;
    font-family: var(--qyn-mono);
    font-size: 10px;
    letter-spacing: 1.6px;
    color: var(--cyan);
}
.qyn-post-more i { margin-left: 6px; transition: transform .3s var(--qyn-ease); }
.qyn-post:hover .qyn-post-more i { transform: translateX(4px); }

/* 加载态 / 空态：不编造内容，只给通往真实列表的入口 */
.qyn-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 34px 20px;
    border: 1px dashed var(--qyn-edge);
    border-radius: 16px;
    text-align: center;
    font-size: 14px;
    color: var(--text-mute);
}
.qyn-empty a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.qyn-post-skeleton {
    height: 300px;
    border-radius: 18px;
    border: 1px solid var(--qyn-edge);
    background: linear-gradient(100deg, rgba(255,255,255,.02) 30%, rgba(255,255,255,.07) 50%, rgba(255,255,255,.02) 70%);
    background-size: 220% 100%;
    animation: qynShimmer 1.5s linear infinite;
}
@keyframes qynShimmer { to { background-position: -220% 0; } }

/* ------------------------------------------------------------- 06 数据面板 */
.qyn-panel-sec { padding-bottom: 120px; }
.qyn-panel-box {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 40px;
    align-items: center;
    padding: 48px 52px;
    border-radius: 24px;
    background: var(--qyn-surface);
    border: 1px solid var(--qyn-edge-solid);
    box-shadow: var(--elev-3, 0 22px 55px -22px rgba(0, 0, 0, .7));
    overflow: hidden;
}
.qyn-panel-box::before {
    content: "";
    position: absolute;
    right: -80px; top: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(121, 196, 208, .14);
    box-shadow: 0 0 0 38px rgba(121, 196, 208, .025), 0 0 0 76px rgba(121, 196, 208, .018);
    pointer-events: none;
}
/* 数据面板：极慢的一道扫描光，让底部看板也保持"仪器在工作"的呼吸感 */
.qyn-panel-box::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 34%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(121, 196, 208, .075), rgba(255, 255, 255, .045), transparent);
    transform: translateX(-120%);
    animation: qynPanelSweep 9s ease-in-out infinite;
    pointer-events: none;
}
@keyframes qynPanelSweep {
    0%, 14%   { transform: translateX(-120%); }
    64%, 100% { transform: translateX(400%); }
}
.qyn-panel-box h2 {
    margin: 0 0 14px;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text);
}
.qyn-panel-box p { margin: 0 0 26px; font-size: 14.5px; line-height: 1.9; color: var(--text-dim); }
.qyn-panel-nums {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 28px;
}
.qyn-panel-num b {
    display: block;
    font-family: var(--qyn-mono);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -1.5px;
    color: var(--cyan);
}
.qyn-panel-num span {
    display: block;
    margin-top: 4px;
    font-family: var(--qyn-mono);
    font-size: 10px;
    letter-spacing: 1.8px;
    color: var(--text-mute);
    text-transform: uppercase;
}

/* ==========================================================================
   07 文章页 · Hero Banner（替换旧 Materialize carousel）
   ========================================================================== */
.qbn {
    position: relative;
    min-height: 100vh;
    margin-top: -64px;         /* 顶到透明导航栏下方，保持原轮播的沉浸首屏 */
    padding: 128px 0 96px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    --qyn-accent: var(--cyan);
}

/* 全息核心浮在封面监视器「前方」：若压在 z-index:-1 会被 frame 完全遮住，
   只剩几圈轨道环，三维感全失。提到前景后线框半透明叠在封面上，层次更立体。
   pointer-events:none 保证不拦截封面与按钮的点击。 */
.qbn-canvas {
    position: absolute;
    top: 0; right: 0;
    width: 56%; height: 100%;
    z-index: 3;
    opacity: .82;
    display: block;
    pointer-events: none;
}

/* 封面氛围层：真实封面图压到极低透明度，保留素材但不抢文字 */
.qbn-veil {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-position: center;
    background-size: cover;
    opacity: .13;
    filter: blur(2px) saturate(.7);
    transition: background-image .6s var(--qyn-ease), opacity .6s var(--qyn-ease);
    pointer-events: none;
}
.qbn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(680px 460px at 12% 46%, rgba(121, 196, 208, .10), transparent 70%),
        radial-gradient(620px 480px at 84% 32%, rgba(119, 145, 207, .09), transparent 72%);
    pointer-events: none;
}
.qbn-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(var(--grid-line, rgba(126, 166, 255, .07)) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line, rgba(126, 166, 255, .07)) 1px, transparent 1px);
    background-size: 68px 68px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 42%, #000 20%, transparent 82%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 42%, #000 20%, transparent 82%);
    pointer-events: none;
}

.qbn-hud-tl { position: absolute; left: max(28px, 4vw); top: 100px; z-index: 4; }
.qbn-hud-tr { position: absolute; right: max(28px, 4vw); top: 100px; z-index: 4; text-align: right; line-height: 1.9; }

.qbn-inner {
    position: relative;
    z-index: 2;
    width: min(1240px, 92vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    align-items: center;
    gap: 40px;
}

.qbn-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--qyn-mono);
    font-size: 11px;
    letter-spacing: 2.4px;
    color: var(--cyan);
    text-transform: uppercase;
}
.qbn-kicker-bar { width: 30px; height: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.qbn-kicker no { color: var(--text-mute); }

/* 换帧动画：内容整块重新挂载 class，触发淡入上移 */
.qbn-slide { min-height: 232px; margin: 26px 0 8px; }
.qbn-slide.is-enter .qbn-title,
.qbn-slide.is-enter .qbn-desc { animation: qbnIn .62s var(--qyn-ease) both; }
.qbn-slide.is-enter .qbn-desc { animation-delay: .08s; }
@keyframes qbnIn {
    from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
    to   { opacity: 1; transform: none; filter: none; }
}

.qbn-title {
    margin: 0 0 18px;
    font-size: clamp(34px, 4.2vw, 62px);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -.015em;
    color: var(--text);
    text-wrap: pretty;
}
.qbn-desc {
    max-width: 560px;
    margin: 0;
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.95;
    color: var(--text-dim);
    text-wrap: pretty;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.qbn-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.qbn-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 42px; }
.qbn-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    color: var(--text-mute);
    border: 1px solid var(--qyn-edge);
    background: rgba(255, 255, 255, .025);
    font-size: 14px;
    transition: transform .24s var(--qyn-ease), color .24s var(--qyn-ease), border-color .24s var(--qyn-ease);
}
.qbn-social a:hover { transform: translateY(-3px); color: var(--cyan); border-color: var(--qyn-edge-hot); }

/* --- 右：封面监视器（真实图片 + 3D 倾斜 + 扫描线） --- */
.qbn-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    --rx: 0deg; --ry: 0deg;
    perspective: 1000px;
}
.qbn-frame {
    position: relative;
    width: min(100%, 440px);
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: rgba(9, 14, 28, .6);
    box-shadow: 0 40px 90px -38px rgba(0, 0, 0, .9), 0 0 0 1px rgba(121, 196, 208, .10);
    transform: rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform .35s var(--qyn-ease), box-shadow .35s var(--qyn-ease);
}
.qbn-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(.9) brightness(.8);
    transition: opacity .45s var(--qyn-ease), transform .8s var(--qyn-ease), filter .45s var(--qyn-ease);
}
.qbn-frame.is-swap img { opacity: 0; transform: scale(1.06); }
.qbn-frame:hover img { filter: saturate(1.05) brightness(.95); }
.qbn-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, .16) 3px 4px);
    pointer-events: none;
}
.qbn-frame-scan {
    position: absolute;
    left: 0; right: 0; top: -30%;
    height: 26%;
    z-index: 2;
    background: linear-gradient(180deg, transparent, rgba(121, 196, 208, .16), transparent);
    animation: qbnScan 5.5s linear infinite;
    pointer-events: none;
}
@keyframes qbnScan { to { top: 110%; } }
.qbn-frame-corner {
    position: absolute;
    width: 16px; height: 16px;
    z-index: 3;
    border-color: var(--cyan);
    border-style: solid;
    pointer-events: none;
}
.qbn-frame-corner.c1 { left: 10px;  top: 10px;    border-width: 1px 0 0 1px; }
.qbn-frame-corner.c2 { right: 10px; top: 10px;    border-width: 1px 1px 0 0; }
.qbn-frame-corner.c3 { left: 10px;  bottom: 10px; border-width: 0 0 1px 1px; }
.qbn-frame-corner.c4 { right: 10px; bottom: 10px; border-width: 0 1px 1px 0; }
.qbn-frame-meta {
    margin-top: 18px;
    font-family: var(--qyn-mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-mute);
}

/* --- 底部控制条 --- */
.qbn-footer {
    position: absolute;
    left: 50%; bottom: 34px;
    transform: translateX(-50%);
    z-index: 4;
    width: min(1240px, 92vw);
    display: flex;
    align-items: center;
    gap: 22px;
}
.qbn-dots { display: flex; gap: 8px; flex: 1; }
.qbn-dot {
    position: relative;
    width: 42px; height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.qbn-dot::before {
    content: "";
    position: absolute;
    left: 0; top: 12px;
    width: 100%; height: 2px;
    background: var(--qyn-edge);
    border-radius: 2px;
    transition: background-color .3s var(--qyn-ease);
}
.qbn-dot::after {
    content: "";
    position: absolute;
    left: 0; top: 12px;
    width: 0; height: 2px;
    background: var(--cyan);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--cyan);
}
.qbn-dot.is-active::after { animation: qbnFill var(--qbn-duration, 6s) linear forwards; }
.qbn-dot.is-done::after { width: 100%; }
.qbn-dot:hover::before { background: var(--line-strong); }
.qbn-dot:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
@keyframes qbnFill { from { width: 0; } to { width: 100%; } }

.qbn-controls { display: flex; gap: 8px; }
.qbn-ctrl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid var(--qyn-edge);
    background: rgba(255, 255, 255, .03);
    color: var(--text-dim);
    font-size: 13px;
    cursor: pointer;
    transition: transform .24s var(--qyn-ease), color .24s var(--qyn-ease), border-color .24s var(--qyn-ease);
}
.qbn-ctrl:hover { transform: translateY(-2px); color: var(--cyan); border-color: var(--qyn-edge-hot); }
.qbn-ctrl:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.qbn-counter { font-family: var(--qyn-mono); font-size: 11px; letter-spacing: 2px; color: var(--text-mute); white-space: nowrap; }
.qbn-counter b { color: var(--cyan); font-weight: 700; }

/* ------------------------------------------------------- 08 双语 / 主题 */
.qyn-home .i18n-en,
.qbn .i18n-en { display: none; }
html[lang="en"] .qyn-home .i18n-zh,
html[lang="en"] .qbn .i18n-zh { display: none !important; }
/* revert 回到元素自身的 UA 默认值：span→inline、h1/p→block，
   比统一写 inline 更安全，不会把标题压成行内导致 margin/换行失效。 */
html[lang="en"] .qyn-home .i18n-en,
html[lang="en"] .qbn .i18n-en { display: revert; }
/* 块级双语元素显式恢复（revert 遇到本文件早先的 display:block 会被覆盖） */
.qyn-home .i18n-en.qyn-block,
.qbn .i18n-en.qyn-block { display: none; }
html[lang="en"] .qyn-home .i18n-en.qyn-block,
html[lang="en"] .qbn .i18n-en.qyn-block { display: block; }

/* 浅色 / 护眼：玻璃改实白、去掉发光、压低扫描与光晕，保证正文可读 */
html[data-theme="light"] .qyn-home,
html[data-theme="eye"] .qyn-home,
html[data-theme="light"] .qbn,
html[data-theme="eye"] .qbn {
    /* 面板不再半透明：浅底上 .62 的白卡会透出光斑，把文字压得发灰 */
    --qyn-panel: linear-gradient(155deg, rgba(255, 255, 255, .98), rgba(250, 251, 253, .95));
    --qyn-edge: var(--line);
    --qyn-edge-hot: rgba(63, 124, 168, .5);
    /* 浅色态换回白底：深色那套「抬起的蓝灰仪表盘」只属于深黑模式 */
    --qyn-surface: var(--qyn-panel);
    --qyn-cell-surface: linear-gradient(158deg, rgba(255, 255, 255, .98), rgba(243, 245, 248, .96));
    --qyn-edge-solid: var(--line);
}

/* 浅色 / 护眼：分类色压暗成可读的墨色，去掉发光与扫光，只留干净的顶线 */
html[data-theme="light"] .qyn-matrix-grid > .qyn-cell,
html[data-theme="eye"] .qyn-matrix-grid > .qyn-cell {
    --cell-ink: color-mix(in srgb, rgb(var(--cell-rgb)) 52%, #16233a);
}
html[data-theme="light"] .qyn-cell,
html[data-theme="eye"] .qyn-cell {
    background:
        radial-gradient(135% 105% at 0% 0%, rgba(var(--cell-rgb), .10), transparent 62%),
        var(--qyn-cell-surface);
    border-color: rgba(var(--cell-rgb), .34);
    box-shadow: 0 12px 26px -20px rgba(20, 35, 70, .5), inset 0 1px 0 rgba(255, 255, 255, .8);
}
html[data-theme="light"] .qyn-cell:hover,
html[data-theme="eye"] .qyn-cell:hover {
    box-shadow: 0 22px 40px -26px rgba(20, 35, 70, .55), inset 0 1px 0 rgba(255, 255, 255, .9);
}
html[data-theme="light"] .qyn-cell h3,
html[data-theme="eye"] .qyn-cell h3 { color: var(--text); }
html[data-theme="light"] .qyn-cell p,
html[data-theme="eye"] .qyn-cell p { color: var(--text-dim); }
html[data-theme="light"] .qyn-cell-ico,
html[data-theme="eye"] .qyn-cell-ico {
    background: rgba(var(--cell-rgb), .12);
    border-color: rgba(var(--cell-rgb), .38);
    box-shadow: none;
}
html[data-theme="light"] .qyn-cell:hover .qyn-cell-ico,
html[data-theme="eye"] .qyn-cell:hover .qyn-cell-ico { box-shadow: none; }
html[data-theme="light"] .qyn-cell-fx::before,
html[data-theme="eye"] .qyn-cell-fx::before { animation: none; opacity: .8; box-shadow: none; }
html[data-theme="light"] .qyn-cell-fx::after,
html[data-theme="eye"] .qyn-cell-fx::after { display: none; }
/* 浅色态：关掉霓虹类动效（边框流光 / 面板扫光 / 顶线跑马灯），
   保留 hover 抬升、图标反馈与点击涟漪这类"轻"交互 */
html[data-theme="light"] .qyn-cell::after,
html[data-theme="eye"] .qyn-cell::after,
html[data-theme="light"] .qyn-post::after,
html[data-theme="eye"] .qyn-post::after,
html[data-theme="light"] .qyn-panel-box::after,
html[data-theme="eye"] .qyn-panel-box::after { display: none; }
html[data-theme="light"] .qyn-cell:hover .qyn-cell-fx::before,
html[data-theme="eye"] .qyn-cell:hover .qyn-cell-fx::before { animation: none; }
html[data-theme="light"] .qyn-cell-ripple,
html[data-theme="eye"] .qyn-cell-ripple {
    background: radial-gradient(circle, rgba(var(--cell-rgb), .22), rgba(var(--cell-rgb), 0) 70%);
}
html[data-theme="light"] .qyn-hero::before,
html[data-theme="eye"] .qyn-hero::before,
html[data-theme="light"] .qbn::before,
html[data-theme="eye"] .qbn::before { opacity: .45; }
html[data-theme="light"] .qyn-hero-scan,
html[data-theme="eye"] .qyn-hero-scan,
html[data-theme="light"] .qbn-frame-scan,
html[data-theme="eye"] .qbn-frame-scan { opacity: .35; }
html[data-theme="light"] .qyn-core-halo,
html[data-theme="eye"] .qyn-core-halo { background: radial-gradient(circle, rgba(63, 124, 168, .07), transparent 68%); }
html[data-theme="light"] .qyn-post-cover img,
html[data-theme="eye"] .qyn-post-cover img { filter: saturate(.9) brightness(.92); }
html[data-theme="light"] .qbn-frame img,
html[data-theme="eye"] .qbn-frame img { filter: saturate(.9) brightness(.9); }
html[data-theme="light"] .qyn-btn-ghost,
html[data-theme="eye"] .qyn-btn-ghost { color: var(--text); background: rgba(255, 255, 255, .6); }

/* ------------------------------------------------------------- 09 响应式 */
@media only screen and (max-width: 1100px) {
    .qyn-hero-inner { grid-template-columns: 1fr; gap: 0; }
    .qyn-hero { padding: 132px 0 90px; min-height: auto; }
    .qyn-hero-copy { max-width: 680px; }
    .qyn-hero-visual { height: 400px; min-height: 0; margin-top: 10px; }
    .qyn-core-canvas { width: 100%; top: 34%; height: 66%; }
    .qyn-core-caption { bottom: 0; }
    .qyn-matrix-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .qbn-inner { grid-template-columns: 1fr; gap: 8px; }
    .qbn { min-height: auto; padding: 128px 0 130px; }
    .qbn-visual { min-height: 280px; }
    .qbn-frame { width: min(70%, 360px); }
    .qbn-slide { min-height: 190px; }
}
@media only screen and (max-width: 760px) {
    .qyn-section { padding: 64px 0; }
    .qyn-sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .qyn-sec-desc { text-align: left; }
    .qyn-title { font-size: clamp(42px, 11vw, 62px); }
    .qyn-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
    .qyn-stat:nth-child(3) { padding-left: 0; border-left: 0; }
    .qyn-hero-visual { height: 320px; }
    .qyn-orbit-label { font-size: 9px; padding: 7px 10px; }
    .qyn-orbit-label.l1, .qyn-orbit-label.l3 { left: 0; }
    .qyn-orbit-label.l2, .qyn-orbit-label.l4 { right: 0; }
    .qyn-hud-tr, .qyn-hud-bl, .qbn-hud-tr { display: none; }
    .qyn-matrix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .qyn-cell { min-height: 148px; padding: 18px 16px; }
    .qyn-cell h3 { font-size: 14px; }
    .qyn-cell p { font-size: 11.5px; }
    .qyn-latest-grid { grid-template-columns: 1fr; }
    .qyn-panel-box { grid-template-columns: 1fr; padding: 32px 26px; gap: 28px; }
    .qbn-title { font-size: clamp(30px, 8vw, 42px); }
    .qbn-slide { min-height: 170px; }
    .qbn-frame { width: min(86%, 320px); }
    .qbn-footer { bottom: 20px; gap: 10px; flex-wrap: wrap; }
    .qbn-dots { flex-basis: 100%; order: -1; }
    .qbn-dot { width: 34px; }
    .qbn-counter { margin-left: auto; }
}
@media only screen and (max-width: 420px) {
    .qyn-matrix-grid { grid-template-columns: 1fr; }
    .qyn-actions .qyn-btn { width: 100%; }
}

/* ------------------------------------------- 09.5 视频概况 */
.qyn-featured-video {
    position: relative;
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--qyn-edge-solid);
    border-radius: 20px;
    background: #05070e;
    box-shadow: 0 30px 70px -40px rgba(88, 190, 220, .35);
}
.qyn-featured-video-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--qyn-edge);
    background: linear-gradient(90deg, rgba(121, 196, 208, .10), rgba(169, 146, 204, .05));
}
.qyn-featured-video-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--text);
}
.qyn-featured-video-title i { color: var(--cyan); }
.qyn-featured-video-tag {
    font-family: var(--qyn-mono);
    font-size: 10px;
    letter-spacing: 1.6px;
    color: var(--text-mute);
}
.qyn-featured-video .dplayer { width: 100%; }
.qyn-featured-video .dplayer-video-wrap { aspect-ratio: 16 / 9; max-height: 540px; background: #05070e; }
.qyn-featured-video .dplayer-video-wrap video { width: 100%; height: 100%; object-fit: contain; }

@media only screen and (max-width: 640px) {
    .qyn-featured-video-head { padding: 10px 12px; }
    .qyn-featured-video-tag { display: none; }
}

/* ------------------------------------------------------ 10 无障碍 / 降级 */
@media (prefers-reduced-motion: reduce) {
    .qyn-hero-scan, .qyn-core-halo::after, .qyn-scroll span,
    .qyn-orbit-label, .qyn-hud-dot, .qbn-frame-scan,
    .qyn-stat b { animation: none !important; }
    .qbn-dot.is-active::after { animation: none; width: 100%; }
    .qyn-reveal { opacity: 1; transform: none; transition: none; }
    .qyn-cell:hover, .qyn-btn:hover, .qyn-post:hover { transform: none; }
    .qbn-slide.is-enter .qbn-title, .qbn-slide.is-enter .qbn-desc { animation: none; }

    /* 看板：关掉入场 / 呼吸 / 扫光 / 流光 / 状态点 / 图标浮动 / 涟漪，
       保留静态可辨识的顶线；JS 侧同时不生成涟漪节点 */
    .qyn-matrix-grid > .qyn-cell.is-in,
    .qyn-latest-grid.is-in .qyn-post,
    .qyn-cell-fx, .qyn-cell-fx::before, .qyn-cell-fx::after,
    .qyn-cell-no::before, .qyn-cell-ico i,
    .qyn-cell::after, .qyn-post::after, .qyn-panel-box::after,
    .qyn-cell-ripple { animation: none !important; }
    .qyn-cell-fx { opacity: 1; }
    .qyn-cell-fx::before { opacity: .85; transform: scaleX(1); }
    .qyn-cell-no::before { opacity: 1; }
}
