/* ===== Thème sombre (DA premium — défaut) ===== */
:root,
[data-theme="dark"] {
  --gold: #D4AF37;
  --gold2: #F0C75E;
  --gold-dim: rgba(212, 175, 55, 0.15);
  --bg: #0a0e1a;
  --bg2: #111827;
  --bg3: #1a2235;
  --surface: rgba(20, 27, 46, 0.82);
  --surface-solid: #141b2e;
  --text: #f5f7ff;
  --muted: #8b9bb8;
  --line: rgba(212, 175, 55, 0.18);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --glow: 0 0 40px rgba(212, 175, 55, 0.12);
  --green: #4ade80;
  --orange: #fb923c;
  --red: #f87171;
  --blue: #60a5fa;
  --btn-text: #0a0e1a;
  --input-bg: rgba(10, 14, 26, 0.6);
  --nav-bg: rgba(10, 14, 26, 0.94);
  --hero-bg: linear-gradient(135deg, #141b2e 0%, #0a0e1a 60%, #1a1508 100%);
  --body-bg:
    radial-gradient(ellipse at 20% 0%, rgba(212, 175, 55, 0.08), transparent 45%),
    radial-gradient(ellipse at 80% 100%, rgba(59, 130, 246, 0.06), transparent 40%),
    linear-gradient(180deg, #0a0e1a 0%, #0d1224 50%, #0a0e1a 100%);
  --terrain-free: rgba(74, 222, 128, 0.12);
  --terrain-live: rgba(251, 146, 60, 0.12);
  --terrain-reserved: rgba(96, 165, 250, 0.12);
  --terrain-signaled: rgba(248, 113, 113, 0.12);
  --meta-theme: #0a0e1a;
}

/* ===== Thème clair ===== */
[data-theme="light"] {
  --gold: #B8860B;
  --gold2: #D4AF37;
  --gold-dim: rgba(184, 134, 11, 0.12);
  --bg: #eef1f8;
  --bg2: #ffffff;
  --bg3: #f8fafc;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --text: #0a0e1a;
  --muted: #5a6478;
  --line: rgba(10, 14, 26, 0.1);
  --shadow: 0 14px 40px rgba(10, 14, 26, 0.08);
  --glow: 0 0 30px rgba(184, 134, 11, 0.08);
  --green: #15803d;
  --orange: #c2410c;
  --red: #b91c1c;
  --blue: #1d4ed8;
  --btn-text: #0a0e1a;
  --input-bg: #f8fafc;
  --nav-bg: rgba(255, 255, 255, 0.96);
  --hero-bg: linear-gradient(135deg, #e8ecf4 0%, #eef1f8 60%, #f8fafc 100%);
  --body-bg:
    radial-gradient(ellipse at 20% 0%, rgba(212, 175, 55, 0.1), transparent 40%),
    linear-gradient(180deg, #f4f6fa 0%, #eef1f8 100%);
  --terrain-free: #ecfdf5;
  --terrain-live: #fff7ed;
  --terrain-reserved: #eff6ff;
  --terrain-signaled: #fef2f2;
  --meta-theme: #eef1f8;
}

:root {
  --nav-h: 78px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --radius: 20px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; font-family: var(--font); color: var(--text); }
.hidden { display: none !important; }

body.login-mobile,
body.mobile-app-body {
  background: var(--body-bg);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
  transition: background 0.3s ease, color 0.3s ease;
}
body.login-mobile input,
body.mobile-app-body input,
body.mobile-app-body textarea,
body.mobile-app-body select {
  -webkit-user-select: text;
  user-select: text;
}
body.mobile-app-body { padding: 14px 14px 0; }

/* ===== Bouton thème ===== */
.theme-toggle-bar {
  display: flex; justify-content: flex-end; margin-bottom: 12px;
}
.theme-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--gold); font-size: 13px; font-weight: 700;
  cursor: pointer; backdrop-filter: blur(12px);
}
.theme-toggle:active { opacity: 0.85; }
.theme-segment {
  display: flex; gap: 4px; padding: 4px;
  background: var(--input-bg); border-radius: 14px; border: 1px solid var(--line);
}
.theme-segment button {
  flex: 1; padding: 10px 14px; border: none; border-radius: 11px;
  background: transparent; color: var(--muted); font-weight: 700; font-size: 13px;
  cursor: pointer; font-family: var(--font);
}
.theme-segment button.active {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--btn-text);
  box-shadow: var(--glow);
}

/* ===== Login ===== */
.login-shell { min-height: 100vh; padding: 18px 18px 32px; display: flex; align-items: center; justify-content: center; }
.login-tab { width: 100%; max-width: 520px; animation: fadeIn 0.2s ease-out; }
.login-card {
  background: var(--surface); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 28px;
  box-shadow: var(--shadow); padding: 22px;
}
.login-hero {
  background: var(--hero-bg); color: #fff;
  border-radius: 22px; padding: 28px 22px; margin-bottom: 18px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: var(--glow); position: relative; overflow: hidden;
}
.login-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212,175,55,0.15), transparent 50%);
  pointer-events: none;
}
.login-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(212, 175, 55, 0.2); border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 14px;
}
.login-hero h1 {
  margin: 0; color: #fff; font-size: 32px; font-weight: 800;
  letter-spacing: 0.12em; line-height: 1.05;
}
.login-hero .brand-tagline {
  margin: 10px 0 0; color: var(--gold2); font-size: 11px;
  font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.login-hero p { margin: 8px 0 0; color: rgba(255,255,255,0.75); font-size: 15px; }
[data-theme="light"] .login-hero { color: var(--text); border-color: var(--line); }
[data-theme="light"] .login-hero h1 { color: var(--text); }
[data-theme="light"] .login-hero .brand-tagline { color: var(--gold); }
[data-theme="light"] .login-hero p { color: var(--muted); }
.login-help {
  margin-top: 16px; padding: 14px; border-radius: 16px;
  background: var(--gold-dim); border: 1px solid var(--line);
  color: var(--muted); line-height: 1.4; font-size: 13px;
}

.container { width: 100%; max-width: 720px; margin: 0 auto; }
.mobile-space { padding-bottom: calc(92px + var(--safe-b)); }
.tab-page { display: none; animation: fadeIn 0.2s ease; }
.tab-page.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0.4; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ===== Cartes glass ===== */
.card {
  background: var(--surface); backdrop-filter: blur(14px);
  border-radius: var(--radius); padding: 20px; margin: 14px 0;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s;
}
.admin-card h2 {
  font-size: 24px; font-weight: 800; line-height: 1.15;
  margin: 0 0 14px; letter-spacing: -0.02em; color: var(--text);
}
.admin-card h3 { margin: 0 0 12px; font-size: 17px; font-weight: 700; color: var(--text); }

.brand.compact-brand {
  padding: 22px; border-radius: 18px; margin-bottom: 14px;
  background: var(--hero-bg); border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: var(--glow); position: relative; overflow: hidden;
}
.brand.compact-brand::before {
  content: ''; position: absolute; top: -40%; right: -20%;
  width: 60%; height: 120%;
  background: radial-gradient(circle, rgba(212,175,55,0.12), transparent 70%);
}
.brand.compact-brand h1 {
  margin: 0; color: var(--text); font-size: 26px; font-weight: 800; position: relative;
}
.brand.compact-brand p {
  margin: 8px 0 0; color: var(--gold); font-size: 12px;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; position: relative;
}
[data-theme="dark"] .brand.compact-brand h1 { color: #fff; }
[data-theme="dark"] .brand.compact-brand p { color: var(--gold2); }

/* ===== Tuiles dashboard ===== */
.mobile-dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.dash-tile {
  width: 100%; min-height: 108px; display: flex; flex-direction: column;
  justify-content: space-between; text-align: left; border-radius: 18px;
  background: var(--bg3); border: 1px solid var(--line); color: var(--text);
  padding: 16px; cursor: pointer; line-height: 1.15;
  transition: transform 0.12s, border-color 0.2s;
}
.dash-tile:active { transform: scale(0.97); }
.dash-tile span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.dash-tile b { display: block; color: var(--gold); font-size: 26px; font-weight: 800; margin-top: 8px; }
.dash-tile.success b { color: var(--green); }
.dash-tile.danger b { color: var(--red); }

.mobile-actions-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 8px; }
.quick-action {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  border-radius: 14px; background: var(--bg3); border: 1px solid var(--line);
  font-weight: 700; font-size: 13px; text-align: center; cursor: pointer;
  color: var(--text); padding: 8px;
}
.quick-action:active { border-color: var(--gold); color: var(--gold); }

.section-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.section-title-row h2 { margin: 0; }
.status-pill {
  padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 12px;
  background: var(--gold-dim); color: var(--gold); border: 1px solid var(--line);
}
.status-pill.online { background: rgba(74,222,128,0.12); color: var(--green); border-color: rgba(74,222,128,0.3); }

.box {
  background: var(--bg3); border: 1px solid var(--line); border-radius: 16px;
  padding: 15px; margin: 12px 0; line-height: 1.4; color: var(--text);
}
.machine-mini { cursor: pointer; background: var(--terrain-free); border-color: rgba(74,222,128,0.3); }
.machine-mini.busy { background: var(--terrain-live); border-color: rgba(251,146,60,0.3); }

.disclaimer {
  font-size: 0.8rem; color: var(--muted); background: var(--gold-dim);
  border: 1px dashed var(--line); border-radius: 12px;
  padding: 10px 12px; margin-bottom: 12px; line-height: 1.35;
}

.summary-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.summary-pill {
  padding: 6px 10px; border-radius: 999px; background: var(--bg3);
  border: 1px solid var(--line); font-size: 12px; font-weight: 700;
}
.summary-pill.free { color: var(--green); border-color: rgba(74,222,128,0.35); }
.summary-pill.live { color: var(--orange); border-color: rgba(251,146,60,0.35); }
.summary-pill.reserved { color: var(--blue); border-color: rgba(96,165,250,0.35); }
.summary-pill.signaled { color: var(--red); border-color: rgba(248,113,113,0.35); }

/* ===== Terrains ===== */
.terrain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 520px) { .terrain-grid { grid-template-columns: repeat(3, 1fr); } }
.terrain-card {
  border-radius: 18px; padding: 14px; min-height: 104px;
  border: 1px solid var(--line); background: var(--bg3);
  cursor: pointer; display: flex; flex-direction: column; justify-content: space-between;
}
.terrain-card:active { transform: scale(0.98); }
.terrain-card.status-free { background: var(--terrain-free); border-color: rgba(74,222,128,0.35); }
.terrain-card.status-live { background: var(--terrain-live); border-color: rgba(251,146,60,0.35); }
.terrain-card.status-reserved { background: var(--terrain-reserved); border-color: rgba(96,165,250,0.35); }
.terrain-card.status-signaled { background: var(--terrain-signaled); border-color: rgba(248,113,113,0.35); }
.terrain-num { font-size: 1.3rem; font-weight: 800; color: var(--text); }
.terrain-status { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.terrain-meta { font-size: 0.76rem; color: var(--muted); margin-top: 6px; line-height: 1.3; }

/* ===== Navigation ===== */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: var(--nav-bg); border-top: 1px solid var(--line);
  display: flex; z-index: 999; backdrop-filter: blur(16px);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.25);
}
.bottom-nav button {
  flex: 1; background: transparent !important; color: var(--muted) !important;
  border: 0; padding: 7px 2px !important; font-size: 10px;
  font-weight: 700; cursor: pointer; font-family: var(--font);
}
.bottom-nav button.active {
  color: var(--gold) !important;
  background: var(--gold-dim) !important;
}
.bottom-nav .icon { display: block; font-size: 21px; line-height: 1; margin-bottom: 3px; }

.swipe-hint {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--nav-h) + 8px + var(--safe-b));
  margin: 0; font-size: 10px; color: var(--muted); opacity: 0.5;
  pointer-events: none; z-index: 998; white-space: nowrap;
}

/* ===== Accordéons ===== */
.accordion-list { display: flex; flex-direction: column; gap: 10px; }
.accordion-card {
  background: var(--bg3); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
}
.accordion-head, .accordion-only {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 12px; background: transparent; color: var(--text);
  border: 0; padding: 16px; text-align: left; cursor: pointer; font: inherit;
}
.accordion-head b, .accordion-only b { display: block; font-size: 16px; font-weight: 700; }
.accordion-head small, .accordion-only small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 600; }
.accordion-head:active, .accordion-only:active { background: var(--gold-dim); }
.chevron { color: var(--gold); font-size: 18px; transition: transform 0.15s; }
.open .chevron { transform: rotate(90deg); }
.open > .accordion-head, .open > .accordion-only { border-bottom: 1px solid var(--line); background: var(--gold-dim); }
.accordion-body { display: none; padding: 16px; }
.open > .accordion-body { display: block; }

/* ===== Formulaires ===== */
label { display: block; margin-bottom: 12px; }
label span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; margin: 0 0 6px 2px; }
input, select, textarea {
  width: 100%; padding: 14px 16px; margin: 0;
  border: 1px solid var(--line); border-radius: 14px;
  font-size: 16px; background: var(--input-bg); color: var(--text);
  font-family: var(--font);
}
input::placeholder { color: var(--muted); }
.checkbox-label { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); }
.checkbox-label input { width: auto; accent-color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 14px; padding: 14px 18px;
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: var(--font);
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--btn-text);
  box-shadow: var(--glow);
}
.btn-block { width: 100%; margin-bottom: 8px; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: var(--btn-text); }
.btn-secondary { background: var(--bg3); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--muted); box-shadow: none; border: 1px solid var(--line); }
.btn-sm { padding: 8px 12px; font-size: 13px; min-height: auto; box-shadow: none; }

.tabs-auth, .tabs-rank { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.tab-auth, .tab-rank {
  flex: 1; min-width: 0; padding: 10px 8px; border: 1px solid var(--line);
  background: var(--bg3); border-radius: 12px; font-weight: 700; font-size: 12px;
  cursor: pointer; color: var(--muted); font-family: var(--font);
}
.tab-auth.active, .tab-rank.active {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--btn-text); border-color: transparent;
}
.login-form button { width: 100%; margin-top: 12px; min-height: 52px; }

/* ===== Classement ===== */
.ranking-list { list-style: none; padding: 0; margin: 0; }
.ranking-list li {
  display: flex; align-items: center; gap: 10px; padding: 14px;
  background: var(--bg3); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px;
}
.rank-num { font-weight: 800; color: var(--gold); min-width: 32px; font-size: 18px; }
.rank-stats { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 700; }

.simple-list { list-style: none; padding: 0; margin: 0; }
.simple-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text);
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.tag { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: var(--gold-dim); color: var(--gold); }
.tag.ranked { background: rgba(212,175,55,0.2); color: var(--gold2); }
.tag.public { background: rgba(96,165,250,0.15); color: var(--blue); }

.profile-card .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.stat-box {
  background: var(--bg3); border-radius: 14px; padding: 12px; text-align: center;
  border: 1px solid var(--line);
}
.stat-box strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.stat-box span { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

.search-row { display: flex; gap: 8px; margin-bottom: 10px; }
.search-row input { flex: 1; }
.match-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; flex-wrap: wrap; color: var(--text); }
.error-msg { color: var(--red); text-align: center; font-size: 14px; margin-top: 10px; font-weight: 600; }
.success-msg { color: var(--green); text-align: center; font-size: 14px; margin-top: 10px; font-weight: 600; line-height: 1.4; }
.hint { font-size: 13px; color: var(--muted); margin: 0 0 12px; line-height: 1.35; }

/* ===== Modale ===== */
.modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-end; justify-content: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(4px); }
.modal-panel {
  position: relative; width: 100%; max-width: 720px;
  max-height: min(92dvh, calc(100dvh - env(safe-area-inset-top, 0px)));
  overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; border-radius: 28px 28px 0 0;
  background: var(--surface-solid); border: 1px solid var(--line);
  padding: 48px 16px calc(24px + var(--safe-b));
}
#modalBody { padding-bottom: 8px; color: var(--text); }
.modal-close {
  position: absolute; top: 12px; right: 12px; border: none;
  background: var(--bg3); width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.4rem; cursor: pointer; color: var(--gold); z-index: 2;
  border: 1px solid var(--line);
}
.modal h3 { margin: 0 0 16px; padding-right: 44px; color: var(--text); font-weight: 800; }
.modal .btn-primary.btn-block,
.modal .btn-secondary.btn-block {
  margin-top: 16px; min-height: 52px; position: sticky; bottom: 0; z-index: 1;
  box-shadow: 0 -12px 24px var(--bg);
}
body.modal-open { overflow: hidden; }
body.modal-open .bottom-nav,
body.modal-open .swipe-hint { visibility: hidden; pointer-events: none; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 20px + var(--safe-b));
  transform: translateX(-50%); background: var(--surface-solid); color: var(--gold);
  border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; z-index: 10001; max-width: 90%; text-align: center;
  box-shadow: var(--shadow);
}

.player-pick {
  max-height: 100px; overflow-y: auto; border: 1px solid var(--line);
  border-radius: 14px; padding: 10px; background: var(--input-bg);
  -webkit-overflow-scrolling: touch;
}
.player-pick label { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 6px; color: var(--text); }

/* ===== Score picker (molette + boutons) ===== */
.score-board {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 18px 0 8px;
}
.score-board-readonly .score-wheel { pointer-events: none; overflow: hidden; }
.score-col {
  flex: 1; max-width: 148px; display: flex; flex-direction: column;
  align-items: center; gap: 8px;
}
.score-team-name {
  font-size: 12px; font-weight: 700; color: var(--text); text-align: center;
  line-height: 1.3; max-width: 100%; word-break: break-word;
  min-height: 2.6em; display: flex; align-items: flex-end; justify-content: center;
}
.score-step {
  width: 64px; min-height: 44px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg3);
  color: var(--gold); font-size: 20px; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  touch-action: manipulation; user-select: none;
}
.score-step:active { background: var(--gold-dim); transform: scale(0.96); }
.score-wheel {
  width: 80px; height: var(--score-item-h, 56px);
  overflow-y: auto; overflow-x: hidden;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  border: 2px solid var(--line); border-radius: 16px;
  background: var(--input-bg); position: relative;
  touch-action: pan-y; scrollbar-width: none;
}
.score-wheel::-webkit-scrollbar { display: none; }
.score-wheel::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border-radius: 14px; box-shadow: inset 0 8px 12px -8px var(--bg), inset 0 -8px 12px -8px var(--bg);
}
.score-wheel-item {
  height: var(--score-item-h, 56px); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  scroll-snap-align: center; font-size: 2rem; font-weight: 800;
  color: var(--muted); transition: color 0.15s, transform 0.15s;
}
.score-wheel-item.active { color: var(--gold); transform: scale(1.08); }
.score-sep {
  font-size: 2rem; font-weight: 800; color: var(--gold);
  flex-shrink: 0; align-self: center;
  margin-top: calc(2.6em + 52px);
}
.score-live {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-size: 2rem; font-weight: 800; margin: 16px 0; color: var(--gold);
}

@media (max-width: 480px) {
  body.mobile-app-body { padding: 10px 10px 0; }
  .card { padding: 16px; }
  .dash-tile b { font-size: 22px; }
  .bottom-nav button { font-size: 9px; }
  .login-hero h1 { font-size: 26px; }
}
