* {
            font-family: 'Comic Sans MS', 'Segoe UI', sans-serif;
        }

        body {
            /*background-color: #f9f7fe;*/
            color: #4A5568;
        }

        .card {
            background-color: white;
            border-radius: 20px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
            border: 3px solid white;
        }

        .btn {
            border-radius: 15px;
            padding: 10px 20px;
            font-weight: bold;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background-color: #FFB6C1;
            color: white;
        }

        .btn-primary:hover {
            background-color: #ff9aad;
            transform: scale(1.05);
        }

        .btn-secondary {
            background-color: #A6E3E9;
            color: white;
        }

        .vowel {
            color: #E53E3E;
            font-weight: bold;
        }

        .syllable {
            color: #4299E1;
            font-weight: bold;
        }

        .phonetic {
            font-family: 'Arial', sans-serif;
        }

        .word-image {
            border-radius: 15px;
            width: 100%;
            height: 220px;
            object-fit: cover;
            border: 4px solid white;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .fade-in {
            animation: fadeIn 0.5s ease-in;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .input-field {
            border-radius: 15px;
            padding: 12px 15px;
            border: 2px solid #E2E8F0;
            width: 100%;
            transition: all 0.3s ease;
        }

        .input-field:focus {
            border-color: #FFB6C1;
            outline: none;
            box-shadow: 0 0 0 3px rgba(255, 182, 193, 0.2);
        }

        .tab-button {
            border-radius: 15px;
            padding: 10px 20px;
            border: none;
            background-color: #f1f5f9;
            color: #64748b;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .tab-button.active {
            background-color: #FFB6C1;
            color: white;
        }

        .tab-button:hover:not(.active) {
            background-color: #f8fafc;
        }

        .example-sentence {
            background-color: #f8fafc;
            border-left: 4px solid #A6E3E9;
            padding: 12px 15px;
            border-radius: 0 10px 10px 0;
            margin: 10px 0;
        }

        .memory-tip {
            background-color: #f0f9ff;
            border-radius: 10px;
            padding: 12px 15px;
            margin: 10px 0;
        }

        .memory-tip h4 {
            color: #1e40af;
        }

        .sound-arrow {
            position: relative;
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            margin: 0 5px;
        }

        .sound-arrow .arrow-line {
            width: 2px;
            height: 20px;
            background-color: #666;
            margin: 2px 0;
        }

        .sound-arrow .arrow-head {
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 8px solid #666;
        }

        .letter-a-red {
            color: #E53E3E;
            font-weight: bold;
        }

        .sound-schwa-red {
            color: #E53E3E;
            font-weight: bold;
        }

        .sound-breakdown {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            margin-top: 10px;
        }

        .sound-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-right: 10px;
        }

        .sound-item .letter {
            font-size: 1.5rem;
            font-weight: bold;
        }

        .sound-item .sound {
            font-family: 'Arial', sans-serif;
            font-size: 0.9rem;
            margin-top: 5px;
        }

        .leitner-ring {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: white;
            font-size: 1.2rem;
        }

        .ring-1 { background-color: #FFB6C1; }
        .ring-2 { background-color: #A6E3E9; }
        .ring-3 { background-color: #C7CEEA; }
        .ring-4 { background-color: #B5EAD7; }
        .ring-5 { background-color: #FFDAC1; }

        .forgetting-curve {
            width: 100%;
            height: 200px;
            position: relative;
            margin: 20px 0;
        }

        .timeline {
            position: relative;
            padding-left: 30px;
            margin: 20px 0;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 10px;
            top: 0;
            bottom: 0;
            width: 2px;
            background-color: #A6E3E9;
        }

        .timeline-item {
            position: relative;
            margin-bottom: 20px;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -20px;
            top: 5px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #FFB6C1;
        }

        .timeline-content {
            background-color: #f8fafc;
            padding: 15px;
            border-radius: 10px;
            border-left: 4px solid #A6E3E9;
        }

        /* AIGC 新增样式 */
        .ai-partner {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(135deg, #FFB6C1, #A6E3E9);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            box-shadow: 0 4px 15px rgba(255, 182, 193, 0.4);
        }

        .emotion-bubble {
            background: white;
            border-radius: 15px;
            padding: 12px 15px;
            position: relative;
            max-width: 250px;
            margin: 10px auto;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .emotion-bubble::before {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid white;
        }

        .story-card {
            border-radius: 15px;
            background: linear-gradient(to right, #fdf4ff, #f0f9ff);
            padding: 15px;
            margin: 10px 0;
            border-left: 4px solid #FFB6C1;
        }

        .focus-mode {
            background: #fff !important;
            box-shadow: none !important;
        }

        .radar-chart {
            width: 200px;
            height: 200px;
            margin: 0 auto;
            position: relative;
        }

        .privacy-badge {
            background: #ECFDF5;
            color: #065F46;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: bold;
        }
        /* 单词拆分-音标箭头连接样式 */
.syllable-arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 10px 0;
}

.syllable-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.syllable-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.syllable-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4299E1;
    background: #EBF4FF;
    padding: 4px 14px;
    border-radius: 10px;
    border: 2px solid #90CDF4;
}

.syllable-arrow {
    font-size: 1.4rem;
    color: #A0AEC0;
    line-height: 1.2;
}

.syllable-phonetic {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    color: #E53E3E;
    background: #FFF5F5;
    padding: 2px 12px;
    border-radius: 8px;
    border: 1px solid #FEB2B2;
}

.vowel-hint-box {
    background: #FFFFF0;
    border: 2px solid #F6E05E;
    border-radius: 12px;
    padding: 10px 16px;
    margin-top: 12px;
    font-size: 0.95rem;
    color: #744210;
    text-align: center;
}
#abilityRadar {
    width: 100%;
    height: auto;
    max-width: 280px;
    display: block;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
/* 例句在顶部的样式 */
#learn-examples .example-sentence {
    background-color: #f8fafc;
    border-left: 4px solid #A6E3E9;
    padding: 10px 14px;
    border-radius: 0 10px 10px 0;
    margin: 6px 0;
}

#learn-examples .example-sentence p:last-child {
    color: #94a3b8;
    font-size: 13px;
}
/* 图片容器优化 */
#learn-image {
    width: 100%;
    height: 200px;
    object-fit: contain;  /* ✅ 改为 contain 显示完整图片 */
    background-color: #f8fafc;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

/* ✅ 或者使用 object-fit: cover 但配合 object-position: center */
#learn-image.cover {
    object-fit: cover;
    object-position: center;
}

/* ✅ 图片加载动画 */
#learn-image.loading {
    opacity: 0.5;
    filter: blur(4px);
}

#learn-image.loaded {
    opacity: 1;
    filter: blur(0);
    transition: opacity 0.5s ease, filter 0.5s ease;
}
/* 加载提示动画 */
#global-loader:not(.hidden) {
    animation: fadeInLoader 0.3s ease-out;
}

@keyframes fadeInLoader {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#global-loader .bg-white {
    animation: slideUpLoader 0.4s ease-out;
}

@keyframes slideUpLoader {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 进度条动画 */
#loader-progress {
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
/* 搜索输入框错误状态动画 */
#search-input.error {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

/* 搜索提示淡入淡出 */
#search-hint {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#search-hint.error {
    color: #ef4444;
}

#search-hint.info {
    color: #6b7280;
}


/* ---- 图标主体 ---- */
.app-icon {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.app-icon:hover {
    transform: scale(1.05) rotate(-3deg);
}

/* 魔法书 */
.icon-book {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #4f46e5, #7c3aed);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 15px rgba(79, 70, 229, 0.35),
        inset 0 -2px 0 rgba(0,0,0,0.1);
    overflow: hidden;
}

/* 书的装饰线 */
.icon-book::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 6px;
    right: 6px;
    bottom: 4px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

/* 书脊 */
.icon-book::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

/* 书页上的字母 */
.book-pages {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 3px;
    margin-top: 2px;
}

.book-pages span {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

.book-pages span:nth-child(1) { color: #fcd34d; }
.book-pages span:nth-child(2) { color: #6ee7b7; }
.book-pages span:nth-child(3) { color: #93c5fd; }

/* 书本上的小星星 */
.book-sparkle {
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 10px;
    animation: sparkleFloat 2s ease-in-out infinite;
}

/* ---- 环绕的魔法星星 ---- */
.magic-stars {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    pointer-events: none;
}

.star {
    position: absolute;
    font-size: 12px;
    opacity: 0;
    animation: starOrbit 3s ease-in-out infinite;
}

.star-1 {
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}
.star-2 {
    top: 50%;
    right: -4px;
    transform: translateY(-50%);
    animation-delay: 0.6s;
}
.star-3 {
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1.2s;
}
.star-4 {
    top: 50%;
    left: -4px;
    transform: translateY(-50%);
    animation-delay: 1.8s;
}
.star-5 {
    top: 15%;
    right: 15%;
    animation-delay: 0.3s;
}

@keyframes starOrbit {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }
    30% {
        opacity: 1;
        transform: scale(1.2) rotate(20deg);
    }
    60% {
        opacity: 1;
        transform: scale(1) rotate(-10deg);
    }
    80% {
        opacity: 0.8;
        transform: scale(0.9) rotate(10deg);
    }
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-4px) rotate(30deg);
        opacity: 1;
    }
}

/* ---- 标题文字 ---- */
.home-title h1 {
    font-family: 'Comic Sans MS', 'Chalkboard SE', cursive, sans-serif;
    background: linear-gradient(135deg, #4f46e5, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.home-title p {
    color: #9ca3af;
    font-size: 11px;
    letter-spacing: 1px;
}

/* ---- 点击效果 ---- */
.app-icon:active .icon-book {
    animation: iconPress 0.2s ease;
}

@keyframes iconPress {
    0% { transform: scale(1); }
    50% { transform: scale(0.92); }
    100% { transform: scale(1); }
}
/* ===== 卡片式头部 ===== */
.home-hero-card {
    background: linear-gradient(135deg, #f8faff 0%, #ede9fe 100%);
    border-radius: 24px;
    padding: 20px 20px 0 20px;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 12px rgba(79, 70, 229, 0.06);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 12px;
}

.hero-text h1 {
    font-family: 'Comic Sans MS', 'Chalkboard SE', cursive, sans-serif;
    background: linear-gradient(135deg, #4f46e5, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 20px;
    font-weight: 800;
}

.hero-text p {
    color: #94a3b8;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.hero-badge {
    display: inline-block;
    margin-top: 4px;
    background: white;
    color: #4f46e5;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.08);
}

.hero-wave {
    margin-top: 4px;
    margin-bottom: -2px;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 20px;
}
/* ============================================================
   全局背景设计 - 紫色梦幻主题
   贴合 Magic Word Land 品牌色
   ============================================================ */

/* ----- 1. 主体背景 - 紫色柔和渐变 ----- */
body {
    background: linear-gradient(
        175deg,
        #f5f0ff 0%,      /* 最淡紫白 */
        #ede6ff 25%,     /* 淡紫 */
        #f8f4ff 50%,     /* 中间柔和紫 */
        #f0ebff 75%,     /* 薰衣草紫 */
        #faf5ff 100%     /* 淡紫粉 */
    );
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* ----- 2. 紫色光晕装饰（大范围柔光） ----- */
body::before {
    content: '';
    position: fixed;
    top: -300px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 8s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    bottom: -250px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 10s ease-in-out infinite reverse;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1) translate(20px, -10px);
        opacity: 1;
    }
}

/* ----- 3. 漂浮紫色泡泡 ----- */
.floating-decorations {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-decorations .bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.10;
    animation: floatUp 18s ease-in-out infinite;
}

/* 紫色系泡泡 */
.floating-decorations .bubble:nth-child(1) {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 30% 30%, #a78bfa, transparent 70%);
    left: 8%;
    top: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.floating-decorations .bubble:nth-child(2) {
    width: 45px;
    height: 45px;
    background: radial-gradient(circle at 30% 30%, #8b5cf6, transparent 70%);
    right: 12%;
    top: 25%;
    animation-delay: 2s;
    animation-duration: 16s;
}

.floating-decorations .bubble:nth-child(3) {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at 30% 30%, #c4b5fd, transparent 70%);
    left: 50%;
    top: 55%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.floating-decorations .bubble:nth-child(4) {
    width: 35px;
    height: 35px;
    background: radial-gradient(circle at 30% 30%, #7c3aed, transparent 70%);
    left: 3%;
    top: 75%;
    animation-delay: 1s;
    animation-duration: 14s;
}

.floating-decorations .bubble:nth-child(5) {
    width: 55px;
    height: 55px;
    background: radial-gradient(circle at 30% 30%, #a78bfa, transparent 70%);
    right: 5%;
    top: 60%;
    animation-delay: 3s;
    animation-duration: 18s;
}

.floating-decorations .bubble:nth-child(6) {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 30%, #c084fc, transparent 70%);
    left: 25%;
    top: 8%;
    animation-delay: 5s;
    animation-duration: 12s;
}

.floating-decorations .bubble:nth-child(7) {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at 30% 30%, #8b5cf6, transparent 70%);
    right: 20%;
    bottom: 15%;
    animation-delay: 2.5s;
    animation-duration: 15s;
}

/* ----- 4. 闪烁小星星（魔法感） ----- */
.twinkling-stars {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.twinkling-stars .star {
    position: absolute;
    font-size: 14px;
    opacity: 0.25;
    animation: twinkle 4s ease-in-out infinite;
}

.twinkling-stars .star:nth-child(1) { top: 6%; left: 6%; animation-delay: 0s; font-size: 16px; }
.twinkling-stars .star:nth-child(2) { top: 18%; right: 8%; animation-delay: 1.5s; font-size: 20px; }
.twinkling-stars .star:nth-child(3) { top: 40%; left: 2%; animation-delay: 2.8s; font-size: 12px; }
.twinkling-stars .star:nth-child(4) { bottom: 25%; right: 4%; animation-delay: 0.8s; font-size: 18px; }
.twinkling-stars .star:nth-child(5) { bottom: 8%; left: 12%; animation-delay: 2s; font-size: 15px; }
.twinkling-stars .star:nth-child(6) { top: 50%; right: 2%; animation-delay: 3.5s; font-size: 13px; }

@keyframes twinkle {
    0%, 100% { opacity: 0.15; transform: scale(0.8) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(1.2) rotate(25deg); }
}

/* ----- 5. 浮动动画 ----- */
@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.06;
    }
    25% {
        transform: translateY(-40px) scale(1.1) rotate(8deg);
        opacity: 0.15;
    }
    50% {
        transform: translateY(15px) scale(0.9) rotate(-5deg);
        opacity: 0.10;
    }
    75% {
        transform: translateY(-20px) scale(1.05) rotate(6deg);
        opacity: 0.15;
    }
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.06;
    }
}

/* ----- 6. 页面容器（确保内容在装饰之上） ----- */
.page-container {
    position: relative;
    z-index: 1;
    padding: 16px 16px 20px;
    max-width: 480px;
    margin: 0 auto;
}

/* ----- 7. 卡片 - 半透明磨砂效果 ----- */
.card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.06);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 14px;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.08);
}

/* ----- 8. 底部导航 - 半透明 ----- */
.bottom-nav {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* 导航激活状态 - 紫色系 */
.nav-item.active {
    color: #7c3aed;
}

.nav-item .badge {
    background: #7c3aed;
}

/* ----- 9. 搜索框 ----- */
.search-box {
    background: rgba(241, 245, 249, 0.7);
    backdrop-filter: blur(4px);
    border: 2px solid transparent;
}

.search-box:focus-within {
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.08);
}

/* ----- 10. 首页卡片式头部 - 紫色渐变 ----- */
.home-hero-card {
    background: linear-gradient(135deg, #f5f0ff 0%, #ede6ff 50%, #f8f4ff 100%);
    border: 1px solid rgba(139, 92, 246, 0.10);
    box-shadow: 0 2px 20px rgba(139, 92, 246, 0.06);
}

/* ----- 11. 按钮紫色主题 ----- */
.btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: scale(1.02);
}

.btn-purple {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    color: white;
}

/* 相机按钮 - 紫色渐变 */
.camera-btn {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
}

.camera-btn:active {
    transform: scale(0.97);
}

/* ----- 12. 能力雷达图 - 紫色边框 ----- */
#abilityRadar {
    border: 2px solid rgba(139, 92, 246, 0.08);
    border-radius: 16px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.6);
}

/* ----- 13. AI 气泡 - 紫色调 ----- */
.ai-bubble {
    background: rgba(237, 230, 255, 0.6);
    border-left: 4px solid #8b5cf6;
}

/* ----- 14. 智慧识词提示文字 ----- */
.welcome-text p {
    color: #6d28d9;
    font-weight: 500;
}

/* ----- 15. 响应式适配 ----- */
@media (max-width: 400px) {
    .floating-decorations .bubble {
        display: none;
    }
    .twinkling-stars .star {
        display: none;
    }
}
/* 音标标签样式 */
.phonetic-display {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 1rem;
    color: #1e293b;
    letter-spacing: 0.5px;
    background: #f1f5f9;
    padding: 2px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}