@font-face { font-family: 'Aldrich'; src: url(vendor/fonts/aldrich.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(vendor/fonts/space-grotesk.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
:root {
  --royal: #0629C7; --royal-hi: #3d5cff; --ink: #120d24; --glass: rgba(14, 12, 32, 0.72); --line: rgba(255, 255, 255, 0.14);
  --yel: #FFD100; --red: #E4032E; --blue: #0033A0; --green: #00A651; --pink: #FF6FB5;
  --sat: env(safe-area-inset-top, 0px); --sar: env(safe-area-inset-right, 0px); --sab: env(safe-area-inset-bottom, 0px); --sal: env(safe-area-inset-left, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #48AEF2; color: #fff; font: 15px/1.4 'Space Grotesk', system-ui, sans-serif; user-select: none; -webkit-user-select: none; touch-action: none; }
#game { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
/* líneas de velocidad (turbo): rayas radiales que giran, con el centro despejado */
#speed { position: fixed; inset: -10%; pointer-events: none; z-index: 5; opacity: 0;
  background: repeating-conic-gradient(from 0deg at 50% 45%, rgba(255,255,255,0.55) 0deg 0.6deg, transparent 0.6deg 7deg);
  -webkit-mask-image: radial-gradient(ellipse 42% 38% at 50% 45%, transparent 55%, #000 100%); mask-image: radial-gradient(ellipse 42% 38% at 50% 45%, transparent 55%, #000 100%);
  animation: speedspin 0.35s linear infinite; }
@keyframes speedspin { to { transform: rotate(7deg); } }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, b, .eyebrow { font-family: 'Aldrich', 'Space Grotesk', sans-serif; font-weight: 400; }

#boot { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--ink); font-family: 'Aldrich'; letter-spacing: .12em; z-index: 50; transition: opacity .5s; }
#boot img { max-width: min(92vw, 880px); max-height: 74vh; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
#boot p { margin: 0; animation: pulse .6s infinite alternate; }
#boot.gone { opacity: 0; pointer-events: none; }
#toast { position: fixed; left: 50%; bottom: calc(18px + var(--sab)); transform: translate(-50%, 20px); z-index: 60; background: rgba(14,12,32,.92); border: 1px solid var(--line); padding: 10px 16px; border-radius: 12px; max-width: 90vw; opacity: 0; pointer-events: none; transition: .25s; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ───── nombre, código y sala en línea ───── */
.nick, .join-row input { width: 100%; background: rgba(255,255,255,.08); border: 1px solid var(--line); border-radius: 10px; color: #fff; font: 600 14px 'Space Grotesk'; padding: 8px 10px; margin-bottom: 8px; }
.nick:focus, .join-row input:focus { outline: 2px solid var(--yel); }
/* nombre + placa del kart (estilo placa colombiana) */
.id-row { display: flex; gap: 8px; align-items: stretch; margin-bottom: 8px; }
.id-row .nick { margin: 0; flex: 1; min-width: 0; }
.plate-in { position: relative; flex: 0 0 104px; display: flex; flex-direction: column; justify-content: center; background: #FFD21F; border: 3px solid #111; border-radius: 8px; padding: 1px 6px 2px; cursor: text; }
.plate-in small { font: 700 8px 'Space Grotesk'; letter-spacing: .2em; color: #111; opacity: .7; line-height: 1; }
.plate-in input { width: 100%; background: none; border: 0; color: #111; font: 20px 'Aldrich'; letter-spacing: .12em; text-transform: uppercase; padding: 0; line-height: 1.1; }
.plate-in input::placeholder { color: rgba(17,17,17,.35); }
.plate-in:focus-within { outline: 2px solid #fff; outline-offset: 1px; }
.join-row { display: flex; gap: 6px; margin-top: 8px; }
.join-row input { margin: 0; font-family: 'Aldrich'; letter-spacing: .25em; text-transform: uppercase; }
#lobby { place-items: center; background: rgba(8, 6, 20, .5); }
.lobby-card { width: min(640px, 94vw); }
.lobby-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lobby-head h2 { margin: 0; }
.code-row { display: flex; align-items: center; gap: 10px; }
.code-row span { font-size: 12px; color: var(--muted, #b9b4cf); text-transform: uppercase; letter-spacing: .14em; }
.code-row b { font-size: 30px; letter-spacing: .22em; color: var(--yel); }
.players { list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.players li { display: grid; grid-template-columns: 12px 1fr; gap: 0 8px; align-items: center; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 14px; }
.players li i { grid-row: span 2; width: 12px; height: 12px; border-radius: 50%; }
.players li small { grid-column: 2; color: #b9b4cf; font-size: 11px; }
.players li.me { background: var(--royal); }
.players li.empty { opacity: .35; }
.players li.empty i { background: rgba(255,255,255,.3); }
.host-opts { display: flex; gap: 18px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 99px; padding: 5px 10px; font-size: 12px; }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.chip.on { border-color: #fff; background: color-mix(in srgb, var(--c) 45%, transparent); }
.podium small { font-size: 11px; color: #b9b4cf; }
#hItem img { width: 88%; height: 88%; border-radius: 14px; display: block; }

/* ───── pantallas ───── */
.screen { position: fixed; inset: 0; display: none; z-index: 20; }
.screen.on { display: grid; }
.cta { background: linear-gradient(180deg, #FFE24A, var(--yel)); color: var(--ink); border: 0; border-radius: 14px; padding: 12px 22px; font-family: 'Aldrich'; font-size: 20px; letter-spacing: .04em; box-shadow: 0 5px 0 #B98F00, 0 10px 24px rgba(0,0,0,.35); }
.cta:active { transform: translateY(3px); box-shadow: 0 2px 0 #B98F00; }
.ghost { background: var(--glass); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; backdrop-filter: blur(8px); }
.card { background: rgba(14, 12, 32, 0.9); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; max-width: min(560px, 92vw); max-height: 90vh; overflow: auto; }
.card h2 { margin: 0 0 12px; font-size: 24px; }
.muted { color: #b9b4cf; font-size: 13px; }
.row-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.col-btns { display: grid; gap: 10px; min-width: 220px; }

/* ───── menú ───── */
#menu { grid-template-columns: minmax(250px, 33%) 1fr minmax(250px, 33%); grid-template-rows: auto 1fr auto; grid-template-areas: "brand brand brand" "modes . dishes" "foot foot foot";
  padding: calc(8px + var(--sat)) calc(12px + var(--sar)) calc(10px + var(--sab)) calc(12px + var(--sal)); gap: 10px; }
.brandbar { grid-area: brand; display: flex; align-items: center; gap: 12px; justify-self: center; background: var(--glass); border: 1px solid var(--line); border-radius: 16px; padding: 6px 18px 6px 8px; backdrop-filter: blur(8px); }
.brandbar img { height: 50px; filter: invert(1); }
.brandbar h1 { margin: 0; font-size: clamp(20px, 3.6vw, 36px); line-height: 1; letter-spacing: .03em; }
.brandbar h1 span { color: var(--yel); }
.eyebrow { font-size: 11px; letter-spacing: .2em; color: #9fb0ff; }
.panel { background: var(--glass); border: 1px solid var(--line); border-radius: 16px; padding: 10px; backdrop-filter: blur(8px); overflow: auto; align-self: start; max-height: 100%; }
.panel h2 { margin: 0 0 8px 2px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--yel); }
.p-modes { grid-area: modes; } .p-dishes { grid-area: dishes; }
#modes { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.mode { position: relative; text-align: left; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.mode b { display: block; font-size: 14px; } .mode small { display: block; font-size: 11px; color: #c8c3de; line-height: 1.25; margin-top: 2px; }
.mode.on { background: var(--royal); border-color: var(--royal-hi); }
.mode em { position: absolute; top: 6px; right: 8px; font-size: 9px; font-style: normal; background: var(--green); color: #fff; padding: 1px 6px; border-radius: 99px; }
.shake { animation: shake .35s; } @keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.toggle { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: 13px; cursor: pointer; }
.toggle input { display: none; } .toggle span { width: 36px; height: 20px; border-radius: 99px; background: #555; position: relative; transition: .2s; flex: none; }
.toggle span::after { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; }
.toggle input:checked + span { background: var(--green); } .toggle input:checked + span::after { left: 18px; }
#dishes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dish { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 8px; text-align: left; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 12px; padding: 7px 9px; }
.dish i { grid-row: span 2; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(255,255,255,.3); }
.dish b { font-size: 13px; }
.dish .bars { display: flex; gap: 3px; } .dish .bars span { flex: 1; height: 4px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; } .dish .bars u { display: block; height: 100%; background: var(--c); }
.dish.on { border-color: #fff; background: color-mix(in srgb, var(--c) 45%, transparent); }
.stats { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; font-size: 12px; margin-top: 9px; color: #d9d5ea; }
.bar { height: 7px; border-radius: 4px; background: rgba(255,255,255,.14); overflow: hidden; } .bar u { display: block; height: 100%; }
.menu-foot { grid-area: foot; display: flex; justify-content: center; gap: 12px; align-items: center; }
.menu-foot .cta { font-size: 22px; padding: 12px 34px; }

/* ───── resultados ───── */
#results { place-items: center; background: rgba(8, 6, 20, .45); }
.res-logo { height: 44px; filter: invert(1); float: right; }
.podium { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.podium li { display: grid; grid-template-columns: 38px 14px 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.06); }
.podium li.me { background: var(--royal); }
.podium i { width: 14px; height: 14px; border-radius: 50%; } .podium time { font-variant-numeric: tabular-nums; color: #d9d5ea; }
.stars { font-size: 44px; color: var(--yel); letter-spacing: 4px; } .stars span { color: rgba(255,255,255,.2); }
.big { font-family: 'Aldrich'; font-size: 34px; margin: 4px 0; } .big em { font-size: 14px; font-style: normal; background: var(--pink); color: var(--ink); padding: 2px 8px; border-radius: 99px; vertical-align: middle; }

/* ───── overlays ───── */
.overlay { position: fixed; inset: 0; z-index: 40; display: none; place-items: center; background: rgba(8, 6, 20, .55); }
.overlay.on { display: grid; }
#setBody .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.seg { display: flex; background: rgba(255,255,255,.08); border-radius: 10px; padding: 3px; }
.seg button { background: none; border: 0; border-radius: 8px; padding: 6px 10px; font-size: 13px; }
.seg button.on { background: var(--royal); }

/* ───── HUD ───── */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 10; display: none; }
#hud.on { display: block; }
.h-tl { position: absolute; top: calc(8px + var(--sat)); left: calc(10px + var(--sal)); display: flex; align-items: flex-start; gap: 10px; }
#btnPause { pointer-events: auto; width: 38px; height: 38px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); font-size: 12px; }
.h-pos { font-family: 'Aldrich'; line-height: .9; text-shadow: 0 3px 0 var(--ink), 0 0 18px rgba(0,0,0,.35); }
#hPos { font-size: clamp(38px, 7vw, 62px); color: var(--yel); -webkit-text-stroke: 2px var(--ink); }
#hOf { font-size: 20px; }
.h-lap { background: var(--glass); border-radius: 12px; padding: 5px 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
#hLap { font-family: 'Aldrich'; font-size: 15px; } .h-beans { color: #FFD9A0; }
.h-tc { position: absolute; top: calc(8px + var(--sat)); left: 50%; transform: translateX(-50%); }
#hItem { width: 64px; height: 64px; border-radius: 18px; background: var(--glass); border: 3px solid rgba(255,255,255,.35); display: grid; place-items: center; font-size: 36px; position: relative; }
#hItem.has { border-color: var(--yel); box-shadow: 0 0 18px rgba(255,209,0,.6); }
#hItem.rolling { border-color: var(--pink); animation: pulse .25s infinite alternate; }
#hUses { position: absolute; right: -6px; bottom: -6px; font: 13px 'Aldrich'; background: var(--red); border-radius: 99px; padding: 0 5px; }
@keyframes pulse { to { transform: scale(1.07); } }
.h-tr { position: absolute; top: calc(8px + var(--sat)); right: calc(10px + var(--sar)); display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
#minimap { width: clamp(130px, 19vw, 190px); height: clamp(90px, 13vw, 130px); background: rgba(14,12,32,.55); border-radius: 12px; border: 1px solid var(--line); }
#hList { list-style: none; margin: 0; padding: 4px 8px; background: rgba(14,12,32,.55); border-radius: 10px; font-size: 11.5px; min-width: 110px; }
#hList li { display: flex; align-items: center; gap: 5px; line-height: 1.5; }
#hList li b { width: 12px; font-family: 'Aldrich'; } #hList li i { width: 9px; height: 9px; border-radius: 50%; }
#hList li.me { color: var(--yel); font-weight: 700; }
#hMsg, #hCount { position: absolute; left: 50%; top: 32%; transform: translate(-50%, -50%) scale(.6); font-family: 'Aldrich'; text-align: center; opacity: 0; white-space: nowrap;
  -webkit-text-stroke: 1.5px var(--ink); text-shadow: 0 4px 0 var(--ink); transition: opacity .25s, transform .25s; }
#hMsg { font-size: clamp(20px, 3.6vw, 34px); top: 24%; max-width: 92vw; white-space: normal; }
#hCount { font-size: clamp(60px, 14vw, 130px); color: var(--yel); }
.pop { opacity: 1 !important; transform: translate(-50%, -50%) scale(1) !important; }
#hWrong { position: absolute; left: 50%; top: 42%; transform: translateX(-50%); background: var(--red); padding: 6px 16px; border-radius: 99px; font-family: 'Aldrich'; opacity: 0; transition: .2s; }
#hWrong.on { opacity: 1; }
#hDrift { position: absolute; left: 50%; bottom: calc(18px + var(--sab)); transform: translateX(-50%); width: 160px; height: 10px; border-radius: 99px; background: rgba(0,0,0,.35); overflow: hidden; opacity: 0; transition: opacity .15s; }
#hDrift i { display: block; height: 100%; width: calc(var(--f, 0) * 100%); background: var(--c, #fff); box-shadow: 0 0 12px var(--c); }
.h-keys { position: absolute; left: 50%; bottom: calc(4px + var(--sab)); transform: translateX(-50%); font-size: 11px; color: rgba(255,255,255,.75); text-shadow: 0 1px 2px #000; white-space: nowrap; }

/* ───── táctil ───── */
#touch { position: fixed; inset: 0; z-index: 11; pointer-events: none; display: none; }
body.racing #touch { display: block; }
@media (pointer: fine) { body.racing #touch { display: none; } }
@media (pointer: coarse) { .h-keys { display: none; } }
#steerZone { position: absolute; left: 0; top: 22%; bottom: 0; width: 55%; pointer-events: auto; touch-action: none; }
#knob { position: absolute; display: none; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); background: rgba(14,12,32,.2); pointer-events: none; }
#knob i { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.85); transform: translate(-50%, -50%); box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.tb { position: absolute; pointer-events: auto; touch-action: none; border-radius: 50%; border: 3px solid rgba(255,255,255,.6); background: rgba(14,12,32,.45); font-family: 'Aldrich'; font-size: 12px; letter-spacing: .04em; backdrop-filter: blur(4px); }
.tb.down { background: rgba(255,209,0,.85); color: var(--ink); border-color: #fff; transform: scale(.94); }
#btnDrift { right: calc(22px + var(--sar)); bottom: calc(22px + var(--sab)); width: 104px; height: 104px; font-size: 13px; border-color: var(--yel); }
#btnItem { right: calc(140px + var(--sar)); bottom: calc(34px + var(--sab)); width: 78px; height: 78px; }
#btnBrake { right: calc(150px + var(--sar)); bottom: calc(128px + var(--sab)); width: 60px; height: 60px; font-size: 10px; }
#btnLeft, #btnRight { display: none; bottom: calc(26px + var(--sab)); width: 86px; height: 86px; font-size: 30px; }
#btnLeft { left: calc(22px + var(--sal)); } #btnRight { left: calc(124px + var(--sal)); }
body.steer-buttons #btnLeft, body.steer-buttons #btnRight { display: block; }
body.steer-buttons #steerZone { display: none; }
/* zurdo: espejo de lados */
body.lefty #steerZone { left: auto; right: 0; }
body.lefty #btnDrift { right: auto; left: calc(22px + var(--sal)); }
body.lefty #btnItem { right: auto; left: calc(140px + var(--sal)); }
body.lefty #btnBrake { right: auto; left: calc(150px + var(--sal)); }
body.lefty #btnLeft { left: auto; right: calc(124px + var(--sar)); } body.lefty #btnRight { left: auto; right: calc(22px + var(--sar)); }

#rotate { position: fixed; inset: 0; z-index: 45; display: none; place-content: center; text-align: center; background: rgba(8,6,20,.85); gap: 10px; }
#rotate div { font-size: 48px; }
@media (pointer: coarse) { body.portrait.racing:not(.rotate-ok) #rotate { display: grid; } }

/* ───── vertical y pantallas bajas ───── */
body.portrait #menu { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto auto; grid-template-areas: "brand" "." "modes" "dishes" "foot"; }
body.portrait .panel { max-height: 30vh; }
@media (max-height: 430px) {
  .brandbar img { height: 36px; } .brandbar { padding: 4px 14px 4px 6px; }
  .mode small { display: none; } .dish .bars { display: none; } .stats { margin-top: 6px; gap: 2px 8px; }
  .cta { font-size: 18px; padding: 9px 20px; } .menu-foot .cta { font-size: 19px; padding: 9px 26px; }
  #hItem { width: 54px; height: 54px; font-size: 30px; }
  #btnDrift { width: 92px; height: 92px; } #btnItem { width: 70px; height: 70px; right: calc(126px + var(--sar)); } #btnBrake { right: calc(134px + var(--sar)); bottom: calc(112px + var(--sab)); width: 52px; height: 52px; }
  #hList { font-size: 10.5px; padding: 3px 7px; } #hList li { line-height: 1.32; }
  .players { grid-template-columns: 1fr 1fr 1fr; } .players li { padding: 4px 8px; font-size: 12px; } .players li small { display: none; }
  .lobby-card { padding: 12px 14px; } .code-row b { font-size: 24px; } .nick { padding: 6px 8px; margin-bottom: 6px; } .id-row { margin-bottom: 6px; } .plate-in input { font-size: 17px; }
  #minimap { width: 124px; height: 84px; }
}

/* ───── cuenta ───── */
#auth { place-items: center; background: radial-gradient(ellipse at 50% 30%, rgba(6,41,199,.55), rgba(8,6,20,.92)); }
.auth-card { width: min(420px, 92vw); text-align: center; }
.auth-head { display: flex; gap: 10px; align-items: center; justify-content: center; margin-bottom: 10px; }
.auth-head img { height: 40px; filter: invert(1); }
.auth-head b { font: 20px 'Aldrich'; } .auth-head b span { color: var(--yel); }
.auth-card h2 { margin: 4px 0 6px; }
.g-btn { display: flex; justify-content: center; min-height: 44px; margin: 14px 0 6px; }
.or { display: flex; align-items: center; gap: 10px; color: #8f89ab; font-size: 12px; margin: 10px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
#auForm { display: grid; gap: 0; }
.au-profile { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.au-profile[hidden], #auForm .nick[hidden], .au-link[hidden] { display: none; }
select.nick { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 26px; }
select.nick option { color: #111; }
#auForm .cta { margin-top: 4px; }
.au-err { min-height: 18px; margin: 0 0 6px; color: #FF8FA3; font-size: 13px; }
.au-link { background: none; border: 0; color: #b9b4cf; text-decoration: underline; margin-top: 12px; font-size: 13px; }
.acct { margin-left: auto; display: flex; align-items: center; gap: 6px; background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 6px; font: 600 13px 'Space Grotesk'; max-width: 40vw; }
.acct i { width: 22px; height: 22px; border-radius: 50%; background: var(--yel); color: var(--ink); display: grid; place-items: center; font: 12px 'Aldrich'; font-style: normal; }
.acct span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-account { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; }
.set-account small { display: block; color: #8f89ab; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.set-account .row-btns { justify-content: flex-start; margin-top: 8px; }
.ghost.danger { color: #FF8FA3; border-color: rgba(255,143,163,.4); }
.g-btn[hidden], .or[hidden], .acct[hidden], .set-account[hidden] { display: none; }
/* celular acostado: marca y Google a la izquierda, formulario a la derecha */
@media (max-height: 500px) and (orientation: landscape) {
  .auth-card { width: min(760px, 94vw); display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; align-items: center; text-align: left; padding: 14px 18px; }
  .auth-head, .auth-card h2, .auth-card > .muted, .g-btn { grid-column: 1; }
  .auth-head { justify-content: flex-start; margin-bottom: 4px; }
  .auth-card h2 { font-size: 20px; }
  .auth-card > .muted { margin: 0; font-size: 12px; }
  .g-btn { justify-content: flex-start; margin: 10px 0 0; }
  .or { display: none; }
  #auForm { grid-column: 2; grid-row: 1 / span 4; }
  .au-link { grid-column: 2; margin-top: 6px; justify-self: center; }
}

/* capturas de revisión (?cam=): sin interfaz */
body.shot .screen, body.shot #hud, body.shot #touch { display: none !important; }

.nick.bad { outline: 2px solid #FF8FA3; }

/* código de país donde no hay banderas emoji */
.cc { display: inline-block; font: 700 9px "Space Grotesk"; letter-spacing: .06em; padding: 1px 4px; border-radius: 4px; background: rgba(255,255,255,.18); vertical-align: 1px; margin-right: 3px; }
