.mbti-page {
    max-width: 980px;
}

.mbti-card {
    padding: 34px;
}

.is-hidden {
    display: none !important;
}

.mbti-hero {
    text-align: center;
}

.mbti-hero-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 16px;
    border-radius: 30px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.mbti-chip,
.mbti-result-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.mbti-hero h2 {
    margin: 16px 0 0;
    font-size: 30px;
    font-weight: 850;
    color: #111827;
    letter-spacing: -0.04em;
}

.mbti-hero p {
    max-width: 660px;
    margin: 14px auto 0;
    font-size: 15px;
    line-height: 1.8;
    color: #6b7280;
}

.mbti-info-grid,
.mbti-score-grid {
    display: grid;
    gap: 12px;
}

.mbti-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 30px 0;
}

.mbti-info-grid div,
.mbti-score-grid div {
    padding: 18px 16px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.mbti-info-grid strong,
.mbti-score-grid strong {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: #6b7280;
}

.mbti-info-grid span,
.mbti-score-grid span {
    font-size: 18px;
    font-weight: 850;
    color: #111827;
}

.mbti-main-btn {
    min-width: 170px;
}

.mbti-progress-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mbti-step-label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #9ca3af;
}

.mbti-progress-head strong,
.mbti-progress-head > span {
    font-size: 15px;
    font-weight: 850;
    color: #111827;
}

.mbti-progress {
    height: 11px;
    margin-bottom: 26px;
    border-radius: 999px;
    background: #eef2f7;
    overflow: hidden;
}

.mbti-progress div {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: #111827;
    transition: width 0.25s ease;
}

.mbti-question-box {
    padding: 30px 26px;
    border-radius: 26px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.mbti-question-box p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 13px;
    margin: 0 0 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 12px;
    font-weight: 850;
}

.mbti-question-box h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1.45;
    font-weight: 850;
    color: #111827;
    letter-spacing: -0.03em;
}

.mbti-answer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.mbti-answer-btn {
    min-height: 76px;
    padding: 16px;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    background: #ffffff;
    color: #374151;
    text-align: left;
    cursor: pointer;
    transition: 0.18s ease;
}

.mbti-answer-btn strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 850;
}

.mbti-answer-btn span {
    font-size: 13px;
    color: #6b7280;
}

.mbti-answer-btn:hover {
    transform: translateY(-2px);
    border-color: #111827;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
}

.mbti-answer-btn:hover strong {
    color: #111827;
}

.mbti-nav-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 22px;
}

.mbti-result {
    text-align: center;
}

.mbti-result h2 {
    margin: 18px 0 0;
    font-size: 58px;
    font-weight: 950;
    line-height: 1;
    color: #111827;
    letter-spacing: -0.05em;
}

#resultTitle {
    margin: 12px 0 0;
    font-size: 20px;
    font-weight: 850;
    color: #374151;
}

.mbti-score-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 30px 0;
}

.mbti-result-desc {
    padding: 24px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.mbti-result-desc p {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.8;
}

.mbti-result-desc ul {
    margin: 16px 0 0;
    padding-left: 20px;
    color: #4b5563;
    line-height: 1.8;
}

.mbti-result-actions {
    justify-content: center;
    margin-top: 22px;
}

.mbti-message {
    min-height: 22px;
    margin: 14px 0 0;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
}

.help-panel {
    margin-top: 32px;
}

.help-panel h2 {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 850;
    color: #111827;
}

.help-panel .help-box + .help-box {
    margin-top: 18px;
}

.help-box p {
    margin: 0;
    color: #4b5563;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .mbti-card {
        padding: 22px;
    }

    .mbti-info-grid,
    .mbti-score-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mbti-question-box {
        padding: 24px 18px;
    }

    .mbti-question-box h2 {
        font-size: 21px;
    }

    .mbti-answer-grid {
        grid-template-columns: 1fr;
    }

    .mbti-result h2 {
        font-size: 46px;
    }
}

@media (max-width: 520px) {
    .mbti-info-grid,
    .mbti-score-grid {
        grid-template-columns: 1fr;
    }

    .mbti-nav-row,
    .mbti-result-actions {
        flex-direction: column;
    }

    .mbti-nav-row .utility-btn,
    .mbti-result-actions .utility-btn {
        width: 100%;
    }
}