/* GENERATED by gen-simon-says.mjs from products/xml/simon-says.xml (+ canon tokens). DO NOT HAND-EDIT — edit the node, re-run. style.css */
:root {
  --ink: #22201c;
  --ink2: #55524a;
  --well: #faf7f2;
  --panel: #ffffff;
  --hair: #e7e1d7;
  --ember: #E06A45;
  --filament: #E5A43B;
  --olive: #8FA35C;
  --slate: #7E93A8;
  /* JaxillMind skin (node branding container) — chrome only; pads stay on canon tokens above */
  --bg: #faf6ec; --bg2: #150b33; --panel2: #ffffff; --edge: #26456f;
  --text: #223148; --dim: #566079; --block-face: #ffcf5a; --block-shadow: #d19a3e; --hairline: #e4ddcb; --soft: #ffffff;
  --head: #2f5aa6; --win: #3f7d20; --lose: #c0392b;
  --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%; }
.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); }
/* JaxillMind blocky brand header */
.brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 2px; }
.emblem { width: 58px; height: 58px; flex: none; image-rendering: pixelated;
          filter: drop-shadow(3px 3px 0 var(--edge)); }
.brand-text { text-align: left; }
.wordmark { font-family: var(--font-block); font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
            font-size: clamp(1.7rem, 8vw, 2.5rem); line-height: 1; 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(--block-shadow), 5px 5px 0 var(--edge); }
.game-line { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.game-title { font-family: var(--font-block); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
              font-size: .82rem; color: var(--text); }
.badge { font-family: var(--font-block); font-weight: 700; font-size: .62rem; letter-spacing: .08em;
         color: var(--edge); background: var(--block-face); padding: 2px 6px; border-radius: 4px;
         box-shadow: 2px 2px 0 var(--edge); }
.tagline { color: var(--dim); margin: 8px 0 16px; font-size: .95rem; }
/* Bloom ladder — the <li> emits <span.rung-tag><span.rung-ask> with NO whitespace between them, so without
   these rules the two run together and read as "L1 Rememberwatch the sequence…". Flex + gap is what separates
   them; the tag is a chip in the shared JaxillMind language (olive = a rung above the anchor). Contrast on
   --ink: 12.8:1 over --hair, 6.1:1 over --olive — both clear AA for this size. */
.rung { display: flex; gap: 8px; align-items: baseline; font-size: .72rem; line-height: 1.35; }
.rung-tag { flex: 0 0 auto; font-weight: 700; border-radius: 6px; padding: 2px 7px;
            background: var(--hair); color: var(--ink); white-space: nowrap; }
.rung.higher .rung-tag { background: var(--olive); color: var(--ink); }
.rung-ask { color: var(--dim); }
.ladder-note { margin: 9px 0 0; font-size: .66rem; color: var(--dim); }
.hud { display: flex; justify-content: center; gap: 10px; margin-bottom: 14px; }
.stat { color: var(--text); font-family: var(--font-block); font-weight: 700; font-size: .72rem; text-transform: uppercase;
        letter-spacing: .06em; 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; }
.board { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
         width: min(84vw, 360px); margin: 0 auto 16px; aspect-ratio: 1; }
.pad { border: 5px solid var(--edge); border-radius: 12px; cursor: pointer; min-height: 44px; opacity: .5;
       box-shadow: 4px 4px 0 var(--edge); transition: opacity .08s, transform .08s; }
.pad:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--edge); }
.pad.lit { opacity: 1; transform: scale(1.03); box-shadow: 0 0 34px 4px currentColor, 4px 4px 0 var(--edge); }
.pad-green { background: var(--olive); color: var(--olive); border-top-left-radius: 50%; }
.pad-red { background: var(--ember); color: var(--ember); border-top-right-radius: 50%; }
.pad-yellow { background: var(--filament); color: var(--filament); border-bottom-left-radius: 50%; }
.pad-blue { background: var(--slate); color: var(--slate); border-bottom-right-radius: 50%; }
.start-btn { position: absolute; inset: 50%; translate: -50% -50%; width: 92px; height: 92px;
             border-radius: 14px; 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; box-shadow: 4px 4px 0 var(--edge); }
.start-btn:active { transform: translate(-50%, -50%) translate(2px, 2px); box-shadow: 2px 2px 0 var(--edge); }
.start-btn:disabled { opacity: .55; cursor: default; }
#status { min-height: 2.4em; color: var(--text); font-weight: 600; }
#status.lost { color: var(--lose); } #status.won { color: var(--win); }
.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 — node-sourced, offline, covers the game until an allowlisted email unlocks */
.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: 28px 24px; max-width: 360px; width: 100%; text-align: center; box-shadow: 6px 6px 0 var(--edge); }
.gate-card h2 { font-family: var(--font-block); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--head); margin: 0 0 6px; }
.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 { position: static; inset: auto; translate: none; width: 100%; height: auto; padding: 12px; }
.gate-msg { color: var(--lose); font-weight: 700; font-size: 14px; min-height: 20px; margin: 6px 0 0; }
