.numbers-game-page {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    position: relative;
}

.numbers-game-page h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.numbers-game-page > p {
    text-align: center;
    margin-bottom: 1.5rem;
}

.numbers-hud {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.numbers-hud > div {
    background: #fff7df;
    border: 3px solid #ffd166;
    border-radius: 18px;
    padding: 0.9rem;
    text-align: center;
    font-weight: 700;
}

.numbers-hud .label {
    display: block;
    color: #7b6680;
    font-size: 0.9rem;
}

.numbers-feedback {
    min-height: 2.2rem;
    margin-top: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
}

.speak-btn {
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ecdc4, #06d6a0);
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.monster-actions {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.monster-actions button {
    border: none;
    border-radius: 999px;
    padding: 0.9rem 1.4rem;
    font-family: 'Fredoka One', cursive;
    cursor: pointer;
    color: white;
    background: linear-gradient(135deg, #9b5de5, #ff6b8b);
}

.match-page {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    position: relative;
}

.match-prompt-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    align-items: center;
    background: linear-gradient(135deg, #eef7ff, #fff9ef);
    border: 3px dashed #9b5de5;
    border-radius: 24px;
    padding: 1.25rem;
    margin-bottom: 1.4rem;
}

.match-kicker {
    font-size: 0.95rem;
    color: #7b6680;
}

.match-prompt {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2rem, 6vw, 3.6rem);
    color: #2d3047;
    line-height: 1.1;
}

.match-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.match-option {
    border: 3px solid #4ecdc4;
    border-radius: 22px;
    background: white;
    min-height: 150px;
    padding: 1rem;
    font-family: 'Comic Neue', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.match-option:hover,
.match-option:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #ff6b8b;
}

.match-option.is-dots {
    font-size: 2rem;
    line-height: 1.55;
    letter-spacing: 0.08em;
}

@media (max-width: 560px) {
    .match-page {
        padding: 1.25rem;
    }

    .numbers-hud {
        grid-template-columns: 1fr;
    }

    .match-prompt-card {
        grid-template-columns: 1fr;
    }
}
