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

        body {
            background: linear-gradient(145deg, #f0f4fc 0%, #e6edf5 100%);
            font-family: 'Segoe UI', 'Roboto', 'Poppins', system-ui, -apple-system, sans-serif;
            padding: 1.5rem;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .container {
            max-width: 750px;
            width: 100%;
            margin: 0 auto;
        }

        /* 公用卡片样式 */
        .card {
            background: white;
            border-radius: 2rem;
            box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            padding: 2rem 1.8rem;
            transition: all 0.2s;
        }

        /* 介绍页面专属 */
        .intro-card {
            text-align: center;
        }
        .intro-icon {
            font-size: 3.5rem;
            background: linear-gradient(135deg, #1e3c72, #2b4c7c);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 1rem;
        }
        .intro-card h1 {
            font-size: 2rem;
            background: linear-gradient(135deg, #1e3c72, #3a6ea5);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 0.5rem;
        }
        .intro-sub {
            color: #4a627a;
            border-bottom: 1px solid #e2edf7;
            display: inline-block;
            padding-bottom: 0.3rem;
            margin-bottom: 1.2rem;
            font-weight: 500;
        }
        .theory-box {
            background: #f8fafc;
            border-radius: 1.2rem;
            padding: 1rem;
            text-align: left;
            margin: 1.2rem 0;
        }
        .theory-box h3 {
            color: #1e3c72;
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }
        .theory-box p {
            font-size: 0.9rem;
            line-height: 1.5;
            color: #2c3e50;
        }
        .benefits-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 1.2rem 0;
            text-align: left;
        }
        .benefit-item {
            flex: 1;
            min-width: 130px;
            background: #eef2ff;
            border-radius: 1rem;
            padding: 0.7rem;
            font-size: 0.85rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .benefit-item i {
            font-size: 1.2rem;
            color: #2563eb;
        }
        .start-btn {
            background: linear-gradient(100deg, #1e3c72, #2b4c7c);
            border: none;
            color: white;
            font-weight: 700;
            font-size: 1.2rem;
            padding: 0.9rem 2rem;
            border-radius: 60px;
            cursor: pointer;
            margin-top: 1rem;
            width: 80%;
            transition: 0.2s;
            box-shadow: 0 6px 14px rgba(0,0,0,0.1);
        }
        .start-btn:hover {
            transform: scale(0.98);
            background: linear-gradient(100deg, #15355e, #1f3f66);
        }

        /* 测试卡片样式 */
        .test-card {
            display: none;
        }
        .hero {
            text-align: center;
            margin-bottom: 1.5rem;
        }
        .hero h2 {
            font-size: 1.6rem;
            color: #1e3c72;
        }
        .progress-area {
            margin-bottom: 1.8rem;
        }
        .progress-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 8px;
        }
        .progress-bar-bg {
            background: #e2e8f0;
            border-radius: 20px;
            height: 8px;
            overflow: hidden;
        }
        .progress-fill {
            width: 0%;
            height: 100%;
            background: linear-gradient(90deg, #3b82f6, #2563eb);
            border-radius: 20px;
            transition: width 0.25s ease;
        }
        .question-section {
            margin: 1rem 0 1.5rem;
        }
        .q-text {
            font-size: 1.4rem;
            font-weight: 600;
            color: #0f2b3f;
            line-height: 1.4;
            margin-bottom: 1.8rem;
        }
        .options-list {
            display: flex;
            flex-direction: column;
            gap: 0.9rem;
        }
        .option-btn {
            background: #f8fafc;
            border: 1.5px solid #e2edf7;
            border-radius: 1.5rem;
            padding: 1rem 1.2rem;
            font-size: 1rem;
            font-weight: 500;
            text-align: left;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }
        .option-btn:hover {
            background: #eff6ff;
            border-color: #b9d3f8;
        }
        .option-prefix {
            font-weight: 700;
            background: #eef2ff;
            width: 32px;
            height: 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 60px;
            color: #2563eb;
        }
        .selected-option {
            background: #e0f2fe;
            border-color: #3b82f6;
            box-shadow: 0 2px 6px rgba(59,130,246,0.2);
        }
        .nav-buttons {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            margin-top: 2rem;
        }
        .nav-btn {
            background: white;
            border: 1px solid #cbd5e1;
            padding: 0.7rem 1.2rem;
            border-radius: 40px;
            font-weight: 600;
            cursor: pointer;
            flex: 1;
            text-align: center;
        }
        .nav-btn-primary {
            background: #1e3c72;
            border: none;
            color: white;
        }
        .reset-link {
            text-align: center;
            margin-top: 1.2rem;
        }
        .reset-link button {
            background: none;
            border: none;
            color: #6c86a3;
            text-decoration: underline;
            cursor: pointer;
            font-size: 0.8rem;
        }

        /* 结果卡片 */
        .result-card {
            display: none;
            background: white;
            border-radius: 2rem;
            padding: 1.8rem;
            box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
            margin-top: 0.5rem;
            animation: fadeUp 0.4s ease;
        }
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(20px);}
            to { opacity: 1; transform: translateY(0);}
        }
        .result-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
            border-bottom: 2px solid #eef2ff;
            padding-bottom: 1rem;
            margin-bottom: 1.5rem;
        }
        .type-icon {
            font-size: 3rem;
            background: #eef2ff;
            width: 70px;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 60px;
            color: #1e3c72;
        }
        .result-type {
            font-size: 1.8rem;
            font-weight: 800;
            background: linear-gradient(135deg, #1e3c72, #3a6ea5);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .scores-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .score-item {
            flex: 1;
            min-width: 100px;
            background: #f8fafc;
            border-radius: 1.2rem;
            padding: 0.8rem;
            text-align: center;
        }
        .score-letter {
            font-size: 1.6rem;
            font-weight: 800;
        }
        .score-bar-container {
            background: #e2e8f0;
            border-radius: 20px;
            height: 8px;
            margin: 0.8rem 0;
        }
        .score-bar {
            height: 8px;
            border-radius: 20px;
            width: 0%;
        }
        .desc-text {
            background: #fefce8;
            padding: 1rem;
            border-radius: 1rem;
            line-height: 1.5;
            margin: 1rem 0;
        }
        .share-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }
        .share-btn {
            background: #eef2ff;
            border: none;
            padding: 0.6rem 1.2rem;
            border-radius: 40px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
        }
        .btn-restart {
            background: white;
            border: 1px solid #2b6cb0;
            color: #2b6cb0;
            padding: 0.6rem 1.5rem;
            border-radius: 40px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 1rem;
            width: 100%;
        }
        footer {
            text-align: center;
            margin-top: 1rem;
            font-size: 0.7rem;
            color: #6c7a8e;
        }
        .hidden {
            display: none;
        }
        .toast-msg {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: #1f2937;
            color: white;
            padding: 8px 18px;
            border-radius: 40px;
            font-size: 0.8rem;
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.2s;
            pointer-events: none;
        }
        @media (max-width: 550px) {
            body { padding: 1rem; }
            .card { padding: 1.5rem; }
            .q-text { font-size: 1.2rem; }
            .type-icon { width: 55px; height: 55px; font-size: 2rem; }
            .result-type { font-size: 1.4rem; }
        }