    /* ============================================================
   Convert Measurement — Per-Game Styles
   /maths/css/convertmeasurement.css
   ============================================================ */

:root {
    --primary-color:        #FF5154;
    --primary-hover:        #E63946;
    --primary-light:        rgba(255, 81, 84, 0.10);
    --primary-shadow:       rgba(255, 81, 84, 0.30);
    --btn-text-color:       #fff;
    --hero-gradient-start:  rgba(255, 81, 84, 0.15);
    --hero-gradient-end:    rgba(230, 57, 70, 0.08);
}

/* ===== QUESTION TEXT ===== */

.question-text {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 700;
    color: #212529;
    text-align: center;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

/* ===== ANSWER INPUT ROW ===== */

.answer-input-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.answer-input {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    text-align: center;
    padding: 0.85rem 1.5rem;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    width: 220px;
    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-color);
    box-shadow: 0 0 0 3px rgba(255, 81, 84, 0.15);
}

.answer-unit {
    font-size: 1.4rem;
    font-weight: 600;
    color: #6c757d;
}

/* ===== SUBMIT BUTTON ===== */

.submit-btn {
    display: block;
    margin: 0 auto;
    padding: 0.9rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px var(--primary-shadow);
}

.submit-btn:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

/* ===== FEEDBACK LINE ===== */

#feedback {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    min-height: 30px;
    margin-top: 1.25rem;
}