* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Hiragino Sans", "Meiryo", sans-serif;
    background: #f4f7fb;
    color: #1f2937;
}

.login-body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, #dbeafe, transparent 35%), linear-gradient(135deg, #eef4ff 0%, #f8fafc 45%, #e0f2fe 100%);
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    padding: 36px 32px;
    box-shadow: 0 24px 60px rgba(30, 64, 175, 0.18);
    text-align: center;
    backdrop-filter: blur(12px);
}

.app-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #2563eb, #0f172a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
}

.login-card h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.35;
    color: #0f172a;
}

.login-subtitle {
    margin: 12px 0 28px;
    color: #64748b;
    font-size: 14px;
}

.login-form {
    text-align: left;
}

    .login-form label {
        display: block;
        margin: 16px 0 8px;
        font-size: 14px;
        font-weight: 700;
        color: #334155;
    }

    .login-form input {
        width: 100%;
        padding: 15px 16px;
        border: 1px solid #dbe3ef;
        border-radius: 14px;
        font-size: 15px;
        outline: none;
        background: #f8fafc;
    }

        .login-form input:focus {
            border-color: #2563eb;
            background: #fff;
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
        }

    .login-form button {
        width: 100%;
        margin-top: 24px;
        padding: 15px;
        border: none;
        border-radius: 16px;
        background: linear-gradient(135deg, #2563eb, #1e3a8a);
        color: white;
        font-size: 16px;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
    }

        .login-form button:hover {
            transform: translateY(-1px);
        }

.error-box {
    margin: 18px 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 14px;
    text-align: left;
}

.test-login {
    margin-top: 24px;
    padding: 14px;
    border-radius: 16px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    text-align: left;
}

    .test-login p {
        margin: 0 0 6px;
        font-weight: 700;
    }

    .test-login span {
        display: block;
        line-height: 1.7;
    }

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 32px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

    .app-header h1 {
        margin: 0;
        font-size: 22px;
        color: #0f172a;
    }

    .app-header p {
        margin: 4px 0 0;
        color: #64748b;
        font-size: 14px;
    }

.logout-btn {
    padding: 10px 16px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

    .logout-btn:hover {
        background: #e2e8f0;
    }

.home-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px 24px;
}

.welcome-card {
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.20), transparent 32%), linear-gradient(135deg, #ffffff, #eef4ff);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 18px 45px rgba(30, 64, 175, 0.10);
}

.welcome-label {
    margin: 0 0 8px;
    color: #2563eb;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 13px;
}

.welcome-card h2 {
    margin: 0 0 10px;
    font-size: 30px;
    color: #0f172a;
}

.welcome-card p {
    color: #475569;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 28px;
}

.menu-card {
    display: block;
    min-height: 180px;
    padding: 26px;
    border-radius: 24px;
    background: #ffffff;
    text-decoration: none;
    color: #1f2937;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    transition: 0.2s;
}

    .menu-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    }

    .menu-card span {
        color: #2563eb;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.1em;
    }

    .menu-card h3 {
        margin: 12px 0 10px;
        font-size: 22px;
        color: #0f172a;
    }

    .menu-card p {
        margin: 0;
        color: #64748b;
        line-height: 1.7;
        font-size: 14px;
    }

    .menu-card.primary {
        background: linear-gradient(135deg, #2563eb, #1e3a8a);
        color: #ffffff;
    }

        .menu-card.primary span,
        .menu-card.primary h3,
        .menu-card.primary p {
            color: #ffffff;
        }

    .menu-card.coach {
        border: 2px solid #bfdbfe;
    }

@media (max-width: 900px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .app-header {
        padding: 18px 20px;
    }

        .app-header h1 {
            font-size: 18px;
        }

    .welcome-card h2 {
        font-size: 24px;
    }
}
/* ========================================
   TRAINING SETUP
======================================== */

.training-setup-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px 70px;
}

.setup-title {
    margin-bottom: 30px;
}

.setup-step {
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.setup-title h2 {
    margin: 8px 0;
    font-size: 34px;
    color: #0f172a;
}

.setup-title p {
    margin: 0;
    color: #64748b;
}


/* ========================================
   SETUP SECTION
======================================== */

.setup-section {
    margin-bottom: 24px;
    padding: 28px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
}


.setup-section-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}


.step-number {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient( 135deg, #2563eb, #1e3a8a );
    color: #ffffff;
    font-weight: 900;
}


.setup-section-header h3 {
    margin: 0;
    font-size: 20px;
}


.setup-section-header p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 14px;
}



/* ========================================
   OPTION CARDS
======================================== */

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}


.option-card {
    position: relative;
    cursor: pointer;
}


    .option-card input {
        position: absolute;
        opacity: 0;
    }


.option-card-content {
    height: 100%;
    padding: 22px;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
    transition: 0.2s;
}


.option-card:hover
.option-card-content {
    border-color: #93c5fd;
    transform: translateY(-2px);
}


.option-card input:checked +
.option-card-content {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 4px rgba( 37, 99, 235, 0.10 );
}


.option-icon {
    font-size: 28px;
    margin-bottom: 10px;
}


.option-card h4 {
    margin: 0 0 8px;
    font-size: 18px;
}


.option-card p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}



/* ========================================
   SCENARIO SELECT
======================================== */

.scenario-select-area {
    display: none;
    margin-top: 20px;
}


    .scenario-select-area.show {
        display: block;
    }


    .scenario-select-area label {
        display: block;
        margin-bottom: 8px;
        font-weight: 700;
    }


    .scenario-select-area select {
        width: 100%;
        padding: 14px;
        border: 1px solid #cbd5e1;
        border-radius: 12px;
        background: #ffffff;
        font-size: 15px;
    }



/* ========================================
   DIFFICULTY
======================================== */

.difficulty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}


.difficulty-card {
    position: relative;
    cursor: pointer;
}


    .difficulty-card input {
        position: absolute;
        opacity: 0;
    }


    .difficulty-card div {
        padding: 20px;
        border: 2px solid #e2e8f0;
        border-radius: 16px;
        text-align: center;
        transition: 0.2s;
    }


    .difficulty-card strong {
        display: block;
        margin-bottom: 6px;
        font-size: 18px;
    }


    .difficulty-card span {
        font-size: 13px;
        color: #64748b;
    }


    .difficulty-card
    input:checked +
    div {
        border-color: #2563eb;
        background: #eff6ff;
        box-shadow: 0 0 0 4px rgba( 37, 99, 235, 0.10 );
    }



/* ========================================
   START BUTTON
======================================== */

.training-start-area {
    margin-top: 34px;
    text-align: center;
}


.training-start-button {
    width: 100%;
    max-width: 480px;
    padding: 18px;
    border: none;
    border-radius: 18px;
    background: linear-gradient( 135deg, #2563eb, #1e3a8a );
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba( 37, 99, 235, 0.30 );
}


    .training-start-button:hover {
        transform: translateY(-2px);
    }



/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {

    .option-grid {
        grid-template-columns: 1fr;
    }


    .difficulty-grid {
        grid-template-columns: 1fr;
    }


    .setup-section {
        padding: 22px 18px;
    }


    .setup-title h2 {
        font-size: 28px;
    }
}

/* ========================================
   TRAINING CHAT
======================================== */

.training-chat-body {
    min-height: 100vh;
    background: #eef3f9;
}

.training-chat-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 60px;
}

.training-chat-header {
    position: sticky;
    top: 0;
    z-index: 20;
}

.training-status-panel,
.chat-panel,
.training-control-panel {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.training-status-panel {
    display: grid;
    grid-template-columns: 1.25fr 2fr;
    gap: 24px;
    padding: 24px;
    margin-bottom: 22px;
}

.customer-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.customer-avatar {
    width: 66px;
    height: 66px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: linear-gradient(135deg, #ef4444, #991b1b);
    color: #ffffff;
    font-weight: 900;
    font-size: 21px;
}

.status-label {
    color: #2563eb;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.customer-profile h2 {
    margin: 4px 0;
    color: #0f172a;
    font-size: 24px;
}

.customer-profile p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.training-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.training-info-item {
    padding: 14px;
    border-radius: 16px;
    background: #f8fafc;
}

    .training-info-item span {
        display: block;
        margin-bottom: 5px;
        color: #64748b;
        font-size: 12px;
    }

    .training-info-item strong {
        color: #0f172a;
        font-size: 14px;
    }

.anger-panel {
    grid-column: 1 / -1;
    padding-top: 4px;
}

.anger-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

    .anger-header span {
        color: #475569;
        font-weight: 700;
    }

    .anger-header strong {
        color: #b91c1c;
    }

.anger-track {
    height: 13px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.anger-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    transition: width 0.45s ease, background 0.3s;
}

    .anger-bar.anger-low {
        background: linear-gradient(90deg, #22c55e, #16a34a);
    }

    .anger-bar.anger-middle {
        background: linear-gradient(90deg, #facc15, #f97316);
    }

    .anger-bar.anger-high {
        background: linear-gradient(90deg, #f97316, #dc2626);
    }

/* ========================================
   CHAT PANEL
======================================== */

.chat-panel {
    overflow: hidden;
}

.chat-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 62px;
    padding: 0 22px;
    border-bottom: 1px solid #e2e8f0;
}

    .chat-panel-header div {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .chat-panel-header > span {
        color: #64748b;
        font-size: 13px;
    }

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.13);
}

.chat-messages {
    height: 470px;
    overflow-y: auto;
    padding: 24px;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.07), transparent 30%), #f8fafc;
}

.chat-message {
    display: flex;
    gap: 11px;
    max-width: 78%;
    margin-bottom: 20px;
}

    .chat-message.user-message {
        flex-direction: row-reverse;
        margin-left: auto;
    }

.message-avatar {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 900;
    font-size: 13px;
}

.user-message .message-avatar {
    background: #dbeafe;
    color: #1d4ed8;
}

.message-content {
    min-width: 0;
}

.message-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 6px;
}

.user-message .message-meta {
    justify-content: flex-end;
}

.message-meta strong {
    color: #334155;
    font-size: 13px;
}

.message-meta span {
    color: #94a3b8;
    font-size: 11px;
}

.message-bubble {
    padding: 14px 16px;
    border-radius: 5px 18px 18px 18px;
    background: #ffffff;
    color: #1e293b;
    line-height: 1.7;
    overflow-wrap: anywhere;
    box-shadow: 0 7px 20px rgba(15, 23, 42, 0.08);
}

.user-message .message-bubble {
    border-radius: 18px 5px 18px 18px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
}

.typing-bubble {
    display: flex;
    gap: 5px;
    align-items: center;
    min-width: 62px;
}

    .typing-bubble span {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #94a3b8;
        animation: typingBounce 1.1s infinite ease-in-out;
    }

        .typing-bubble span:nth-child(2) {
            animation-delay: 0.15s;
        }

        .typing-bubble span:nth-child(3) {
            animation-delay: 0.3s;
        }

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-5px);
    }
}

/* ========================================
   CHAT INPUT
======================================== */

.chat-input-area {
    padding: 20px 22px 18px;
    border-top: 1px solid #e2e8f0;
}

.voice-status {
    display: none;
    margin-bottom: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
}

    .voice-status:not(:empty) {
        display: block;
    }

    .voice-status.active {
        background: #fee2e2;
        color: #b91c1c;
    }

.chat-input-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: stretch;
    gap: 10px;
}

    .chat-input-row textarea {
        width: 100%;
        min-height: 62px;
        max-height: 160px;
        resize: vertical;
        padding: 14px 15px;
        border: 1px solid #cbd5e1;
        border-radius: 15px;
        outline: none;
        font: inherit;
        line-height: 1.6;
    }

        .chat-input-row textarea:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
        }

.send-message-button,
.voice-input-button {
    min-width: 70px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 800;
}

.send-message-button {
    padding: 0 22px;
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    color: #ffffff;
}

.voice-input-button {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 23px;
}

    .voice-input-button.recording {
        background: #fee2e2;
        animation: microphonePulse 1.1s infinite;
    }

    .send-message-button:disabled,
    .voice-input-button:disabled {
        cursor: not-allowed;
        opacity: 0.55;
    }

@keyframes microphonePulse {
    50% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.14);
    }
}

.chat-input-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: #94a3b8;
    font-size: 11px;
}

/* ========================================
   TRAINING CONTROL
======================================== */

.training-control-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    margin-top: 22px;
    padding: 22px 24px;
}

    .training-control-panel h3 {
        margin: 0 0 5px;
        color: #0f172a;
        font-size: 18px;
    }

    .training-control-panel p {
        margin: 0;
        color: #64748b;
        font-size: 13px;
    }

.finish-training-button {
    flex-shrink: 0;
    padding: 14px 20px;
    border: none;
    border-radius: 14px;
    background: #0f172a;
    color: #ffffff;
    cursor: pointer;
    font-weight: 800;
}

/* ========================================
   CHAT MOBILE
======================================== */

@media (max-width: 850px) {
    .training-status-panel {
        grid-template-columns: 1fr;
    }

    .training-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .anger-panel {
        grid-column: auto;
    }

    .chat-message {
        max-width: 92%;
    }
}

@media (max-width: 600px) {
    .training-chat-container {
        width: min(100% - 18px, 1180px);
        padding-top: 12px;
    }

    .training-chat-header h1 {
        font-size: 16px;
    }

    .training-status-panel {
        padding: 18px;
        border-radius: 18px;
    }

    .training-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .chat-panel {
        border-radius: 18px;
    }

    .chat-messages {
        height: 430px;
        padding: 16px 12px;
    }

    .chat-message {
        max-width: 96%;
    }

    .chat-input-area {
        padding: 15px 12px;
    }

    .chat-input-row {
        grid-template-columns: 1fr auto;
    }

        .chat-input-row textarea {
            grid-column: 1 / -1;
        }

    .send-message-button,
    .voice-input-button {
        min-height: 48px;
    }

    .chat-input-footer {
        display: none;
    }

    .training-control-panel {
        flex-direction: column;
        align-items: stretch;
        border-radius: 18px;
    }

    .finish-training-button {
        width: 100%;
    }
}
/* ========================================
   RESULT PAGE
======================================== */

.result-body {
    min-height: 100vh;
    background: #eef3f9;
}


.result-container {
    width: min( 1050px, calc(100% - 32px) );
    margin: 0 auto;
    padding: 32px 0 70px;
}


/* ========================================
   RESULT HERO
======================================== */

.result-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 38px;
    border-radius: 28px;
    background: radial-gradient( circle at top right, rgba( 255, 255, 255, 0.22 ), transparent 30% ), linear-gradient( 135deg, #2563eb, #172554 );
    color: #ffffff;
    box-shadow: 0 20px 45px rgba( 30, 64, 175, 0.25 );
}


.result-label {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.15em;
    opacity: 0.8;
}


.result-score {
    margin: 8px 0;
    font-size: 68px;
    font-weight: 900;
    line-height: 1;
}


    .result-score small {
        font-size: 20px;
        opacity: 0.7;
    }


.result-score-area p {
    margin: 12px 0 0;
    opacity: 0.9;
}


.result-rank {
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba( 255, 255, 255, 0.15 );
    border: 2px solid rgba( 255, 255, 255, 0.35 );
}


    .result-rank span {
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.15em;
    }


    .result-rank strong {
        font-size: 72px;
        line-height: 1;
    }



/* ========================================
   INFORMATION
======================================== */

.result-information {
    display: grid;
    grid-template-columns: repeat( 3, 1fr );
    gap: 14px;
    margin-top: 22px;
}


    .result-information div {
        padding: 18px;
        border-radius: 17px;
        background: #ffffff;
        box-shadow: 0 10px 28px rgba( 15, 23, 42, 0.06 );
    }


    .result-information span {
        display: block;
        margin-bottom: 6px;
        color: #64748b;
        font-size: 12px;
    }


    .result-information strong {
        color: #0f172a;
        font-size: 14px;
    }



/* ========================================
   RESULT SECTION
======================================== */

.result-section {
    margin-top: 22px;
    padding: 28px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba( 15, 23, 42, 0.07 );
}


.result-section-title {
    margin-bottom: 22px;
}


    .result-section-title span {
        color: #2563eb;
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.12em;
    }


    .result-section-title h2 {
        margin: 5px 0 0;
        color: #0f172a;
        font-size: 23px;
    }



/* ========================================
   SCORE LIST
======================================== */

.score-list {
    display: grid;
    gap: 20px;
}


.score-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}


    .score-item-header span {
        color: #334155;
        font-weight: 700;
    }


    .score-item-header strong {
        color: #2563eb;
    }


.score-progress {
    height: 11px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}


.score-progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient( 90deg, #60a5fa, #2563eb );
}



/* ========================================
   FEEDBACK
======================================== */

.feedback-list {
    display: grid;
    gap: 12px;
}


.feedback-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 15px;
}


    .feedback-item p {
        margin: 0;
        color: #334155;
        line-height: 1.7;
        font-size: 14px;
    }


.feedback-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 900;
}


.feedback-list.good
.feedback-item {
    background: #f0fdf4;
}


.feedback-list.good
.feedback-icon {
    background: #dcfce7;
    color: #15803d;
}


.feedback-list.improvement
.feedback-item {
    background: #fff7ed;
}


.feedback-list.improvement
.feedback-icon {
    background: #ffedd5;
    color: #c2410c;
}



/* ========================================
   MODEL ANSWER
======================================== */

.model-answer-section
blockquote {
    margin: 0;
    padding: 20px;
    border-left: 5px solid #2563eb;
    border-radius: 0 16px 16px 0;
    background: #eff6ff;
    color: #1e3a8a;
    line-height: 1.9;
}



/* ========================================
   ACTION BUTTON
======================================== */

.result-action-area {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}


.result-retry-button,
.result-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 15px 20px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
}


.result-retry-button {
    background: linear-gradient( 135deg, #2563eb, #1e3a8a );
    color: #ffffff;
}


.result-home-button {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}



/* ========================================
   RESULT MOBILE
======================================== */

@media (max-width: 700px) {

    .result-hero {
        padding: 26px;
    }


    .result-score {
        font-size: 54px;
    }


    .result-rank {
        width: 105px;
        height: 105px;
    }


        .result-rank strong {
            font-size: 50px;
        }


    .result-information {
        grid-template-columns: repeat( 2, 1fr );
    }


    .result-section {
        padding: 22px 18px;
    }


    .result-action-area {
        flex-direction: column;
    }


    .result-retry-button,
    .result-home-button {
        width: 100%;
    }
}