/* ==========================================================================
   ¿Quién es Quién?  —  Estilos
   Minimalista · blanco / gris neutro · acento verde lima
   ========================================================================== */

:root {
  --lime: #c6f135;
  --lime-strong: #aee016;
  --lime-soft: #f2fbcf;
  --ink: #14150f;
  --ink-soft: #5c5e54;
  --muted: #9a9c90;
  --line: #e7e8e0;
  --line-soft: #f0f1ea;
  --bg: #f1f0ea;
  --card: #ffffff;
  --danger: #e0533d;
  --danger-soft: #fceae6;
  --ok: #3f9d52;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 1px 2px rgba(20, 21, 15, 0.04), 0 8px 24px rgba(20, 21, 15, 0.06);
  --shadow-lg: 0 12px 40px rgba(20, 21, 15, 0.16);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { height: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

#root { height: 100%; }

/* App shell — pantalla centrada con ancho de app, fija en tablet */
.app {
  min-height: 100dvh;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.screen-body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.screen-body.scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(241, 240, 234, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar h2 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
  flex: 1;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: var(--ink);
  flex-shrink: 0;
  transition: background 0.15s, transform 0.1s;
}
.icon-btn:active { transform: scale(0.94); background: var(--line-soft); }
.icon-btn.ghost { border-color: transparent; background: transparent; }

/* ---------- Brand / Login ---------- */
.brand-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 26px;
  gap: 10px;
  text-align: center;
}

.logo-mark {
  width: 92px;
  height: 92px;
  border-radius: 26px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 10px 30px rgba(174, 224, 22, 0.45);
  position: relative;
}
.logo-mark span { font-size: 46px; }

.brand-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.brand-sub { color: var(--ink-soft); font-size: 15px; max-width: 280px; }

.login-card {
  width: 100%;
  max-width: 380px;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.005em;
}
.field .hint { font-size: 12px; color: var(--muted); font-weight: 500; }

input[type="text"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: var(--card);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--lime-strong);
  box-shadow: 0 0 0 4px rgba(198, 241, 53, 0.28);
}
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235c5e54' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 42px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 650;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.1s, background 0.15s, box-shadow 0.15s, opacity 0.15s;
  width: 100%;
  letter-spacing: -0.01em;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover:not(:disabled) { background: var(--lime-strong); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover:not(:disabled) { background: #2a2c22; }

.btn-ghost { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover:not(:disabled) { border-color: var(--muted); }

.btn-soft { background: var(--line-soft); color: var(--ink); }
.btn-soft:hover:not(:disabled) { background: var(--line); }

.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-sm { padding: 10px 14px; font-size: 14px; width: auto; }
.btn-row { display: flex; gap: 10px; }
.btn-row .btn { flex: 1; }

/* ---------- Menu tiles ---------- */
.menu-grid { display: flex; flex-direction: column; gap: 12px; }

.tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.15s, border-color 0.15s;
  text-align: left;
  width: 100%;
}
.tile:active { transform: scale(0.985); }
.tile:hover { box-shadow: var(--shadow); border-color: var(--line); }
.tile.accent { background: var(--ink); border-color: var(--ink); }
.tile.accent .tile-title { color: #fff; }
.tile.accent .tile-desc { color: rgba(255,255,255,0.6); }
.tile.accent .tile-ico { background: var(--lime); }

.tile-ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--lime-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  color: var(--ink);
}
.tile.accent .tile-ico { background: var(--lime); }
.tile-text { flex: 1; min-width: 0; }
.tile-title { font-size: 16.5px; font-weight: 680; letter-spacing: -0.01em; }
.tile-desc { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.tile-arrow { color: var(--muted); font-size: 22px; }

/* ---------- Generic card / section ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 7px 13px 7px 8px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
}
.avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  flex-shrink: 0;
}
.avatar.lg { width: 44px; height: 44px; font-size: 16px; }

/* ---------- Alerts ---------- */
.alert {
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 550;
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.alert-error { background: var(--danger-soft); color: #b13a26; }
.alert-info { background: #eef4f7; color: #3a5a68; }
.alert-ok { background: var(--lime-soft); color: #4e6b14; }

/* ---------- Empty state ---------- */
.empty {
  text-align: center;
  padding: 40px 24px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.empty .big { font-size: 40px; }
.empty p { font-size: 14px; max-width: 260px; }

/* ---------- Login hero (estilo editorial) ---------- */
.login-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 30px calc(40px + env(safe-area-inset-bottom));
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}
.login-hero h1 {
  font-size: clamp(54px, 17vw, 96px);
  font-weight: 850;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.login-hero .hero-sub {
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 500;
  margin-top: 20px;
}
.login-hero .login-actions {
  width: 100%;
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.input-lg {
  padding: 18px 20px !important;
  border: 2px solid var(--ink) !important;
  border-radius: 18px !important;
  font-size: 17px !important;
  font-weight: 500;
  text-align: center;
}
.input-lg::placeholder { color: var(--muted); font-weight: 500; }
.btn-pill { border-radius: 999px; padding: 18px 22px; font-size: 17px; font-weight: 750; }
.login-foot { margin-top: 22px; color: var(--muted); font-size: 13px; font-weight: 500; }

/* ---------- Tarjetas duales objetivo / secreto (juego) ---------- */
.duo { display: flex; gap: 10px; }
.duo-card {
  flex: 1; display: flex; flex-direction: column; gap: 3px; align-items: flex-start;
  padding: 13px 15px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); text-align: left; cursor: default;
  transition: transform 0.1s;
}
.duo-card.tap { cursor: pointer; }
.duo-card.tap:active { transform: scale(0.97); }
.duo-card .duo-lbl { font-size: 11.5px; color: var(--muted); font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.duo-card .duo-val { font-size: 16.5px; font-weight: 780; letter-spacing: -0.01em; display: flex; align-items: center; gap: 7px; line-height: 1.15; }
.duo-card.secret { background: var(--ink); border-color: var(--ink); }
.duo-card.secret .duo-lbl { color: rgba(255,255,255,0.5); }
.duo-card.secret .duo-val { color: #fff; }
.duo-card.secret .duo-val .lk { color: var(--lime); display: inline-flex; }
.board-count { text-align: center; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: -2px; }
.code-display {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: #fff;
}
.code-display .lbl {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
}
.code-display .code {
  font-size: 46px;
  font-weight: 850;
  letter-spacing: 0.14em;
  color: var(--lime);
  margin-top: 6px;
  font-feature-settings: "tnum";
}
.code-input {
  font-size: 30px !important;
  text-align: center;
  letter-spacing: 0.22em;
  font-weight: 800;
  text-transform: uppercase;
}

/* ---------- Players list ---------- */
.player-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.player-row .nm { flex: 1; font-weight: 600; font-size: 15px; }
.tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
  padding: 4px 9px; border-radius: 999px;
  background: var(--lime-soft); color: #5b7416;
}
.tag.you { background: var(--ink); color: #fff; }

/* ---------- Toggle pills (segmented) ---------- */
.pills { display: flex; gap: 8px; }
.pill {
  flex: 1;
  padding: 13px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--card);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.13s;
  color: var(--ink-soft);
}
.pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.check-list { display: flex; flex-direction: column; gap: 8px; }
.check-item {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  cursor: pointer;
  font-weight: 550;
  transition: all 0.13s;
}
.check-item.on { border-color: var(--lime-strong); background: var(--lime-soft); }
.check-box {
  width: 22px; height: 22px; border-radius: 7px;
  border: 2px solid var(--line); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink);
}
.check-item.on .check-box { background: var(--lime); border-color: var(--lime-strong); }

/* ==========================================================================
   MAZOS / Personajes
   ========================================================================== */
.list { display: flex; flex-direction: column; gap: 10px; }

.list-card {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.15s, border-color 0.15s;
}
.list-card:active { transform: scale(0.99); }
.list-card.selected { border-color: var(--lime-strong); box-shadow: 0 0 0 3px rgba(198,241,53,0.3); }
.list-card .lc-text { flex: 1; min-width: 0; }
.list-card .lc-title { font-weight: 680; font-size: 16px; letter-spacing: -0.01em; }
.list-card .lc-sub { font-size: 13px; color: var(--ink-soft); margin-top: 1px; }
.list-thumb {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--lime-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0; overflow: hidden;
}
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* character management grid */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 12px;
}
.char-mini { position: relative; }
.char-mini img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--line);
  background: var(--line-soft);
  display: block; cursor: pointer;
}
.char-mini .nm {
  font-size: 12.5px; font-weight: 600; text-align: center;
  margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.char-mini .del {
  position: absolute; top: -7px; right: -7px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--danger); color: #fff; border: 2.5px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; cursor: pointer; line-height: 1;
}

/* Upload dropzone */
.dropzone {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  cursor: pointer;
  background: var(--card);
  transition: all 0.15s;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.dropzone:hover { border-color: var(--lime-strong); background: var(--lime-soft); }
.dropzone .dz-ico { font-size: 32px; }
.dropzone .dz-main { font-weight: 650; font-size: 15px; }
.dropzone .dz-sub { font-size: 12.5px; color: var(--muted); }
.dz-preview {
  width: 84px; height: 84px; border-radius: 14px; object-fit: cover;
  border: 1px solid var(--line);
}

/* ==========================================================================
   TABLERO DE JUEGO
   ========================================================================== */
.game-top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(241,240,234,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.turn-banner {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: var(--radius);
  font-size: 17px; font-weight: 750; letter-spacing: -0.01em;
}
.turn-banner.mine { background: var(--lime); color: var(--ink); box-shadow: 0 6px 20px rgba(174,224,22,0.4); }
.turn-banner.other { background: #fbe4df; border: 1.5px solid #f1bcb0; color: #b13a26; font-weight: 700; }
.turn-banner .dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--ink);
  flex-shrink: 0;
}
.turn-banner.other .dot { background: var(--danger); }
.turn-banner.mine .dot { animation: pulse 1.3s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.target-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 13px;
}
.target-pill .t-lbl { font-size: 12px; color: var(--muted); font-weight: 600; }
.target-pill .t-nm { font-size: 15px; font-weight: 750; }
.counter {
  margin-left: auto; font-size: 13px; font-weight: 700;
  color: var(--ink-soft); background: var(--line-soft);
  padding: 5px 11px; border-radius: 999px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(98px, 1fr));
  gap: 11px;
  padding: 16px;
}
@media (min-width: 600px) {
  .board-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; }
}

.face {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  background: var(--card);
  cursor: pointer;
  aspect-ratio: 3/4;
  transition: transform 0.12s, box-shadow 0.15s;
  display: flex; flex-direction: column;
}
.face:active { transform: scale(0.96); }
.face img {
  width: 100%; flex: 1 1 auto; min-height: 0; object-fit: cover; background: var(--line-soft);
  transition: filter 0.2s;
}
.face .face-nm {
  flex: 0 0 auto;
  padding: 8px 6px; text-align: center; font-size: 13px; font-weight: 700;
  background: var(--card); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border-top: 1px solid var(--line);
  line-height: 1.2;
}
.face.down img { filter: grayscale(1) brightness(1.08) contrast(0.92); opacity: 0.32; }
.face.down { background: var(--line-soft); }
.face.down::after {
  content: "✕"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 800; color: var(--ink);
  opacity: 0.42; top: -16px;
}
.face.down .face-nm { color: var(--muted); text-decoration: line-through; }
.face.pick-mode { border-color: var(--lime-strong); }
.face.selected-guess {
  border-color: var(--ink); box-shadow: 0 0 0 3px var(--lime);
}

/* sticky action bar */
.action-bar {
  position: sticky; bottom: 0; z-index: 20;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(241,240,234,0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex; gap: 10px;
}
.action-bar .btn { flex: 1; }

/* ---------- Q&A log ---------- */
.qa-log { display: flex; flex-direction: column; gap: 9px; }
.qa-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px;
}
.qa-q { font-size: 14px; font-weight: 600; }
.qa-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.qa-a {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 8px; font-size: 13px; font-weight: 750;
  padding: 4px 11px; border-radius: 999px;
}
.qa-a.si { background: var(--lime-soft); color: #4e6b14; }
.qa-a.no { background: var(--danger-soft); color: #b13a26; }
.qa-a.nose { background: var(--line-soft); color: var(--ink-soft); }
.qa-a.pending { background: #fff6e0; color: #9a6b1a; }

/* ==========================================================================
   MODAL / SHEET
   ========================================================================== */
.sheet-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,21,15,0.42);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fade 0.2s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  width: 100%; max-width: 720px;
  background: var(--bg);
  border-radius: 22px 22px 0 0;
  padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 16px;
  max-height: 88vh; overflow-y: auto;
  animation: slideUp 0.26s cubic-bezier(0.16,1,0.3,1);
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet-handle {
  width: 40px; height: 4px; border-radius: 999px; background: var(--line);
  margin: -6px auto 2px;
}
.sheet h3 { font-size: 20px; font-weight: 750; letter-spacing: -0.02em; }
.sheet .sub { font-size: 14px; color: var(--ink-soft); margin-top: -8px; }

.answer-grid { display: flex; gap: 10px; }
.answer-grid .btn { flex: 1; flex-direction: column; gap: 4px; padding: 18px 8px; font-size: 15px; }
.answer-grid .em { font-size: 24px; }

/* secret reveal card */
.secret-card {
  background: var(--ink); border-radius: var(--radius);
  padding: 18px; display: flex; align-items: center; gap: 15px;
}
.secret-card img {
  width: 64px; height: 64px; border-radius: 13px; object-fit: cover;
  border: 2px solid var(--lime);
}
.secret-card .sc-lbl { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.secret-card .sc-nm { font-size: 19px; font-weight: 750; color: #fff; }

/* winner */
.winner-wrap {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; gap: 14px; padding: 30px;
}
.winner-wrap .trophy { font-size: 72px; }
.winner-wrap h1 { font-size: 30px; font-weight: 850; letter-spacing: -0.02em; }
.winner-wrap p { color: var(--ink-soft); }

/* spinner */
.spinner {
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--lime-strong);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.center-load { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 60vh; }

.fab-spacer { height: 8px; }

/* toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 13px 20px;
  border-radius: 999px; font-size: 14px; font-weight: 600;
  z-index: 200; box-shadow: var(--shadow-lg);
  animation: toastIn 0.25s ease;
  max-width: 90%;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
