:root {
    --color-bg: #0d0d0d;
    --color-text: #e8e8e8;
    --color-accent: #7fdbca;
    --font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
    --max-width: 64rem;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-mono);
    overflow: hidden;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    padding: 1rem;
    background: transparent;
    pointer-events: none;
}

.topbar h1 {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.tagline {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    opacity: 0.6;
}

.score-line {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
}

.game {
    position: fixed;
    inset: 0;
    touch-action: manipulation;
}

.bubble {
    position: absolute;
    user-select: none;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 1.75rem;
    padding: 0.25rem 0.5rem;
    color: var(--color-accent);
    will-change: transform;
    line-height: 1;
    white-space: nowrap;
}
.bubble.popping { animation: pop 150ms ease-out forwards; pointer-events: none; }
@keyframes pop { to { opacity: 0; transform: scale(1.5); } }
