:root{color-scheme:dark;--ink:#e9f6ff;--cyan:#3cdbff;--deep:#06172c;--pink:#fa6ba9;--gold:#ffd56a}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:radial-gradient(ellipse at 50% 6%,#183b72,#081426 55%,#030912);color:var(--ink);-webkit-tap-highlight-color:transparent}body{display:flex;align-items:center;justify-content:center;min-height:100svh;padding:14px 12px 20px;overflow-x:hidden}button{font:inherit;cursor:pointer;user-select:none;-webkit-user-select:none}button:focus-visible{outline:3px solid #fff;outline-offset:3px}#app{width:min(1150px,100%)}.topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:0 2px}.brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;font-weight:900;letter-spacing:.065em}.brandMark{display:grid;place-items:center;width:38px;height:38px;border:2px solid #40dafa;border-radius:14px;box-shadow:0 0 24px #26cafe66;background:#0b2753;font-size:18px}.topline small{color:#a7bdd2;font-size:12px}.topright{display:flex;align-items:center;gap:10px}.topright button{border:1px solid #375879;border-radius:20px;padding:8px 12px;background:#112d4d;color:#d3e5f6}.topright button:hover{background:#1d4163}#stage{position:relative;overflow:hidden;width:100%;aspect-ratio:16/9;border:2px solid #32658f;border-radius:24px;background:#102c51;box-shadow:0 22px 65px #0009,0 0 50px #00b8ff11;isolation:isolate;touch-action:none}#game{width:100%;height:100%;display:block;touch-action:none}.stageShade{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 70px #0a1b3540}.hud{position:absolute;z-index:3;top:13px;left:15px;right:15px;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}.hudGroup{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pill{background:#051b32bc;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid #8dcfff65;border-radius:100px;padding:8px 12px;font-weight:900;font-size:13px;white-space:nowrap;box-shadow:0 4px 13px #0003}.pill b{color:var(--gold)}.hud button{pointer-events:auto;display:grid;place-items:center;border:1px solid #a6d5ed77;border-radius:50%;height:37px;width:37px;background:#082646db;color:#fff;font-size:17px}.dashmeter{position:absolute;right:17px;top:62px;z-index:2;padding:6px 10px;border-radius:9px;font-size:11px;color:#d7f3fa;background:#071d35b8;display:none}.dashmeter>span{display:inline-block;width:64px;height:6px;margin-left:7px;border-radius:20px;background:#183957;overflow:hidden;vertical-align:middle}.dashmeter i{display:block;height:100%;background:#22dbf0;width:100%;transition:width .12s}.veil{position:absolute;inset:0;z-index:5;background:linear-gradient(110deg,#071529f5 15%,#09213fe7 70%,#07172ad9);display:grid;place-items:center;padding:26px 22px;text-align:center;overflow-y:auto}.veil.hidden{display:none}.intro{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:22px;width:min(850px,100%);text-align:left}.eyebrow{color:#63e5f9;font-weight:900;letter-spacing:.18em;font-size:11px}.intro h1{margin:8px 0 12px;line-height:.94;font-size:clamp(36px,5.2vw,69px);font-weight:1000;letter-spacing:-.045em;text-wrap:balance}.intro h1 span{color:#62e3fc;text-shadow:0 0 30px #3bdfff55}.intro p{line-height:1.65;font-size:clamp(13px,1.4vw,16px);color:#c0d4e9;max-width:500px}.avatarWrap{display:grid;place-items:center;position:relative;min-height:250px}.avatarHalo{position:absolute;width:78%;aspect-ratio:1;border:2px dashed #51d8fa8c;border-radius:50%;animation:orbit 17s linear infinite}.avatarHalo:before,.avatarHalo:after{content:"";position:absolute;width:18px;height:18px;background:#ffcf5d;border-radius:50%;top:10%;left:10%;box-shadow:0 0 28px #ffca5cb8}.avatarHalo:after{width:14px;height:14px;top:73%;left:94%;background:#fc5bb4;box-shadow:0 0 25px #fc5bb4b8}.avatar{width:min(75%,310px);aspect-ratio:1;border-radius:50%;border:6px solid #4ae1ff;object-fit:cover;box-shadow:0 0 0 15px #39b9fa18,0 0 48px #45caff77;position:relative;transform:rotate(3deg)}@keyframes orbit{to{transform:rotate(360deg)}}.startControls{display:flex;flex-wrap:wrap;align-items:center;gap:11px;margin:20px 0 12px}.cta,.secondary{border:0;padding:13px 23px;border-radius:15px;font-weight:900;letter-spacing:.015em;font-size:15px}.cta{background:linear-gradient(120deg,#17d3f7,#43efc2);color:#032b43;box-shadow:0 10px 35px #21dcfc55}.cta:hover{filter:brightness(1.12)}.secondary{color:#ddedff;background:#15365b;border:1px solid #577b9e}.secondary:hover{background:#24496b}.levelrow{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.levelButton{border:1px solid #426d93;background:#102b49;color:#cfe6f5;padding:8px 11px;border-radius:10px;font-weight:800;font-size:12px}.levelButton[disabled]{opacity:.45;cursor:not-allowed}.levelButton.current{border-color:#32e8fb;color:#45ecfb}.smallTip{font-size:11px!important;color:#8da9c3!important;margin-top:13px!important}.dialog{width:min(450px,100%);padding:28px 23px;border:1px solid #67cbea69;background:#091e37e8;box-shadow:0 10px 50px #0008;border-radius:24px}.dialog .emote{font-size:45px}.dialog h2{font-size:30px;margin:8px 0}.dialog p{color:#b9d4e5;line-height:1.6;font-size:14px}.dialog .actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:18px}.touchbar{display:none;position:absolute;inset:auto 0 15px;z-index:4;pointer-events:none;justify-content:space-between;align-items:flex-end;padding:0 18px}.touchbar .pad{display:flex;gap:12px;align-items:flex-end;pointer-events:none}.touchbar button{pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;display:grid;place-items:center;width:63px;height:63px;border:2px solid #b5eeff77;border-radius:20px;background:#07223ac9;box-shadow:0 7px 20px #0007;color:#fff;font-weight:900;font-size:24px;-webkit-touch-callout:none}.touchbar button:active,.touchbar button.pressed{transform:scale(.94);background:#2c7094ee;border-color:#d0feff}.touchbar .jumpBtn{width:74px;height:74px;border-radius:50%;background:#18b5dde8;color:#003348;border-color:#a0efff;font-size:14px}.touchbar .dashBtn{border-radius:50%;font-size:22px;background:#ad3e80e0}.footnotes{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:10px 5px 0;font-size:12px;color:#9ebcd4}.footnotes strong{color:#d6edff}.legend{display:flex;gap:12px;flex-wrap:wrap}.sr-only{position:absolute;clip:rect(0,0,0,0);height:1px;width:1px;overflow:hidden}@media(hover:none),(pointer:coarse){.touchbar{display:flex}.footnotes .legend{display:none}}@media(max-width:680px)and (orientation:portrait){body{padding:5px 6px 12px;align-items:flex-start}.topline{padding:5px;margin-bottom:6px}.topline small{display:none}.brand{font-size:12px}.brandMark{width:29px;height:29px;font-size:15px;border-radius:9px}.topright button{padding:5px 8px;font-size:11px}#stage{border-radius:17px;aspect-ratio:4/5;min-height:300px}.veil{padding:14px 11px}.intro{display:flex;flex-direction:column-reverse;gap:3px;text-align:center;justify-content:center}.avatarWrap{min-height:92px;width:100%;height:92px}.avatar{width:86px;border-width:3px}.avatarHalo{width:104px}.intro h1{font-size:38px;margin:8px 0}.intro p{font-size:12px;line-height:1.45;margin:5px 0}.startControls,.levelrow{justify-content:center;margin:10px 0 3px}.cta,.secondary{padding:10px 15px;font-size:13px}.levelButton{font-size:10px;padding:6px}.eyebrow{font-size:9px}.smallTip{font-size:10px!important}.hud{top:7px;left:7px;right:7px}.pill{padding:5px 7px;font-size:10px}.hudGroup{gap:3px}.hud button{width:29px;height:29px;font-size:14px}.dashmeter{top:40px;right:7px}.touchbar{padding:0 9px;bottom:9px}.touchbar .pad{gap:7px}.touchbar button{width:50px;height:50px;font-size:19px;border-radius:15px}.touchbar .jumpBtn{height:61px;width:61px;font-size:12px}.footnotes{font-size:10px}.dialog{padding:17px 12px}.dialog h2{font-size:23px}.dialog .emote{font-size:31px}}@media(max-height:470px)and (orientation:landscape){body{padding:3px}.topline{margin-bottom:5px}.brandMark{width:25px;height:25px;font-size:12px}.topline small{display:none}.footnotes{margin-top:4px}.touchbar{padding:0 12px;bottom:12px}.touchbar button{width:51px;height:51px}.touchbar .jumpBtn{width:60px;height:60px}.avatarWrap{min-height:135px}.avatar{width:160px}}@media(max-width:680px)and (orientation:portrait){#stage{aspect-ratio:auto;height:calc(100svh - 115px);min-height:480px;max-height:760px}}@media(max-height:470px)and (orientation:landscape){#stage{aspect-ratio:auto;height:calc(100svh - 54px)}.footnotes{display:none}.topline{margin:0 0 3px}}body{padding:0}#app{width:100%;height:100dvh;display:flex;flex-direction:column;background:#07182b}.topline{margin:0;padding:7px max(15px,env(safe-area-inset-right)) 7px max(15px,env(safe-area-inset-left));min-height:50px}.footnotes{margin:0;padding:6px 16px}#stage{width:100%;flex:1;min-height:0;height:auto;max-height:none;border-radius:0;border-width:1px 0;aspect-ratio:auto;touch-action:auto}#menu{background:linear-gradient(115deg,#051629,#102e44 64%,#19373d);padding:clamp(12px,3vw,44px);text-align:left;align-content:safe center;touch-action:pan-y}.cover{width:min(1100px,100%);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(18px,4vw,74px)}.coverText{padding:12px}.kicker{font-size:.75rem;font-weight:800;letter-spacing:.18em;color:#9beacf}.cover h1{margin:12px 0;line-height:.83;letter-spacing:-.065em;font:bold clamp(56px,min(9vw,12vh),134px)/.85 system-ui;color:#fff}.cover em{color:#ffd66c;font-style:normal}.story{line-height:1.5;color:#d2deeb;max-width:410px}.cover label{display:block;font-weight:700;margin:15px 0 6px}.cover select{background:#17344a;color:#fff;border:1px solid #638795;border-radius:9px;padding:10px;width:min(100%,400px);font:inherit}.coverArt{width:min(100%,65vh);max-height:68vh;object-fit:contain;border-radius:24px;box-shadow:0 16px 40px #0005}.startControls{margin-top:12px}.cta{background:#ffda77;color:#202637}.touchbar{padding-bottom:env(safe-area-inset-bottom);touch-action:none}button{touch-action:manipulation}#dialogVeil{z-index:8;touch-action:pan-y}.hud{top:max(8px,env(safe-area-inset-top))}.stageFull{position:fixed!important;inset:0;z-index:100}.hud button,.topright button{min-width:44px;min-height:44px}.brand small{font-size:.75rem}@media(max-width:650px)and (orientation:portrait){.cover{display:flex;flex-direction:column-reverse;gap:4px;max-width:420px}.coverArt{width:auto;height:min(27dvh,220px);max-width:100%}.coverText{width:100%;padding:5px}.cover h1{font-size:clamp(42px,12vw,68px)}.cover h1 br{display:none}.cover h1 em{margin-left:.15em}.story{margin:8px 0;font-size:1rem}.cover label{margin-top:8px}.brand small,.footnotes{display:none}.topright{gap:5px}.topline{padding:4px 8px}.startControls{display:flex;flex-wrap:wrap;gap:6px}.cta,.secondary{padding:10px 12px}.hud{left:5px;right:5px}.pill{padding:5px 6px}.hudGroup{gap:3px}}@media(max-height:500px)and (orientation:landscape){.cover{grid-template-columns:1.5fr 1fr;gap:12px}.cover h1{font-size:42px}.cover h1 br{display:none}.cover h1 em{margin-left:.16em}.kicker,.story{margin:4px 0}.cover label{margin:3px 0}.coverText{padding:0}.coverArt{max-height:65dvh}.startControls{margin-top:5px}.cta,.secondary{padding:7px 14px}.topline{min-height:34px;padding-block:0}.topright button{min-height:32px}#menu{padding:8px}}@media(pointer:coarse){.touchbar{display:flex}}#stage.playing,#stage.playing *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-drag:none}#stage.playing,#stage.playing canvas,#stage.playing .touchbar button{touch-action:none;overscroll-behavior:contain}#stage.playing button:focus-visible{outline:3px solid white;outline-offset:2px}
