/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    /* 粉色系 - 更浓郁饱和 */
    --pink-50: #FFF1F5;
    --pink-100: #FFE4EC;
    --pink-200: #FFC9DA;
    --pink-300: #FFADC8;
    --pink-400: #FF85A2;
    --pink-500: #FF6B9D;
    --pink-600: #F94C8C;
    --pink-700: #E91E63;
    --pink-800: #C2185B;
    --pink-900: #880E4F;

    /* 中性色 */
    --gray-50: #FAFBFC;
    --gray-100: #F5F6F8;
    --gray-200: #EBEDF0;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* 语义色 */
    --white: #FFFFFF;
    --black: #000000;

    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, var(--pink-600) 0%, var(--pink-500) 50%, var(--pink-400) 100%);
    --gradient-soft: linear-gradient(135deg, var(--pink-50) 0%, var(--white) 100%);
    --gradient-card: linear-gradient(145deg, var(--white) 0%, var(--pink-50) 100%);
    --gradient-glow: radial-gradient(circle at 50% 0%, rgba(249, 76, 140, 0.15), transparent 70%);

    /* 阴影 */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(249, 76, 140, 0.12);
    --shadow-md: 0 4px 16px rgba(249, 76, 140, 0.16);
    --shadow-lg: 0 8px 32px rgba(249, 76, 140, 0.2);
    --shadow-xl: 0 16px 48px rgba(249, 76, 140, 0.24);
    --shadow-glow: 0 0 40px rgba(249, 76, 140, 0.4);

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* 间距 */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* 字体 */
    --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--gradient-soft);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ==================== 图标系统 ==================== */
.icon {
    display: inline-block;
    vertical-align: middle;
    color: currentColor;
}

.icon-xs { width: 16px; height: 16px; }
.icon-sm { width: 20px; height: 20px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }
.icon-hero { width: 80px; height: 80px; }
.icon-type { width: 40px; height: 40px; }
.icon-btn { width: 18px; height: 18px; margin-left: 8px; }

/* ==================== 容器与布局 ==================== */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
}

@media (min-width: 768px) {
    .container {
        padding: var(--space-2xl) var(--space-lg);
    }
}

/* ==================== 页面切换 ==================== */
.page {
    display: none;
    min-height: 100vh;
    animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page.active {
    display: block;
}

/* ==================== 动画 ==================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.fade-in { animation: fadeIn 0.6s ease-out; }
.fade-in-delay { animation: fadeIn 0.6s ease-out 0.1s both; }
.fade-in-delay-2 { animation: fadeIn 0.6s ease-out 0.2s both; }
.fade-in-delay-3 { animation: fadeIn 0.6s ease-out 0.3s both; }
.fade-in-delay-4 { animation: fadeIn 0.6s ease-out 0.4s both; }

/* ==================== 欢迎页面 ==================== */
.welcome-content {
    text-align: center;
    padding-top: var(--space-xl);
}

.hero-icon {
    margin: 0 auto var(--space-xl);
    color: var(--pink-600);
    animation: pulse 2s ease-in-out infinite;
}

.title {
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.subtitle {
    font-size: clamp(16px, 4vw, 20px);
    color: var(--gray-600);
    margin-bottom: var(--space-3xl);
    font-weight: 400;
}

/* ==================== 卡片 ==================== */
.intro-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-md);
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-100);
}

@media (hover: hover) {
    .intro-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    color: var(--pink-600);
}

.card-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.info-item {
    text-align: center;
    padding: var(--space-lg) var(--space-sm);
    background: var(--gradient-soft);
    border-radius: var(--radius-lg);
}

.info-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--pink-600);
    margin-bottom: var(--space-xs);
    line-height: 1;
}

.info-label {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 500;
}

.intro-text {
    color: var(--gray-600);
    font-size: 15px;
    text-align: center;
}

/* ==================== 测试维度 ==================== */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-lg);
}

.section-title .icon {
    color: var(--pink-600);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

@media (max-width: 480px) {
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.type-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    border: 2px solid transparent;
}

@media (hover: hover) {
    .type-item:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: var(--pink-400);
    }

    .type-item:hover .type-letter {
        transform: scale(1.1);
        background: var(--gradient-primary);
        color: var(--white);
    }
}

.type-letter {
    width: 64px;
    height: 64px;
    background: var(--gradient-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 24px;
    font-weight: 700;
    color: var(--pink-600);
    border: 3px solid var(--pink-400);
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
}

@media (max-width: 480px) {
    .type-letter {
        width: 56px;
        height: 56px;
        font-size: 20px;
        border-width: 2px;
    }
}

.type-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-xs);
}

.type-desc {
    font-size: 11px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==================== 按钮 ==================== */
.start-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
    padding: 16px 40px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.start-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.start-btn:hover::before {
    transform: translateX(100%);
}

@media (hover: hover) {
    .start-btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }
}

.start-btn:active {
    transform: translateY(0) scale(0.98);
}

/* ==================== 隐私说明 ==================== */
.privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 13px;
    color: var(--gray-500);
}

.privacy-note .icon {
    color: var(--pink-600);
}

/* ==================== 测试页面 ==================== */
.test-header {
    margin-bottom: var(--space-2xl);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-full);
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

/* ==================== 问题容器 ==================== */
.question-container {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-md);
    min-height: 400px;
    animation: slideUp 0.4s ease-out;
    border: 1px solid var(--gray-100);
}

@media (max-width: 768px) {
    .question-container {
        padding: var(--space-lg);
        min-height: 320px;
    }
}

.question-number {
    font-size: 13px;
    color: var(--pink-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.question {
    font-size: clamp(18px, 4vw, 22px);
    color: var(--gray-800);
    margin-bottom: var(--space-2xl);
    font-weight: 600;
    line-height: 1.5;
}

/* ==================== 选项 ==================== */
.options {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.option {
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-lg);
    font-size: 15px;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .option:hover {
        background: var(--pink-50);
        border-color: var(--pink-300);
        transform: translateX(4px);
    }

    .option:hover::before {
        transform: scaleY(1);
    }
}

.option.selected {
    background: linear-gradient(135deg, var(--pink-50), var(--white));
    border-color: var(--pink-500);
    color: var(--gray-800);
    font-weight: 500;
}

.option.selected::before {
    transform: scaleY(1);
}

/* ==================== 导航按钮 ==================== */
.navigation {
    display: flex;
    gap: var(--space-md);
}

.nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px var(--space-lg);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.prev-btn {
    background: var(--gray-100);
    color: var(--gray-700);
}

@media (hover: hover) {
    .prev-btn:hover:not(:disabled) {
        background: var(--gray-200);
    }
}

.next-btn {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

@media (hover: hover) {
    .next-btn:hover:not(:disabled) {
        box-shadow: var(--shadow-md);
        transform: translateY(-1px);
    }
}

.nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.nav-btn:active:not(:disabled) {
    transform: scale(0.98);
}

/* ==================== 结果页面 ==================== */
.result-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.result-header .icon {
    color: var(--pink-600);
    margin-bottom: var(--space-md);
}

.result-chart {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.result-details {
    text-align: left;
}

.result-section {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

@media (max-width: 768px) {
    .result-chart,
    .result-section {
        padding: var(--space-lg);
    }
}

.section-title-result {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    text-align: center;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: var(--space-xl);
}

/* 性格和玩法网格 */
.personality-grid,
.plays-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

@media (max-width: 480px) {
    .personality-grid,
    .plays-grid {
        gap: var(--space-sm);
    }
}

.trait-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg) var(--space-sm);
    background: var(--gradient-soft);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
    .trait-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }
}

.trait-icon-circle {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--pink-100), var(--white));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    border: 3px solid var(--pink-400);
    color: var(--pink-600);
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .trait-icon-circle {
        width: 64px;
        height: 64px;
    }
}

.trait-item:hover .trait-icon-circle {
    border-color: var(--pink-600);
    transform: scale(1.05);
}

.icon-trait {
    width: 32px;
    height: 32px;
}

.trait-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    text-align: center;
    margin-bottom: var(--space-xs);
}

.trait-percent {
    font-size: 18px;
    font-weight: 700;
    color: var(--pink-600);
}

/* 查看全部按钮 */
.view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (hover: hover) {
    .view-all-btn:hover {
        background: var(--pink-50);
        border-color: var(--pink-300);
        color: var(--pink-700);
    }
}

.view-all-btn .chevron {
    transition: transform 0.3s ease;
}

/* 隐藏/显示切换 */
.hidden {
    display: none;
}

/* 详情展开区域 */
.personality-details,
.plays-details {
    margin-top: var(--space-lg);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-card {
    background: var(--gradient-soft);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.detail-card:last-child {
    margin-bottom: 0;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.detail-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
}

.detail-score {
    font-size: 18px;
    font-weight: 700;
    color: var(--pink-600);
}

.detail-bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.detail-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-desc {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.detail-plays {
    font-size: 13px;
    color: var(--gray-700);
}

.detail-plays strong {
    display: block;
    margin-bottom: var(--space-sm);
    color: var(--gray-800);
}

.play-tag {
    display: inline-block;
    background: var(--white);
    color: var(--gray-700);
    padding: 4px 10px;
    border-radius: var(--radius-md);
    font-size: 12px;
    margin-right: var(--space-xs);
    margin-bottom: var(--space-xs);
    border: 1px solid var(--pink-200);
}

/* 玩法列表完整展开 */
.plays-list-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-sm);
}

.play-item-full {
    background: var(--gradient-soft);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-sm);
    text-align: center;
    border: 1px solid var(--pink-100);
}

.play-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: var(--space-xs);
}

.play-source {
    display: block;
    font-size: 11px;
    color: var(--pink-600);
}

/* 玩法柱状图展示 */
.plays-dimension-section {
    margin-bottom: var(--space-xl);
}

.plays-dimension-section:last-child {
    margin-bottom: 0;
}

.dimension-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--pink-200);
}

.plays-bars-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.play-bar-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .play-bar-item:hover {
        box-shadow: var(--shadow-sm);
        border-color: var(--pink-200);
    }
}

.play-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.play-bar-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
}

.play-bar-score {
    font-size: 14px;
    font-weight: 700;
    color: var(--pink-600);
    min-width: 45px;
    text-align: right;
}

.play-bar-bg {
    height: 8px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.play-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: barFillIn 0.8s ease-out;
}

@keyframes barFillIn {
    from {
        width: 0 !important;
    }
}

/* 弹窗 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: scaleIn 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: var(--gray-600);
    transition: all 0.2s ease;
}

@media (hover: hover) {
    .modal-close:hover {
        background: var(--pink-500);
        color: var(--white);
    }
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-sm);
}

.modal-score {
    font-size: 28px;
    font-weight: 700;
    color: var(--pink-600);
    margin-bottom: var(--space-lg);
}

.modal-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.modal-traits {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.trait-tag {
    background: var(--pink-50);
    color: var(--pink-700);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 500;
}

.modal-suggestion {
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.6;
    padding: var(--space-md);
    background: var(--gradient-soft);
    border-radius: var(--radius-lg);
}

/* 总结卡片 */
.result-summary-card {
    background: linear-gradient(135deg, var(--pink-50), var(--white));
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
    border: 1px solid var(--pink-200);
}

.summary-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--pink-700);
    margin-bottom: var(--space-md);
}

.summary-text {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.8;
}

.summary-text strong {
    color: var(--pink-700);
}

/* ==================== 操作按钮 ==================== */
.result-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .result-actions {
        flex-direction: column;
    }
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px var(--space-lg);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 140px;
}

@media (max-width: 640px) {
    .action-btn {
        width: 100%;
    }
}

.action-btn.primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

@media (hover: hover) {
    .action-btn.primary:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-2px);
    }
}

.action-btn.secondary {
    background: var(--pink-50);
    color: var(--pink-700);
    border: 1px solid var(--pink-200);
}

@media (hover: hover) {
    .action-btn.secondary:hover {
        background: var(--pink-100);
    }
}

.action-btn.outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

@media (hover: hover) {
    .action-btn.outline:hover {
        border-color: var(--pink-500);
        color: var(--pink-700);
    }
}

.action-btn:active {
    transform: scale(0.98);
}

/* ==================== 通知 ==================== */
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    color: var(--gray-800);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    font-size: 15px;
    font-weight: 500;
    z-index: 9999;
    animation: scaleIn 0.3s ease-out;
    border: 1px solid var(--gray-100);
}
