:root {
    --primary: #6082da;
    --primary-dark: #4a69b5;
    --primary-light: #e6ebf8;
    --bg-main: #fcfcfd;
    --bg-alt: #f2f4f8;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --surface: #ffffff;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
    --transition: all 0.15s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* 强制：容器基础规则 */
.board, .shell, .batch {
    word-break: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, p {
    margin-top: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

p {
    word-break: keep-all;
}

/* ==================== 导航栏严格复用 ==================== */
.apex {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(252, 252, 253, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.apex .shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 5vw;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.apex .paw, .apex .vowel {
    min-width: 0;
}

.apex .paw img {
    height: 32px;
    width: auto;
}

.apex .vowel {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.apex .tie {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.apex .tie:hover {
    color: var(--primary);
}

.apex .tie.active {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .apex .vowel {
        display: none; /* 移动端简易处理，真实场景可能需展开菜单 */
    }
}

/* ==================== 页面核心布局 ==================== */
.board {
    display: block;
    width: 100%;
}

/* 1. 细胞词库，行业专属打字利器 (Hero Intro) */
.cloud {
    padding: 12vh 5vw 10vh;
    background: radial-gradient(circle at 50% 0%, var(--primary-light) 0%, var(--bg-main) 70%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
}

.cloud .shell {
    max-width: 860px;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
}

.cloud .topic {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.cloud .char {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 680px;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.cloud .batch {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.cloud .glyph {
    min-width: 0;
    flex: 1 1 280px;
    max-width: 340px;
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    border: 1px solid rgba(96, 130, 218, 0.1);
    transition: var(--transition);
}

.cloud .glyph:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cloud .mark {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cloud .glyph-topic {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.cloud .glyph-char {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* 2. 智能补全，专业表达更自如 (Comparison Section) */
.realm {
    padding: 8rem 5vw;
    background: var(--surface);
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.02);
    position: relative;
    z-index: 2;
}

.realm .shell {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.realm .flow {
    flex: 1 1 400px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.realm .view {
    flex: 1 1 500px;
    min-width: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

.realm .topic {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.realm .char {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.realm .batch {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.realm .stroke {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    min-width: 0;
}

.realm .stroke .mark {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.realm .stroke-topic {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.realm .stroke-char {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* 3. 轻松获取与词库导入 (Steps Article) */
.phrase {
    padding: 8rem 5vw;
    background: var(--bg-alt);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
}

.phrase .shell {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
}

.phrase .topic {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.phrase .char {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 600px;
}

.phrase .batch {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.phrase .cand {
    background: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    min-width: 0;
}

.phrase .cand:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.phrase .cand-mark {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.phrase .cand-topic {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.phrase .cand-char {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.phrase .tap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background: var(--bg-alt);
    color: var(--primary);
    font-weight: 600;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    align-self: flex-start;
}

.phrase .tap:hover {
    background: var(--primary);
    color: var(--surface);
}

/* ==================== 底部信息区域 ==================== */
.tail {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 5vw 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
}

.tail .shell {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.tail .flow {
    flex: 1 1 250px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-wrap: wrap;
}

.tail .topic {
    color: var(--surface);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tail .tie {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.tail .tie:hover {
    color: var(--surface);
}

.tail .space {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    min-width: 0;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .realm .shell {
        flex-direction: column;
    }
    .realm .view {
        order: -1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .cloud {
        padding: 10vh 5vw 8vh;
    }
    .realm {
        padding: 5rem 5vw;
        border-radius: 24px 24px 0 0;
    }
    .phrase {
        padding: 5rem 5vw;
    }
    .phrase .batch {
        grid-template-columns: 1fr;
    }
}

.spell-apex {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}
.spell-apex,
.spell-apex *,
.spell-apex *::before,
.spell-apex *::after {
    box-sizing: border-box;
}

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

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

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

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

.spell-apex a.spell-tie {
    --aisite-shell-nav-padding: 0;
    --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;
}

.spell-apex a.spell-tie,
.spell-apex a.spell-tie:hover,
.spell-apex a.spell-tie:focus,
.spell-apex a.spell-tie:active,
.spell-apex a.spell-tie.active,
.spell-apex a.spell-tie[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);
}

.spell-apex .spell-shell{
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 5vw;
        }

.spell-apex{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(252, 252, 253, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(0,0,0,0.05);
            padding: 1rem 0;
        }

.spell-apex .spell-shell{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            min-width: 0;
        }

.spell-apex .spell-paw{
            display: flex;
            align-items: center;
            min-width: 0;
            height: 36px;
        }

.spell-apex .spell-paw img{
            height: 100%;
            width: auto;
            display: block;
        }

.spell-apex .spell-vowel{
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: center;
            min-width: 0;
        }

.spell-apex .spell-tie{
            text-decoration: none;
            color: #475569;
            font-weight: 500;
            font-size: 1rem;
            transition: all 0.15s ease;
            position: relative;
        }

.spell-apex .spell-tie:hover, .spell-apex .spell-tie.active{
            color: #6082da;
        }

.spell-apex .spell-tie.active::after{
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 100%;
            height: 2px;
            background: #6082da;
            border-radius: 2px;
        }

@media (max-width: 768px){.spell-apex .spell-vowel{ display: none;  }}

.spell-apex {
    background: rgb(252, 252, 253);
    background-image: none;
}

.space-tail {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}
.space-tail,
.space-tail *,
.space-tail *::before,
.space-tail *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.space-tail .space-shell{
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 5vw;
        }

.space-tail .space-topic{
            word-break: break-word;
            overflow-wrap: break-word;
            white-space: normal;
            font-weight: 800;
            letter-spacing: -0.03em;
            color: #0f172a;
        }

.space-tail{
            background: #0f172a;
            color: #94a3b8;
            padding: 6rem 0 3rem;
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
        }

.space-tail .space-tail-shell{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 4rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 4rem;
            margin-bottom: 2rem;
            min-width: 0;
        }

.space-tail .space-tail-space{
            flex: 1;
            min-width: 280px;
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
        }

.space-tail .space-tail-topic{
            color: #fff;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            letter-spacing: -0.02em;
        }

.space-tail .space-tail-flow{
            display: flex;
            flex-wrap: wrap;
            gap: 3rem;
            min-width: 0;
        }

.space-tail .space-tail-batch{
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            gap: 1rem;
            min-width: 120px;
        }

.space-tail .space-tail-batch .space-topic{
            color: #fff;
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }

.space-tail .space-tail-tie{
            color: #94a3b8;
            text-decoration: none;
            transition: all 0.15s ease;
        }

.space-tail .space-tail-tie:hover{
            color: #e6ebf8;
        }

.space-tail .space-trail{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            font-size: 0.875rem;
            min-width: 0;
        }

@media (max-width: 768px){.space-tail .space-tail-shell{ flex-direction: column; }}