@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./dm-sans-latin-ext-wght-normal-BOFOeGcA.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./dm-sans-latin-wght-normal-Xz1IZZA0.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.static{position:static}.block{display:block}.grid{display:grid}.hidden{display:none}.inline{display:inline}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{color-scheme:light;--paper:#f9f8f5;--surface:#fff;--surface-secondary:#f4f1fa;--ink:#242035;--muted:#665e74;--line:#e5e1ea;--purple:#6643b0;--purple-strong:#57409a;--purple-light:#e9e0fb;--lime:#e5fa96;--lime-hover:#d8f56f;--button-ink:#27213a;--peach:#ffe2cc;--shadow:0 12px 30px #31254c0c;--radius:13px;background:var(--paper);color:var(--ink);font-synthesis:none;font-family:DM Sans Variable,DM Sans,system-ui,sans-serif}:root[data-theme=dark]{color-scheme:dark;--paper:#211c2e;--surface:#292238;--surface-secondary:#332944;--ink:#f6effe;--muted:#c7bbd5;--line:#473952;--purple:#c4a7ff;--purple-strong:#cbb5ff;--purple-light:#493563;--shadow:0 12px 30px #110b1d40}body{min-width:300px;margin:0;line-height:1.55}button,select,a{-webkit-tap-highlight-color:transparent}button,select{cursor:pointer}button:disabled{opacity:.53;cursor:not-allowed}a{text-decoration:none}button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--purple);outline-offset:3px}h1,h2,h3,h4,p{margin:0}.wrap{width:min(1224px,100% - 96px);margin-inline:auto}.skip-link{z-index:40;color:var(--surface);background:var(--ink);border-radius:7px;padding:.55rem .8rem;position:fixed;top:.4rem;left:.5rem;transform:translateY(-140%)}.skip-link:focus{transform:none}.site-header{background:var(--paper);border-bottom:1px solid var(--line)}.site-header-inner{grid-template-columns:1fr auto 1fr;align-items:center;gap:1.6rem;width:min(1328px,100% - 96px);height:73px;margin-inline:auto;display:grid}.wordmark{letter-spacing:-.079em;white-space:nowrap;color:var(--ink);justify-self:start;align-items:center;gap:.62rem;font-size:1.49rem;font-weight:880;line-height:1;display:inline-flex}.wordmark img{border-radius:9px;flex:none}.wordmark-dot{color:var(--purple)}.site-links,.site-actions,.site-footer nav{align-items:center;display:flex}.site-links{gap:clamp(1.35rem,2.75vw,2.8rem)}.site-links a,.site-footer nav a{color:var(--muted);white-space:nowrap;font-size:.88rem;font-weight:680}.site-links a:hover,.site-footer nav a:hover{color:var(--purple)}.site-actions{justify-self:end;gap:.67rem}.locale-toggle,.layout-select{color:var(--ink);align-items:center;gap:.28rem;font-weight:760;display:flex}.locale-toggle select,.layout-select select{appearance:none;background:0 0;border:0;padding:.4rem 0;font-size:.81rem}.locale-toggle svg:last-child,.layout-select svg:last-child{pointer-events:none}.button,.icon-button,.subtle-button{justify-content:center;align-items:center;gap:.55rem;font-weight:760;line-height:1.2;display:inline-flex}.button{white-space:nowrap;border:1px solid #0000;border-radius:9px;min-height:46px;padding:.69rem .98rem;font-size:.91rem;transition:background-color .15s,box-shadow .15s,transform .15s}.button:hover{transform:translateY(-1px)}.header-cta{color:var(--surface);background:var(--ink);min-height:37px;padding:.49rem .72rem;font-size:.82rem}.button-primary{color:var(--button-ink);background:var(--lime);border-color:#c7db7f}.button-primary:hover{background:var(--lime-hover);box-shadow:0 4px 13px #6f881722}.button-outline{background:var(--surface);border-color:var(--line);color:var(--ink)}.button-outline:hover{background:var(--surface-secondary)}.button-danger{color:#fff;background:#9c3051}.button-small{min-height:36px;padding:.42rem .65rem;font-size:.83rem;line-height:1.2}.icon-button{width:34px;height:34px;color:inherit;border:1px solid #0000;border-radius:8px;flex:none}.icon-button:hover:not(:disabled),.icon-button[aria-pressed=true]{background:var(--purple-light);color:var(--purple-strong)}.subtle-button{border:1px solid var(--line);background:var(--surface);border-radius:7px;min-height:31px;padding:.4rem .57rem;font-size:.79rem}.subtle-button:hover:not(:disabled),.subtle-button[aria-pressed=true]{color:var(--purple-strong);background:var(--surface-secondary)}.hero{grid-template-columns:minmax(0,.89fr) minmax(0,1.28fr);align-items:center;gap:clamp(1.55rem,5.2vw,4.65rem);padding-block:62px 69px;display:grid}.hero-copy{padding:1rem 0 1.3rem}.hero h1{letter-spacing:-.08em;margin-block:1.07rem .96rem;font-size:clamp(3.55rem,5.75vw,5.45rem);font-weight:900;line-height:.99}.hero-copy>p{color:var(--muted);max-width:390px;font-size:clamp(1.03rem,1.33vw,1.18rem);line-height:1.59}.hero-actions{flex-wrap:wrap;align-items:center;gap:.62rem;margin-top:1.54rem;display:flex}.hero-actions .button{padding-inline:.88rem}.hero-note{color:var(--muted);align-items:center;gap:.43rem;margin-top:1rem;font-size:.84rem;font-weight:560;display:flex}.hero-note svg{color:var(--purple);flex:none}.demo-frame{border:1px solid var(--line);background:var(--surface);border-radius:15px;min-width:0;padding:.5rem;box-shadow:0 14px 37px #33294f19}.demo-head,.demo-foot{justify-content:space-between;align-items:center;gap:.5rem;padding-inline:.36rem;display:flex}.demo-head{height:37px;padding-bottom:.45rem}.demo-head>div,.demo-foot label{align-items:center;gap:.45rem;display:inline-flex}.demo-head strong{white-space:nowrap;font-size:.81rem;font-weight:820}.live-indicator,.save-dot{background:#70a451;border-radius:50%;flex:none;width:.47rem;height:.47rem}.live-indicator{margin-inline:.15rem .1rem;box-shadow:0 0 0 3px #7baf5340}.demo-scene-name{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;font-weight:690;overflow:hidden}.demo-play,.demo-open{white-space:nowrap;border-radius:6px;align-items:center;gap:.32rem;padding:.32rem .48rem;font-size:.74rem;font-weight:790;line-height:1.15;display:inline-flex}.demo-play{background:var(--purple-light);color:var(--purple-strong)}.demo-play:hover,.demo-open:hover{outline:1px solid var(--purple)}.demo-open{color:var(--purple-strong)}.demo-stage{isolation:isolate;background:radial-gradient(at 48% 53%,#eee6ff,#e7dcfc 59%,#dcd0f4);border-radius:8px;height:clamp(320px,29vw,418px);position:relative;overflow:hidden}.demo-stage:before{content:"";z-index:-1;background-image:radial-gradient(#8571b26b .75px,#0000 .75px);background-size:18px 18px;position:absolute;inset:0;-webkit-mask-image:radial-gradient(#0000 23%,#000 95%);mask-image:radial-gradient(#0000 23%,#000 95%)}.demo-stage.style-voxel{background:radial-gradient(at 48% 53%,#eef8ff,#cddff7)}.demo-stage.style-toon{background:radial-gradient(at 48% 53%,#fff3ea,#f9d8ed)}.demo-stage.style-realistic{background:radial-gradient(at 48% 53%,#e3e3ef,#bcc6d6)}.demo-stage.style-retro{background:radial-gradient(at 48% 53%,#efc2eb,#cb95d2)}.demo-stage.style-minimal{background:radial-gradient(at 48% 53%,#eef3f3,#d5e0e4)}.demo-stage .viewport-showcase canvas{animation:.43s ease-out both settle-in}@keyframes settle-in{0%{opacity:.3}to{opacity:1}}.demo-tools,.demo-orbit{z-index:1;color:#382954;background:#fffcff;border:1px solid #e4daf0;border-radius:9px;gap:.12rem;padding:.22rem;display:flex;position:absolute;box-shadow:0 4px 9px #4c32771e}.demo-tools{flex-direction:column;top:.7rem;left:.7rem}.demo-orbit{bottom:.64rem;right:.65rem}.demo-tools .icon-button,.demo-orbit .icon-button{border-radius:5px;width:29px;height:29px}.demo-tools .icon-button:hover,.demo-tools .icon-button[aria-pressed=true],.demo-orbit .icon-button:hover{color:#593aa0;background:#ede4fc}.demo-foot{height:40px;color:var(--muted);padding-top:.43rem}.demo-foot label{border:1px solid var(--line);color:var(--ink);border-radius:6px;padding:0 .33rem;font-size:.75rem;font-weight:710;position:relative}.demo-foot label>svg:first-child{color:var(--purple)}.demo-foot label>svg:last-child{pointer-events:none;position:absolute;right:.28rem}.demo-foot label select{appearance:none;background:0 0;padding:.24rem 1.04rem .24rem .06rem}.demo-foot label>span{display:none}.demo-help{align-items:center;gap:.3rem;font-size:.72rem;font-weight:650;display:inline-flex}.features{background:var(--surface);border-block:1px solid var(--line);padding-block:41px 49px}.section-heading{margin-bottom:1.35rem}.section-heading h2,.last-call h2{letter-spacing:-.061em;font-size:clamp(2.2rem,3.6vw,3.25rem);font-weight:890;line-height:1.04}.section-heading p,.template-section>p{color:var(--muted);margin-top:.55rem}.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.feature-grid article{border:1px solid var(--line);background:var(--paper);border-radius:12px;grid-template-columns:auto 1fr;align-content:start;column-gap:.84rem;padding:.95rem;display:grid}.feature-icon{color:#38304c;border-radius:9px;grid-row:span 2;place-items:center;width:44px;height:44px;display:inline-grid}.feature-lime{background:#e8f7b5}.feature-lilac{background:#e9ddfa}.feature-peach{background:#ffe1cb}.feature-grid h3{letter-spacing:-.027em;font-size:1.12rem;font-weight:825}.feature-grid p{color:var(--muted);max-width:30ch;margin-top:.2rem;font-size:.87rem;line-height:1.46}.worlds-section{padding-block:54px 58px}.section-heading-row{justify-content:space-between;align-items:end;gap:.8rem;display:flex}.showcase-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.showcase-card{background:var(--surface);border:1px solid var(--line);border-radius:13px;overflow:hidden}.showcase-image{place-items:center;height:clamp(145px,17vw,221px);display:grid;overflow:hidden}.showcase-image img,.template-art img,.project-art img{object-fit:contain;width:100%;height:100%;display:block}.showcase-copy{justify-content:space-between;align-items:end;gap:.45rem;padding:.86rem .9rem 1rem;display:flex}.showcase-copy small,.template-tile>small{color:var(--purple-strong);font-size:.73rem;font-weight:820}.showcase-copy h3{letter-spacing:-.03em;font-size:1.25rem;font-weight:850}.showcase-copy p{color:var(--muted);font-size:.84rem;line-height:1.38}.showcase-copy .icon-button{background:var(--surface-secondary);color:var(--purple-strong)}.last-call{color:#fcf9ff;background:#302445;border-radius:13px;justify-content:space-between;align-items:center;gap:1rem;padding:1.45rem 1.6rem;display:flex}.last-call>div{align-items:center;gap:.78rem;display:flex}.last-call>div>svg{color:#e5fa96;flex:none}.last-call h2{font-size:clamp(1.8rem,3.2vw,2.75rem)}.site-footer{justify-content:space-between;align-items:center;gap:.75rem;padding-block:1.75rem;display:flex}.site-footer nav{gap:1rem}.site-footer nav a{align-items:center;gap:.2rem;display:inline-flex}.dashboard{padding-block:1.6rem 3.4rem}.breadcrumbs{color:var(--muted);align-items:center;gap:.36rem;margin-bottom:.95rem;font-size:.84rem;display:flex}.breadcrumbs a{color:var(--purple-strong)}.dashboard-head,.project-section-head{justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.45rem;display:flex}.dashboard-head h1{letter-spacing:-.078em;font-size:clamp(2.65rem,5.4vw,4rem);font-weight:900;line-height:1.02}.dashboard-head p{color:var(--muted);align-items:center;gap:.46rem;margin-top:.6rem;display:flex}.dashboard-actions,.project-filters{flex-wrap:wrap;gap:.55rem;display:flex}.dashboard-empty{background:var(--surface-secondary);border:1px dashed var(--line);color:var(--purple-strong);border-radius:11px;align-items:center;gap:.85rem;margin-bottom:1.7rem;padding:1.18rem;display:flex}.dashboard-empty strong{color:var(--ink);font-weight:850}.dashboard-empty p{color:var(--muted);font-size:.87rem}.project-section{margin-bottom:2.2rem}.project-section-head{align-items:center;margin-bottom:.7rem}.project-section h2,.template-section h2{letter-spacing:-.043em;font-size:1.6rem;font-weight:850}.project-filters select,.viewport-foot select,.search-field{background:var(--surface);border:1px solid var(--line);border-radius:7px;min-height:34px;padding:.3rem .44rem;font-size:.81rem}.search-field{color:var(--muted);align-items:center;gap:.4rem;display:flex}.search-field input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;padding:.05rem .08rem}.project-grid,.template-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,225px),1fr));gap:.9rem;display:grid}.project-card,.template-tile{border:1px solid var(--line);background:var(--surface);min-width:0;box-shadow:var(--shadow);border-radius:10px;overflow:hidden}.project-card:hover,.template-tile:hover{border-color:var(--purple)}.project-link{display:block}.project-art,.template-art{place-items:center;height:135px;display:grid;overflow:hidden}.project-link h3{overflow-wrap:anywhere;padding:.61rem .73rem .08rem;font-size:1.12rem;font-weight:840}.project-meta,.project-card-tools{justify-content:space-between;align-items:center;gap:.18rem;padding-inline:.7rem;display:flex}.project-meta{color:var(--muted);padding-bottom:.58rem;font-size:.76rem}.project-meta span{overflow-wrap:anywhere;align-items:center;gap:.2rem;min-width:0;display:inline-flex}.project-meta time{white-space:nowrap}.project-card-tools{border-top:1px solid var(--line);justify-content:end;padding-block:.12rem}.project-card-tools .icon-button{width:29px;height:29px}.template-grid{margin-top:.9rem}.template-tile{text-align:left;padding:0 0 .69rem}.template-tile>:not(.template-art){margin-inline:.71rem;display:block}.template-tile small{margin-top:.55rem}.template-tile strong{font-size:1.08rem;font-weight:825}.template-tile span{color:var(--muted);font-size:.83rem;line-height:1.36}.empty-line,.route-error,.loading-state{color:var(--muted);padding:1.25rem 0}.inline-error{color:#b13a57;margin:.7rem 0}.route-error .button{margin-top:.7rem}.loading-state{justify-content:center;align-items:center;gap:.55rem;min-height:35vh;font-weight:730;display:flex}.toast{z-index:30;color:#fff6ff;background:#342749;border-radius:9px;align-items:center;gap:.6rem;max-width:min(410px,100% - 2rem);padding:.58rem .5rem .58rem .75rem;font-size:.86rem;display:flex;position:fixed;bottom:1rem;right:1rem;box-shadow:0 9px 25px #18092b38}.toast>svg{color:#e5fa96;flex:none}.toast>span{overflow-wrap:anywhere}.dialog{width:min(451px,100% - 1.35rem);max-height:min(90dvh,850px);color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:14px;margin:auto;padding:0;box-shadow:0 19px 55px #21182c68}.dialog-wide{width:min(1110px,100% - 1.35rem)}.dialog::backdrop{background:#1f172a80}.dialog-inner{padding:.86rem 1rem 1rem}.dialog-inner>header{justify-content:space-between;align-items:center;gap:.5rem;padding-bottom:.55rem;display:flex}.dialog-inner h2{letter-spacing:-.035em;font-size:1.3rem;font-weight:870}.dialog-inner>p{color:var(--muted);font-size:.94rem}.dialog-actions{flex-wrap:wrap;justify-content:end;gap:.5rem;margin-top:.85rem;display:flex}.form-stack{align-content:start;gap:.73rem;display:grid}.form-stack.compact{gap:.52rem}.form-stack>label:not(.field-checkbox),.field{align-content:start;gap:.18rem;min-width:0;font-size:.81rem;font-weight:720;display:grid}.field>span{color:var(--muted);line-height:1.28}.form-stack input:not([type=checkbox]),.form-stack select,.form-stack textarea,.field input:not([type=checkbox]),.field select,.field textarea{border:1px solid var(--line);width:100%;min-width:0;color:var(--ink);background:var(--paper);border-radius:6px;padding:.38rem .45rem;font-size:.83rem}.form-stack input[type=color]{cursor:pointer;height:31px;padding:.14rem .22rem}.form-stack textarea,.field textarea{resize:vertical}.field-note{color:var(--muted);overflow-wrap:anywhere;font-size:.76rem;line-height:1.4}.field-note code{-webkit-user-select:all;user-select:all}.field-checkbox{align-items:center;gap:.4rem;margin-block:.14rem;font-size:.82rem;font-weight:660;display:flex}input[type=checkbox]{accent-color:var(--purple)}.field-pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:.4rem;display:grid}.vector-fields{border:0;min-width:0;padding:0}.vector-fields legend{margin-bottom:.16rem;font-size:.8rem;font-weight:770}.vector-fields>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem;display:grid}.sub-panel{border:1px solid var(--line);border-radius:7px;gap:.37rem;min-width:0;margin-top:.38rem;padding:.4rem;display:grid}.sub-panel legend{padding-inline:.24rem;font-size:.8rem;font-weight:720}.list-edit{justify-content:space-between;align-items:end;gap:.25rem;margin-top:.28rem;display:flex}.list-edit>:first-child{flex:1;min-width:0}.export-stack>p{color:var(--muted);font-size:.88rem}.export-stack .export-warning{border:1px solid var(--line);border-radius:7px;gap:.45rem;padding:.45rem;display:flex}.export-warning svg{color:var(--purple);flex:none}.studio{background:var(--paper);color:var(--ink);flex-direction:column;height:100dvh;min-height:100dvh;display:flex}.studio-top{background:var(--surface);border-bottom:1px solid var(--line);z-index:3;flex:none;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.55rem;min-height:56px;padding:.35rem .7rem;display:grid}.studio-project,.studio-top-actions,.studio-modes{align-items:center;gap:.48rem;display:flex}.studio-project>div{min-width:0}.studio-project strong,.studio-project small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.studio-project strong{font-size:.9rem;font-weight:850;line-height:1.24}.studio-project small{color:var(--muted);margin-top:.16rem;font-size:.7rem;line-height:1.2}.save-dot{width:.39rem;height:.39rem;margin-right:.22rem;display:inline-block}.save-dot.error{background:#ca5576}.studio-back{color:var(--muted);border-radius:6px;padding:.27rem}.studio-back:hover{color:var(--purple-strong);background:var(--surface-secondary)}.studio-modes{background:var(--paper);border:1px solid var(--line);border-radius:8px;gap:.16rem;padding:.18rem}.studio-modes button{min-width:65px;color:var(--muted);border-radius:5px;justify-content:center;align-items:center;gap:.33rem;padding:.35rem .41rem;font-size:.8rem;font-weight:760;display:inline-flex}.studio-modes button:hover,.studio-modes button[aria-pressed=true]{color:var(--purple-strong);background:var(--purple-light)}.studio-top-actions{justify-self:end}.layout-select{border:1px solid var(--line);border-radius:6px;padding:0 .36rem}.studio-layout{background:var(--line);flex:1;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:46px minmax(166px,17%) minmax(0,1fr) minmax(235px,24%);gap:1px;min-height:0;display:grid}.studio-layout.advanced{grid-template-columns:46px minmax(185px,19%) minmax(0,1fr) minmax(258px,25%)}.studio-rail,.studio-left,.studio-center,.studio-right{background:var(--surface);min-width:0;min-height:0}.studio-rail{flex-direction:column;grid-row:span 2;align-items:center;gap:.25rem;padding:.3rem .22rem;display:flex;overflow-y:auto}.studio-rail hr{border:0;border-top:1px solid var(--line);width:75%;margin:.14rem 0}.studio-rail .icon-button{width:35px;height:35px}.studio-left,.studio-center,.studio-right{flex-direction:column;display:flex}.studio-panel-header,.viewport-head,.viewport-foot{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:.22rem;min-height:38px;padding:.2rem .5rem;display:flex}.studio-panel-header>button:not(.icon-button),.studio-panel-header>span,.viewport-head>div,.viewport-foot>div{white-space:nowrap;align-items:center;gap:.34rem;min-width:0;font-size:.79rem;font-weight:770;display:inline-flex}.studio-panel-header>button:not(.icon-button){color:var(--muted);border-radius:5px;min-height:27px;padding:.21rem .29rem}.studio-panel-header>button[aria-pressed=true],.studio-panel-header>button:not(.icon-button):hover{color:var(--purple-strong);background:var(--surface-secondary)}.studio-panel-header>.icon-button{display:none}.hierarchy,.asset-browser,.inspector-body{flex:1;min-height:0;padding:.51rem;overflow:auto}.hierarchy .search-field{margin-bottom:.47rem}.hierarchy ul{margin:0;padding-left:.64rem;list-style:none}.hierarchy li button,.world-row{text-align:left;width:100%;color:var(--muted);border-radius:5px;align-items:center;gap:.36rem;padding:.29rem .32rem;font-size:.8rem;font-weight:670;display:flex}.hierarchy li button:hover,.hierarchy li button[aria-pressed=true],.world-row:hover{background:var(--surface-secondary);color:var(--purple-strong)}.hierarchy li button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.hierarchy li svg,.world-row svg{flex:none}.world-row{color:var(--ink);font-weight:825}.world-row small{color:var(--muted);margin-left:auto}.asset-browser h4,.inspector-fields h4{margin-top:.38rem;font-size:.8rem;font-weight:850}.asset-actions{flex-wrap:wrap;gap:.28rem;margin-bottom:.35rem;display:flex}.asset-line{border:1px solid var(--line);text-align:left;border-radius:6px;align-items:center;gap:.37rem;width:100%;margin-block:.18rem;padding:.38rem;font-size:.8rem;display:flex}.asset-line:hover:not(:disabled){background:var(--surface-secondary)}.asset-line span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.asset-line svg{color:var(--purple);flex:none}.kit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem;margin-top:.35rem;display:grid}.kit-item{border:1px solid var(--line);color:var(--muted);overflow-wrap:anywhere;border-radius:6px;flex-direction:column;align-items:center;gap:.2rem;padding:.33rem .15rem;font-size:.76rem;display:flex}.kit-item svg{color:var(--purple)}.kit-item:hover,.kit-item[aria-pressed=true]{background:var(--surface-secondary);color:var(--ink)}.viewport-head strong{font-weight:850}.viewport-head>div>span{color:var(--muted);text-overflow:ellipsis;max-width:110px;font-size:.73rem;overflow:hidden}.viewport-head .icon-button{width:28px;height:28px}.studio-stage{background:#e8def7;flex:1;min-height:0;position:relative;overflow:hidden}.viewport-hint{text-align:center;color:#fff;pointer-events:none;background:#322545e8;border-radius:6px;width:max-content;max-width:91%;padding:.26rem .5rem;font-size:.73rem;position:absolute;bottom:.55rem;left:50%;transform:translate(-50%)}.viewport-foot{border:0;border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;font-size:.77rem}.viewport-foot label{align-items:center;gap:.25rem;display:inline-flex}.viewport-foot select{min-height:26px;padding:.13rem .25rem}.inspector-tabs{border-bottom:1px solid var(--line);grid-template-columns:repeat(5,minmax(0,1fr));gap:.15rem;padding:.25rem;display:grid}.inspector-tabs button{color:var(--muted);border-radius:5px;flex-direction:column;justify-content:center;align-items:center;gap:.11rem;padding:.22rem .08rem;display:flex;overflow:hidden}.inspector-tabs button>span{font-size:.63rem;font-weight:710}.inspector-tabs button:hover,.inspector-tabs button[aria-pressed=true]{background:var(--purple-light);color:var(--purple-strong)}.inspector-empty{text-align:center;max-width:190px;color:var(--muted);justify-items:center;gap:.2rem;margin:1.3rem auto;display:grid}.inspector-empty svg{color:var(--purple)}.inspector-empty p{font-size:.82rem}.inspector-title{align-items:center;gap:.27rem;display:flex}.inspector-title span{flex:1;font-size:.85rem;font-weight:820}.inspector-title .icon-button{width:28px;height:28px}.inspector-fields details{border:1px solid var(--line);border-radius:7px;padding:.38rem}.inspector-fields summary{cursor:pointer;color:var(--ink);font-size:.83rem;font-weight:730}.inspector-fields details[open]>summary{margin-bottom:.35rem}.inspector-fields details>.subtle-button{margin-top:.38rem}.studio-guide{background:var(--surface);color:var(--muted);grid-column:2/-1;align-items:center;gap:.42rem;padding:.28rem .5rem;font-size:.77rem;display:flex}.studio-guide>button:first-of-type{margin-left:auto}.studio-error{background:var(--surface-secondary);color:var(--ink);align-items:center;gap:.34rem;padding:.3rem .6rem;font-size:.81rem;display:flex}.studio-error svg{color:var(--purple);flex:none}.studio-play{flex:1;min-height:0}.rule-step{background:var(--surface-secondary);border-left:3px solid #a582d7;border-radius:5px;align-items:start;gap:.18rem;margin:.35rem 0;padding:.3rem;display:flex}.rule-step.condition{border-color:#c88663}.rule-step.action{border-color:#7fa454}.rule-step .icon-button{width:24px;height:24px}.node-fields{flex:1;gap:.34rem;min-width:0;display:grid}.rule-actions,.graph-tools{flex-wrap:wrap;gap:.26rem;margin-top:.28rem;display:flex}.graph-tools{align-items:center;margin-bottom:.5rem}.graph-tools span{color:var(--muted);font-size:.76rem}.graph-layout{grid-template-columns:minmax(0,1fr) 185px;gap:.52rem;display:grid}.graph-scroll{border:1px solid var(--line);background:var(--paper);border-radius:8px;height:min(460px,55dvh);overflow:auto}.graph-canvas{background-image:radial-gradient(var(--line) 1px,transparent 1px);background-size:13px 13px;position:relative}.graph-lines{fill:none;stroke:#8b69bd;stroke-width:2.1px;pointer-events:none;position:absolute;inset:0}.graph-node{background:var(--surface);border:1px solid var(--line);width:174px;min-height:67px;box-shadow:var(--shadow);text-align:left;touch-action:none;border-top:4px solid #a582d7;border-radius:7px;justify-items:start;padding:.32rem .44rem;font-size:.8rem;display:grid;position:absolute}.graph-node.condition{border-top-color:#c88663}.graph-node.action{border-top-color:#7fa454}.graph-node[aria-pressed=true],.graph-node[data-connecting]{outline:2px solid var(--purple)}.graph-node small,.graph-node span{color:var(--muted);overflow-wrap:anywhere}.graph-inspector{border:1px solid var(--line);border-radius:8px;max-height:min(460px,55dvh);padding:.45rem;overflow:auto}.graph-inspector>.subtle-button{margin-top:.48rem}@media(max-width:1070px){.wrap,.site-header-inner{width:calc(100% - 64px)}.hero{gap:1.6rem;padding-block:50px 55px}.hero h1{font-size:clamp(3.25rem,6.55vw,5rem)}.studio-layout,.studio-layout.advanced{grid-template-columns:42px minmax(145px,17%) minmax(0,1fr) minmax(220px,25%)}}@media(max-width:830px){.wrap,.site-header-inner{width:calc(100% - 42px)}.site-header-inner{height:64px}.site-links{gap:.85rem}.site-links a{font-size:.8rem}.hero{grid-template-columns:1fr;gap:1.2rem;padding-block:35px 42px}.hero-copy{padding:0}.hero h1{font-size:clamp(3.4rem,10.6vw,5.2rem)}.hero-copy>p{max-width:470px}.demo-stage{height:clamp(310px,53vw,428px)}.feature-grid{gap:.65rem}.feature-grid article{padding:.8rem;display:block}.feature-icon{margin-bottom:.43rem}.studio-layout,.studio-layout.advanced{grid-template-columns:42px minmax(0,1fr);position:relative}.studio-left,.studio-right{z-index:2;width:min(285px,100% - 42px);box-shadow:var(--shadow);display:none;position:absolute;top:0;bottom:39px}.studio-layout.advanced .studio-left,.studio-layout.advanced .studio-right{bottom:0}.studio-left{border-right:1px solid var(--line);left:42px}.studio-right{border-left:1px solid var(--line);right:0}.mobile-scene .studio-left,.mobile-inspector .studio-right{display:flex}.studio-panel-header>.icon-button{width:27px;height:27px;display:inline-flex}.studio-panel-header>.icon-button:last-child{margin-left:auto}.studio-guide{grid-column:2/-1}}@media(max-width:595px){.wrap,.site-header-inner{width:calc(100% - 30px)}.site-header-inner{grid-template-columns:1fr auto;gap:.45rem;height:60px}.site-links{display:none}.site-actions{gap:.28rem}.site-actions .icon-button{width:29px}.header-cta{min-height:32px;padding:.35rem .45rem;font-size:.73rem}.header-cta svg,.locale-toggle>svg:first-child{display:none}.wordmark{gap:.38rem;font-size:1.34rem}.wordmark img{width:30px;height:30px}.hero{padding-block:29px 36px}.hero h1{margin-block:.84rem .61rem;font-size:clamp(2.8rem,11.6vw,4.25rem)}.hero-actions{margin-top:.94rem}.hero-actions .button{min-height:40px;padding-inline:.62rem;font-size:.82rem}.hero-note{margin-top:.62rem;font-size:.77rem}.demo-frame{padding:.37rem}.demo-stage{height:clamp(255px,65vw,345px)}.demo-head,.demo-foot{padding-inline:.15rem}.demo-head{height:33px}.demo-head strong,.demo-scene-name{font-size:.68rem}.demo-help{text-align:center;font-size:.61rem;line-height:1.15}.demo-help svg{display:none}.demo-foot select,.demo-open{font-size:.69rem}.demo-orbit{bottom:.4rem;right:.4rem}.demo-tools{top:.4rem;left:.4rem}.demo-tools .icon-button,.demo-orbit .icon-button{width:27px;height:27px}.features,.worlds-section{padding-block:33px}.feature-grid,.showcase-grid{grid-template-columns:1fr}.feature-grid article{display:grid}.feature-icon{margin-bottom:0}.showcase-image{height:180px}.section-heading-row{flex-direction:column;align-items:start}.last-call{flex-wrap:wrap;padding:.95rem}.site-footer,.dashboard-head,.project-section-head{flex-direction:column;align-items:start}.dashboard-actions{gap:.33rem}.dashboard-actions .button{padding-inline:.5rem;font-size:.8rem}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.52rem}.template-art{height:95px}.template-tile>:not(.template-art){margin-inline:.45rem}.studio-top{grid-template-columns:minmax(0,1fr) auto;padding:.32rem}.studio-modes{grid-area:2/span 2;justify-self:center}.studio-project{gap:.24rem}.studio-top-actions{gap:.25rem}.studio-top-actions .icon-button{width:27px}.studio-project>.wordmark{display:none}.studio-guide{flex-wrap:wrap;column-gap:.28rem;font-size:.7rem}.studio-guide .subtle-button{padding-inline:.43rem;font-size:.72rem}.studio-guide>button:first-of-type{margin-left:0}.studio-left,.studio-right{bottom:61px}.graph-layout{grid-template-columns:1fr}.graph-scroll{height:44dvh}.graph-inspector{max-height:none}}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.showcase-image{position:relative}.showcase-preview{color:#332449;background:#fffcf8;border:1px solid #d7c9df;border-radius:6px;align-items:center;gap:.3rem;padding:.29rem .45rem;font-size:.75rem;font-weight:790;display:flex;position:absolute;bottom:.52rem;right:.52rem}.showcase-preview:hover{background:#eee5fa}.sample-game{border-radius:8px;height:min(58dvh,590px);min-height:230px;overflow:hidden}@media(max-width:595px){.site-header-inner{row-gap:.34rem;height:auto;min-height:78px;padding-top:.5rem}.site-links{border-top:1px solid var(--line);grid-area:2/1/auto/-1;padding:.32rem 0 .42rem;display:flex}.site-actions{grid-area:1/2}}.game-preview>header{flex-wrap:wrap}.preview-back{color:#ece1f8;border:1px solid #d6c5f44d;border-radius:6px;align-items:center;gap:.3rem;padding:.28rem .44rem;font-size:.82rem;display:inline-flex}.preview-back:hover{background:#604779}.studio-layout{--scene-width:clamp(164px, 16vw, 218px);--inspector-width:clamp(228px, 23vw, 312px)}.studio-layout.advanced{--scene-width:clamp(186px, 18vw, 260px);--inspector-width:clamp(256px, 25vw, 368px)}.studio-stage .viewport{position:absolute;inset:0}.studio-panel-header{min-height:42px}.hierarchy ul{overscroll-behavior:contain}.hierarchy li button{min-height:34px}.hierarchy li button[aria-pressed=true]{box-shadow:inset 2px 0 var(--purple)}.asset-line[aria-pressed=true]{background:var(--purple-light);color:var(--purple-strong)}.asset-browser .search-field{margin:.45rem 0 .75rem}.viewport-foot{flex-wrap:wrap;min-height:42px;padding-block:.3rem}.viewport-foot .build-options{flex-wrap:wrap}.viewport-foot .build-options select{text-overflow:ellipsis;max-width:135px}.viewport-foot input[type=color]{width:28px;height:28px}.viewport-notice{color:#fff;background:#322545ed;border-radius:7px;padding:.4rem .65rem;font-size:.8rem;position:absolute;top:.65rem;left:.65rem}.studio-error{flex-wrap:wrap}.shortcut-list{gap:.65rem;margin-block:.6rem;display:grid}.shortcut-list div{justify-content:space-between;gap:1rem;font-size:.87rem;display:flex}.shortcut-list dd{text-align:right;margin:0}.shortcut-list kbd{color:var(--purple-strong);background:var(--purple-light);border-radius:5px;padding:.18rem .32rem}.storage-details{max-width:52ch;color:var(--muted);margin-block:1rem;font-size:.86rem}.storage-details summary{color:var(--purple-strong);cursor:pointer;font-weight:720}.storage-details p{margin-block:.45rem}@media(min-width:961px){.studio-layout,.studio-layout.advanced{grid-template-columns:46px var(--scene-width) minmax(0,1fr) var(--inspector-width)}.studio-layout.hide-left{--scene-width:0px}.studio-layout.hide-right{--inspector-width:0px}.hide-left .studio-left,.hide-right .studio-right{visibility:hidden;overflow:hidden}}@media(max-width:960px){.studio-layout,.studio-layout.advanced{grid-template-columns:46px minmax(0,1fr);position:relative}.studio-left,.studio-right{z-index:2;width:min(310px,100% - 46px);box-shadow:var(--shadow);display:none;position:absolute;top:0;bottom:0}.studio-left{border-right:1px solid var(--line);left:46px}.studio-right{border-left:1px solid var(--line);right:0}.mobile-scene .studio-left,.mobile-inspector .studio-right{display:flex}.studio-panel-header>.icon-button{width:34px;height:34px;margin-left:auto;display:inline-flex}.studio-layout.simple{grid-template-rows:minmax(0,1fr)}.studio-guide{display:none}.studio-rail .icon-button{height:40px}}@media(max-width:595px){.studio-top-actions .icon-button{width:34px}.studio-modes button{min-height:34px}.studio .layout-select{max-width:118px}.viewport-head>div>span{display:none}.viewport-foot{font-size:.72rem}}.demo-frame{border-radius:18px;scroll-margin-top:4.5rem}.demo-stage{background:radial-gradient(at 51% 76%,#b8a7d4aa,#0000 43%),linear-gradient(155deg,#f4ecfc 12%,#d9c9f1 70%,#c6b6e5)}.demo-stage:before{opacity:.56}.demo-stage:after{content:"";z-index:-1;pointer-events:none;background:radial-gradient(#63488348,#0000 72%);width:59%;height:14%;position:absolute;bottom:9%;left:21%}.demo-loading{place-items:end start;display:grid;position:absolute;inset:0}.demo-loading img{object-fit:cover;width:100%;height:100%;position:absolute}.demo-loading span{z-index:1;color:#fff;background:#322545ed;border-radius:6px;margin:.65rem;padding:.28rem .55rem;font-size:.78rem}.sample-game{position:relative}.demo-reset{color:var(--muted);padding:.25rem;font-size:.75rem;font-weight:680}.demo-reset:hover{color:var(--purple-strong)}@media(pointer:coarse){.demo-tools .icon-button,.demo-orbit .icon-button{width:39px;height:39px}.demo-help>svg{display:none}}@media(max-width:595px){.demo-foot{flex-wrap:wrap;gap:.35rem;height:auto;min-height:43px}.demo-help{flex:0 0 100%;order:4;justify-content:center;padding:.12rem 0 .2rem;font-size:.72rem}}.app-update{z-index:12;border:1px solid var(--line);background:var(--surface);max-width:calc(100vw - 1.4rem);box-shadow:var(--shadow);border-radius:8px;align-items:center;gap:.6rem;padding:.45rem .6rem;font-size:.82rem;display:flex;position:fixed;bottom:.7rem;right:.7rem}.app-update .subtle-button{flex:none}.app-update~.toast{bottom:4.2rem}.display-settings{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));padding-block:.45rem 1rem}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.standalone-game,.player-loading{color:#f7f3ff;background:#211932;font:500 16px/1.45 system-ui,sans-serif}body:has(.standalone-game),body:has(.player-loading){margin:0}.player-loading{min-height:100vh;display:grid;align-content:center;justify-items:center;text-align:center;padding:1rem}.standalone-game{height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr)}.standalone-game>header{display:flex;align-items:baseline;gap:.9rem;padding:.7rem 1.2rem}.standalone-game>header h1{font-size:clamp(1rem,2.5vw,1.45rem);overflow-wrap:anywhere;margin:0}.standalone-game>header small{color:#d8c6ec}.game-view,.viewport{width:100%;height:100%;min-height:0;position:relative}.viewport{overflow:hidden}.viewport canvas{display:block;width:100%;height:100%;touch-action:none}.viewport-fallback{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:.8rem;color:#372949;background:#e8dff4}.viewport-fallback img{max-height:88%;max-width:100%;object-fit:contain}.viewport-fallback.has-poster p{position:absolute;bottom:.7rem;left:50%;transform:translate(-50%);width:max-content;max-width:80%;border-radius:6px;padding:.22rem .4rem;background:#fff9;font-size:.75rem}.game-view{overflow:hidden;color:#f8f2ff;font-family:system-ui,sans-serif}.game-view *,.standalone-game *{box-sizing:border-box}.game-view button{font:inherit;color:inherit;cursor:pointer}.game-view button:focus-visible{outline:2px solid #e4fa90;outline-offset:3px}.game-hud{position:absolute;top:.9rem;left:.9rem;right:.9rem;display:flex;justify-content:space-between;gap:.4rem;z-index:2;pointer-events:none}.game-counters,.game-buttons{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:.35rem}.game-buttons{justify-content:flex-end}.game-hud span,.game-view button,.game-help,.game-objective,.game-message,.game-dialogue,.game-panel,.game-debug{color:#f7eeff;background:#261b35ed;border:1px solid rgba(237,218,255,.25);border-radius:9px}.game-hud span,.game-view button{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:32px;padding:.35rem .56rem;font-size:.79rem}.game-hud span svg{color:#eddd99}.game-hud button{pointer-events:auto}.game-view button:hover{background:#55416e}.game-objective{position:absolute;left:.9rem;top:3.5rem;max-width:min(330px,70%);display:grid;gap:.3rem;padding:.65rem .85rem;font-size:.83rem;pointer-events:none}.game-objective strong{color:#e6f7a1}.game-objective small{line-height:1.35;color:#e4d5f5}.game-message{position:absolute;left:50%;bottom:4rem;transform:translate(-50%);width:max-content;max-width:80%;padding:.5rem .75rem;font-size:.82rem;text-align:center;pointer-events:none}.game-help{position:absolute;left:50%;bottom:.85rem;transform:translate(-50%);display:flex;gap:.84rem;width:max-content;max-width:95%;padding:.43rem .7rem;font-size:.72rem}.game-panel,.game-dialogue,.game-debug{position:absolute;z-index:3;padding:.95rem;font-size:.87rem}.game-panel{right:.9rem;top:3.5rem;width:min(255px,78%);max-height:58%;overflow:auto}.game-panel h3,.game-panel p,.game-dialogue p{margin:0 0 .65rem}.game-panel ul{margin:.3rem 0 .75rem;padding-left:1.2rem}.game-panel button{display:block;width:100%;margin-top:.35rem}.game-dialogue{left:50%;bottom:3.6rem;transform:translate(-50%);width:min(520px,calc(100% - 2rem));max-height:65%;overflow:auto}.game-dialogue p{margin-top:.45rem}.game-dialogue>div{display:flex;flex-wrap:wrap;gap:.35rem}.game-dialogue strong,.game-debug strong{color:#e4f791}.game-debug{right:.9rem;bottom:3.45rem;max-width:32%;max-height:42%;overflow:auto;z-index:1;pointer-events:none}.game-debug small{display:block;margin-top:.18rem;overflow-wrap:anywhere}.game-result{position:absolute;inset:0;display:grid;place-items:center;background:#251a3899;text-align:center;z-index:4}.game-result>div{max-width:min(90%,360px);border:1px solid #cdb6ee66;border-radius:13px;padding:1.3rem 1.6rem;background:#322448}.game-result p{margin:0 0 .33rem;font-size:1.3rem;font-weight:700}.game-result small{display:block}.game-result button{margin-top:.8rem;color:#231b33;background:#e8fb97}.game-result button:hover{color:#f7eeff}.game-touch{position:absolute;bottom:.7rem;left:.7rem;right:.7rem;display:none;justify-content:space-between;z-index:2;pointer-events:none}.touch-pad,.touch-actions{display:flex;gap:.33rem;align-items:center}.game-touch button{min-width:34px;min-height:36px;pointer-events:auto;touch-action:none}.game-showcase .game-hud{top:.55rem;left:.6rem;right:.6rem}.game-showcase .game-message,.game-showcase .game-dialogue{bottom:.55rem}@media(any-pointer:coarse),(max-width:720px){.game-touch{display:flex}.game-help{display:none}.game-debug{bottom:4.1rem}.game-showcase .game-message,.game-showcase .game-dialogue{bottom:3.35rem}.game-hud{top:.55rem;left:.55rem;right:.55rem}.game-objective{left:.55rem;top:3.03rem;max-width:64%}}.game-showcase .game-objective{top:2.85rem;left:.6rem;font-size:.72rem;max-width:min(230px,60%);padding:.38rem .52rem}.game-showcase .game-objective strong,.game-showcase .game-objective small{display:none}.game-feedback{position:absolute;left:50%;bottom:3.4rem;display:grid;justify-items:center;gap:.35rem;transform:translate(-50%);max-width:82%;pointer-events:none;z-index:2}.game-feedback .game-message{position:static;transform:none;max-width:min(290px,72vw)}.game-interact{pointer-events:auto;min-height:40px;padding:.38rem .65rem}.game-interact kbd{margin-right:.22rem;color:#e4f791}.game-debug{pointer-events:auto}.game-debug dl{margin-bottom:0}.game-debug dl div{display:flex;justify-content:space-between;gap:.5rem}.game-debug dd{margin:0}.game-showcase .game-feedback{bottom:.6rem}@media(any-pointer:coarse),(max-width:720px){.game-feedback,.game-showcase .game-feedback{bottom:3.9rem}.game-touch button{min-width:41px;min-height:43px}.game-touch{gap:.4rem}.game-debug{max-width:48%;max-height:34%}}.preview-body{min-height:0;display:flex;flex-direction:column}.preview-body .game-view{flex:1}.preview-alert{display:flex;align-items:center;gap:.35rem;max-height:20vh;overflow:auto;padding:.45rem .8rem;background:#442d55;font-size:.82rem}
