/* GENERATED by gen-brain-game.mjs from products/xml/games/which-group.xml (+ jaxillmind-brand skin). DO NOT HAND-EDIT — edit the node, re-run. style.css */
:root {
  --bg: #faf6ec; --bg2: undefined; --panel2: #ffffff; --edge: #26456f;
  --text: #223148; --dim: #566079; --block-face: #ffcf5a; --block-shadow: #d19a3e; --hairline: #e4ddcb; --soft: #ffffff;
  --head: #2f5aa6; --win: #3f7d20; --lose: #c0392b;
  --acc-a: #8FA35C; --acc-b: #E06A45; --acc-c: #E5A43B; --acc-d: #7E93A8;
  --level-acc: #E5A43B;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-block: ui-monospace, 'SFMono-Regular', 'Courier New', monospace;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; font-family: var(--font-body);
       background: radial-gradient(circle at 50% 0%, var(--panel2), var(--bg) 55%, var(--bg2)); color: var(--text); padding: 16px; }
main { text-align: center; max-width: 480px; width: 100%; position: relative; }
.home-btn { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 11px 20px; min-height: 44px;
        font-family: var(--font-block); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em;
        color: var(--edge); background: var(--block-face); border: 4px solid var(--edge); border-radius: 12px;
        box-shadow: 3px 3px 0 var(--edge); text-decoration: none; }
.home-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--edge); }
.brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 2px; }
.emblem { width: 54px; height: 54px; flex: none; image-rendering: pixelated; filter: drop-shadow(3px 3px 0 var(--edge)); }
.brand-text { text-align: left; }
.kicker { font-family: var(--font-block); font-weight: 700; font-size: .58rem; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; }
.wordmark { font-family: var(--font-block); font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
            font-size: clamp(1.3rem, 6.5vw, 2rem); line-height: 1; margin: 3px 0 0; color: var(--head);
            text-shadow: 2px 0 var(--edge), -2px 0 var(--edge), 0 2px var(--edge), 0 -2px var(--edge),
                         3px 3px 0 var(--block-shadow), 4px 4px 0 var(--edge); }
.game-line { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.bloom-badge { font-family: var(--font-block); font-weight: 700; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase;
               color: var(--edge); background: var(--level-acc); padding: 3px 7px; border-radius: 5px; box-shadow: 2px 2px 0 var(--edge); }
.bloom-kid { font-size: .68rem; color: var(--dim); }
/* Bloom ladder — the higher-order rungs, from the node's <bloom-ladder>. A game may START at recall
   but must SHOW the child where it goes: analyze, evaluate, create. */
.ladder { margin: 14px auto 6px; max-width: 560px; text-align: left; border: 2px solid var(--block-edge); border-radius: 12px; padding: 12px 14px; background: rgba(255,255,255,.06); }
.ladder-title { font-size: .82rem; margin: 0 0 8px; letter-spacing: .02em; }
.ladder-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rung { display: flex; gap: 8px; align-items: baseline; font-size: .72rem; line-height: 1.35; }
/* --block-edge and --ink are NOT tokens this skin defines (it has --hairline/--edge/--text) — the chip had a
   dead background and inherited colour in every game until 2026-07-24. Keep these on declared tokens only. */
.rung-tag { flex: 0 0 auto; font-weight: 700; border-radius: 6px; padding: 2px 7px; background: var(--hairline); color: var(--text); white-space: nowrap; }
.rung.higher .rung-tag { background: #E5A43B; color: var(--text); }
.rung-ask { color: var(--dim); }
.ladder-note { margin: 9px 0 0; font-size: .66rem; color: var(--dim); }
.tagline { color: var(--dim); margin: 10px 0 16px; font-size: .95rem; }
.hud { display: flex; justify-content: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.stat { color: var(--text); font-family: var(--font-block); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em;
        background: var(--panel2); border: 3px solid var(--edge); border-radius: 8px; padding: 6px 10px; box-shadow: 3px 3px 0 var(--edge); }
.stat strong { color: var(--head); font-size: 1.05rem; margin-left: 4px; }
.start-btn { border: 5px solid var(--edge); background: var(--block-face); color: var(--edge);
             font-family: var(--font-block); font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
             font-size: 1.05rem; cursor: pointer; border-radius: 14px; box-shadow: 4px 4px 0 var(--edge); }
.start-btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--edge); }
#status { min-height: 2.4em; color: var(--text); font-weight: 600; margin-top: 8px; }
#status.lost { color: var(--lose); } #status.won { color: var(--win); }

.prompt { font-family: var(--font-block); font-weight: 700; font-size: clamp(1rem, 5vw, 1.35rem); color: var(--text); min-height: 2.6em; margin: 4px 0 14px; padding: 0 6px; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: min(84vw, 360px); margin: 0 auto 16px; }
.opt { font-size: clamp(2.4rem, 12vw, 3.4rem); min-height: 96px; line-height: 1; border: 5px solid var(--edge); border-radius: 16px; cursor: pointer; box-shadow: 5px 5px 0 var(--edge); transition: transform .07s, box-shadow .07s, opacity .1s; }
.opt-a { background: var(--acc-a); } .opt-b { background: var(--acc-b); } .opt-c { background: var(--acc-c); } .opt-d { background: var(--acc-d); }
.opt:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--edge); }
.opt.right { outline: 5px solid var(--win); outline-offset: 1px; }
.opt.wrong { outline: 5px solid var(--lose); outline-offset: 1px; opacity: .55; }
.start-btn.big { position: static; inset: auto; translate: none; width: auto; height: auto; padding: 14px 34px; margin: 4px auto 0; display: block; }
.hearts { letter-spacing: 2px; }
.ttcf { text-align: left; margin-top: 18px; font-size: .72rem; color: var(--dim); }
.ttcf summary { cursor: pointer; font-size: .8rem; color: var(--dim); }
.ttcf table { border-collapse: collapse; margin-top: 8px; width: 100%; }
.ttcf th, .ttcf td { border: 1px solid var(--hairline); padding: 4px 6px; vertical-align: top; text-align: left; color: var(--dim); }
.ttcf .prov { color: var(--dim); }
:focus-visible { outline: 3px solid var(--head); outline-offset: 2px; }
/* license gate — shared skin, blocky, readable */
.license-gate { position: fixed; inset: 0; background: radial-gradient(circle at 50% 0%, var(--panel2), var(--bg) 55%, var(--bg2)); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 999; }
.license-gate.unlocked { display: none; }
.gate-card { background: var(--panel2); border: 5px solid var(--edge); border-radius: 16px; padding: 26px 22px; max-width: 360px; width: 100%; text-align: center; box-shadow: 6px 6px 0 var(--edge); }
.gate-card .emblem { width: 56px; height: 56px; margin: 0 auto 6px; }
.gate-card h2 { font-family: var(--font-block); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--head); margin: 0 0 4px; }
.gate-card p { color: var(--dim); margin: 6px 0; }
.gate-card input { width: 100%; padding: 12px 14px; margin: 12px 0; border: 3px solid var(--edge); border-radius: 10px; font: 16px var(--font-body); min-height: 44px; color: var(--edge); background: var(--soft); }
.gate-card .start-btn { width: 100%; padding: 12px; }
.gate-msg { color: var(--lose); font-weight: 700; font-size: 14px; min-height: 20px; margin: 6px 0 0; }
