*{box-sizing:border-box}html{background:#081321;color:#f4eee0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}body{margin:0;min-height:100dvh;background:linear-gradient(#071221b8,#071221ed),var(--existing-scene) center/cover fixed}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.45;cursor:default}button:focus-visible{outline:3px solid #81e9fa;outline-offset:4px}#game{width:min(100%,430px);margin:auto;padding:10px 14px max(14px,env(safe-area-inset-bottom))}header{height:56px;display:grid;grid-template-columns:42px 1fr 42px;gap:12px;align-items:center;margin-bottom:6px}.wordmark{width:min(100%,205px);height:55px;object-fit:contain;justify-self:center}.icon-button{width:42px;height:42px;display:grid;place-items:center;padding:10px;border:1px solid #667289;border-radius:12px;background:linear-gradient(#26384d,#111f32);box-shadow:inset 0 1px #ffffff20,0 3px 8px #0005}.icon-button svg{width:22px;height:22px;fill:none;stroke:#e2c078;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.progress{display:flex;align-items:center;justify-content:space-between;font-size:13px;letter-spacing:.03em;margin:8px 3px;color:#d5e2ed}.progress strong{font-variant-numeric:tabular-nums;color:#f5d58c}#pictures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 12px}.picture{position:relative;margin:0;min-width:0}.picture img{display:block;width:100%;aspect-ratio:2.5;object-fit:contain;border-radius:6px;border:1px solid #a38a56;box-shadow:0 2px 5px #0009}.picture figcaption{margin-top:5px;font-size:10px;color:#c8d6e6;text-align:center;white-space:nowrap}.picture.done img{filter:saturate(.7);opacity:.5}.picture.done:after{content:"✓";position:absolute;right:5px;top:2px;color:#fff3bf;text-shadow:0 1px 4px #000;font-size:20px}#stage{width:100%;touch-action:none;user-select:none;-webkit-user-select:none;position:relative;line-height:0;border-radius:15px}#stage canvas{display:block;width:100%;height:auto;touch-action:none}#message{font-size:12px;line-height:1.5;min-height:36px;text-align:center;margin:7px 4px 6px;color:#d6e2ed}footer{display:grid;grid-template-columns:1.5fr 1fr;gap:10px}.primary,.secondary{min-height:44px;border-radius:11px;padding:10px 16px;font-weight:650;letter-spacing:.01em;box-shadow:inset 0 1px #ffffff29,0 3px 7px #0005}.primary{background:linear-gradient(#2866b8,#124182);border:1px solid #d6b568}.secondary{background:linear-gradient(#263d58,#15293f);border:1px solid #506b8d}.primary span{display:inline-grid;place-items:center;margin-left:8px;width:23px;height:23px;border-radius:50%;background:#041d4160;font-size:12px;color:#ffe5a6}.comparison-note{font-size:10px;text-align:center;color:#91a2b6;margin-top:12px;letter-spacing:.03em}dialog{width:min(350px,calc(100vw - 40px));border:1px solid #9c865e;border-radius:21px;background:linear-gradient(150deg,#1e324a,#0a1627);color:#edf1f5;padding:28px;box-shadow:0 24px 100px #000b;text-align:center}dialog::backdrop{background:#040b16d9;backdrop-filter:blur(5px)}dialog img{width:220px;max-width:100%;height:85px;object-fit:contain}dialog h1{font-size:22px;margin:14px 0 8px}dialog p{font-size:14px;line-height:1.6;color:#c4d1e0;margin-bottom:22px}dialog button{width:100%;margin-bottom:10px}dialog label{display:flex;align-items:center;justify-content:center;gap:9px;margin:16px 0;font-size:13px}dialog input{accent-color:#69d8f3;width:18px;height:18px}dialog small{font-size:11px;line-height:1.5;color:#8e9fb4;display:block}@media(min-width:700px){#game{padding-top:16px;padding-bottom:20px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}@media(max-height:760px){#game{padding:8px 12px}header{height:44px;margin-bottom:4px}.wordmark{height:43px}.progress{margin:4px 3px}#pictures{margin:6px 0 8px}.picture figcaption{margin-top:3px}#message{font-size:11px;min-height:30px;margin:4px 3px}.primary,.secondary{min-height:40px;padding:8px 12px}.comparison-note{font-size:9px;margin-top:8px}}dialog[open][data-home=true]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;background:#0b192a;padding:24px;box-shadow:none}dialog[data-home=true] img{width:220px;height:132px}dialog[data-home=true] p{max-width:300px}dialog[data-home=true] button{width:min(300px,100%)}dialog[data-home=true] small{max-width:300px}
