/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    --color-primary: #e23c87;
    --color-primary-light: #ff6eb1;
    --color-primary-dim: rgba(226, 60, 135, 0.08);
    --color-primary-glow: rgba(226, 60, 135, 0.25);
    --color-dark: #1f1a1c;
    --color-text: #3d3538;
    --color-text-muted: #756a6f;
    --color-bg: #fffcfd;
    --color-surface: #ffffff;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --shadow-sm: 0 8px 24px rgba(226, 60, 135, 0.06);
    --shadow-md: 0 16px 40px rgba(226, 60, 135, 0.08);
    --shadow-lg: 0 24px 48px rgba(226, 60, 135, 0.12);
    --transition: all 0.35s ease;
    --font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

/* ==========================================================================
   Global Utilities & Layout Constraints (Flex/Text Rules)
   ========================================================================== */
.track, .band, .board, .pack, 
.zone, .cloud, .lex, .tray, .pad {
    display: flex;
    flex-wrap: wrap;
}

.track > *, .band > *, .board > *, .pack > *, 
.zone > *, .cloud > *, .lex > *, .tray > *, .pad > * {
    min-width: 0;
}

.spell, .font, .char, p, h1, h2, h3, span {
    word-break: break-word;
    overflow-wrap: break-word;
    word-break: keep-all; /* For Chinese optimization */
}

/* ==========================================================================
   Header & Navigation (Forced Reuse)
   ========================================================================== */
.crown {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 252, 253, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 60, 135, 0.05);
    z-index: 1000;
}

.crown .track {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    justify-content: space-between;
    align-items: center;
}

.glyph {
    display: flex;
    align-items: center;
}

.glyph img {
    height: 32px;
    width: auto;
}

.band {
    gap: 2rem;
    align-items: center;
}

.mark {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

/* ==========================================================================
   Main Content Layouts
   ========================================================================== */
.shell {
    width: 100%;
    overflow: hidden;
}

/* Base Block Padding & Centering */
.board, .zone, .cloud {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

/* 1. Hero Gallery (Section) */
.board {
    padding-top: 8rem;
    padding-bottom: 8rem;
    background: radial-gradient(circle at right top, #fff5f8 0%, #fffcfd 60%);
    align-items: center;
}

.board .tray {
    flex: 1 1 500px;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.spell.hero-spell {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.15;
    letter-spacing: -0.03em;
    white-space: normal;
}

.spell.hero-spell .highlight {
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.font.hero-font {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 480px;
}

.tap {
    padding: 1.1rem 2.8rem;
    background: var(--color-primary);
    color: var(--color-surface);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 24px var(--color-primary-glow);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    transform: translateY(0);
}

.tap:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--color-primary-glow);
    color: var(--color-surface);
}

.board .skin {
    flex: 1 1 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* SVG Motion Carrier in Hero */
.motion-pad {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 60, 135, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.motion-pad::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--color-primary-dim), transparent 30%);
    animation: rotate 10s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.motion-svg {
    position: relative;
    z-index: 2;
    width: 80%;
    height: auto;
}

.motion-key {
    transform-origin: center;
    transition: var(--transition);
}

.motion-svg:hover .motion-key:nth-child(even) {
    transform: scale(0.95) translateY(2px);
    fill: var(--color-primary-light);
}

.motion-svg:hover .motion-key:nth-child(odd) {
    transform: scale(0.95) translateY(2px);
    fill: var(--color-primary);
}

/* 2. Grid Display (Aside) */
.zone {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-top: -2rem;
    position: relative;
    z-index: 10;
    flex-direction: column;
}

.zone-crown {
    width: 100%;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.spell.section-spell {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-dark);
}

.font.section-font {
    color: var(--color-text-muted);
    max-width: 600px;
    text-align: center;
}

.pack.grid-pack {
    width: 100%;
    gap: 2rem;
    justify-content: center;
}

.lex.grid-lex {
    flex: 1 1 calc(33.333% - 2rem);
    min-width: 280px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    flex-direction: column;
    gap: 1.5rem;
    border: 1px solid rgba(226, 60, 135, 0.04);
    transition: var(--transition);
    transform: translateY(0);
}

.lex.grid-lex:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    background: var(--color-surface);
}

.stroke-pad {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    background: var(--color-primary-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.lex.grid-lex:hover .stroke-pad {
    background: var(--color-primary);
    color: var(--color-surface);
}

.lex-spell {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
}

.lex-font {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Dedicated Image block in Aside */
.pack.media-pack {
    width: 100%;
    margin-top: 3rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.seq {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* 3. Interactive Feature (Article) */
.cloud {
    background: radial-gradient(circle at left bottom, #fff5f8 0%, #fffcfd 50%);
    align-items: center;
}

.cloud .tray {
    flex: 1 1 45%;
    flex-direction: column;
    gap: 2rem;
}

.cloud .pad {
    flex: 1 1 45%;
    flex-direction: column;
    gap: 1.5rem;
}

.lex.feature-lex {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 60, 135, 0.04);
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
}

.lex.feature-lex:hover {
    border-color: var(--color-primary-glow);
    box-shadow: var(--shadow-md);
}

.lex.feature-lex .stroke-pad {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: transparent;
    border: 2px solid var(--color-primary-dim);
}

.lex.feature-lex:hover .stroke-pad {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-dim);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.sole {
    background: var(--color-surface);
    border-top: 1px solid rgba(226, 60, 135, 0.05);
    padding: 4rem 2rem 2rem;
}

.sole .track {
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: column;
    gap: 3rem;
}

.dock {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(226, 60, 135, 0.05);
    padding-bottom: 2rem;
}

.dock-spell {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
}

.space {
    gap: 2rem;
}

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

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

.sole-font {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    width: 100%;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .board, .zone, .cloud {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .crown .track {
        flex-direction: column;
        gap: 1rem;
    }
    
    .band {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .board .tray, .board .skin {
        flex: 1 1 100%;
    }
    
    .cloud .tray, .cloud .pad {
        flex: 1 1 100%;
    }

    .lex.grid-lex {
        flex: 1 1 100%;
    }
    
    .dock {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
}

.cand-crown {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    word-break: break-word;
    color: var(--color-text);
}
.cand-crown,
.cand-crown *,
.cand-crown *::before,
.cand-crown *::after {
    box-sizing: border-box;
}

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

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

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

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

.cand-crown a.cand-mark {
    --aisite-shell-nav-padding: 0.5rem 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;
}

.cand-crown a.cand-mark,
.cand-crown a.cand-mark:hover,
.cand-crown a.cand-mark:focus,
.cand-crown a.cand-mark:active,
.cand-crown a.cand-mark.active,
.cand-crown a.cand-mark[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-crown{
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(226, 60, 135, 0.06);
            padding: 0.75rem 0;
        }

.cand-crown .cand-track{
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2.5rem;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            min-width: 0;
        }

.cand-crown .cand-glyph{
            height: 38px;
            display: flex;
            align-items: center;
            min-width: 0;
        }

.cand-crown .cand-glyph img{
            height: 100%;
            width: auto;
            display: block;
        }

.cand-crown .cand-band{
            display: flex;
            flex-wrap: wrap;
            gap: 2.5rem;
            align-items: center;
            min-width: 0;
        }

.cand-crown .cand-mark{
            text-decoration: none;
            color: #756a6f;
            font-weight: 600;
            font-size: 1.05rem;
            transition: 0.35s ease;
            position: relative;
            padding: 0.5rem 0;
            white-space: nowrap;
        }

.cand-crown .cand-mark:hover, .cand-crown .cand-mark.active{
            color: #e23c87;
        }

.cand-crown .cand-mark.active::after{
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background: #e23c87;
            border-radius: 4px;
        }

@media (max-width: 768px){.cand-crown .cand-track{
                padding: 1rem;
                justify-content: center;
                gap: 1rem;
            }

.cand-crown .cand-band{
                justify-content: center;
                gap: 1.2rem;
            }}

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

.space-sole {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    word-break: break-word;
    color: var(--color-text);
}
.space-sole,
.space-sole *,
.space-sole *::before,
.space-sole *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.space-sole .space-pack{
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
        }

.space-sole .space-band{
            display: flex;
            flex-wrap: wrap;
            gap: 2.5rem;
            align-items: center;
            min-width: 0;
        }

.space-sole{
            background: #191416;
            color: #ffffff;
            padding: 6rem 2.5rem 3rem;
        }

.space-sole .space-space{
            max-width: 1320px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            gap: 4rem;
            justify-content: space-between;
            min-width: 0;
        }

.space-sole .space-zone{
            flex: 2;
            min-width: 300px;
        }

.space-sole .space-pack{
            flex: 1;
            min-width: 180px;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

.space-sole .space-spell{
            font-size: 1.8rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 1.5rem;
            white-space: normal;
        }

.space-sole .space-font{
            color: rgba(255, 255, 255, 0.5);
            font-size: 1rem;
            line-height: 1.8;
            max-width: 350px;
        }

.space-sole .space-char{
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: 0.35s ease;
            font-size: 1.05rem;
            display: inline-block;
        }

.space-sole .space-char:hover{
            color: #ff6eb1;
            transform: translateX(4px);
        }

.space-sole .space-space-bottom{
            width: 100%;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 4rem;
            padding-top: 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }

@media (max-width: 768px){.space-sole .space-band{
                justify-content: center;
                gap: 1.2rem;
            }

.space-sole{
                padding: 4rem 1.5rem 2rem;
            }}