#gameScreen {
    gap: 10px;
}

.intro-cue {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 3;
    pointer-events: none;
    background: #fff;
    text-align: center;
    padding: 24px;
}

.intro-cue.show {
    display: flex;
}

.intro-cue.show ~ #canvas,
.listen-cue.show ~ #canvas,
.number-flash.show ~ #canvas {
    visibility: hidden;
}

.intro-kicker {
    margin: 0;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.intro-title {
    margin: 0;
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-transform: uppercase;
    color: #101828;
}

.listen-cue {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 3;
    pointer-events: none;
    background: #fff;
    text-align: center;
    padding: 24px;
}

.listen-cue.show {
    display: flex;
}

.listen-pulse {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid rgba(0, 168, 132, 0.35);
    margin-bottom: 8px;
    animation: listen-pulse 1.1s ease-out infinite;
}

.listen-pulse::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 168, 132, 0.35) 0%, rgba(0, 168, 132, 0.08) 55%, transparent 70%);
}

@keyframes listen-pulse {
    0% {
        transform: scale(0.85);
        opacity: 0.95;
    }
    70% {
        transform: scale(1.15);
        opacity: 0.35;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.listen-kicker {
    margin: 0;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.listen-title {
    margin: 0;
    font-size: clamp(2.4rem, 12vw, 3.6rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #101828;
}

.listen-sub {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.number-flash {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: clamp(3.5rem, 22vw, 7rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #101828;
    z-index: 2;
    pointer-events: none;
    background: #fff;
}

.number-flash.show {
    display: flex;
}

.place-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.place-bar.hidden {
    display: none;
}

.place-meta {
    flex: 1;
    min-width: 0;
}

.place-hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.live-timer {
    margin: 4px 0 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    color: #101828;
}

.btn-check {
    min-width: 140px;
    height: 52px;
    font-size: 1.05rem;
    padding: 0 28px;
}

#canvas.interactive {
    cursor: pointer;
    touch-action: none;
}

#stage.placing {
    flex: 1;
}

.feedback-time {
    margin: 10px 0 0;
    font-size: clamp(1.4rem, 6vw, 1.9rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    color: #101828;
}

.language-row {
    margin-top: 14px;
}

.language-row.hidden {
    display: none;
}

.language-select {
    width: 100%;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #eef1f6;
    color: var(--text);
    font: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0 12px;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #101828 50%),
        linear-gradient(135deg, #101828 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.language-select:focus {
    outline: none;
    border-color: #101828;
}

@media (orientation: portrait) and (max-width: 480px) {
    .btn-check {
        height: 56px;
        min-width: 150px;
    }

    .number-flash {
        font-size: clamp(4rem, 24vw, 6.5rem);
    }
}
