/* ==================== 变量与基底 ==================== */
        :root {
            --color-bg: #070709;
            --color-surface: #121217;
            --color-surface-hover: #1a1a24;
            --color-accent: #e02580;
            --color-accent-dim: rgba(224, 37, 128, 0.15);
            --color-text-main: #fcfcfd;
            --color-text-muted: #a1a1aa;
            --color-border: rgba(255, 255, 255, 0.08);
            --font-serif: 'Playfair Display', 'Songti SC', 'Noto Serif SC', serif;
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
            --shadow-deep: 0 20px 50px rgba(0, 0, 0, 0.6);
            --shadow-glow: 0 4px 15px rgba(224, 37, 128, 0.3);
            --radius-base: 16px;
            --radius-large: 24px;
            --transition: 0.25s ease;
        }

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

        body {
            background-color: var(--color-bg);
            color: var(--color-text-main);
            font-family: var(--font-sans);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        /* ==================== 强制 Flex/Grid 规则 ==================== */
        .loom,
        .silkway,
        .flock,
        .vault,
        .seam,
        .hide-flex {
            display: flex;
            flex-wrap: wrap;
        }

        .loom > *,
        .silkway > *,
        .flock > *,
        .vault > *,
        .seam > *,
        .hide-flex > * {
            min-width: 0;
        }

        /* ==================== 文本强制规则 ==================== */
        .yarn, 
        .crown {
            word-break: break-word;
            overflow-wrap: break-word;
        }
        
        .yarn {
            word-break: keep-all;
            color: var(--color-text-muted);
            font-size: clamp(1rem, 1.2vw, 1.125rem);
        }

        .crown {
            white-space: normal;
            font-weight: 600;
            color: var(--color-text-main);
            line-height: 1.2;
        }

        /* ==================== 导航栏 (peak) ==================== */
        .peak {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(7, 7, 9, 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--color-border);
        }

        .loom {
            max-width: 1400px;
            margin: 0 auto;
            padding: 16px 5%;
            justify-content: space-between;
            align-items: center;
        }

        .crest img {
            height: 32px;
            width: auto;
            display: block;
        }

        .silkway {
            gap: 32px;
            align-items: center;
        }

        .thread {
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--color-text-muted);
            transition: var(--transition);
            position: relative;
        }

        .thread:hover,
        .thread:focus {
            color: var(--color-text-main);
        }

        .thread.active,
        .thread.active {
            color: var(--color-text-main);
        }

        .thread.active::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--color-accent);
            border-radius: 2px;
        }

        /* ==================== 布局框架 ==================== */
        main {
            display: flex;
            flex-direction: column;
            gap: 100px;
            padding-bottom: 100px;
        }

        .realm {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 5%;
            width: 100%;
        }

        /* ==================== Hero (获取区: asymmetric_grid) ==================== */
        .aura {
            padding-top: 160px;
            position: relative;
        }

        .aura::before {
            content: '';
            position: absolute;
            top: 0;
            left: 20%;
            width: 60vw;
            height: 60vh;
            background: radial-gradient(circle, var(--color-accent-dim) 0%, transparent 70%);
            opacity: 0.5;
            pointer-events: none;
            z-index: -1;
        }

        .aura-grid {
            display: grid;
            grid-template-columns: 1fr 1.1fr;
            gap: 80px;
            align-items: center;
        }

        .aura .crown {
            font-size: clamp(2.5rem, 4vw, 4rem);
            margin-bottom: 24px;
            letter-spacing: -0.02em;
        }

        .aura .yarn {
            font-size: clamp(1.125rem, 1.5vw, 1.25rem);
            margin-bottom: 48px;
            max-width: 90%;
        }

        .aura .flock {
            gap: 16px;
        }

        /* 图像不对称遮罩处理 */
        .aura-lens {
            position: relative;
            border-radius: var(--radius-large);
            padding: 1px;
            background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
            box-shadow: var(--shadow-deep);
            transform: perspective(1000px) rotateY(-5deg);
            transition: var(--transition);
        }

        .aura-lens:hover {
            transform: perspective(1000px) rotateY(0deg) translateY(-10px);
        }

        .aura-lens img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: calc(var(--radius-large) - 1px);
            border: 1px solid rgba(0,0,0,0.5);
        }

        /* ==================== UI预览区 ==================== */
        .canvas {
            text-align: center;
            position: relative;
        }

        .canvas .crown {
            font-size: clamp(2rem, 3vw, 3rem);
            margin-bottom: 16px;
        }

        .canvas .yarn {
            max-width: 600px;
            margin: 0 auto 48px;
        }

        .canvas-lens {
            border-radius: var(--radius-large);
            overflow: hidden;
            border: 1px solid var(--color-border);
            box-shadow: var(--shadow-deep);
            margin: 0 auto;
            position: relative;
        }

        .canvas-lens img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* ==================== 特性同步区 ==================== */
        .vista .crown {
            font-size: clamp(2rem, 3vw, 2.5rem);
            margin-bottom: 16px;
        }

        .vista .yarn {
            margin-bottom: 48px;
            max-width: 500px;
        }

        .vista .vault {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
        }

        .swatch {
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-base);
            padding: 40px;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .swatch:hover,
        .swatch:focus-within {
            transform: translateY(-8px);
            background: var(--color-surface-hover);
            border-color: rgba(255, 255, 255, 0.15);
            box-shadow: var(--shadow-soft);
        }

        .swatch-crown {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--color-text-main);
            margin-bottom: 8px;
        }

        .glyph {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            background: var(--color-accent-dim);
            color: var(--color-accent);
        }

        /* ==================== 安装指南区 (FAQ) ==================== */
        .atelier {
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-large);
            padding: 60px;
        }

        .atelier .crown {
            font-size: clamp(1.75rem, 2.5vw, 2.25rem);
            margin-bottom: 16px;
        }

        .atelier > .yarn {
            margin-bottom: 40px;
        }

        .atelier dl {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 32px;
        }

        .atelier dt {
            font-weight: 600;
            color: var(--color-text-main);
            font-size: 1.125rem;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--color-border);
        }

        .atelier dd {
            color: var(--color-text-muted);
            font-size: 0.95rem;
        }

        /* ==================== 组件：按钮 ==================== */
        .spark {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 16px 36px;
            background-color: var(--color-accent);
            color: #fff;
            border-radius: 100px;
            font-weight: 500;
            box-shadow: var(--shadow-glow);
            border: 1px solid rgba(255,255,255,0.1);
            transition: var(--transition);
            cursor: pointer;
        }

        .spark:hover,
        .spark:focus {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(224, 37, 128, 0.4);
            background-color: #f02d8e;
            outline: none;
        }

        .stitch {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 16px 36px;
            background-color: transparent;
            color: var(--color-text-main);
            border-radius: 100px;
            font-weight: 500;
            border: 1px solid var(--color-border);
            transition: var(--transition);
            cursor: pointer;
        }

        .stitch:hover,
        .stitch:focus {
            background-color: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.2);
            outline: none;
        }

        /* ==================== 页脚 ==================== */
        .hem {
            border-top: 1px solid var(--color-border);
            padding: 60px 0;
            margin-top: 40px;
        }

        .hem .loom {
            align-items: flex-start;
        }

        .legacy {
            font-family: var(--font-serif);
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--color-text-main);
            margin-bottom: 16px;
        }

        .seam {
            gap: 24px;
            margin-bottom: 24px;
        }

        .imprint {
            color: var(--color-text-muted);
            font-size: 0.875rem;
        }

        /* ==================== 响应式设计 ==================== */
        @media (max-width: 1024px) {
            .aura-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .aura-lens {
                max-width: 800px;
                margin: 0 auto;
                transform: none;
            }
            .aura-lens:hover {
                transform: translateY(-5px);
            }
        }

        @media (max-width: 768px) {
            main { gap: 60px; padding-bottom: 60px; }
            .silkway { display: none; /* 移动端应由JS接管菜单，暂且隐藏维持整洁 */ }
            .aura { padding-top: 120px; }
            .atelier { padding: 40px 24px; }
            .swatch { padding: 32px 24px; }
            .spark, .stitch { width: 100%; }
            .flock { flex-direction: column; }
        }

.rein-peak{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(7, 7, 9, 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

.rein-peak .rein-loom{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            height: 80px;
            max-width: 1360px;
            margin: 0 auto;
            padding: 0 24px;
            min-width: 0;
        }

.rein-peak .rein-crest{
            display: flex;
            align-items: center;
            min-width: 0;
        }

.rein-peak .rein-crest img{
            height: 32px;
            width: auto;
        }

.rein-peak .rein-silkway{
            display: flex;
            flex-wrap: wrap;
            gap: 32px;
            align-items: center;
            min-width: 0;
        }

.rein-peak .rein-thread{
            font-size: 0.9rem;
            font-weight: 500;
            color: #a1a1aa;
            position: relative;
            padding: 8px 0;
        }

.rein-peak .rein-thread:hover, .rein-peak .rein-thread.rein-active{
            color: #fcfcfd;
        }

.rein-peak .rein-thread::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #e02580;
            transition: all 0.25s ease;
        }

.rein-peak .rein-thread:hover::after, .rein-peak .rein-thread.rein-active::after{
            width: 100%;
        }

@media (max-width: 768px){.rein-peak .rein-silkway{
                display: none; 
            }}

.rein-peak {
    background: rgb(7, 7, 9);
    background-image: none;
}

.legacy-hem-zone {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-text-main);
}
.legacy-hem-zone,
.legacy-hem-zone *,
.legacy-hem-zone *::before,
.legacy-hem-zone *::after {
    box-sizing: border-box;
}

.legacy-hem-zone nav,
.legacy-hem-zone div,
.legacy-hem-zone section,
.legacy-hem-zone article,
.legacy-hem-zone aside,
.legacy-hem-zone p,
.legacy-hem-zone h1,
.legacy-hem-zone h2,
.legacy-hem-zone h3,
.legacy-hem-zone h4,
.legacy-hem-zone h5,
.legacy-hem-zone h6,
.legacy-hem-zone a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.legacy-hem-zone p,
.legacy-hem-zone h1,
.legacy-hem-zone h2,
.legacy-hem-zone h3,
.legacy-hem-zone h4,
.legacy-hem-zone h5,
.legacy-hem-zone h6 {
    text-decoration: none;
}

.legacy-hem-zone img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.legacy-hem-zone {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.legacy-hem-zone a,
.legacy-hem-zone a:hover,
.legacy-hem-zone a:focus,
.legacy-hem-zone a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.legacy-hem-zone .legacy-yarn{
            word-break: break-word;
            overflow-wrap: break-word;
            word-break: keep-all;
            color: #a1a1aa;
            line-height: 1.8;
        }

.legacy-hem-zone .legacy-realm{
            width: 100%;
            max-width: 1360px;
            margin: 0 auto;
            padding: 0 24px;
        }

.legacy-hem-zone .legacy-thread{
            font-size: 0.9rem;
            font-weight: 500;
            color: #a1a1aa;
            position: relative;
            padding: 8px 0;
        }

.legacy-hem-zone .legacy-thread:hover{
            color: #fcfcfd;
        }

.legacy-hem-zone .legacy-thread::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #e02580;
            transition: all 0.25s ease;
        }

.legacy-hem-zone .legacy-thread:hover::after{
            width: 100%;
        }

.legacy-hem-zone{
            padding: 60px 0 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            background: #050507;
        }

.legacy-hem-zone .legacy-hem-flock{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 32px;
        }

.legacy-hem-zone .legacy-legacy{
            font-family: 'Playfair Display', 'Songti SC', 'Noto Serif SC', serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: #fcfcfd;
            letter-spacing: 1px;
        }

.legacy-hem-zone .legacy-seam{
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
            font-size: 0.9rem;
            color: #a1a1aa;
        }

.legacy-hem-zone .legacy-imprint{
            width: 100%;
            text-align: center;
            margin-top: 40px;
            padding-top: 24px;
            border-top: 1px solid rgba(255,255,255,0.05);
            font-size: 0.85rem;
            color: #71717a;
        }

@media (max-width: 768px){.legacy-hem-zone .legacy-hem-flock{
                flex-direction: column;
                text-align: center;
            }

.legacy-hem-zone .legacy-seam{
                justify-content: center;
            }}