:root {
            --prime-color: #7a68eb;
            --prime-hover: #6350d8;
            --base-bg: #ffffff;
            --surface-bg: #fbfbfd;
            --text-main: #1d1d1f;
            --text-mut: #86868b;
            --radius-lg: 21px;
            --radius-md: 15px;
            --shadow-float: 0 12px 40px rgba(0, 0, 0, 0.06);
            --shadow-press: 0 4px 15px rgba(122, 104, 235, 0.3);
            --border-light: rgba(0, 0, 0, 0.04);
            --transition: all 0.15s ease;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            min-width: 0; /* Flexbox constraint */
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
            background-color: var(--base-bg);
            color: var(--text-main);
            line-height: 1.6;
            word-break: break-word;
            overflow-wrap: break-word;
            -webkit-font-smoothing: antialiased;
        }

        /* Mandatory Flex Rules */
        .flex-dial {
            display: flex;
            flex-wrap: wrap;
        }

        /* Typography */
        h1, h2, h3 {
            white-space: normal;
            font-weight: 800;
            letter-spacing: -0.02em;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        /* --- Navigation (.ink) --- */
        .ink {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-light);
        }

        .ink-shift {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            height: 64px;
            align-items: center;
            justify-content: space-between;
        }

        .stroke {
            height: 28px;
            display: flex;
            align-items: center;
        }

        .stroke img {
            height: 100%;
            width: auto;
        }

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

        .sign-letter {
            font-size: 14px;
            color: var(--text-main);
            font-weight: 500;
            opacity: 0.8;
            padding: 8px 0;
            position: relative;
        }

        .sign-letter:hover {
            opacity: 1;
            color: var(--prime-color);
        }

        .sign-letter.active {
            opacity: 1;
            color: var(--prime-color);
        }

        .sign-letter.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background: var(--prime-color);
            border-radius: 3px;
        }

        /* --- Buttons --- */
        .tap {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 16px 40px;
            font-weight: 600;
            border-radius: 30px;
            background: var(--prime-color);
            color: #ffffff;
            box-shadow: var(--shadow-press);
            cursor: pointer;
            border: none;
        }

        .tap:hover {
            background: var(--prime-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(122, 104, 235, 0.4);
        }

        .press {
            background: var(--surface-bg);
            color: var(--text-main);
            box-shadow: none;
            border: 1px solid var(--border-light);
        }

        .press:hover {
            background: var(--base-bg);
            border-color: var(--prime-color);
            color: var(--prime-color);
            box-shadow: var(--shadow-float);
        }

        /* --- Main Layout base --- */
        .board {
            width: 100%;
        }

        .shift {
            max-width: 1200px;
            margin: 0 auto;
            padding: 100px 24px;
        }

        /* --- Section 1: Hero Gallery (.prime) --- */
        .prime {
            background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
            text-align: center;
            padding-top: 80px;
            padding-bottom: 60px;
        }

        .prime-knob {
            flex-direction: column;
            align-items: center;
            gap: 24px;
            max-width: 800px;
            margin: 0 auto 60px;
        }

        .prime-voice {
            font-size: clamp(40px, 6vw, 64px);
            line-height: 1.15;
            background: linear-gradient(135deg, #1d1d1f 0%, #434345 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .prime-typo {
            font-size: clamp(18px, 2vw, 22px);
            color: var(--text-mut);
            word-break: keep-all;
        }

        .keys-knob {
            justify-content: center;
            gap: 16px;
            margin-bottom: 16px;
        }

        .keys-trait {
            align-items: center;
            background: var(--base-bg);
            padding: 8px 16px;
            border-radius: 20px;
            border: 1px solid var(--border-light);
            font-size: 14px;
            color: var(--text-main);
            box-shadow: 0 2px 8px rgba(0,0,0,0.02);
            transition: var(--transition);
        }

        .keys-trait:hover {
            border-color: var(--prime-color);
            color: var(--prime-color);
            transform: translateY(-2px);
        }

        .tone {
            width: 16px;
            height: 16px;
            margin-right: 8px;
            fill: currentColor;
        }

        .skin-shift {
            width: 100%;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-float);
            position: relative;
            background: var(--surface-bg);
        }

        .skin-chord {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
            transition: var(--transition);
        }

        .skin-shift:hover .skin-chord {
            transform: scale(1.02);
        }

        /* --- Section 2: Motion Showcase (.pool) --- */
        .pool {
            background-color: #111113;
            color: #ffffff;
            border-radius: var(--radius-lg);
            margin-top: 40px;
            margin-bottom: 40px;
            align-items: center;
            gap: 60px;
            overflow: hidden;
            position: relative;
        }

        .pool::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 80%;
            height: 150%;
            background: radial-gradient(circle, rgba(122, 104, 235, 0.15) 0%, transparent 70%);
            z-index: 0;
            pointer-events: none;
        }

        .pool-knob {
            flex: 1;
            min-width: 300px;
            z-index: 1;
        }

        .pool-voice {
            font-size: clamp(32px, 4vw, 48px);
            margin-bottom: 24px;
            color: #ffffff;
        }

        .pool-typo {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 32px;
        }

        .glyph-knob {
            flex: 1.2;
            min-width: 300px;
            gap: 20px;
            z-index: 1;
        }

        .glyph-trait {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-md);
            padding: 24px;
            width: calc(50% - 10px);
            backdrop-filter: blur(10px);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .glyph-trait:nth-child(3) {
            width: 100%;
        }

        .glyph-trait:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(122, 104, 235, 0.5);
            transform: translateY(-4px);
        }

        .glyph-tone {
            width: 48px;
            height: 48px;
            margin-bottom: 16px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(122, 104, 235, 0.2) 0%, rgba(122, 104, 235, 0.05) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--prime-color);
            position: relative;
        }

        .glyph-tone svg {
            width: 24px;
            height: 24px;
            fill: currentColor;
            z-index: 2;
        }

        /* SVG Animation */
        @keyframes pulse-ring {
            0% { transform: scale(0.8); opacity: 0.5; }
            100% { transform: scale(1.5); opacity: 0; }
        }
        .glyph-trait:hover .glyph-tone::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            border: 2px solid var(--prime-color);
            animation: pulse-ring 1s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
        }

        .glyph-voice {
            font-size: 18px;
            color: #ffffff;
            margin: 0;
        }


        /* --- Section 3: Category Grid (.dict) --- */
        .dict {
            background: var(--base-bg);
        }

        .dict-ink {
            text-align: center;
            margin-bottom: 60px;
        }

        .dict-voice {
            font-size: clamp(32px, 4vw, 42px);
            margin-bottom: 16px;
        }

        .dict-typo {
            font-size: 18px;
            color: var(--text-mut);
            max-width: 600px;
            margin: 0 auto;
        }

        .cand-knob {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 24px;
        }

        .cand-trait {
            background: var(--surface-bg);
            border-radius: var(--radius-lg);
            padding: 40px 30px;
            text-align: center;
            border: 1px solid var(--border-light);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .cand-trait:hover {
            box-shadow: var(--shadow-float);
            transform: translateY(-5px);
            background: var(--base-bg);
            border-color: rgba(122, 104, 235, 0.2);
        }

        .cand-tone {
            width: 80px;
            height: 80px;
            margin-bottom: 24px;
            position: relative;
        }

        .cand-tone svg {
            width: 100%;
            height: 100%;
        }

        .cand-voice {
            font-size: 20px;
            color: var(--text-main);
        }

        /* --- Section 4: Creator Tool (.spell) --- */
        .spell-shift {
            background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
            border-top: 1px solid var(--border-light);
            align-items: center;
            gap: 60px;
        }

        .spell-chord {
            flex: 1;
            min-width: 300px;
            height: auto;
            max-width: 500px;
            filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
        }

        .spell-knob {
            flex: 1;
            min-width: 300px;
        }

        .spell-voice {
            font-size: clamp(32px, 4vw, 42px);
            margin-bottom: 24px;
        }

        .spell-typo {
            font-size: 18px;
            color: var(--text-mut);
            margin-bottom: 32px;
        }

        .pinyin-knob {
            flex-direction: column;
            gap: 16px;
            margin-bottom: 40px;
            list-style: none;
        }

        .pinyin-trait {
            display: flex;
            align-items: center;
            font-size: 16px;
            color: var(--text-main);
            font-weight: 500;
        }

        .pinyin-trait::before {
            content: '';
            display: inline-block;
            width: 24px;
            height: 24px;
            margin-right: 12px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237a68eb'%3E%3Cpath d='M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11.0026 16L18.0737 8.92893L16.6595 7.51472L11.0026 13.1716L8.17421 10.3431L6.76 11.7574L11.0026 16Z'/%3E%3C/svg%3E");
            background-size: contain;
        }

        /* --- Footer (.char) --- */
        .char {
            background: #f5f5f7;
            padding: 60px 24px 40px;
            border-top: 1px solid var(--border-light);
        }

        .char-shift {
            max-width: 1200px;
            margin: 0 auto;
            justify-content: space-between;
            align-items: flex-start;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

        .space-knob {
            max-width: 300px;
        }

        .space-voice {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-main);
            display: block;
            margin-bottom: 12px;
        }

        .space-typo {
            color: var(--text-mut);
            font-size: 14px;
        }

        .base-knob {
            gap: 32px;
        }

        .base-letter {
            font-size: 14px;
            color: var(--text-mut);
            font-weight: 500;
        }

        .base-letter:hover {
            color: var(--prime-color);
        }

        .roots-shift {
            max-width: 1200px;
            margin: 0 auto;
            padding-top: 24px;
            text-align: center;
        }

        .roots-typo {
            font-size: 12px;
            color: #a1a1a6;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .sign { display: none; } /* Simplified for mobile, assuming external nav toggle in real app */
            .glyph-trait { width: 100%; }
            .pool { flex-direction: column; padding: 40px 24px; border-radius: 0; }
            .spell-shift { flex-direction: column-reverse; text-align: center; }
            .pinyin-trait { justify-content: center; }
            .char-shift { flex-direction: column; }
        }

.cand-ink {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--typo-main);
}
.cand-ink,
.cand-ink *,
.cand-ink *::before,
.cand-ink *::after {
    box-sizing: border-box;
}

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

.cand-ink p,
.cand-ink h1,
.cand-ink h2,
.cand-ink h3,
.cand-ink h4,
.cand-ink h5,
.cand-ink h6 {
    text-decoration: none;
}

.cand-ink img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.cand-ink {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.cand-ink a.cand-sign-letter {
    --aisite-shell-nav-padding: 8px 16px;
    --aisite-shell-nav-margin: 0;
    --aisite-shell-nav-line-height: normal;
    --aisite-shell-nav-display: inline;
    --aisite-shell-nav-height: auto;
    --aisite-shell-nav-min-height: auto;
}

.cand-ink a.cand-sign-letter,
.cand-ink a.cand-sign-letter:hover,
.cand-ink a.cand-sign-letter:focus,
.cand-ink a.cand-sign-letter:active,
.cand-ink a.cand-sign-letter.active,
.cand-ink a.cand-sign-letter[aria-current="page"] {
    background: transparent;
    border: none;
    border-bottom: none;
    box-shadow: none;
    outline: none;
    text-decoration: none;
    padding: var(--aisite-shell-nav-padding, 0);
    margin: var(--aisite-shell-nav-margin, 0);
    line-height: var(--aisite-shell-nav-line-height, normal);
    display: var(--aisite-shell-nav-display, inline);
    height: var(--aisite-shell-nav-height, auto);
    min-height: var(--aisite-shell-nav-min-height, auto);
}

.cand-ink .cand-flex-dial{
            display: flex;
            flex-wrap: wrap;
        }

.cand-ink .cand-flex-dial > *{
            min-width: 0;
        }

.cand-ink{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

.cand-ink .cand-ink-shift{
            max-width: 1400px;
            margin: 0 auto;
            padding: 16px 24px;
            align-items: center;
            justify-content: space-between;
        }

.cand-ink .cand-stroke{
            width: 140px;
            flex-shrink: 0;
        }

.cand-ink .cand-sign{
            gap: 8px;
            align-items: center;
        }

.cand-ink .cand-sign-letter{
            padding: 8px 16px;
            font-size: 15px;
            font-weight: 500;
            color: #1d1d1f;
            border-radius: 20px;
            transition: background 0.15s ease, color 0.15s ease;
        }

.cand-ink .cand-sign-letter:hover{
            background: rgba(122, 104, 235, 0.1);
            color: #7a68eb;
        }

.cand-ink .cand-sign-letter.active{
            color: #7a68eb;
            font-weight: 600;
        }

@media (max-width: 768px){.cand-ink .cand-sign{
                display: none; 
            }}

.cand-ink {
    background: rgb(255, 255, 255);
    background-image: none;
}

.space-char {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--typo-main);
}
.space-char,
.space-char *,
.space-char *::before,
.space-char *::after {
    box-sizing: border-box;
}

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

.space-char p,
.space-char h1,
.space-char h2,
.space-char h3,
.space-char h4,
.space-char h5,
.space-char h6 {
    text-decoration: none;
}

.space-char img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.space-char {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.space-char a,
.space-char a:hover,
.space-char a:focus,
.space-char a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.space-char{
            background: #f5f5f7;
            padding: 80px 24px 40px;
            color: #86868b;
            font-size: 14px;
        }

.space-char .space-char-shift{
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 60px;
        }

.space-char .space-char-knob{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            padding-bottom: 60px;
        }

.space-char .space-char-base{
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

.space-char .space-char-voice{
            color: #1d1d1f;
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 8px;
        }

.space-char .space-char-letter:hover{
            color: #7a68eb;
        }

.space-char .space-char-roots{
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

.space-char .space-char-brand{
            font-size: 20px;
            font-weight: 700;
            color: #1d1d1f;
            letter-spacing: 1px;
        }