/* 情商测试 - 答题页专属样式 */

.quiz-main {
    max-width: 680px;
    margin: 0 auto;
    padding: 30px 15px;
    min-height: calc(100vh - 140px);
}

/* 开始页 */
.quiz-intro {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    padding: 50px 30px;
    text-align: center;
}

.quiz-intro-icon {
    font-size: 3.5rem;
    color: #0070b8;
    margin-bottom: 20px;
}

.quiz-intro h1 {
    border: none;
    padding: 0;
    margin-bottom: 10px;
}

.quiz-intro-desc {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 8px;
    text-align: center;
}

.quiz-intro-note {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 30px;
    text-align: center;
}

.quiz-intro .primary-btn {
    min-width: 220px;
}

/* 答题区 */
.quiz-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    padding: 30px 25px;
}

.quiz-count {
    text-align: right;
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.quiz-dimension {
    display: inline-block;
    font-size: 0.8rem;
    color: #0070b8;
    background: #e6f4ff;
    border-radius: 4px;
    padding: 3px 10px;
    margin-bottom: 15px;
}

.quiz-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1D2129;
    margin: 15px 0 25px;
    line-height: 1.6;
}

.quiz-option {
    display: block;
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.quiz-option:hover {
    border-color: #0070b8;
    background: #f0f7ff;
}

.quiz-option.selected {
    border-color: #0070b8;
    background: #e6f4ff;
    color: #0070b8;
    font-weight: 500;
}

/* 手机端 */
@media (max-width: 768px) {
    .quiz-main {
        padding: 15px 10px;
    }

    .quiz-intro {
        padding: 40px 20px;
    }

    .quiz-box {
        padding: 20px 18px;
        border-radius: 8px;
    }

    .quiz-question {
        font-size: 1.1rem;
    }

    .quiz-option {
        padding: 14px 14px;
    }
}

/* ===================== 结果页 ===================== */
.result-hook,
.result-deep {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    padding: 30px 25px;
}

.result-hook-avg {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin: 10px 0 25px;
}

.result-big-score {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #0070b8;
    margin: 15px 0;
}

.paywall-price {
    font-size: 1.1rem;
    color: #d48806;
    margin: 15px 0 20px;
}

.paywall-price strong {
    font-size: 1.5rem;
}

.paywall-box .primary-btn {
    width: 100%;
    max-width: 280px;
}

/* 等级卡操作按钮 */
.card-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.card-actions .primary-btn,
.card-actions .ghost-btn {
    min-width: 150px;
    margin: 0;
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #0070b8;
    background: #fff;
    color: #0070b8;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    cursor: pointer;
}

.share-icon {
    flex: none;
    display: block;
}

.ghost-btn:active {
    background: #e6f4ff;
}

/* 转发朋友圈弹窗 */
.share-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.share-mask[hidden] {
    display: none;
}

.share-pop {
    background: #fff;
    border-radius: 12px;
    padding: 22px 20px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    max-height: 92vh;
    overflow-y: auto;
}

.share-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1D2129;
    margin-bottom: 14px;
}

.share-img {
    width: 78%;
    border-radius: 8px;
    display: block;
    margin: 0 auto 12px;
}

.share-link-box {
    background: #f5f6f7;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.8rem;
    color: #333;
    word-break: break-all;
    margin-bottom: 12px;
    text-align: left;
}

.share-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.share-actions .primary-btn,
.share-actions .ghost-btn {
    flex: 1;
    margin: 0;
    padding: 11px 10px;
    font-size: 0.95rem;
}

.share-tip {
    color: #666;
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.share-close {
    width: 100%;
}

.workplace-item {
    border-left: 3px solid #0070b8;
    background: #f7fafc;
    padding: 12px 15px;
    margin-bottom: 12px;
    border-radius: 0 6px 6px 0;
}

.workplace-title {
    font-weight: 600;
    color: #1D2129;
    margin-bottom: 4px;
}

.workplace-desc {
    color: #666;
    font-size: 0.9rem;
}

/* 逐维深度解读卡 */
.dim-detail-card {
    background: #f9fafb;
    border: 1px solid #eef0f2;
    border-radius: 10px;
    padding: 18px 16px;
    margin-bottom: 16px;
}

.dim-detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.dim-detail-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1D2129;
}

.dim-detail-badge {
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 600;
}

.dim-detail-badge.high {
    background: #e6f7ed;
    color: #16a34a;
}

.dim-detail-badge.mid {
    background: #fff7e6;
    color: #d48806;
}

.dim-detail-badge.low {
    background: #fdecea;
    color: #dc2626;
}

.dim-detail-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.dim-detail-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0070b8, #4aa3e0);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.dim-detail-score {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
}

.dim-detail-scene {
    display: inline-block;
    font-size: 0.78rem;
    color: #0070b8;
    background: #e6f4ff;
    border-radius: 4px;
    padding: 3px 10px;
    margin-bottom: 10px;
}

.dim-detail-desc {
    color: #444;
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 10px;
    text-align: justify;
}

.dim-detail-advice {
    color: #555;
    font-size: 0.88rem;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 6px;
    padding: 10px 12px;
    line-height: 1.7;
}

.suggest-item {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    padding: 14px 15px;
    margin-bottom: 12px;
}

.suggest-title {
    font-weight: 700;
    color: #d48806;
    margin-bottom: 6px;
}

.suggest-desc {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: justify;
}

.strength-box {
    background: #e6f7ed;
    border: 1px solid #b7e6c9;
    border-radius: 8px;
    padding: 14px 15px;
    color: #166534;
    font-size: 0.92rem;
    line-height: 1.7;
}

.result-disclaimer {
    text-align: center;
    color: #bbb;
    font-size: 0.75rem;
    margin-top: 25px;
}

#btn-download {
    width: 100%;
    max-width: 280px;
    display: block;
    margin: 10px auto 0;
}
