:root{color-scheme:light;--ink:#162d42;--teal:#14665e;--honey:#ffcf59;--navy:#102d48;font-family:ui-rounded,"SF Pro Rounded","Trebuchet MS",system-ui,sans-serif;color:var(--ink);background:#f8f5ed}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 83% 15%,#deefe5,transparent 40%),#f8f5ed}
button,select,a{font:inherit;-webkit-tap-highlight-color:transparent}button,summary,select{cursor:pointer}
:focus-visible{outline:3px solid #e47925;outline-offset:4px}[hidden]{display:none!important}
.mast,.wrap{width:min(880px,calc(100% - 32px));margin:auto}.mast{display:flex;align-items:center;justify-content:space-between;min-height:74px;gap:16px}.wordmark{width:136px;height:48px;object-fit:contain;display:block}
.languages{display:flex;align-items:center;gap:4px;background:white;border:1px solid #aabbb1;border-radius:32px;padding:0 12px;color:#234e48}
.languages span{font-size:1.45rem}.languages select{background:transparent;color:inherit;border:none;min-height:42px;font-weight:720;font-size:.92rem;max-width:150px}
.wrap{padding:4px 0 36px}.deck{position:relative;overflow:hidden;isolation:isolate;border:1px solid #294862;border-radius:30px;background:radial-gradient(ellipse at 80% 30%,#204d62,transparent 50%),linear-gradient(130deg,#10263f,#143954);color:#fffaf0;box-shadow:0 8px 0 #d8dfd5;outline:none}
.deck:before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;opacity:.55;background-image:radial-gradient(1.4px 1.4px at 11% 14%,#ffe4a1 92%,transparent),radial-gradient(2px 2px at 82% 12%,#ffe4a1 92%,transparent),radial-gradient(1.5px 1.5px at 93% 72%,#b7eee5 92%,transparent),radial-gradient(1px 1px at 69% 77%,white 92%,transparent);background-size:169px 147px}
.welcome{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:8px;padding:clamp(26px,5vw,58px);min-height:400px}
.eyeline{font-size:.8rem;font-weight:800;letter-spacing:.09em;color:#a8dfd2;margin:0 0 10px}
h1{font-size:clamp(2.5rem,6vw,4.1rem);line-height:1.04;letter-spacing:-.048em;margin:0;text-wrap:balance}
.lead{font-size:clamp(1.05rem,2vw,1.24rem);line-height:1.5;margin:16px 0 24px;color:#e1eded;max-width:40ch}
.space-ipi{display:grid;place-items:center;position:relative;min-width:0}.space-ipi:before{content:"";position:absolute;width:91%;aspect-ratio:1;border:1px dashed #72b6ac;border-radius:50%;opacity:.65}.space-ipi img{position:relative;width:min(100%,290px);height:auto;filter:drop-shadow(0 9px 12px #09253a94);transform:rotate(4deg)}
.action,.alt,.plain,.choice{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:47px;border-radius:14px;text-decoration:none;border:0;font-weight:800;padding:11px 18px;line-height:1.28;white-space:normal}
.action{background:var(--honey);color:#2f2819;border-bottom:3px solid #bb8023}.action:hover{background:#ffdc80}
.alt{background:#edf4f2;color:#214842;border:1px solid #bdd2cb}.alt:hover{background:#dbece7}
.foot-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.subtle{background:transparent;border:none;color:inherit;font-weight:750;text-decoration:underline;text-underline-offset:4px;padding:10px 3px;min-height:44px}
.shelf{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:23px;align-items:start}.drawer{border-radius:19px;background:#fffdf7;border:1px solid #d6ddcf;overflow:hidden}.drawer summary{display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 16px;font-weight:800;list-style:none}.drawer summary::-webkit-details-marker{display:none}.drawer summary:after{content:"+";margin-left:auto;color:#52736b}.drawer[open] summary:after{content:"−"}.drawer-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e0eee5;color:var(--teal)}.drawer>div{padding:0 16px 16px}.drawer p{font-size:.94rem;line-height:1.5;margin:3px 0 12px}.plain{background:#e4efe6;color:#164c43}.status:empty{display:none}.drawer .status{color:#226253;margin:10px 0 0}
.play{padding:clamp(14px,3.3vw,32px)}.playline{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:800;font-size:.93rem;color:#e2f1ea;padding:0 3px 12px}.playline .subtle{font-size:.88rem}
.dots{display:flex;gap:5px;margin:0 0 14px}.dot{height:6px;border-radius:4px;flex:1;background:#416070}.dot.done{background:#8edfc0}.dot.now{background:#ffcf59}
.sheet{background:#fffdf4;color:var(--ink);border-radius:22px;padding:clamp(18px,4vw,34px)}.sheet .eyeline{color:#226458}.sheet h1{font-size:clamp(1.5rem,4vw,2.25rem);line-height:1.14;letter-spacing:-.03em}
.bubble{display:flex;align-items:center;gap:13px;margin:0 0 16px}.bubble img{width:56px;height:56px;object-fit:contain}.bubble p{font-size:.94rem;font-weight:750;line-height:1.4;margin:0;color:#365854}
.answers{display:grid;gap:9px}.choice{width:100%;justify-content:flex-start;text-align:left;background:white;border:1.5px solid #c5d9d2;color:var(--ink);min-height:50px;font-size:1rem}.choice:hover:not(:disabled){background:#edf7ee;border-color:#5e9d8c}.choice:disabled{cursor:default;opacity:1}.choice.miss{background:#fff1da;border-color:#bd8944}.choice.hit{background:#dff5e9;border-color:#43826d}.choice .key{flex:none;border-radius:8px;padding:3px 6px;background:#e7efeb;font-size:.8rem}
.feedback{margin:15px 0 0;line-height:1.5;color:#285448;font-weight:650}.feedback:empty{display:none}.sheet>.foot-actions{margin-top:15px}.sheet .subtle{color:var(--teal)}
.summary-score{font-size:clamp(3rem,8vw,5rem);font-weight:850;line-height:1.1;color:#835217;margin:14px 0 0}.summary-caption{margin:0 0 20px;color:#385750;font-weight:750}
.lab-canvas{display:block;width:100%;height:auto;margin:16px 0 12px;border-radius:15px;background:#123047;touch-action:pan-y}.slide-label{display:block;font-weight:750}.slide{width:100%;accent-color:#236c60;min-height:42px}.scale{display:flex;justify-content:space-between;gap:12px;color:#466059;font-size:.85rem}.sheet p{line-height:1.5}.install-gap{margin-bottom:8px}
@media(max-width:620px){.mast,.wrap{width:calc(100% - 24px)}.mast{min-height:64px}.deck{border-radius:23px}.welcome{grid-template-columns:1fr;gap:0;min-height:0;padding:22px 22px 28px}.space-ipi{grid-row:1;justify-self:center;width:152px;margin:0 0 10px}.space-ipi img{width:145px}.welcome h1{font-size:2.6rem}.welcome .lead{margin:10px 0 16px}.shelf{grid-template-columns:1fr;gap:8px;margin-top:18px}.playline{font-size:.86rem}.bubble img{width:47px;height:47px}.wordmark{width:120px}.welcome .eyeline{margin:0 0 8px}}
@media(max-width:340px){.welcome h1{font-size:2.05rem}.sheet{padding:14px}.choice{padding:10px}.wordmark{width:100px}.playline{align-items:start}.space-ipi{width:115px}.space-ipi img{width:110px}}

