:root {
    --hn-bg: #171717;
    --hn-accent: #FF502A;
    --hn-text: rgba(255, 255, 255, 0.88);
    --hn-text-secondary: rgba(255, 255, 255, 0.68);
    --hn-text-muted: rgba(255, 255, 255, 0.48);
    --hn-border: rgba(255, 255, 255, 0.12);
    --hn-card-bg: rgba(255, 255, 255, 0.01);
    --hn-font-family: var(--font-sans);
    --hn-hero-logo-size: 70px;
    --hn-hero-title-size: 44px;
    --hn-hero-title-lh: 70px;
    --hn-title-glow: drop-shadow(0 1.5px 8px rgba(255, 255, 255, 0.32));
    --hn-splash-from-hero: 0.75;
    /* Footer 盒子总高度。改这一处即可。 */
    --hn-footer-height: 630px;
    --hn-footer-wm-extra: calc(var(--hn-footer-height) - 540px);
    --hn-enter-dur: 0.8s;
    --hn-enter-stagger: 0.06s;
    --hn-enter-fade: cubic-bezier(0.4, 0, 0.2, 1);
    --hn-enter-move: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    /* clip 不建立滚动容器，避免 hidden 把 overflow-y 变成 auto 后打断第二屏 sticky。 */
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
    background-color: #171717;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--hn-bg);
    color: var(--hn-text);
    font-family: var(--hn-font-family);
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 液态玻璃滤镜节点：零尺寸，不能 display:none */
.hn-liquid-svg {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* 顶部导航栏 · 液态玻璃胶囊（hover 向下长出 mega） */
.hn-header {
    position: fixed;
    top: var(--header-inset, 24px);
    left: 50%;
    width: min(var(--header-w, 1000px), calc(100vw - 48px));
    margin-left: calc(min(500px, 50vw - 24px) * -1);
    min-height: 60px;
    height: auto;
    border-radius: 16px;
    z-index: var(--z-header, 1000);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    box-sizing: border-box;
}

.hn-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hn-header-left {
    display: flex;
    align-items: center;
    gap: 32px;
    min-width: 0;
}

.hn-logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hn-logo-img {
    width: 34px;
    height: 34px;
}

.hn-logo-text {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.34px;
}

.hn-main-nav {
    display: flex;
    gap: 32px;
}

.hn-nav-item {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s;
}

.hn-nav-item:hover {
    color: #fff;
}

.hn-nav-item:active {
    color: rgba(255, 255, 255, 0.88);
}

.hn-nav-item.active {
    color: #FFFFFF;
    font-weight: 700;
}

.hn-header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.hn-nav-divider,
.hn-mobile-panel {
    display: none;
}

.hn-lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s;
}

.hn-lang-switch:hover {
    color: #fff;
}

.hn-lang-switch:active {
    color: rgba(255, 255, 255, 0.88);
}

.hn-icon-globe {
    width: 16px;
    height: 16px;
}

.hn-login-btn {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    line-height: 20px;
    transition: color 0.2s;
}

.hn-login-btn:hover {
    color: #fff;
}

.hn-login-btn:active {
    color: rgba(255, 255, 255, 0.88);
}

.hn-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.24);
    border: 0.75px solid rgba(255, 255, 255, 0.68);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0px 4px 12px 0px rgba(0,0,0,0.24), inset 0px -2px 0px 1px rgba(255,255,255,0.32), inset 0px 0px 8px 0px rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hn-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 16px 0px rgba(0,0,0,0.3), inset 0px -2px 0px 1px rgba(255,255,255,0.4), inset 0px 0px 12px 0px rgba(255,255,255,0.9);
}

/* 顶栏「立即体验」· Figma 1310:1297 三态 */
header#header.hn-header .hn-nav-try {
    height: 40px;
    padding: 9px 24px;
    border-radius: 12px;
    border: 0.75px solid rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.24),
        inset 0 -2px 0 1px rgba(255, 255, 255, 0.32),
        inset 0 0 8px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

header#header.hn-header .hn-nav-try:hover,
header#header.hn-header .hn-nav-try:focus-visible {
    transform: none;
    background: rgba(255, 255, 255, 0.48);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.24),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.32),
        inset 0 0 8px rgba(255, 255, 255, 0.8);
}

header#header.hn-header .hn-nav-try:active {
    transform: none;
    background: rgba(255, 255, 255, 0.32);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.24),
        inset 0 0 8px rgba(255, 255, 255, 0.8);
}

/* 长用户名先截断。导航不折行。「立即体验」只允许在「立即 / 体验」之间折成两行。 */
header#header.hn-header .hn-header-left,
header#header.hn-header .hn-logo-area,
header#header.hn-header .hn-logo-text,
header#header.hn-header .hn-main-nav,
header#header.hn-header .hn-nav-item {
    flex-shrink: 0;
}

header#header.hn-header .hn-header-left {
    min-width: max-content;
}

header#header.hn-header .hn-logo-text,
header#header.hn-header .hn-nav-item {
    white-space: nowrap;
}

header#header.hn-header .nav-cta.hn-header-actions {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
}

header#header.hn-header .hn-header-actions > * {
    flex-shrink: 0;
}

header#header.hn-header .hn-nav-try {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 0 1 auto;
    min-width: calc(2em + 32px);
    height: 40px;
    padding: 2px 16px;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
    text-align: center;
    font-size: 14px;
    line-height: 16px;
}

header#header.hn-header #user-menu {
    flex: 0 10 auto;
    min-width: 0;
    max-width: 100%;
}

header#header.hn-header .user-menu-wrapper,
header#header.hn-header #user-name-btn {
    min-width: 0;
    max-width: 100%;
}

header#header.hn-header #user-name-btn .caret {
    flex-shrink: 0;
}

header#header.hn-header #user-name-text {
    display: block;
    min-width: 0;
    max-width: 7em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 把 SPA 的 #header 接到稿面悬浮胶囊栏（覆盖 layout.css 全宽实底栏）
   不用 transform 居中：transform 会把 backdrop-filter 锁进合成层，玻璃采不到页面。
   必须卸掉 layout.css / 行内 style 写在 header 上的 blur+实底，否则整根胶囊就是磨砂，
   子层 url(#lens) 也只能采到已经被糊掉的底。 */
header#header.hn-header,
header#header.hn-header.scrolled,
header#header.hn-header.header-scrolled {
    top: var(--header-inset, 24px);
    left: 50%;
    transform: none;
    width: min(var(--header-w, 1000px), calc(100vw - 48px));
    max-width: none;
    margin-left: calc(min(500px, 50vw - 24px) * -1);
    height: auto;
    min-height: 60px;
    padding: 0;
    border: none !important;
    border-bottom: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    border-radius: 16px;
    z-index: var(--z-header, 1000);
}

@property --hn-glass-blur {
    syntax: "<length>";
    inherits: true;
    initial-value: 4px;
}

@property --hn-glass-glow {
    syntax: "<number>";
    inherits: true;
    initial-value: 0.24;
}

/* 模糊和透镜拆开：url() 跟 blur 写在同一条 backdrop-filter 里时 Chrome 不会插值，展开会跳变。 */
header#header.hn-header {
    --hn-glass-blur: 4px;
    transition: --hn-glass-blur 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

header#header.hn-header.is-mega-open {
    --hn-glass-blur: 12px;
}

.hn-glass-base {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    --hn-glass-glow: 0.24;
    background:
        radial-gradient(ellipse 90% 160% at 50% 100%, rgba(255, 255, 255, var(--hn-glass-glow)) 0%, rgba(255, 255, 255, 0) 75%),
        rgba(0, 0, 0, 0.08);
    backdrop-filter: saturate(160%);
    -webkit-backdrop-filter: saturate(160%);
}

header#header.hn-header.is-liquid-lens .hn-glass-base {
    backdrop-filter: url(#hn-liquid-lens) saturate(160%);
    -webkit-backdrop-filter: url(#hn-liquid-lens) saturate(160%);
}

/* 弱设备只保留一个 16px 高斯模糊层；高性能档的液态玻璃规则保持原样。 */
html.hn-quality-low header#header.hn-header .hn-glass-base,
html.hn-quality-low header#header.hn-header.is-liquid-lens .hn-glass-base {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

html.hn-quality-low header#header.hn-header .hn-glass-sheen {
    display: none;
}

/* 液态透镜不可用（Safari / 弱设备 / 降级）时补 1px 白描边，避免毛玻璃糊成一块。 */
header#header.hn-header.is-glass-fallback .hn-glass-base,
html.hn-quality-low header#header.hn-header .hn-glass-base,
html.hn-quality-low header#header.hn-header.is-liquid-lens .hn-glass-base {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

/* 卖相层：只留顶沿回光 + 底沿厚度，底色交给 .hn-glass-base 的 Figma 填充 */
.hn-glass-sheen {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    backdrop-filter: blur(var(--hn-glass-blur));
    -webkit-backdrop-filter: blur(var(--hn-glass-blur));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 0 0 0.75px rgba(255, 255, 255, 0.14),
        inset 0 -8px 18px rgba(0, 0, 0, 0.16);
}

header#header.hn-header.scrolled .hn-glass-base,
header#header.hn-header.header-scrolled .hn-glass-base {
    background:
        radial-gradient(ellipse 90% 160% at 50% 100%, rgba(255, 255, 255, var(--hn-glass-glow)) 0%, rgba(255, 255, 255, 0) 75%),
        rgba(0, 0, 0, 0.08);
}

header#header.hn-header > nav.hn-header-inner,
header#header.hn-header > .hn-mega-slot {
    position: relative;
    z-index: 1;
}

header#header.hn-header > nav.hn-header-inner {
    max-width: none;
    margin: 0;
    padding: 10px 10px 8px 24px;
    min-height: 60px;
    height: auto;
    width: 100%;
    box-sizing: border-box;
}

header#header.hn-header .logo {
    background: none;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

header#header.hn-header .hn-main-nav {
    gap: 32px;
    margin: 0;
    padding: 0;
}

header#header.hn-header .hn-nav-item,
header#header.hn-header .hn-lang-switch,
header#header.hn-header .hn-lang-label,
header#header.hn-header .hn-login-btn {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.78);
    text-shadow: none;
    cursor: pointer;
    /* 覆盖 layout.css .nav-links a { transition: all }，避免字重被插值成半粗 */
    transition: color 0.2s;
}

header#header.hn-header .hn-nav-item:hover,
header#header.hn-header .hn-nav-item[aria-expanded="true"],
header#header.hn-header .hn-lang-switch:hover,
header#header.hn-header .hn-login-btn:hover {
    color: #fff;
}

header#header.hn-header .hn-nav-item:active,
header#header.hn-header .hn-lang-switch:active,
header#header.hn-header .hn-login-btn:active {
    color: rgba(255, 255, 255, 0.88);
}

header#header.hn-header .hn-nav-item.active {
    color: #FFFFFF;
    font-weight: 700;
}

header#header.hn-header .nav-links a {
    transition: color 0.2s;
}

header#header.hn-header .nav-links a::after {
    display: none;
}

header#header.hn-header .nav-cta.hn-header-actions {
    gap: 28px;
}

/* docs.css 是异步的；未到达前先藏搜索，避免撑破窄顶栏把汉堡挤出视口 */
header#header.hn-header .doc-search-container:not(.visible) {
    display: none;
}

.hn-icon-globe {
    width: 16px;
    height: 16px;
    display: block;
    object-fit: contain;
}

/* hover 展开：整根玻璃胶囊往下长；展开 / 收起同一条曲线 */
.hn-mega-slot {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    pointer-events: none;
    transition:
        grid-template-rows 0.46s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s cubic-bezier(0.32, 0, 0.67, 0);
}

header#header.hn-header.is-mega-open .hn-mega-slot {
    grid-template-rows: 1fr;
    opacity: 1;
    pointer-events: auto;
    transition:
        grid-template-rows 0.46s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
}

.hn-mega-slot-inner {
    overflow: hidden;
    min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
    .hn-mega-slot,
    header#header.hn-header.is-mega-open .hn-mega-slot,
    header#header.hn-header,
    .hn-glass-base,
    .hn-mega-card,
    .hn-mobile-panel,
    header#header.hn-header.is-mobile-open .hn-mobile-panel,
    .hn-mobile-sub,
    .hn-mobile-chevron,
    header#header.hn-header .mobile-nav-toggle .hn-menu-icon {
        transition: none;
    }
}

.hn-mega {
    display: none;
    align-items: stretch;
    gap: 16px;
    padding: 16px 16px 16px;
    width: 100%;
    box-sizing: border-box;
}

.hn-mega.is-active {
    display: flex;
}

.hn-mega-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    width: 180px;
    min-height: 86px;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(var(--hn-glass-blur));
    -webkit-backdrop-filter: blur(var(--hn-glass-blur));
    border: none;
    color: inherit;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    transition: background 0.2s ease, backdrop-filter 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 圆角 + 渐变描边：border-image 不吃 radius，background-clip 又会被 backdrop-filter 盖住。
   用伪元素铺渐变，再 mask 挖空中间，只留 0.75px 一圈。 */
.hn-mega-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    padding: 0.75px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.32) 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.hn-mega-core .hn-mega-card {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 106px;
    justify-content: flex-start;
}

.hn-mega-core .hn-mega-title,
.hn-mega-core .hn-mega-desc {
    white-space: normal;
    overflow-wrap: break-word;
}

.hn-mega-icon {
    display: block;
    width: 32px;
    height: 32px;
    overflow: clip;
    flex-shrink: 0;
}

.hn-mega-icon img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.hn-mega-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
}

header#header.hn-header .hn-mega-card .hn-mega-title {
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.88);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.88);
    transition: color 0.2s ease, -webkit-text-fill-color 0.2s ease;
}

header#header.hn-header .hn-mega-card .hn-mega-desc {
    font-size: 12px;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.48);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.48);
    transition: color 0.2s ease, -webkit-text-fill-color 0.2s ease;
}

.hn-mega-card:hover,
.hn-mega-card:focus-visible {
    background:
        radial-gradient(ellipse 90% 160% at 50% 100%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 75%),
        rgba(255, 255, 255, 0.32);
    outline: none;
}

.hn-mega-card:hover::after,
.hn-mega-card:focus-visible::after,
.hn-mega-card:active::after {
    opacity: 1;
}

header#header.hn-header .hn-mega-card:hover .hn-mega-title,
header#header.hn-header .hn-mega-card:focus-visible .hn-mega-title,
header#header.hn-header .hn-mega-card:active .hn-mega-title {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

header#header.hn-header .hn-mega-card:hover .hn-mega-desc,
header#header.hn-header .hn-mega-card:focus-visible .hn-mega-desc,
header#header.hn-header .hn-mega-card:active .hn-mega-desc {
    color: rgba(255, 255, 255, 0.68);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.68);
}

.hn-mega-card:active {
    background:
        radial-gradient(ellipse 90% 160% at 50% 100%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 75%),
        rgba(255, 255, 255, 0.16);
}

/* 通用区块样式 */
section {
    position: relative;
    width: 1920px;
    margin: 0 auto;
    overflow: hidden;
}

.hn-section-header {
    text-align: center;
    margin-top: 180px;
    margin-bottom: 80px;
}

.hn-section-header h2 {
    font-size: 42px;
    font-weight: 600;
    margin: 0 0 8px 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.68) 0%, #fff 50%, rgba(255, 255, 255, 0.68) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hn-section-header p {
    font-size: 20px;
    color: var(--hn-text-secondary);
    margin: 0;
}

/* 第一屏 + 第二屏共用舞台
   格子固定 80px，竖直原点钉在第一屏底边（折缝）。
   顶：15dvh 线性淡出。底：圆形径向，圆心在折缝，避免一条横线。
   以后 logo 墙（高 80px）可卡在折缝往上第 2 格（80–160px）的两条横线上。 */
.hn-scene {
    --hn-grid: 80px;
    --hn-grid-x: 40px;
    --hn-hero-h: 100vh;
    --hn-hero-h: 100dvh;
    --hn-grid-top: 15dvh;
    --hn-grid-rows: 3;
    --hn-grid-bottom: calc(var(--hn-grid) * var(--hn-grid-rows));
    --hn-grid-line: 0.05;
    --hn-grid-dot: 0.16;
    position: relative;
    width: 100%;
}

.hn-scene > .hn-hero,
.hn-scene > .hn-tech {
    width: 100%;
}

#view-home.active,
.hn-scene {
    background-color: #111111;
}

#view-home.active {
    position: relative;
    overflow-x: clip;
    max-width: 100%;
}

#view-home > .hn-research,
#view-home > .hn-ecosystem,
#view-home > .hn-cta {
    width: 100%;
}

html:not(.hn-is-splash):not(.hn-splash-landing) body:has(#view-home.active) {
    background: #111111 !important;
}

.hn-scene-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--hn-hero-h);
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hn-scene-grid-band {
    --hn-band-top: 0px;
    position: absolute;
    left: 0;
    right: 0;
    overflow: hidden;
}

.hn-scene-grid-band--top {
    --hn-band-top: 0px;
    top: 0;
    height: var(--hn-grid-top);
    -webkit-mask-image: linear-gradient(#fff 0%, #fff 45%, transparent 100%);
    mask-image: linear-gradient(#fff 0%, #fff 45%, transparent 100%);
}

.hn-scene-grid-band--bottom {
    /* 顶带 15dvh 的镜像：贴在第一屏底，高度按 3 行，比顶带多 */
    --hn-band-top: calc(var(--hn-hero-h) - var(--hn-grid-bottom));
    /* 圆心对准标题+Logo 墙（约 66vh），不是这截网格带的几何中心 */
    --hn-grid-hole-y: calc(66vh - var(--hn-band-top));
    top: var(--hn-band-top);
    height: calc(var(--hn-grid-bottom) * 2);
    --hn-grid-line: 0.08;
    --hn-grid-dot: 0.22;
    -webkit-mask-image: radial-gradient(
        ellipse 70vw 46vh at 50% var(--hn-grid-hole-y),
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.35) 62%,
        #fff 88%
    );
    mask-image: radial-gradient(
        ellipse 70vw 46vh at 50% var(--hn-grid-hole-y),
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.35) 62%,
        #fff 88%
    );
}

.hn-scene-grid-lines,
.hn-scene-grid-dots {
    position: absolute;
    inset: 0;
}

.hn-scene-grid-lines {
    background-image:
        linear-gradient(rgb(255 255 255 / var(--hn-grid-line)) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / var(--hn-grid-line)) 1px, transparent 1px);
    background-size: var(--hn-grid) var(--hn-grid);
    background-position: var(--hn-grid-x) calc(var(--hn-hero-h) - var(--hn-band-top));
}

.hn-scene-grid-dots {
    background-image: radial-gradient(circle, rgb(255 255 255 / var(--hn-grid-dot)) 1.25px, transparent 1.35px);
    background-size: calc(var(--hn-grid) * 4) calc(var(--hn-grid) * 2);
    background-position: calc(var(--hn-grid-x) + var(--hn-grid) * 3) calc(var(--hn-hero-h) - var(--hn-band-top));
}

/* Hero 首屏 */
.hn-hero {
    position: relative;
    height: var(--hn-hero-h);
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    justify-items: center;
    align-content: end;
    --hn-partners-gap-bottom: 16px;
    --hn-partners-gap-top: 38px;
    --hn-partners-line: 22px;
    padding: 0 24px calc(var(--hn-grid) * 2 + var(--hn-partners-gap-bottom) + var(--hn-partners-line) + var(--hn-partners-gap-top));
    box-sizing: border-box;
    overflow: hidden;
}

.hn-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-color: #171717;
}

.hn-hero-fallback,
.hn-hero-video,
.hn-hero-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hn-hero-video {
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hn-hero-media.is-video .hn-hero-video {
    opacity: 1;
}

.hn-hero-media.is-video .hn-hero-fallback {
    visibility: hidden;
}

.hn-hero-frame {
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hn-hero-frame.is-active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hn-hero-video {
        display: none;
    }

    .hn-hero-frame {
        transition: none;
    }
}

.hn-hero-wash {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 92% 58% at 50% 38%, rgba(255, 255, 255, 0.16) 0%, transparent 72%),
        linear-gradient(to bottom, rgba(23, 23, 23, 0.55) 0%, transparent 28%),
        /* Figma 316:859：1920×800 @ y=280，椭圆中心在上沿，40% 透明 → 100% #171717 */
        radial-gradient(ellipse 117.4% 97% at 50% 0, rgba(23, 23, 23, 0) 40%, #171717 100%) 0 100% / 100% 74.07% no-repeat;
}

/* Figma 1330:1767 — 600×492 @ (660, 588)/1920×1080，soft-light + 旋转 180° */
.hn-hero-bottom-glow {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 2;
    width: 31.25%;
    height: 45.5556%;
    pointer-events: none;
    transform: translateX(-50%) rotate(180deg);
    mix-blend-mode: soft-light;
}

.hn-hero-bottom-glow img {
    position: absolute;
    left: -16%;
    top: -19.51%;
    width: 132%;
    height: 139.02%;
    max-width: none;
    display: block;
}

.hn-hero-content {
    position: relative;
    z-index: 3;
    grid-row: 2;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.hn-hero-lockup {
    display: contents;
}

.hn-hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 0;
}

.hn-hero-logo {
    position: relative;
    width: var(--hn-hero-logo-size);
    height: var(--hn-hero-logo-size);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: visible;
}

.hn-hero-logo img.hn-logo-svg {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: calc(var(--hn-hero-logo-size) * 1.2);
    height: calc(var(--hn-hero-logo-size) * 1.2 * 68.2585 / 96);
    max-width: none;
    transform: translate(-50%, -50%);
    display: block;
}

.hn-hero-logo img.hn-logo-svg-mobile {
    display: none;
}

/* 云朵 path 做 CSS mask 会被 Chromium 丢掉；模糊用 ellipse clip（可用），轮廓用 SVG 底板挡住透底。
   必须放在 .hn-hero 里、copy 层下面，backdrop 才能采到视频。定位用 left/top，不能 transform。 */
.hn-logo-frost {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    /* 外层按云朵 path 裁切，避免 ellipse 从平底漏出一圈深色 */
    -webkit-clip-path: url(#hn-cloud-clip);
    clip-path: url(#hn-cloud-clip);
}

.hn-logo-frost-fill {
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
    /* ellipse 留给 backdrop-filter（Chromium 对 path mask 会丢掉模糊） */
    -webkit-clip-path: ellipse(34% 31% at 50% 48%);
    clip-path: ellipse(34% 31% at 50% 48%);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

/* 必须是 .hn-hero 的子节点（z-index 2），不能放进 z-index:3 的 copy 层，否则 backdrop 采不到视频。 */
.hn-hero-logo-frost {
    z-index: 2;
    width: calc(var(--hn-hero-logo-size) * 1.2);
    height: calc(var(--hn-hero-logo-size) * 1.2 * 68.2585 / 96);
}

.hn-hero-logo-frost:not(.is-ready) {
    opacity: 0;
}

html.hn-is-splash .hn-hero-logo-frost,
html.hn-splash-landing .hn-hero-logo-frost {
    opacity: 0;
}

.hn-splash-logo .hn-logo-frost {
    width: calc(var(--hn-hero-logo-size) * var(--hn-splash-from-hero) * 1.2);
    height: calc(var(--hn-hero-logo-size) * var(--hn-splash-from-hero) * 1.2 * 68.2585 / 96);
    left: calc(50% - var(--hn-hero-logo-size) * var(--hn-splash-from-hero) * 0.6);
    top: calc(50% - var(--hn-hero-logo-size) * var(--hn-splash-from-hero) * 1.2 * 68.2585 / 96 / 2);
    opacity: 0;
}

#hn-splash.is-leaving .hn-splash-logo .hn-logo-frost {
    opacity: 1;
}

.hn-hero-title {
    font-size: var(--hn-hero-title-size);
    font-weight: 600;
    line-height: var(--hn-hero-title-lh);
    margin: 0;
    overflow: visible;
    background: linear-gradient(104deg, rgba(255, 255, 255, 0.78) 0%, #fff 50%, rgba(255, 255, 255, 0.78) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    text-shadow: 0 1.5px 8px rgba(255, 255, 255, 0.32);
    filter: url(#hn-title-inner) var(--hn-title-glow);
}

.hn-hero-slogan {
    font-size: 54px;
    font-weight: 600;
    margin: 0 auto 8px;
    max-width: min(1100px, calc(100vw - 64px));
    line-height: 72px;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.68) 0%, #fff 50%, rgba(255, 255, 255, 0.68) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hn-icon-chevron-up-double {
    display: none;
}

.hn-hero-sub {
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    font-synthesis: none;
    font-family: inherit;
    line-height: 28px;
    color: var(--hn-text-secondary);
    margin: 0 auto;
    max-width: min(920px, calc(100vw - 64px));
}

.hn-hero-games {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: var(--hn-grid);
    margin: 0;
    text-align: center;
}

.hn-hero-games p {
    font-size: 16px;
    font-weight: 400;
    line-height: var(--hn-partners-line);
    color: rgba(255, 255, 255, 0.38);
    margin: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    padding-bottom: var(--hn-partners-gap-bottom);
}

.hn-games-logos {
    position: relative;
    width: min(1200px, calc(100% - 48px));
    height: var(--hn-grid);
    margin: 0 auto;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    /* 边框、Logo 与玻璃一起向两侧渐隐（玻璃层 .hn-hero-games-glass 用同一条 mask）。 */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.hn-games-logos-glass {
    pointer-events: none;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* 必须是 .hn-hero 的子节点：放进 z-index:3 的 logo 墙后 Chromium 采不到视频。
   定位用 left/top，不能 transform。 */
.hn-hero-games-glass {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: var(--hn-grid);
    width: min(1200px, calc(100% - 48px));
    height: var(--hn-grid);
    margin-inline: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.hn-games-clip {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hn-games-track {
    display: flex;
    align-items: center;
    width: max-content;
    height: 100%;
    animation: hn-logo-marquee 96s linear infinite;
}

.hn-games-set {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

@keyframes hn-logo-marquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(calc(var(--hn-marquee-x, 50%) * -1), 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .hn-games-track,
    .hn-scroll-hint-glow {
        animation: none;
    }
}

.hn-game-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    opacity: 0.48;
    margin-right: 80px;
    transform: translateZ(0);
}

.hn-scroll-hint {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--hn-grid);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    cursor: pointer;
}

.hn-scroll-hint-glow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: inherit;
    -webkit-mask-image: linear-gradient(
        100deg,
        rgba(0, 0, 0, 0.48) 0%,
        rgba(0, 0, 0, 0.48) 38%,
        #000 50%,
        rgba(0, 0, 0, 0.48) 62%,
        rgba(0, 0, 0, 0.48) 100%
    );
    mask-image: linear-gradient(
        100deg,
        rgba(0, 0, 0, 0.48) 0%,
        rgba(0, 0, 0, 0.48) 38%,
        #000 50%,
        rgba(0, 0, 0, 0.48) 62%,
        rgba(0, 0, 0, 0.48) 100%
    );
    -webkit-mask-size: 240% 100%;
    mask-size: 240% 100%;
    -webkit-mask-position: 120% 0;
    mask-position: 120% 0;
    animation: hn-shimmer 2.4s linear infinite;
}

.hn-scroll-hint-glow span {
    font-size: 14px;
    line-height: 22px;
}

.hn-icon-mouse {
    width: 20px;
    height: 20px;
    display: block;
}

.hn-icon-chevron-up-double {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@keyframes hn-shimmer {
    0% {
        -webkit-mask-position: 120% 0;
        mask-position: 120% 0;
    }
    100% {
        -webkit-mask-position: -20% 0;
        mask-position: -20% 0;
    }
}

/* 技术能力 · 第二屏
   标题+卡片作为一块垂直居中；标题到副标题 8px，副标题到卡片 48px。
   hover 加宽 + 底层同色光晕（模糊 68 / 透明 32% / 宽 90% / 下移 32）。 */
#hn-tech.hn-tech {
    position: relative;
    min-height: 100dvh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background-color: #111111;
}

.hn-tech-grid,
.hn-eco-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    --hn-band-top: 0px;
    --hn-grid-line: 0.08;
    --hn-grid-dot: 0.22;
    -webkit-mask-image:
        radial-gradient(
            ellipse 70vw 52vh at 50% 42%,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.35) 62%,
            #fff 88%
        ),
        linear-gradient(to bottom, #fff 0%, #fff 56%, transparent 78%);
    -webkit-mask-composite: source-in;
    mask-image:
        radial-gradient(
            ellipse 70vw 52vh at 50% 42%,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.35) 62%,
            #fff 88%
        ),
        linear-gradient(to bottom, #fff 0%, #fff 56%, transparent 78%);
    mask-composite: intersect;
}

.hn-tech-grid .hn-scene-grid-lines,
.hn-eco-grid .hn-scene-grid-lines {
    background-position: var(--hn-grid-x) 0;
}

.hn-tech-grid .hn-scene-grid-dots,
.hn-eco-grid .hn-scene-grid-dots {
    background-position: calc(var(--hn-grid-x) + var(--hn-grid) * 3) 0;
}

/* 第四屏：网格长在中间一带，上下淡出；原点钉在 2×2 卡片左上角 */
.hn-eco-grid {
    --hn-grid-line: 0.022;
    --hn-grid-dot: 0.055;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #fff 14%,
        #fff 72%,
        transparent 94%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #fff 14%,
        #fff 72%,
        transparent 94%
    );
    -webkit-mask-composite: source-over;
    mask-composite: add;
}

.hn-eco-grid .hn-scene-grid-lines {
    background-position: var(--eco-grid-x, var(--hn-grid-x)) var(--eco-grid-y, 0px);
}

.hn-eco-grid .hn-scene-grid-dots {
    background-position:
        calc(var(--eco-grid-x, var(--hn-grid-x)) + var(--hn-grid) * 3)
        var(--eco-grid-y, 0px);
}

.hn-tech-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* 内容较高时也保留屏间呼吸空间；高屏仍由舞台居中补足留白。 */
    min-height: 100dvh;
    justify-content: center;
    padding: clamp(112px, 14dvh, 176px) 0 clamp(112px, 14dvh, 176px);
    box-sizing: border-box;
}

#hn-tech .hn-section-header {
    margin-top: 0;
    margin-bottom: 48px;
}

#hn-tech .hn-section-header h2 {
    margin: 0 0 8px;
    line-height: 60px;
}

#hn-tech .hn-section-header p {
    line-height: 30px;
}

.hn-scene > .hn-tech > * {
    position: relative;
    z-index: 3;
}

.hn-scene > .hn-tech > .hn-tech-grid {
    position: absolute;
    z-index: 1;
}

.hn-tech-cards {
    --hn-tech-ease: cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 1280px;
    margin: 0 auto;
    overflow: visible;
}

.hn-tech-card {
    position: relative;
    width: 220px;
    height: 560px;
    flex: 0 0 220px;
    z-index: 1;
    isolation: isolate;
    background: transparent;
    overflow: visible;
    cursor: pointer;
    --hn-enter-i: 0;
    transition:
        width 0.62s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        flex-basis 0.62s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

/* 把 20px 缝补上，避免快速划过时在间隙里丢掉 hover */
.hn-tech-card::before {
    content: "";
    position: absolute;
    inset: 0 -10px;
    z-index: 0;
}

.hn-tech-card.active {
    width: 320px;
    flex-basis: 320px;
    z-index: 2;
}

.hn-tech-card:nth-child(1) { --hn-enter-i: 0; }
.hn-tech-card:nth-child(2) { --hn-enter-i: 1; }
.hn-tech-card:nth-child(3) { --hn-enter-i: 2; }
.hn-tech-card:nth-child(4) { --hn-enter-i: 3; }
.hn-tech-card:nth-child(5) { --hn-enter-i: 4; }

.hn-tech-card-glow {
    position: absolute;
    left: 5%;
    top: 32px;
    width: 90%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.62s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-tech-card.active .hn-tech-card-glow {
    opacity: 1;
}

.hn-tech-card-glow-img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(68px);
    opacity: 0.32;
}

.hn-tech-card-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--hn-bg);
}

.hn-tech-card-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
    box-shadow: inset 0 0 24px rgba(255, 255, 255, 0);
    transition: box-shadow 0.5s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-tech-card.active .hn-tech-card-inner {
    border-color: rgba(255, 255, 255, 0.16);
}

.hn-tech-card.active .hn-tech-card-inner::after {
    box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.32);
}

.hn-tech-card-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hn-tech-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.48) 10%, rgba(0, 0, 0, 0.88) 80%);
    z-index: 1;
    transition: background 0.5s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-tech-card.active .hn-tech-card-shade {
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.16) 10%, rgba(0, 0, 0, 0.58) 80%),
        rgba(255, 255, 255, 0.12);
}

.hn-tech-card--1 .hn-tech-card-glow-img,
.hn-tech-card--1 .hn-tech-card-photo {
    background-image: url('../assets/images/home/tech1.webp');
}

.hn-tech-card--2 .hn-tech-card-glow-img,
.hn-tech-card--2 .hn-tech-card-photo {
    background-image: url('../assets/images/home/tech2.webp');
}

.hn-tech-card--3 .hn-tech-card-glow-img,
.hn-tech-card--3 .hn-tech-card-photo {
    background-image: url('../assets/images/home/tech3.webp');
}

.hn-tech-card--4 .hn-tech-card-glow-img,
.hn-tech-card--4 .hn-tech-card-photo {
    background-image: url('../assets/images/home/tech4.webp');
}

.hn-tech-card--5 .hn-tech-card-glow-img,
.hn-tech-card--5 .hn-tech-card-photo {
    background-image: url('../assets/images/home/tech5.webp');
}

.hn-tech-card-content {
    position: absolute;
    inset: 0;
    padding: 24px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0;
    box-sizing: border-box;
}

.hn-tech-card-copy {
    position: relative;
}

.hn-tech-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hn-tech-copy--expand {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    gap: 8px;
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
    pointer-events: none;
    transition:
        opacity 0.5s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        transform 0.5s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        filter 0.5s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-tech-copy--collapse {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transition:
        opacity 0.38s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        transform 0.38s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        filter 0.38s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-tech-card.active .hn-tech-copy--collapse {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
    transform: translateY(-12px);
    filter: blur(6px);
    pointer-events: none;
}

.hn-tech-card.active .hn-tech-copy--expand {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    pointer-events: auto;
}

.hn-tech-card.active .hn-tech-card-copy {
    margin-bottom: 24px;
}

.hn-tech-card h3 {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    line-height: 40px;
}

.hn-tech-copy--expand h3 {
    color: #fff;
    white-space: nowrap;
}

.hn-tech-card h3 .light {
    font-weight: 300;
}

.hn-tech-copy--expand h3 .light {
    font-weight: 400;
}

.hn-tech-card h3 strong {
    font-weight: 600;
}

.hn-tech-copy--expand h3 strong {
    font-weight: 700;
}

/* 英文标题比中文长：收起时禁止在连字符处拆词，展开时补词间空格 */
html[lang="en"] .hn-tech-card h3 {
    hyphens: none;
    overflow-wrap: normal;
    word-break: keep-all;
}

html[lang="en"] .hn-tech-copy--collapse h3 {
    font-size: 24px;
    line-height: 30px;
}

html[lang="en"] .hn-tech-copy--collapse h3 .light,
html[lang="en"] .hn-tech-copy--collapse h3 strong {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
}

html[lang="en"] .hn-tech-copy--expand h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.3em;
    white-space: normal;
}

html[lang="en"] .hn-tech-copy--expand h3 .light::after {
    content: none;
}

html[lang="en"] .hn-tech-copy--expand h3 .light,
html[lang="en"] .hn-tech-copy--expand h3 strong {
    white-space: nowrap;
}

.hn-tech-card .desc {
    font-size: 15px;
    color: var(--hn-text-muted);
    margin: 0;
    line-height: 24px;
}

.hn-tech-copy--expand .desc {
    color: rgba(255, 255, 255, 0.78);
    white-space: normal;
}

.hn-tech-phrase {
    display: inline;
    opacity: 0;
    transform: translateY(0.55em);
    filter: blur(8px);
    transition:
        opacity 0.55s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        transform 0.55s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        filter 0.55s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-tech-card.active .hn-tech-phrase {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.hn-tech-card .metrics {
    display: flex;
    align-items: center;
    gap: 24px;
    max-height: 0;
    margin-bottom: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(16px);
    filter: blur(8px);
    transition:
        max-height 0.5s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        margin-bottom 0.5s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        opacity 0.45s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        transform 0.5s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        filter 0.5s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-tech-card.active .metrics {
    max-height: 80px;
    margin-bottom: 24px;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
    transform: translateY(0);
    filter: blur(0);
}

.hn-tech-card .metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    opacity: 0;
    transform: translateY(12px);
    filter: blur(6px);
    transition:
        opacity 0.48s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        transform 0.48s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        filter 0.48s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-tech-card.active .metric {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.hn-tech-card.active .metric:nth-child(1) { transition-delay: 0.08s; }
.hn-tech-card.active .metric:nth-child(2) { transition-delay: 0.15s; }
.hn-tech-card.active .metric:nth-child(3) { transition-delay: 0.22s; }

.hn-tech-card .metric-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 24px;
}

.hn-tech-card .metric-icon img {
    display: block;
    height: 24px;
    width: auto;
}

.hn-tech-card .metric-icon--remix img {
    height: 20px;
}

.hn-tech-card .metric .lbl {
    font-size: 11px;
    line-height: 16px;
    color: var(--hn-text-secondary);
    white-space: nowrap;
}

/* 与顶栏「立即体验」三态一致，只加宽到卡片内 272 */
.hn-tech-card .hn-btn-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 272px;
    height: 40px;
    max-height: 0;
    padding: 0 16px;
    margin-top: 0;
    border-radius: 12px;
    border: 0 solid rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    box-sizing: border-box;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    filter: blur(6px);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.24),
        inset 0 -2px 0 1px rgba(255, 255, 255, 0.32),
        inset 0 0 8px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition:
        max-height 0.5s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        padding 0.5s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        opacity 0.32s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        transform 0.36s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        filter 0.32s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.hn-tech-card.active .hn-btn-more {
    max-height: 40px;
    padding: 6px 16px;
    border-width: 0.75px;
    transition-delay: 0s, 0s, 0.12s, 0.12s, 0.12s, 0s, 0s;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    filter: blur(0);
}

.hn-tech-card .hn-btn-more img {
    width: 20px;
    height: 20px;
}

.hn-tech-card .hn-btn-more:hover,
.hn-tech-card .hn-btn-more:focus-visible {
    background: rgba(255, 255, 255, 0.48);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.24),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.32),
        inset 0 0 8px rgba(255, 255, 255, 0.8);
}

.hn-tech-card .hn-btn-more:active {
    background: rgba(255, 255, 255, 0.32);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.24),
        inset 0 0 8px rgba(255, 255, 255, 0.8);
}

.hn-tech-cards:not(.is-ready) .hn-tech-card,
.hn-tech-cards:not(.is-ready) .hn-tech-card * {
    transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .hn-tech-card,
    .hn-tech-card-glow,
    .hn-tech-card-inner::after,
    .hn-tech-copy--collapse,
    .hn-tech-copy--expand,
    .hn-tech-phrase,
    .hn-tech-card .metrics,
    .hn-tech-card .metric,
    .hn-tech-card .hn-btn-more,
    .hn-tech-card-shade {
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
        filter: none !important;
        transform: none !important;
    }
}

/* 探索前沿技术 */
.hn-research,
#hn-research {
    min-height: 100dvh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(112px, 14dvh, 176px) 0 80px;
    box-sizing: border-box;
    background-color: #111111;
    overflow: visible;
}

.hn-research-stage {
    position: relative;
    z-index: 3;
    width: 100%;
}

#hn-research .hn-section-header {
    margin-top: 0;
    margin-bottom: 32px;
}

#hn-research .hn-section-header h2 {
    line-height: 60px;
}

#hn-research .hn-section-header p {
    line-height: 30px;
}

.hn-news-rail {
    position: relative;
    width: 1280px;
    max-width: calc(100% - 48px);
    height: auto;
    overflow: visible;
    margin: 0 auto;
    padding-top: 16px;
    padding-bottom: 24px;
}

.hn-news-viewport {
    display: block;
    overflow: visible;
    position: relative;
    z-index: 1;
    width: 100vw;
    max-width: none;
    box-sizing: border-box;
    /* 拉到屏幕左右边缘，首卡仍与 1280 栏对齐；纵向不裁切光晕 */
    margin-left: calc(50% - 50vw);
    margin-top: 0;
    height: auto;
    padding: 0 0 0 calc(50vw - 50%);
    font-size: 0;
    line-height: 0;
    scrollbar-width: none;
}

.hn-news-viewport::-webkit-scrollbar {
    display: none;
}

.hn-news-cards {
    --hn-news-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --hn-news-x: 0px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    width: max-content;
    overflow: visible;
    font-size: 16px;
    line-height: normal;
    margin-left: var(--hn-news-x, 0px);
}

.hn-news-cards.is-news-sliding {
    transition: margin-left 0.5s var(--hn-news-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-news-fade {
    position: absolute;
    top: -180px;
    bottom: -180px;
    height: auto;
    pointer-events: none;
    z-index: 6;
}

.hn-news-fade--right {
    right: calc(50% - 50vw);
    width: 200px;
    background: linear-gradient(to left, #111111, rgba(17, 17, 17, 0));
}

.hn-news-fade--left {
    left: calc(50% - 50vw);
    width: 200px;
    background: linear-gradient(to right, #111111, rgba(17, 17, 17, 0));
}

.hn-news-card-wrap {
    position: relative;
    flex: 0 0 580px;
    width: 580px;
    min-width: 580px;
    height: 260px;
    box-sizing: content-box;
    padding: 200px 0;
    margin: -200px 0;
    overflow: visible;
    pointer-events: none;
}

.hn-news-card-wrap:hover {
    z-index: 3;
}

.hn-news-card-glow {
    display: block;
    position: absolute;
    left: -80px;
    right: -80px;
    top: 0;
    bottom: 0;
    width: auto;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.hn-news-card-glow-img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background-size: 522px 221px;
    background-position: center 230px;
    background-repeat: no-repeat;
    filter: blur(68px);
    opacity: 0;
    transition: opacity 0.62s var(--hn-news-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-news-card-wrap:hover .hn-news-card-glow-img {
    opacity: 0.32;
}

.hn-news-card {
    display: block;
    pointer-events: auto;
    width: 100%;
    height: 260px;
    border-radius: 24px;
    border: 1px solid var(--hn-border);
    background-color: #101010;
    background-image: radial-gradient(ellipse 80% 80% at 50% 100%, #3a3a3a 0%, #101010 100%);
    position: relative;
    z-index: 1;
    padding: 23px;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    box-shadow: inset 0 -8px 16px rgba(255, 255, 255, 0);
    transition: box-shadow 0.5s var(--hn-news-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-news-card.article-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(
        ellipse 80% 80% at 50% 100%,
        #6c6c6c 0%,
        #101010 100%
    );
    opacity: 0;
    transition: opacity 0.5s var(--hn-news-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-news-card-wrap:hover .hn-news-card.article-card::before {
    opacity: 1;
}

.hn-news-card-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: none;
}

.hn-news-meta {
    display: flex;
    gap: 8px;
}

.hn-news-meta .date,
.hn-news-meta .tag {
    padding: 4px 12px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 14px;
    line-height: 20px;
    color: var(--hn-text-secondary);
}

.hn-news-card .title {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    transition: color 0.5s var(--hn-news-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-news-card-title-text {
    flex: 1;
    min-width: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    overflow-wrap: break-word;
    line-height: 32px;
}

.hn-news-card:hover .title {
    font-weight: 500;
    color: #fff;
}

.hn-news-card-arrow {
    display: none;
}

.hn-news-card.article-card:hover {
    box-shadow: inset 0 -8px 16px rgba(255, 255, 255, 0.12);
}

.version-logo {
    position: absolute;
    bottom: 109px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 48px;
    font-weight: 600;
    line-height: 40px;
    color: rgba(255, 255, 255, 0.68);
    white-space: nowrap;
    z-index: 2;
    transition: color 0.5s var(--hn-news-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-news-card.version-card:hover .version-logo {
    color: rgba(255, 255, 255, 0.88);
}

.hn-news-card-bg {
    position: absolute;
    inset: -1px;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hn-news-card.version-card {
    background: radial-gradient(ellipse 80% 80% at 50% 100%, #3a3a3a 0%, #101010 100%);
}

.hn-news-card.version-card .hn-news-card-bg {
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.07) 0%, #000 95%),
        var(--hn-news-cover, url('../assets/images/home/article2-bg.png'));
}

.hn-news-card.version-card:hover .hn-news-card-bg {
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.88) 95%),
        var(--hn-news-cover, url('../assets/images/home/article2-bg.png'));
}

.hn-news-images {
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 500px;
    height: 160px;
    z-index: 1;
    transition: transform 0.5s var(--hn-news-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-news-card-wrap:hover .hn-news-images {
    transform: translateX(-50%) translateY(-6px);
}

.img-layer {
    position: absolute;
    left: 50%;
    height: 160px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(to bottom, #202020, #181818);
    border: 1px solid rgba(150, 150, 150, 0.24);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s var(--hn-news-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.img-layer-3 {
    width: 460px;
    bottom: 15px;
    transform: translateX(-50%);
    z-index: 1;
}

.img-layer-2 {
    width: 480px;
    bottom: 8px;
    transform: translateX(-50%);
    z-index: 2;
    background: linear-gradient(to bottom, #2a2a2a, #181818);
}

.img-layer-1 {
    width: 500px;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 3;
    background-color: #101010;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    border: 1.5px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 -4px 32px -4px #000;
}

.img-layer-1::after {
    content: "";
    position: absolute;
    inset: -1.5px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.68));
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.5s var(--hn-news-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.hn-news-card-wrap:hover .img-layer-1::after {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .hn-news-card-wrap,
    .hn-news-card-glow,
    .hn-news-card-glow-img,
    .hn-news-card,
    .hn-news-card.article-card::before,
    .hn-news-card .title,
    .hn-news-card-arrow,
    .version-logo,
    .img-layer,
    .img-layer-1::after {
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }

    .hn-news-images,
    .hn-news-card-wrap:hover .hn-news-images {
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }

    .hn-news-card-wrap:hover {
        transform: none;
    }

    .hn-news-card-wrap:hover .hn-news-images {
        transform: translateX(-50%) translateY(6px);
    }
}

.hn-news-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1280px;
    max-width: calc(100% - 48px);
    margin: 0 auto 60px auto;
    position: relative;
    z-index: 4;
}

.hn-btn-outline {
    padding: 7px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 15px;
    line-height: 26px;
}

.hn-news-actions .hn-btn-outline,
.hn-nav-btn {
    cursor: pointer;
    border: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.hn-news-actions .hn-btn-outline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
}

.hn-news-actions .hn-btn-outline:hover,
.hn-news-actions .hn-btn-outline:active {
    color: #fff;
}

.hn-news-actions .hn-btn-outline:hover,
.hn-nav-btn:hover {
    background: rgba(255, 255, 255, 0.24);
}

.hn-news-actions .hn-btn-outline:active,
.hn-nav-btn:active {
    background: rgba(255, 255, 255, 0.16);
}

.hn-news-nav {
    display: flex;
    gap: 16px;
}

.hn-nav-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hn-nav-btn img {
    width: 20px;
    height: 20px;
    display: block;
}

.hn-nav-btn.prev img {
    transform: rotate(180deg);
}

.hn-nav-btn.is-disabled {
    opacity: 0.32;
    pointer-events: none;
}

.hn-sub-title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    line-height: 48px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 40px;
}

.hn-research-dirs {
    display: grid;
    grid-template-columns: repeat(5, 230px);
    grid-template-rows: auto auto;
    justify-content: center;
    column-gap: 32px;
    row-gap: 16px;
    width: 1280px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
    overflow: visible;
}

.hn-dir-card {
    --hn-enter-i: 0;
    width: 230px;
    min-height: 0;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    align-items: start;
    overflow: visible;
}

.hn-dir-card:nth-child(1) { --hn-enter-i: 0; }
.hn-dir-card:nth-child(2) { --hn-enter-i: 1; }
.hn-dir-card:nth-child(3) { --hn-enter-i: 2; }
.hn-dir-card:nth-child(4) { --hn-enter-i: 3; }
.hn-dir-card:nth-child(5) { --hn-enter-i: 4; }

.hn-dir-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    overflow: visible;
}

.hn-dir-card .icon {
    position: relative;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    overflow: visible;
}

.hn-dir-card .icon img {
    position: absolute;
    inset: 0;
    width: 58px;
    height: 58px;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
    display: block;
}

.hn-dir-card .icon .icon-off {
    z-index: 1;
    opacity: 1;
}

.hn-dir-card .icon .icon-on {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.18s ease-out;
}

.hn-dir-card:hover .icon .icon-on {
    opacity: 1;
}

.hn-dir-card h4 {
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    color: #fff;
    margin: 0;
}

.hn-dir-card p {
    font-size: 14px;
    font-weight: 400;
    color: var(--hn-text-secondary);
    margin: 0;
    line-height: 22px;
}

.hn-dir-card .tags {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 6px;
    width: 100%;
    max-width: 100%;
}

.hn-dir-card .tag:empty {
    display: none;
}

.hn-dir-card .tag {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 12px;
    color: var(--hn-text-secondary);
    white-space: nowrap;
}

@supports not (grid-template-rows: subgrid) {
    .hn-research-dirs {
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 32px;
    }

    .hn-dir-card {
        display: flex;
        flex-direction: column;
        min-height: 196px;
    }

    .hn-dir-copy {
        flex: 1 1 auto;
        min-height: 168px;
    }
}

/* 共建游戏技术生态
   标题+卡片作为一块垂直居中（同行高/间距对齐第二、三屏）；
   背景网格复用第二屏中间空心格子；hover 点阵 + 文案入场。 */
.hn-ecosystem {
    --hn-tech-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --hn-grid: 80px;
    --hn-grid-x: 40px;
    position: relative;
    min-height: 100dvh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #111111;
}

.hn-eco-stage {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* 收紧第四屏内容与第五屏之间的尾部留白。 */
    padding: 32px 0 40px;
    box-sizing: border-box;
}

#hn-ecosystem .hn-section-header {
    margin-top: 0;
    margin-bottom: 48px;
}

#hn-ecosystem .hn-section-header h2 {
    margin: 0 0 8px;
    line-height: 60px;
}

#hn-ecosystem .hn-section-header p {
    line-height: 30px;
}

.hn-eco-cards {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

.hn-eco-board {
    position: relative;
    width: 1200px;
    max-width: 100%;
}

.hn-eco-card {
    --eco-dot: #6b3fef;
    width: 600px;
    max-width: 100%;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0c0c0c;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    cursor: default;
    transition: border-color 0.28s cubic-bezier(0.32, 0, 0.67, 0);
}

.hn-eco-card:nth-child(even) {
    margin-left: -1px;
}

.hn-eco-card.arm-card,
.hn-eco-card.tencent-card {
    z-index: 1;
}

.hn-eco-card.tencent-card {
    --eco-dot: #20c4ff;
}

.hn-eco-card.placeholder {
    background: #0c0c0c;
    border-color: rgba(255, 255, 255, 0.05);
    border-top-color: transparent;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #fff 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, #fff 0%, transparent 100%);
}

/* 两张占位卡只负责把边框向下渐隐，不应作为第二排内容撑高第四屏。 */
@media (min-width: 1200px) {
    .hn-eco-stage {
        /* 第四屏内容略向第五屏靠拢，保留整屏高度但减少尾部空白。 */
        transform: translateY(48px);
    }

    .hn-eco-card.placeholder {
        position: absolute;
        top: 320px;
    }

    .hn-eco-card.placeholder:nth-child(3) {
        left: 0;
    }

    .hn-eco-card.placeholder:nth-child(4) {
        right: 0;
        margin-left: 0;
    }
}

.hn-eco-card .eco-dots {
    position: absolute;
    inset: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    display: block;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.28s cubic-bezier(0.32, 0, 0.67, 0);
}

.hn-eco-card .eco-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        linear-gradient(to top, #0c0c0c 0%, rgba(12, 12, 12, 0) 84%),
        radial-gradient(ellipse 57.49% 50% at 50% 50%, rgba(12, 12, 12, 0.55) 34.41%, rgba(12, 12, 12, 0) 100%);
}

.hn-eco-card.is-eco-on {
    z-index: 2;
    border-color: color-mix(in srgb, var(--eco-dot) 56%, transparent);
}

.hn-eco-card.is-eco-on .eco-dots {
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.eco-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 88px 28px;
    text-align: center;
}

.eco-logo-wrap {
    position: relative;
    display: block;
    flex-shrink: 0;
}

.eco-logo-wrap.arm-logo {
    width: 136px;
    height: 42px;
}

.eco-logo-wrap.tencent-logo {
    width: 180px;
    height: 48px;
}

.eco-logo-wrap .eco-logo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.55s var(--hn-tech-ease);
}

.eco-logo-wrap .eco-logo--on {
    opacity: 0;
}

.hn-eco-card.is-eco-on .eco-logo-wrap .eco-logo--off {
    opacity: 0;
}

.hn-eco-card.is-eco-on .eco-logo-wrap .eco-logo--on {
    opacity: 1;
}

.eco-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.eco-content h3 {
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    transition: color 0.55s var(--hn-tech-ease);
}

.hn-eco-card.is-eco-on .eco-content h3 {
    font-weight: 600;
    color: #fff;
}

.eco-desc {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.68);
    opacity: 0;
    transform: translateY(0.55em);
    filter: blur(8px);
    pointer-events: none;
    transition:
        grid-template-rows 0.55s var(--hn-tech-ease),
        opacity 0.55s var(--hn-tech-ease),
        transform 0.55s var(--hn-tech-ease),
        filter 0.55s var(--hn-tech-ease);
}

.eco-desc-clip {
    overflow: hidden;
    min-height: 0;
}

.eco-desc-inner {
    display: block;
    white-space: normal;
    padding-top: 8px;
}

.hn-eco-card.is-eco-on .eco-desc {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.hn-eco-hint {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(320px + 32px);
    z-index: 4;
    margin: 0;
    text-align: center;
    font-size: 15px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.48);
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .hn-eco-card,
    .hn-eco-card .eco-dots,
    .eco-logo-wrap .eco-logo,
    .eco-content h3,
    .eco-desc {
        transition: none;
    }
}

/* CTA 号召 */
.hn-cta-pin-track {
    /*
     * 二段封底轨道：一整屏 CTA + Footer 独立推出距离。
     * 推出距离 = 地平线以下 15vh + Footer 内容距容器顶部 80px
     *          + 超大字标完整露出所需的额外高度。
     * 当 Footer 第一排内容抵达地平线时，sticky 正好解除。
     */
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(115dvh + 80px + var(--hn-footer-wm-extra, 194px));
    background: #111111;
}

.hn-cta {
    /* Unicorn Beyond Horizons 封底构图：光效只属于这一屏。 */
    height: 100vh;
    height: 100dvh;
    /* 覆盖全局 section 的 80% / max-width，避免超宽屏把 100vw 光效裁成中间一块。 */
    width: 100%;
    max-width: none;
    margin-inline: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 完整一屏停驻：文字居中，地平线位于页面自上而下 85% 的位置。 */
    position: sticky;
    top: 0;
    scroll-margin-top: 0;
    z-index: 2;
    /* 允许弯曲玻璃涂层越过 CTA 底边继续覆盖 Footer；画布自身仍保持一屏尺寸。 */
    overflow: visible;
    background: #111111;
}

/*
 * 地平线玻璃层固定在整屏 CTA 内部，不再跟随 Footer 每帧反向移动。
 * 这样 60px backdrop blur 在 Footer 推出阶段只需采样一次，不会闪烁。
 */
.hn-cta::after {
    content: '';
    position: absolute;
    /* 弧面比光学地平线低 10px，避免边缘与亮线相切形成斜切残影。 */
    top: calc(85% + 10px);
    left: 50%;
    width: max(125%, 100vw);
    /* 从弯曲地平线延伸到 Footer 底边；底部通过 mask 柔和淡出。 */
    height: calc(450px + var(--hn-footer-wm-extra, 194px));
    transform: translateX(-50%);
    border-radius: 50% 50% 0 0 /
        calc(28px * var(--hn-footer-arc, 0)) calc(28px * var(--hn-footer-arc, 0)) 0 0;
    background: rgba(17, 17, 17, 0.2);
    -webkit-backdrop-filter: blur(60px);
    backdrop-filter: blur(60px);
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        rgba(0, 0, 0, 0.94) 30%,
        rgba(0, 0, 0, 0.46) 68%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        rgba(0, 0, 0, 0.94) 30%,
        rgba(0, 0, 0, 0.46) 68%,
        transparent 100%
    );
    box-shadow:
        0 -1px 0 rgba(207, 181, 255, 0.20),
        0 -10px 120px rgba(104, 70, 166, 0.12);
    pointer-events: none;
    z-index: 2;
}

.hn-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 1;
}

.hn-cta-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
    /* 文字与按钮组固定在整屏的垂直中心。 */
    margin-top: 0;
}

.hn-cta-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.hn-cta-content h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 64px;
    letter-spacing: 0.96px;
    margin: 0;
    background: linear-gradient(124.4deg, rgba(255, 255, 255, 0.68) 0%, #fff 50%, rgba(255, 255, 255, 0.68) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hn-cta-content p {
    font-size: 22px;
    font-weight: 400;
    line-height: 29px;
    letter-spacing: 0.44px;
    color: rgba(255, 255, 255, 0.48);
    margin: 0;
}

.hn-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.hn-cta-actions .hn-btn-primary.large,
.hn-cta-actions .hn-btn-outline.large {
    width: 166px;
    min-width: 166px;
}

.hn-cta-try-icon {
    display: block;
    width: 30px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

/* 大号高亮按钮 · 与首页封底「立即体验」三态相同 */
.hn-btn-primary.large {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    height: 48px;
    padding: 9px 28px;
    font-size: 17px;
    font-weight: 600;
    line-height: 26px;
    color: #fff;
    border: none;
    border-radius: 16px;
    background: linear-gradient(226.32deg, #752af7 0%, #445dff 62.37%, #a3dfff 124.7%);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.24),
        inset 0 -2px 0 1px rgba(255, 255, 255, 0.32),
        inset 0 0 8px rgba(255, 255, 255, 0.8);
    overflow: hidden;
    cursor: pointer;
    transform: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.hn-btn-primary.large:hover,
.hn-btn-primary.large:focus-visible {
    transform: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
        linear-gradient(226.32deg, #752af7 0%, #445dff 62.37%, #a3dfff 124.7%);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.24),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.32),
        inset 0 0 8px rgba(255, 255, 255, 0.8);
}

.hn-btn-primary.large:active {
    transform: none;
    background:
        linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)),
        linear-gradient(226.32deg, #752af7 0%, #445dff 62.37%, #a3dfff 124.7%);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.24),
        inset 0 0 8px rgba(255, 255, 255, 0.8);
}

/* 大号非高亮按钮 · 与顶栏「立即体验」三态相同 */
.hn-btn-outline.large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 48px;
    padding: 11px 28px;
    font-size: 17px;
    font-weight: 600;
    line-height: 26px;
    color: #fff;
    border-radius: 16px;
    border: 0.75px solid rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.24);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.24),
        inset 0 -2px 0 1px rgba(255, 255, 255, 0.32),
        inset 0 0 8px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    transform: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.hn-btn-outline.large:hover,
.hn-btn-outline.large:focus-visible {
    background: rgba(255, 255, 255, 0.48);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.24),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.32),
        inset 0 0 8px rgba(255, 255, 255, 0.8);
}

.hn-btn-outline.large:active {
    background: rgba(255, 255, 255, 0.32);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.24),
        inset 0 0 8px rgba(255, 255, 255, 0.8);
}

/* 流光公共容器：环境态和封底态各用一张 canvas，滚动时交叉淡化。 */
@property --hn-aurora-lit {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

.hn-aurora {
    --hn-aurora-arc: 0;
    --hn-aurora-opacity: 1;
    --hn-aurora-lit: 0;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease, visibility 0.55s;
}

.hn-aurora.is-on {
    --hn-aurora-lit: 1;
    opacity: var(--hn-aurora-opacity);
    visibility: visible;
}

/* 第二至第四屏：固定贴在视口底部的宽矮流光。 */
.hn-aurora--ambient {
    --hn-ambient-sink: 0px;
    position: fixed;
    inset: 0;
    /* 第二至第四屏环境光位于内容上方；pointer-events:none 不影响内容交互。 */
    z-index: 4;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    transform: translate3d(0, var(--hn-ambient-sink), 0);
    will-change: transform, opacity;
    /* 进屏后再缓亮；曲线对齐首屏底部光 / AI 光效开启。沉入地平线仍由 --hn-aurora-opacity 即时驱动。 */
    opacity: calc(var(--hn-aurora-opacity) * var(--hn-aurora-lit));
    transition:
        --hn-aurora-lit 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.9s;
}

.hn-aurora--ambient.is-on {
    opacity: calc(var(--hn-aurora-opacity) * var(--hn-aurora-lit));
}

/* 只有地平线真正接触微光后才退到 Footer 玻璃弧面（z-index:4）后方。 */
.hn-aurora--ambient.is-horizon-behind {
    z-index: 3;
}

/* 第五屏：回到 CTA 内部的 Beyond Horizons 局部场景。 */
.hn-aurora--final {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 1;
    /* 最后一屏必须覆盖完整视口；旧的 1430px 上限会在超宽屏直接露出矩形边界。 */
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
}

.hn-aurora-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
    transform: translateZ(0);
}

.hn-aurora--ambient .hn-aurora-canvas {
    -webkit-mask-image: linear-gradient(to top, #000 0%, #000 62%, transparent 100%);
    mask-image: linear-gradient(to top, #000 0%, #000 62%, transparent 100%);
    opacity: 1;
}

.hn-aurora--final .hn-aurora-canvas {
    /* 柔化区与 85% 高度的地平线对齐。 */
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 85%, rgba(0, 0, 0, 0.56) 93%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 85%, rgba(0, 0, 0, 0.56) 93%, transparent 100%);
}

/* Footer */
footer.site-footer.hn-footer {
    height: var(--hn-footer-height);
    min-height: var(--hn-footer-height);
    box-sizing: border-box;
    padding: 0;
    background: #111111;
    border-top: 0;
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

body:has(#view-home.active) footer.site-footer.hn-footer {
    /* Footer 先独立上推 15vh + 80px，再带动整张封底继续滚动。 */
    margin-top: calc(-15dvh - 80px);
    border-top: 0 !important;
    /* 背景由停驻中的 CTA 和固定玻璃层承载，避免黑块提前盖住光效。 */
    background: transparent;
}

body:has(#view-home.active) .hn-footer::before {
    content: none;
}

.hn-footer-inner {
    width: 1280px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* DOM 顶比地平线高 80px；可见弧面比地平线低 10px；弧面到内容 88px。 */
    margin-top: 178px;
    z-index: 4;
}

.hn-footer-links {
    display: grid;
    grid-template-columns: repeat(4, 150px);
    column-gap: 32px;
    justify-items: start;
    text-align: left;
}

html[lang="en"] .hn-footer-links {
    grid-template-columns: 190px repeat(3, 150px);
}

html[lang="en"] .link-col a {
    white-space: nowrap;
}

.link-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.link-col-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: default;
    pointer-events: none;
}

.link-col-chevron {
    display: none;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.link-col-panel {
    display: contents;
}

.link-col-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.link-col h4 {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.4px;
    color: #fff;
    margin: 0 0 12px 0;
}

.link-col a {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.28px;
    color: rgba(255, 255, 255, 0.48);
    transition: color 0.2s;
}

.link-col a:hover {
    color: #fff;
}

.hn-footer-social {
    display: none;
}

.hn-footer-qrcodes {
    display: flex;
    flex-shrink: 0;
    gap: 16px;
}

.hn-footer-social--en,
.hn-footer-qrcodes--en {
    display: none;
}

html[lang="en"] .hn-footer-qrcodes--zh {
    display: none;
}

html[lang="en"] .hn-footer-qrcodes--en {
    display: flex;
}

.qrcode {
    width: 120px;
    height: 120px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    padding: 4.25px;
    background: rgba(0, 0, 0, 0.24);
    border: 0.75px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.qrcode-img {
    display: block;
    width: 110px;
    height: 110px;
    object-fit: cover;
    opacity: 0.68;
    filter: invert(1);
}

.qrcode-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%);
    overflow: hidden;
    border: 0.75px solid rgba(255, 255, 255, 0.32);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.24),
        inset 0 0 8px rgba(255, 255, 255, 0.24);
}

.qrcode-badge img {
    display: block;
    width: 20px;
    height: 20px;
}

.qrcode-badge--bilibili img,
.qrcode-badge--linkedin img,
.qrcode-badge--youtube img {
    width: 24px;
    height: 24px;
}

.qrcode-img--light {
    filter: none;
}

.hn-footer-qr-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.56);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hn-footer-qr-overlay[hidden] {
    display: none;
}

.hn-footer-qr-sheet {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 20px 20px;
    border-radius: 16px;
    background: rgba(17, 17, 17, 0.88);
    border: 0.75px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.48);
}

.hn-footer-qr-sheet p {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 24px;
}

html.is-footer-qr-open,
html.is-footer-qr-open body {
    overflow: hidden;
}

.hn-footer-bottom {
    position: absolute;
    /* 二维码底 178+120=298，再留 48px */
    top: 346px;
    left: 50%;
    transform: translateX(-50%);
    width: 1280px;
    text-align: right;
    margin: 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.24);
    line-height: 20px;
    z-index: 4;
}

.hn-footer-legal-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    min-height: 20px;
}

.hn-footer-bottom a,
.hn-footer-bottom .site-footer-sep,
.hn-footer-copy .hn-footer-meta {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.hn-footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.48);
}

.hn-footer-bottom p {
    margin: 0;
}

.hn-footer-copy .hn-footer-meta {
    display: block;
}

.hn-footer-watermark {
    /* 正值让贴图下移并直接裁掉底部，便于后续单独调整裁切量。 */
    --hn-wordmark-crop: 0px;
    --hn-wordmark-reveal: 20px;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: min(1298px, 92vw);
    /* 在原展示框基础上多显示 20px，贴图仍按原比例直接裁切。 */
    height: min(calc(min(1298px, 92vw) * 419 / 1947), calc(min(1298px, 92vw) * 570 / 3888 + var(--hn-wordmark-reveal)));
    overflow: hidden;
    transform: translateX(-50%);
    /* 设计稿中字标位于所有 Footer 装饰层之上。 */
    z-index: 6;
    pointer-events: none;
}

.hn-footer-watermark img {
    /* 原图直接显示；超出容器的底部直接截断，不补光晕或倒影。 */
    position: absolute;
    top: var(--hn-wordmark-crop);
    left: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
    /* 保持新切图原样。 */
    filter: none;
}

/* 弱设备用静态雾层替代圆弧的实时 60px backdrop blur。 */
html.hn-quality-low .hn-cta::after {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background:
        radial-gradient(ellipse 68% 42% at 50% 0%, rgba(119, 78, 184, 0.12), transparent 72%),
        linear-gradient(to bottom, rgba(17, 17, 17, 0.24), rgba(17, 17, 17, 0.08) 68%, transparent);
}

/* Toast · 半透明白底 + 背景模糊，PC 1px / 移动端 0.5px 描边 */
.hn-toast {
    --hn-toast-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --hn-toast-duration: 0.36s;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    margin-inline: auto;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    width: max-content;
    max-width: min(408px, calc(100vw - 32px));
    height: auto;
    min-height: 0;
    padding: 8px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    z-index: 1100;
    opacity: 0.01;
    visibility: hidden;
    pointer-events: none;
    box-sizing: border-box;
    transition:
        top var(--hn-toast-duration) var(--hn-toast-ease),
        opacity var(--hn-toast-duration) ease,
        visibility 0s linear var(--hn-toast-duration);
}

.hn-toast.show {
    top: 100px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        top var(--hn-toast-duration) var(--hn-toast-ease),
        opacity var(--hn-toast-duration) ease,
        visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
    .hn-toast,
    .hn-toast.show {
        transition: none;
        top: 100px;
    }
}

.hn-toast-icon {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    width: 16px;
    height: auto;
    padding-top: 2px;
    overflow: hidden;
}

.hn-toast-icon img {
    display: block;
    width: 16px;
    height: 16px;
    filter: none;
}

.hn-toast-text {
    margin: 0;
    font-weight: 400;
    white-space: normal;
    overflow-wrap: anywhere;
}

.hn-toast-text em {
    font-style: normal;
    font-weight: 600;
    color: #46cfff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.hn-enter-up,
.hn-enter-left {
    opacity: 0;
}

.hn-enter-up {
    transform: translateY(36px);
}

.hn-enter-left {
    transform: translateX(72px);
}

.hn-tech-cards.is-in .hn-enter-up,
.hn-research-dirs.is-in .hn-enter-up {
    animation:
        hn-enter-fade var(--hn-enter-dur) var(--hn-enter-fade) both,
        hn-enter-up-move var(--hn-enter-dur) var(--hn-enter-move) both;
    animation-delay: calc(var(--hn-enter-i, 0) * var(--hn-enter-stagger));
}

.hn-news-cards.is-in .hn-enter-left {
    animation:
        hn-enter-fade var(--hn-enter-dur) var(--hn-enter-fade) both,
        hn-enter-left-move var(--hn-enter-dur) var(--hn-enter-move) both;
    animation-delay: calc(var(--hn-enter-i, 0) * var(--hn-enter-stagger));
}

@keyframes hn-enter-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes hn-enter-up-move {
    from { transform: translateY(36px); }
    to { transform: none; }
}

@keyframes hn-enter-left-move {
    from { transform: translateX(72px); }
    to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hn-enter-up,
    .hn-enter-left {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }
}

/* Responsive */
@media (max-width: 1919px) {
    section {
        width: 100%;
    }

    .hn-tech-cards,
    .hn-news-actions,
    .hn-research-dirs,
    .hn-footer-inner,
    .hn-footer-bottom {
        width: 1280px;
        max-width: 90%;
    }

    .hn-news-rail {
        width: 1280px;
        max-width: 90%;
    }

    .hn-news-cards {
        width: max-content;
        padding: 0;
        justify-content: flex-start;
    }

    .hn-eco-board,
    .hn-eco-cards {
        width: 100%;
        max-width: 1200px;
    }
}

@media (max-width: 1024px) {
    :root {
        --hn-hero-logo-size: 40px;
        --hn-hero-title-size: 26.67px;
        --hn-hero-title-lh: 40px;
    }

    html,
    body {
        background-color: #171717;
    }

    .hn-scene {
        --hn-grid: 48px;
        /* Figma 318:1628：Logo 墙上下边正好落在相邻的 48px 网格线上。 */
        --hn-plate: 48px;
        /* 首屏铺满大视口，画面从透明底栏透出来；UI 再抬到可见区域。 */
        --hn-hero-h: 100vh;
        --hn-hero-h: 100lvh;
        --hn-ui-bottom: max(env(safe-area-inset-bottom, 0px), calc(100lvh - 100svh));
        --hn-grid-x: 0px;
        --hn-grid-x: calc(mod(100vw, 48px) / 2);
    }

    /* 移动端两屏共用的网格退到背景层；PC 保持原值。 */
    .hn-scene-grid-band--bottom,
    .hn-tech-grid {
        --hn-grid-line: 0.045;
        --hn-grid-dot: 0.11;
    }

    header#header.hn-header,
    header#header.hn-header.scrolled,
    header#header.hn-header.header-scrolled,
    header#header.hn-header.is-mobile-open {
        top: 12px;
        left: 16px;
        right: 16px;
        transform: none;
        margin-left: 0;
        width: auto;
        max-width: none;
        height: auto;
        min-height: 56px;
        padding: 0;
        border-radius: 16px;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    }

    header#header.hn-header.is-mobile-open,
    header#header.hn-header.is-mobile-closing {
        --hn-glass-blur: 12px;
    }

    header#header.hn-header.is-mobile-open .hn-glass-base,
    header#header.hn-header.is-mobile-closing .hn-glass-base {
        --hn-glass-glow: 0.32;
        background:
            radial-gradient(ellipse 90% 160% at 50% 100%, rgba(255, 255, 255, var(--hn-glass-glow)) 0%, rgba(255, 255, 255, 0) 75%),
            rgba(0, 0, 0, 0.48);
    }

    header#header.hn-header > nav.hn-header-inner,
    header#header.hn-header.is-mobile-open > nav.hn-header-inner {
        padding: 9px 10px 9px 16px;
        height: 56px;
        min-height: 56px;
        flex-shrink: 0;
        gap: 0;
    }

    header#header.hn-header .hn-logo-text {
        display: none;
    }

    .hn-mega-slot {
        display: none !important;
    }

    .hn-mobile-panel {
        display: grid;
        grid-template-rows: 0fr;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        position: relative;
        z-index: 1;
        /* padding 不能写在这个 overflow:hidden + 0fr 容器上：
           收起插值时两侧会被裁掉，列表会突然贴边。左右留白放 inner。 */
        padding: 0;
        box-sizing: border-box;
        transition:
            grid-template-rows 0.46s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.28s cubic-bezier(0.32, 0, 0.67, 0);
    }

    header#header.hn-header.is-mobile-open .hn-mobile-panel {
        grid-template-rows: 1fr;
        opacity: 1;
        pointer-events: auto;
        transition:
            grid-template-rows 0.46s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
    }

    .hn-mobile-panel[hidden] {
        display: grid;
    }

    .hn-mobile-panel-clip {
        overflow: hidden;
        min-height: 0;
    }

    .hn-mobile-panel-inner {
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
        width: 100%;
        /* 竖向 padding 放在 clip 内部，0fr 才能收到 0，不会卡在约两倍导航高度 */
        padding: 23px 16px 16px;
        box-sizing: border-box;
    }

    .hn-mobile-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 8px;
        box-sizing: border-box;
        text-align: left;
    }

    .hn-mobile-group {
        position: relative;
        z-index: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-sizing: content-box;
    }

    .hn-mobile-group.is-open::before {
        content: "";
        position: absolute;
        z-index: 0;
        box-sizing: border-box;
        top: 0;
        bottom: 0;
        left: -24px;
        right: -24px;
        background: rgba(0, 0, 0, 0.32);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        pointer-events: none;
    }

    .hn-mobile-link:has(+ .hn-mobile-group.is-open),
    .hn-mobile-group:has(+ .hn-mobile-group.is-open),
    .hn-mobile-group.is-open {
        border-bottom-color: transparent;
    }

    .hn-mobile-link,
    .hn-mobile-group-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 24px;
        margin: 0;
        background: transparent;
        color: rgba(255, 255, 255, 0.68);
        font-family: inherit;
        font-size: 20px;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: 0.4px;
        text-align: left;
        text-decoration: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.2s;
    }

    .hn-mobile-link {
        padding: 16px 0;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-sizing: content-box;
    }

    .hn-mobile-link:first-child {
        padding-top: 0;
    }

    .hn-mobile-group:last-child {
        border-bottom: none;
    }

    .hn-mobile-group:last-child:not(.is-open) {
        padding-bottom: 0;
    }

    .hn-mobile-group:last-child.is-open {
        padding-bottom: 20px;
    }

    .hn-mobile-group-toggle,
    .hn-mobile-sub {
        position: relative;
        z-index: 1;
    }

    .hn-mobile-group-toggle {
        padding: 0;
        border: 0;
    }

    .hn-mobile-link.is-active {
        color: #fff;
        font-weight: 700;
    }

    .hn-mobile-group.is-open .hn-mobile-group-toggle,
    .hn-mobile-group.is-current .hn-mobile-group-toggle {
        color: #fff;
    }

    .hn-mobile-group.is-current .hn-mobile-group-toggle {
        font-weight: 700;
    }

    .hn-mobile-chevron {
        display: block;
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .hn-mobile-group.is-open .hn-mobile-chevron {
        transform: rotate(180deg);
    }

    .hn-mobile-sub {
        display: grid;
        grid-template-rows: 0fr;
        width: 100%;
        transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .hn-mobile-group.is-open .hn-mobile-sub {
        grid-template-rows: 1fr;
    }

    .hn-mobile-sub-inner {
        overflow: hidden;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 0;
    }

    .hn-mobile-sublink:first-child {
        margin-top: 20px;
    }

    .hn-mobile-sublink {
        display: block;
        width: 100%;
        color: rgba(255, 255, 255, 0.68);
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: 0.32px;
        text-align: left;
        text-decoration: none;
    }

    .hn-mobile-sublink.is-active {
        color: #fff;
        font-weight: 700;
    }

    .hn-mobile-cta {
        width: 100%;
        height: 48px;
        margin: 0;
        padding: 11px 24px;
        border: 0;
        border-radius: 12px;
        font-family: inherit;
        font-size: 16px;
        font-weight: 600;
        line-height: 26px;
        cursor: pointer;
        box-sizing: border-box;
        align-self: stretch;
        transform: none;
    }

    .hn-mobile-cta:hover,
    .hn-mobile-cta:focus-visible {
        transform: none;
    }

    .hn-nav-divider {
        display: block;
        width: 0;
        height: 16px;
        border-left: 1px solid rgba(255, 255, 255, 0.16);
        background: none;
        flex-shrink: 0;
    }

    header#header.hn-header .hn-header-left {
        gap: 12px;
        min-width: 0;
        flex: 0 1 auto;
    }

    header#header.hn-header .hn-header-actions > *:not(.hn-lang-switch):not(.hn-nav-divider):not(.mobile-nav-toggle) {
        display: none !important;
    }

    header#header.hn-header .hn-lang-switch {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 7px 12px;
        border-radius: 12px;
        background: transparent;
        -webkit-tap-highlight-color: transparent;
        transition: background 0.16s ease, color 0.2s;
    }

    header#header.hn-header .hn-lang-switch:hover {
        background: transparent;
        color: #fff;
    }

    header#header.hn-header .hn-icon-globe {
        width: 24px;
        height: 24px;
    }

    header#header.hn-header .nav-cta.hn-header-actions,
    header#header.hn-header .hn-header-actions {
        margin-left: auto;
        gap: 12px;
        flex-shrink: 0;
    }

    header#header.hn-header .mobile-nav-toggle {
        display: inline-flex !important;
        position: relative;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        margin: 0;
        padding: 0;
        color: #fff;
        border: none !important;
        border-radius: 12px;
        background: transparent !important;
        box-shadow: none;
        -webkit-tap-highlight-color: transparent;
        transition: background 0.16s ease;
    }

    header#header.hn-header .mobile-nav-toggle:hover,
    header#header.hn-header .mobile-nav-toggle:focus,
    header#header.hn-header .mobile-nav-toggle:focus-visible {
        background: transparent !important;
        border: none !important;
    }

    header#header.hn-header .hn-lang-switch:active,
    header#header.hn-header .mobile-nav-toggle:active {
        background: rgba(255, 255, 255, 0.24) !important;
    }

    header#header.hn-header .mobile-nav-toggle .hn-menu-icon {
        position: absolute;
        left: 50%;
        top: 50%;
        display: block;
        width: 24px;
        height: 24px;
        margin: 0;
        pointer-events: none;
        transform: translate(-50%, -50%);
        transition: opacity 0.2s ease;
    }

    header#header.hn-header .mobile-nav-toggle .hn-menu-icon--menu {
        opacity: 1;
    }

    header#header.hn-header .mobile-nav-toggle .hn-menu-icon--close {
        opacity: 0;
    }

    header#header.hn-header .mobile-nav-toggle[aria-expanded="true"] .hn-menu-icon--menu {
        opacity: 0;
    }

    header#header.hn-header .mobile-nav-toggle[aria-expanded="true"] .hn-menu-icon--close {
        opacity: 1;
    }

    .hn-toast {
        top: 68px;
        left: 16px;
        right: 16px;
        margin-inline: auto;
        width: auto;
        max-width: 408px;
        border-width: 0.5px;
    }

    .hn-toast.show {
        top: 84px;
    }

    .mobile-drawer {
        display: none !important;
    }

    .mobile-drawer-overlay {
        z-index: calc(var(--z-header) - 1);
        background: rgba(0, 0, 0, 0.28);
    }

    body:has(#view-home.active) footer.site-footer.hn-footer,
    body:has(#view-download.active) footer.site-footer.hn-footer,
    body:has(#view-docs.active) footer.site-footer.hn-footer,
    body:has(#view-news.active) footer.site-footer.hn-footer,
    body:has(#view-partners.active) footer.site-footer.hn-footer,
    body:has(#view-product-gi.active) footer.site-footer.hn-footer,
    body:has(#view-product-ndgi.active) footer.site-footer.hn-footer,
    body:has(#view-product-remaster.active) footer.site-footer.hn-footer,
    body:has(#view-product-audio.active) footer.site-footer.hn-footer,
    body:has(#view-product-pkg.active) footer.site-footer.hn-footer {
        /* 顶对齐地平线（CTA 85%），按钮距地平线 60px。 */
        margin-top: calc(-15dvh);
        background: linear-gradient(
            to bottom,
            rgba(17, 17, 17, 0) 0,
            rgba(17, 17, 17, 0.72) 88px,
            #111111 160px
        );
    }

    .hn-cta-pin-track {
        /* 移动端不做桌面二段预留：只保留地平线以下 15dvh 的重叠。 */
        height: 115dvh;
    }

    .hn-cta::after {
        /* 60px blur 在移动端会晚好几帧才合成，先铺一层更实的霜面，模糊降到 24px。
           弧宽跟 PC 一样用 125% 居中椭圆：width 100% 时整段弧都落在屏内，看起来像扣碗。 */
        width: max(125%, 100vw);
        left: 50%;
        height: 42dvh;
        background: rgba(17, 17, 17, 0.52);
        -webkit-backdrop-filter: blur(24px);
        backdrop-filter: blur(24px);
        transform: translateX(-50%) translateZ(0);
        -webkit-mask-image: linear-gradient(
            to bottom,
            #000 0%,
            #000 42%,
            rgba(0, 0, 0, 0.72) 72%,
            transparent 100%
        );
        mask-image: linear-gradient(
            to bottom,
            #000 0%,
            #000 42%,
            rgba(0, 0, 0, 0.72) 72%,
            transparent 100%
        );
    }

    html.hn-quality-low .hn-cta::after {
        background: rgba(17, 17, 17, 0.52);
        -webkit-backdrop-filter: blur(24px);
        backdrop-filter: blur(24px);
    }

    footer.site-footer.hn-footer {
        height: auto;
        min-height: 0;
        padding: 60px 0 0;
        justify-content: flex-start;
        overflow: hidden;
    }

    .hn-footer-inner {
        width: 100%;
        max-width: none;
        margin-top: 0;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
        padding: 0 32px;
    }

    .hn-footer-social {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 16px;
        order: -1;
        width: 100%;
    }

    html[lang="en"] .hn-footer-social--zh {
        display: none;
    }

    .hn-footer-social--en {
        display: none;
    }

    html[lang="en"] .hn-footer-social--en {
        display: flex;
    }

    .hn-footer-social-btn {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 100%;
        height: 42px;
        box-sizing: border-box;
        padding: 11px 24px;
        border: 0.75px solid rgba(255, 255, 255, 0.68);
        border-radius: 16px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.24);
        color: #fff;
        font-family: inherit;
        font-size: 14px;
        font-weight: 600;
        line-height: 26px;
        text-decoration: none;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        box-shadow:
            0 4px 12px rgba(0, 0, 0, 0.24),
            inset 0 -2px 0 1px rgba(255, 255, 255, 0.32),
            inset 0 0 8px rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        transition: background 0.2s ease, box-shadow 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .hn-footer-social-btn:visited {
        color: #fff;
    }

    .hn-footer-social-btn:hover,
    .hn-footer-social-btn:focus-visible {
        color: #fff;
        background: rgba(255, 255, 255, 0.48);
        box-shadow:
            0 4px 12px rgba(0, 0, 0, 0.24),
            inset 0 -1px 0 0 rgba(255, 255, 255, 0.32),
            inset 0 0 8px rgba(255, 255, 255, 0.8);
    }

    .hn-footer-social-btn:active {
        color: #fff;
        background: rgba(255, 255, 255, 0.32);
        box-shadow:
            0 4px 12px rgba(0, 0, 0, 0.24),
            inset 0 0 8px rgba(255, 255, 255, 0.8);
    }

    .hn-footer-social-btn img,
    .hn-footer-social-btn span {
        position: relative;
        z-index: 1;
    }

    .hn-footer-social-btn img {
        display: block;
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .hn-footer-social-btn--bilibili,
    .hn-footer-social-btn--youtube {
        gap: 6px;
    }

    .hn-footer-qrcodes,
    html[lang="en"] .hn-footer-qrcodes--en {
        display: none;
    }

    .hn-footer-links,
    html[lang="en"] .hn-footer-links {
        width: 100%;
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 0;
    }

    .link-col {
        width: 100%;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .link-col-toggle {
        cursor: pointer;
        pointer-events: auto;
        min-height: 0;
        padding: 10px 0;
        -webkit-tap-highlight-color: transparent;
    }

    .link-col-toggle h4 {
        margin: 0;
        font-size: 15px;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: 0;
        color: rgba(255, 255, 255, 0.68);
    }

    .link-col.is-open .link-col-toggle h4 {
        font-weight: 600;
        color: rgba(255, 255, 255, 0.88);
    }

    .link-col-chevron {
        display: block;
        width: 20px;
        height: 20px;
        transition: transform 0.2s ease;
    }

    .link-col.is-open .link-col-chevron {
        transform: rotate(180deg);
    }

    .link-col-panel {
        display: grid;
        grid-template-rows: minmax(0, 0fr);
        width: 100%;
        overflow: hidden;
        transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .link-col.is-open .link-col-panel {
        grid-template-rows: minmax(0, 1fr);
    }

    .link-col-links {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        min-height: 0;
        padding: 0;
        gap: 11px;
    }

    .link-col-links a:last-child {
        margin-bottom: 16px;
    }

    .link-col-links a {
        font-size: 13px;
        line-height: 20px;
        letter-spacing: 0;
    }

    .hn-footer-bottom {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        text-align: center;
        margin-top: 24px;
        padding: 0 32px;
        z-index: 4;
    }

    .hn-footer-legal-links {
        display: none;
    }

    .hn-footer-copy {
        font-size: 11px;
        line-height: 16px;
        color: rgba(255, 255, 255, 0.32);
    }

    .hn-footer-watermark {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        height: min(calc(100vw * 419 / 1947), calc(100vw * 570 / 3888 + var(--hn-wordmark-reveal)));
        transform: none;
        margin: 32px 0 0;
        line-height: 0;
        opacity: 1;
        z-index: 1;
    }

    .hn-footer-watermark img {
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
    }

    .hn-hero {
        min-height: 0;
        --hn-partners-gap-bottom: 0;
        --hn-partners-gap-top: 0;
        --hn-partners-line: 0;
        /* 文案 → 底板 32px；底板 46px；提示占一格；再让出 Safari 底栏/Home Indicator */
        padding: 88px 0 calc(var(--hn-grid) + var(--hn-plate) + 32px + var(--hn-ui-bottom));
    }

    .hn-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 0 32px;
        box-sizing: border-box;
    }

    .hn-hero-lockup {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        width: 100%;
    }

    .hn-hero-brand {
        gap: 10.67px;
        margin-bottom: 0;
    }

    .hn-hero-logo {
        width: var(--hn-hero-logo-size);
        height: var(--hn-hero-logo-size);
    }

    .hn-hero-logo img.hn-logo-svg {
        width: calc(var(--hn-hero-logo-size) * 1.2);
        height: auto;
        filter: none;
    }

    /* 整数像素定位，避免 translate(-50%) 落在半像素上导致 Safari 把 Logo 糊掉 */
    .hn-hero-logo img.hn-logo-svg-mobile {
        left: calc(50% - var(--hn-hero-logo-size) * 0.6);
        top: calc(50% - var(--hn-hero-logo-size) * 0.4266);
        width: calc(var(--hn-hero-logo-size) * 1.2);
        height: calc(var(--hn-hero-logo-size) * 0.8533);
        transform: none;
    }

    .hn-hero-logo img.hn-logo-svg-desktop {
        display: none;
    }

    .hn-hero-logo img.hn-logo-svg-mobile {
        display: block;
    }

    /* 移动端不再叠加独立的 backdrop Logo 层：小尺寸下它会与 SVG 形成重影。 */
    .hn-hero-logo-frost,
    .hn-splash-logo .hn-logo-frost {
        display: none !important;
    }

    .hn-splash-logo-dim,
    .hn-splash-logo-lit,
    .hn-splash-logo-final {
        display: none !important;
    }

    .hn-splash-logo img.hn-splash-logo-mobile {
        display: block !important;
        width: calc(var(--hn-hero-logo-size) * var(--hn-splash-from-hero) * 1.2);
        height: auto;
        opacity: 0;
        animation: hn-mobile-logo-breathe 4s ease-in-out forwards;
    }

    .hn-splash-logo::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 0;
        width: calc(var(--hn-hero-logo-size) * var(--hn-splash-from-hero) * 2.6);
        height: calc(var(--hn-hero-logo-size) * var(--hn-splash-from-hero) * 2.2);
        border-radius: 50%;
        background: radial-gradient(ellipse, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.12) 34%, transparent 72%);
        filter: blur(9px);
        opacity: 0;
        animation: hn-mobile-logo-halo 4s ease-in-out forwards;
        pointer-events: none;
    }

    #hn-splash.is-slow .hn-splash-logo-mobile,
    #hn-splash.is-slow .hn-splash-logo::before {
        animation-iteration-count: infinite;
    }

    #hn-splash.is-leaving .hn-splash-logo-mobile,
    #hn-splash.is-leaving .hn-splash-logo::before {
        animation-play-state: paused;
    }

    /* 标题展开仍由 max-width 裁切；负 margin 抵消安全边距，品牌组几何位置不变。 */
    .hn-splash-title {
        padding-top: 12px;
        padding-bottom: 12px;
        margin-top: -12px;
        margin-bottom: -12px;
    }

    #hn-splash.is-lockup .hn-splash-title {
        padding-right: 12px;
        margin-right: -12px;
    }

    .hn-hero-title {
        font-size: var(--hn-hero-title-size);
        line-height: var(--hn-hero-title-lh);
        letter-spacing: 0.53px;
    }

    .hn-icon-mouse {
        display: none;
    }

    .hn-icon-chevron-up-double {
        display: block;
    }

    .hn-hero-slogan {
        font-size: 40px;
        font-weight: 600;
        line-height: 54px;
        letter-spacing: 0;
        max-width: none;
        width: 100%;
        margin: 0;
        background: linear-gradient(100deg, rgba(255, 255, 255, 0.68) 0%, #fff 50%, rgba(255, 255, 255, 0.68) 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }

    .hn-hero-sub {
        font-size: 15px;
        font-weight: 400;
        padding: 0;
        line-height: 24px;
        max-width: none;
        width: 100%;
        margin: 0;
        color: rgba(255, 255, 255, 0.68);
    }

    .hn-hero-wash {
        background: none;
    }

    /* Figma 318:1490 / 318:1523：上下各 400px 的独立渐隐，不依赖图片本身。 */
    .hn-hero-wash::before,
    .hn-hero-wash::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: min(400px, 45%);
        pointer-events: none;
    }

    .hn-hero-wash::before {
        top: 0;
        background: linear-gradient(to bottom, #171717 0%, rgba(23, 23, 23, 0.76) 24%, rgba(23, 23, 23, 0.28) 62%, transparent 100%);
    }

    .hn-hero-wash::after {
        bottom: 0;
        background: linear-gradient(to bottom, transparent 0%, rgba(23, 23, 23, 0.28) 38%, rgba(23, 23, 23, 0.76) 76%, #171717 100%);
    }

    .hn-hero-bottom-glow {
        z-index: 2;
        width: 113.6364%;
        height: 46.12%;
        bottom: 0;
        /* iOS Safari 对透明视频上的 soft-light 合成不稳定，screen 保留同一素材并确保可见。 */
        mix-blend-mode: screen;
        opacity: 0.3;
        transform: translateX(-50%) rotate(180deg);
    }

    .hn-hero-bottom-glow::before {
        content: "";
        position: absolute;
        inset: 18% 16% 0;
        border-radius: 50%;
        background: radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 42%, transparent 74%);
        filter: blur(24px);
    }

    html.hn-splash-done .hn-hero-bottom-glow,
    html.hn-hero-copy .hn-hero-bottom-glow,
    html.hn-hero-entered .hn-hero-bottom-glow {
        opacity: 0.3;
        visibility: visible;
    }

    .hn-scene-grid-band--bottom {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #fff 28%, #fff 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, #fff 28%, #fff 100%);
    }

    .hn-hero-games {
        bottom: calc(var(--hn-grid) + var(--hn-ui-bottom));
        margin-top: 0;
    }

    .hn-hero-games p {
        display: none;
    }

    .hn-games-logos {
        height: var(--hn-plate);
        width: 100%;
        border-width: 0.6px;
    }

    .hn-games-logos,
    .hn-hero-games-glass {
        /* mask 会让 Safari 把子级 Logo 栅格化发糊；移动稿是直接裁切。 */
        -webkit-mask-image: none;
        mask-image: none;
    }

    .hn-games-logos::after {
        content: none;
    }

    .hn-games-logos-glass,
    .hn-hero-games-glass {
        backdrop-filter: blur(3.6px);
        -webkit-backdrop-filter: blur(3.6px);
    }

    .hn-hero-games-glass {
        bottom: calc(var(--hn-grid) + var(--hn-ui-bottom));
        width: 100%;
        height: var(--hn-plate);
    }

    .hn-game-logo {
        height: 28px;
        margin-right: 32px;
    }

    .hn-scroll-hint {
        bottom: var(--hn-ui-bottom);
        height: var(--hn-grid);
        margin-top: 0;
        grid-row: auto;
        /* 与上方 Logo 墙 / 按钮的间距固定 24px */
        align-items: flex-start;
        padding-top: 24px;
        box-sizing: border-box;
    }

    .hn-scroll-hint-glow span {
        font-size: 12px;
        line-height: 16px;
    }

    /* 第二屏：舞台钉在视口一屏内。顶距躲开浮动导航后随 dvh 缩放；
       收起卡按内容高度，展开卡吃剩余空间并保底，好放下两行文案再空一行。 */
    #hn-tech.hn-tech {
        min-height: 0;
        /* 留白放在 sticky 轨道外，保留原来的卡片切换距离与可用高度。 */
        margin-top: clamp(32px, 6svh, 64px);
        /* 统一滚动阻尼：100dvh 舞台 + 5 × 64dvh，每 64dvh 切换一张。 */
        height: 420vh;
        height: 420dvh;
        display: block;
        align-items: stretch;
        overflow: visible;
    }

    .hn-scene > .hn-tech > .hn-tech-grid {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        height: 100dvh;
        inset: auto 0 auto 0;
        margin-bottom: -100dvh;
        z-index: 1;
    }

    #hn-tech .hn-tech-stage {
        --hn-tech-nav-clear: 68px;
        position: sticky;
        top: 0;
        z-index: 3;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        min-height: 100dvh;
        height: 100dvh;
        padding:
            calc(var(--hn-tech-nav-clear) + clamp(12px, 2.2dvh, 20px))
            0
            clamp(16px, 3dvh, 28px);
        box-sizing: border-box;
        overflow: hidden;
    }

    #hn-tech .hn-section-header {
        --hn-tech-title-opacity: 1;
        --hn-tech-subtitle-opacity: 1;
        flex-shrink: 0;
        width: 100%;
        margin: 0 0 32px;
        padding: 0 20px;
        box-sizing: border-box;
        position: relative;
        z-index: 3;
    }

    #hn-tech .hn-section-header h2 {
        font-size: 32px;
        line-height: 44px;
        margin: 0 0 8px;
        white-space: normal;
        opacity: var(--hn-tech-title-opacity);
        transition: opacity 0.28s ease;
    }

    #hn-tech .hn-section-header p {
        font-size: 16px;
        line-height: 30px;
        color: rgba(255, 255, 255, 0.68);
        opacity: var(--hn-tech-subtitle-opacity);
        transition: opacity 0.28s ease;
    }

    #hn-tech .hn-section-header.is-subtitle-covered p {
        opacity: 0;
    }

    #hn-tech .hn-section-header.is-title-covered h2 {
        opacity: 0;
    }

    .hn-tech-cards {
        --hn-tech-active-index: 0;
        --hn-tech-shift: 0px;
        /* 一行说明 180；每多一行 +20。JS 按五张卡里最长的说明写入。 */
        --hn-tech-active-h: 180px;
        --hn-tech-desc-min: 20px;
        position: relative;
        top: auto;
        left: auto;
        z-index: 5;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: none;
        min-height: 0;
        margin: 0;
        padding: 0 20px;
        gap: 12px;
        box-sizing: border-box;
        transform: translateY(var(--hn-tech-shift));
        transition: transform 0.5s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1));
    }

    .hn-tech-card,
    .hn-tech-card.active {
        width: 100%;
        height: 82px;
        min-height: 82px;
        flex: 0 0 82px;
        z-index: 1;
        transition:
            height 0.5s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
            flex-basis 0.5s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1)),
            min-height 0.5s var(--hn-tech-ease, cubic-bezier(0.16, 1, 0.3, 1));
    }

    .hn-tech-card.active {
        height: var(--hn-tech-active-h);
        min-height: var(--hn-tech-active-h);
        flex-basis: var(--hn-tech-active-h);
        z-index: 2;
    }

    .hn-tech-cards.is-scroll-jump,
    .hn-tech-cards.is-scroll-jump .hn-tech-card {
        transition: none !important;
    }

    .hn-tech-card::before {
        inset: 0;
    }

    .hn-tech-card-glow {
        display: none;
    }

    .hn-tech-card-inner,
    .hn-tech-card.active .hn-tech-card-inner {
        border-radius: 16px;
        border-width: 0.5px;
    }

    /* 横卡用 16:9 的 tech*-mobile，cover 居中；收起态再裁上下，不要把照片本身模糊掉 */
    .hn-tech-card-photo,
    .hn-tech-card.active .hn-tech-card-photo {
        background-size: cover;
        background-position: center;
        filter: none;
    }

    .hn-tech-card--1 .hn-tech-card-photo { background-image: url('../assets/images/home/tech1-mobile.webp'); }
    .hn-tech-card--2 .hn-tech-card-photo { background-image: url('../assets/images/home/tech2-mobile.webp'); }
    .hn-tech-card--3 .hn-tech-card-photo { background-image: url('../assets/images/home/tech3-mobile.webp'); }
    .hn-tech-card--4 .hn-tech-card-photo { background-image: url('../assets/images/home/tech4-mobile.webp'); }
    .hn-tech-card--5 .hn-tech-card-photo { background-image: url('../assets/images/home/tech5-mobile.webp'); }

    .hn-tech-card-shade,
    .hn-tech-card.active .hn-tech-card-shade {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hn-tech-card-shade {
        background: radial-gradient(
            ellipse 120% 180% at 0% 50%,
            rgba(0, 0, 0, 1) 30%,
            rgba(0, 0, 0, 0.32) 90%
        );
    }

    .hn-tech-card.active .hn-tech-card-shade {
        background:
            radial-gradient(
                ellipse 118% 170% at 0% 0%,
                rgba(0, 0, 0, 0.72) 0%,
                rgba(0, 0, 0, 0.48) 58%,
                rgba(0, 0, 0, 0.18) 100%
            ),
            rgba(255, 255, 255, 0.12);
    }

    .hn-tech-card-content {
        justify-content: flex-start;
        padding: 16px 24px;
    }

    .hn-tech-card.active .hn-tech-card-content {
        padding: 24px;
    }

    .hn-tech-copy {
        gap: 0;
    }

    .hn-tech-copy--expand {
        gap: 8px;
        max-width: 100%;
    }

    .hn-tech-copy--collapse h3 br {
        display: none;
    }

    .hn-tech-card h3,
    html[lang="en"] .hn-tech-copy--collapse h3 {
        font-size: 20px;
        line-height: 30px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.88);
        white-space: nowrap;
    }

    .hn-tech-card h3 .light,
    .hn-tech-card h3 strong,
    .hn-tech-copy--expand h3 .light,
    .hn-tech-copy--expand h3 strong {
        font-weight: 400;
    }

    .hn-tech-copy--expand h3,
    html[lang="en"] .hn-tech-copy--expand h3 {
        font-size: 24px;
        line-height: 34px;
        font-weight: 600;
        color: #fff;
        white-space: normal;
        display: block;
    }

    .hn-tech-copy--expand h3 .light,
    .hn-tech-copy--expand h3 strong {
        font-weight: 600;
        white-space: normal;
    }

    /* inline-block 会吃掉 ::after 里的空格，收起标题会变成 DynamicGI。用 margin 留出词距。 */
    html[lang="en"] .hn-tech-copy--collapse h3 .light,
    html[lang="en"] .hn-tech-copy--expand h3 .light {
        margin-right: 0.3em;
    }

    html[lang="en"] .hn-tech-copy--collapse h3 .light::after,
    html[lang="en"] .hn-tech-copy--expand h3 .light::after {
        content: none;
    }

    .hn-tech-card .desc {
        font-size: 13px;
        line-height: 20px;
        color: rgba(255, 255, 255, 0.48);
    }

    .hn-tech-copy--expand .desc {
        color: rgba(255, 255, 255, 0.88);
        min-height: var(--hn-tech-desc-min);
    }

    .hn-tech-card.active .hn-tech-card-copy {
        margin-bottom: 0;
    }

    .hn-tech-card .metrics,
    .hn-tech-card.active .metrics {
        position: absolute;
        left: 24px;
        bottom: 24px;
        gap: 16px;
        margin-bottom: 0;
        max-width: calc(100% - 90px);
        max-height: 0;
    }

    .hn-tech-card.active .metrics {
        max-height: 48px;
    }

    .hn-tech-card .hn-btn-more,
    .hn-tech-card.active .hn-btn-more {
        position: absolute;
        right: 24px;
        bottom: 24px;
        width: 42px;
        height: 42px;
        max-height: 0;
        padding: 0;
        margin: 0;
        gap: 0;
        border-radius: 30px;
        border-width: 0;
        background: rgba(255, 255, 255, 0.16);
        box-shadow:
            0 3px 12px rgba(0, 0, 0, 0.08),
            inset 0 0 8px rgba(255, 255, 255, 0.8);
        -webkit-tap-highlight-color: transparent;
    }

    .hn-tech-card.active .hn-btn-more {
        max-height: 42px;
        padding: 0;
    }

    .hn-tech-card.active .hn-btn-more:active {
        background: rgba(255, 255, 255, 0.48);
        box-shadow:
            0 3px 12px rgba(0, 0, 0, 0.08),
            inset 0 0 8px rgba(255, 255, 255, 0.8);
    }

    @media (hover: hover) and (pointer: fine) {
        .hn-tech-card.active .hn-btn-more:hover,
        .hn-tech-card.active .hn-btn-more:focus-visible {
            background: rgba(255, 255, 255, 0.48);
            box-shadow:
                0 3px 12px rgba(0, 0, 0, 0.08),
                inset 0 0 8px rgba(255, 255, 255, 0.8);
        }
    }

    .hn-tech-card .hn-btn-more span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .hn-tech-card .hn-btn-more img {
        width: 24px;
        height: 24px;
    }

    /* 第三屏：上半部分固定，五个研究方向在同一舞台随页面滚动轮换。 */
    #hn-research.hn-research {
        --hn-research-stage-top: clamp(132px, 18.83svh, 180px);
        min-height: 0;
        /* 与第二屏一致：100dvh 舞台 + 5 × 64dvh。 */
        height: 420vh;
        height: 420dvh;
        /* 不再用负 margin 抢跑；否则第二屏与第三屏的两个 sticky 舞台会同时占满视口。 */
        margin-top: clamp(32px, 6svh, 64px);
        position: relative;
        z-index: auto;
        display: block;
        padding: 0;
        overflow: visible;
        background: transparent;
    }

    #hn-research .hn-research-stage {
        position: sticky;
        top: 0;
        width: 100%;
        height: 100vh;
        height: 100svh;
        min-height: 0;
        padding: var(--hn-research-stage-top) 0 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    #hn-research .hn-section-header {
        width: 100%;
        margin: 0 0 32px;
        padding: 0 20px;
        box-sizing: border-box;
        position: relative;
        z-index: 8;
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    #hn-research .hn-section-header h2 {
        font-size: 32px;
        line-height: 44px;
        margin: 0 0 8px;
        white-space: nowrap;
    }

    #hn-research .hn-section-header p {
        font-size: 16px;
        line-height: 30px;
        color: rgba(255, 255, 255, 0.68);
    }

    #hn-research .hn-news-rail {
        width: 100%;
        max-width: none;
        height: 180px;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    #hn-research .hn-news-viewport {
        width: 100%;
        height: 180px;
        margin: 0;
        padding: 0 0 0 20px;
        overflow: hidden;
        touch-action: pan-y;
        cursor: grab;
    }

    #hn-research .hn-news-viewport.is-news-dragging {
        cursor: grabbing;
    }

    #hn-research .hn-news-cards {
        gap: 12px;
        width: max-content;
        max-width: none;
        padding: 0;
    }

    #hn-research .hn-news-fade {
        display: none;
    }

    #hn-research .hn-news-card-wrap {
        flex: 0 0 340px;
        width: 340px;
        min-width: 340px;
        height: 180px;
        margin: 0;
        padding: 0;
    }

    #hn-research .hn-news-card {
        height: 180px;
        padding: 15px 23px;
        border-radius: 16px;
        box-shadow: none;
    }

    #hn-research .hn-news-card-wrap.is-news-active .hn-news-card.article-card::before {
        opacity: 1 !important;
    }

    #hn-research .hn-news-card-wrap.is-news-active .hn-news-card {
        box-shadow: inset 0 -8px 16px rgba(255, 255, 255, 0.12);
    }

    #hn-research .hn-news-card-wrap.is-news-active .hn-news-card-glow-img {
        opacity: 0.32;
    }

    #hn-research .hn-news-card-wrap.is-news-active .hn-news-card .title {
        color: #fff;
        font-weight: 500;
    }

    #hn-research .hn-news-card-wrap.is-news-active .hn-news-images {
        transform: translateX(-50%) translateY(-6px);
    }

    #hn-research .hn-news-card-wrap.is-news-active .img-layer-1::after {
        opacity: 0 !important;
    }

    #hn-research .hn-news-card-wrap.is-news-active .hn-news-card.version-card .version-logo {
        color: rgba(255, 255, 255, 0.88);
    }

    #hn-research .hn-news-card-wrap.is-news-active .hn-news-card.version-card .hn-news-card-bg {
        background-image:
            linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.88) 95%),
            var(--hn-news-cover, url('../assets/images/home/article2-bg.png'));
    }

    #hn-research .hn-news-card-wrap:not(.is-news-active) .hn-news-card-glow-img,
    #hn-research .hn-news-card-wrap:not(.is-news-active) .hn-news-card.article-card::before {
        opacity: 0 !important;
    }

    #hn-research .hn-news-card-wrap:not(.is-news-active) .hn-news-card {
        box-shadow: none !important;
    }

    #hn-research .hn-news-card-wrap:not(.is-news-active) .hn-news-card .title {
        color: rgba(255, 255, 255, 0.88);
        font-weight: 400;
    }

    #hn-research .hn-news-card-wrap:not(.is-news-active) .hn-news-images {
        transform: translateX(-50%) translateY(6px) !important;
    }

    #hn-research .hn-news-card-wrap:not(.is-news-active) .img-layer-1::after {
        opacity: 1 !important;
    }

    #hn-research .hn-news-card-wrap:not(.is-news-active) .hn-news-card.version-card .version-logo {
        color: rgba(255, 255, 255, 0.68);
    }

    #hn-research .hn-news-card-wrap:not(.is-news-active) .hn-news-card.version-card .hn-news-card-bg {
        background-image:
            linear-gradient(to bottom, rgba(0, 0, 0, 0.07) 0%, #000 95%),
            var(--hn-news-cover, url('../assets/images/home/article2-bg.png'));
    }

    #hn-research .hn-news-card-copy {
        gap: 4px;
    }

    #hn-research .hn-news-card .title,
    #hn-research .hn-news-card-title-text {
        font-size: 20px;
        line-height: 30px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #hn-research .hn-news-card .title {
        display: block;
    }

    #hn-research .hn-news-card-title-text {
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
    }

    #hn-research .hn-news-meta {
        gap: 6px;
    }

    #hn-research .hn-news-meta .date,
    #hn-research .hn-news-meta .tag {
        padding: 2px 8px;
        border-width: 0.5px;
        font-size: 10px;
        line-height: 18px;
    }

    #hn-research .hn-news-images {
        width: 270px;
        height: 96px;
        bottom: -9px;
    }

    #hn-research .img-layer {
        height: 86px;
        border-radius: 4px 4px 0 0;
    }

    #hn-research .img-layer-3 { width: 247px; bottom: 9px; }
    #hn-research .img-layer-2 { width: 258px; bottom: 3px; }
    #hn-research .img-layer-1 { width: 268px; bottom: 0; }

    #hn-research .version-logo {
        bottom: 62px;
        font-size: 28.8px;
        line-height: 24px;
    }

    #hn-research .hn-news-actions {
        width: auto;
        max-width: none;
        height: 40px;
        margin: 24px 16px 60px;
    }

    #hn-research .hn-news-actions .hn-btn-outline {
        padding: 7px 24px;
        font-size: 15px;
        line-height: 26px;
        color: #fff;
    }

    #hn-research .hn-sub-title {
        font-size: 24px;
        line-height: 36px;
        margin: 0;
    }

    #hn-research .hn-research-dirs {
        position: relative;
        display: block;
        width: 100%;
        max-width: none;
        height: 230px;
        margin: 0;
        overflow: visible;
    }

    #hn-research .hn-dir-card,
    #hn-research .hn-dir-card.hn-enter-up {
        position: absolute;
        top: 0;
        left: 24px;
        width: calc(100% - 48px);
        min-height: 194px;
        display: block;
        padding: 24px;
        box-sizing: border-box;
        border: 0;
        opacity: 0;
        filter: blur(2px);
        transform: translateY(calc(
            28px - var(--hn-dir-active-lift, 0px) + var(--hn-dir-offset, 0) * 60px
        ));
        animation: none;
        transition:
            transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
            opacity 0.4s ease,
            filter 0.4s ease;
    }

    #hn-research .hn-dir-card.is-before,
    #hn-research .hn-dir-card.is-after {
        z-index: 2;
        opacity: 0;
        filter: blur(2px);
    }

    #hn-research .hn-dir-card.is-active {
        z-index: 4;
        opacity: 1;
        filter: none;
    }

    #hn-research .hn-dir-copy {
        gap: 8px;
    }

    #hn-research .hn-dir-card .icon,
    #hn-research .hn-dir-card .icon img {
        width: 48px;
        height: 48px;
    }

    #hn-research .hn-dir-card.is-active .icon .icon-off {
        opacity: 0;
    }

    #hn-research .hn-dir-card.is-active .icon .icon-on {
        opacity: 1;
    }

    #hn-research .hn-dir-card h4 {
        margin: 0 0 -6px;
        font-size: 20px;
        line-height: 30px;
    }

    #hn-research .hn-dir-card p {
        font-size: 13px;
        line-height: 20px;
        color: rgba(255, 255, 255, 0.68);
        white-space: nowrap;
    }

    html[lang="en"] #hn-research .hn-dir-card p {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #hn-research .hn-dir-card .tags {
        gap: 6px;
        margin-top: 12px;
    }

    #hn-research .hn-dir-card .tag {
        padding: 2px 8px;
        border-width: 0.5px;
        font-size: 10px;
        line-height: 18px;
    }

    /* 第四屏：整组内容固定在视口中央，滚动只切换两张合作卡的 PC hover 状态。 */
    #hn-ecosystem.hn-ecosystem {
        min-height: 0;
        /* 与前两屏一致：100dvh 舞台 + 2 × 64dvh。 */
        height: 228vh;
        height: 228dvh;
        display: block;
        overflow: visible;
        background: transparent;
    }

    #hn-ecosystem .hn-eco-grid {
        position: sticky;
        top: 0;
        height: 100vh;
        height: 100svh;
        margin-bottom: -100vh;
        margin-bottom: -100svh;
    }

    #hn-ecosystem .hn-eco-stage {
        position: sticky;
        top: 0;
        width: 100%;
        height: 100vh;
        height: 100svh;
        min-height: 0;
        display: flex;
        justify-content: center;
        padding: 0 20px;
        box-sizing: border-box;
        transform: none;
        overflow: hidden;
    }

    #hn-ecosystem .hn-section-header {
        width: 100%;
        margin: 0 0 32px;
        padding: 0;
        box-sizing: border-box;
    }

    #hn-ecosystem .hn-section-header h2 {
        margin: 0 0 8px;
        font-size: 32px;
        line-height: 44px;
    }

    #hn-ecosystem .hn-section-header p {
        font-size: 16px;
        line-height: 30px;
    }

    #hn-ecosystem .hn-eco-board,
    #hn-ecosystem .hn-eco-cards {
        width: 100%;
        max-width: 392px;
    }

    #hn-ecosystem .hn-eco-cards {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
    }

    #hn-ecosystem .hn-eco-card {
        width: 100%;
        max-width: none;
        height: 200px;
        margin: 0;
        border-width: 0.5px;
    }

    #hn-ecosystem .hn-eco-card:nth-child(even) {
        margin-left: 0;
        margin-top: -0.5px;
    }

    #hn-ecosystem .hn-eco-card.placeholder {
        display: none;
    }

    #hn-ecosystem .eco-content {
        gap: 16px;
        padding: 32px 24px;
    }

    #hn-ecosystem .eco-logo-wrap.arm-logo {
        width: 102px;
        height: 32px;
    }

    #hn-ecosystem .eco-logo-wrap.tencent-logo {
        width: 135px;
        height: 36px;
    }

    #hn-ecosystem .eco-content h3 {
        font-size: 20px;
        line-height: 30px;
    }

    #hn-ecosystem .eco-desc {
        font-size: 13px;
        line-height: 20px;
    }

    #hn-ecosystem .eco-desc-inner {
        padding-top: 4px;
    }

    #hn-ecosystem .hn-eco-hint {
        position: static;
        margin: 24px 0 0;
        padding: 0 8px;
        font-size: 12px;
        line-height: 18px;
    }

    /* 末屏只校正移动端排版和与上一屏的衔接；光效/玻璃地平线沿用既有实现。 */
    .hn-cta-pin-track {
        margin-top: -48px;
    }

    .hn-cta-content {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        gap: 32px;
        transform: translateY(-24px);
    }

    .hn-cta-copy {
        gap: 4px;
    }

    .hn-cta-content h2 {
        max-width: none;
        font-size: 40px;
        line-height: 54px;
        letter-spacing: 0.8px;
    }

    .hn-cta-content p {
        max-width: none;
        font-size: 15px;
        line-height: 24px;
        letter-spacing: 0.3px;
        color: rgba(255, 255, 255, 0.68);
    }

    .hn-cta-actions {
        flex-direction: column;
        width: 100%;
        max-width: none;
        gap: 16px;
    }

    .hn-cta-actions .hn-btn-primary.large,
    .hn-cta-actions .hn-btn-outline.large {
        flex: 0 0 48px;
        width: 100%;
        min-width: 0;
        max-width: none;
        font-size: 16px;
        line-height: 26px;
    }
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
    #hn-tech.hn-tech {
        height: auto;
        min-height: 100dvh;
    }

    .hn-scene > .hn-tech > .hn-tech-grid,
    #hn-tech .hn-tech-stage {
        position: relative;
        top: auto;
        height: 100dvh;
        min-height: 100dvh;
        margin-bottom: 0;
    }

    #hn-research.hn-research {
        height: auto;
        min-height: 100dvh;
    }

    #hn-research .hn-research-stage {
        position: relative;
        height: auto;
        min-height: 100dvh;
        overflow: visible;
    }

    #hn-research .hn-research-dirs {
        height: auto;
    }

    #hn-research .hn-dir-card,
    #hn-research .hn-dir-card.hn-enter-up {
        position: relative;
        top: auto;
        transform: none;
        opacity: 1;
        filter: none;
    }

    #hn-ecosystem.hn-ecosystem {
        height: auto;
        min-height: 100dvh;
    }

    #hn-ecosystem .hn-eco-grid,
    #hn-ecosystem .hn-eco-stage {
        position: relative;
        top: auto;
        height: auto;
        min-height: 100dvh;
        margin-bottom: 0;
    }
}

@media (max-width: 1024px) and (max-height: 900px) {
    #hn-tech .hn-section-header {
        margin-bottom: 24px;
    }

    #hn-research.hn-research {
        --hn-research-stage-top: 132px;
    }

    #hn-research .hn-section-header {
        margin-bottom: 24px;
    }

    #hn-research .hn-news-actions {
        margin-top: 16px;
        margin-bottom: 32px;
    }
}

@media (max-width: 1024px) and (max-height: 740px) {
    #hn-tech .hn-tech-stage {
        padding: calc(68px + 12px) 0 16px;
    }

    #hn-tech .hn-section-header {
        margin-bottom: 16px;
    }

    #hn-tech .hn-section-header h2 {
        font-size: 28px;
        line-height: 36px;
        margin: 0 0 8px;
    }

    .hn-tech-card.active {
        height: var(--hn-tech-active-h, 180px);
        min-height: var(--hn-tech-active-h, 180px);
        flex-basis: var(--hn-tech-active-h, 180px);
    }

    .hn-tech-card:not(.active) {
        height: 82px;
        min-height: 82px;
        flex-basis: 82px;
    }
}

@media (max-height: 740px) and (min-width: 1025px) {
    :root {
        --hn-hero-logo-size: 49px;
        --hn-hero-title-size: 31px;
        --hn-hero-title-lh: 49px;
    }

    .hn-hero-logo {
        width: var(--hn-hero-logo-size);
        height: var(--hn-hero-logo-size);
    }

    .hn-hero-title {
        font-size: var(--hn-hero-title-size);
        line-height: var(--hn-hero-title-lh);
    }

    .hn-hero-slogan {
        font-size: 36px;
        line-height: 48px;
    }

    .hn-hero-games {
        margin-top: 0;
    }

    .hn-scroll-hint {
        margin-top: 0;
    }
}

/* 开屏：居中 logo + 混合进度，再 FLIP 落成第一屏品牌锁 */
@property --hn-cloud-white {
    syntax: '<number>';
    inherits: true;
    initial-value: 0.78;
}

@property --hn-cloud-glow {
    syntax: '<number>';
    inherits: true;
    initial-value: 0.32;
}

@property --hn-bolt-white {
    syntax: '<number>';
    inherits: true;
    initial-value: 0.88;
}

@property --hn-bolt-glow {
    syntax: '<number>';
    inherits: true;
    initial-value: 1;
}

#hn-splash {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #171717;
}

#hn-splash.is-done,
html.hn-splash-done #hn-splash {
    display: none !important;
}

#hn-splash.is-leaving {
    background: transparent;
    transition: background-color 0.4s ease;
    pointer-events: none;
}

.hn-splash-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hn-splash-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    transform-origin: top left;
}

.hn-splash-logo {
    position: relative;
    width: calc(var(--hn-hero-logo-size) * var(--hn-splash-from-hero));
    height: calc(var(--hn-hero-logo-size) * var(--hn-splash-from-hero));
    flex-shrink: 0;
    overflow: visible;
}

.hn-splash-logo img {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    height: auto;
    transform: translate(-50%, -50%);
    display: block;
}

.hn-splash-logo-dim {
    width: calc(var(--hn-hero-logo-size) * var(--hn-splash-from-hero));
    opacity: 0;
    animation: hn-splash-logo-in 0.72s ease-out forwards;
}

.hn-splash-logo-lit {
    width: calc(var(--hn-hero-logo-size) * var(--hn-splash-from-hero) * 1.2);
    height: calc(var(--hn-hero-logo-size) * var(--hn-splash-from-hero) * 1.2 * 51.4737 / 72);
    opacity: 0;
    animation: hn-splash-breathe-once 4s ease-in-out forwards;
    filter: drop-shadow(0 1.5px 8px rgba(255, 255, 255, 0.48));
}

.hn-splash-logo-final {
    width: calc(var(--hn-hero-logo-size) * var(--hn-splash-from-hero) * 1.2);
    height: calc(var(--hn-hero-logo-size) * var(--hn-splash-from-hero) * 1.2 * 68.2585 / 96);
    opacity: 0;
}

.hn-splash-logo img.hn-splash-logo-mobile {
    display: none !important;
}

/* 必须位于 PC Splash 通用定义之后，避免后置的 display:none 覆盖移动端 Logo。 */
@media (max-width: 1024px) {
    .hn-splash-logo img.hn-splash-logo-mobile {
        display: block !important;
    }
}

#hn-splash.is-slow .hn-splash-logo-lit {
    animation: hn-splash-breathe-loop 4s ease-in-out infinite;
}

.hn-splash-title {
    display: inline-block;
    flex-shrink: 0;
    max-width: 0;
    padding-left: 0;
    box-sizing: content-box;
    opacity: 1;
    overflow: hidden;
    white-space: nowrap;
    font-size: calc(var(--hn-hero-title-size) * var(--hn-splash-from-hero));
    font-weight: 600;
    line-height: calc(var(--hn-hero-title-lh) * var(--hn-splash-from-hero));
    letter-spacing: calc(1px * var(--hn-splash-from-hero));
    color: #fff;
    background: linear-gradient(104deg, rgba(255, 255, 255, 0.78) 0%, #fff 50%, rgba(255, 255, 255, 0.78) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 calc(1.5px * var(--hn-splash-from-hero)) calc(8px * var(--hn-splash-from-hero)) rgba(255, 255, 255, 0.32);
    filter: url(#hn-title-inner-splash) drop-shadow(0 calc(1.5px * var(--hn-splash-from-hero)) calc(8px * var(--hn-splash-from-hero)) rgba(255, 255, 255, 0.32));
}

#hn-splash.is-leaving .hn-splash-title {
    overflow: visible;
}

#hn-splash.is-leaving .hn-splash-logo-lit {
    animation: none;
}

.hn-splash-bar-wrap {
    width: 160px;
    height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, height 0.4s ease, margin-top 0.4s ease;
}

#hn-splash.is-slow .hn-splash-bar-wrap {
    height: 4px;
    margin-top: 12px;
    opacity: 1;
}

.hn-splash-bar {
    position: relative;
    width: 160px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.hn-splash-bar-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.68), #fff);
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.24);
    transform: scaleX(0.08);
    transform-origin: left center;
    will-change: transform;
}

html.hn-is-splash header#header,
html.hn-is-splash .hn-hero-brand,
html.hn-is-splash .hn-hero-media,
html.hn-is-splash .hn-hero-wash,
html.hn-is-splash .hn-hero-bottom-glow,
html.hn-is-splash .hn-hero-slogan,
html.hn-is-splash .hn-hero-sub,
html.hn-is-splash .hn-hero-games,
html.hn-is-splash .hn-hero-games-glass,
html.hn-is-splash .hn-scroll-hint,
html.hn-is-splash .hn-scene-grid,
html.hn-is-splash .hn-aurora {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

html.hn-is-splash .hn-hero-content,
html.hn-splash-landing .hn-hero-content,
html.hn-splash-done .hn-hero-content,
html.hn-hero-entered .hn-hero-content {
    animation: none;
}

html.hn-is-splash #view-home.active,
html.hn-is-splash .hn-scene,
html.hn-splash-landing #view-home.active,
html.hn-splash-landing .hn-scene {
    background-color: #171717;
}

html.hn-splash-landing,
html.hn-splash-landing body {
    background: #171717 !important;
}

html.hn-splash-landing body {
    overflow: hidden;
}

html.hn-splash-landing:not(.hn-hero-copy) .hn-hero-slogan,
html.hn-splash-landing:not(.hn-hero-copy) .hn-hero-sub {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

html.hn-splash-landing:not(.hn-hero-copy) .hn-hero-bottom-glow {
    opacity: 0;
    animation: none;
}

html.hn-splash-landing .hn-glass-base {
    --hn-glass-glow: 0;
}

/* 顶栏不能跟其它 UI 一起做 opacity 淡入：祖先 opacity<1 时
   backdrop-filter（模糊 + 液态透镜）采不到页面，淡入结束会闪一下才出现玻璃。 */
html.hn-splash-landing header#header {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

html.hn-splash-landing .hn-hero-media,
html.hn-splash-landing .hn-hero-wash,
html.hn-splash-landing .hn-scene-grid,
html.hn-splash-landing .hn-scroll-hint {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: hn-ui-fade-in 0.96s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Logo 墙玻璃和顶栏一样，不能跟祖先一起做 opacity 淡入，否则 backdrop 采不到视频。 */
html.hn-splash-landing .hn-hero-games,
html.hn-splash-landing .hn-hero-games-glass {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: none;
}

html.hn-splash-landing .hn-hero-brand {
    visibility: hidden;
}

html.hn-splash-landing.hn-splash-handoff .hn-hero-brand {
    visibility: visible;
}

/* Splash 品牌与 Hero 品牌在同一帧接棒，避免两套 Logo 叠加两帧后突然变亮。 */
html.hn-splash-landing.hn-splash-handoff #hn-splash .hn-splash-brand {
    visibility: hidden;
}

/* Hero 的云朵磨砂也在接棒帧同步出现，不再等 Overlay 隐藏后晚两帧弹出。 */
html.hn-splash-landing.hn-splash-handoff .hn-hero-logo-frost {
    opacity: 1;
}

html.hn-splash-done .hn-hero-media,
html.hn-splash-done .hn-hero-wash,
html.hn-splash-done .hn-hero-bottom-glow,
html.hn-splash-done .hn-scene-grid,
html.hn-splash-done .hn-hero-games,
html.hn-splash-done .hn-hero-games-glass,
html.hn-splash-done .hn-scroll-hint {
    opacity: 1;
    visibility: visible;
    animation: none;
}

html.hn-hero-copy .hn-hero-slogan,
html.hn-hero-copy .hn-hero-sub {
    visibility: visible;
    pointer-events: auto;
}

html.hn-hero-copy .hn-hero-slogan {
    animation: hn-hero-copy-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

html.hn-hero-copy .hn-hero-sub {
    animation: hn-hero-copy-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* 主/副标题起时，底部光与导航底沿径向白光一起亮起 */
html.hn-hero-copy .hn-hero-bottom-glow {
    animation: hn-bottom-glow-on 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (max-width: 1024px) {
    html.hn-hero-copy .hn-hero-bottom-glow,
    html.hn-splash-done .hn-hero-bottom-glow,
    html.hn-hero-entered .hn-hero-bottom-glow {
        animation: none;
        opacity: 0.3;
        visibility: visible;
    }
}

html.hn-hero-copy .hn-glass-base {
    animation: hn-header-glow-on 0.86s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hn-hero-copy-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes hn-bottom-glow-on {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes hn-header-glow-on {
    from { --hn-glass-glow: 0; }
    to { --hn-glass-glow: 0.24; }
}

@keyframes hn-ui-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes hn-splash-logo-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes hn-splash-breathe-once {
    0% { opacity: 0; }
    18% { opacity: 1; }
    50% { opacity: 0.04; }
    72% { opacity: 1; }
    100% { opacity: 1; }
}

@keyframes hn-splash-breathe-loop {
    0% { opacity: 1; }
    25% { opacity: 0.04; }
    50% { opacity: 1; }
    75% { opacity: 0.04; }
    100% { opacity: 1; }
}

/* 移动端复用 PC 的 4 秒呼吸节奏，但只让一份清晰 Logo 改变亮度；光晕独立呼吸。 */
@keyframes hn-mobile-logo-breathe {
    0% {
        opacity: 0;
        filter: brightness(0.82) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }
    18% {
        opacity: 1;
        filter: brightness(1.08) drop-shadow(0 1px 8px rgba(255, 255, 255, 0.52));
    }
    50% {
        opacity: 0.48;
        filter: brightness(0.8) drop-shadow(0 1px 2px rgba(255, 255, 255, 0.16));
    }
    72%,
    100% {
        opacity: 1;
        filter: brightness(1.08) drop-shadow(0 1px 8px rgba(255, 255, 255, 0.52));
    }
}

@keyframes hn-mobile-logo-halo {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.78);
    }
    18% {
        opacity: 0.72;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.08;
        transform: translate(-50%, -50%) scale(0.86);
    }
    72%,
    100% {
        opacity: 0.72;
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hn-aurora--ambient {
        transition: none;
    }

    .hn-splash-logo-dim,
    .hn-splash-logo-lit {
        animation: none;
        opacity: 1;
    }

    .hn-splash-logo-mobile {
        animation: none;
        opacity: 1;
        filter: brightness(1.04) drop-shadow(0 1px 6px rgba(255, 255, 255, 0.4));
    }

    .hn-splash-logo::before {
        animation: none;
        opacity: 0.5;
        transform: translate(-50%, -50%);
    }

    html.hn-hero-copy .hn-hero-bottom-glow,
    html.hn-hero-copy .hn-glass-base {
        animation: none;
    }

    html.hn-hero-copy .hn-hero-bottom-glow {
        opacity: 1;
    }

    html.hn-hero-copy .hn-glass-base {
        --hn-glass-glow: 0.24;
    }
}
