:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#14171a;--panel:#1d2226;--panel-2:#262d32;--line:#3a444b;--text:#e6ece6;--muted:#9aa7a0;--accent:#b9d37a;--accent-ink:#1c2410;--warn:#f0b95a;--danger:#ff8a7a;--lcd:#a9b79a;--lcd-ink:#202a1e;--page-bg:radial-gradient(120% 90% at 50% 22%, #30363c 0%, #1a1d21 62%, #101215 100%);--card-hi:#22282d;--card-lo:#1c2125;--card-shadow:0 10px 28px #00000042;--chip:#ffffff0a;--lcd-dim:saturate(.55) brightness(.74);--sticker-light:.78;--toy-shadow:#0000008c;--corner-fg:#e2e8e2b3;--corner-bg:#14171a8c;--corner-bg-hover:#2c3238eb;--corner-line:#ffffff24;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#e4e9ee;--panel:#fff;--panel-2:#eef1f5;--line:#ccd5dd;--text:#1b2429;--muted:#54646f;--accent:#7ba526;--accent-ink:#11190a;--warn:#9a5f00;--danger:#c0392b;--page-bg:radial-gradient(120% 90% at 50% 22%, #fff 0%, #e9edf1 60%, #d6dde4 100%);--card-hi:#fbfcfd;--card-lo:#f1f4f6;--card-shadow:0 8px 22px #283c501a;--chip:#1e32460b;--lcd-dim:saturate(.65) brightness(.97);--sticker-light:1;--toy-shadow:#1e324652;--corner-fg:#1e2830b8;--corner-bg:#ffffffb3;--corner-bg-hover:#fff;--corner-line:#1e324633}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);margin:0}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.shell{gap:12px;max-width:960px;margin:0 auto;padding:16px;display:grid}.shell__header{flex-wrap:wrap;align-items:center;gap:4px 12px;display:flex}.shell__title{margin:0;line-height:0}.shell__sub{color:var(--muted);flex-basis:100%;margin:0;font-size:.9rem}.badge{border:2px solid var(--warn);color:var(--warn);letter-spacing:.08em;border-radius:4px;padding:2px 10px;font:700 .85rem/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.badge[hidden]{display:none}.stage{width:100%;max-width:clamp(240px,38.4615dvh - 9.23077px,640px);margin:0 auto;container-type:inline-size}:is(.toy,.arena,.shellpick__btn){--rim:#2456c9;--rim-dark:#1a3fa0;--rim-hi:color-mix(in srgb, var(--rim) 58%, #fff);--rim-lo:color-mix(in srgb, var(--rim-dark) 62%, #000);--face:#dcd8c6;--face-2:#cdc9b6;--shade:#c2beaa;--bezel-hi:#ebe8da;--bezel-lo:#c4bfaa;--art:#f0861a;--lcd-bg:#adb38c;--label:#efe6a6;--key:#dedcce;--key-hi:#f6f5ee;--key-lo:#a9a799;--tone:#4c82f0;--print:#f4f4f0}.toy{--lcd-aspect:2 / 1;filter:drop-shadow(0 .6cqw .7cqw #00000052) drop-shadow(0 2.4cqw 3cqw var(--toy-shadow));flex-direction:column;display:flex;position:relative}[data-shell=blue]{--rim:#2456c9;--rim-dark:#1a3fa0;--tone:#4c82f0}[data-shell=white]{--tone:#aab8cf;--print:#d3392f;--rim:#f6f6f3;--rim-dark:#d9d9d4;--face:#e0e1e5;--face-2:#cfd0d6;--shade:#c4c5cc;--bezel-hi:#f2f2f4;--bezel-lo:#c2c3cb;--art:#e0786e;--label:#46658c;--key:#e4e3dc;--key-lo:#b3b1a4}[data-shell=red]{--tone:#e5495f;--rim:#c92d40;--rim-dark:#96202f;--face:#e4e3e1;--face-2:#d2d1cf;--shade:#c6c5c3;--bezel-hi:#f3f2f0;--bezel-lo:#c4c2c0;--art:#d9645a;--label:#f6e8c4}[data-shell=yellow]{--tone:#e8c526;--print:#d3392f;--rim:#f3dc3f;--rim-dark:#dcc02a;--face:#dedfe4;--face-2:#cbccd3;--shade:#c1c2ca;--bezel-hi:#f0f0f3;--bezel-lo:#bfc0c9;--art:#e0786e;--label:#47698f;--key:#dad9cd}.lid{position:relative}.lid__front{padding:4.4cqw 4.4cqw 4.8cqw;position:relative}.lid__shell{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.lid__open,.lid__closed{transition:opacity calc(var(--morph,0s) * .4) ease calc(var(--morph,0s) * .2)}.lid__closed{opacity:0}.lid__lip{stroke:color-mix(in srgb, var(--rim-dark) 70%, #000)}.lid__chamfer{stroke:color-mix(in srgb, var(--rim) 55%, #fff)}.lid__gap{stroke:#00000073}.s-rim-hi{stop-color:var(--rim-hi)}.s-rim{stop-color:var(--rim)}.s-rim-dark{stop-color:var(--rim-dark)}.s-rim-lo{stop-color:var(--rim-lo)}.s-face{stop-color:var(--face)}.s-face-2{stop-color:var(--face-2)}.lid__face{grid-template-columns:minmax(0,1fr);padding:5cqw 3.9cqw 2.4cqw;display:grid;position:relative}.lid{--wear-scuff:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='none'%3E %3Cpath d='M4 30L21 8' stroke='%23fff' stroke-opacity='.75' stroke-width='.9'/%3E %3Cpath d='M9 33L30 11' stroke='%23000' stroke-opacity='.35' stroke-width='.7'/%3E %3Cpath d='M12 7L36 22' stroke='%23fff' stroke-opacity='.55' stroke-width='.7'/%3E %3Cpath d='M6 18L19 33' stroke='%23000' stroke-opacity='.3' stroke-width='.6'/%3E %3Cpath d='M24 5L34 30' stroke='%23fff' stroke-opacity='.45' stroke-width='.6'/%3E %3Ccircle cx='28' cy='29' r='1.4' fill='%23000' fill-opacity='.35'/%3E %3Ccircle cx='11' cy='14' r='.9' fill='%23000' fill-opacity='.3'/%3E %3Ccircle cx='31' cy='13' r='.7' fill='%23fff' fill-opacity='.7'/%3E %3C/svg%3E")}.lid__screw{--rot:38deg;--scuff-pos:0 0;background:var(--wear-scuff) var(--scuff-pos) / 100% 100% no-repeat, radial-gradient(circle at 74% 80%, #78542c6b, transparent 55%), radial-gradient(circle at 32% 28%, #f6f6f3, #c4c4c0 48%, #686865 100%);border-radius:50%;width:4cqw;height:4cqw;position:absolute;box-shadow:0 0 0 .4cqw #00000057,0 0 0 .75cqw #ffffff5c,.2cqw .35cqw .5cqw .5cqw #0000004d,inset 0 0 .55cqw #0000008c,inset .15cqw .2cqw .3cqw #ffffff80}.lid__screw:before,.lid__screw:after{content:"";transform:rotate(var(--rot));background:linear-gradient(#141414c7,#3737349e);border-radius:1px;position:absolute;inset:45% 14%;box-shadow:0 .12cqw #ffffff73,inset 0 0 .12cqw #0009}.lid__screw:after{transform:rotate(calc(var(--rot) + 90deg))}.lid__screw--tl{--rot:24deg;top:9cqw;left:5cqw}.lid__screw--tr{--rot:62deg;--scuff-pos:3% 5%;filter:brightness(.86)sepia(.28);top:8.4cqw;right:4cqw}.lid__screw--bl{--rot:8deg;--scuff-pos:8% -4%;bottom:9cqw;left:3.4cqw}.lid__screw--br{--rot:76deg;--scuff-pos:-6% 3%;filter:brightness(.92);bottom:9cqw;right:3.6cqw}.lid__leds{background:linear-gradient(180deg, color-mix(in srgb, var(--face-2) 42%, #000), color-mix(in srgb, var(--face-2) 74%, #000));border-radius:3.7cqw;justify-content:space-between;align-items:center;width:38%;height:7.4cqw;margin:0 auto 9.5cqw;padding:0 2cqw;display:flex;box-shadow:inset 0 .6cqw .9cqw #0009,inset 0 -.25cqw .4cqw #ffffff38,0 .3cqw #fff9,0 -.15cqw #0000002e}.led{filter:brightness(.42)saturate(.55);border-radius:50%;width:4.9cqw;height:4.9cqw;transition:filter 25ms linear,box-shadow 25ms linear;display:block;position:relative;box-shadow:inset 0 -.55cqw .85cqw #0000006b,0 0 0 .45cqw #00000061,0 .3cqw .5cqw .45cqw #00000059}.led:after{content:"";filter:blur(.5px);background:#fffc;border-radius:50%;width:34%;height:26%;position:absolute;top:14%;left:20%;transform:rotate(-24deg)}.led--lit{box-shadow:inset 0 -.55cqw .85cqw #00000059, 0 0 0 .45cqw #0000004d, 0 0 1.5cqw .3cqw var(--glow);filter:none}.led--red{--glow:#ff4632bf;background:radial-gradient(circle at 38% 32%,#ffd8d0 0 12%,#ff4638 38%,#a8120e)}.led--yellow{--glow:#f5dc3cb3;background:radial-gradient(circle at 38% 32%,#fffbc0 0 12%,#f1d52f 40%,#a88c10)}.led--green{--glow:#3cd2a0b3;background:radial-gradient(circle at 38% 32%,#d4fff0 0 12%,#3fd1a0 40%,#0f6e52)}.lid__bezel{background:linear-gradient(180deg, var(--bezel-hi), var(--face-2));border:3.6cqw solid;border-color:var(--bezel-lo) var(--bezel-hi) var(--bezel-hi) var(--bezel-lo);border-radius:.6cqw;margin-bottom:2.5cqw;padding:.6cqw;box-shadow:0 0 0 .25cqw #00000038,0 .35cqw .4cqw .1cqw #ffffff80,inset 0 .3cqw .3cqw #00000040}.lid__window{min-width:0;aspect-ratio:var(--lcd-aspect);background:var(--lcd-bg);place-items:center;display:grid;position:relative;overflow:hidden;box-shadow:0 0 0 .35cqw #0000009e,inset .9cqw 1cqw 1.5cqw #0000004d,inset -.35cqw -.4cqw .8cqw #ffffff2e}.lid__window:after{content:"";z-index:3;pointer-events:none;background:linear-gradient(115deg,#ffffff1a 0 18%,#fff0 18.5% 24%,#ffffff0f 24.5% 29%,#fff0 29.5%);position:absolute;inset:0}.lid__art{width:88%;height:auto;stroke:var(--art);stroke-width:3px;shape-rendering:geometricprecision;margin:0 auto;display:block}.lid__art #art-figure{stroke-width:1.9px}.lid__art .art__fill{fill:var(--art);stroke:none}.stage--plain .lid__front{box-shadow:none;background:0 0;border-radius:0;padding:0}.stage--plain .lid__face{box-shadow:none;background:0 0;border-radius:0;gap:0;padding:0}.stage--plain .lid__screw,.stage--plain .lid__leds,.stage--plain .lid__art,.stage--plain .toy__hinge,.stage--plain .lid__cover,.stage--plain .base{display:none}.stage--plain .toy{filter:none}.stage--plain .lid__shell,.stage--plain .lid__window:after{display:none}.stage--plain .lid__bezel{background:0 0;border:0;margin:0;padding:0}.stage--plain .lid__window{background:var(--panel);border:1px solid var(--line);max-height:640px;box-shadow:none;border-radius:8px}.toy__hinge{z-index:2;justify-content:center;align-items:flex-start;height:11.5cqw;margin:-4.73cqw 14% -5.47cqw;display:flex;position:relative}.toy__knuckle{background:linear-gradient(180deg, #ffffff80 0, #ffffff29 18%, #fff0 38%, #0000001a 66%, #0000005c 100%), linear-gradient(180deg, var(--rim-hi), var(--rim) 48%, var(--rim-dark));border-radius:3.2cqw .9cqw .9cqw 3.2cqw;flex:0 0 25%;height:8.6cqw;margin-top:3cqw;position:relative;box-shadow:inset 0 .35cqw .45cqw #ffffff57,inset 0 -.6cqw .8cqw #00000052,0 .45cqw .7cqw #00000057}.toy__knuckle:last-child{border-radius:.9cqw 3.2cqw 3.2cqw .9cqw}.toy__knuckle:before{content:"";background:linear-gradient(90deg,#0000006b,#0003);width:.5cqw;position:absolute;top:4%;bottom:4%;left:50%;box-shadow:.28cqw 0 #ffffff47}.toy__knuckle:after{content:"";border-radius:inherit;pointer-events:none;background:radial-gradient(circle at 12% 78%,#ffffff47 0 .5cqw,#0000 .65cqw),radial-gradient(circle at 88% 22%,#fff3 0 .35cqw,#0000 .5cqw),radial-gradient(circle at 36% 90%,#0003 0 .45cqw,#0000 .6cqw);position:absolute;inset:0}.toy__band{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.toy__band[data-held]{cursor:grabbing;filter:brightness(.82)}.toy__band{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='90' viewBox='0 0 240 90' fill='none'%3E %3Cpath d='M6 20C52 14 96 30 150 24S214 30 236 22' stroke='%23000' stroke-opacity='.85' stroke-width='2.2'/%3E %3Cpath d='M6 22C52 16 96 32 150 26S214 32 236 24' stroke='%23fff' stroke-opacity='.1' stroke-width='1'/%3E %3Cpath d='M28 54C74 44 112 66 160 56S214 60 238 50' stroke='%23000' stroke-opacity='.7' stroke-width='1.8'/%3E %3Cpath d='M28 56C74 46 112 68 160 58S214 62 238 52' stroke='%23fff' stroke-opacity='.12' stroke-width='.9'/%3E %3Cpath d='M96 8C104 30 92 52 108 86' stroke='%23fff' stroke-opacity='.08' stroke-width='3'/%3E %3Cpath d='M152 70C140 78 120 86 96 88' stroke='%239a9a98' stroke-opacity='.55' stroke-width='1.1'/%3E %3C/svg%3E") 50%/100% 100% no-repeat,linear-gradient(#060606,#1b1b1a 26%,#0c0c0b 60%,#040404);border-radius:0 0 .9cqw .9cqw;flex:1;align-self:flex-start;height:8cqw;margin:0 -.3cqw;position:relative;overflow:hidden;box-shadow:inset 0 .7cqw 1cqw #000c,inset .4cqw 0 .6cqw #00000080,inset -.4cqw 0 .6cqw #00000080}.toy__band:before{content:"";opacity:.9;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='110'%3E %3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E %3CfeTurbulence type='fractalNoise' baseFrequency='0.13 0.2' numOctaves='4' seed='5'/%3E %3CfeColorMatrix type='matrix' values='0 0 0 0 0.93 0 0 0 0 0.93 0 0 0 0 0.9 0 0 0 30 -22.2'/%3E %3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;position:absolute;inset:22% 0 0;-webkit-mask-image:linear-gradient(90deg,#000 0 26%,#0000001f 40% 60%,#000 74% 100%);mask-image:linear-gradient(90deg,#000 0 26%,#0000001f 40% 60%,#000 74% 100%)}.toy__band:after{content:"";background:linear-gradient(#000000d9,#0000001a),linear-gradient(90deg,#0000,#ffffff12 50%,#0000);border-bottom:.22cqw solid #ffffff12;height:22%;position:absolute;inset:0 0 auto}.base{aspect-ratio:400/620;background:radial-gradient(95% 45% at 20% 6%, #ffffff47, transparent 62%), linear-gradient(172deg, var(--rim-hi) 0%, var(--rim) 16%, var(--rim-dark) 82%, var(--rim-lo) 100%);box-shadow:inset 0 .6cqw .5cqw #fff6, inset .5cqw 0 .6cqw #ffffff29, inset -.6cqw 0 .9cqw #00000038, inset 0 -1.3cqw 1.7cqw #00000052, 0 .7cqw 0 var(--rim-lo);-webkit-user-select:none;user-select:none;border-radius:3cqw 3cqw 16cqw 16cqw;position:relative}.base__art{border-radius:inherit;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:hidden}.base__label{letter-spacing:.7px;fill:var(--label);font:700 10.5px/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.base__led{fill:#00000073}.base__speaker{fill:#0a0a08b8;filter:drop-shadow(0 .6px #ffffff4d)}.base__rim-lo{fill:none;stroke:#0006;stroke-width:1.4px}.base__rim-hi{fill:none;stroke:#ffffff4d;stroke-width:1.2px}.base__bowl{opacity:.6}.base__seam{fill:none;stroke:#ffffff80;stroke-width:1.7px}.base__seam-lo{stroke:#00000061;stroke-width:2.4px}.base__logo{pointer-events:none;width:76%;height:auto;position:absolute;top:66.5%;left:12%}.base__logo--white,.toy[data-shell=blue] .base__logo--color,.toy[data-shell=red] .base__logo--color{display:none}.toy[data-shell=blue] .base__logo--white,.toy[data-shell=red] .base__logo--white{display:block}.key{left:calc(var(--x) * 0.25%);top:calc(var(--y) / 620 * 100%);width:calc(var(--w) * 0.25%);aspect-ratio:1;color:inherit;cursor:pointer;touch-action:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;background:0 0;border:0;margin:0;padding:0;position:absolute;transform:translate(-50%,-50%)}.key svg{pointer-events:none;transform-origin:50%;width:100%;height:100%;transition:transform 45ms ease-out,filter 45ms ease-out;display:block;overflow:visible}.key--round{background:radial-gradient(circle at 36% 28%, var(--key-hi), var(--key) 52%, var(--key-lo));box-shadow:.35cqw .85cqw .9cqw #0000006b, 0 .45cqw 0 color-mix(in srgb, var(--key-lo) 85%, #000), inset 0 .25cqw .3cqw #ffffff8c, inset 0 -.5cqw .8cqw #00000038;border-radius:50%;transition:transform 45ms ease-out,box-shadow 45ms ease-out,filter 45ms ease-out}.key--round:after{content:"";filter:blur(1.2px);pointer-events:none;background:#ffffff8c;border-radius:50%;width:36%;height:22%;position:absolute;top:12%;left:20%;transform:rotate(-28deg)}.key--round[data-pressed]{box-shadow:.1cqw .2cqw .35cqw #00000073, 0 .1cqw 0 color-mix(in srgb, var(--key-lo) 85%, #000), inset 0 .35cqw .8cqw #00000059;filter:brightness(.9);transform:translate(-50%,-50%)translateY(.5cqw)scale(.95)}.key--pad svg{filter:drop-shadow(0 .5cqw 0 color-mix(in srgb, var(--key-lo) 80%, #000)) drop-shadow(.15cqw 1cqw .6cqw #0000006b)}.ks-hi{stop-color:var(--key-hi)}.ks-mid{stop-color:var(--key)}.ks-lo{stop-color:var(--key-lo)}.key__shape{fill:url(#keyg);stroke:url(#keyg);stroke-width:5px;stroke-linejoin:round}.key__dish{fill:url(#concave);stroke:#ffffffb3;stroke-width:.9px}.key--pad[data-pressed] svg{filter:drop-shadow(0 .1cqw 0 color-mix(in srgb, var(--key-lo) 80%, #000)) drop-shadow(.1cqw .25cqw .25cqw #00000080) brightness(.9);transform:translateY(.4cqw)scale(.94)}.key--jump svg{filter:drop-shadow(0 .55cqw 0 color-mix(in srgb, var(--key-lo) 80%, #000)) drop-shadow(.2cqw 1.1cqw .9cqw #0000006b)}.key__cap{fill:url(#keyg);stroke:var(--key-lo);stroke-width:1px}.key__ring{fill:#0000004d;filter:drop-shadow(0 .5px #ffffff8c)}.key--jump .key__dish{fill:url(#concave);stroke:#fffc;stroke-width:1.4px}.key--jump[data-pressed] svg{filter:drop-shadow(0 .12cqw 0 color-mix(in srgb, var(--key-lo) 80%, #000)) drop-shadow(.1cqw .3cqw .3cqw #00000080) brightness(.9);transform:translateY(.55cqw)scale(.95)}.toy[data-power=off] .lid__window{filter:brightness(.94)saturate(.85)}.toy[data-power=off] .key[data-key=onoff]:not([data-pressed]){animation:1.8s ease-in-out infinite power-hint}@keyframes power-hint{0%,to{filter:drop-shadow(0 0 .2cqw #fff4be33)}50%{filter:drop-shadow(0 0 1.1cqw #fff4bef2)}}@media (prefers-reduced-motion:reduce){.toy[data-power=off] .key[data-key=onoff]:not([data-pressed]){filter:drop-shadow(0 0 .8cqw #fff4becc);animation:none}}@property --stage-w{syntax:"<length>";inherits:true;initial-value:300px}body[data-chrome=toy]{--morph:.6s;--morph-ease:cubic-bezier(.5, 0, .15, 1)}body[data-motion=off]{--morph:0s}@media (prefers-reduced-motion:reduce){body[data-chrome=toy]{--morph:0s}}.toy__lower{transition:grid-template-rows calc(var(--morph,0s) * .8) var(--morph-ease,ease) calc(var(--morph,0s) * .25), visibility 0s;grid-template-rows:1fr;margin-bottom:-1.4cqw;display:grid}.toy__lower-in{min-height:0;padding-bottom:1.4cqw;overflow:hidden}.toy[data-compact] .toy__lower{visibility:hidden;transition:grid-template-rows calc(var(--morph,0s) * .75) var(--morph-ease,ease), visibility 0s linear calc(var(--morph,0s) * .75);grid-template-rows:0fr}.toy__hinge{transition:height calc(var(--morph,0s) * .8) var(--morph-ease,ease) calc(var(--morph,0s) * .25), margin-top calc(var(--morph,0s) * .8) var(--morph-ease,ease) calc(var(--morph,0s) * .25), margin-bottom calc(var(--morph,0s) * .8) var(--morph-ease,ease) calc(var(--morph,0s) * .25), opacity calc(var(--morph,0s) * .4) ease calc(var(--morph,0s) * .4), visibility 0s}.toy[data-compact] .toy__hinge{opacity:0;visibility:hidden;height:0;transition:height calc(var(--morph,0s) * .75) var(--morph-ease,ease), margin-top calc(var(--morph,0s) * .75) var(--morph-ease,ease), margin-bottom calc(var(--morph,0s) * .75) var(--morph-ease,ease), opacity calc(var(--morph,0s) * .4) ease, visibility 0s linear calc(var(--morph,0s) * .75);margin-top:0;margin-bottom:0;overflow:hidden}.toy[data-compact] .lid__open,.toy[data-compact] .lid__closed{transition:opacity calc(var(--morph,0s) * .35) ease calc(var(--morph,0s) * .4)}.toy[data-compact] .lid__open{opacity:0}.toy[data-compact] .lid__closed{opacity:1}body[data-chrome=toy] .arena{transition:--stage-w var(--flip,0s) var(--flip-ease,ease)}body[data-chrome=toy] .arena[data-closed]{--stage-w:clamp(260px, calc((100dvh - 24px) / 1.7), 700px)}body[data-chrome=toy] .arena[data-compact]{transition:--stage-w var(--morph,0s) var(--morph-ease,ease) calc(var(--morph,0s) * .15)}.toy[data-compact] .lid__window{cursor:pointer}body[data-chrome=toy]{--flip:calc(var(--morph,0s) * 1.7);--flip-ease:cubic-bezier(.45, .05, .2, 1)}.toy__lidslot{z-index:1;transition:grid-template-rows var(--flip,0s) var(--flip-ease,ease), z-index 0s linear calc(var(--flip,0s) * .5);perspective:calc(var(--stage-w) * 2.4);perspective-origin:50% 100%;grid-template-rows:1fr;display:grid;position:relative}.toy__lidslot>.lid{transform-origin:50% 100%;min-height:0;transform-style:preserve-3d;transition:transform var(--flip,0s) var(--flip-ease,ease);align-self:start;transform:translateY(0)rotateX(0)}.lid__front,.lid__cover{backface-visibility:hidden}.lid__cover{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:3cqw;margin:0;padding:0;display:block;position:absolute;inset:0 1.8cqw;transform:rotateX(180deg)}.lid__cover-art{pointer-events:none;filter:drop-shadow(0 .9cqw .6cqw #00000057);width:100%;height:100%;position:absolute;inset:0;overflow:visible}.lid__logo{aspect-ratio:1;filter:drop-shadow(0 .5cqw .8cqw #00000059);pointer-events:none;-webkit-user-select:none;user-select:none;width:68%;height:auto;position:absolute;top:53%;left:50%;transform:translate(-50%,-50%)}.lid__logo--red,.toy:is([data-shell=yellow],[data-shell=white]) .lid__logo--white{display:none}.toy:is([data-shell=yellow],[data-shell=white]) .lid__logo--red{display:block}.lid__cover:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.toy[data-closed] .toy__lidslot{z-index:3;transition:grid-template-rows var(--flip,0s) var(--flip-ease,ease), z-index 0s;grid-template-rows:0fr}.toy[data-closed] .toy__lidslot>.lid{transform:translateY(-100%)rotateX(-180deg)}.toy[data-closed] .toy__knuckle{margin-top:-1.2cqw}@keyframes hinge-show-open{0%,80%{opacity:0}to{opacity:1}}@keyframes hinge-show-closed{0%,80%{opacity:0}to{opacity:1}}.toy:not([data-closed]) .toy__knuckle{animation:hinge-show-open calc(var(--flip,0s) * 1.25) linear both}.toy[data-closed] .toy__knuckle{animation:hinge-show-closed calc(var(--flip,0s) * 1.25) linear both}.toy__band{transition:opacity calc(var(--flip,0s) * .25) ease var(--flip,0s)}.toy[data-closed] .toy__band{opacity:0;cursor:default;pointer-events:none;transition:opacity calc(var(--flip,0s) * .3) ease}.arena{display:contents}body[data-chrome=toy] .arena{--side-w:clamp(220px, 18vw, 280px);--info-w:clamp(260px, 21vw, 340px);--arena-gap:clamp(32px, 4vw, 64px);--stage-w:clamp(240px, calc((100dvh - 24px) / 2.6), 640px);grid-template-columns:var(--info-w) minmax(0, min(var(--stage-w), calc(100% - var(--info-w) - var(--side-w) - 2 * var(--arena-gap)))) var(--side-w);justify-content:space-between;align-items:center;column-gap:var(--arena-gap);display:grid}body[data-chrome=toy] .arena[data-compact]{--stage-w:clamp(300px, calc((100dvh - 24px) / .98), 1100px)}body[data-chrome=toy] .arena>.stage{max-width:none}body:not([data-chrome=toy]) .side{display:none}.side{scrollbar-width:thin;min-width:0;max-height:calc(100dvh - 24px);color:var(--text);background:linear-gradient(170deg, var(--card-hi), var(--card-lo));border:1px solid var(--line);box-shadow:var(--card-shadow);border-radius:20px;align-content:start;gap:14px;padding:14px;display:grid;overflow:auto}.side__top{justify-content:space-between;align-items:center;gap:8px;display:flex}.side__title{letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin:0;font:800 .74rem/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.side__sec{border-top:1px solid var(--line);gap:8px;padding-top:12px;display:grid}.side__h{letter-spacing:.15em;text-transform:uppercase;color:var(--muted);align-items:center;gap:8px;margin:0;font:800 .7rem/1.2 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;display:flex}.side__h:before{content:"";background:color-mix(in srgb, var(--tone) 75%, var(--muted));border-radius:3px;width:8px;height:8px}.side__cap{color:var(--muted);margin:2px 0 0;font:700 .7rem/1.2 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.side__cap--row{justify-content:space-between;align-items:center;gap:8px;display:flex}.side__text{margin:0;font-size:.8rem;line-height:1.5}.icon{width:20px;height:20px;display:block}.side :is(button,a):focus-visible{outline:3px solid var(--accent);outline-offset:2px}.side--ctl{max-height:calc(100dvh - 64px);margin-top:40px}.side--info{opacity:.68;transition:opacity .16s}.side--info:hover,.side--info:focus-within{opacity:.9}.devs{gap:4px;display:flex}.dev{width:34px;height:34px;color:var(--corner-fg);background:var(--corner-bg);border:1px solid var(--corner-line);opacity:.55;border-radius:50%;place-items:center;transition:color .12s,background .12s,border-color .12s,opacity .12s;display:grid}.dev[hidden]{display:none}.dev .icon{width:18px;height:18px}.dev[data-state=on]{color:var(--text);background:color-mix(in srgb, var(--tone,#4c82f0) 14%, var(--corner-bg));border-color:color-mix(in srgb, var(--tone,#4c82f0) 55%, var(--corner-line));opacity:1}.tgl{color:var(--muted);background:var(--chip);border:1px solid var(--line);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:8px 12px;font:700 .74rem/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;transition:color .12s,background .12s,border-color .12s,transform 80ms;display:flex}.tgl[hidden]{display:none}.tgl .icon{width:18px;height:18px}.tgl:hover{color:var(--text);border-color:color-mix(in srgb, var(--tone) 40%, var(--line))}.tgl:active{transform:translateY(1px)}.tgl[aria-pressed=true]{color:var(--text);background:color-mix(in srgb, var(--tone) 11%, var(--chip));border-color:color-mix(in srgb, var(--tone) 45%, var(--line));box-shadow:inset 0 -2px 0 color-mix(in srgb, var(--tone) 60%, transparent)}.snd{grid-template-columns:auto minmax(0,1fr);align-items:stretch;gap:8px;display:grid}.seg{background:var(--chip);border:1px solid var(--line);border-radius:10px;grid-auto-columns:1fr;grid-auto-flow:column;padding:2px;display:inline-grid}.seg--3{grid-template-columns:1fr 1fr 1.45fr;display:grid}.seg__btn{white-space:nowrap;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:6px 8px;font:700 .7rem/1.1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;transition:color .12s,background .12s}.seg__btn:hover{color:var(--text)}.seg__btn[aria-pressed=true]{color:var(--text);background:color-mix(in srgb, var(--tone) 22%, var(--panel,var(--chip)));box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--tone) 50%, transparent)}.pick{width:100%;color:var(--text);background:var(--chip);border:1px solid var(--line);cursor:pointer;border-radius:10px;padding:8px 10px;font:700 .78rem/1.2 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.pick:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.vol{color:var(--muted);background:var(--chip);border:1px solid var(--line);border-radius:14px;align-items:center;gap:10px;padding:9px 12px;transition:opacity .12s;display:flex}.vol[data-muted=true]{opacity:.55}.vol__icon{flex:none;place-items:center;display:grid}.vol__icon .icon{width:18px;height:18px}.vol__range{--pct:50%;cursor:pointer;appearance:none;background:0 0;flex:1;min-width:0;height:20px;margin:0;padding:0}.vol__range:focus-visible{outline:2px solid color-mix(in srgb, var(--tone) 70%, var(--text));outline-offset:3px;border-radius:6px}.vol__range::-webkit-slider-runnable-track{background:linear-gradient(to right, color-mix(in srgb, var(--tone) 70%, var(--muted)) var(--pct), var(--line) var(--pct));border-radius:2px;height:4px}.vol__range::-moz-range-track{background:linear-gradient(to right, color-mix(in srgb, var(--tone) 70%, var(--muted)) var(--pct), var(--line) var(--pct));border-radius:2px;height:4px}.vol__range::-webkit-slider-thumb{border:2px solid color-mix(in srgb, var(--tone) 70%, var(--muted));background:var(--text);appearance:none;border-radius:50%;width:14px;height:14px;margin-top:-5px}.vol__range::-moz-range-thumb{border:2px solid color-mix(in srgb, var(--tone) 70%, var(--muted));background:var(--text);border-radius:50%;width:10px;height:10px}.vol__value{text-align:right;font-variant-numeric:tabular-nums;min-width:3.4ch;font:700 .66rem/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.shellpick{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.shellpick__btn{color:var(--muted);background:var(--chip);border:1px solid var(--line);cursor:pointer;border-radius:14px;justify-items:center;gap:5px;padding:9px 2px 7px;font:700 .64rem/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;transition:transform .12s,border-color .12s,box-shadow .12s,color .12s;display:grid}.shellpick__btn:hover{color:var(--text)}.shellpick__btn:not([aria-checked=true]) .mini{filter:saturate(.7)brightness(.9)drop-shadow(0 2px 2px #00000040)}.shellpick__btn[aria-checked=true]{color:var(--text);border-color:color-mix(in srgb, var(--tone) 70%, var(--line));background:color-mix(in srgb, var(--tone) 10%, var(--chip))}.mini{filter:drop-shadow(0 3px 3px #0000004d);width:100%;max-width:40px;height:auto;transition:filter .12s;display:block}.mini__rim{fill:var(--rim)}.mini__hinge{fill:var(--rim-dark)}.mini__arc{stroke:var(--print)}.lvgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.lv{min-height:46px;color:var(--lcd-ink);background:var(--lcd);filter:var(--lcd-dim);cursor:pointer;border:0;border-radius:7px;align-content:center;justify-items:center;gap:3px;padding:0;font:800 1.35rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;transition:filter .12s,box-shadow .12s;display:grid;box-shadow:inset 0 0 0 1px #0000004d,inset 0 2px 5px #00000029}.lv:hover:not([aria-disabled=true]){filter:var(--lcd-dim) brightness(1.12)}.lv .icon{width:12px;height:12px}.lv[aria-disabled=true]{cursor:not-allowed;opacity:.4}.lv[aria-current=true]{color:var(--lcd);background:var(--lcd-ink);box-shadow:0 0 0 2px color-mix(in srgb, var(--tone) 65%, transparent)}.run{border-top:1px solid var(--line);gap:0;padding-top:12px;display:grid}.run__toggle{letter-spacing:.1em;text-transform:uppercase;width:100%;color:var(--muted);background:var(--chip);border:1px solid var(--line);cursor:pointer;border-radius:10px;align-items:center;gap:8px;padding:7px 10px;font:800 .7rem/1.2 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;transition:color .12s,border-color .12s;display:flex}.run__toggle:hover,.run[data-open=true] .run__toggle{color:var(--text);border-color:color-mix(in srgb, var(--tone) 45%, var(--line))}.run__toggle .icon{width:16px;height:16px}.run__title{text-align:left;flex:1}.run__toggle .icon:last-child{transition:transform calc(var(--morph,0s) * .6) ease}.run[data-open=true] .run__toggle .icon:last-child{transform:rotate(180deg)}.run__panel{visibility:hidden;transition:grid-template-rows calc(var(--morph,0s) * .8) var(--morph-ease,ease), visibility 0s linear calc(var(--morph,0s) * .8);grid-template-rows:0fr;display:grid}.run[data-open=true] .run__panel{visibility:visible;transition:grid-template-rows calc(var(--morph,0s) * .8) var(--morph-ease,ease), visibility 0s;grid-template-rows:1fr}.run__in{gap:6px;min-height:0;display:grid;overflow:hidden}.run[data-open=true] .run__in{padding-top:8px}.run__rows{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0;padding:0;list-style:none;display:grid}.run__row{color:var(--muted);background:var(--chip);border:1px solid var(--line);border-radius:8px;justify-items:center;gap:2px;padding:5px 2px 4px;display:grid}.run__name{letter-spacing:.06em;font:800 .66rem/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.run__row[data-state=current]{color:var(--text);background:color-mix(in srgb, var(--tone) 14%, var(--chip));border-color:color-mix(in srgb, var(--tone) 55%, var(--line))}.run__row[data-state=done]{color:var(--text)}.run__time{font-variant-numeric:tabular-nums;font:800 .72rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.run__sum{color:var(--lcd-ink);background:var(--lcd);filter:var(--lcd-dim);border-radius:8px;justify-content:space-between;align-items:baseline;gap:8px;padding:6px 8px;display:flex;box-shadow:inset 0 0 0 1px #0000004d,inset 0 2px 4px #00000024}.run__sum-h{letter-spacing:.1em;text-transform:uppercase;font:800 .62rem/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.run__sum .run__time{font-size:1.05rem}.run[data-finished=true] .run__sum{box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--tone) 70%, transparent)}.run__progress{opacity:.75;flex:1;font:700 .66rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.side__top--logo{display:block}.about__sticker{filter:brightness(var(--sticker-light,.8)) saturate(.85);background:#e9e5d6;border-radius:14px;padding:9px 14px;box-shadow:inset 0 0 0 1px #00000014}.about__logo{width:100%;height:auto;display:block}.facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:2px 0 0;padding:0;list-style:none;display:grid}.facts li{color:var(--lcd-ink);background:var(--lcd);filter:var(--lcd-dim);border-radius:8px;justify-items:center;gap:3px;padding:8px 4px 7px;display:grid;box-shadow:inset 0 0 0 1px #0000004d,inset 0 2px 5px #00000029}.facts b{font:800 1.35rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.facts span{letter-spacing:.1em;text-transform:uppercase;font:800 .58rem/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.keys{gap:1px;margin:0;padding:0;list-style:none;display:grid}.keys__row{border-bottom:1px dashed var(--line);justify-content:space-between;align-items:center;gap:8px;padding:5px 2px;display:flex}.keys__row:last-child{border-bottom:0}.keys__what{color:var(--muted);font-size:.74rem}.keys__caps{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:3px;display:flex}.keys__sep{color:var(--muted);padding:0 2px}.keys__none{color:var(--muted);font-size:.68rem}.kbd{text-align:center;min-width:20px;color:var(--text);background:var(--chip);border:1px solid var(--line);border-bottom-width:2px;border-radius:5px;padding:3px 6px;font:700 .64rem/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.score{gap:6px;margin:0;padding:0;list-style:none;display:grid}.score__row{background:var(--chip);border:1px solid var(--line);border-radius:9px;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 10px;padding:5px 10px;display:flex}.score__ways{flex-wrap:wrap;gap:2px 12px;display:flex}.spr{width:var(--spr-w);height:var(--spr-h);background:var(--spr-url) var(--spr-pos) / var(--spr-sheet) no-repeat;image-rendering:pixelated;display:block}.score__name{font:800 .78rem/1.15 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.score__way{color:var(--muted);align-items:baseline;gap:5px;font-size:.68rem;line-height:1.2;display:inline-flex}.score__way b{color:var(--text);font:800 .8rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.figs{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0;padding:0;list-style:none;display:grid}.fig{background:var(--chip);border:1px solid var(--line);border-radius:9px;grid-template-rows:34px auto;gap:3px;min-width:0;padding:4px 3px;display:grid}.fig__box{grid-template-columns:repeat(var(--fig-cols,1), max-content);height:34px;color:var(--lcd-ink);background:var(--lcd);filter:var(--lcd-dim);border-radius:6px;place-content:center;display:grid;box-shadow:inset 0 0 0 1px #0000004d,inset 0 2px 4px #00000024}.spr--gap{background:0 0}.fig__dot{background:var(--lcd-ink);border-radius:50%;width:5px;height:5px;margin:auto;display:block}.fig__name{text-align:center;color:var(--muted);overflow-wrap:anywhere;font-size:.56rem;line-height:1.1}.side__text--over{margin:2px 0 0}.hazards{flex-wrap:wrap;gap:5px;margin:0;padding:0;list-style:none;display:flex}.hazard{color:var(--muted);background:var(--chip);border:1px solid var(--line);border-radius:999px;padding:3px 9px;font-size:.68rem}@media (max-height:960px){.side{gap:8px;padding:10px 12px}.side__sec{gap:5px;padding-top:8px}.about__sticker{width:54%;margin:0 auto;padding:4px 10px}.facts li{padding:4px}.facts b{font-size:1rem}.keys__row{padding:3px 0}}@media (max-height:860px){.side__text{display:none}.hazard{padding:2px 7px;font-size:.64rem}}@media (max-height:800px){.about__sticker,.side__sec--facts{display:none}.fig{grid-template-rows:28px auto}.fig__box{height:28px}}@media (max-width:899px){body[data-chrome=toy] .arena{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px}body[data-chrome=toy] .arena>.stage{width:min(100%, var(--stage-w));grid-column:1/-1;justify-self:center}.side{max-height:none;overflow:visible}.side--ctl{order:1;margin-top:0}.side--info{order:2}}@media (max-width:640px){body[data-chrome=toy] .arena{grid-template-columns:minmax(0,1fr)}.side{justify-self:center;width:min(100%,460px)}}.corner{z-index:20;gap:6px;display:flex;position:fixed;top:10px;right:10px}.corner__btn{width:34px;height:34px;color:var(--corner-fg);background:var(--corner-bg);border:1px solid var(--corner-line);cursor:pointer;border-radius:50%;place-items:center;padding:0;text-decoration:none;transition:color .12s,background .12s;display:grid}.corner__btn:hover,.corner__btn:focus-visible{color:var(--text);background:var(--corner-bg-hover)}.corner__btn:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.corner__btn svg{width:18px;height:18px}.corner__btn--lang{letter-spacing:.06em;border-radius:999px;justify-content:center;align-items:center;gap:3px;width:auto;min-width:52px;padding:0 10px;font:800 .66rem/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;display:flex}.lang__opt{opacity:.48;transition:opacity .12s,color .12s}.corner__btn--lang[data-lang=ru] .lang__opt[data-opt=ru],.corner__btn--lang[data-lang=en] .lang__opt[data-opt=en]{opacity:1;color:var(--text)}.lang__sep{opacity:.35}body[data-chrome=toy]{background:var(--page-bg) fixed}body[data-chrome=toy] .shell{align-content:center;max-width:none;min-height:100dvh;padding:12px clamp(12px,2vw,32px)}body[data-chrome=toy]:not([data-debug]) :is(#tech-header,.toolbar,.status,.debug,.shell__footer){display:none}body[data-chrome=toy] :is(.overlay,.focus-hint){display:none!important}body:not([data-chrome=toy]) .corner{display:none}@media (max-width:640px){body[data-chrome=toy] .shell{padding-top:52px}.stage{max-width:clamp(240px,38.4615dvh - 29.2308px,640px)}body[data-chrome=toy] .arena{--stage-w:clamp(240px, calc((100dvh - 76px) / 2.6), 640px)}body[data-chrome=toy] .arena[data-compact]{--stage-w:clamp(300px, calc((100dvh - 76px) / .98), 1100px)}}.game-area{border-radius:2px;outline:none;line-height:0;display:inline-block;position:relative}.game-area:focus-visible{box-shadow:0 0 0 3px var(--accent)}.game-area canvas{image-rendering:pixelated;image-rendering:crisp-edges;display:block}.overlay{text-align:center;color:#eef3e4;background:#141a12d1;justify-items:center;gap:6px;padding:12px;line-height:1.35;display:grid;position:absolute;inset:auto 0 0}.overlay[hidden],.focus-hint[hidden],.status__warn[hidden],.overlay .btn[hidden]{display:none}.overlay__title{margin:0;font-size:1.1rem;font-weight:700}.overlay__hint{color:#cfd8c4;max-width:46ch;margin:0;font-size:.85rem}.focus-hint{text-align:center;color:#2a1d05;background:#f0b95aeb;margin:0;padding:6px 10px;font-size:.8rem;line-height:1.3;position:absolute;inset:0 0 auto}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.toolbar__check,.debug label{align-items:center;gap:6px;font-size:.9rem;display:inline-flex}.btn{font:inherit;color:var(--text);background:var(--panel-2);border:1px solid var(--line);cursor:pointer;border-radius:6px;padding:8px 14px;font-size:.9rem;line-height:1.2}.btn:hover:not(:disabled){border-color:var(--accent)}.btn:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.btn:disabled{opacity:.45;cursor:not-allowed}.btn--primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);font-weight:700}.status{background:var(--panel);border:1px solid var(--line);border-radius:8px;gap:4px;padding:10px 12px;font-size:.9rem;display:grid}.status p{margin:0}.status__warn{color:var(--warn)}.status__hint{color:var(--text);font-size:.85rem}.status__content{color:var(--muted);font-size:.8rem}.debug{background:var(--panel);border:1px dashed var(--line);border-radius:8px;padding:10px 12px}.debug[hidden],.fatal[hidden],.sheet[hidden],#row-timer[hidden],.toolbar__check[hidden]{display:none}.debug h2,.fatal h2{margin:0 0 6px;font-size:1rem}.debug pre,.fatal pre{white-space:pre-wrap;margin:0 0 8px;font:.8rem/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-x:auto}.debug__row{flex-wrap:wrap;align-items:center;gap:10px 14px;display:flex}.fatal{border:2px solid var(--danger);color:var(--danger);border-radius:8px;padding:12px}.settings{width:min(720px,100vw - 24px);max-height:calc(100vh - 24px);color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:16px;overflow:auto}.settings::backdrop{background:#0009}.settings h2{margin:0 0 8px;font-size:1.2rem}.settings h3{margin:14px 0 6px;font-size:1rem}.settings__section{border-top:1px solid var(--line);padding-top:4px}.settings__check{cursor:pointer;align-items:center;gap:8px;padding:6px 0;font-size:.95rem;display:flex}.help__text{margin:0;line-height:1.5}.help__text--orig{margin-top:6px;font-size:.9rem}.help__text--orig b{color:var(--text)}.help__table th{width:8.5rem}.help__keys{width:11rem;color:var(--muted);white-space:nowrap}.settings__note,.settings__warn{color:var(--muted);margin:4px 0 8px;font-size:.85rem}.settings__warn{color:var(--warn)}.settings__pad{gap:6px;display:grid}.settings__pad select{max-width:100%;color:var(--text);background:var(--panel-2);border:1px solid var(--line);font:inherit;border-radius:6px;padding:6px}.settings__range{align-items:center;gap:10px;display:inline-flex}.settings__table{border-collapse:collapse;width:100%;font-size:.9rem}.settings__table th{text-align:left;width:34%;font-weight:600}.settings__table th,.settings__table td{border-bottom:1px solid var(--line);padding:4px 6px}.settings__cell-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.settings__cell-actions .btn{padding:4px 10px;font-size:.8rem}.settings__row{flex-wrap:wrap;gap:8px;margin:8px 0;display:flex}.settings__row--end{justify-content:flex-end}@media (max-width:520px){.shell{padding:10px}.settings__table th{width:auto}}.shell__footer{color:var(--muted);margin:0;font-size:.85rem}.shell__footer a{color:var(--muted)}.route-sheet .stage,.route-sheet .toolbar,.route-sheet .status,.route-sheet .debug{display:none}.sheet{gap:16px;display:grid}.sheet h2{margin:0;font-size:1.15rem}.sheet p{color:var(--muted);margin:4px 0;font-size:.9rem}.sheet__scenes{gap:16px;display:grid}.sheet__scenes figure{margin:0}.sheet__scene,.sheet__asset{border:1px solid var(--line);display:block}.sheet figcaption{color:var(--muted);margin-top:4px;font-size:.8rem}.sheet table{border-collapse:collapse;width:100%;font-size:.85rem}.sheet th,.sheet td{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:8px}.sheet__status{border:1px solid;border-radius:10px;padding:1px 8px;font:700 .75rem/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;display:inline-block}.sheet__status--draft{color:var(--warn)}.sheet__status--blocked{color:var(--danger)}.sheet__status--confirmed{color:var(--accent)}body.route-editor--ready{overflow:hidden}.editor{background:var(--bg);font-size:.9rem;display:grid;position:fixed;inset:0}.editor[hidden]{display:none}.editor__view{grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid}.editor__view[hidden]{display:none}.editor__top{background:var(--panel);border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:6px 8px;padding:6px 10px;display:flex}.editor__title{margin:0 4px 0 0;font-size:1rem}.editor__back{color:var(--muted);text-decoration:none}.editor__pages{position:relative}.editor__pages summary{color:var(--muted);cursor:pointer;padding:2px 8px;list-style:none}.editor__pages summary::-webkit-details-marker{display:none}.editor__pages[open] summary{color:var(--text)}.editor__pages-list{z-index:30;background:var(--panel-2);border:1px solid var(--line);border-radius:6px;gap:2px;min-width:18rem;padding:6px;display:grid;position:absolute;top:100%;left:0;box-shadow:0 6px 18px #00000073}.editor__pages-list a{color:var(--text);border-radius:4px;padding:6px 8px;text-decoration:none}.editor__pages-list a:hover,.editor__pages-list a:focus-visible{background:var(--panel)}.editor__project{text-overflow:ellipsis;white-space:nowrap;max-width:24ch;color:var(--accent);border:1px dashed var(--line);cursor:default;background:0 0;border-radius:4px;padding:2px 8px;overflow:hidden}.editor__save{color:var(--muted);margin-left:auto;font-size:.8rem}.editor__save--error{color:var(--danger)}.editor__save--dirty,.editor__save--saving{color:var(--warn)}.editor__body{grid-template-columns:auto minmax(0,1fr) auto;min-height:0;display:grid}.editor__left,.editor__right{background:var(--panel);border-right:1px solid var(--line);width:262px;padding:8px;position:relative;overflow-y:auto}.editor__right{border-right:0;border-left:1px solid var(--line);width:320px}.editor__aside--closed{width:34px;padding:4px;overflow:hidden}.editor__aside--closed>:not(.editor__collapse){display:none}.editor__collapse{float:right;z-index:1;padding:0 6px;font-size:.75rem;position:sticky;top:0}.editor__center{flex-direction:column;min-width:0;min-height:0;display:flex}.editor__tools-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;display:flex}.editor__zoom{gap:4px;display:flex}.editor__banner{color:var(--danger);border:1px solid var(--danger);background:#ff8a7a1a;border-radius:4px;margin:0 10px 6px;padding:6px 10px}.editor__banner[hidden]{display:none}.editor__stage{border:1px solid var(--line);border-radius:4px;flex:1 1 0;min-width:0;min-height:0;margin:0 10px;position:relative;overflow:hidden}.editor__stage--drop{outline:3px dashed var(--accent);outline-offset:-6px}.editor__bar{color:var(--muted);justify-content:space-between;gap:12px;padding:4px 10px 6px;font-size:.8rem;display:flex}.editor__status{margin:0}.editor__status--warn{color:var(--warn)}.editor__status--error{color:var(--danger)}.editor__hover{white-space:nowrap;font-family:ui-monospace,monospace}.map{display:flex;position:absolute;inset:0}.map[hidden]{display:none}.map__canvas{touch-action:none;outline:none;flex:none;display:block}.map__canvas--photo{border-right:2px solid var(--line);display:none}.map__canvas--main:focus-visible{box-shadow:inset 0 0 0 2px var(--accent)}.panel__title,.panel__sub{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:8px 0 4px;font-size:.78rem}.tools{grid-template-columns:1fr 1fr;gap:4px;display:grid}.tool{min-width:0;color:var(--text);background:var(--panel-2);border:1px solid var(--line);cursor:pointer;border-radius:5px;justify-content:space-between;align-items:center;gap:4px;padding:5px 6px;font-size:.82rem;display:flex}.tool kbd{color:var(--muted);border:1px solid var(--line);border-radius:3px;padding:0 4px;font:.7rem ui-monospace,monospace}.tool--active{color:var(--accent-ink);background:var(--accent);border-color:var(--accent)}.tool--active kbd{color:var(--accent-ink);border-color:var(--accent-ink)}.palette{grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:6px;display:grid}.palette__item{color:var(--text);background:var(--panel-2);border:2px solid var(--line);cursor:pointer;border-radius:6px;justify-items:center;gap:3px;padding:4px;display:grid}.palette__item canvas{border-radius:3px;width:56px;height:auto}.palette__item--active{border-color:var(--accent)}.palette__item--text{align-content:center;min-height:44px}.palette__label{text-align:center;font-size:.72rem}.options,.panel__body{gap:6px;display:grid}.panel__section{border:1px solid var(--line);border-radius:6px;margin:0 0 6px}.panel__section>summary{cursor:pointer;background:var(--panel-2);padding:6px 8px;font-weight:600}.panel__body{padding:8px}.panel__body h4{margin:6px 0 0}.field{gap:2px;display:grid}.field--inline{gap:2px}.field__label{color:var(--muted);font-size:.75rem}.field__hint,.muted{color:var(--muted);margin:0;font-size:.75rem}.warn{color:var(--warn);margin:0;font-size:.8rem}.editor input[type=text],.editor input[type=number],.editor select,.editor textarea,.editor-dialog input[type=text],.editor-dialog select{width:100%;color:var(--text);font:inherit;background:var(--bg);border:1px solid var(--line);border-radius:4px;padding:4px 6px}.row{align-items:end;gap:6px;display:flex}.row>.field{flex:1;min-width:0}.row--wrap{flex-wrap:wrap}.check{align-items:center;gap:6px;display:flex}.modes{gap:4px;display:flex}.btn--mode.btn--active{color:var(--accent-ink);background:var(--accent);border-color:var(--accent)}.btn--ghost{background:0 0}.btn--danger{color:var(--danger);border-color:var(--danger)}.refs{gap:4px;margin:0;padding:0;list-style:none;display:grid}.refs__pick{width:100%;color:var(--text);text-align:left;background:var(--panel-2);border:1px solid var(--line);cursor:pointer;border-radius:5px;padding:5px 8px;display:grid}.refs__item--active .refs__pick{border-color:#7ec8ff}.refs__pick small{color:var(--muted)}.problems{gap:4px;margin:0;padding:0;list-style:none;display:grid}.problem{gap:1px;display:grid}.problem__go{color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;padding:2px 4px}.problem--error .problem__go{color:var(--danger)}.problem--warning .problem__go{color:var(--warn)}.problem small{color:var(--muted);word-break:break-all;padding-left:4px}.calib{background:var(--bg);grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:6px;padding:8px;display:grid;position:absolute;inset:0;overflow:auto}.calib__top h3{margin:0}.calib__help{color:var(--muted);margin:4px 0 0;font-size:.8rem}.calib__body{gap:10px;min-height:0;display:flex}.calib__canvas{cursor:crosshair;touch-action:none;outline:none;flex:none}.calib__side{align-content:start;gap:4px;display:grid}.calib__loupe{border:1px solid var(--line);width:128px;height:128px;image-rendering:pixelated}.calib__preview{border:1px solid var(--line)}.calib__label{color:var(--muted);font-size:.75rem}.calib__bottom{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.calib__message{color:var(--accent);margin:0}.calib__message--error{color:var(--danger)}.calib__buttons{gap:6px;display:flex}.editor-dialog{max-width:min(520px,94vw);color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:16px}.editor-dialog--wide{max-width:min(720px,94vw)}.editor-dialog::backdrop{background:#0009}.editor-dialog h2{margin:0 0 8px;font-size:1.05rem}.editor-dialog__body{gap:8px;max-height:60vh;display:grid;overflow:auto}.editor-dialog__list{margin:0;padding-left:20px;font-size:.85rem}.editor-dialog__buttons{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.projects{gap:6px;margin:0;padding:0;list-style:none;display:grid}.projects__item{background:var(--panel-2);border-radius:5px;justify-content:space-between;align-items:center;gap:6px;padding:6px 8px;display:flex}.test{grid-template-rows:auto auto minmax(0,1fr) auto;gap:6px;min-height:0;padding:8px 10px;display:grid}.test[hidden]{display:none}.test__bar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.test__banner{color:var(--warn);border:1px solid var(--warn);border-radius:4px;margin:0;padding:6px 10px;font-size:.8rem}.test__stage{border:1px solid var(--line);background:#101312;border-radius:6px;place-items:center;min-height:0;display:grid;overflow:hidden}.test__status{color:var(--muted);margin:0;font-size:.8rem}.editor--testing .editor{grid-template-rows:minmax(0,1fr)}body.route-editor .shell>:not(#fatal){display:none}
