/* Odkrywca Europy - motywy i elementy wspólne */
:root {
  --font: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 18px;
  --shadow: 0 6px 0 rgba(0, 0, 0, 0.12), 0 10px 24px rgba(0, 0, 0, 0.08);
  --good: #2bb24c;
  --good-d: #1e8b39;
  --bad: #e5484d;
  --bad-d: #b8343a;
  --gold: #ffb800;
  --gold-d: #d99700;
  --sea: #a9d3f2;
  --sea-d: #7fb8e6;
  --land: #f3f0dc;
  --land-line: #b9b29a;
}
/* Motyw "chłopiec": niebiesko-turkusowy */
:root,
[data-theme='boy'] {
  --bg: #e9f5ff;
  --bg2: #d3ebff;
  --panel: #ffffff;
  --ink: #12263f;
  --muted: #5b7088;
  --accent: #1c7ed6;
  --accent-d: #1462a8;
  --accent2: #12b886;
  --accent2-d: #0c8a64;
  --chip: #e3f0fb;
}
/* Motyw "dziewczyna": róż i fiolet */
[data-theme='girl'] {
  --bg: #fff0f7;
  --bg2: #ffdcec;
  --panel: #ffffff;
  --ink: #3b1530;
  --muted: #8a5a78;
  --accent: #d6336c;
  --accent-d: #a61e4d;
  --accent2: #9c36b5;
  --accent2-d: #7b2390;
  --chip: #fde4f0;
  --sea: #b9d8f5;
  --land: #fdf5e6;
}
/* Motyw "kosmos": ciemny */
[data-theme='space'] {
  --bg: #0f1530;
  --bg2: #18204a;
  --panel: #1d2654;
  --ink: #eef1ff;
  --muted: #a6b0e0;
  --accent: #7c5cff;
  --accent-d: #5b3fd6;
  --accent2: #22d3ee;
  --accent2-d: #0aa5be;
  --chip: #27306a;
  --sea: #1f3b6e;
  --sea-d: #2b4f8f;
  --land: #3a4a3a;
  --land-line: #6b7d6b;
  --shadow: 0 6px 0 rgba(0, 0, 0, 0.35), 0 10px 24px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
button { font-family: inherit; }
.hidden { display: none !important; }

.btn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 0 var(--accent-d);
  transition: transform 0.06s, box-shadow 0.06s, filter 0.15s;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--accent-d); }
.btn:disabled { filter: grayscale(0.8) opacity(0.55); cursor: not-allowed; }
.btn-big { font-size: 20px; padding: 16px 28px; border-radius: 18px; }
.btn-go { background: var(--good); box-shadow: 0 4px 0 var(--good-d); }
.btn-go:active { box-shadow: 0 1px 0 var(--good-d); }
.btn-2 { background: var(--accent2); box-shadow: 0 4px 0 var(--accent2-d); }
.btn-gold { background: var(--gold); color: #3a2a00; box-shadow: 0 4px 0 var(--gold-d); }
.btn-bad { background: var(--bad); box-shadow: 0 4px 0 var(--bad-d); }
.btn-ghost { background: transparent; color: var(--muted); box-shadow: none; }
.btn-ghost:active { box-shadow: none; }
.btn-light { background: var(--panel); color: var(--ink); box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15); border: 2px solid var(--chip); }
