/* ============================================================
   Sakina Quest – Design
   Zwei Welten, eine Handschrift: der Bogen (Mihrab) und der Achtstern.
   .kids  = warm, verspielt, kräftige Konturen
   .teens = ruhig, edel, Anthrazit mit Rosé & Gold
   ============================================================ */
:root {
  --bg: #FFF6EA; --ink: #123B3F; --accent: #E8857A; --accent2: #F2B544; --accent3: #5FA8A0;
  --card: #ffffff; --muted: rgba(18, 59, 63, .62); --line: var(--ink);
  --radius: 22px; --bw: 3px; --shadow: 4px 5px 0 var(--ink);
  --font-head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --ok: #3E9B6E; --bad: #D4574B;
}
body.teens {
  --card: rgba(255, 255, 255, .045); --muted: rgba(244, 236, 230, .6); --line: rgba(244, 236, 230, .16);
  --radius: 18px; --bw: 1px; --shadow: 0 18px 40px -22px rgba(0, 0, 0, .8);
  --font-head: "Fraunces", Georgia, serif; --font-body: "Manrope", system-ui, sans-serif;
  --ok: #7FC8A0; --bad: #F08A80;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.45;
  overscroll-behavior-y: none; -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img, svg { display: block; max-width: 100%; }

#bgPattern { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5; }
body.kids #bgPattern { opacity: .55; }
#app { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: calc(18px + var(--safe-t)) 18px calc(110px + var(--safe-b)); min-height: 100vh; }
@media (min-width: 900px) { #app { max-width: 920px; } }

h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.08; letter-spacing: -.01em; }
body.kids h1 { font-size: 34px; font-weight: 800; }
body.teens h1 { font-size: 36px; font-weight: 400; }
body.teens h1 em, body.teens h2 em { font-style: italic; color: var(--accent); }
body.kids h1 em, body.kids h2 em { font-style: normal; color: var(--accent); }
h2 { font-size: 24px; }
body.kids h2 { font-weight: 800; }
body.teens h2 { font-weight: 400; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ar { font-family: "Amiri", serif; direction: rtl; }
.muted { color: var(--muted); }
.spacer { height: 18px; }
.row { display: flex; gap: 10px; align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }

/* ---------- Karten & Bogen ---------- */
.card {
  background: var(--card); border: var(--bw) solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; position: relative;
}
body.teens .card { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.arch { border-radius: 999px 999px var(--radius) var(--radius); }
.arch-top { border-top-left-radius: 140px 110px; border-top-right-radius: 140px 110px; }

/* ---------- Kopfbereich ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.iconbtn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: var(--bw) solid var(--line); background: var(--card); box-shadow: var(--shadow); flex: none;
}
body.kids .iconbtn { box-shadow: 2px 3px 0 var(--ink); }
.iconbtn svg { width: 22px; height: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  border: var(--bw) solid var(--line); background: var(--card); font-weight: 800; font-size: 14px;
}
.chip .s8 { width: 16px; height: 16px; color: var(--accent2); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 26px 22px 22px; min-height: 210px; }
body.kids .hero { background: var(--accent3); color: #fff; }
body.teens .hero { background: linear-gradient(160deg, rgba(231,179,181,.16), rgba(201,168,106,.06) 60%, transparent); }
.hero .ar { font-size: 26px; opacity: .9; text-align: left; padding-left: 4px; }
.hero h1 { margin-top: 6px; max-width: 75%; }
body.kids .hero h1 { color: #fff; }
body.kids .hero h1 em { color: #FFE7A6; }
.hero p { margin: 8px 0 0; max-width: 70%; opacity: .9; }
.hero .heroArt { position: absolute; right: -18px; bottom: -10px; width: 46%; max-width: 230px; }
.hero .stats { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
body.kids .hero .chip { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.7); color: #fff; }

/* ---------- Spiele-Kacheln ---------- */
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 28px 2px 12px; }
.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .games { grid-template-columns: repeat(4, 1fr); } }
.game {
  position: relative; text-align: left; min-height: 158px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end;
  border: var(--bw) solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  transition: transform .15s ease;
}
.game:active { transform: translate(2px, 3px); }
body.kids .game:active { box-shadow: 1px 1px 0 var(--ink); }
.game .gicon { position: absolute; top: 14px; right: 14px; width: 54px; height: 54px; }
.game .gt { font-family: var(--font-head); font-size: 22px; font-weight: 800; line-height: 1.05; }
body.teens .game .gt { font-weight: 400; font-size: 23px; }
.game .gs { font-size: 13px; opacity: .8; margin-top: 3px; }
.game .num { position: absolute; top: 14px; left: 16px; font-family: var(--font-head); font-size: 13px; opacity: .55; }
body.kids .game { color: var(--ink); }
body.kids .game.c1 { background: #FFD9D2; } body.kids .game.c2 { background: #CDEBE6; }
body.kids .game.c3 { background: #FFE6A8; } body.kids .game.c4 { background: #DCD6F4; }
body.kids .game.c5 { background: #FFFFFF; } body.kids .game.c6 { background: #D7ECCB; }
body.kids .game.wide, body.teens .game.wide { grid-column: span 2; min-height: 120px; }
body.teens .game { background: var(--card); }
body.teens .game .gicon { color: var(--accent); opacity: .9; }
body.teens .game.c2 .gicon, body.teens .game.c6 .gicon { color: var(--accent2); }
body.teens .game.c4 .gicon { color: var(--accent3); }
body.teens .game::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(231,179,181,.18), transparent 70%); }

/* ---------- Module ---------- */
.modules { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.modules::-webkit-scrollbar { display: none; }
.mod {
  flex: none; width: 136px; scroll-snap-align: start; text-align: center; padding: 18px 12px 14px;
  border: var(--bw) solid var(--line); background: var(--card); box-shadow: var(--shadow);
  border-radius: 80px 80px var(--radius) var(--radius);
}
.mod .mi { width: 52px; height: 52px; margin: 4px auto 10px; color: var(--mc, var(--accent)); }
.mod .mt { font-family: var(--font-head); font-weight: 800; font-size: 18px; }
body.teens .mod .mt { font-weight: 400; }
.mod .ms { font-size: 12px; color: var(--muted); }
.mod .stars { display: flex; justify-content: center; gap: 3px; margin-top: 8px; }
.mod .stars svg { width: 15px; height: 15px; color: var(--line); }
.mod .stars svg.on { color: var(--accent2); }
body.kids .mod .stars svg { color: rgba(18,59,63,.18); }
body.kids .mod .stars svg.on { color: var(--accent2); }
.mod.sel { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 22px; min-height: 56px;
  border-radius: 999px; font-weight: 800; font-size: 17px; border: var(--bw) solid var(--line);
  background: var(--accent); color: #fff; box-shadow: var(--shadow); width: 100%;
  font-family: var(--font-body); transition: transform .12s ease, opacity .2s;
}
body.kids .btn { color: var(--ink); background: var(--accent2); }
body.teens .btn { color: #1A1414; border: 0; }
.btn:active { transform: translate(2px, 3px); }
.btn.ghost { background: var(--card); color: var(--ink); }
.btn.dark { background: var(--ink); color: var(--bg); }
.btn.small { min-height: 44px; padding: 10px 16px; font-size: 15px; width: auto; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btnrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- Formulare ---------- */
label.f { display: block; margin: 14px 0 6px; font-weight: 800; font-size: 14px; }
.input, select.input, textarea.input {
  width: 100%; padding: 14px 16px; border-radius: 16px; border: var(--bw) solid var(--line); background: var(--card);
  font-size: 17px; outline: none;
}
body.teens .input { background: rgba(255,255,255,.06); }
body.teens select.input option { color: #111; }
.input:focus { border-color: var(--accent); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.seg button {
  padding: 13px 8px; border-radius: 16px; border: var(--bw) solid var(--line); background: var(--card); font-weight: 800; font-size: 15px;
}
.seg button.on { background: var(--ink); color: var(--bg); }
body.teens .seg button.on { background: var(--accent); color: #1A1414; border-color: var(--accent); }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pick button { text-align: left; padding: 16px; border-radius: var(--radius); border: var(--bw) solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.pick button.on { outline: 3px solid var(--accent); outline-offset: 2px; }
.pick b { display: block; font-family: var(--font-head); font-size: 22px; }
.pick span { font-size: 13px; color: var(--muted); }

/* ---------- Quiz ---------- */
.qhead { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.bar { flex: 1; height: 12px; border-radius: 99px; background: rgba(127,127,127,.18); overflow: hidden; border: var(--bw) solid var(--line); }
body.teens .bar { border: 0; height: 6px; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .4s ease; }
.qcard { padding: 26px 20px; text-align: center; min-height: 170px; display: flex; flex-direction: column; justify-content: center; }
.qcard .qn { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.qcard .qt { font-family: var(--font-head); font-size: 25px; font-weight: 700; line-height: 1.18; }
body.teens .qcard .qt { font-weight: 400; font-size: 27px; }
.qimg { width: 62%; max-width: 260px; margin: 0 auto 14px; border-radius: 18px; overflow: hidden; border: var(--bw) solid var(--line); background: #fff; }
.opts { display: grid; gap: 12px; margin-top: 18px; }
.opt {
  display: flex; align-items: center; gap: 14px; text-align: left; padding: 15px 16px; min-height: 62px;
  border-radius: 18px; border: var(--bw) solid var(--line); background: var(--card); box-shadow: var(--shadow); font-weight: 700; font-size: 17px;
  transition: transform .12s ease, background .2s;
}
.opt .k { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 15px; border: var(--bw) solid var(--line); }
.opt.ok { background: var(--ok); color: #fff; border-color: var(--ok); }
.opt.bad { background: var(--bad); color: #fff; border-color: var(--bad); animation: shake .35s; }
.opt.dim { opacity: .45; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.explain { margin-top: 14px; padding: 14px 16px; border-radius: 16px; border: var(--bw) dashed var(--line); font-size: 15px; }
.timer { font-family: var(--font-head); font-weight: 800; font-size: 18px; min-width: 44px; text-align: right; }

/* ---------- Ergebnis ---------- */
.result { text-align: center; padding: 30px 20px; }
.bigstars { display: flex; justify-content: center; gap: 10px; margin: 6px 0 14px; }
.bigstars svg { width: 58px; height: 58px; color: rgba(127,127,127,.25); transition: transform .4s; }
.bigstars svg.on { color: var(--accent2); animation: pop .5s both; }
.bigstars svg.on:nth-child(2) { animation-delay: .15s; } .bigstars svg.on:nth-child(3) { animation-delay: .3s; }
@keyframes pop { 0% { transform: scale(0) rotate(-40deg); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
.score { font-family: var(--font-head); font-size: 64px; font-weight: 800; line-height: 1; }
body.teens .score { font-weight: 400; }

/* ---------- Duell (gegenüber) ---------- */
.duel { position: fixed; inset: 0; z-index: 30; display: grid; grid-template-rows: 1fr auto 1fr; background: var(--bg); }
.duel .half { padding: 16px 16px calc(14px); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.duel .half.p1 { transform: rotate(180deg); }
.duel.side .half.p1 { transform: none; }
.duel .half .pname { display: flex; justify-content: space-between; align-items: center; font-weight: 900; }
.duel .half .pscore { font-family: var(--font-head); font-size: 30px; font-weight: 800; }
.duel .half .dq { font-family: var(--font-head); font-size: 20px; font-weight: 700; line-height: 1.15; text-align: center; padding: 4px 6px; }
body.teens .duel .half .dq { font-weight: 400; font-size: 22px; }
.duel .half .dopts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.duel .half .opt { min-height: 54px; font-size: 15px; padding: 10px 12px; box-shadow: none; }
.duel .mid { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px; border-top: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line); background: var(--card); }
.duel .mid .vs { font-family: var(--font-head); font-weight: 800; }
.duel .p1 { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.duel .p2 { background: color-mix(in srgb, var(--accent3) 18%, transparent); }
.duel .flash { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font-family: var(--font-head); font-size: 26px; font-weight: 800; }
@media (min-width: 820px) and (orientation: landscape) {
  .duel { grid-template-rows: none; grid-template-columns: 1fr auto 1fr; }
  .duel .half.p1 { transform: none; }
  .duel .mid { flex-direction: column; border: 0; border-left: var(--bw) solid var(--line); border-right: var(--bw) solid var(--line); }
  .duel .half { justify-content: center; padding: 30px; }
}

/* ---------- Tabu ---------- */
.tabucard { text-align: center; padding: 0; overflow: hidden; }
.tabucard .term { padding: 34px 20px 26px; background: var(--ink); color: var(--bg); }
body.teens .tabucard .term { background: linear-gradient(160deg, var(--accent), #c98d91); color: #1A1414; }
.tabucard .term small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .75; font-weight: 800; }
.tabucard .term b { display: block; font-family: var(--font-head); font-size: 40px; line-height: 1.05; margin-top: 6px; }
.tabucard ul { list-style: none; margin: 0; padding: 18px 20px 22px; display: grid; gap: 10px; }
.tabucard li { font-weight: 800; font-size: 20px; text-decoration: line-through; text-decoration-color: var(--bad); text-decoration-thickness: 3px; }
.tabuteams { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.tabuteams .t { padding: 12px; border-radius: 18px; border: var(--bw) solid var(--line); background: var(--card); text-align: center; }
.tabuteams .t.on { outline: 3px solid var(--accent); outline-offset: 2px; }
.tabuteams .t b { display: block; font-family: var(--font-head); font-size: 32px; }
.bigtimer { font-family: var(--font-head); font-size: 56px; font-weight: 800; text-align: center; }

/* ---------- Memory ---------- */
.mem { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); perspective: 900px; }
@media (min-width: 900px) { .mem { grid-template-columns: repeat(6, 1fr); } }
.mcard { aspect-ratio: 3 / 4; position: relative; transform-style: preserve-3d; transition: transform .45s cubic-bezier(.3,1.4,.5,1); }
.mcard.open, .mcard.done { transform: rotateY(180deg); }
.mcard .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 16px; border: var(--bw) solid var(--line); display: grid; place-items: center; padding: 6px; text-align: center; overflow: hidden; }
.mcard .back { background: var(--ink); color: var(--accent2); }
body.teens .mcard .back { background: linear-gradient(160deg, #2a2730, #1d1b21); border-color: rgba(201,168,106,.4); }
.mcard .back svg { width: 54%; opacity: .9; }
.mcard .front { transform: rotateY(180deg); background: var(--card); font-weight: 800; font-size: 14px; line-height: 1.15; word-break: break-word; hyphens: auto; }
body.teens .mcard .front { background: #26232b; }
.mcard .front.b { font-weight: 600; font-size: 12.5px; }
.mcard.done .front { background: var(--ok); color: #fff; border-color: var(--ok); }

/* ---------- Ausmalen ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery button { padding: 10px; border-radius: var(--radius); border: var(--bw) solid var(--line); background: #fff; box-shadow: var(--shadow); color: #111; }
.gallery button img { border-radius: 12px; }
.gallery button span { display: block; font-weight: 800; font-size: 14px; margin-top: 6px; }
.colorwrap { background: #fff; border-radius: var(--radius); border: var(--bw) solid var(--line); overflow: hidden; touch-action: none; }
.colorwrap canvas { width: 100%; height: auto; display: block; touch-action: none; }
.palette { display: flex; flex-wrap: wrap; gap: 9px; margin: 14px 0; justify-content: center; }
.palette button { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(0,0,0,.15); }
.palette button.on { transform: scale(1.18); border-color: var(--ink); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ink); }
body.teens .palette button.on { border-color: #fff; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #fff; }
.tools { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.tools button { padding: 9px 14px; border-radius: 999px; border: var(--bw) solid var(--line); background: var(--card); font-weight: 800; font-size: 14px; }
.tools button.on { background: var(--ink); color: var(--bg); }
body.teens .tools button.on { background: var(--accent); color: #1A1414; }

/* ---------- Liste ---------- */
.list { display: grid; gap: 12px; }
.li { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; padding: 14px 16px; border-radius: var(--radius); border: var(--bw) solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.li .lic { width: 44px; height: 44px; flex: none; color: var(--mc, var(--accent)); }
.li .lt { font-family: var(--font-head); font-weight: 800; font-size: 19px; }
body.teens .li .lt { font-weight: 400; }
.li .ls { font-size: 13px; color: var(--muted); }
.li .go { margin-left: auto; opacity: .6; }

/* ---------- Toggle ---------- */
.switch { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius); border: var(--bw) solid var(--line); background: var(--card); text-align: left; width: 100%; }
.switch .knob { flex: none; width: 56px; height: 32px; border-radius: 99px; background: rgba(127,127,127,.3); position: relative; transition: background .2s; }
.switch .knob::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch.on .knob { background: var(--ok); }
.switch.on .knob::after { transform: translateX(24px); }

/* ---------- Tabbar ---------- */
#tabbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + var(--safe-b)); z-index: 20;
  display: flex; gap: 2px; padding: 6px; border-radius: 999px; width: min(560px, calc(100% - 24px));
  background: var(--ink); box-shadow: 0 14px 30px -12px rgba(0,0,0,.45);
}
body.teens #tabbar { background: rgba(30, 28, 34, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.08); }
#tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 999px; color: rgba(255,255,255,.62); font-size: 11px; font-weight: 800; }
body.kids #tabbar button { color: rgba(255, 246, 234, .7); }
#tabbar button svg { width: 22px; height: 22px; }
#tabbar button.on { background: var(--accent2); color: var(--ink); }
body.teens #tabbar button.on { background: var(--accent); color: #1A1414; }

/* ---------- Sheet & Toast ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; background: rgba(10, 10, 14, .45); }
.sheet .panel {
  width: min(640px, 100%); max-height: 90vh; overflow: auto; background: var(--bg); border-radius: 28px 28px 0 0;
  padding: 22px 20px calc(24px + var(--safe-b)); animation: up .28s cubic-bezier(.2,.9,.3,1);
  border-top: var(--bw) solid var(--line);
}
body.teens .sheet .panel { background: #1f1d24; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet .grab { width: 44px; height: 5px; border-radius: 9px; background: var(--muted); opacity: .4; margin: -8px auto 14px; }
.toast { position: fixed; left: 50%; top: calc(16px + var(--safe-t)); transform: translateX(-50%); z-index: 60; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 800; font-size: 15px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); max-width: 92%; text-align: center; }
body.teens .toast { background: var(--accent); color: #1A1414; }

/* ---------- Powered by ---------- */
.powered { display: flex; justify-content: center; margin: 30px 0 6px; }
.powered button {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); font-size: 12.5px; letter-spacing: .02em; color: var(--muted);
}
body.kids .powered button { border-width: 2px; }
.powered b { color: var(--ink); font-weight: 800; }
.powered .dot { width: 20px; height: 20px; color: #D99AA0; }

/* ---------- Konfetti ---------- */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 12px; height: 12px; animation: fall 1.8s ease-in forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); opacity: .6; } }

/* ---------- Onboarding ---------- */
.onb { min-height: calc(100vh - 140px); display: flex; flex-direction: column; justify-content: center; }
.onb .logo { width: 120px; margin: 0 auto 14px; }
.onb h1 { text-align: center; }
.onb .lead { text-align: center; color: var(--muted); margin: 8px 0 22px; }
.fade { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
