/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --brand-purple: #825fff;
    --brand-blue:   #7bcefe;
    --brand-pink:   #ff6b9d;
    --brand-gold:   #ffd700;
    --bg-dark:      #1a1033;
    --bg-card:      rgba(255,255,255,0.08);
    --bg-card-solid: rgba(255,255,255,0.14);
    --text-main:    #ffffff;
    --text-muted:   rgba(255,255,255,0.6);
    --radius:       14px;
    --radius-sm:    8px;
    --shadow:       0 8px 32px rgba(0,0,0,0.35);
    --correct:      #22c55e;
    --wrong:        #ef4444;
    --transition:   0.2s ease;
}

html, body, #app {
    height: 100%;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    overscroll-behavior: none;
}

fieldset {
    border: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 340px;
}
fieldset:has(.mode-grid) {
    max-width: 680px;
}
fieldset:has(.mode-grid--horizontal) {
    max-width: 680px;
    overflow: visible;
}

.c {
    text-align: center;
}

/* ── Screen wrapper ─────────────────────────────────────────────────────────── */
.screen {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(145deg, #1a1033 0%, #0f1f3d 100%);
    position: relative;
    overflow: hidden;
}

.screen::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(0deg, rgba(130,95,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(130,95,255,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* ── Logo ───────────────────────────────────────────────────────────────────── */
.logo {
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 0.25em;
    animation: pop-in 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
.logo__party { color: var(--brand-purple); }
.logo__quiz  { color: var(--brand-blue); }

.logo-img {
    width: clamp(180px, 50vw, 340px);
    height: auto;
    margin-bottom: 0.5rem;
    animation: pop-in 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
    filter: drop-shadow(0 4px 24px rgba(130,95,255,0.35));
}
.logo-img--sm {
    width: clamp(100px, 25vw, 160px);
    margin-bottom: 0.25rem;
    animation: none;
    filter: drop-shadow(0 2px 12px rgba(130,95,255,0.25));
}

.tagline {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

@keyframes pop-in {
    from { transform: scale(0.5) rotate(-10deg); opacity: 0; }
    to   { transform: scale(1)   rotate(0deg);   opacity: 1; }
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter var(--transition), transform var(--transition);
    text-decoration: none;
}
.btn:hover:not(:disabled) { filter: brightness(1.15); transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:disabled  { opacity: 0.5; cursor: not-allowed; }

.btn--primary   { background: linear-gradient(135deg, var(--brand-purple), var(--brand-blue)); color: #fff; }
.btn--secondary { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn--ghost     { background: transparent; color: var(--text-muted); border: 1px solid rgba(255,255,255,0.15); }
.btn--back      { background: transparent; color: var(--text-muted); border: none; align-self: flex-start; padding: 0.3em 0; font-size: 0.9rem; margin-bottom: 1rem; }
.btn--quit      { background: transparent; color: var(--text-muted); border: 1px solid rgba(255,255,255,0.12); font-size: 0.8rem; padding: 0.4em 1em; margin-top: auto; align-self: center; opacity: 0.7; transition: opacity 0.15s; }
.btn--quit:hover { opacity: 1; border-color: rgba(255,100,100,0.4); color: #ff8888; }
.btn--wide      { width: 100%; max-width: 340px; padding: 1em; font-size: 1.1rem; }
.btn--buzz      {
    width: 160px; height: 160px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-pink), #ff9a3c);
    font-size: 1.4rem; font-weight: 900;
    box-shadow: 0 0 40px rgba(255,107,157,0.5);
    animation: pulse-buzz 1s ease-in-out infinite;
}
@keyframes pulse-buzz {
    0%,100% { transform: scale(1); box-shadow: 0 0 40px rgba(255,107,157,0.5); }
    50%      { transform: scale(1.05); box-shadow: 0 0 60px rgba(255,107,157,0.8); }
}

.home-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 300px;
}

/* ── Form inputs ─────────────────────────────────────────────────────────────── */
label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    margin-top: 1rem;
    align-self: flex-start;
    width: 100%;
    text-align:center;
}
.input {
    width: 100%;
    max-width: 340px;
    padding: 0.8em 1em;
    background: var(--bg-card-solid);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition);
}
.input:focus { border-color: var(--brand-purple); }
.input--code  { text-align: center; letter-spacing: 0.3em; font-size: 1.4rem; font-weight: 800; text-transform: uppercase; }

.error { color: #f87171; margin-top: 0.5rem; font-size: 0.9rem; }

/* ── Mode grid ───────────────────────────────────────────────────────────────── */
.screen--setup { justify-content: flex-start; padding-top: 3rem; gap: 1rem; }

.mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
    width: 100%;
    max-width: 680px;
    margin-bottom: 1.5rem;
}
.mode-grid--small { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); max-width: 500px; }

.mode-grid--horizontal {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.6rem;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-purple) transparent;
    /* Ensure first & last items aren't clipped */
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}
.mode-grid--horizontal::-webkit-scrollbar { height: 4px; }
.mode-grid--horizontal::-webkit-scrollbar-track { background: transparent; }
.mode-grid--horizontal::-webkit-scrollbar-thumb { background: var(--brand-purple); border-radius: 4px; }
.mode-grid--horizontal .mode-card {
    flex: 0 0 auto;
    min-width: 100px;
    max-width: 120px;
    scroll-snap-align: start;
    padding: 0.75rem 0.6rem;
}

@media (max-width: 580px) {
    .mode-grid:not(.mode-grid--horizontal)       { grid-template-columns: repeat(3, 1fr); }
    .mode-grid--small:not(.mode-grid--horizontal) { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .mode-grid:not(.mode-grid--horizontal)       { grid-template-columns: repeat(2, 1fr); }
    .mode-grid--small:not(.mode-grid--horizontal) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 320px) {
    .mode-grid:not(.mode-grid--horizontal)       { grid-template-columns: 1fr; }
    .mode-grid--small:not(.mode-grid--horizontal) { grid-template-columns: 1fr; }
}

.mode-card {
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 1rem 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    display: flex; flex-direction: column; gap: 0.35rem;
    color: var(--text-main);
}
.mode-card:hover         { background: var(--bg-card-solid); border-color: var(--brand-purple); }
.mode-card--active       { border-color: var(--brand-purple); background: rgba(130,95,255,0.2); }
.mode-card__icon         { font-size: 1.8rem; }
.mode-card__name         { font-weight: 800; font-size: 0.85rem; }
.mode-card__desc         { font-size: 0.7rem; color: var(--text-muted); line-height: 1.3; }

/* ── Lobby ───────────────────────────────────────────────────────────────────── */
.lobby-header { text-align: center; margin-bottom: 1rem; }
.lobby-header h2 { font-size: 2rem; }
.game-id     { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.3rem; }
.game-id strong { color: var(--brand-gold); font-size: 1.3rem; letter-spacing: 0.2em; }

.mode-badge {
    background: var(--bg-card-solid);
    border-radius: 99px;
    padding: 0.4em 1em;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.player-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    max-width: 500px;
}
.player-chip {
    background: var(--bg-card-solid);
    border-radius: 99px;
    padding: 0.4em 1em;
    font-size: 0.9rem;
    display: flex; align-items: center; gap: 0.4rem;
}
.player-chip--you    { border: 1px solid var(--brand-purple); }
.player-chip__you    { font-size: 0.7rem; background: var(--brand-purple); border-radius: 99px; padding: 0.1em 0.5em; }
.player-chip__host   { font-size: 0.7rem; background: var(--brand-gold); color: #000; border-radius: 99px; padding: 0.1em 0.5em; }

.minigame-section { margin-bottom: 1.5rem; text-align: center; }
.minigame-section h3 { color: var(--text-muted); margin-bottom: 0.75rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ── Mini-Game Picker (styles now scoped in MiniGamePicker.vue) ──────────── */

/* ── Pack picker (styles now scoped in PackPicker.vue) ─────────────────── */

.field-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.lobby-actions { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-top: 0.5rem; }
.waiting { color: var(--text-muted); font-size: 0.9rem; }

/* ── Round progress tracker ───────────────────────────────────────────────── */
.round-tracker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0.6rem 1rem;
    width: 100%;
    max-width: 680px;
    flex-wrap: wrap;
}
.round-tracker__step {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.round-tracker__step--upcoming {
    background: rgba(255,255,255,0.08);
    color: var(--text-muted);
    border: 1.5px solid rgba(255,255,255,0.1);
}
.round-tracker__step--active {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-blue));
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    box-shadow: 0 0 12px rgba(130,95,255,0.6);
    transform: scale(1.2);
}
.round-tracker__step--completed {
    background: rgba(34,197,94,0.25);
    color: var(--correct);
    border: 1.5px solid rgba(34,197,94,0.4);
}
.round-tracker__step--next {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-blue));
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    transform: scale(1.25);
    animation: step-pulse 1.2s ease-in-out infinite;
}
@keyframes step-pulse {
    0%, 100% { box-shadow: 0 0 8px rgba(130,95,255,0.4); transform: scale(1.25); }
    50%      { box-shadow: 0 0 20px rgba(130,95,255,0.8); transform: scale(1.35); }
}
.round-tracker__step--minigame.round-tracker__step--next {
    background: linear-gradient(135deg, var(--brand-pink), #ff9a3c);
    animation: step-pulse-mini 1.2s ease-in-out infinite;
}
@keyframes step-pulse-mini {
    0%, 100% { box-shadow: 0 0 8px rgba(255,107,157,0.4); transform: scale(1.25); }
    50%      { box-shadow: 0 0 20px rgba(255,107,157,0.8); transform: scale(1.35); }
}
.round-tracker__step--minigame {
    border-radius: 6px;
    font-size: 0.8rem;
}
.round-tracker__step--minigame.round-tracker__step--upcoming {
    background: rgba(255,107,157,0.1);
    border-color: rgba(255,107,157,0.2);
}
.round-tracker__step--minigame.round-tracker__step--active {
    background: linear-gradient(135deg, var(--brand-pink), #ff9a3c);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 0 12px rgba(255,107,157,0.6);
}
.round-tracker__step--minigame.round-tracker__step--completed {
    background: rgba(255,107,157,0.2);
    border-color: rgba(255,107,157,0.3);
    color: var(--brand-pink);
}

/* ── Countdown ───────────────────────────────────────────────────────────────── */
.screen--countdown { gap: 1rem; }
.countdown-badge { font-size: 5rem; animation: pop-in 0.4s ease both; }

.spinner {
    width: 48px; height: 48px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: var(--brand-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-top: 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Game screen ─────────────────────────────────────────────────────────────── */
.screen--game { justify-content: flex-start; padding-top: 0; gap: 0; }

.progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255,255,255,0.1);
}
.progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-purple), var(--brand-blue));
    transition: width 0.25s linear;
}

.q-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    width: 100%;
    flex-shrink: 0;
}
.q-number    { font-weight: 800; font-size: 0.9rem; color: var(--text-main); }
.q-total     { font-weight: 400; color: var(--text-muted); }
.mode-pill   { background: var(--bg-card); border-radius: 99px; padding: 0.2em 0.8em; font-size: 0.78rem; margin-left: auto; }
.timer-pill  { background: rgba(130,95,255,0.3); border-radius: 99px; padding: 0.2em 0.8em; font-size: 0.85rem; font-weight: 800; min-width: 56px; text-align: center; }
.timer-pill--urgent { background: rgba(239,68,68,0.4); animation: pulse-timer 0.5s ease-in-out infinite; }
@keyframes pulse-timer { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }

.question-card {
    background: var(--bg-card-solid);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    margin: 0 1rem 1rem;
    box-shadow: var(--shadow);
    width: calc(100% - 2rem);
    max-width: 680px;
    align-self: center;
}
.question-text {
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0 1rem;
    width: 100%;
    max-width: 680px;
    align-self: center;
}
/* 1 column for 2 options (true/false) */
.options-grid--cols-1 {
    grid-template-columns: 1fr;
    max-width: 420px;
}
/* 3 columns for 3, 5 or 6 options */
.options-grid--cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 780px;
}
.option-btn {
    background: var(--bg-card-solid);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 0.85em 0.75em;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.option-btn:hover:not(:disabled) { background: var(--bg-card); border-color: var(--brand-purple); transform: translateY(-1px); }
.option-btn:disabled { cursor: default; }
.option-btn--correct  { background: rgba(34,197,94,0.25) !important; border-color: var(--correct) !important; }
.option-btn--wrong    { background: rgba(239,68,68,0.25) !important; border-color: var(--wrong) !important; }
.option-btn--selected { background: rgba(139,92,246,0.25) !important; border-color: var(--brand-purple) !important; }
.option-letter {
    width: 28px; height: 28px;
    border-radius: 6px;
    background: rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    font-weight: 900;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.option-text { flex: 1; }

.lives { text-align: center; margin: 0.5rem; font-size: 1.2rem; letter-spacing: 2px; }

.score-ticker {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    margin-top: auto;
}
.score-ticker__item strong { color: var(--brand-gold); }

/* ── Reveal screen ───────────────────────────────────────────────────────────── */
.screen--reveal { gap: 1.25rem; }

.reveal-card {
    padding: 1.75rem;
    border-radius: var(--radius);
    text-align: center;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow);
    animation: pop-in 0.3s ease both;
}
.reveal-card--correct { background: rgba(34,197,94,0.15); border: 2px solid var(--correct); }
.reveal-card--wrong   { background: rgba(239,68,68,0.15); border: 2px solid var(--wrong); }
.reveal-icon   { font-size: 2.5rem; margin-bottom: 0.5rem; }
.reveal-answer { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; }
.reveal-points { font-size: 1.2rem; font-weight: 800; margin-top: 0.25rem; }
.reveal-points--gained { color: var(--brand-gold); }
.reveal-points--zero   { color: rgba(255,255,255,0.45); }
.streak-bonus  { display: inline-block; margin-left: 0.5rem; font-size: 0.9rem; color: #fb923c; }
.first-bonus   { display: inline-block; margin-left: 0.5rem; font-size: 0.9rem; color: #60a5fa; }

.scoreboard-mini {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
}
.scoreboard-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.scoreboard-row:last-child { border-bottom: none; }
.scoreboard-row--you { background: rgba(130,95,255,0.18); }
.scoreboard-rank  { width: 28px; font-weight: 800; color: var(--text-muted); font-size: 0.8rem; }
.scoreboard-name  { flex: 1; font-weight: 600; font-size: 0.9rem; }
.scoreboard-score { font-weight: 800; color: var(--brand-gold); }
.streak-icon      { font-size: 0.85rem; }

.next-hint { color: var(--text-muted); font-size: 0.8rem; }

/* ── Mini-game screen ────────────────────────────────────────────────────────── */
.screen--minigame { gap: 1.5rem; }

.minigame-intro  { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.minigame-icon   { font-size: 5rem; animation: pop-in 0.4s ease both; }
.minigame-for    { color: var(--brand-gold); font-weight: 800; font-size: 1rem; }

.minigame-question { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; }

/* ── Mini-game results ───────────────────────────────────────────────────────── */
.minigame-results { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; animation: fade-in 0.3s ease both; }
.minigame-results__headline { font-size: 1.35rem; font-weight: 800; color: var(--brand-gold); }
.minigame-results__answer { color: var(--text-muted); font-size: 0.95rem; }
.minigame-results__answer strong { color: var(--brand-green, #4caf50); }
.minigame-results__entries { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; max-width: 26rem; }
.minigame-results__entry {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.65rem 1rem; border-radius: 0.75rem;
    background: var(--surface-1); font-size: 0.95rem;
}
.minigame-results__entry--correct { border-left: 3px solid var(--brand-green, #4caf50); border-top-left-radius: 0; border-bottom-left-radius: 0; }
.minigame-results__entry--wrong   { border-left: 3px solid var(--brand-red, #f44336); opacity: 0.85; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.minigame-results__icon   { font-size: 1.1rem; flex-shrink: 0; }
.minigame-results__name   { font-weight: 700; white-space: nowrap; }
.minigame-results__detail { margin-left: auto; color: var(--text-muted); font-size: 0.85rem; white-space: nowrap; }

/* ── Doodle Dash ──────────────────────────────────────────────────────────────── */
.doodle-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 500px;
}

.doodle-status {
    font-size: 1rem;
    color: var(--text-main);
    text-align: center;
}
.doodle-word {
    color: var(--brand-gold);
    font-size: 1.3rem;
    letter-spacing: 0.05em;
}

.doodle-category {
    background: rgba(255,255,255,0.08);
    border-radius: 99px;
    padding: 0.15em 0.7em;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.doodle-hint {
    text-align: center;
    margin-bottom: 0.25rem;
}
.doodle-hint__letters {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--brand-blue);
}

/* ── Drawing canvas ──────────────────────────────────────────────────────────── */
.drawing-canvas-wrap {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.drawing-canvas {
    width: 100%;
    aspect-ratio: 1;
    max-width: 400px;
    background: #1c1c2e;
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    cursor: crosshair;
    touch-action: none;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
}

.drawing-toolbar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.4rem 0.75rem;
    background: var(--bg-card);
    border-radius: 99px;
}
.drawing-toolbar__color {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.15s;
}
.drawing-toolbar__color:hover { transform: scale(1.15); }
.drawing-toolbar__color--active { border-color: var(--brand-gold); transform: scale(1.2); }

.drawing-toolbar__width {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    background: transparent;
    transition: border-color 0.15s;
}
.drawing-toolbar__width:hover { border-color: var(--brand-purple); }
.drawing-toolbar__width--active { border-color: var(--brand-gold); background: rgba(255,215,0,0.15); }

.drawing-toolbar__dot {
    border-radius: 50%;
    background: #fff;
    display: block;
}

.drawing-toolbar__btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    background: transparent;
    color: #fff;
    font-size: 0.9rem;
    transition: background 0.15s;
}
.drawing-toolbar__btn:hover { background: rgba(255,255,255,0.1); }

/* ── Guess input ─────────────────────────────────────────────────────────────── */
.doodle-guess {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 400px;
}
.doodle-guess__input {
    flex: 1;
    max-width: none;
}
.doodle-guess__btn {
    flex-shrink: 0;
    padding: 0.8em 1.2em;
}

.doodle-correct-msg {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--correct);
}

/* ── Guess feed ──────────────────────────────────────────────────────────────── */
.doodle-feed {
    width: 100%;
    max-width: 400px;
    max-height: 150px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
}
.doodle-feed__entry {
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.doodle-feed__entry--correct {
    color: var(--correct);
    font-weight: 700;
}

/* ── Hangman mini-game ────────────────────────────────────────────────────── */
.hangman-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 500px;
}

.hangman-category {
    background: rgba(255,255,255,0.08);
    border-radius: 99px;
    padding: 0.15em 0.7em;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hangman-figure {
    width: 160px;
    height: auto;
    flex-shrink: 0;
}

/* Body parts pop in with a playful bounce */
.hangman-part {
    animation: hangman-pop 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes hangman-pop {
    from { opacity: 0; transform: scale(0.5); }
    to   { opacity: 1; transform: scale(1); }
}

/* ── Hangman word blanks ─────────────────────────────────────────────────── */
.hangman-word {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.5rem 0;
}

.hangman-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2.5rem;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 3px solid rgba(255,255,255,0.25);
    color: var(--text-main);
    transition: border-color 0.2s, color 0.2s;
}
.hangman-letter--space {
    width: 1rem;
    border-bottom: none;
}
.hangman-letter--revealed {
    border-color: var(--brand-purple);
    color: var(--brand-blue);
    animation: hangman-letter-in 0.25s ease both;
}
.hangman-letter--solved {
    border-color: var(--correct);
    color: var(--correct);
}
@keyframes hangman-letter-in {
    from { transform: scale(0.6) translateY(4px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

/* ── Hangman keyboard ────────────────────────────────────────────────────── */
.hangman-keyboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    max-width: 400px;
    padding: 0.25rem;
}

.hangman-key {
    width: 36px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(255,255,255,0.15);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.1s, opacity 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hangman-key:hover:not(:disabled) {
    border-color: var(--brand-purple);
    background: var(--bg-card-solid);
    transform: translateY(-1px);
}
.hangman-key:active:not(:disabled) {
    transform: translateY(0);
}
.hangman-key:disabled {
    cursor: default;
    opacity: 0.3;
}
.hangman-key--correct {
    background: rgba(34,197,94,0.2) !important;
    border-color: var(--correct) !important;
    color: var(--correct) !important;
    opacity: 0.7 !important;
}
.hangman-key--wrong {
    background: rgba(239,68,68,0.15) !important;
    border-color: var(--wrong) !important;
    color: var(--wrong) !important;
    opacity: 0.5 !important;
}

/* ── Hangman status messages ─────────────────────────────────────────────── */
.hangman-status {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--correct);
    text-align: center;
    animation: pop-in 0.3s ease both;
}
.hangman-status--dead {
    color: var(--brand-pink);
}
.hangman-status--dead strong {
    color: var(--brand-gold);
}

.hangman-waiting {
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: fade-in 0.5s ease both;
}

/* ── Keepy Uppy mini-game ────────────────────────────────────────────────── */
.keepyuppy-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 500px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.keepyuppy-round {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.keepyuppy-status {
    font-size: 1.1rem;
    font-weight: 800;
    text-align: center;
    animation: pop-in 0.3s ease both;
}
.keepyuppy-status--watching {
    color: var(--brand-blue);
}
.keepyuppy-status--waiting {
    color: var(--text-muted);
}

/* ── Balloon arena ───────────────────────────────────────────────────────── */
.keepyuppy-arena {
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 320px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(59,130,246,0.08) 0%, rgba(236,72,153,0.08) 100%);
    border: 1.5px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

.keepyuppy-ground {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--brand-pink), var(--brand-purple), var(--brand-blue));
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ── Balloon element ─────────────────────────────────────────────────────── */
.keepyuppy-balloon {
    position: absolute;
    transform: translateX(-50%);
    font-size: 4rem;
    line-height: 1;
    transition: top 0.05s linear;
    filter: drop-shadow(0 4px 12px rgba(236,72,153,0.35));
}

.keepyuppy-balloon--bg {
    top: 30%;
    font-size: 3rem;
    opacity: 0.35;
    animation: keepyuppy-bg-float 2s ease-in-out infinite;
}

.keepyuppy-balloon--bg.keepyuppy-balloon--bounce {
    animation: keepyuppy-bg-bounce 0.5s ease both;
}

.keepyuppy-balloon--active {
    z-index: 2;
    cursor: pointer;
    /* Generous tap target — invisible padding around the emoji */
    padding: 1rem;
    margin: -1rem;
}

.keepyuppy-balloon--tapped {
    animation: keepyuppy-tap-bounce 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}

.keepyuppy-balloon--fallen {
    animation: keepyuppy-pop 0.35s ease both;
}

@keyframes keepyuppy-bg-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-12px); }
}

@keyframes keepyuppy-bg-bounce {
    0%   { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.35; }
    30%  { transform: translateX(-50%) translateY(-30px) scale(1.15); opacity: 0.5; }
    100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.35; }
}

@keyframes keepyuppy-tap-bounce {
    0%   { transform: translateX(-50%) scale(1); }
    30%  { transform: translateX(-50%) translateY(-40px) scale(1.25); }
    60%  { transform: translateX(-50%) translateY(-50px) scale(1.1); opacity: 0.7; }
    100% { transform: translateX(-50%) translateY(-60px) scale(0.8); opacity: 0; }
}

@keyframes keepyuppy-pop {
    0%   { transform: translateX(-50%) scale(1); opacity: 1; }
    50%  { transform: translateX(-50%) scale(1.4); opacity: 0.5; }
    100% { transform: translateX(-50%) scale(0); opacity: 0; }
}

/* ── Tap prompt ──────────────────────────────────────────────────────────── */
.keepyuppy-tap-prompt {
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-gold);
    animation: keepyuppy-pulse 0.6s ease-in-out infinite alternate;
}
.keepyuppy-tap-prompt--nice {
    color: var(--correct);
    animation: pop-in 0.3s ease both;
}
.keepyuppy-tap-prompt--fail {
    color: var(--brand-pink);
    animation: pop-in 0.3s ease both;
}

@keyframes keepyuppy-pulse {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}

/* ── Score rows ──────────────────────────────────────────────────────────── */
.keepyuppy-scores {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
    max-width: 320px;
}

.keepyuppy-score-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    font-size: 0.8rem;
    transition: background 0.2s, border-color 0.2s;
    border: 1.5px solid transparent;
}
.keepyuppy-score-row--active {
    border-color: var(--brand-gold);
    background: rgba(255,215,0,0.08);
}
.keepyuppy-score-row--self .keepyuppy-score-name {
    font-weight: 800;
    color: var(--brand-blue);
}

.keepyuppy-score-name {
    font-weight: 600;
}
.keepyuppy-score-pts {
    font-weight: 700;
    color: var(--brand-gold);
}

/* ── Unscramble mini-game ────────────────────────────────────────────────── */
.unscramble-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 500px;
}

.unscramble-category {
    background: rgba(255,255,255,0.08);
    border-radius: 99px;
    padding: 0.15em 0.7em;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Scrambled word tiles ────────────────────────────────────────────────── */
.unscramble-scrambled {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    padding: 1rem 0;
}

.unscramble-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 3rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    background: var(--bg-card);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    animation: unscramble-pop 0.3s ease both;
    animation-delay: calc(var(--i, 0) * 0.05s);
}
.unscramble-tile--solved {
    border-color: var(--correct);
    color: var(--correct);
    background: rgba(34,197,94,0.12);
}
@keyframes unscramble-pop {
    from { transform: scale(0.5) rotate(8deg); opacity: 0; }
    to   { transform: scale(1) rotate(0); opacity: 1; }
}

/* ── Attempt tracker dots ────────────────────────────────────────────────── */
.unscramble-attempts {
    display: flex;
    gap: 0.4rem;
    font-size: 1rem;
}
.unscramble-attempt-dot {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    transition: color 0.2s;
}
.unscramble-attempt-dot--used {
    color: var(--wrong);
    animation: pop-in 0.25s ease both;
}

/* ── Wrong guess feedback ────────────────────────────────────────────────── */
.unscramble-wrong-feedback {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--wrong);
    animation: pop-in 0.25s ease both;
    text-align: center;
}

/* ── Input area ──────────────────────────────────────────────────────────── */
.unscramble-input-area {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 360px;
}
.unscramble-input {
    flex: 1;
    padding: 0.6rem 0.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255,255,255,0.15);
    background: var(--bg-card);
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s;
    text-align: center;
    letter-spacing: 0.08em;
}
.unscramble-input:focus {
    border-color: var(--brand-purple);
}
.unscramble-submit {
    flex-shrink: 0;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
}

/* ── Status messages ─────────────────────────────────────────────────────── */
.unscramble-status {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--correct);
    text-align: center;
    animation: pop-in 0.3s ease both;
}
.unscramble-status--dead {
    color: var(--brand-pink);
}
.unscramble-status--dead strong {
    color: var(--brand-gold);
}
.unscramble-waiting {
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: fade-in 0.5s ease both;
}

/* ── Mini-Games Setup ────────────────────────────────────────────────────── */
.setup-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
}
.minigame-count-picker {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}
.minigame-count-picker .mode-card {
    min-width: 64px;
    padding: 0.75rem 0.5rem;
}
.game-length-picker {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}
.game-length-picker .mode-card {
    min-width: 80px;
    padding: 0.65rem 0.5rem;
}
.setup-flow-pick {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 340px;
}
.setup-flow-pick .btn { flex: 1; }

/* ── Finished screen ─────────────────────────────────────────────────────────── */
.screen--finished { gap: 1.25rem; }
.fireworks       { font-size: 4rem; animation: pop-in 0.4s ease both; }
.winner-label    { font-size: 2rem; font-weight: 900; text-align: center; }

.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.podium-entry {
    display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
    background: var(--bg-card-solid);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    min-width: 90px;
}
.podium-entry[data-rank="1"] { transform: translateY(-10px); background: rgba(255,215,0,0.15); border: 1px solid var(--brand-gold); }
.podium-medal  { font-size: 1.8rem; }
.podium-name   { font-weight: 700; font-size: 0.85rem; text-align: center; }
.podium-score  { color: var(--brand-gold); font-weight: 800; font-size: 0.9rem; }

.leaderboard { width: 100%; max-width: 400px; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; }

/* Solo final score */
.solo-final-score { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; margin: 0.25rem 0; }
.solo-final-score__value { font-size: 3.5rem; font-weight: 900; color: var(--brand-gold); line-height: 1; }
.solo-final-score__label { font-size: 1rem; font-weight: 600; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.05em; }

/* Tie indicators */
.tie-names { text-align: center; font-size: 1rem; font-weight: 600; opacity: 0.85; margin-top: -0.5rem; }
.podium-tied { font-size: 0.65rem; font-weight: 800; color: var(--brand-gold); background: rgba(255,215,0,0.2); border: 1px solid var(--brand-gold); padding: 0.1rem 0.4rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }

.finished-actions { display: flex; gap: 0.75rem; margin-top: 0.5rem; }

/* ── Three-dot menu ──────────────────────────────────────────────────────────── */
.dot-menu {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 50;
}
.dot-menu__trigger {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}
.dot-menu__trigger:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--brand-purple);
}
.dot-menu__icon {
    font-size: 1.4rem;
    line-height: 1;
    color: var(--text-main);
    user-select: none;
}
.dot-menu__dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 180px;
    background: #24203a;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 36px rgba(0,0,0,0.5);
    overflow: hidden;
    transform-origin: top left;
}
.dot-menu__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    text-align: left;
}
.dot-menu__item:hover {
    background: rgba(255,255,255,0.08);
}
.dot-menu__item + .dot-menu__item {
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Dropdown transition */
.dropdown-enter-active { animation: dropdown-in 0.15s ease-out; }
.dropdown-leave-active { animation: dropdown-in 0.1s ease-in reverse; }
@keyframes dropdown-in {
    from { opacity: 0; transform: scale(0.9) translateY(-4px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Debug log ───────────────────────────────────────────────────────────────── */
#log {
    position: fixed;
    bottom: 3rem; left: 0;
    width: min(100%, 340px);
    max-height: 220px;
    overflow-y: auto;
    background: rgba(0,0,0,0.85);
    border-top-right-radius: var(--radius);
    padding: 0.75rem;
    font-size: 0.72rem;
    color: #aaa;
    z-index: 100;
}
.log-entry   { border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0.2rem 0; }
.log-close   { position: absolute; top: 0.5rem; right: 0.5rem; background: none; border: none; color: #aaa; cursor: pointer; font-size: 0.9rem; }
.log-toggle  {
    position: fixed; bottom: 0.5rem; left: 0.5rem;
    background: rgba(0,0,0,0.6); border: none; color: #aaa;
    border-radius: 99px; padding: 0.3em 0.7em;
    font-size: 0.85rem; cursor: pointer; z-index: 101;
}

/* ── Reconnecting / Disconnect overlay ───────────────────────────────────── */
.reconnecting-screen {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(145deg, #1a1033 0%, #0f1f3d 100%);
}

.reconnecting-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

.reconnecting-card h2 {
    font-size: 1.4rem;
}

.reconnecting-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.reconnecting-spinner {
    width: 40px; height: 40px;
    border: 4px solid rgba(255,255,255,0.15);
    border-top-color: var(--brand-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.disconnect-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

/* ── Settings dot & dialog ────────────────────────────────────────────────── */
.settings-dot {
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 210;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.15s;
}
.settings-dot:hover { background: rgba(0,0,0,0.55); }

.settings-dot__indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background-color 0.3s;
}
.dot--on  { background-color: #22c55e; }
.dot--off { background-color: rgba(255,255,255,0.25); }

.settings-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0.3);
}

.settings-dialog {
    position: fixed;
    top: 2.4rem;
    right: 0.5rem;
    z-index: 210;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0.5rem;
    padding: 0.3rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.settings-dialog__btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.85);
    font-size: 0.65rem;
    padding: 0.3rem 0.55rem;
    border-radius: 0.3rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.12s;
}
.settings-dialog__btn:hover { background: rgba(255,255,255,0.1); }

/* dialog transition */
.dialog-enter-active,
.dialog-leave-active {
    transition: opacity 0.15s ease;
}
.dialog-enter-from,
.dialog-leave-to {
    opacity: 0;
}

/* ── Build info ──────────────────────────────────────────────────────────────── */
.build-info {
    position: fixed;
    bottom: 0.4rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
}
:root {
		--accent: 136, 58, 234;
		--accent-light: 224, 204, 250;
		--accent-dark: 49, 10, 101;
		--accent-gradient: linear-gradient(
			45deg,
			rgb(var(--accent)),
			rgb(var(--accent-light)) 30%,
			white 60%
		);
	}
	html {
		font-family: system-ui, sans-serif;
		background: #13151a;
	}
	code {
		font-family:
			Menlo,
			Monaco,
			Lucida Console,
			Liberation Mono,
			DejaVu Sans Mono,
			Bitstream Vera Sans Mono,
			Courier New,
			monospace;
	}