/* Approved Talents – Navy/Gold, große Tippflächen, ohne externe Abhängigkeiten */
:root {
  --navy: #0F2A4A; --deep: #0A1D33; --navy-2: #183A63; --gold: #F5B427; --gold-2: #E09A0B; --ink: #E8EEF6; --muted: #9FB0C4;
  --ok: #3CC48A; --bad: #F2705E; --card: rgba(255,255,255,.07); --line: rgba(255,255,255,.14); --r: 20px;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; background: var(--deep); color: var(--ink); overflow-x: clip; }
body { background: radial-gradient(120% 70% at 80% -10%, #1B4E8A 0%, transparent 55%), radial-gradient(80% 60% at -10% 110%, rgba(245,180,39,.18), transparent 60%), var(--deep); min-height: 100dvh; }
#app { max-width: 720px; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom)); }
h1, h2, h3 { margin: 0; font-style: normal; letter-spacing: -0.02em; }
h1 { font-size: clamp(30px, 8vw, 44px); line-height: 1.02; }
h2 { font-size: 24px; }
p { line-height: 1.5; margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 12px; }
.top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand small { display: block; font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: .06em; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--gold); display: grid; place-items: center; color: var(--navy); font-weight: 900; }
.icon-btn { width: 42px; height: 42px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; }
.hero { margin: 8px 0 22px; display: grid; gap: 12px; }
.hero h1 span { color: var(--gold); }
.lead { color: var(--muted); font-size: 17px; }
.privacy { display: flex; gap: 10px; align-items: flex-start; background: rgba(60,196,138,.12); border: 1px solid rgba(60,196,138,.35); border-radius: 16px; padding: 12px 14px; font-size: 14px; }
.privacy b { color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 18px; }
.tile { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 8px; min-height: 150px; transition: transform .15s ease, background .15s ease; }
.tile:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); }
.tile:active { transform: scale(.98); }
.tile .emo { font-size: 30px; }
.tile b { font-size: 17px; }
.tile span { color: var(--muted); font-size: 13.5px; }
.tile .best { color: var(--gold); font-weight: 800; font-size: 13px; }
.tile[disabled] { opacity: .45; cursor: default; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 17px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: var(--card); border: 1px solid var(--line); }
.btn-block { width: 100%; }
.stack { display: grid; gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.hud { display: flex; justify-content: space-between; align-items: center; font-weight: 800; margin-bottom: 14px; gap: 10px; }
.hud .pill { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--gold); width: 0; transition: width .2s linear; }

/* Reaktion */
.react { height: min(62vh, 460px); border-radius: 28px; display: grid; place-items: center; text-align: center; font-size: 26px; font-weight: 900; user-select: none; touch-action: manipulation; background: var(--navy-2); border: 1px solid var(--line); }
.react.go { background: var(--gold); color: var(--navy); }
.react.early { background: var(--bad); color: #fff; }
.react small { display: block; font-size: 15px; font-weight: 600; opacity: .8; margin-top: 6px; }

/* Konzentration */
.conc { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.sym { aspect-ratio: 1; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; font-size: clamp(18px, 5vw, 26px); font-weight: 800; line-height: .8; font-family: ui-monospace, Menlo, monospace; }
.sym .m { display: block; height: 14px; font-size: 17px; line-height: 14px; color: var(--gold); letter-spacing: 2px; }
.sym.hit { background: rgba(60,196,138,.25); border-color: var(--ok); }
.sym.miss { background: rgba(242,112,94,.25); border-color: var(--bad); }
.target { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--card); border: 1px solid var(--gold); font-size: 24px; font-weight: 800; line-height: .8; font-family: ui-monospace, Menlo, monospace; vertical-align: middle; }
.target .m { display: block; height: 12px; font-size: 15px; line-height: 12px; color: var(--gold); letter-spacing: 2px; }

/* Merken */
.pads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 420px; margin: 0 auto; }
.pad { aspect-ratio: 1; border-radius: 26px; opacity: .55; transition: opacity .12s ease, transform .12s ease; touch-action: manipulation; }
.pad.on { opacity: 1; transform: scale(.96); box-shadow: 0 0 0 4px rgba(255,255,255,.6) inset; }
.pad[data-i="0"] { background: #F5B427; } .pad[data-i="1"] { background: #3CC48A; } .pad[data-i="2"] { background: #5B8DEF; } .pad[data-i="3"] { background: #F2705E; }
.pads.locked .pad { pointer-events: none; }

/* Logik */
.seq { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font-size: 26px; font-weight: 900; margin: 10px 0 18px; }
.seq span { background: var(--card); border: 1px solid var(--line); border-radius: 14px; min-width: 54px; padding: 10px 12px; text-align: center; }
.seq span.q { border-color: var(--gold); color: var(--gold); }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opts button { min-height: 64px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-size: 24px; font-weight: 900; }
.opts button.right { background: rgba(60,196,138,.3); border-color: var(--ok); }
.opts button.wrong { background: rgba(242,112,94,.3); border-color: var(--bad); }

/* Ergebnis */
.result-big { font-size: 64px; font-weight: 900; color: var(--gold); line-height: 1; letter-spacing: -0.03em; }
.list { display: grid; gap: 10px; }
.row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.row b { font-size: 16px; } .row span { color: var(--gold); font-weight: 800; white-space: nowrap; }
.fade { animation: fade .25s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade, .tile, .pad { animation: none; transition: none; } }
.foot { margin-top: 26px; text-align: center; font-size: 12px; color: var(--muted); }
.foot a { color: var(--muted); }
