@font-face{font-family:Bricolage;src:url(/games/assets/bricolage.ttf)format("truetype");font-weight:200 800;font-display:swap}:root{--background:#14191e;--foreground:#f2f3e9;--card:#1b2228;--card-foreground:#f2f3e9;--popover:#1b2228;--popover-foreground:#f2f3e9;--primary:#d6ff3c;--primary-foreground:#14191e;--secondary:#303941;--secondary-foreground:#f2f3e9;--muted:#303941;--muted-foreground:#c7cec7;--accent:#d6ff3c;--accent-foreground:#14191e;--border:#445058;--input:#303941;--ring:#d6ff3c;--radius:.85rem;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:Bricolage,Arial,sans-serif}body{color:#f2f3e9;background:#14191e;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,[role=slider]:focus-visible{outline-offset:3px;outline:3px solid #d6ff3c}::selection{color:#14191e;background:#d6ff3c}.app-shell{color:#14191e;background:#fff9e9;width:100%;max-width:none;height:100dvh;margin:0;padding:0;position:fixed;inset:0;overflow:hidden}.app-header,.studio-heading,.magic-bar,.recognition,.app-shell>footer{display:none!important}.workspace{width:auto;min-height:0;margin:0;padding:0;position:absolute;inset:0;display:block!important}.studio{width:auto;height:auto;min-height:0;display:block;position:absolute;inset:0}.canvas-space{inset:0 0 calc(72px + env(safe-area-inset-bottom)) 0;width:auto;height:auto;min-height:0;margin:0;padding:0;display:block;position:absolute}.canvas-frame{box-shadow:none;background:#fff9e9;border:0;border-radius:0;margin:0;position:absolute;inset:0;aspect-ratio:auto!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important}.canvas-frame canvas{object-fit:cover;object-position:center;width:100%;height:100%;inset:0}.scene-image{object-fit:cover;width:100%;height:100%;inset:0}.mobile-dock{z-index:70;width:100%;height:calc(72px + env(safe-area-inset-bottom));padding:5px max(4px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));-webkit-backdrop-filter:blur(18px)saturate(1.15);background:#14191edb;border:0;border-top:1px solid #ffffff38;border-radius:0;grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch;position:fixed;inset:auto 0 0;box-shadow:0 -5px 22px #14191e25;display:grid!important}.mobile-dock button{color:#e4e9e2;letter-spacing:0;background:0 0;border:0;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:100%;min-width:0;height:100%;min-height:0;margin:0;padding:4px 0;font-size:11px;font-weight:700;line-height:1.1;display:flex}.mobile-dock button svg{stroke-width:2px;width:23px;height:23px}.mobile-dock button.selected{color:#d6ff3c;background:#ffffff1d}.mobile-dock button.dock-play{color:#14191e;box-shadow:none;background:#d6ff3c}.mobile-dock button.dock-play.is-playing{background:#f2f3e9}.mobile-dock button.dock-play svg{fill:currentColor;stroke-width:2px}.mobile-backdrop{z-index:40;background:#10151bb3;display:block;position:fixed;inset:0}.mobile-sheet{display:none!important}.mobile-sheet.mobile-open{z-index:50;left:0;right:0;bottom:calc(72px + env(safe-area-inset-bottom));width:100%;max-width:none;max-height:min(72dvh,calc(100dvh - 72px - env(safe-area-inset-bottom)));overscroll-behavior:contain;color:#f2f3e9;background:#1b2228;border:1px solid #45505a;border-bottom:0;border-radius:20px 20px 0 0;height:auto;margin:0;padding:16px 16px 18px;position:fixed;top:auto;overflow-y:auto;box-shadow:0 -12px 34px #10151b50;display:block!important}.mobile-sheet-heading{justify-content:space-between;align-items:center;min-height:44px;margin:0 0 14px;display:flex}.mobile-sheet-heading strong{color:#f2f3e9;letter-spacing:-.02em;font-size:20px;font-weight:800}.mobile-sheet-heading button{color:#f2f3e9;background:#303941;border:1px solid #445058;border-radius:10px;place-items:center;width:44px;height:44px;display:grid}.mobile-sheet-heading button svg{width:19px;height:19px}.tools-panel.mobile-open{grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;gap:8px;display:grid!important}.tools-panel .mobile-sheet-heading{grid-column:1/-1}.tools-panel>.eyebrow,.tools-panel>hr{display:none}.tools-panel .tool{color:#f2f3e9;background:#303941;border:1px solid #445058;border-radius:10px;justify-content:center;align-items:center;gap:4px;width:100%;min-height:66px;margin:0;padding:8px 2px;font-size:12px;display:flex}.tools-panel .tool.active,.tools-panel .tool[aria-pressed=true]{color:#14191e;background:#d6ff3c;border-color:#d6ff3c}.tools-panel .tool svg{width:21px;height:21px}.tools-panel .palette{flex-wrap:wrap;grid-column:1/-1;justify-content:space-between;gap:10px;margin:7px 0 0;padding:0;display:flex}.tools-panel .palette button{width:37px;min-width:37px;height:37px;min-height:37px;box-shadow:none;border:2px solid #f2f3e970}.tools-panel .palette button.selected{outline-offset:3px;outline:3px solid #d6ff3c}.tools-panel .brush-size{color:#f2f3e9;flex-direction:row;grid-column:1/-1;align-items:center;gap:14px;width:100%;max-width:none;height:48px;margin:0;padding:0 4px;display:flex}.tools-panel .brush-size>span:first-child{color:#f2f3e9;font-size:14px}.tools-panel .brush-size [data-slot=slider]{flex:1}.mobile-history{grid-column:1/-1;gap:8px;display:flex}.mobile-history button{color:#f2f3e9;background:#303941;border:1px solid #445058;border-radius:10px;flex:1;justify-content:center;align-items:center;gap:6px;min-height:44px;font-size:14px;font-weight:700;display:flex}.sticker-submenu{border-top:1px solid #445058;grid-column:1/-1;padding-top:8px}.sticker-submenu>strong{color:#f2f3e9;margin-bottom:9px;font-size:15px;display:block}.sticker-submenu .sticker-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:0;display:grid}.sticker-submenu .sticker-grid button{background:#303941;border:1px solid #445058;border-radius:10px;min-height:47px;padding:5px;font-size:26px}.character-strip.mobile-open{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid!important}.character-strip .mobile-sheet-heading{grid-column:1/-1}.character-strip button{color:#f2f3e9;background:#303941;border:1px solid #445058;border-radius:10px;justify-content:center;align-items:center;min-height:48px;margin:0;padding:9px;font-size:14px;display:flex}.character-strip button.selected{color:#14191e;background:#d6ff3c;border-color:#d6ff3c}.character-strip .add-character{border-style:dashed}.character-strip .tiny-play{color:inherit}.world-panel>.panel-title,.world-panel>p,.world-panel .tip{display:none}.world-panel .world-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.world-panel .world-card{color:#14191e;background:#303941;border:2px solid #445058;border-radius:10px;width:100%;height:112px;margin:0}.world-panel .world-card.selected{border-color:#d6ff3c;box-shadow:0 0 0 1px #d6ff3c}.world-panel .world-card strong{font-size:13px;font-weight:800}.world-panel .world-check{color:#14191e;background:#d6ff3c;border-color:#14191e}.world-panel .blank-card{background:#fff9e9}.world-panel .blank-world{color:#14191e}.world-panel .world-play,.world-panel .pause-all{color:#f2f3e9;background:#303941;border:1px solid #445058;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;margin:12px 0 0;padding:10px;font-size:14px;font-weight:700;display:flex}.world-panel .world-play.active{color:#14191e;background:#d6ff3c;border-color:#d6ff3c}.motion-controls.mobile-open{margin:0}.motion-controls .motion-header{justify-content:space-between;align-items:center;margin:0 0 9px;display:flex}.motion-controls .motion-header>span{color:#f2f3e9;letter-spacing:0;text-transform:none;font-size:15px;font-weight:700}.motion-controls .mini-play{color:#f2f3e9;background:#303941;border:1px solid #445058;border-radius:10px;place-items:center;width:44px;height:44px;padding:0;display:grid}.motion-controls .motion-target{gap:8px;margin:0 0 12px;display:flex}.motion-controls .motion-target button{color:#f2f3e9;background:#303941;border:1px solid #445058;border-radius:10px;flex:1;min-height:44px;font-size:14px;font-weight:700}.motion-controls .motion-target button.selected{color:#14191e;background:#d6ff3c;border-color:#d6ff3c}.motion-controls .motion-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.motion-controls .motion-options button{color:#f2f3e9;background:#303941;border:1px solid #445058;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;min-height:57px;padding:6px;font-size:13px;display:flex}.motion-controls .motion-options button.selected{color:#14191e;box-shadow:none;background:#d6ff3c;border-color:#d6ff3c}.motion-controls .motion-options button>span{font-size:20px}.motion-controls .stick-walk{color:#f2f3e9;text-align:left;background:#303941;border:1px solid #445058;border-radius:10px;align-items:center;gap:9px;width:100%;min-height:55px;margin:10px 0;padding:9px;display:flex}.motion-controls .stick-walk svg{color:#d6ff3c;width:23px;height:23px}.motion-controls .stick-walk strong{font-size:14px}.motion-controls .stick-walk small{color:#c7cec7;font-size:12px}.motion-controls .link-control{align-items:center;gap:8px;margin:0;display:flex}.motion-controls .link-control>button{color:#f2f3e9;background:#303941;border:1px solid #445058;border-radius:10px;min-height:44px;padding:8px 12px;font-size:13px;font-weight:700}.motion-controls .link-control>button.selected{color:#14191e;background:#d6ff3c;border-color:#d6ff3c}.motion-controls .link-control>span{color:#c7cec7;font-size:12px}.linked-sequence{color:#f2f3e9}.linked-sequence span,.linked-sequence>button{color:#f2f3e9;background:#303941}.linked-sequence>button.sequence-play{color:#14191e;background:#d6ff3c}.motion-controls .puppet-controls{border-top:1px solid #445058;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;padding-top:12px;display:flex}.motion-controls .speed-control{color:#c7cec7;flex:1;align-items:center;gap:10px;max-width:none;font-size:12px;display:flex}.motion-controls .direction-pad{gap:5px;display:flex}.motion-controls .direction-pad button{color:#f2f3e9;background:#303941;border:1px solid #445058;border-radius:9px;place-items:center;min-width:44px;min-height:44px;padding:8px;display:grid}.mobile-more.mobile-open>button,.mobile-more.mobile-open>a{color:#f2f3e9;text-align:left;background:0 0;border:0;border-bottom:1px solid #445058;border-radius:0;align-items:center;gap:13px;width:100%;min-height:53px;padding:10px 8px;font-size:15px;font-weight:700;display:flex}.mobile-more.mobile-open>button svg,.mobile-more.mobile-open>a svg{color:#d6ff3c;width:21px;height:21px}.mobile-more.mobile-open>button:nth-of-type(4){color:#ffd0d0}.toast{z-index:80;left:50%;bottom:calc(85px + env(safe-area-inset-bottom));color:#f2f3e9;text-align:center;background:#14191eea;border:1px solid #50606b;border-radius:10px;max-width:min(90vw,480px);padding:11px 15px;font-size:14px;box-shadow:0 6px 22px #14191e50}.planet-dialog{border:1px solid #445058;max-width:min(540px,100vw - 24px);max-height:85dvh;overflow:auto;box-shadow:0 18px 50px #090c10a8;color:#f2f3e9!important;background:#1b2228!important;border-radius:14px!important;padding:22px!important}.planet-dialog [data-slot=dialog-title]{color:#f2f3e9;font-size:22px;font-weight:800}.planet-dialog [data-slot=dialog-description],.planet-dialog p,.planet-dialog small{color:#c7cec7}.planet-dialog strong,.planet-dialog label,.planet-dialog .connection-note strong{color:#f2f3e9}.planet-dialog input{color:#f2f3e9;background:#303941;border:1px solid #445058;border-radius:9px;min-height:44px;font-size:16px}.planet-dialog .voice-button,.planet-dialog .friend-actions button,.planet-dialog .suggestion-row button,.planet-dialog .listen-button{color:#f2f3e9;min-height:44px;box-shadow:none;background:#303941;border:1px solid #445058;border-radius:9px}.planet-dialog .magic-button,.planet-dialog .prompt-row button{color:#14191e;min-height:44px;box-shadow:none;background:#d6ff3c;border:1px solid #d6ff3c;border-radius:9px}.planet-dialog .export-options button,.planet-dialog .project-grid article{color:#f2f3e9;box-shadow:none;background:#303941;border:1px solid #445058;border-radius:10px}.planet-dialog .export-options button strong,.planet-dialog .project-grid article strong{color:#f2f3e9}.planet-dialog .export-ready,.planet-dialog .connection-note,.planet-dialog .setting-row{color:#f2f3e9;border-color:#445058}.planet-dialog .credits-link{color:#d6ff3c}.planet-dialog .file-ready{color:#f2f3e9;background:#303941}.planet-dialog .project-grid article.current{border-color:#d6ff3c}.planet-dialog [data-slot=switch][data-checked]{background:#d6ff3c}@media (orientation:landscape) and (width>=600px){.canvas-space{inset:0 76px 0 0}.mobile-dock{width:76px;height:100dvh;padding:max(5px,env(safe-area-inset-top)) 5px max(5px,env(safe-area-inset-bottom));border-top:0;border-left:1px solid #ffffff38;flex-direction:column;inset:0 0 0 auto;box-shadow:-5px 0 22px #14191e25;display:flex!important}.mobile-dock button{flex:1;min-height:0;font-size:11px}.mobile-sheet.mobile-open{border:1px solid #445058;border-right:0;border-radius:16px 0 0 16px;width:min(410px,100vw - 76px);max-width:none;height:100dvh;max-height:100dvh;inset:0 76px 0 auto}.toast{bottom:16px;left:auto;right:90px;transform:none}.toast.show{transform:none}}@media (width<=359px) and (orientation:portrait){.mobile-dock button{font-size:10px}.mobile-dock button svg{width:21px;height:21px}.tools-panel .palette button{width:31px;min-width:31px;height:31px;min-height:31px}}@media (prefers-reduced-motion:reduce){.mobile-dock button,.mobile-sheet,.toast{transition:none}}
