/* ── TOKENS ────────────────────────────────────────── */
:root {
  --bg:       #F5F4F0;
  --bg2:      #EDECE8;
  --bg3:      #E3E2DC;
  --card:     #FFFFFF;
  --fg:       #0D0D0D;
  --fg2:      #6B6B6B;
  --fg3:      #A0A0A0;
  --accent:   #6B21E8;
  --accent2:  #EDE9FE;
  --border:   #D8D7D2;
  --red:      #DC2626;
  --green:    #16A34A;
  --radius:   12px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}
[data-theme="dark"] {
  --bg:      #0C0C0C;
  --bg2:     #161616;
  --bg3:     #1E1E1E;
  --card:    #141414;
  --fg:      #F0EFE9;
  --fg2:     #8A8A8A;
  --fg3:     #555555;
  --accent:  #8B5CF6;
  --accent2: #1A1033;
  --border:  #2A2A2A;
  --red:     #F87171;
  --green:   #4ADE80;
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button { cursor: pointer; border: none; background: none; font-family: inherit; }
textarea, input { font-family: var(--font-body); }
.hidden { display: none !important; }

/* ── LAYOUT ────────────────────────────────────────── */
#game-screen {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
}
#main-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 16px;
}
#main-content::-webkit-scrollbar { width: 4px; }
#main-content::-webkit-scrollbar-track { background: transparent; }
#main-content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ── HEADER ────────────────────────────────────────── */
#game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
#header-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--accent);
}
#header-meta { display: flex; align-items: center; gap: 10px; }
#header-level {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--fg2);
  letter-spacing: 0.04em;
}
#header-xp {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent2);
  padding: 3px 8px;
  border-radius: 20px;
}
#theme-btn { font-size: 16px; color: var(--fg2); width: 30px; text-align: center; }

/* ── BOTTOM NAV ────────────────────────────────────── */
#game-nav {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 8px 4px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  gap: 2px;
}
.nav-btn {
  flex: 1;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--fg3);
  padding: 8px 2px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-btn.active { color: var(--accent); background: var(--accent2); }
#nav-log-btn {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(107,33,232,0.35);
  transition: transform 0.1s, box-shadow 0.1s;
}
#nav-log-btn:active { transform: scale(0.95); box-shadow: 0 2px 8px rgba(107,33,232,0.25); }

/* ── PANELS ────────────────────────────────────────── */
.panel { padding: 20px; }

/* ── HOME ──────────────────────────────────────────── */
.home-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
  padding: 24px;
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.home-hero::after {
  content: '';
  position: absolute;
  right: -20px; top: -20px;
  width: 100px; height: 100px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.18;
}
.hero-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 72px;
  line-height: 1;
}
.hero-skill {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
  margin-bottom: 4px;
}
.hero-level-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.45;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-xp-bar {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}
.hero-xp-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.hero-xp-text {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  opacity: 0.5;
}

/* stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  color: var(--fg);
  margin-bottom: 4px;
}
.stat-value.accent { color: var(--accent); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--fg3);
  text-transform: uppercase;
}

/* streak */
.streak-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}
.streak-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.streak-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
}
.streak-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent2);
  padding: 3px 8px;
  border-radius: 20px;
}
.streak-dots { display: flex; gap: 6px; }
.streak-dot {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--bg3);
  transition: background 0.2s;
}
.streak-dot.done { background: var(--accent); }
.streak-dot.gold { background: #F59E0B; }

/* challenge mini on home */
.home-challenge {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}
.home-challenge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.home-challenge-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
}
.challenge-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 20px;
}
.challenge-tag.done  { background: var(--green); color: #fff; }
.challenge-tag.open  { background: var(--accent2); color: var(--accent); }
.cond-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cond-row:last-child { margin-bottom: 0; }
.cond-bar { flex: 1; height: 5px; background: var(--bg3); border-radius: 3px; overflow: hidden; }
.cond-fill { height: 100%; background: var(--accent); border-radius: 3px; transition: width 0.3s ease; }
.cond-fill.complete { background: var(--green); }
.cond-label { font-size: 12px; color: var(--fg2); flex: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cond-count { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--fg); white-space: nowrap; }
.cond-count.done { color: var(--green); }

/* recent log */
.section-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--fg3);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.log-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.log-item:last-child { border-bottom: none; }
.log-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 5px;
  flex-shrink: 0;
}
.log-dot.npc { background: var(--fg3); }
.log-body { flex: 1; min-width: 0; }
.log-main { font-weight: 600; font-size: 13px; color: var(--fg); }
.log-sub { font-size: 11px; color: var(--fg2); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-meta { text-align: right; flex-shrink: 0; }
.log-xp { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent); }
.log-date { font-size: 10px; color: var(--fg3); margin-top: 1px; }

/* penalty */
.penalty-banner {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  color: #92400E;
}
[data-theme="dark"] .penalty-banner { background: #2D1F00; border-color: #B45309; color: #FCD34D; }
.penalty-banner.danger { background: #FEE2E2; border-color: #F87171; color: #991B1B; }
[data-theme="dark"] .penalty-banner.danger { background: #2D0000; border-color: var(--red); color: var(--red); }

/* ── RETO ──────────────────────────────────────────── */
.reto-hero {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.reto-skill-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.reto-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 4px;
}
.reto-subtitle { font-size: 12px; color: var(--fg2); margin-bottom: 16px; }
.reto-bonus {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 18px;
}
.reto-cond-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.reto-cond-item:last-child { border-bottom: none; }
.reto-cond-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--fg2);
  flex-shrink: 0;
}
.reto-cond-icon.done { background: var(--accent); color: #fff; }
.reto-cond-text { flex: 1; font-size: 13px; color: var(--fg); }
.reto-cond-count { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--fg2); }
.reto-cond-count.done { color: var(--green); }

.examples-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.examples-toggle {
  width: 100%;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.examples-toggle-label { font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--fg); }
.examples-arrow { font-size: 12px; color: var(--fg3); transition: transform 0.2s; }
.examples-arrow.open { transform: rotate(180deg); }
.examples-body { padding: 0 16px 14px; display: none; }
.examples-body.open { display: block; }
.eg-group-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 10px 0 6px;
}
.eg-item { font-size: 12px; color: var(--fg2); padding: 4px 0; border-bottom: 1px solid var(--border); }
.eg-item:last-child { border-bottom: none; }

.next-level-item {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  background: var(--card);
}
.next-level-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.next-level-num { font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--fg3); }
.next-level-skill { font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--fg); }
.next-level-xp { font-family: var(--font-mono); font-size: 10px; color: var(--fg3); }
.next-level-conds { font-size: 11px; color: var(--fg2); line-height: 1.6; }

/* ── PROPUESTA ─────────────────────────────────────── */
.propuesta-hero {
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  min-height: 180px;
}
.propuesta-hero::before {
  content: '';
  position: absolute;
  right: -30px; bottom: -30px;
  width: 140px; height: 140px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.2;
}
.prop-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.prop-action {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 4px;
}
.prop-target-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  opacity: 0.5;
  margin-bottom: 16px;
}
.prop-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}
.prop-xp-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  opacity: 0.45;
}
.prop-example {
  font-size: 13px;
  color: var(--fg2);
  font-style: italic;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 16px;
  line-height: 1.6;
}
.prop-buttons { display: flex; gap: 10px; }
.btn-outline {
  flex: 1;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--fg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.15s;
}
.btn-outline:hover { border-color: var(--accent); }

/* ── NOTAS ─────────────────────────────────────────── */
.note-add-btn {
  width: 100%;
  border: 1.5px dashed var(--border);
  background: none;
  color: var(--fg2);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  padding: 14px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: border-color 0.15s, color 0.15s;
}
.note-add-btn:hover { border-color: var(--accent); color: var(--accent); }
.note-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.note-date {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fg3);
  margin-bottom: 6px;
}
.note-body { font-size: 13px; color: var(--fg); line-height: 1.6; white-space: pre-wrap; }
.note-actions { display: flex; gap: 8px; margin-top: 10px; }
.note-btn {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg3);
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: color 0.15s, border-color 0.15s;
}
.note-btn:hover { color: var(--accent); border-color: var(--accent); }
.note-btn.del:hover { color: var(--red); border-color: var(--red); }
.empty-msg {
  text-align: center;
  padding: 48px 16px;
  color: var(--fg3);
  font-size: 13px;
  line-height: 1.8;
}
.empty-msg strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--fg2);
  margin-bottom: 6px;
}

/* ── MODALS ────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.modal-box {
  background: var(--bg);
  border-radius: 20px 20px 0 0;
  padding: 20px 20px max(20px, env(safe-area-inset-bottom));
  width: 100%;
  max-width: 480px;
  max-height: 92dvh;
  overflow-y: auto;
  animation: slide-in 0.25s ease;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.modal-title { font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.modal-close {
  font-size: 22px;
  color: var(--fg3);
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg3);
}
.modal-section { margin-bottom: 18px; }
.modal-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--fg3);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.modal-textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--fg);
  resize: none;
  outline: none;
  transition: border-color 0.15s;
}
.modal-textarea:focus { border-color: var(--accent); }
.modal-textarea::placeholder { color: var(--fg3); }

/* selector grids */
.sel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sel-grid.sel-3 { grid-template-columns: repeat(3, 1fr); }
.sel-btn {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color 0.15s, background 0.15s;
}
.sel-btn.active { border-color: var(--accent); background: var(--accent2); }
.sel-name { font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--fg); }
.sel-xp { font-size: 10px; color: var(--fg3); }
.sel-btn.active .sel-name { color: var(--accent); }
.sel-btn.active .sel-xp { color: var(--accent); opacity: 0.7; }

/* checks */
.comfort-row { display: flex; gap: 8px; }
.comfort-btn {
  flex: 1;
  padding: 10px 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg2);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg2);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.comfort-btn.active {
  border-color: var(--accent);
  background: var(--accent2);
  color: var(--accent);
}

.checks-row { display: flex; flex-direction: column; gap: 8px; }
.check-item { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; color: var(--fg); }
.check-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }
.check-item em { font-style: normal; font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--accent); margin-left: 4px; }

/* xp preview */
.xp-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--fg);
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.xp-preview-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
.xp-preview-val { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: #fff; }
[data-theme="dark"] .xp-preview { background: var(--bg3); }
[data-theme="dark"] .xp-preview-label { color: var(--fg3); }
[data-theme="dark"] .xp-preview-val { color: var(--fg); }

/* ── BUTTONS ───────────────────────────────────────── */
.btn-primary {
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  padding: 15px 20px;
  border-radius: var(--radius);
  transition: opacity 0.15s, transform 0.1s;
  letter-spacing: 0.02em;
}
.btn-primary:active { opacity: 0.85; transform: scale(0.99); }

/* ── ANIMATIONS ────────────────────────────────────── */
@keyframes float-up  { 0%{opacity:1;transform:translate(-50%,-50%);} 100%{opacity:0;transform:translate(-50%,-120%);} }
@keyframes slide-in  { from{transform:translateY(100%);} to{transform:translateY(0);} }
@keyframes pop-in    { from{opacity:0;transform:scale(0.9);} to{opacity:1;transform:scale(1);} }

.xp-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  padding: 14px 28px;
  border-radius: 50px;
  z-index: 200;
  animation: float-up 1.4s ease forwards;
  pointer-events: none;
}
.levelup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  animation: pop-in 0.3s ease;
}
.lu-sup {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.lu-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 88px;
  line-height: 1;
  color: #fff;
  margin-bottom: 4px;
}
.lu-skill { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--accent); margin-bottom: 24px; }
.lu-ok {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  border: 1.5px solid rgba(255,255,255,0.2);
  padding: 10px 28px;
  border-radius: 40px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.lu-ok:hover { border-color: var(--accent); color: var(--accent); }

.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  padding: 10px 18px;
  border-radius: 40px;
  z-index: 200;
  white-space: nowrap;
  pointer-events: none;
  animation: float-up 2.8s ease forwards;
}
.toast.ok    { background: var(--green); color: #fff; }
.toast.error { background: var(--red);   color: #fff; }
