@import "https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;800&display=swap";:root{--ink:#2a1f3d;--purple:#7b5cff;--teal:#21d4c5;--pink:#ff5fa2;--panel:#fff;--bg:#1b1950;--ui-scale:1;--tap:calc(44px * var(--ui-scale));color:var(--ink);font-family:"Baloo 2",system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);overscroll-behavior:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;overflow:hidden}.app{height:100%;padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px);grid-template-rows:auto 1fr auto;display:grid}.stage{justify-content:center;align-items:center;min-height:0;padding:4px 8px;display:flex;position:relative}.room{-webkit-touch-callout:none;-webkit-user-select:none;touch-action:none;border-radius:18px;width:100%;height:100%;display:block}.char{cursor:grab}.char.is-dragging{cursor:grabbing}.char-shadow{fill:var(--ink);opacity:.18;transition:opacity .15s,transform .15s}.char-ring{fill:none;stroke:#fff;stroke-width:6px;stroke-dasharray:18 10;opacity:.9}.char-body{transition:transform .15s ease-out}.char.is-dragging .char-body{transform:translateY(-14px)rotate(-3deg)}.char.is-dragging .char-shadow{opacity:.1;transform:scale(.8)}.char-bob{animation:2.6s ease-in-out infinite bob}.char.is-dragging .char-bob{animation:none}@keyframes bob{50%{transform:translateY(-3px)}}.topbar{align-items:center;gap:10px;padding:8px 12px 4px;display:flex}.brand{color:#fff;font-weight:800;font-size:calc(20px * var(--ui-scale));align-items:center;gap:6px;display:flex}.brand-badge{background:var(--purple);letter-spacing:1px;border:3px solid #fff;border-radius:10px;padding:0 8px}.wordmark{font:800 calc(24px * var(--ui-scale)) "Baloo 2", system-ui, sans-serif;letter-spacing:.5px;-webkit-text-stroke:1.5px #fff;paint-order:stroke fill;text-shadow:0 2px #00000059;white-space:nowrap;line-height:1}.loading .wordmark{font-size:44px}.loading-dots{opacity:.8;animation:1s steps(2,end) infinite blink}.room-chip{color:#fff;font-weight:600;font-size:calc(15px * var(--ui-scale));background:#ffffff24;border-radius:999px;padding:2px 14px}.topbar-actions{gap:8px;margin-left:auto;display:flex}.icon-btn{width:var(--tap);height:var(--tap);border:3px solid var(--ink);background:var(--panel);color:var(--ink);font:800 calc(20px * var(--ui-scale)) "Baloo 2", system-ui, sans-serif;cursor:pointer;box-shadow:0 3px 0 var(--ink);border-radius:14px}.icon-btn:active{box-shadow:0 1px 0 var(--ink);transform:translateY(2px)}.icon-btn:focus-visible,.strip-slot:focus-visible{outline:3px solid var(--teal);outline-offset:2px}.help-wrap{position:relative}.popover{right:0;top:calc(var(--tap) + 8px);z-index:20;background:var(--panel);border:3px solid var(--ink);width:min(300px,80vw);box-shadow:0 6px 0 var(--ink);border-radius:18px;padding:12px 16px;position:absolute}.popover h2{margin:0 0 4px;font-size:20px}.popover ul{margin:0;padding-left:18px;line-height:1.5}.popover-close{cursor:pointer;color:var(--ink);background:0 0;border:0;width:36px;height:36px;font-size:26px;position:absolute;top:6px;right:8px}.strip{justify-content:center;gap:10px;padding:6px 12px 10px;display:flex;overflow-x:auto}.strip-slot{width:calc(76px * var(--ui-scale));background:var(--panel);border:3px solid var(--ink);box-shadow:0 3px 0 var(--ink);cursor:pointer;color:var(--ink);border-radius:16px;flex-direction:column;flex:none;align-items:center;padding:4px 4px 2px;font:600 13px "Baloo 2",system-ui,sans-serif;display:flex}.strip-slot svg{width:100%;height:calc(50px * var(--ui-scale))}.strip-slot{position:relative}.strip-slot.is-selected{border-color:var(--purple);box-shadow:0 3px 0 var(--purple);background:#e9e3ff}.strip-slot.is-away svg{opacity:.45}.strip-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.strip-badge{background:var(--teal);border:3px solid var(--ink);border-radius:50%;place-items:center;width:22px;height:22px;font-weight:800;line-height:1;display:grid;position:absolute;top:-8px;right:-8px}.strip-new{color:#fff;box-shadow:none;background:0 0;border-style:dashed;border-color:#fff;justify-content:center}.strip-plus{height:calc(50px * var(--ui-scale));place-items:center;font-size:32px;font-weight:800;line-height:1;display:grid}.pill-btn{border:3px solid var(--ink);background:var(--panel);min-height:40px;color:var(--ink);box-shadow:0 3px 0 var(--ink);font:800 calc(15px * var(--ui-scale)) "Baloo 2", system-ui, sans-serif;cursor:pointer;white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:4px 16px;display:inline-flex}.pill-btn:active{box-shadow:0 1px 0 var(--ink);transform:translateY(2px)}.pill-btn.primary{background:var(--teal)}.pill-btn.danger{background:var(--pink);color:#fff}.pill-btn:focus-visible,.link-btn:focus-visible,.tab:focus-visible,.swatch:focus-visible,.option:focus-visible{outline:3px solid var(--purple);outline-offset:2px}.link-btn{color:var(--purple);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;min-height:40px;padding:6px 2px;font:800 15px "Baloo 2",system-ui,sans-serif;display:inline-flex}.danger-text{color:#c2405a}.dice-icon{width:18px;height:18px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.selbar{z-index:5;background:var(--panel);border:3px solid var(--ink);box-shadow:0 4px 0 var(--ink);border-radius:999px;align-items:center;gap:8px;max-width:calc(100% - 24px);padding:6px 8px 6px 16px;display:flex;position:absolute;top:8px;left:50%;transform:translate(-50%)}.selbar-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:800;overflow:hidden}.selbar-x{cursor:pointer;width:36px;height:36px;color:var(--ink);background:0 0;border:0;font-size:24px}.toast{z-index:40;background:var(--ink);color:#fff;text-align:center;border-radius:14px;max-width:calc(100% - 32px);padding:8px 18px;font-weight:600;position:fixed;top:70px;left:50%;transform:translate(-50%)}.save{align-items:center;gap:6px;display:flex}.save-dot{background:#4caf6a;border:2px solid #fff;border-radius:50%;width:12px;height:12px}.save-saving .save-dot,.save-loading .save-dot{background:var(--teal);animation:.9s ease-in-out infinite alternate pulse}.save-error .save-dot,.save-unavailable .save-dot{background:#ffb020}.save-retry{color:#fff;cursor:pointer;background:0 0;border:2px solid #fff;border-radius:999px;padding:2px 10px;font:700 13px "Baloo 2",sans-serif}@keyframes pulse{to{opacity:.35}}.loading{color:#fff;justify-content:center;align-items:center;gap:10px;height:100%;font-size:22px;font-weight:800;display:flex}.creator{z-index:25;border-left:4px solid var(--ink);overscroll-behavior:contain;width:min(420px,100%);padding-right:env(safe-area-inset-right,0px);padding-bottom:env(safe-area-inset-bottom,0px);-webkit-user-select:auto;user-select:auto;background:#faf8ff;flex-direction:column;display:flex;position:fixed;top:0;bottom:0;right:0;overflow-y:auto;box-shadow:-8px 0 #2a1f3d40}.creator-head{z-index:2;padding:max(10px, env(safe-area-inset-top,0px)) 14px 10px;background:#faf8ff;border-bottom:3px solid #e4ddff;align-items:center;gap:8px;display:flex;position:sticky;top:0}.creator-name{flex:1;min-width:0}.creator-name input{border:3px solid var(--ink);width:100%;min-height:42px;color:var(--ink);background:#fff;border-radius:12px;padding:4px 12px;font:800 18px "Baloo 2",system-ui,sans-serif}.creator-name input:focus{outline:3px solid var(--purple);outline-offset:1px}.creator-preview{background:radial-gradient(circle at 50% 60%,#e9e3ff 0,#faf8ff 70%);flex-direction:column;align-items:center;gap:6px;padding:8px 14px 12px;display:flex}.creator-preview svg{width:100%;height:clamp(120px,28vh,230px)}.creator-tabs{z-index:1;scrollbar-width:none;background:#faf8ff;border-bottom:3px solid #e4ddff;gap:6px;padding:8px 14px;display:flex;position:sticky;top:64px;overflow-x:auto}.tab{border:3px solid var(--ink);min-height:38px;color:var(--ink);cursor:pointer;background:#fff;border-radius:999px;flex:none;padding:2px 14px;font:700 15px "Baloo 2",system-ui,sans-serif}.tab.is-active{background:var(--purple);color:#fff}.creator-body{flex-direction:column;gap:10px;padding:6px 14px 20px;display:flex}.creator-section h3{text-transform:uppercase;letter-spacing:1px;color:#6b5f8a;margin:0 0 6px;font-size:14px}.swatches{flex-wrap:wrap;gap:8px;display:flex}.swatch{border:3px solid var(--ink);cursor:pointer;border-radius:50%;width:40px;height:40px}.swatch.is-on{box-shadow:0 0 0 3px #faf8ff, 0 0 0 6px var(--purple)}.options{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px;display:grid}.option{cursor:pointer;color:var(--ink);background:#fff;border:3px solid #d9d0ff;border-radius:14px;flex-direction:column;align-items:center;gap:2px;padding:6px 4px 4px;font:700 13px "Baloo 2",system-ui,sans-serif;display:flex}.option svg{width:100%;height:64px}.option.is-on{border-color:var(--purple);box-shadow:0 3px 0 var(--purple);background:#efeaff}.option:disabled{opacity:.45;cursor:not-allowed}.option small{color:#6b5f8a;text-align:center;font-size:11px;line-height:1.1}.creator-danger{border-top:3px dashed #e4ddff;margin-top:8px;padding-top:10px}.confirm{background:#fff0f5;border:3px solid #c2405a;border-radius:14px;padding:10px 12px}.confirm p{margin:0 0 8px;font-weight:700}.confirm-row{justify-content:flex-end;gap:8px;display:flex}@media (width>=900px){.app.is-editing .strip{justify-content:flex-start;padding-right:432px}}.portrait-hint{display:none}@media (orientation:portrait) and (width<=820px){.portrait-hint{z-index:30;background:var(--panel);border:3px solid var(--ink);box-shadow:0 4px 0 var(--ink);text-align:center;border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:10px 12px;font-weight:600;display:flex;position:fixed;top:64px;left:12px;right:12px}.portrait-hint button{border:3px solid var(--ink);background:var(--teal);cursor:pointer;border-radius:12px;min-height:40px;padding:4px 12px;font:800 15px "Baloo 2",sans-serif}}@media (pointer:coarse){:root{--ui-scale:1.15}}@media (prefers-reduced-motion:reduce){.char-bob,.save-dot{animation:none!important}.char-body,.char-shadow{transition:none}}.rooms{background:#ffffff1f;border-radius:999px;gap:6px;padding:4px;display:flex}.room-btn{color:#fff;min-height:36px;font:700 calc(14px * var(--ui-scale)) "Baloo 2", system-ui, sans-serif;cursor:pointer;background:0 0;border:0;border-radius:999px;align-items:center;gap:6px;padding:2px 12px;display:flex}.room-btn.is-on{color:var(--ink);background:#fff}.room-btn:focus-visible{outline:3px solid var(--teal);outline-offset:2px}.room-dot{border:2px solid;border-radius:50%;width:12px;height:12px}.dot-gaming{background:var(--purple)}.dot-snack{background:#ff9a3c}.dot-arcade{background:var(--pink)}.dot-cinema{background:#ffcc4d}.dot-bedroom{background:#ff9ad0}.dot-garage{background:#7b8a9a}.dot-garden{background:#7dcf63}.dot-greenhouse{background:#bfefff}.cat-btn{font-size:26px;line-height:1}.cat-btn.is-on{background:var(--teal)}.room-slide{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.room-slide.from-left{animation:.32s ease-out slide-from-left}.room-slide.from-right{animation:.32s ease-out slide-from-right}@keyframes slide-from-left{0%{opacity:0;transform:translate(-40%)}}@keyframes slide-from-right{0%{opacity:0;transform:translate(40%)}}.door-arrow{animation:.3s linear infinite buzz}.catalogue{z-index:25;border-left:4px solid var(--ink);overscroll-behavior:contain;width:min(400px,100%);padding-right:env(safe-area-inset-right,0px);padding-bottom:env(safe-area-inset-bottom,0px);background:#faf8ff;flex-direction:column;display:flex;position:fixed;top:0;bottom:0;right:0;overflow-y:auto;box-shadow:-8px 0 #2a1f3d40}.cat-head{z-index:2;padding:max(10px, env(safe-area-inset-top,0px)) 14px 8px;background:#faf8ff;justify-content:space-between;align-items:center;gap:8px;display:flex;position:sticky;top:0}.cat-head h2{margin:0;font-size:22px}.cat-search{padding:0 14px 6px}.cat-search input{border:3px solid var(--ink);width:100%;min-height:40px;color:var(--ink);background:#fff;border-radius:12px;padding:4px 12px;font:600 16px "Baloo 2",system-ui,sans-serif}.cat-search input:focus{outline:3px solid var(--purple);outline-offset:1px}.cat-tabs{top:58px}.cat-hint{color:#6b5f8a;margin:6px 14px 0;font-size:13px}.cat-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;padding:8px 14px 12px;display:grid}.cat-empty{color:#6b5f8a;grid-column:1/-1;margin:8px 0}.cat-tile{position:relative}.cat-pick{cursor:grab;touch-action:none;width:100%;color:var(--ink);text-align:center;background:#fff;border:3px solid #d9d0ff;border-radius:14px;flex-direction:column;align-items:center;gap:2px;padding:6px 4px 4px;font:700 13px/1.1 "Baloo 2",system-ui,sans-serif;display:flex}.cat-pick svg{pointer-events:none;width:100%;height:64px}.cat-pick:focus-visible{outline:3px solid var(--purple);outline-offset:2px}.cat-tile.is-armed .cat-pick{border-color:var(--teal);box-shadow:0 3px 0 var(--teal);background:#e6fbf8}.cat-tile.is-full .cat-pick{opacity:.45;cursor:not-allowed}.cat-pick small{color:#c2405a;font-size:11px}.cat-star{color:#c9c2e6;cursor:pointer;background:#ffffffd9;border:0;border-radius:50%;width:28px;height:28px;font-size:18px;line-height:1;position:absolute;top:4px;right:4px}.cat-star.is-on{color:#ffb020}.cat-reset{margin:4px 14px 16px}.armed-bar{z-index:6;background:var(--teal);border:3px solid var(--ink);max-width:calc(100% - 24px);box-shadow:0 3px 0 var(--ink);border-radius:999px;align-items:center;gap:10px;padding:6px 8px 6px 16px;font-weight:700;display:flex;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.placing-ghost{opacity:.65}.strip-where{background:var(--ink);color:#fff;white-space:nowrap;border-radius:999px;padding:0 6px;font-size:10px;position:absolute;bottom:-8px;left:50%;transform:translate(-50%)}.anim-hop{animation:.35s ease-out 2 hop}.arcade-run{animation:.2s steps(2,end) infinite buzz}.joy-wiggle{animation:.12s linear infinite buzz}.claw-grab{animation:1s ease-in-out claw}@keyframes claw{40%{transform:translateY(70px)}55%{transform:translateY(70px)}}.mat-flash{animation:.25s steps(2,end) 4 blink}.neon-buzz{animation:4s ease-in-out infinite neon}@keyframes neon{92%{opacity:1}94%{opacity:.4}96%{opacity:1}}.confetti rect{animation:2.4s ease-in forwards confetti-fall}@keyframes confetti-fall{to{transform:translateY(1100px)rotate(540deg)}}.disco-wash{mix-blend-mode:multiply;animation:.6s steps(3,end) infinite disco}@keyframes disco{0%{fill:#ff5fa2;opacity:.25}33%{fill:#21d4c5;opacity:.25}66%{fill:#ffd447;opacity:.25}}@media (prefers-reduced-motion:reduce){.room-slide.from-left,.room-slide.from-right{animation:.2s ease-out fade-in}.door-arrow,.arcade-run,.joy-wiggle,.claw-grab,.mat-flash,.neon-buzz,.anim-hop{animation:none!important}.confetti rect{animation-duration:10ms}.disco-wash{fill:#ff5fa2;opacity:.15;animation:none}}@keyframes fade-in{0%{opacity:0}}.companion{cursor:pointer}.comp-walk{animation:.32s ease-in-out infinite hop}.dog-wag{transform-box:fill-box;transform-origin:0 100%;animation:.25s ease-in-out infinite alternate wag}@keyframes wag{0%{transform:rotate(-14deg)}to{transform:rotate(14deg)}}.robot-dance{transform-box:fill-box;transform-origin:50% 100%;animation:.5s ease-in-out infinite robot-dance}@keyframes robot-dance{25%{transform:rotate(-8deg)translateY(-6px)}75%{transform:rotate(8deg)translateY(-6px)}}.robot-bigdance{transform-box:fill-box;transform-origin:50% 100%;animation:1s ease-in-out infinite robot-bigdance}@keyframes robot-bigdance{0%{transform:none}20%{transform:translateY(-40px)rotate(-12deg)}40%{transform:scaleX(-1)translateY(-10px)}60%{transform:translateY(-50px)rotate(12deg)}80%{transform:scale(1.1,.85)}}.dog-chairspin{transform-box:fill-box;transform-origin:50% 100%;animation:.7s ease-in-out 3 spin-y}.comp-shake{animation:.1s linear 6 buzz}.robot-blink{animation:1.6s steps(2,end) infinite blink}.hearts path{animation:1.4s ease-out both float-up}.emote{animation:.4s ease-out 2 hop}.sparkles path{transform-box:fill-box;transform-origin:50%;animation:.6s ease-in-out infinite alternate twinkle}.wave-hand{transform-box:fill-box;transform-origin:30% 100%;animation:.35s ease-in-out 4 alternate wave}@keyframes wave{0%{transform:translate(84px,-150px)rotate(-20deg)}to{transform:translate(84px,-150px)rotate(20deg)}}.big-burger{transform-box:fill-box;transform-origin:50%;animation:1.8s ease-in-out big-burger}@keyframes big-burger{0%{opacity:0}15%{opacity:1}70%{opacity:1}to{opacity:0;transform:translateY(-150px)scale(1.2)}}.char-jolt{animation:.18s ease-out hop}@keyframes twinkle{0%{opacity:.35;transform:scale(.8)}to{opacity:1;transform:scale(1.1)}}.twinkle{animation:2.4s ease-in-out infinite blink}.rain path{animation:.7s linear infinite rain}@keyframes rain{0%{opacity:0;transform:translateY(-30px)}30%{opacity:1}to{opacity:0;transform:translateY(40px)}}.cloud-drift{animation:40s ease-in-out infinite alternate drift}@keyframes drift{to{transform:translate(60px)}}.night-tint{mix-blend-mode:multiply;transition:opacity 2s linear}.modal-backdrop{z-index:50;padding:max(16px, env(safe-area-inset-top,0px)) max(16px, env(safe-area-inset-right,0px)) max(16px, env(safe-area-inset-bottom,0px)) max(16px, env(safe-area-inset-left,0px));background:#1d16408c;place-items:center;display:grid;position:fixed;inset:0}.settings{border:4px solid var(--ink);width:min(440px,100%);max-height:100%;box-shadow:0 8px 0 var(--ink);background:#faf8ff;border-radius:22px;overflow-y:auto}.settings-body{flex-direction:column;gap:10px;padding:4px 18px 18px;display:flex}.settings h3{text-transform:uppercase;letter-spacing:1px;color:#6b5f8a;margin:6px 0 0;font-size:14px}.toggle-row,.slider-row{align-items:center;gap:12px;min-height:40px;font-weight:700;display:flex}.toggle-row input{width:24px;height:24px;accent-color:var(--purple)}.toggle-row small{color:#6b5f8a;font-weight:500;display:block}.slider-row span{width:64px}.slider-row input{accent-color:var(--purple);flex:1;min-width:0}.slider-row output{text-align:right;font-variant-numeric:tabular-nums;width:44px}.settings-note{color:#6b5f8a;margin:4px 0 0;font-size:13px}.hint{z-index:4;border:3px solid var(--ink);max-width:min(360px,100% - 24px);font-weight:600;font-size:calc(14px * var(--ui-scale));box-shadow:0 3px 0 var(--ink);background:#fff8d6;border-radius:16px;align-items:center;gap:6px;padding:6px 6px 6px 14px;display:flex;position:absolute;bottom:10px;left:12px}.travel-prompt{z-index:6;background:var(--panel);border:3px solid var(--ink);box-shadow:0 3px 0 var(--ink);border-radius:999px;align-items:center;gap:8px;padding:6px 8px 6px 14px;font-weight:700;animation:.25s ease-out fade-in;display:flex;position:absolute;top:10px;right:12px}:root.large-ui{--ui-scale:1.25}:root.large-ui .pill-btn,:root.large-ui .tab{min-height:46px;font-size:17px}.start-menu{z-index:40;padding:max(16px, env(safe-area-inset-top,0px)) max(16px, env(safe-area-inset-right,0px)) max(16px, env(safe-area-inset-bottom,0px)) max(16px, env(safe-area-inset-left,0px));background:radial-gradient(circle at 50% 30%,#7b5cff73,#1b1950f2);place-items:center;display:grid;position:fixed;inset:0;overflow-y:auto}.start-card{border:4px solid var(--ink);width:min(420px,100%);box-shadow:0 10px 0 var(--ink);text-align:center;background:#faf8ff;border-radius:26px;flex-direction:column;align-items:center;gap:10px;padding:22px 22px 18px;display:flex}.start-logo{border-radius:16px;width:100%;max-width:100%;height:auto}.start-card{background:#1b1950;border-color:#fff;box-shadow:0 10px #00000059}.start-card .link-btn{color:#c9b8ff}.start-card .world-tools,.start-card .confirm p,.start-card .tool-note{color:var(--ink)}.start-card .world-tools{background:#faf8ff;border-radius:16px;padding:12px}.start-actions{flex-direction:column;align-items:stretch;gap:10px;width:100%;display:flex}.start-actions .pill-btn{justify-content:center}.pill-btn.big{min-height:54px;font-size:22px}.world-tools{text-align:left;flex-direction:column;gap:12px;width:100%;display:flex}.tool{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.tool-box{flex-direction:column;align-items:flex-start;gap:6px;width:100%;display:flex}.tool-box p,.tool-note{color:#6b5f8a;margin:0;font-size:13px}.tool-box textarea{resize:vertical;width:100%;color:var(--ink);background:#fff;border:3px solid #d9d0ff;border-radius:10px;padding:6px;font:12px/1.4 ui-monospace,monospace}.tool-error{background:#fff0f5;border:3px solid #c2405a;border-radius:12px;margin:0;padding:8px 10px;font-size:14px;font-weight:600}.file-btn{position:relative;overflow:hidden}.file-btn input{opacity:0;cursor:pointer;font-size:0;position:absolute;inset:0}.file-btn:focus-within{outline:3px solid var(--purple);outline-offset:2px}.preview-list{margin:0 0 8px;padding-left:18px;font-size:14px;line-height:1.5}@media (orientation:landscape) and (height<=540px){:root{--tap:40px}.app{grid-template:"strip stage top"minmax(0,1fr)/auto minmax(0,1fr) auto}.stage{grid-area:stage;padding:4px 0}.room{border-radius:12px}.topbar{scrollbar-width:none;flex-direction:column;grid-area:top;align-items:center;gap:8px;padding:6px;overflow-y:auto}.brand,.room-label{display:none}.hint{font-size:13px;bottom:6px}.rooms{flex-direction:column;padding:3px}.room-btn{min-height:32px;padding:2px 8px}.catalogue{width:min(420px,60%)}.cat-grid{grid-template-columns:repeat(auto-fill,minmax(80px,1fr))}.cat-pick svg{height:48px}.brand{font-size:14px}.topbar-actions{flex-direction:column;align-items:center;margin-left:0}.save{flex-direction:column}.popover{max-height:calc(100dvh - 24px);top:0;right:calc(100% + 8px);overflow-y:auto}.strip{scrollbar-width:none;flex-direction:column;grid-area:strip;justify-content:flex-start;gap:8px;padding:6px;overflow:hidden auto}.strip-slot{border-radius:12px;width:62px;padding:2px 2px 1px;font-size:11px}.strip-slot svg,.strip-plus{height:38px}.strip-badge{width:18px;height:18px;font-size:12px;top:-6px;right:-6px}.selbar{scrollbar-width:none;flex-wrap:nowrap;gap:4px;max-width:calc(100% - 8px);padding:2px 2px 2px 10px;top:4px;overflow-x:auto}.selbar-hint{display:none}.selbar .pill-btn{min-height:34px;padding:2px 12px;font-size:14px}.toast{top:12px}.creator{width:min(440px,62%)}.app.is-editing .strip{padding-right:6px}.creator-head{padding-top:6px;padding-bottom:6px}.creator-name input{min-height:36px;font-size:16px}.creator-preview{flex-direction:row;justify-content:center;padding:4px 10px}.creator-preview svg{flex:none;width:110px;height:110px}.creator-tabs{padding:6px 10px;top:50px}.tab{min-height:34px;padding:0 12px;font-size:14px}.option svg{height:52px}.options{grid-template-columns:repeat(auto-fill,minmax(76px,1fr))}.swatch{width:34px;height:34px}}.obj{cursor:grab}.room.is-dragging,.room.is-dragging .obj,.room.is-dragging .char{cursor:grabbing}.obj.is-ghost{opacity:.6}.obj-ring{fill:#ffffff2e;stroke:#fff;stroke-width:5px;stroke-dasharray:16 10}.obj.is-target .obj-ring,.char.is-target .char-ring{stroke:var(--teal);stroke-width:8px}.obj-anim{transform-box:fill-box;transform-origin:50% 100%}.anim-wobble{animation:.5s ease-in-out 2 wobble}.anim-wiggle{transform-origin:50% 0;animation:.45s ease-in-out 2 wiggle}.anim-spin{animation:.9s ease-in-out spin-y}.anim-squish{animation:.5s ease-out squish}.anim-rustle{animation:.3s ease-in-out 3 wiggle}.anim-buzz{animation:80ms linear 8 buzz}.anim-click{animation:.2s ease-out 2 squish}.anim-type{animation:.12s linear 5 buzz}.notes,.steam{animation:.9s ease-out float-up}.fan-spin{transform-box:fill-box;transform-origin:50%;animation:.8s linear infinite spin}.screen-hop{transform-box:fill-box;animation:.8s ease-in-out infinite hop}.lamp-glow{animation:3s ease-in-out infinite alternate glow}.glitch{animation:.15s steps(2,end) infinite glitch}.key-flash{animation:.2s steps(2,end) infinite blink}@keyframes wobble{25%{transform:rotate(-1.5deg)}75%{transform:rotate(1.5deg)}}@keyframes wiggle{25%{transform:rotate(-4deg)}75%{transform:rotate(4deg)}}@keyframes spin-y{25%{transform:scaleX(-1)}50%{transform:scaleX(1)}75%{transform:scaleX(-1)}}@keyframes squish{40%{transform:scale(1.12,.85)}70%{transform:scale(.95,1.06)}}@keyframes buzz{50%{transform:translate(3px)}}@keyframes float-up{0%{opacity:0;transform:translateY(8px)}30%{opacity:1}to{opacity:0;transform:translateY(-14px)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes hop{50%{transform:translateY(-14px)}}@keyframes glow{to{opacity:.32}}@keyframes glitch{50%{opacity:.6;transform:translate(-6px)}}@keyframes blink{50%{opacity:0}}.char-hop{animation:.35s ease-out 2 hop}.chomp{transform-box:fill-box;transform-origin:50%;animation:.25s ease-in-out infinite chomp}.zzz text{animation:2.2s ease-in-out infinite float-up}.zzz text:nth-child(2){animation-delay:1.1s}@keyframes chomp{50%{transform:scaleY(.3)}}.needs{pointer-events:none}.selbar{border-radius:24px;flex-wrap:wrap;justify-content:center}.selbar-hint{color:#6b5f8a;font-size:13px}@media (prefers-reduced-motion:reduce){.obj-anim,.notes,.steam,.fan-spin,.screen-hop,.lamp-glow,.glitch,.key-flash,.char-hop,.chomp,.zzz text{animation:none!important}}:root.reduce-motion .char-bob,:root.reduce-motion .save-dot{animation:none!important}:root.reduce-motion .char-body,:root.reduce-motion .char-shadow{transition:none}:root.reduce-motion .room-slide.from-left,:root.reduce-motion .room-slide.from-right{animation:.2s ease-out fade-in}:root.reduce-motion .door-arrow,:root.reduce-motion .arcade-run,:root.reduce-motion .joy-wiggle,:root.reduce-motion .claw-grab,:root.reduce-motion .mat-flash,:root.reduce-motion .neon-buzz,:root.reduce-motion .anim-hop{animation:none!important}:root.reduce-motion .confetti rect{animation-duration:10ms}:root.reduce-motion .disco-wash{fill:#ff5fa2;opacity:.15;animation:none}:root.reduce-motion .obj-anim,:root.reduce-motion .notes,:root.reduce-motion .steam,:root.reduce-motion .fan-spin,:root.reduce-motion .screen-hop,:root.reduce-motion .lamp-glow,:root.reduce-motion .glitch,:root.reduce-motion .key-flash,:root.reduce-motion .char-hop,:root.reduce-motion .chomp,:root.reduce-motion .zzz text,:root.reduce-motion .comp-walk,:root.reduce-motion .dog-wag,:root.reduce-motion .robot-dance,:root.reduce-motion .robot-bigdance,:root.reduce-motion .dog-chairspin,:root.reduce-motion .comp-shake,:root.reduce-motion .robot-blink,:root.reduce-motion .emote,:root.reduce-motion .sparkles path,:root.reduce-motion .wave-hand,:root.reduce-motion .twinkle,:root.reduce-motion .rain path,:root.reduce-motion .cloud-drift,:root.reduce-motion .char-bob{animation:none!important}:root.reduce-motion .companion{transition:none!important}@media (prefers-reduced-motion:reduce){.comp-walk,.dog-wag,.robot-dance,.robot-bigdance,.dog-chairspin,.comp-shake,.robot-blink,.emote,.sparkles path,.wave-hand,.twinkle,.rain path,.cloud-drift{animation:none!important}}.creator-tabs{flex-wrap:wrap;overflow-x:visible}.creator-preview .dice-icon{flex:none;width:18px;height:18px}@media (height>=541px),(orientation:portrait){.topbar{flex-wrap:wrap}.rooms{flex-wrap:wrap;min-width:0}}.icon-btn{justify-content:center;align-items:center;padding:0;line-height:1;display:inline-flex}.icon-btn svg{flex:none;display:block}html,body,button,.strip,.catalogue,.creator,.settings{touch-action:manipulation}.confirm.new-world{flex-direction:column;gap:10px;display:flex}.confirm.new-world p{margin:0}.backup-offer{background:#fff;border-radius:12px;flex-direction:column;align-items:flex-start;gap:6px;padding:10px;display:flex}.confirm-row.split{flex-wrap:wrap;justify-content:space-between;gap:8px}.start-card .world-tools{background:0 0;padding:0}.start-card .confirm.new-world{background:#faf8ff}.grow-meter{border:2px solid var(--ink);background:#e4ddff;border-radius:999px;flex:none;width:80px;height:12px;overflow:hidden}.grow-meter span{background:#4caf6a;height:100%;transition:width 1s linear;display:block}.anim-splash{animation:.3s ease-in-out 2 wiggle}@media (width<=1180px) and (height>=541px){.room-btn:not(.is-on) .room-label{display:none}.room-btn{padding:2px 8px}}
