   /* ============================================================
   Missing Factor — Per-Game Styles
   /maths/css/missingfactor.css
   ============================================================ */

:root {
    --primary-color:        #f093fb;
    --primary-hover:        #e67fe8;
    --primary-light:        rgba(240, 147, 251, 0.12);
    --primary-shadow:       rgba(240, 147, 251, 0.35);
    --btn-text-color:       #d81b60;
    --hero-gradient-start:  rgba(240, 147, 251, 0.18);
    --hero-gradient-end:    rgba(245, 87, 108, 0.08);
}

/* ===== QUESTION DISPLAY ===== */

.question-display {
    font-family: 'Courier New', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: #212529;
    text-align: center;
    margin: 1.5rem 0 1rem;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* ===== ANSWER INPUT ===== */

.answer-input {
    display: block;
    margin: 0 auto 1rem;
    width: 140px;
    height: 72px;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    font-family: 'Courier New', monospace;
    border: 3px solid var(--primary-color);
    border-radius: 14px;
    background: var(--primary-light);
    color: #212529;
    transition: all 0.2s ease;
    -moz-appearance: textfield;
}

.answer-input::-webkit-outer-spin-button,
.answer-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.answer-input:focus {
    outline: none;
    border-color: var(--primary-hover);
    background: #fff;
    box-shadow: 0 0 0 3px var(--primary-shadow);
}

/* ===== SUBMIT BUTTON ===== */

.btn-submit {
    display: block;
    margin: 0 auto;
    padding: 0.85rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    background: var(--primary-color);
    color: var(--btn-text-color);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px var(--primary-shadow);
}

.btn-submit:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

/* ===== FEEDBACK ICON ===== */

.feedback-icon {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    min-height: 2.5rem;
    margin: 0.5rem 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.feedback-icon.show    { opacity: 1; }
.feedback-icon.correct   { color: #28a745; }
.feedback-icon.incorrect { color: #dc3545; }