/* Estilos por pantalla. */

/* ===================== Cuenta (estilo Wii + Wii Sports Resort) ===================== */
.auth-logo svg { width: min(340px, 74vw); height: auto; display: block; filter: drop-shadow(0 4px 10px rgba(20, 90, 140, .15)); }
.auth-panel { width: min(460px, 100%); justify-self: center; display: grid; gap: var(--s5); padding: var(--s5); }
.auth-form { display: grid; gap: var(--s4); }
.auth-form .btn { margin-top: var(--s1); }
.auth-note { font-size: .85rem; color: var(--ink-2); text-align: center; font-weight: 600; margin: 0; }

/* Fondo: las rayas grises del Menú Wii, con el cielo de la isla arriba */
.wii-login {
  position: relative; isolation: isolate; overflow: hidden;
  justify-content: flex-start; align-items: center;
  padding-bottom: calc(96px + var(--safe-b));
  background-color: #f4f6f7;
  background-image:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .92) 0 2px, rgba(205, 214, 221, .42) 2px 4px),
    linear-gradient(180deg, #cdeeff 0%, #eaf7ff 30%, #f4f6f7 58%, #eef1f3 100%);
  background-blend-mode: normal;
}
.wl-sky { position: absolute; inset: 0 0 auto; height: 46%; z-index: -1; pointer-events: none; }
.wl-sky i { /* nubes suaves */
  position: absolute; width: 220px; height: 64px; border-radius: 64px; background: rgba(255, 255, 255, .6);
  box-shadow: 60px -22px 0 6px rgba(255, 255, 255, .6), 120px 0 0 -4px rgba(255, 255, 255, .55);
  filter: blur(.3px); animation: wl-drift 60s linear infinite;
}
.wl-sky .c1 { top: 9%; left: -8%; transform: scale(.7); }
.wl-sky .c2 { top: 20%; left: 62%; transform: scale(.55); animation-duration: 80s; animation-delay: -30s; opacity: .8; }
.wl-sky .c3 { top: 4%; left: 34%; transform: scale(.4); animation-duration: 95s; animation-delay: -50s; opacity: .7; }
@keyframes wl-drift { from { translate: -10vw 0; } to { translate: 30vw 0; } }

.wl-stack { width: min(520px, 100%); margin: auto; display: grid; gap: var(--s5); justify-items: center; padding-top: var(--s4); }
.wl-brand { display: grid; gap: var(--s2); justify-items: center; text-align: center; }
.wl-brand .auth-logo svg { width: min(330px, 72vw); }
.wl-tag { margin: 0; display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; justify-content: center; color: #4d5660; font-weight: 700; text-wrap: balance; }
.wl-chip { padding: 2px 12px; border-radius: var(--r-pill); background: linear-gradient(180deg, #ffc65c, #ff9d1c); color: #fff; font-weight: 800; font-size: .85rem; box-shadow: 0 2px 0 #d97a06; }

/* Ventana de mensaje de la Wii: blanca, bordes muy redondeados, filo gris claro y sombra suave */
.wl-dialog {
  width: 100%;
  background: #fff;
  border-radius: 34px;
  border: 3px solid #dfe5ea;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .9) inset, 0 2px 0 #cfd8df, 0 18px 50px rgba(40, 70, 95, .18);
  overflow: hidden;
}
.wl-dialog-head {
  text-align: center; padding: var(--s5) var(--s6) var(--s4);
  background: linear-gradient(180deg, #f7fbfd, #fff);
  border-bottom: 2px solid #eef2f5;
}
.wl-title { margin: 0; font-size: clamp(1.3rem, 4.6vw, 1.6rem); font-weight: 800; color: #34393f; letter-spacing: -.01em; }
.wl-lead { margin: 4px 0 0; color: #66707a; font-weight: 600; font-size: .95rem; text-wrap: balance; }
.wl-dialog-body { display: grid; gap: var(--s5); padding: var(--s5) var(--s6) var(--s6); }

/* Pestañas como los botones de opción de la Wii: blancos, con el brillo celeste del puntero al elegir */
.wii-login .segmented { background: #eef2f5; box-shadow: inset 0 1px 3px rgba(30, 50, 70, .14); padding: 6px; }
.wii-login .segmented button { min-height: 46px; font-size: 1rem; color: #6b747d; }
.wii-login .segmented button[aria-selected="true"] {
  background: #fff; color: #2a2f34;
  box-shadow: 0 0 0 2px #8fd6f7, 0 0 14px rgba(69, 189, 238, .45), 0 2px 4px rgba(20, 60, 90, .12);
}
.wii-login .input { background: #fff; border-color: #d3dbe2; border-radius: 16px; box-shadow: inset 0 2px 3px rgba(30, 50, 70, .07); }
.wii-login .input:focus { border-color: #45bdee; box-shadow: inset 0 2px 3px rgba(30, 50, 70, .05), 0 0 0 4px rgba(69, 189, 238, .25), 0 0 16px rgba(69, 189, 238, .35); }
.wii-login .btn--block { --b-h: 58px; font-size: 1.12rem; letter-spacing: .01em; }

/* Barra inferior del Menú Wii: curva gris con dos botones redondos y la hora al centro */
.wl-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: calc(84px + var(--safe-b));
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: 8px max(24px, 4vw) var(--safe-b);
  background: linear-gradient(180deg, #e9edf0, #d9dfe4);
  border-top: 2px solid #c9d1d8;
  clip-path: ellipse(80% 100% at 50% 100%);
  pointer-events: none;
}
.wl-round {
  width: 62px; height: 62px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #ffffff, #eef1f4 70%);
  border: 3px solid #b9c3cc; box-shadow: 0 2px 0 #aab4bd, inset 0 2px 0 #fff;
  color: #8a949e;
}
.wl-round svg { width: 30px; height: 30px; }
.wl-wii { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; color: #9aa4ad; font-style: italic; }
.wl-clock { display: grid; justify-items: center; line-height: 1; color: #8d969f; font-variant-numeric: tabular-nums; }
.wl-clock b { font-size: 2.1rem; font-weight: 800; letter-spacing: .02em; }
.wl-clock span { font-size: .9rem; font-weight: 700; margin-top: 4px; text-transform: lowercase; }

/* Las ayudas aparecen al enfocar el campo (o siempre en pantallas altas) */
@media (max-height: 899px) { .auth .field:not(:focus-within) .hint { display: none; } }
@media (max-height: 640px), (max-width: 380px) { .wl-bar { display: none; } .wii-login { padding-bottom: calc(var(--s6) + var(--safe-b)); } }
@media (max-width: 520px) {
  .wl-dialog { border-radius: 28px; }
  .wl-dialog-head { padding: var(--s4) var(--s4) var(--s3); }
  .wl-dialog-body { padding: var(--s4); }
}
@media (min-width: 960px) {
  .wl-stack { width: min(1040px, 100%); grid-template-columns: 1fr minmax(400px, 470px); gap: var(--s10); align-items: center; padding-top: 0; }
  .wl-brand { gap: var(--s4); }
  .wl-brand .auth-logo svg { width: min(400px, 100%); }
  .wl-tag { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { .wl-sky i { animation: none; } }

/* ===================== Carga / errores ===================== */
.boot { justify-content: center; align-items: center; }
.boot .auth-logo svg { width: min(300px, 70vw); }
.fatal { display: grid; gap: var(--s4); justify-items: center; text-align: center; max-width: 420px; margin: auto; }

/* ===================== Intro ===================== */
.intro {
  position: fixed; inset: 0; z-index: 20;
  display: grid; place-items: center;
  background: #fff; color: var(--ink);
  padding: calc(var(--s4) + var(--safe-t)) var(--s4) calc(var(--s4) + var(--safe-b));
  cursor: pointer; user-select: none; -webkit-user-select: none;
}
.intro .skip { position: absolute; top: calc(var(--s3) + var(--safe-t)); right: calc(var(--s3) + var(--safe-r)); z-index: 2; }
.strap { width: min(100%, calc((100dvh - 120px) * 4 / 3), 900px); display: grid; gap: var(--s4); justify-items: center; }
.strap img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.strap-fallback {
  width: 100%; aspect-ratio: 4 / 3; display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: var(--s6);
  padding: 4% 6%;
}
.strap-fallback svg { width: 100%; height: auto; max-height: 60dvh; }
.strap-fallback .msg { display: grid; gap: var(--s4); }
.strap-fallback .msg p { color: var(--ink-2); font-size: clamp(1rem, 2.2vw, 1.3rem); font-weight: 700; }
.strap-fallback .msg strong { color: #19a9e0; font-size: clamp(1.15rem, 2.8vw, 1.7rem); font-weight: 800; line-height: 1.3; }
@media (max-width: 640px) { .strap-fallback { grid-template-columns: 1fr; aspect-ratio: auto; text-align: center; } .strap-fallback svg { max-height: 34dvh; } }
.strap .press-a, .title-screen .press-a { animation: breathe 1.6s ease-in-out infinite, pop-in 600ms var(--spring) both; }
.strap-corner { position: absolute; right: calc(var(--s5) + var(--safe-r)); bottom: calc(var(--s5) + var(--safe-b)); }

.title-screen {
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #8fdcff 0%, #c9f0ff 45%, #e9fbff 62%, #6fd0ee 62.2%, #43bde6 72%, #7fd35a 72.2%, #4fb43a 100%);
}
.title-screen.has-bg { background-size: cover; background-position: center; }
.title-inner { display: grid; justify-items: center; gap: clamp(16px, 5vh, 48px); text-align: center; }
.title-logo { width: min(620px, 86vw); animation: title-in 1100ms var(--spring) both; }
.title-logo svg, .title-logo img { width: 100%; height: auto; filter: drop-shadow(0 8px 20px rgba(0, 70, 120, .25)); }
@keyframes title-in { from { opacity: 0; transform: scale(.6) translateY(30px); } }
.title-copy { position: absolute; bottom: calc(var(--s4) + var(--safe-b)); left: 0; right: 0; text-align: center; font-size: .85rem; font-weight: 700; color: rgba(20, 60, 30, .7); }
.title-screen.leaving .title-logo { animation: title-out 500ms var(--ease-out) both; }
@keyframes title-out { to { opacity: 0; transform: scale(1.15); filter: blur(6px); } }

/* ===================== Menú (selección de deporte) ===================== */
.menu-grid {
  width: min(1100px, 100%); margin: 0 auto;
  display: grid; gap: var(--s4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 620px) { .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sport-hero {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; overflow: hidden;
  min-height: 0; text-align: left; align-items: stretch;
}
.sport-hero .art { aspect-ratio: 16 / 9; width: 100%; background: var(--sky-100); overflow: hidden; }
.sport-hero .art svg, .sport-hero .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sport-hero .info { display: grid; gap: var(--s2); padding: var(--s5); align-content: center; }
.sport-hero .info h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.sport-hero .info p { color: var(--ink-2); font-weight: 600; }
.sport-hero .cta { margin-top: var(--s2); display: flex; align-items: center; gap: var(--s2); color: var(--sky-700); font-weight: 800; }
@media (min-width: 720px) { .sport-hero { grid-template-columns: 1.3fr 1fr; } .sport-hero .art { aspect-ratio: auto; min-height: 260px; } }
.sport-tile { min-height: 96px; font-size: .95rem; color: var(--ink-2); }
.sport-tile svg { width: 34px; height: 34px; color: var(--ink-3); }
.menu-foot { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-top: var(--s6); }

/* ===================== Modos ===================== */
.modes { width: min(980px, 100%); margin: 0 auto; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.mode-card {
  display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: var(--s4);
  min-height: 108px; padding: var(--s4) var(--s5); text-align: left; justify-content: stretch;
}
.mode-card .mode-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.mode-card .mode-ico svg { width: 34px; height: 34px; }
.mode-card h3 { font-size: 1.2rem; }
.mode-card p { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.mode-card .badge { justify-self: start; margin-top: 4px; }
.ico-sky { background: linear-gradient(180deg, #46c6f5, #0a8fd0); }
.ico-sun { background: linear-gradient(180deg, #ffc757, #ff9a12); }
.ico-leaf { background: linear-gradient(180deg, #6fd77f, #2ea84a); }
.ico-coral { background: linear-gradient(180deg, #ff8c7c, #e64b3a); }
.ico-violet { background: linear-gradient(180deg, #a68cff, #6c4ee0); }
.mode-desc { text-align: center; color: var(--ink-2); font-weight: 600; margin: 0 auto var(--s5); max-width: 560px; }

/* Nivel de la CPU */
.levels { width: min(760px, 100%); margin: 0 auto; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.level-card { min-height: 140px; gap: var(--s2); }
.level-card .stars { display: flex; gap: 4px; color: var(--sun); }
.level-card .stars svg { width: 24px; height: 24px; fill: currentColor; }
.level-card .stars svg.off { fill: none; color: #cfd8df; }

/* ===================== Escalera de jefes ===================== */
.ladder { width: min(760px, 100%); margin: 0 auto; display: grid; gap: var(--s3); list-style: none; padding: 0; }
.rung {
  display: grid; grid-template-columns: 44px 72px 1fr auto; align-items: center; gap: var(--s3);
  min-height: 92px; padding: var(--s3) var(--s4); text-align: left; justify-content: stretch;
}
.rung .num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--sky-100); color: var(--sky-700); }
.rung .who { display: grid; gap: 2px; min-width: 0; }
.rung .who strong { font-size: 1.1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rung .who span { color: var(--ink-2); font-weight: 600; font-size: .88rem; }
.rung .state svg { width: 28px; height: 28px; }
.rung.done .num { background: var(--ok-bg); color: var(--ok); }
.rung.done .state { color: var(--ok); }
.rung.next { box-shadow: inset 0 0 0 3px var(--sun), 0 4px 0 #f1c36b, var(--sh-2); }
.rung.next .num { background: var(--sun); color: #fff; }
.rung.locked .mii-face { filter: grayscale(1) brightness(.6) contrast(.8); }
.rung.locked .state { color: var(--ink-3); }
.rung.champion .num { background: linear-gradient(180deg, #ffd56b, #ffab1f); color: #6b3a00; }
.ladder-progress { width: min(760px, 100%); margin: 0 auto var(--s4); display: grid; gap: var(--s2); }
.bar { height: 14px; border-radius: 7px; background: #e6eef4; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08); }
.bar > i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #46c6f5, #0a8fd0); transition: width 900ms var(--spring-soft); }
.bar.gold > i { background: linear-gradient(90deg, #ffd56b, #ffab1f); }

/* ===================== Conectar control ===================== */
.pair-wrap { width: min(1080px, 100%); margin: 0 auto; display: grid; gap: var(--s5); }
.pair-slots { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.pair-card { display: grid; gap: var(--s4); justify-items: center; text-align: center; }
.pair-card .who { display: flex; align-items: center; gap: var(--s3); font-weight: 800; font-size: 1.1rem; }
.pair-card .slot-tag { display: inline-grid; place-items: center; min-width: 44px; height: 32px; padding: 0 10px; border-radius: 16px; background: var(--sky-500); color: #fff; font-weight: 800; }
.pair-card .slot-tag.p2 { background: var(--coral); }
.qr-box {
  position: relative; width: min(300px, 70vw); aspect-ratio: 1; padding: 14px;
  border-radius: var(--r-m); background: #fff; box-shadow: inset 0 0 0 2px var(--line), var(--sh-1);
  display: grid; place-items: center;
}
.qr-box canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.qr-box .qr-over {
  position: absolute; inset: 0; border-radius: inherit;
  display: grid; place-items: center; align-content: center; gap: var(--s3); padding: var(--s4);
  background: rgba(255, 255, 255, .94); font-weight: 800;
  animation: fade-in 240ms var(--ease-out) both;
}
.qr-box .qr-over svg { width: 56px; height: 56px; }
.qr-box .qr-over.ok { color: var(--ok); }
.qr-box .qr-over.ok svg { animation: pop-in 600ms var(--spring) both; }
.pair-code { display: grid; gap: 4px; }
.pair-code .lbl { font-size: .85rem; color: var(--ink-2); font-weight: 700; }
.pair-code .code { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; letter-spacing: .22em; padding-left: .22em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pair-url { font-size: .85rem; color: var(--ink-2); font-weight: 600; word-break: break-all; }
.status-chip {
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 36px; padding: 0 var(--s4); border-radius: var(--r-pill);
  font-weight: 800; font-size: .92rem; background: #eef2f5; color: var(--ink-2);
}
.status-chip::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.status-chip.wait::before { animation: blink 1.2s ease-in-out infinite; }
.status-chip.ok { background: var(--ok-bg); color: var(--ok); }
.status-chip.err { background: var(--err-bg); color: var(--err); }
@keyframes blink { 50% { opacity: .25; } }
.pair-steps { display: grid; gap: var(--s2); padding: 0; margin: 0; list-style: none; text-align: left; font-weight: 600; color: var(--ink-2); font-size: .92rem; }
.pair-steps li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s2); align-items: start; }
.pair-steps b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sky-100); color: var(--sky-700); font-size: .8rem; }
.pair-actions { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; }
.pair-actions .btn { flex: 0 1 260px; }

/* ===================== Juego ===================== */
.play { position: fixed; inset: 0; z-index: 10; background: #000; padding: 0; }
.play .stage { position: absolute; inset: 0; }
.play .hud-btn { position: absolute; z-index: 3; top: calc(var(--s3) + var(--safe-t)); right: calc(var(--s3) + var(--safe-r)); opacity: .8; }
.placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; padding: var(--s6);
  background: linear-gradient(180deg, #9fe0ff, #e8f8ff 50%, #7fd35a 50.3%, #4fb43a);
}
.placeholder .panel { max-width: 520px; display: grid; gap: var(--s4); text-align: center; justify-items: center; }
.placeholder .scoreboard { display: flex; align-items: center; gap: var(--s5); font-size: 2.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.placeholder .scoreboard .side { display: grid; justify-items: center; gap: var(--s2); font-size: 1rem; }
.pause-menu { display: grid; gap: var(--s3); }

/* ===================== Resultados ===================== */
.results { justify-content: center; }
.results-card { width: min(640px, 100%); margin: auto; display: grid; gap: var(--s5); justify-items: center; text-align: center; padding: var(--s8) var(--s6); }
.results-card .crown { width: 56px; height: 56px; color: var(--sun); animation: pop-in 700ms var(--spring) both 200ms; }
.results-card h1 { font-size: clamp(1.6rem, 4.4vw, 2.4rem); }
.results-vs { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 4vw, 40px); width: 100%; }
.results-vs .side { display: grid; justify-items: center; gap: var(--s2); min-width: 0; font-weight: 800; }
.results-vs .side span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.results-vs .side.win .mii-face { box-shadow: 0 0 0 4px var(--sun), 0 6px 18px rgba(255, 160, 20, .35); }
.results-vs .score { font-size: clamp(2.6rem, 9vw, 4.2rem); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.skill-box { width: 100%; display: grid; gap: var(--s2); padding: var(--s4); border-radius: var(--r-m); background: var(--paper-2); box-shadow: inset 0 0 0 2px var(--line-2); }
.skill-box .row1 { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; }
.skill-box .num { font-size: 2rem; font-variant-numeric: tabular-nums; }
.skill-box .delta { font-weight: 800; }
.skill-box .delta.up { color: var(--ok); }
.skill-box .delta.down { color: var(--err); }
.skill-box .marks { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-3); font-weight: 700; }
.results-actions { display: flex; gap: var(--s3); flex-wrap: wrap; justify-content: center; width: 100%; }
.results-actions .btn { flex: 1 1 200px; }

/* ===================== Perfil / amigos / online ===================== */
.page { width: min(860px, 100%); margin: 0 auto; display: grid; gap: var(--s5); align-content: start; }
.profile-head { display: grid; grid-template-columns: auto 1fr; gap: var(--s5); align-items: center; }
.profile-head h1 { font-size: clamp(1.5rem, 4vw, 2rem); overflow-wrap: anywhere; }
.profile-head .sub { color: var(--ink-2); font-weight: 600; }
.stats-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.stat { padding: var(--s4); border-radius: var(--r-m); background: var(--paper-2); box-shadow: inset 0 0 0 2px var(--line-2); display: grid; gap: 2px; }
.stat b { font-size: 1.8rem; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-2); font-weight: 700; font-size: .88rem; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); font-size: 1.15rem; }
.add-friend { display: flex; gap: var(--s2); }
.add-friend .input { flex: 1; min-width: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

.lobby-players { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s4); }
.lobby-seat { display: grid; justify-items: center; gap: var(--s2); padding: var(--s5) var(--s3); border-radius: var(--r-l); background: var(--paper-2); box-shadow: inset 0 0 0 2px var(--line-2); text-align: center; min-width: 0; }
.lobby-seat strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lobby-seat.empty-seat { border: 3px dashed var(--line); background: transparent; box-shadow: none; color: var(--ink-3); }
.lobby-seat.ready { box-shadow: inset 0 0 0 3px var(--leaf); }
.lobby-vs { font-weight: 800; font-size: 1.4rem; color: var(--ink-3); }
.lobby-code { display: flex; align-items: center; justify-content: center; gap: var(--s3); flex-wrap: wrap; }
.lobby-code .code { font-size: 2rem; font-weight: 800; letter-spacing: .2em; padding-left: .2em; }
@media (max-width: 520px) { .lobby-players { grid-template-columns: 1fr; } .lobby-vs { justify-self: center; } }
