/* ================================================================
 *  OGMIAO 风格 · 完全对标
 *  纯黑主题 · 五章节 · 大圆角 · 大图 · AOS 动效
 * ================================================================ */

:root {
    --bg:            #000000;
    --bg-soft:       #0a0a0a;
    --bg-card:       #111111;
    --bg-card-hi:    #1a1a1a;
    --border:        rgba(255, 255, 255, 0.08);
    --border-hi:     rgba(255, 255, 255, 0.16);
    --fg:            #f5f5f7;
    --fg-2:          #a1a1a6;
    --fg-3:          #6c6c70;
    --accent:        #ef7a42;          /* 主品牌色：暖橙（已降饱和，暗底不扎眼） */
    --accent-2:      #f2a068;          /* 次品牌色 */
    --accent-glow:   rgba(239, 122, 66, 0.34);
    --radius-sm:     14px;
    --radius-md:     22px;
    --radius-lg:     32px;
    --radius-xl:     44px;
    --pillnav-h:     52px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
                 "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
                 "Microsoft YaHei", "Inter", sans-serif;
    font-feature-settings: "ss01", "ss02", "cv01";
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

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

/* ========================= 顶部 Pill 胶囊导航 ========================= */

.og-pillnav {
    position: fixed;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: fit-content;
    max-width: calc(100vw - 48px);
    padding: 5px;
    background: rgba(11, 11, 13, 0.68);
    backdrop-filter: saturate(150%) blur(18px);
    -webkit-backdrop-filter: saturate(150%) blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

/* 滚动后：渐变 + 更强毛玻璃，压住下方文字保证可读 */
.og-pillnav.is-stuck {
    background: linear-gradient(180deg, rgba(13, 13, 16, 0.88) 0%, rgba(13, 13, 16, 0.68) 100%);
    backdrop-filter: saturate(170%) blur(24px);
    -webkit-backdrop-filter: saturate(170%) blur(24px);
    border-color: rgba(255, 255, 255, 0.13);
    box-shadow:
        0 12px 38px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.og-pillnav__inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
    position: relative;
}

/* 顶栏品牌位（保留兼容，当前不在导航内使用） */
.og-pillnav__brand {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #000;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    box-shadow: 0 0 16px var(--accent-glow);
}

.og-pillnav__btn {
    position: relative;
    z-index: 2;
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.62);
    background: none;
    border: 0;
    cursor: pointer;
    transition: color .25s ease;
}

.og-pillnav__btn:hover {
    color: #fff;
}

.og-pillnav__btn.is-active {
    color: #fff;
}

.og-pillnav__indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    z-index: 1;
    transition: transform .4s cubic-bezier(.5, 1, .3, 1), width .4s cubic-bezier(.5, 1, .3, 1), opacity .3s;
    width: 0;
    opacity: 0;
}

/* ========================= 通用 Chapter 头部 ========================= */

.chapter {
    padding: 140px 24px 80px;
    max-width: 1280px;
    margin: 0 auto;
}

.chapter-head {
    margin-bottom: 56px;
}

.chapter-num {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.chapter-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1;
    background: linear-gradient(180deg, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.chapter-sub {
    font-size: 16px;
    color: var(--fg-2);
    margin-top: 16px;
    max-width: 520px;
}

/* ========================= 序章（Hero） ========================= */

.chapter-hero {
    padding-top: 100px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-size: 13px;
    color: var(--fg-2);
    margin-bottom: 32px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.hero-title {
    font-size: clamp(56px, 11vw, 144px);
    font-weight: 700;
    letter-spacing: -5px;
    line-height: 0.95;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-title .hl {
    display: inline-block;
    padding-right: .25em;
}

.hero-title .hl-accent {
    color: var(--accent);
    text-shadow: 0 0 40px var(--accent-glow);
}

.hero-dot-mark {
    color: var(--accent);
    opacity: .8;
}

.hero-tag {
    font-size: 17px;
    color: var(--fg-2);
    max-width: 540px;
    margin: 0 auto 48px;
}

.hero-hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-bottom: 72px;
}

.hero-hero-stats .stat {
    text-align: center;
}

.hero-hero-stats .stat-n {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--fg);
    line-height: 1;
}

.hero-hero-stats .stat-y {
    font-size: 22px;
    color: var(--fg-3);
    margin-left: 2px;
}

.hero-hero-stats .stat-t {
    font-size: 13px;
    color: var(--fg-2);
    margin-top: 6px;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--fg-3);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 48px;
}

.arrow-down {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, var(--fg-3), transparent);
    position: relative;
    animation: scroll-hint 1.8s ease-in-out infinite;
}

@keyframes scroll-hint {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.4; transform: translateY(4px); }
}

/* --- Hero 大图区 --- */
.hero-featured {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 32px;
    align-items: end;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.featured-label {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.featured-label .num {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    padding-top: 4px;
}

.ft-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}

.ft-desc {
    font-size: 14px;
    color: var(--fg-2);
    margin-bottom: 14px;
}

.ft-link {
    display: inline-block;
    font-size: 13px;
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 1px;
}

.featured-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow:
        0 30px 60px -20px rgba(0,0,0,.6),
        0 0 0 1px rgba(255,255,255,.04);
    transform: perspective(2000px) rotateY(-3deg) rotateX(2deg);
    transition: transform .6s cubic-bezier(.5,1,.3,1);
}

.featured-frame:hover {
    transform: perspective(2000px) rotateY(-1deg) rotateX(1deg);
}

.browser-chrome {
    background: var(--bg-soft);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.browser-dots {
    display: inline-flex;
    gap: 6px;
}

.browser-dots i {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
}

.browser-dots i:nth-child(1) { background: #ff5f57; }
.browser-dots i:nth-child(2) { background: #ffbd2e; }
.browser-dots i:nth-child(3) { background: #28c840; }

.browser-url {
    flex: 1;
    text-align: center;
    background: rgba(255,255,255,.05);
    border-radius: 999px;
    padding: 4px 14px;
    font-family: ui-monospace, "SF Mono", monospace;
    font-size: 12px;
    color: var(--fg-3);
}

.featured-shot {
    aspect-ratio: 16/10;
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================= 渐变背景 ========================= */
.gradient-1, .gradient-2, .gradient-3,
.gradient-4, .gradient-5, .gradient-6 {
    position: relative;
    overflow: hidden;
}

.gradient-1 { background: linear-gradient(135deg, #1a0033, #4d0066 50%, #ef7a42); }
.gradient-2 { background: linear-gradient(135deg, #001a33, #003d80 50%, #26c6da); }
.gradient-3 { background: linear-gradient(135deg, #330000, #800020 50%, #ff4757); }
.gradient-4 { background: linear-gradient(135deg, #001a0d, #005533 50%, #2ed573); }
.gradient-5 { background: linear-gradient(135deg, #2d1b00, #8b4513 50%, #ff9f43); }
.gradient-6 { background: linear-gradient(135deg, #000033, #1a0066 50%, #7c4dff); }

/* hero mock */
.mock-hero {
    text-align: center;
    color: white;
    width: 100%;
}

.m-h {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.m-sub {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 28px;
}

.m-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 320px;
    margin: 0 auto;
}

.m-w {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    height: 50px;
}

/* ========================= 站点列表 ========================= */
.sites-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.site-row {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
    align-items: center;
}

.site-row.reverse {
    grid-template-columns: 1fr 360px;
}

.site-row.reverse .site-row__meta {
    order: 2;
}

.site-row__meta {
    display: flex;
    gap: 16px;
}

.site-row__idx {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    font-family: ui-monospace, monospace;
    padding-top: 6px;
    opacity: 0.8;
}

.site-row__title h3 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-row__title p {
    font-size: 15px;
    color: var(--fg-2);
    margin-bottom: 16px;
    line-height: 1.6;
}

.site-row__link {
    font-family: ui-monospace, monospace;
    font-size: 13px;
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 1px;
}

.site-row__shot {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: transform .5s ease, border-color .5s ease;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
}

.site-row__shot:hover {
    transform: translateY(-4px);
    border-color: var(--border-hi);
}

.site-row__shot .shot {
    aspect-ratio: 16/10;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 各 mock 内部细节 */
.mock-cloud { width: 100%; color: white; }
.mc-nav {
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    background: rgba(0,0,0,.2);
    border-radius: 6px;
    font-size: 11px;
    margin-bottom: 16px;
}
.mc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.mc-card {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(20px);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}
.mc-i { font-size: 22px; margin-bottom: 4px; }
.mc-t { font-size: 12px; }

.mock-rate { width: 100%; color: white; }
.mr-vendor {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}
.mr-stars { color: #ffd700; letter-spacing: 2px; }

.mock-order { width: 100%; color: white; }
.mo-head {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}
.mo-stat { color: #2ed573; font-weight: 600; font-size: 11px; }
.mo-row {
    background: rgba(255,255,255,.08);
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}
.mo-s {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 999px;
}
.s-ok { background: rgba(46,213,115,.2); color: #b8ffdc; }
.s-wait { background: rgba(255,165,0,.2); color: #ffe1b3; }

.mock-bbs { width: 100%; color: white; }
.mb-post {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,.08);
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 8px;
}
.mb-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    flex-shrink: 0;
}
.mb-t { font-size: 12px; font-weight: 500; margin-bottom: 2px; }
.mb-m { font-size: 10px; opacity: 0.7; }

.mock-imgwall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
}
.mi {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.05));
    backdrop-filter: blur(20px);
    border-radius: 6px;
}

.sites-more {
    text-align: center;
    padding: 60px 20px;
    font-size: 14px;
    color: var(--fg-3);
    border-top: 1px dashed var(--border);
    margin-top: 40px;
}

/* ========================= 新闻时间线 ========================= */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
}

.news-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 32px;
    align-items: flex-start;
    padding: 32px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all .35s ease;
    position: relative;
}

.news-row::before {
    content: '';
    position: absolute;
    left: 140px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.news-row:hover {
    border-color: var(--border-hi);
    transform: translateX(4px);
}

.news-date {
    text-align: right;
    padding-right: 28px;
    border-right: 1px solid var(--border);
}

.news-d {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--fg);
    line-height: 1;
}

.news-m {
    font-size: 12px;
    color: var(--fg-3);
    margin-top: 4px;
    font-family: ui-monospace, monospace;
}

.news-body {
    flex: 1;
}

.news-tag {
    display: inline-block;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--accent);
    color: #000;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-tag.tag-update { background: #007aff; color: #fff; }
.news-tag.tag-anno   { background: #f5a623; color: #000; }

.news-body h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.news-body p {
    font-size: 14px;
    color: var(--fg-2);
    line-height: 1.7;
}

/* ========================= 联系 ========================= */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at left top, var(--cc, var(--accent-glow)), transparent 60%);
    opacity: 0;
    transition: opacity .4s ease;
}

.contact-card:hover {
    border-color: var(--cc);
    transform: translateY(-3px);
}

.contact-card:hover::before {
    opacity: 0.15;
}

.cc-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--cc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
}

.cc-type {
    font-size: 12px;
    color: var(--fg-3);
    margin-bottom: 2px;
    z-index: 1;
}

.cc-label {
    font-size: 15px;
    font-weight: 500;
    z-index: 1;
}

.cc-arrow {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 14px;
    color: var(--fg-2);
    transition: transform .25s ease, color .25s ease;
}

.contact-card:hover .cc-arrow {
    transform: translate(2px, -2px);
    color: var(--cc);
}

/* ========================= 致谢 ========================= */
.credits-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.credit-card {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all .35s ease;
}

.credit-card:hover {
    border-color: var(--border-hi);
    background: var(--bg-card-hi);
    transform: translateY(-3px);
}

.cd-emoji {
    font-size: 40px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 16px rgba(255,255,255,.1));
}

.cd-name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cd-role {
    font-size: 12px;
    color: var(--fg-3);
}

.credits-thanks {
    text-align: center;
    margin-top: 64px;
    font-size: 16px;
    color: var(--fg-2);
    font-style: italic;
}

/* ========================= 底部 ========================= */
.og-footer {
    margin-top: 40px;
    padding: 60px 24px 36px;
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
}

.og-footer__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
}

.og-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.logo-mini {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.og-footer__links {
    display: flex;
    gap: 24px;
    justify-content: center;
    font-size: 14px;
    color: var(--fg-2);
}

.og-footer__links a:hover {
    color: var(--fg);
}

.og-footer__copy {
    font-size: 12px;
    color: var(--fg-3);
    text-align: right;
}

/* ========================= 响应式 ========================= */
@media (max-width: 768px) {
    .og-pillnav {
        max-width: calc(100vw - 24px);
        box-sizing: border-box;
    }
    .og-pillnav__inner {
        gap: 2px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .og-pillnav__inner::-webkit-scrollbar {
        display: none;
    }
    .og-pillnav__btn {
        padding: 6px 11px;
        font-size: 12px;
    }
    .og-pillnav__brand {
        display: none;
    }

    .chapter {
        padding: 100px 18px 60px;
    }

    .chapter-title {
        letter-spacing: -1.5px;
    }

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

    .featured-frame {
        transform: none;
    }

    .site-row, .site-row.reverse {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-row.reverse .site-row__meta {
        order: 0;
    }

    .site-row__title h3 {
        font-size: 28px;
    }

    .news-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .news-row::before {
        display: none;
    }

    .news-date {
        text-align: left;
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: 12px;
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .news-d {
        font-size: 28px;
    }

    .hero-hero-stats {
        gap: 32px;
    }

    .hero-hero-stats .stat-n {
        font-size: 40px;
    }

    .og-footer__inner {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .og-footer__links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .og-footer__copy {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .og-pillnav {
        top: 12px;
        padding: 4px;
        max-width: calc(100vw - 20px);
    }
    .og-pillnav__inner {
        gap: 1px;
    }
    .og-pillnav__btn {
        padding: 5px 9px;
        font-size: 11px;
    }
}

/* ================================================================
 *  技术感交互层 · v2 样式
 * ================================================================ */

/* --- 全局网格背景（纯 CSS，缓慢漂移）--- */
body::before {
    content: '';
    position: fixed;
    inset: -2px;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
    animation: grid-drift 24s linear infinite;
}
@keyframes grid-drift {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 56px 56px, 56px 56px; }
}

/* 内容层置于网格之上 */
.og-pillnav, main, .og-footer { position: relative; z-index: 1; }

/* --- Canvas 星座背景 --- */
#ogCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .9;
}

/* --- 自定义光标 + 光晕 --- */
.cursor {
    position: fixed;
    top: 0; left: 0;
    width: 7px; height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: #fff;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 9999;
    transition: width .2s, height .2s, margin .2s;
}
.cursor.is-hover { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 34px; height: 34px;
    margin: -17px 0 0 -17px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: width .25s, height .25s, margin .25s, border-color .25s, background .25s;
}
.cursor-ring.is-hover {
    width: 52px; height: 52px; margin: -26px 0 0 -26px;
    border-color: var(--accent);
    background: rgba(255,107,53,.08);
}
.cursor-ring.is-down { transform-origin: center; }
#ogGlow {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%),
                rgba(255,107,53,.10), transparent 60%);
    transition: background .12s ease, opacity .3s;
    opacity: .8;
}
#ogGlow.is-hot { opacity: 1; background: radial-gradient(520px circle at var(--gx,50%) var(--gy,50%), rgba(255,107,53,.16), transparent 62%); }

/* --- 滚动进度条 --- */
#scrollProgress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0;
    z-index: 200;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 12px var(--accent-glow);
}

/* --- 启动动画（终端）--- */
#bootScreen {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s ease;
}
#bootScreen.hide { opacity: 0; }
.boot__inner { width: min(560px, 86vw); }
.boot__logo {
    font-size: 30px; font-weight: 800; letter-spacing: -1px; margin-bottom: 28px;
    color: #fff;
}
.boot__logo span { color: var(--accent); }
.boot__lines { font-family: ui-monospace, "SF Mono", "JetBrains Mono", monospace; font-size: 13px; }
.boot__lines div {
    color: var(--fg-3);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .35s, transform .35s;
    margin-bottom: 8px;
}
.boot__lines div.show { opacity: 1; transform: none; color: #cfcfd4; }
.boot__lines div[data-t]::first-letter { color: var(--accent); }
.boot__bar {
    margin-top: 22px; height: 2px; width: 100%;
    background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden;
}
.boot__bar i {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    animation: bootfill 1.9s ease forwards;
}
@keyframes bootfill { to { width: 100%; } }
.boot__hint { margin-top: 16px; font-size: 11px; color: var(--fg-3); text-align: center; }

/* --- Hero 文字解码 --- */
.hero-title .hl.decoded { color: var(--fg); }
.hero-title .hl.hl-accent.decoded { color: var(--accent); text-shadow: 0 0 40px var(--accent-glow); }

/* --- 3D 倾斜 --- */
.tilt { transition: transform .25s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }

/* --- 磁吸 --- */
.magnetic { transition: transform .25s cubic-bezier(.2,.8,.2,1); }

/* --- 实时时钟 --- */
.sys-clock {
    display: inline-block;
    font-family: ui-monospace, monospace;
    font-size: 11px;
    color: #2ed573;
    margin-right: 10px;
    letter-spacing: .5px;
}
.sys-clock::first-letter { color: #2ed573; }

/* --- 命令面板 Ctrl/Cmd+K --- */
.cmdk {
    position: fixed; inset: 0; z-index: 8000;
    display: none;
    align-items: flex-start; justify-content: center;
    padding-top: 14vh;
}
.cmdk.open { display: flex; }
.cmdk__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.cmdk__box {
    position: relative;
    width: min(620px, 92vw);
    background: rgba(18,18,18,.92);
    border: 1px solid var(--border-hi);
    border-radius: var(--radius-md);
    box-shadow: 0 40px 80px -20px rgba(0,0,0,.8);
    overflow: hidden;
    animation: cmdk-in .2s ease;
}
@keyframes cmdk-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
.cmdk__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.cmdk__k {
    font-family: ui-monospace, monospace; font-size: 11px;
    padding: 3px 8px; border-radius: 6px;
    background: rgba(255,255,255,.08); color: var(--fg-2);
}
.cmdk__input {
    flex: 1; background: none; border: none; outline: none;
    color: var(--fg); font-size: 16px; font-family: inherit;
}
.cmdk__input::placeholder { color: var(--fg-3); }
.cmdk__list { max-height: 50vh; overflow-y: auto; padding: 8px; }
.cmdk__item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 12px; cursor: pointer;
    color: var(--fg-2);
}
.cmdk__item.is-active { background: rgba(255,255,255,.07); color: var(--fg); }
.cmdk__tag {
    font-size: 10px; padding: 2px 8px; border-radius: 999px;
    background: rgba(255,107,53,.15); color: var(--accent); flex-shrink: 0;
}
.cmdk__label { flex: 1; font-size: 14px; }
.cmdk__go { color: var(--fg-3); }
.cmdk__empty { padding: 24px; text-align: center; color: var(--fg-3); font-size: 13px; }
.cmdk__foot {
    display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--border);
    font-size: 11px; color: var(--fg-3);
}
.cmdk-hint {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 7000;
    padding: 10px 16px;
    background: rgba(18,18,18,.9);
    border: 1px solid var(--border-hi);
    border-radius: 999px;
    font-size: 12px;
    color: var(--fg-2);
    box-shadow: 0 12px 30px -10px rgba(0,0,0,.7);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s, transform .4s;
    pointer-events: none;
}
.cmdk-hint.show { opacity: 1; transform: none; }
.cmdk-hint b { color: var(--accent); font-family: ui-monospace, monospace; }

/* --- 触摸设备 / 无障碍：隐藏自定义光标 --- */
@media (hover: none), (pointer: coarse) {
    .cursor, .cursor-ring, #ogGlow { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    body::before { animation: none; }
    .cursor, .cursor-ring { display: none !important; }
}

/* ================================================================
 *  v3 · Hero 全幅背景 + 黑色玻璃 / 自定义展示图 / 致谢 / 页脚渐变 / 返回顶部
 * ================================================================ */

/* --- 站点 Logo（图片 / 文字，尺寸固定）--- */
.site-logo-img {
    display: block;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.site-logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #000;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -.5px;
    flex-shrink: 0;
}
.site-logo-text.is-sm { font-size: 11px; }

/* 顶栏品牌位：容器透明，由内部 logo 元素承载样式 */
.og-pillnav__brand {
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.og-pillnav__brand .site-logo-img,
.og-pillnav__brand .site-logo-text {
    box-shadow: 0 0 16px var(--accent-glow);
}

/* --- Hero 全幅背景 --- */
.chapter.chapter-hero {
    position: relative;
    max-width: none;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-color: #05060a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image:
        radial-gradient(120% 120% at 18% 8%, #1b2340 0%, transparent 60%),
        radial-gradient(120% 120% at 92% 92%, #3a1a12 0%, transparent 55%),
        linear-gradient(160deg, #0a0d18, #05060a 60%);
    transform: scale(1.14);
    will-change: transform;
}
.hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(0,0,0,.5) 0%,
            rgba(0,0,0,.16) 22%,
            rgba(0,0,0,.46) 60%,
            rgba(0,0,0,.9) 100%),
        radial-gradient(110% 85% at 12% 88%, rgba(0,0,0,.62), transparent 70%);
    backdrop-filter: saturate(118%);
    -webkit-backdrop-filter: saturate(118%);
}

/* 滚动加深层：JS 按滚动进度写入 --hero-fade(0→1)，
   向下滚动时底部渐变更浓，Hero 文字与下一章节长文本过渡时始终清晰 */
.hero__scrim::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 24%, rgba(0,0,0,.5) 66%, rgba(0,0,0,.92) 100%);
    opacity: var(--hero-fade, 0);
    pointer-events: none;
    transition: opacity .12s linear;
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 150px 40px 120px;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.hero__main { text-align: left; max-width: 900px; }

.chapter-hero .hero-eyebrow { margin-bottom: 26px; }
.chapter-hero .hero-title {
    justify-content: flex-start;
    font-size: clamp(56px, 9.6vw, 140px);
    letter-spacing: -4.5px;
    margin-bottom: 22px;
}
.chapter-hero .hero-tag {
    margin: 0 0 34px;
    text-align: left;
    max-width: 600px;
    font-size: 17px;
    color: rgba(255,255,255,.72);
}

/* Hero 按钮 */
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn-hero--primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 10px 30px -10px var(--accent-glow);
}
.btn-hero--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -12px var(--accent-glow); }
.btn-hero--ghost {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.18);
    color: var(--fg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn-hero--ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); border-color: rgba(255,255,255,.3); }
.btn-hero--ghost span { color: var(--accent); }

.chapter-hero .hero-scroll {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    width: max-content;
    margin: 0 auto;
    z-index: 3;
    margin-bottom: 0;
}

/* --- 站点自定义展示图 + 黑色玻璃覆盖 --- */
.site-row__shot .shot--cover {
    position: relative;
    aspect-ratio: 16/10;
    padding: 0;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform .6s cubic-bezier(.5,1,.3,1);
}
.site-row__shot:hover .shot--cover { transform: scale(1.03); }
.shot__glass {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.32) 52%, rgba(0,0,0,.84) 100%);
    backdrop-filter: blur(1.5px) saturate(115%);
    -webkit-backdrop-filter: blur(1.5px) saturate(115%);
}
.shot__cap {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.shot__cap span {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.5px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.shot__cap em {
    font-style: normal;
    font-family: ui-monospace, monospace;
    font-size: 12px;
    color: rgba(255,255,255,.66);
}

/* --- 致谢重设计 --- */
.credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.credit-tile {
    position: relative;
    padding: 24px 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, background .35s;
}
.credit-tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity .35s;
}
.credit-tile::after {
    content: '';
    position: absolute;
    right: -50px; top: -50px;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
.credit-tile:hover {
    transform: translateY(-4px);
    border-color: var(--border-hi);
    background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
}
.credit-tile:hover::before { opacity: 1; }
.credit-tile:hover::after { opacity: .5; }
.ct-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ct-idx { font-family: ui-monospace, monospace; font-size: 12px; color: var(--fg-3); letter-spacing: 1px; }
.ct-emoji {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .35s ease;
}
.credit-tile:hover .ct-emoji { transform: scale(1.08) rotate(-4deg); }
.ct-name { font-size: 18px; font-weight: 600; letter-spacing: -.4px; margin-bottom: 4px; }
.ct-role { font-size: 13px; color: var(--fg-2); line-height: 1.5; }
.ct-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    color: var(--accent);
    font-family: ui-monospace, monospace;
}

/* --- 页脚（纯色，无渐变）--- */
.og-footer {
    position: relative;
    margin-top: 0;
    padding: 72px 24px 40px;
    border-top: 1px solid var(--border);
    background: #08080a;
}

/* --- 返回顶部 --- */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 500;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18,18,20,.72);
    border: 1px solid var(--border-hi);
    color: var(--fg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px -10px rgba(0,0,0,.7);
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity .35s, transform .35s, background .25s, border-color .25s, color .25s;
}
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.back-to-top svg { width: 18px; height: 18px; }

/* 命令面板提示上移，避免与右下角返回顶部重叠 */
.cmdk-hint { bottom: 84px; }

/* --- 新模块响应式 --- */
@media (max-width: 980px) {
    .hero__inner { padding: 132px 28px 100px; }
    .hero__main { max-width: none; }
    .back-to-top { right: 18px; bottom: 18px; }
}
@media (max-width: 768px) {
    .hero__inner { padding: 116px 20px 92px; }
    .chapter-hero .hero-title { font-size: clamp(44px, 13vw, 82px); letter-spacing: -2px; }
    .chapter-hero .hero-tag { font-size: 15px; }
    .credits-grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
    .credit-tile { padding: 20px 18px; border-radius: 16px; }
    .ct-emoji { width: 38px; height: 38px; font-size: 19px; border-radius: 12px; }
    .ct-name { font-size: 16px; }
    .shot__cap span { font-size: 18px; }
    .shot__cap em { display: none; }
    .back-to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
    .cmdk-hint { bottom: 84px; right: 14px; }
}
@media (max-width: 480px) {
    .chapter-hero .hero-title { letter-spacing: -1.5px; }
    .hero-actions { gap: 10px; }
    .btn-hero { padding: 12px 22px; font-size: 13px; }
}

/* 矮视口（横屏 / 小笔记本）：收紧 Hero 上下留白，避免内容被顶到可视区外 */
@media (max-height: 720px) and (min-width: 769px) {
    .hero__inner { padding: 96px 40px 84px; }
    .chapter-hero .hero-title { font-size: clamp(48px, 7.4vw, 96px); letter-spacing: -3px; }
    .chapter-hero .hero-tag { margin-bottom: 26px; }
}
