:root {
    color-scheme: dark light;
    --bg-color: #08090a;
    --page-bg: radial-gradient(ellipse 80% 42% at 50% -18%, rgba(143,249,255,0.11), transparent 62%),
        linear-gradient(180deg, #0b1010 0%, #08090a 48%, #070909 100%);
    --fixed-bg: #08090a;
    --nav-bg: rgba(9,14,14,0.78);
    --nav-border: rgba(154,250,255,0.13);
    --surface-1: #101616;
    --surface-2: #152122;
    --surface-3: rgba(151,250,255,0.045);
    --surface-hover: rgba(151,250,255,0.07);
    --card-bg: rgba(151,250,255,0.042);
    --card-border: rgba(166,251,255,0.13);
    --card-border-strong: rgba(183,251,255,0.22);
    --hairline: rgba(166,251,255,0.12);
    --brand-wash: rgba(143,249,255,0.1);
    --brand-wash-soft: rgba(143,249,255,0.045);
    --primary-glow: #9afaff;
    --electric-blue: #d7e7e8;
    --text-primary: #ffffff;
    --text-secondary: #9ba1ad;
    --text-tertiary: #7c8392;
    --text-on-panel: rgba(255, 255, 255, 0.84);
    --text-on-panel-strong: rgba(255, 255, 255, 0.92);
    --subtle-fill: rgba(255, 255, 255, 0.04);
    --subtle-fill-strong: rgba(255, 255, 255, 0.065);
    --spotlight-fill: rgba(166,251,255,0.055);
    --spotlight-border: rgba(183,251,255,0.2);
    --button-bg: #f7ffff;
    --button-text: #08090a;
    --panel-bg: rgba(18,25,25,0.72);
    --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.24);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    /* 卡片圆角只住这两枚：`glass.js` 从 `:root` parseFloat 同名键取数、再把数写回宿主 inline，
       玻璃与卡片本来就是同一个数 ⇒ 🚫 别为"内半径"另立一枚（挂玻璃时那 1px 描边已被 transparent 掉，不画）。 */
    --r-card: 8px;                          /* 首页卡片（.bento-card／.world-card） */
    --r-list: 12px;                         /* 博客卡（.archive-card／.curation-card） */
    --font-main: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "PingFang SC", monospace;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg-color: #ffffff;
        --page-bg: #ffffff;
        --fixed-bg: #ffffff;
        --nav-bg: rgba(255, 255, 255, 0.86);
        --nav-border: rgba(77,184,190,0.12);
        --surface-1: #ffffff;
        --surface-2: #fafafa;
        --surface-3: rgba(77,184,190,0.026);
        --surface-hover: rgba(77,184,190,0.052);
        --card-bg: #ffffff;
        --card-border: rgba(77,184,190,0.12);
        --card-border-strong: rgba(77,184,190,0.22);
        --hairline: rgba(77,184,190,0.12);
        --brand-wash: rgba(77,184,190,0.06);
        --brand-wash-soft: rgba(77,184,190,0.026);
        --primary-glow: #58d0d6;
        --electric-blue: #456162;
        --text-primary: #111a1a;
        --text-secondary: #5f6676;
        --text-tertiary: #6b7280;
        --text-on-panel: rgba(17,26,26,0.72);
        --text-on-panel-strong: rgba(17,26,26,0.86);
        --subtle-fill: rgba(77,184,190,0.03);
        --subtle-fill-strong: rgba(77,184,190,0.058);
        --spotlight-fill: rgba(77,184,190,0.045);
        --spotlight-border: rgba(77,184,190,0.16);
        --button-bg: #111a1a;
        --button-text: #ffffff;
        --panel-bg: rgba(255, 255, 255, 0.9);
        --shadow-soft: 0 24px 56px rgba(38,93,96,0.1);
    }

    .hero-title{
        color: var(--text-primary);
    }

    .logo {
        color: #1d1f24;
    }

    .background-texture canvas {
        opacity: 0.035;
    }

    .spotlight-beam {
        background: radial-gradient(circle at 50% -22%,
                rgba(88,208,214,0.18) 0%,
                rgba(88,208,214,0.095) 28%,
                rgba(88,208,214,0.035) 52%,
                rgba(255, 255, 255, 0) 76%);
        filter: blur(58px);
        mix-blend-mode: normal;
        opacity: 1;
    }

    .investment,
    .philosophy {
        background: #ffffff;
    }

    .lang-option.selected,
    .lang-option:hover {
        color: var(--text-primary);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

:focus-visible {
    outline: 2px solid var(--primary-glow);
    outline-offset: 4px;
}

body {
    background: var(--page-bg);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-switch {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: default;
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-opt {
    cursor: pointer;
    transition: color 0.3s ease;
}

.lang-opt:hover {
    color: var(--text-primary);
}

.lang-opt.active {
    color: var(--text-primary);
    font-weight: 700;
}

.divider {
    opacity: 0.3;
}

/* --- Advanced Background --- */
.background-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--fixed-bg);
    /* Fallback */
}

/* The Canvas will inject here. We just need to make sure it's positioned right */
.background-texture canvas {
    display: block;
    opacity: 0.08;
    /* Subtle blend */
}


/* --- Navigation --- */
nav {
    display: grid;
    grid-template-columns: minmax(40px, 1fr) minmax(0, 1240px) auto minmax(40px, 1fr);
    align-items: center;
    padding: 18px 0;
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid var(--nav-border);
    background: var(--nav-bg);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
}

nav .logo,
nav .nav-links,
nav .nav-download,
nav .lang-switch {
    grid-row: 1;
}

nav .logo {
    grid-column: 2;
    justify-self: start;
}

nav .nav-links {
    grid-column: 2;
    justify-self: center;
}

/* 右上角那枚下载按钮落在正文那一轨的最右＝与内容边缘对齐（负责人 10-24 逐字＝全站页头通用件）；
   语言切换那一枚挪到它右侧的空轨里，两枚谁都不许压住谁。 */
nav .nav-download {
    grid-column: 2;
    justify-self: end;
}

nav .lang-switch {
    grid-column: 3;
    justify-self: start;
}

.nav-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: #0b1010;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.16s var(--ease-out), background-color 0.16s var(--ease-out);
}

.nav-download:hover {
    background: #1c2526;
    transform: translateY(-1px);
}

.nav-download:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

.logo {
    font-family: var(--font-main); text-transform: uppercase;
    font-weight: 800;
    font-size: 1.2rem;
    color: #f4efe7;
    background: none;
    -webkit-text-fill-color: currentColor;
    letter-spacing: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 16px;
    font-size: 0.9rem;
    transition: color 0.16s var(--ease-out), background-color 0.16s var(--ease-out);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--surface-hover);
}

/* --- Hero Section --- */
.hero {
    width: min(100% - 80px, 1240px);
    min-height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    position: relative;
    padding: 96px 0 70px;
    perspective: 2000px;
    /* Enhanced 3D */
    z-index: 1;
    /* Ensure hero is above background */
}

.hero-content {
    width: 100%;
}

.spotlight-beam {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 120vh;
    background: radial-gradient(circle at 50% -18%,
            rgba(143,249,255,0.12) 0%,
            rgba(124,248,255,0.045) 34%,
            rgba(0, 0, 0, 0) 70%);
    filter: blur(70px);
    /* Extremely soft ambient glow */
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: screen;
    /* Light additive blending */
}

@media (prefers-color-scheme: light) {
    .logo {
        color: #1d1f24;
    }

    .spotlight-beam {
        background: radial-gradient(circle at 50% -22%,
                rgba(88,208,214,0.2) 0%,
                rgba(88,208,214,0.11) 30%,
                rgba(88,208,214,0.04) 54%,
                rgba(255, 255, 255, 0) 78%);
        filter: blur(58px);
        mix-blend-mode: normal;
        opacity: 1;
    }
}

/* Add a second "Beam" layer for directional emphasis */
.spotlight-beam::after {
    content: none;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 100%;
    background: conic-gradient(from 180deg at 50% -100px,
            transparent 165deg,
            rgba(129,242,248,0.25) 180deg,
            /* Light Indigo Beam */
            transparent 195deg);
    filter: blur(50px);
}

.hero-title {
    max-width: 13.5ch;
    font-size: clamp(2.35rem, 4.6vw, 3.85rem);
    line-height: 1.04;
    font-weight: 760;
    letter-spacing: 0;
    margin-bottom: 24px;

    color: var(--text-primary);

    /* 确保 GSAP 动画流畅 */
    will-change: auto;
}

/* 由 JavaScript 在模糊动画完成后添加此 class */
.hero-title.animate-shine {
    animation: none;
}

.hero-actions-row {
    display: grid;
    grid-template-columns: minmax(0, 42ch) max-content;
    justify-content: space-between;
    gap: clamp(28px, 7vw, 96px);
    align-items: start;
    width: 100%;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.45vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 42ch;
    margin: 0;
    font-weight: 400;
    line-height: 1.7;
}

/* --- 3D iPhone - The Masterpiece --- */

/* The Liquid Orb inside the phone */

/* --- Worldview Longform Sections --- */
.section-kicker,.card-kicker,.state-index,.world-card span{
    font-family: var(--font-mono);
    font-size: 0.76rem;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.section-heading {
    max-width: 794px;
    margin: 0 0 76px;
    text-align: left;
}

.section-heading h2,.manifesto-grid h2{
    font-size: clamp(2rem, 3.8vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: 0;
    margin-top: 16px;
}

.section-heading p {
    max-width: 42ch;
    margin-top: 28px;
    line-height: 1.72;
}

.section-heading p,.manifesto-copy p,.world-card p,.state-system-card p{
    color: var(--text-secondary);
}

.manifesto-section,
.world-split-section,
.state-system-section,
.moat-section,
.identity-section {
    max-width: 1136px;
    margin: 0 auto;
    padding: 44px 40px;
    position: relative;
}

.manifesto-section {
    padding-top: 56px;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
    gap: clamp(64px, 12vw, 156px);
    align-items: start;
    margin-top: 26px;
}

.manifesto-copy {
    display: grid;
    gap: 32px;
    font-size: 1.02rem;
    line-height: 1.78;
    padding-top: 6px;
    max-width: 650px;
}

.manifesto-copy p:first-child {
    font-size: clamp(1.35rem, 2.4vw, 2.15rem);
    line-height: 1.28;
    color: var(--text-on-panel-strong);
}

.thesis-strip {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    background: transparent;
    padding: 22px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

.thesis-strip::-webkit-scrollbar {
    display: none;
}

.thesis-track {
    display: flex;
    width: max-content;
    animation: thesis-marquee 42s linear infinite;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    white-space: nowrap;
    will-change: transform;
}

.thesis-group {
    display: flex;
    gap: 42px;
    padding-right: 42px;
}

.thesis-strip:hover .thesis-track,
.thesis-strip:active .thesis-track {
    animation-play-state: paused;
}

.thesis-group span::before {
    content: "/";
    color: var(--card-border-strong);
    margin-right: 34px;
}

@keyframes thesis-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .thesis-track {
        animation: none;
        will-change: auto;
    }
}

.world-split-grid,.state-system-grid{
    display: grid;
}

.world-split-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 12px;
}

.world-card,.state-system-card{
    /* 这枚的 overflow 不许写回 hidden：玻璃材质是宿主的子件、每边要外扩 ≥64px，宿主那一刀把四边高光削平＝负责人点的 P0。 */
    min-height: 312px;
    padding: 32px;
    border-radius: var(--r-card);
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    position: relative;
}

.world-card {
    min-height: 430px;
    padding: clamp(32px, 4vw, 48px);
    background: #f4f7f7;
    color: #0b0f0f;
    transition: background-color 0.16s var(--ease-out), border-color 0.16s var(--ease-out), filter 0.16s var(--ease-out);
}

.world-card.new-world {
    background: linear-gradient(180deg, #e8feff, #dffcfe);
}

.world-card:hover {
    background: #f7fafa;
    border-color: rgba(77,184,190,0.2);
    filter: brightness(1.006);
}

.world-card.new-world:hover {
    background: linear-gradient(180deg, #ebfeff, #e2feff);
    border-color: rgba(77,184,190,0.22);
}

.world-card::after,.state-system-card::after{
    content: none;
    position: absolute;
    inset: auto -20% -45% auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(124,248,255,0.12);
    filter: blur(70px);
    pointer-events: none;
}

.old-world::after {
    background: rgba(130, 136, 150, 0.08);
}

.new-world {
    border-color: var(--card-border-strong);
}

.world-card h3,.state-system-card h3{
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.12;
    margin: 16px 0 14px;
    letter-spacing: 0;
}

.world-card h3 {
    max-width: 14ch;
    color: #101114;
    font-size: clamp(1.85rem, 3.1vw, 3.1rem);
    line-height: 1.04;
}

.world-card p,.state-system-card p{
    font-size: 0.95rem;
    line-height: 1.68;
    position: relative;
    z-index: 1;
}

.world-card p,
.world-card ul,
.world-card li {
    color: rgba(16, 17, 20, 0.64);
}

.world-card span,
.world-card li::before {
    color: rgba(16, 17, 20, 0.62);
}

.world-card ul {
    list-style: none;
    margin-top: 22px;
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.world-card li::before {
    content: "—";
    color: rgba(16, 17, 20, 0.62);
    margin-right: 10px;
}

.state-system-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.state-system-card {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 0;
    border-right: 1px solid var(--hairline);
    border-radius: 0;
    background: transparent;
    padding: 34px 34px 28px;
}

.state-system-card:last-child {
    border-right: 0;
}

.feature-world {
    padding-top: 44px;
}

.card-kicker {
    display: block;
    margin-bottom: 14px;
}

.identity-section {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: clamp(56px, 9vw, 120px);
    align-items: start;
}

.atlas-section {
    max-width: 1136px;
    margin: 0 auto;
    padding: 44px 40px;
}

/* --- Features Bento Grid - Spotlight Edition --- */
.features {
    padding: 44px 40px;
    max-width: 1136px;
    margin: 0 auto;
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 第二行给下限不给死高：那一行装的是各档最长的正文，钉死 300px 会把末行摊到玻璃板外（🚫 缩上屏句子去凑数、🚫 子层裁回＝把读不全留在板上） */
    grid-template-rows: 520px minmax(300px, auto);
    gap: 12px;
}

.bento-card {
    /* 同上：overflow 写回 hidden＝这枚卡片玻璃层四边外扩被削（材质按 `glass.css` 的 .lg-content 铺满宿主盒）。 */
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--r-card);
    padding: 32px;
    position: relative;
    /* Important for spotlight */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.16s var(--ease-out), border-color 0.16s var(--ease-out), filter 0.16s var(--ease-out);

    /* Spotlight Setup */
    --mouse-x: -100px;
    --mouse-y: -100px;
}

.bento-card:nth-child(1) {
    background: linear-gradient(180deg, #e47558 0%, #dc7456 100%);
    color: #14110f;
    border-color: rgba(255, 255, 255, 0.18);
}

.bento-card:nth-child(2) {
    background: linear-gradient(180deg, #cffdff 0%, #c1fcff 100%);
    color: #131a1a;
    border-color: rgba(255, 255, 255, 0.28);
}

.bento-card:nth-child(3) {
    background: #f7f7f4;
    color: #17181c;
    border-color: rgba(255, 255, 255, 0.28);
}

.bento-card:nth-child(-n + 3) {
    padding: 38px;
    justify-content: flex-end;
}

.bento-card:nth-child(-n + 3) .card-kicker,
.bento-card:nth-child(-n + 3) .card-content h3,
.bento-card:nth-child(-n + 3) .card-content p {
    color: #161616;
}

.bento-card:nth-child(-n + 3) .card-content {
    margin-top: auto;
}

.bento-card:nth-child(-n + 3) .card-visual {
    position: absolute;
    inset: 38px 38px auto 38px;
    height: 210px;
    pointer-events: none;
}

.bento-card:nth-child(2) .card-visual {
    top: 118px;
    height: 90px;
}

.bento-card:nth-child(3) .card-visual {
    top: 120px;
    height: 160px;
}

.bento-card:nth-child(2) .card-kicker,
.bento-card:nth-child(3) .card-kicker,
.bento-card:nth-child(2) .card-content p,
.bento-card:nth-child(3) .card-content p {
    color: rgba(19,26,26,0.66);
}

.bento-card:nth-child(1) .card-content p,
.bento-card:nth-child(1) .card-kicker {
    color: rgba(20, 17, 15, 0.64);
}

.bento-card:nth-child(4),
.bento-card:nth-child(5) {
    background: transparent;
    border-color: var(--hairline);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
    padding: 30px;
}

.bento-card:nth-child(4):hover,
.bento-card:nth-child(5):hover {
    background: var(--surface-3);
    border-color: var(--card-border-strong);
    filter: brightness(1.006);
}

/* The Spotlight Glow Layer */
.bento-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(520px circle at var(--mouse-x) var(--mouse-y),
            var(--spotlight-fill),
            transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.16s var(--ease-out);
}

/* Border Glow Triggered by JS Mouse Position - Refined Mask */
.bento-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--r-card);
    padding: 1px;
    /* Slightly thicker for visibility */
    background: radial-gradient(420px circle at var(--mouse-x) var(--mouse-y),
            var(--spotlight-border),
            transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    /* Soften the border intensity */
    transition: opacity 0.16s var(--ease-out);
}

.bento-card:hover {
    background: var(--surface-hover);
    border-color: var(--card-border-strong);
    filter: brightness(1.006);
}

.bento-card:nth-child(1):hover {
    background: linear-gradient(180deg, #e87a5d 0%, #df7859 100%);
    border-color: rgba(255, 255, 255, 0.24);
    filter: brightness(1.015);
}

.bento-card:nth-child(2):hover {
    background: linear-gradient(180deg, #d4fdff 0%, #c6fcff 100%);
    border-color: rgba(255, 255, 255, 0.34);
    filter: brightness(1.012);
}

.bento-card:nth-child(3):hover {
    background: #fafaf7;
    border-color: rgba(255, 255, 255, 0.34);
    filter: brightness(1.01);
}

.bento-card:hover::before {
    opacity: 0.34;
}

.bento-card:hover::after {
    opacity: 0.58;
}

/* Layout helpers */
.card-large {
    grid-column: span 2;
}

.card-wide {
    grid-column: span 1;
}

.card-content {
    position: relative;
    z-index: 5;
}

.card-content h3 {
    font-size: 1.28rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0;
}

.bento-card:nth-child(-n + 3) .card-content h3 {
    font-size: clamp(1.26rem, 2vw, 1.55rem);
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    max-width: 410px;
    line-height: 1.62;
}

/* Visuals inside cards */
.card-visual {
    z-index: 3;
}

/* Enhanced Wave Animation */
.visual-audio {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 60px;
}

.wave-bar {
    width: 6px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.72));
    border-radius: 4px;
    box-shadow: none;
}

/* Code Snippet */
.visual-code {
    background: var(--subtle-fill);
    width: 100%;
    align-self: center;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.48;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--card-border);
    padding: 48px 40px;
    background: var(--fixed-bg);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* --- Science Section (Deep Dive) --- */
.science {
    padding: 44px 40px;
    background: linear-gradient(180deg, transparent, var(--brand-wash-soft));
    position: relative;
}

/* Abstract Graph Animation */
.graph-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    stroke: rgba(255, 255, 255, 0.54);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: none;
    stroke-dashoffset: 0;
}

.factor-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* --- Ecosystem Section --- */
.ecosystem {
    padding: 44px 40px;
    text-align: center;
}

/* --- Investment (Pricing) --- */
.investment {
    padding: 44px 40px;
    background: transparent;
}

@media (prefers-color-scheme: light) {
}

/* --- Roadmap --- */
.roadmap {
    padding: 44px 40px;
    border-bottom: 1px solid var(--hairline);
}

/* 手机那一档一行放不下「四枚文字链＋按钮＋语言」：先让位给下载那一枚（他要的就是它常在右上角） */
@media (max-width: 760px) {
    nav .nav-links a {
        display: none;
    }
}

/* Responsive Updates */
@media (max-width: 960px) {
    nav {
        grid-template-columns: 16px minmax(0, 1fr) auto 16px;
    }

    .nav-download {
        padding: 7px 12px;
        font-size: 0.74rem;
    }

    .hero {
        width: min(100% - 44px, 1136px);
        padding: 96px 0 72px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .manifesto-grid,
    .world-split-grid,
    .philosophy-content,
    .state-system-grid,
    .moat-grid,
    .identity-section,
    .identity-grid,
    .atlas-grid,
    .atlas-quad,
    .atlas-band,
    .atlas-split,
    .persona-row {
        grid-template-columns: 1fr;
    }

    .manifesto-section,
    .world-split-section,
    .state-system-section,
    .moat-section,
    .identity-section,
    .atlas-section,
    .features,
    .science,
    .ecosystem,
    .investment,
    .roadmap {
        padding-top: 38px;
        padding-bottom: 38px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .world-card,
    .state-system-card,
    .moat-grid article {
        min-height: auto;
    }

    .manifesto-grid,
    .world-split-grid,
    .identity-section,
    .philosophy-content {
        gap: 34px;
    }

    .state-system-grid,
    .moat-grid,
    .atlas-grid,
    .atlas-split,
    .persona-row {
        border-left: 0;
    }

    .state-system-card,
    .moat-grid article,
    .atlas-card,
    .atlas-band,
    .atlas-split article,
    .persona-row div {
        border-right: 0;
        border-bottom: 1px solid var(--hairline);
    }

    .world-card {
        min-height: 340px;
    }

    .identity-grid div {
        min-height: 118px;
    }

    .bento-card:nth-child(-n + 3) {
        min-height: 420px;
    }

    .investment .philosophy-content {
        min-height: 300px;
    }

    .card-large,
    .card-wide {
        grid-column: span 1;
    }

    .hero-title {
        font-size: clamp(2.12rem, 9.6vw, 2.75rem);
    }

    .hero-actions-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .app-store-button {
        width: fit-content;
    }

    .spotlight-beam {
        display: none;
    }

    .science-container,
    .ecosystem-grid,
    .pricing-grid,
    .philosophy-content {
        grid-template-columns: 1fr;
    }
}

/* --- Methodology (Tri-State) --- */
.methodology {
    padding: 44px 40px;
    background: radial-gradient(circle at center, var(--brand-wash-soft), transparent 60%);
    text-align: center;
}

.factor-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.16s var(--ease-out);
}

.factor-item.active {
    opacity: 1;
}

/* --- Design Stratum (Visual Architecture) --- */
.design-stratum {
    padding: 44px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
}

/* --- Visual: Celebration --- */
.visual-celebration {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* --- Visual: Focus --- */
.visual-focus {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* --- Visual: Speed --- */
.visual-speed {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 16px;
}

/* Mechanical */
.layer:nth-child(2) {
    top: 60px;
    transform: translateY(12px);
    opacity: 0.8;
    z-index: 2;
}

/* Instrument */
.layer:nth-child(3) {
    top: 120px;
    transform: translateY(24px);
    z-index: 3;
    border-color: var(--card-border-strong);
}

/* Ritual */

.stratum-visual:hover .layer:nth-child(1) {
    transform: translateY(-8px);
}


/* --- Persona (Witty Researcher) --- */
.persona {
    padding: 44px 40px;
    text-align: center;
    background: linear-gradient(0deg, transparent, var(--brand-wash-soft));
}

/* --- Philosophy Section --- */
.philosophy {
    padding: 44px 40px;
    background: var(--fixed-bg);
    text-align: left;
    border-top: 1px solid var(--card-border);
}

/* Responsive */
@media (max-width: 960px) {
    .design-stratum {
        flex-direction: column;
    }

    .stratum-visual {
        width: 100%;
        height: 400px;
    }

    .tri-state-container {
        flex-direction: column;
        align-items: center;
    }
}

/* --- Apple-Style Language Selector --- */
.language-selector {
    position: relative;
    z-index: 1000;
}

.lang-btn {
    background: var(--surface-3);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 6px 12px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.16s var(--ease-out), border-color 0.16s var(--ease-out);
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn:hover {
    background: var(--surface-hover);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: color-mix(in srgb, var(--surface-1) 94%, transparent);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 6px;
    min-width: 160px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.12s var(--ease-out), transform 0.12s var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lang-menu.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.lang-option {
    appearance: none;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.12s var(--ease-out), color 0.12s var(--ease-out);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    text-align: left;
}

.lang-option:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.lang-option.selected {
    color: var(--text-primary);
    background: var(--brand-wash);
}

.lang-option.selected::after {
    content: '✓';
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ========================================
   法律文档页面样式 (Privacy, Terms)
   ======================================== */

/* 页面主容器 */
.page-content {
    max-width: 1200px;
    /* 与主页保持一致 */
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 80px 20px 40px;
    min-height: 100vh;
}

/* 玻璃态卡片 */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

/* 标题样式 */
.card h1 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.card h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
    opacity: 0.9;
}

/* 段落和列表 */
.card p,
.card ul,
.card li {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.7;
}

/* 分隔线 */
.card .divider {
    height: 1px;
    background-color: var(--card-border);
    margin: 32px 0;
}

/* 链接 */
.card a {
        color: var(--electric-blue);
    text-decoration: none;
    transition: opacity 0.16s var(--ease-out);
}

.card a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Support 页面特定样式 */
/* ── Support 页正文外壳：三家同形（2026-09-27 负责人令「左右边距一会儿大一会儿小，统一」）────
   判据就两条：① 整页只有**一枚列宽**（640）与**一枚左右 gutter**（20），只在本规则里定义，
   🚫 页面里不许再写 inline `max-width` 去覆盖它；② 正文块（标题/段落/卡片）的横向内缩统一由
   下面那条 `> *` 给（24），🚫 不许某个块自己再缩一档 —— 卡片 32、邮箱行 24、段落 0 三档并存
   正是他看到的那种"跳"。邮箱行是个 pill 按钮，它自己的 12×24 是按钮内边距、不是正文缩进，故意保留。
   ⚠️ `justify-content` 两行是有意写的：短页要垂直居中，长页（SlateX 六个大章）居中会顶掉首屏，
      故用 `safe center` 兜底；不支持的浏览器退回上一行的 center，不会白屏。 */
.support-container { max-width: 640px; margin: 0 auto; padding: 80px 20px 64px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; justify-content: safe center; align-items: center; text-align: center; }
.support-container > * { width: 100%; box-sizing: border-box; padding-left: 24px; padding-right: 24px; }

.email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 1.25rem;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 24px;
    background: var(--subtle-fill);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    transition: background-color 0.16s var(--ease-out), border-color 0.16s var(--ease-out);
}

.email:hover {
    background: var(--subtle-fill-strong);
    border-color: var(--card-border-strong);
    box-shadow: none;
}

/* --- Blog --- */
.blog-container {
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
    padding: 120px 0 96px;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.blog-kicker,
.blog-card-meta {
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.article-container {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto;
    padding: 140px 0 96px;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.article-back {
    display: inline-flex;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.article-back:hover {
    color: var(--text-primary);
}

.article-content {
    color: var(--text-primary);
}

.article-content h1 {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    line-height: 1;
    letter-spacing: 0;
    margin: 12px 0 40px;
}

.article-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    line-height: 1.12;
    margin: 64px 0 20px;
}

.article-content h3 {
    font-size: 1.35rem;
    line-height: 1.25;
    margin: 36px 0 14px;
}

.article-content p,
.article-content li {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.85;
}

.article-content p {
    margin: 18px 0;
}

.article-content ul,
.article-content ol {
    padding-left: 1.35rem;
    margin: 18px 0;
}

.article-content blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border-left: 3px solid var(--card-border-strong);
    background: var(--brand-wash-soft);
    border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
    margin: 0;
}

.article-content hr {
    border: 0;
    border-top: 1px solid var(--hairline);
    margin: 44px 0;
}

.article-content pre {
    overflow-x: auto;
    padding: 20px;
    border-radius: 14px;
    background: var(--brand-wash-soft);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    line-height: 1.55;
}

.article-content code {
    font-family: var(--font-mono);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.article-content th,
.article-content td {
    border-bottom: 1px solid var(--hairline);
    padding: 14px 12px;
    text-align: left;
    vertical-align: top;
}

.article-content th {
    color: var(--text-primary);
    font-weight: 700;
}

@media (max-width: 700px) {
    .blog-container,
    .article-container {
        width: min(100% - 28px, 860px);
        padding-top: 96px;
    }

    .article-content p,
    .article-content li {
        font-size: 1rem;
        line-height: 1.78;
    }
}

/* --- Curated Blog --- */
.curated-blog-container {
    width: min(1160px, calc(100% - 40px));
}

.ritual-screen {
    min-height: calc(100vh - 96px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 72px;
}

.ritual-screen h1 {
    font-size: clamp(4rem, 11vw, 9rem);
    line-height: 0.92;
    letter-spacing: 0;
    max-width: 980px;
    margin: 0 0 24px;
}

.ritual-screen>p:not(.blog-kicker) {
    color: var(--text-secondary);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    max-width: 680px;
    margin-bottom: 52px;
}

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

.curation-card {
    /* 同上：overflow 写回 hidden＝这枚卡的玻璃四边被削平。 */
    min-height: 260px;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--card-border);
    border-radius: var(--r-list);
    background: var(--card-bg);
    padding: 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.16s var(--ease-out), background-color 0.16s var(--ease-out);
}

.curation-card:hover {
    border-color: var(--card-border-strong);
    background: var(--surface-hover);
}

.curation-card:nth-child(3) {
    grid-column: span 2;
    min-height: 220px;
}

.curation-card h2 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1;
    max-width: 620px;
    margin-bottom: 12px;
}

.curation-card-copy p:last-child {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.curation-card-footer {
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.curation-visual {
    position: absolute;
    inset: auto 24px 24px auto;
    width: 190px;
    height: 190px;
    opacity: 0.72;
    pointer-events: none;
}

.curation-visual span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.curation-orb .curation-visual span {
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.96), transparent 12%),
        conic-gradient(from 140deg, rgba(124,248,255,0.95), rgba(98, 212, 255, 0.36), rgba(255, 255, 255, 0.18), rgba(124,248,255,0.95));
    filter: blur(10px);
}

.curation-instrument .curation-visual span {
    border-radius: 18px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
    background-size: 22px 22px;
    border: 1px solid var(--card-border);
}

.curation-gallery .curation-visual {
    width: 260px;
    height: 160px;
}

.curation-gallery .curation-visual span {
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(124,248,255,0.1)),
        radial-gradient(circle at 25% 35%, rgba(98, 212, 255, 0.22), transparent 32%),
        radial-gradient(circle at 70% 65%, rgba(255, 255, 255, 0.16), transparent 35%);
    border: 1px solid var(--card-border);
}

.instrument-panel {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    margin-bottom: 28px;
    background: var(--nav-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--hairline);
}

.instrument-copy h2 {
    font-size: 1.4rem;
    line-height: 1;
}

.instrument-copy .blog-kicker {
    margin-bottom: 8px;
}

/* 三家博客索引共用这一整段（含下面那条 @media 覆盖）：筛选档枚数各家不同（4／5 枚），
   🔴 列数按按钮数自适应，🚫 不许写死枚数——`repeat(4, …)` 那一版挂到 5 枚上会多出一列空档。 */
.blog-segmented-control {
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: var(--subtle-fill);
    border: 1px solid var(--card-border);
}

.blog-segmented-control button {
    appearance: none;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text-secondary);
    padding: 9px 13px;
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.blog-segmented-control button.active {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 40px;
}

.archive-card {
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--card-border);
    border-radius: var(--r-list);
    background: var(--card-bg);
    padding: 24px;
    min-height: 230px;
    display: grid;
    gap: 18px;
    transition: opacity 0.16s var(--ease-out), border-color 0.16s var(--ease-out), background-color 0.16s var(--ease-out);
}

.archive-card:hover {
    border-color: var(--card-border-strong);
    background: var(--surface-hover);
}

.archive-card.is-hidden {
    display: none;
}

.card-featured {
    grid-column: span 2;
    min-height: 310px;
    grid-template-columns: minmax(180px, 0.46fr) 1fr;
    align-items: end;
}

.archive-card-visual {
    min-height: 112px;
    border-radius: 14px;
    border: 1px solid var(--card-border);
    background: linear-gradient(135deg, var(--subtle-fill), var(--brand-wash));
    display: flex;
    align-items: end;
    padding: 14px;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.card-featured .archive-card-visual {
    min-height: 240px;
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.22), transparent 24%),
        radial-gradient(circle at 78% 70%, rgba(124,248,255,0.18), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(98, 212, 255, 0.08));
}

.archive-card h2 {
    font-size: clamp(1.25rem, 2.2vw, 2.15rem);
    line-height: 1.08;
    margin-bottom: 12px;
}

.archive-card p:last-child {
    color: var(--text-secondary);
    line-height: 1.65;
}

@media (max-width: 820px) {
    .ritual-screen {
        min-height: auto;
        padding-top: 56px;
    }

    .curation-grid,.archive-grid,.card-featured{
        grid-template-columns: 1fr;
    }

    .curation-card:nth-child(3),
    .card-featured {
        grid-column: span 1;
    }

    .instrument-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-segmented-control {
        width: 100%;
        overflow-x: auto;
        grid-auto-columns: minmax(max-content, 1fr);
    }
}

/* ============================================================
   ICP 备案条（只在中国站出现；由「生成中国站.command」注入 HTML）
   样式放在源头 style.css，脚本只负责插一段干净的 HTML
   ============================================================ */
.icp-strip {
    width: 100%;
    box-sizing: border-box;
    padding: 28px 24px 32px;
    text-align: center;
    border-top: 1px solid var(--hairline, rgba(128, 128, 128, 0.18));
    color: var(--text-secondary, #9ba1ad);
    font-size: 13px;
    line-height: 1.8;
}

.icp-strip a {
    color: inherit;
    text-decoration: none;
}

.icp-strip a:hover {
    text-decoration: underline;
}

.icp-strip p {
    margin: 0;
}

.icp-strip .icp-sub {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.7;
    opacity: .75;
}

/* ── 价格板块（三家同形）──────────────────────────────────────────────────
   全网站金额与权益的唯一出处＝首页这一区（判据＝`网站建设/内容基准_网站线执行尺.md` §二-5）。
   金额那一枚的数字只许来自 App Store Connect 的手动档，网站不自填；其余地区由苹果按基档自动换算，
   所以这里只列手动那两档，🚫 不铺地区清单（改价只动首页这一枚，软文与别处一律零金额）。
   尺住在 `工具/_langs.py::assert_no_prices`：金额只许出现在 `id="pricing"` 那一段内，段外一枚都不行。 */
.membership-zone {
    max-width: 1136px;
    margin: clamp(28px, 4vw, 46px) auto 0;
    padding-top: clamp(26px, 4vw, 40px);
    border-top: 1px solid var(--hairline);
}

.pricing-amount {
    margin: 0 0 clamp(18px, 2.4vw, 26px);
    color: var(--text-primary);
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.021em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.feature-list {
    margin: 20px 0;
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-list li::before {
    content: "✓";
    color: var(--text-tertiary);
    font-weight: 700;
}

.pricing-note,
.pricing-region {
    margin-top: 20px;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 72ch;
}
/* ── 液态玻璃（glass.css／glass.js 只挂在门面族；宿主清单住在 glass.js 的 `Nw`，
      圆角由 `:root` 的 `--r-card`／`--r-list` 供值）。下面每条都对一个实际撞车处，🚫 当装饰删。 ── */
.lg-scene { position: relative; }
/* 第二把刀＝整场取景框：库把内容层那一枚 rect 当这一场唯一可画区，卡片向外扩的材质落在圈外＝直接不画
   （最外两边零余量＝一眼被切）。C 本家现算——`glass.js` 的 `regular` 档＝blur 7.33／refraction 60／
   fillSigma 浅 23・深 21.8 ⇒ C＝ceil(3×max(blur, fillSigma)＋refraction＋4)＝浅 133／深 130，取大的那一枚两档共用。
   四边同给 C 只喂材质取样，可见绘制与命中区由 `clip-path: inset(C)` 钉回宿主原盒：少了这一刀，出血那圈会把
   相邻 band 的正文压进玻璃（这层是定位层，宿主的 `isolation:isolate` 让它画在前兄弟文字之后）。
   库在 `:where(.lg-content)` 里同时写了 `width/height:100%`（零特异度）⇒ 只改 inset 会被它把 right／bottom
   挤掉，inset／width／height 三样一起给。这层绝对定位、出流 ⇒ 卡片一个像素都不动。 */
.lg-content {
    --lg-bleed: 133px;
    position: absolute;
    inset: calc(-1 * var(--lg-bleed));
    width: calc(100% + var(--lg-bleed) * 2);
    height: calc(100% + var(--lg-bleed) * 2);
    clip-path: inset(var(--lg-bleed));
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}
/* 复刻层带 overflow:hidden：圆角会把玻璃外圈再削一层＝卡片外面多出一圈 */
.lg-content { border-radius: 0 !important; }
/* ⚪ 两枚 `position:fixed` 氛围层（`.background-texture`／`.spotlight-beam`）由库按内容层整框复刻，
   框外撑 133px 后这层跟着变大＝纹理接缝那一格是近似，🚫 为它垫刀。 */

/* 挂了玻璃才让出卡片自己的底色与描边；filter／transform 也在这层钉死——
   带 filter 的卡片会自成新栈，玻璃层与卡片各走各路＝整块玻璃闪现浮起。 */
.lg-on .lg-surface,
.lg-on .lg-surface:nth-child(n):hover {
    background: transparent !important;
    border-color: transparent !important;
    filter: none !important;
    transform: none !important;
}
/* 玻璃里的字面色＝卡片原本从正文继承的那枚：库给 .lg-surface 的默认是浅色档那支 #111113，
   深色档不顶回去就是黑玻璃上压黑字。 */
.lg-on .lg-surface { --lg-foreground: var(--text-primary); }
/* 库复刻进来的边缘描边按直角画，跟玻璃圆角对不上；hover 的反馈改由下面那层柔光给。 */
.lg-on .lg-surface::after { content: none !important; }
/* hover＝玻璃里透进一层柔光：靠 inset box-shadow 做颜色，不碰位置（时长与卡片既有 transition 同形）。 */
.lg-on .lg-surface {
    box-shadow: inset 0 0 90px 24px transparent !important;
    transition: box-shadow 0.16s var(--ease-out);
}
.lg-on .lg-surface:hover,
.lg-on .lg-surface:nth-child(n):hover {
    box-shadow: inset 0 0 90px 24px color-mix(in srgb, var(--primary-glow) 16%, transparent) !important;
}

/* ── 打印层：纸面只留正文（reference asset 的形制规矩＝一页纸能贴进 binder）。
      屏幕形一处不改，这里全部住在 @media print 里。
      尺＝一张 A4/Letter 单面放得下 200 词正文＋一枚 9 行对照表：正文 10.5pt、表格 8pt、
      段距 8pt、表格行高 3pt——再大就把表挤到第二页。 ── */
@media print {
    @page { margin: 14mm; }                       /* 片场 binder 内页留 14mm 边，再小就压到装订孔 */
    html, body { background: #fff !important; color: #111 !important; }
    header, nav, footer, .background-texture, .spotlight-beam, .lg-scene, .lg-content, .lg-surface,
    .lang-switch, .language-selector { display: none !important; }
    .article-container { width: 100% !important; min-height: 0 !important; padding: 0 !important; }
    .article-content { color: #111 !important; font-size: 10.5pt; line-height: 1.45; }
    .article-content h1 { font-size: 15pt; line-height: 1.15; margin: 0 0 8pt; }
    .article-content h2 { font-size: 11pt; margin: 10pt 0 3pt; }
    .article-content h3 { font-size: 10pt; margin: 8pt 0 2pt; }
    .article-content p { margin: 0 0 8pt; orphans: 2; widows: 2; }
    .article-content ul, .article-content ol { margin: 0 0 8pt; padding-left: 15pt; }
    .article-content li { margin: 0 0 3pt; orphans: 2; widows: 2; }
    .article-content table { font-size: 8pt; width: 100%; margin: 8pt 0; }
    .article-content th, .article-content td { padding: 3pt 5pt; border-bottom: 0.5pt solid #999; }
    .article-content tr, .article-content h1, .article-content h2, .article-content h3 { break-inside: avoid; }
    .article-content a { color: #111 !important; text-decoration: none; }
    .article-content img { max-height: 34mm; }
    .article-content hr { margin: 10pt 0; border: none; border-top: 0.5pt solid #999; }
    .blog-kicker { font-size: 8.5pt; }
}
