@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;550;600;700&family=Manrope:wght@400;600;700;800&display=swap";.appearance-dialog{width:min(780px,calc(100vw - 40px));max-width:none;max-height:min(900px,calc(100dvh - 40px));padding:0;margin:auto;border:1px solid var(--theme-border);border-radius:20px;background:var(--theme-background);color:var(--theme-text);box-shadow:0 26px 90px var(--theme-shadow);font:inherit;overflow:hidden}.appearance-dialog::backdrop{background:var(--theme-backdrop);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.appearance-dialog *{box-sizing:border-box}.appearance-dialog button,.appearance-dialog input{font:inherit}.appearance-dialog button{cursor:pointer}.appearance-dialog button:disabled{cursor:default;opacity:.45}.appearance-dialog button:focus-visible,.appearance-dialog input:focus-visible{outline:3px solid var(--theme-highlight);outline-offset:3px}.appearance-panel{display:flex;flex-direction:column;max-height:min(900px,calc(100dvh - 40px))}.appearance-header{display:flex;align-items:center;gap:14px;flex:none;padding:25px 28px 23px;border-bottom:1px solid var(--theme-border);background:var(--theme-surface)}.appearance-title-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid var(--theme-border);border-radius:13px;background:var(--theme-selected);color:var(--theme-highlight)}.appearance-heading{min-width:0;flex:1}.appearance-heading h2{margin:0;font-size:22px;line-height:1.2;letter-spacing:-.5px;font-weight:750}.appearance-heading p{margin:6px 0 0;font-size:12px;color:var(--theme-muted)}.appearance-icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:none;border:1px solid transparent;border-radius:7px;padding:0;background:transparent;color:var(--theme-muted);transition:background .12s,color .12s}.appearance-icon-button:hover{background:var(--theme-raised);color:var(--theme-text);border-color:var(--theme-border)}.appearance-close{align-self:flex-start}.appearance-scroll{padding:25px 28px 0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--theme-border) transparent}.appearance-section{margin:0 0 25px}.appearance-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.appearance-section-heading h3{margin:0;font-size:13px;font-weight:750;letter-spacing:.01em}.appearance-current{font-size:11px;color:var(--theme-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.appearance-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.appearance-preset{display:flex;min-width:0;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;text-align:left;border:1px solid var(--theme-border);border-radius:11px;padding:6px 6px 10px;background:var(--theme-surface);color:var(--theme-text);transition:border-color .15s,background .15s,box-shadow .15s}.appearance-preset:hover{background:var(--theme-raised);border-color:var(--theme-muted)}.appearance-dialog .appearance-is-selected{border-color:var(--theme-highlight);box-shadow:0 0 0 1px var(--theme-accent)}.appearance-preset.appearance-is-selected{background:var(--theme-selected)}.appearance-preset-label{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:10px 3px 0}.appearance-preset-label strong{font-size:12px;font-weight:700}.appearance-selection-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;width:17px;height:17px;border:1px solid var(--theme-border);border-radius:50%;background:var(--theme-surface);color:var(--theme-on-accent)}.appearance-is-selected .appearance-selection-mark{border-color:var(--theme-highlight);background:var(--theme-accent)}.appearance-preset-description{display:block;padding:4px 3px 0;font-size:10px;line-height:1.45;color:var(--theme-muted)}.appearance-mini{display:flex;flex-direction:column;height:77px;overflow:hidden;border:1px solid var(--preview-border);border-radius:6px;background:var(--preview-background)}.appearance-mini-top{display:flex;align-items:center;gap:3px;height:14px;flex:none;padding:0 6px;background:var(--preview-surface);border-bottom:1px solid var(--preview-border)}.appearance-mini-top i{width:3px;height:3px;border-radius:50%;background:var(--preview-muted);opacity:.5}.appearance-mini-body{display:flex;flex:1;min-height:0}.appearance-mini-sidebar{display:flex;flex-direction:column;gap:5px;padding:10px 5px;width:23%;background:var(--preview-surface);border-right:1px solid var(--preview-border)}.appearance-mini-sidebar i{display:block;height:3px;background:var(--preview-muted);opacity:.35;border-radius:2px}.appearance-mini-sidebar i:first-child{background:var(--preview-accent);opacity:1}.appearance-mini-content{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:7px;padding:9px}.appearance-mini-heading{width:64%;height:4px;background:var(--preview-text);border-radius:2px;opacity:.65}.appearance-mini-tiles{display:flex;align-self:stretch;gap:4px}.appearance-mini-tiles i{height:16px;flex:1;border:1px solid var(--preview-border);border-radius:3px;background:var(--preview-raised)}.appearance-mini-tiles i:first-child{border-color:var(--preview-accent)}.appearance-mini-button{width:40%;height:5px;border-radius:2px;background:var(--preview-accent)}.appearance-system{display:flex;align-items:center;width:100%;gap:12px;text-align:left;margin-top:13px;border:1px solid var(--theme-border);border-radius:10px;padding:12px 14px;background:var(--theme-surface);color:var(--theme-muted)}.appearance-system:hover{background:var(--theme-raised)}.appearance-system>span:nth-child(2){display:grid;flex:1;gap:3px}.appearance-system strong{font-size:12px;color:var(--theme-text);font-weight:650}.appearance-system small{font-size:11px;line-height:1.45}.appearance-custom-section{border-top:1px solid var(--theme-border);padding-top:22px;margin-bottom:0}.appearance-text-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:3px 0;background:transparent;color:var(--theme-highlight);border:0;font-size:11px!important;font-weight:650!important;border-radius:4px}.appearance-text-button:hover{color:var(--theme-highlight)}.appearance-empty{display:flex;gap:13px;align-items:center;padding:17px;border:1px dashed var(--theme-border);border-radius:11px;background:var(--theme-surface)}.appearance-empty-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:10px;background:var(--theme-raised);color:var(--theme-muted)}.appearance-empty p{margin:0;font-size:12px;font-weight:650}.appearance-empty small{display:block;margin-top:4px;font-size:11px;font-weight:400;line-height:1.5;color:var(--theme-muted)}.appearance-custom-list{display:grid;gap:8px}.appearance-custom-row{display:flex;align-items:center;min-width:0;border:1px solid var(--theme-border);border-radius:10px;background:var(--theme-surface);padding-right:7px}.appearance-custom-use{display:flex;align-items:center;min-width:0;flex:1;gap:11px;padding:10px 12px;background:transparent;border:0;border-radius:9px;color:var(--theme-text);text-align:left}.appearance-custom-use:hover{background:var(--theme-raised)}.appearance-custom-use>span:nth-child(2){display:grid;flex:1;min-width:0;gap:4px}.appearance-custom-use strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}.appearance-custom-use small{font-size:10px;color:var(--theme-muted)}.appearance-custom-use>svg{color:var(--theme-highlight);flex:none}.appearance-custom-swatch{display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid;border-radius:9px}.appearance-custom-swatch i{width:14px;height:14px;border-radius:4px}.appearance-custom-actions{display:flex;align-items:center;gap:1px}.appearance-delete:hover{color:var(--theme-danger);background:var(--theme-danger-background)}.appearance-builder{padding:19px;margin-top:15px;background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:12px}.appearance-builder-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.appearance-builder-heading h4{margin:0;font-size:13px;font-weight:700}.appearance-preview-badge{display:inline-flex;align-items:center;gap:5px;color:var(--theme-highlight);background:var(--theme-selected);border:1px solid var(--theme-border);border-radius:20px;padding:4px 7px;font-size:10px;white-space:nowrap}.appearance-preview-badge>span{width:5px;height:5px;background:currentColor;border-radius:50%}.appearance-field{display:flex;flex-direction:column;align-items:stretch;gap:8px;font-size:11px;font-weight:650}.appearance-field input:not([type=color]),.appearance-colour-inputs input:not([type=color]){min-width:0;width:100%;height:37px;padding:0 11px;border:1px solid var(--theme-border);border-radius:7px;background:var(--theme-background);color:var(--theme-text);font-size:12px;font-weight:400}.appearance-field input[aria-invalid=true]{border-color:var(--theme-danger)}.appearance-builder-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:18px}.appearance-colour-inputs{display:flex;gap:9px;align-items:center}.appearance-colour-inputs input[type=color]{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:42px;height:37px;flex:none;border:1px solid var(--theme-border);border-radius:7px;background:var(--theme-background);padding:4px;cursor:pointer}.appearance-colour-inputs input[type=color]::-webkit-color-swatch-wrapper{padding:0}.appearance-colour-inputs input[type=color]::-webkit-color-swatch{border:0;border-radius:3px}.appearance-colour-inputs input[type=color]::-moz-color-swatch{border:0;border-radius:3px}.appearance-colour-inputs input:not([type=color]){font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.appearance-field-error{color:var(--theme-danger);font-size:10px;font-weight:400;line-height:1.4}.appearance-base{min-width:0;padding:0;margin:0;border:0}.appearance-base legend{padding:0;margin:0 0 8px;font-size:11px;font-weight:650}.appearance-base-options{display:flex;height:37px;padding:3px;gap:3px;background:var(--theme-background);border:1px solid var(--theme-border);border-radius:7px}.appearance-base-options label{position:relative;display:flex;align-items:center;justify-content:center;flex:1;gap:6px;border:1px solid transparent;border-radius:4px;color:var(--theme-muted);font-size:11px;cursor:pointer}.appearance-base-options label:hover{color:var(--theme-text)}.appearance-base-options label.appearance-base-selected{background:var(--theme-raised);border-color:var(--theme-border);color:var(--theme-text);box-shadow:0 1px 3px var(--theme-shadow)}.appearance-base-options input{position:absolute;width:1px;height:1px;opacity:0}.appearance-base-options label:has(input:focus-visible){outline:3px solid var(--theme-highlight);outline-offset:3px}.appearance-tint{margin-top:22px}.appearance-tint>label{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:650}.appearance-tint output{font-weight:500;color:var(--theme-muted);font-variant-numeric:tabular-nums}.appearance-tint input{display:block;width:100%;height:18px;margin:11px 0 6px;accent-color:var(--theme-highlight);cursor:pointer}.appearance-tint-hints{display:flex;justify-content:space-between;font-size:10px;color:var(--theme-muted)}.appearance-builder-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;margin-top:22px;padding-top:16px;border-top:1px solid var(--theme-border)}.appearance-reset{color:var(--theme-muted)}.appearance-builder-buttons{display:flex;justify-content:flex-end;gap:8px}.appearance-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:8px 12px;border:1px solid var(--theme-border);border-radius:7px;font-size:11px!important;font-weight:650!important;line-height:1.2}.appearance-secondary{background:var(--theme-surface);color:var(--theme-text)}.appearance-secondary:hover{background:var(--theme-raised)}.appearance-primary{background:var(--theme-accent);border-color:var(--theme-highlight);color:var(--theme-on-accent)}.appearance-primary:hover:not(:disabled){background:var(--theme-accent-hover);border-color:var(--theme-highlight)}.appearance-status{margin:0;color:var(--theme-muted);font-size:11px;line-height:1.5}.appearance-status:not(:empty){margin-top:13px}.appearance-custom-section{padding-bottom:24px}.appearance-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:none;padding:15px 28px;background:var(--theme-surface);border-top:1px solid var(--theme-border)}.appearance-footer>span{font-size:10px;line-height:1.5;color:var(--theme-muted)}.appearance-footer .appearance-button{min-width:70px}@media(max-width:640px){.appearance-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:15px}.appearance-panel{max-height:calc(100dvh - 24px)}.appearance-header{gap:11px;padding:19px 18px}.appearance-heading h2{font-size:20px}.appearance-heading p{font-size:11px}.appearance-scroll{padding:20px 18px 0}.appearance-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.appearance-mini{height:80px}.appearance-preset-description{font-size:10px}.appearance-current{max-width:58%}.appearance-builder{padding:15px}.appearance-builder-columns{gap:14px}.appearance-footer{padding:13px 18px}}@media(max-width:400px){.appearance-title-icon{display:none}.appearance-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.appearance-builder-columns{grid-template-columns:1fr;gap:18px}.appearance-custom-row{flex-wrap:wrap}.appearance-custom-use{flex-basis:calc(100% - 72px);padding-right:3px}.appearance-custom-actions{gap:0}.appearance-custom-actions .appearance-icon-button{width:27px}.appearance-custom-use small{font-size:9px}.appearance-builder-footer{align-items:flex-start}.appearance-builder-buttons{width:100%}.appearance-builder-buttons .appearance-button{flex:1}.appearance-section-heading{gap:8px}.appearance-text-button{font-size:10px!important}.appearance-empty{padding:13px;gap:10px}.appearance-empty-icon{display:none}}@media(prefers-reduced-motion:reduce){.appearance-dialog button{transition:none}}.gui-preview{display:flex;flex-direction:column;gap:12px;flex:0 1 280px;min-width:200px;min-height:0;max-width:40%;padding:16px;overflow:auto;overscroll-behavior:contain;border-left:1px solid var(--theme-border);background:var(--theme-raised)}.gui-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.gui-preview-heading h2{font-family:inherit;font-size:12px;letter-spacing:normal}.gui-preview-heading>span,.gui-preview-note{color:var(--theme-muted);font-size:10px}.gui-preview-controls{display:flex;align-items:end;gap:10px}.gui-preview-controls label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:11px}.gui-preview-controls label:last-child{flex:1}.gui-preview-controls select{width:100%;padding:5px 6px;font-size:11px}.gui-preview-stage{flex:1 0 140px;min-height:0;overflow:auto;overscroll-behavior:contain;border:1px solid var(--theme-border);border-radius:5px}.gui-preview-stage[data-background=checker]{background:repeating-conic-gradient(#dedede,#dedede 25%,#f3f3f3 0%,#f3f3f3 50%) 0 0 / 16px 16px}.gui-preview-stage[data-background=light]{background:#f3f3f3}.gui-preview-stage[data-background=dark]{background:#292929}.gui-preview-image{display:grid;place-items:center;min-width:max-content;min-height:100%;padding:12px}.gui-preview-image img{display:block;max-width:none;image-rendering:pixelated}.gui-preview-note{line-height:1.5}@media(max-width:900px){.gui-preview{flex:0 1 35%;min-width:0;max-width:none;border-left:0;border-top:1px solid var(--theme-border)}}.texture-name-control{display:flex;flex:1;min-width:0;align-items:center;gap:8px}.texture-name-display,.texture-name-editing{display:flex;flex:1;min-width:0}.texture-name-editing{padding:3px;border-radius:10px;background:color-mix(in srgb,var(--theme-highlight) 42%,var(--theme-raised))}.texture-name-button,.canvas-toolbar button.texture-name-button{width:auto;max-width:100%;min-width:0;height:28px;justify-content:flex-start;gap:6px;padding:3px 5px;color:var(--theme-text);font-size:11px;font-weight:700;text-align:left}.texture-name-button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.texture-name-button>svg{flex-shrink:0;color:var(--theme-muted)}.texture-name-editing>input{width:100%;min-width:0;height:28px;padding:3px 6px!important;font-size:11px;font-weight:700}.texture-name-editing>input:focus,.texture-name-editing>input:focus-visible{outline:none;box-shadow:none}.texture-name-control>select.texture-name-target{width:auto;max-width:45%;min-width:0;padding:4px 5px;font-size:10px}@media(forced-colors:active){.texture-name-editing>input:focus-visible{outline:2px solid Highlight;outline-offset:-2px}}.canvas-toolbar button.texture-name-button:hover{background:transparent}.landing-page{--landing-cream: var(--theme-text);--landing-muted: var(--theme-muted);--landing-lime: var(--theme-highlight);color-scheme:inherit;min-height:100dvh;overflow:clip;color:var(--landing-cream);background:var(--theme-background);font-family:DM Sans,sans-serif}.landing-page button,.landing-page a{-webkit-tap-highlight-color:transparent}.landing-page button:focus-visible,.landing-page a:focus-visible,.landing-page iframe:focus-visible{outline:2px solid var(--theme-highlight);outline-offset:5px}.landing-page button:disabled{opacity:.55;cursor:wait}.landing-skip{position:fixed;z-index:30;top:12px;left:12px;padding:10px 15px;border-radius:6px;color:var(--theme-background);background:var(--landing-cream);transform:translateY(-160%)}.landing-skip:focus{transform:translateY(0)}.landing-header{min-height:105px;max-width:1440px;margin:0 auto;padding:24px 5.1%;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--theme-border)}.landing-brand{display:inline-flex;align-items:center;gap:13px;color:var(--landing-cream);text-decoration:none;font-family:Manrope,sans-serif;font-size:30px;font-weight:800;letter-spacing:-1.6px;line-height:1}.landing-brand-period{color:var(--landing-lime)}.landing-brand-mark{position:relative;display:grid;place-items:center;width:49px;height:49px;border:1px solid var(--theme-border);border-radius:13px;color:var(--landing-lime);background:var(--theme-raised)}.landing-brand-mark>span{position:absolute;width:6px;height:6px;right:8px;top:8px;background:var(--landing-lime);box-shadow:0 0 10px var(--theme-shadow)}.landing-nav{display:flex;align-items:center;gap:27px}.landing-nav a{display:inline-flex;align-items:center;gap:8px;color:var(--theme-text);font-size:13px;text-decoration:none}.landing-nav a:hover{color:var(--landing-cream)}.landing-nav button{min-height:38px;padding:9px 13px;border:1px solid var(--theme-border);border-radius:7px;color:var(--landing-cream);font-size:12px}.landing-nav button:hover:not(:disabled){background:var(--theme-selected)}.landing-main{max-width:1440px;margin:0 auto;padding:0 5.1%}.landing-hero{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);align-items:center;gap:clamp(35px,6vw,95px);min-height:660px;padding:66px 0 75px}.landing-eyebrow{display:flex;align-items:center;gap:9px;color:var(--theme-highlight);font-size:9px;font-weight:700;letter-spacing:1.65px;line-height:1.7}.landing-eyebrow>span{width:6px;height:6px;background:var(--landing-lime)}.landing-intro h1{margin-top:23px;color:var(--landing-cream);font-size:clamp(43px,5.25vw,76px);font-weight:800;line-height:1.09;letter-spacing:-3.4px}.landing-intro h1>span{color:var(--landing-lime)}.landing-edition{margin-top:17px;color:var(--theme-highlight);font-family:Manrope,sans-serif;font-size:clamp(22px,2.5vw,33px);font-weight:700;letter-spacing:-1px;line-height:1.3}.landing-description{max-width:465px;margin-top:29px;color:var(--theme-text);font-size:16px;line-height:1.8}.landing-intro-note{display:flex;align-items:center;gap:9px;margin-top:24px;color:var(--theme-muted);font-size:12px}.landing-intro-note svg{flex-shrink:0;color:var(--theme-highlight)}.landing-starter{min-height:35px;margin-top:22px;padding:4px 0;border-radius:0;color:var(--theme-text);font-size:13px;font-weight:600;gap:10px}.landing-starter:hover:not(:disabled){color:var(--landing-lime);background:transparent}.landing-start h2{color:var(--theme-text);font-size:clamp(21px,2.15vw,29px);font-weight:800;letter-spacing:-1px;line-height:1.3}.landing-start>p{margin-top:8px;color:var(--landing-muted);font-size:14px;line-height:1.5}.landing-import-panel{position:relative;overflow:hidden;margin-top:23px;padding:43px 33px 25px;border:1px solid var(--theme-border);border-radius:48px 48px 48px 13px;background:var(--theme-selected);box-shadow:0 20px 45px var(--theme-shadow);text-align:center}.landing-panel-decoration{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.2}.landing-panel-decoration>span{position:absolute;width:38px;height:38px;right:15px;top:18px;border:1px solid var(--theme-highlight)}.landing-panel-decoration>span:nth-child(2){width:17px;height:17px;right:54px;top:57px;background:var(--theme-highlight)}.landing-panel-decoration>span:nth-child(3){width:23px;height:23px;top:auto;right:auto;bottom:18px;left:17px}.landing-panel-decoration>span:nth-child(4){width:10px;height:10px;top:auto;right:auto;bottom:42px;left:41px;background:var(--theme-highlight)}.landing-panel-label{position:relative;color:var(--theme-text);font-size:10px;font-weight:800;letter-spacing:1.5px}.landing-import-button{position:relative;justify-content:flex-start;width:100%;min-height:70px;margin-top:23px;padding:17px 24px;border:1px solid var(--theme-border);border-radius:40px;color:var(--theme-on-accent);background:var(--theme-accent);box-shadow:0 4px 8px var(--theme-shadow);gap:12px;font-size:clamp(16px,1.65vw,22px);font-weight:550;letter-spacing:-.6px}.landing-import-button svg{flex-shrink:0}.landing-import-button svg:last-child{margin-left:auto;color:var(--theme-on-accent)}.landing-import-button:hover:not(:disabled){background:var(--theme-accent-hover)}.landing-file-hint{position:relative;margin-top:11px;color:var(--theme-text);font-size:12px;line-height:1.5}.landing-file-hint strong,.landing-backup-hint strong{font-weight:700}.landing-panel-divider{position:relative;display:flex;align-items:center;gap:9px;margin-top:23px;color:var(--theme-text);font-size:11px}.landing-panel-divider:before,.landing-panel-divider:after{content:"";flex:1;height:1px;background:var(--theme-border)}.landing-backup-button{position:relative;min-height:40px;margin-top:16px;padding:6px 0;border-radius:0;color:var(--theme-text);font-size:clamp(15px,1.65vw,20px);font-weight:550;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;gap:10px;letter-spacing:-.5px}.landing-backup-button:hover:not(:disabled){color:var(--theme-text);background:transparent;text-decoration-thickness:2px}.landing-backup-hint{position:relative;margin-top:3px;color:var(--theme-text);font-size:12px;line-height:1.5}.landing-local-note{position:relative;display:flex;justify-content:center;align-items:center;gap:6px;margin-top:27px;padding-top:18px;border-top:1px solid var(--theme-border);color:var(--theme-text);font-size:11px;line-height:1.6}.landing-local-note svg{flex-shrink:0}.landing-resume{display:flex;width:100%;min-width:0;min-height:73px;margin-top:15px;padding:14px 18px;border:1px solid var(--theme-border);border-radius:12px;text-align:left;color:var(--theme-text);gap:12px}.landing-resume:hover:not(:disabled){background:var(--theme-selected)}.landing-resume-icon{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:9px;color:var(--landing-lime);background:var(--theme-raised)}.landing-resume-copy{display:flex;flex:1;flex-direction:column;min-width:0;gap:5px}.landing-resume-copy small{color:var(--theme-muted);font-size:10px;font-weight:600;letter-spacing:.8px;overflow-wrap:anywhere}.landing-resume-copy strong{overflow:hidden;font-size:13px;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.landing-resume>svg{flex-shrink:0;color:var(--theme-highlight)}.landing-tutorial{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);align-items:center;gap:clamp(35px,6vw,95px);padding:55px 0 73px;border-top:1px solid var(--theme-border);scroll-margin-top:30px}.landing-video-wrap{overflow:hidden;border:1px solid var(--theme-border);border-radius:15px;background:var(--theme-raised);box-shadow:0 12px 34px var(--theme-shadow)}.landing-video-label{display:flex;align-items:center;gap:8px;padding:13px 16px;border-bottom:1px solid var(--theme-border);color:var(--theme-muted);font-size:10px;font-weight:600;letter-spacing:1.25px}.landing-video{display:block;width:100%;aspect-ratio:16 / 9;border:0}iframe.landing-video{color-scheme:dark}.landing-video-placeholder{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;container-type:inline-size;color:var(--theme-text);background:radial-gradient(ellipse at 50% 48%,var(--theme-selected),var(--theme-raised) 48%,var(--theme-background))}.landing-video-workshop{position:absolute;top:13%;left:13%;display:flex;width:74%;height:69%;overflow:hidden;border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-surface);box-shadow:0 18px 36px var(--theme-shadow);transform:rotate(-5deg);opacity:.58}.landing-video-sidebar{display:flex;flex-direction:column;gap:14px;width:23%;padding:11% 5%;border-right:1px solid var(--theme-border)}.landing-video-sidebar i{flex-shrink:0;height:10px;border-radius:3px;background:var(--theme-selected)}.landing-video-sidebar i:first-child{background:var(--theme-highlight)}.landing-video-canvas{display:flex;flex:1;align-items:center;justify-content:center;background:repeating-conic-gradient(color-mix(in srgb,var(--theme-highlight) 6%,transparent) 0% 25%,transparent 0% 50%) 50% / 28px 28px}.landing-video-tile{position:relative;width:112px;height:112px;background:var(--theme-accent);box-shadow:inset 0 14px var(--theme-highlight),inset -14px 0 var(--theme-accent-hover),inset 0 -14px var(--theme-selected)}.landing-video-tile:before{content:"";position:absolute;top:28px;left:28px;width:14px;height:14px;background:var(--theme-highlight);box-shadow:42px 14px var(--theme-highlight),14px 42px var(--theme-accent-hover),42px 56px var(--theme-selected),56px 0 var(--theme-accent-hover),0 42px var(--theme-highlight)}.landing-video-message{position:relative;max-width:85%;padding:22px 28px;border:1px solid var(--theme-border);border-radius:16px;background:color-mix(in srgb,var(--theme-surface) 94%,transparent);box-shadow:0 12px 28px var(--theme-shadow);text-align:center}.landing-video-play{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 13px;border-radius:50%;color:var(--theme-on-accent);background:var(--theme-accent)}.landing-video-play svg{margin-left:3px}.landing-video-message h3{margin:0 0 8px;color:var(--theme-text);font-size:clamp(16px,3.8cqw,24px);line-height:1.3;letter-spacing:-.5px}.landing-video-message p{margin:0;color:var(--theme-muted);font-size:12px;line-height:1.5}@container (max-width: 400px){.landing-video-message{padding:17px 20px}.landing-video-play{width:36px;height:36px;margin-bottom:9px}}.landing-tutorial-copy h2{margin-top:11px;color:var(--theme-text);font-size:clamp(25px,2.6vw,36px);font-weight:700;line-height:1.22;letter-spacing:-1.1px}.landing-tutorial-copy>p{max-width:365px;margin-top:14px;color:var(--theme-muted);font-size:14px;line-height:1.65}.landing-steps{display:grid;gap:16px;list-style:none;margin:25px 0 0;padding:0}.landing-steps li{display:flex;gap:13px}.landing-steps li>span{flex:0 0 25px;padding-top:1px;color:var(--theme-highlight);font-size:11px;font-weight:700;letter-spacing:.5px}.landing-steps h3{color:var(--theme-text);font-family:DM Sans,sans-serif;font-size:14px;font-weight:600;letter-spacing:0}.landing-steps p{margin-top:4px;color:var(--theme-muted);font-size:12px;line-height:1.65}.landing-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1440px;margin:0 auto;padding:22px 5.1%;border-top:1px solid var(--theme-border);color:var(--theme-muted);font-size:11px}.landing-footer>span{display:flex;align-items:center;gap:7px;flex-shrink:0}.landing-footer>p{color:var(--theme-muted);font-size:11px;line-height:1.6;text-align:right}@media(min-width:1441px){.landing-header,.landing-footer,.landing-main{padding-right:73px;padding-left:73px}}@media(max-width:1050px){.landing-hero,.landing-tutorial{gap:35px}.landing-intro h1{font-size:clamp(38px,5.4vw,56px);letter-spacing:-2px}.landing-description{font-size:14px}.landing-import-panel{padding-right:25px;padding-left:25px}.landing-import-button{min-height:63px;padding-right:19px;padding-left:19px;gap:9px}.landing-import-button svg:last-child{width:16px}.landing-panel-divider{font-size:10px}}@media(max-width:760px){.landing-header{min-height:85px;padding:18px 6%}.landing-brand{gap:10px;font-size:25px}.landing-brand-mark{width:40px;height:40px;border-radius:10px}.landing-brand-mark>svg{width:25px;height:25px}.landing-brand-mark>span{width:5px;height:5px;right:6px;top:6px}.landing-nav{gap:14px}.landing-nav a{font-size:11px}.landing-nav button{padding:7px 10px;font-size:10px}.landing-main{padding:0 6%}.landing-hero{grid-template-columns:minmax(0,1fr);gap:38px;padding:43px 0 47px;min-height:0}.landing-intro h1{margin-top:17px;font-size:clamp(43px,8.4vw,61px);letter-spacing:-2.5px}.landing-edition{margin-top:13px;font-size:27px}.landing-description{max-width:520px;margin-top:22px;font-size:15px}.landing-intro-note{margin-top:19px}.landing-starter{margin-top:16px}.landing-start{max-width:520px;width:100%}.landing-start h2{font-size:25px}.landing-start>p{font-size:13px}.landing-import-panel{margin-top:20px;padding:33px 30px 23px;border-radius:36px 36px 36px 12px}.landing-import-button{min-height:65px;margin-top:20px;padding:16px 25px;font-size:20px;gap:13px}.landing-panel-divider{font-size:11px}.landing-backup-button{font-size:19px}.landing-local-note{font-size:11px}.landing-tutorial{grid-template-columns:minmax(0,1fr);gap:30px;padding:38px 0 45px}.landing-tutorial-copy{grid-row:1}.landing-tutorial-copy h2{font-size:31px}.landing-tutorial-copy>p{max-width:none;font-size:14px}.landing-steps{gap:18px}.landing-steps h3{font-size:14px}.landing-steps p{font-size:12px}.landing-video-wrap{max-width:520px}.landing-footer{flex-direction:column;align-items:flex-start;gap:10px;padding:23px 6%}.landing-footer>p{text-align:left}}@media(max-width:450px){.landing-nav a{display:none}.landing-header{gap:12px}.landing-nav button{font-size:10px}.landing-eyebrow{font-size:10px;letter-spacing:1.3px}.landing-intro h1{font-size:clamp(34px,10vw,45px);letter-spacing:-1.7px}.landing-edition{font-size:24px}.landing-description{font-size:14px}.landing-intro-note{font-size:12px}.landing-start h2{font-size:22px}.landing-import-panel{padding:30px 20px 21px}.landing-import-button{min-height:62px;padding:14px 18px;font-size:18px;gap:10px}.landing-import-button>svg:first-child{width:22px}.landing-backup-button{font-size:17px;gap:8px}.landing-local-note{align-items:flex-start;font-size:11px;text-align:left}.landing-local-note svg{margin-top:1px}}@media(prefers-reduced-motion:reduce){.landing-page *,.landing-page *:before,.landing-page *:after{scroll-behavior:auto;transition:none;animation:none}}:root{--theme-background: #f6f7f8;--theme-surface: #ffffff;--theme-raised: #eef1f2;--theme-selected: #dce9e1;--theme-text: #252c2a;--theme-muted: #5f6b66;--theme-border: #d5dbd8;--theme-accent: #2c654b;--theme-accent-hover: #204f39;--theme-on-accent: #ffffff;--theme-highlight: #2c654b;--theme-danger: #a13b2d;--theme-danger-background: #fbece9;--theme-danger-border: #e7b6ac;--theme-success: #287044;--theme-backdrop: #10181688;--theme-overlay: #f6f7f8eb;--theme-shadow: #17291a18;--workspace-background: #eceeee;--workspace-dot: #cbd0d0;--preview-stage: #f2f2f2;--preview-glow: #dedede;color-scheme:light;font-family:DM Sans,sans-serif;color:var(--theme-text);background:var(--theme-background);font-synthesis:none;--green: var(--theme-highlight);--muted: var(--theme-muted);--line: var(--theme-border);--paper: var(--theme-surface)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:transparent;color:inherit;border-radius:7px;font-size:13px;font-weight:550;transition:background .15s}button:hover{background:var(--theme-selected)}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,summary:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--theme-highlight);outline-offset:3px}input:not([type=range]):not([type=checkbox]):not([type=color]),select,textarea{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:7px;padding:10px 12px;color:var(--theme-text);min-width:0}input[type=range]{width:100%;accent-color:var(--theme-highlight);height:4px;cursor:pointer;margin:12px 0 9px}input[type=checkbox]{accent-color:var(--green);width:14px;height:14px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,sans-serif;letter-spacing:-.6px}p{line-height:1.65}button.primary{background:var(--theme-accent);color:var(--theme-on-accent);border:1px solid var(--theme-accent);padding:10px 16px;box-shadow:0 2px 3px var(--theme-shadow)}button.primary:hover{background:var(--theme-accent-hover)}button.outline{border:1px solid var(--theme-border);background:var(--theme-surface);padding:9px 12px}button.outline:hover{background:var(--theme-selected)}.full{width:100%}.icon-button{width:32px;height:32px}.text-button{padding:8px 0;font-size:12px}.muted{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.small{font-size:12px}.hint{font-size:11px;color:var(--theme-muted);line-height:1.6;margin:8px 0 12px}.mono{font-family:Consolas,monospace;font-size:11px}.overline,.section-label{font-size:10px;font-weight:700;letter-spacing:1.4px;color:var(--theme-muted)}.overline{display:block;margin-bottom:9px}.dot,.save-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--theme-highlight);flex:none}.save-dot.error{background:var(--theme-danger)}.app-shell{min-height:100vh;display:flex;flex-direction:column}.app-shell:not(.landing-shell){height:100dvh;min-height:0;overflow:hidden}.app-header{flex-shrink:0;height:48px;min-height:48px;padding:0 16px;display:flex;align-items:center;gap:12px;position:relative;z-index:30;background:var(--paper);border-bottom:1px solid var(--line)}.brand{display:flex;flex:none;align-items:center;text-decoration:none;color:var(--theme-text)}.brand-mark{display:flex;position:relative;background:var(--theme-raised);border:1px solid var(--theme-border);border-radius:7px;width:30px;height:30px;align-items:center;justify-content:center;color:var(--theme-highlight)}.brand-mark>span{width:6px;height:6px;background:var(--theme-highlight);position:absolute;right:4px;top:5px}.project-menu{position:relative;flex:0 1 auto;max-width:300px;min-width:0}.project-menu-trigger,.app-options-trigger{display:flex;align-items:center;justify-content:center;gap:7px;min-height:32px;border-radius:6px;cursor:pointer;list-style:none}.project-menu-trigger{justify-content:flex-start;padding:5px 8px;font-size:13px;font-weight:700}.project-menu-trigger::-webkit-details-marker,.app-options-trigger::-webkit-details-marker{display:none}.project-menu-trigger:hover,.app-options-trigger:hover,.project-menu[open]>.project-menu-trigger,.app-options-menu[open]>.app-options-trigger{background:var(--theme-selected)}.project-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-menu-trigger>svg,.app-options-trigger>svg{flex:none;color:var(--muted)}.project-menu[open]>.project-menu-trigger>svg{transform:rotate(180deg)}.project-menu-panel,.app-options-panel{position:absolute;top:calc(100% + 6px);z-index:40;border:1px solid var(--line);border-radius:10px;background:var(--paper);box-shadow:0 8px 28px var(--theme-shadow),0 2px 5px var(--theme-shadow);padding:6px;max-height:calc(100dvh - 64px);overflow-y:auto;overscroll-behavior:contain}.project-menu-panel{left:0;width:292px;max-width:calc(100vw - 72px)}.project-menu-heading{display:flex;flex-direction:column;gap:4px;padding:10px;overflow-wrap:anywhere;font-size:12px}.project-menu-heading>span{font-size:10px;color:var(--muted)}.project-menu-panel button,.app-options-panel button{width:100%;min-height:36px;justify-content:flex-start;text-align:left;padding:8px 10px;font-size:12px}.project-menu-panel button>svg,.app-options-panel button>svg{flex:none;color:var(--muted)}.project-menu-divider{height:1px;margin:5px 4px;background:var(--line)}.header-save-status{display:flex;align-items:center;gap:6px;flex:none;font-size:11px;color:var(--muted);white-space:nowrap}.header-save-status.save-error{color:var(--theme-danger)}.header-actions{margin-left:auto;display:flex;flex:none;align-items:center;gap:8px}.header-actions .primary{height:32px;padding:5px 12px;font-size:12px;white-space:nowrap}.app-options-menu{position:relative;flex:none}.app-options-trigger{width:32px}.app-options-panel{right:0;width:180px;max-width:calc(100vw - 24px)}.workspace-section-control{display:flex;align-items:center;gap:8px;min-width:0;width:100%}.workspace-section-control .workspace-section-select{flex:1;width:100%;min-width:0;height:34px;padding:5px 9px;background-color:var(--paper);font-size:13px;font-weight:700;text-overflow:ellipsis}.section-count{flex:none;font-size:10px;min-width:24px;height:22px;padding:0 5px;display:flex;align-items:center;justify-content:center;background:var(--theme-raised);border:1px solid var(--theme-border);border-radius:5px;color:var(--theme-muted)}.texture-page{display:flex;flex:1;min-height:0;overflow:hidden}.asset-sidebar{min-height:0;width:250px;flex:none;display:flex;flex-direction:column;background:var(--theme-surface);border-right:1px solid var(--line)}.asset-sidebar>:not(.asset-list){flex-shrink:0}.assets-title{display:flex;align-items:center;min-height:52px;padding:9px 16px}.search-field{display:flex;align-items:center;gap:8px;margin:0 16px;border:1px solid var(--theme-border);background:var(--theme-raised);border-radius:6px;padding:0 10px;color:var(--theme-muted)}.asset-sidebar>.search-field{margin-bottom:8px}.search-field input{border:none!important;background:transparent!important;padding:9px 0!important;width:100%;font-size:11px}.search-field>span{color:var(--theme-muted)}.asset-filters{display:flex;flex-wrap:wrap;gap:3px;padding:16px 16px 14px}.asset-filters button{white-space:nowrap;font-size:10px;color:var(--theme-muted);padding:5px 9px;flex:1;border-radius:5px}.asset-filters button.active{background:var(--theme-selected);color:var(--theme-highlight);font-weight:700}.gui-group-filter{display:flex;flex-direction:column;gap:6px;margin:0 16px 10px;font-size:11px;color:var(--theme-muted)}.gui-group-filter select{width:100%;padding:7px 9px;font-size:11px}.gui-texture-hint{padding:8px 18px}.asset-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 9px 14px;scrollbar-width:thin}.asset{width:100%;padding:8px 10px;justify-content:flex-start;text-align:left;gap:11px;margin:2px 0;border:1px solid transparent}.asset.active{background:var(--theme-selected);border-color:var(--theme-border)}.asset-image{display:flex;align-items:center;justify-content:center;border:1px solid var(--theme-border);width:37px;height:37px;background-color:var(--theme-raised);border-radius:6px;flex:none}.asset-image img{width:27px;height:27px;image-rendering:pixelated;object-fit:contain}.asset>span:nth-child(2){display:flex;flex-direction:column;gap:4px;overflow:hidden}.asset strong{font-size:11px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.asset small{font-size:9px;color:var(--theme-muted)}.asset>svg,.modified-dot{margin-left:auto;flex:none;color:var(--theme-highlight)}.modified-dot{width:6px;height:6px;border-radius:50%;background:var(--theme-highlight)}.texture-content{min-height:0;flex:1;min-width:0;display:flex;flex-direction:column}.starter-banner{flex-shrink:0;background:var(--theme-raised);border-top:1px solid var(--theme-border);border-bottom:1px solid var(--theme-border);display:flex;align-items:center;gap:8px;padding:9px 28px;font-size:10px;color:var(--theme-muted)}.starter-banner>svg{flex:none}.starter-banner button{margin-left:auto;white-space:nowrap;font-size:10px;color:var(--theme-highlight)}.editor-layout{min-height:0;display:flex;flex:1;min-width:0}.canvas-workspace{min-height:0;flex:1;min-width:0;display:flex;flex-direction:column}.canvas-toolbar{min-height:50px;flex-shrink:0;background:var(--theme-raised);border-bottom:1px solid var(--line);display:flex;align-items:center;flex-wrap:wrap;padding:8px 16px;gap:6px 9px}.canvas-toolbar>:not(.canvas-document){flex-shrink:0}.canvas-document{flex:1 1 140px;min-width:0;overflow:hidden;display:flex;align-items:center;gap:8px;padding:0 6px;font-size:11px}.canvas-document-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.canvas-document-edited{display:inline-flex;align-items:center;gap:5px;flex:none;color:var(--theme-highlight);font-size:10px;white-space:nowrap}.canvas-document-edited:before{content:"";width:5px;height:5px;flex:none;border-radius:50%;background:currentColor}.canvas-toolbar button{width:28px;height:28px;color:var(--theme-muted)}.canvas-toolbar button.selected{background:var(--theme-selected);color:var(--theme-highlight)}.canvas-toolbar button.canvas-resolution{width:auto;height:30px;gap:6px;padding:4px 9px;border:1px solid var(--theme-border);background:var(--theme-selected);color:var(--green);font-size:11px;white-space:nowrap}.canvas-toolbar button.canvas-resolution:hover,.canvas-toolbar button.canvas-resolution[aria-expanded=true]{background:var(--theme-selected);border-color:var(--theme-highlight)}.canvas-resolution[aria-expanded=true]>svg{transform:rotate(180deg)}.canvas-resolution .mono{font-size:inherit}.canvas-zoom-control{display:inline-flex;align-items:center;gap:4px;color:var(--theme-muted);font-size:11px;white-space:nowrap}.canvas-resolution-fields{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:8px}.canvas-resolution-fields label{display:grid;gap:6px}.canvas-resolution-fields input{width:100%;min-width:0;padding:8px}.canvas-resolution-fields>span{padding-bottom:10px;color:var(--muted)}.canvas-resolution-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.canvas-resolution-presets .outline{flex-direction:column;gap:4px;padding:9px 6px;font-size:11px}.canvas-resolution-presets .mono{color:var(--muted);font-size:10px}.canvas-resolution-preview{margin-top:12px;color:inherit;font-size:11px;text-align:center}.canvas-resolution-panel .full.outline{margin-top:8px}.button-group{display:flex;gap:1px}.toolbar-divider{height:17px;width:1px;background:var(--theme-border);margin:0 4px}.canvas-toolbar select{padding:4px 5px;font-size:10px;background:transparent;border-color:transparent}.canvas-zoom-control select{padding:5px 8px;border-color:var(--theme-border);background:var(--theme-surface);color:var(--theme-text);font-size:11px;font-weight:550;cursor:pointer}.canvas-zoom-control select:hover:not(:disabled){border-color:var(--theme-highlight);background:var(--theme-selected)}.canvas-zoom-control select:disabled{color:var(--theme-muted);opacity:.4;cursor:not-allowed}.canvas-zoom-control option{background:var(--theme-surface);color:var(--theme-text)}.canvas-zoom-control option:disabled{color:var(--theme-muted)}.canvas-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;background-color:var(--workspace-background);background-image:radial-gradient(var(--workspace-dot) .65px,transparent .65px);background-size:12px 12px;scrollbar-width:thin}.canvas-center{min-width:100%;min-height:100%;width:max-content;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:48px 52px 25px}.canvas-frame{position:relative;box-sizing:content-box;border:6px solid var(--theme-surface);box-shadow:0 6px 20px var(--theme-shadow),0 0 0 1px var(--theme-border);overflow:hidden;flex:none;background-color:#fff;background-image:conic-gradient(#dedede 25%,transparent 0 50%,#dedede 0 75%,transparent 0);background-size:16px 16px}.canvas-frame canvas{width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;image-rendering:pixelated;touch-action:none}.image-placement{position:absolute;z-index:4;outline:2px solid var(--theme-highlight);outline-offset:-2px;cursor:move;touch-action:none}.image-placement img{width:100%;height:100%;display:block;image-rendering:pixelated;pointer-events:none}.image-placement .placement-handle{position:absolute;width:12px;height:12px;min-width:0;padding:0;border:2px solid var(--theme-highlight);border-radius:50%;background:#fff;touch-action:none}.placement-nw{left:0;top:0;cursor:nwse-resize}.placement-ne{right:0;top:0;cursor:nesw-resize}.placement-sw{left:0;bottom:0;cursor:nesw-resize}.placement-se{right:0;bottom:0;cursor:nwse-resize}.reference{position:absolute;pointer-events:none;image-rendering:pixelated;object-fit:contain;z-index:2}.original{top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:fill}.pixel-grid{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:3;background-image:linear-gradient(to right,#00000018 1px,transparent 1px),linear-gradient(to bottom,#00000018 1px,transparent 1px)}.canvas-caption{font:9px Consolas,monospace;letter-spacing:1.1px;color:var(--theme-muted);margin-top:23px}.canvas-caption span{color:var(--theme-muted)}.canvas-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;flex-shrink:0;gap:6px 12px;min-width:0;min-height:32px;padding:6px 16px;border-top:1px solid var(--line);background:var(--paper);color:var(--theme-muted);font-size:10px}.canvas-current-tool{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.canvas-cursor-position{display:inline-flex;align-items:center;gap:12px;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.canvas-cursor-position .mono{min-width:7ch;font-size:inherit}.key{border:1px solid var(--theme-border);padding:1px 4px;border-radius:3px;font-size:8px}.inspector{width:104px;flex:none;min-width:0;background:var(--paper);border-left:1px solid var(--line)}.texture-inspector{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.inspector>section:not(.editor-tools),.editor-tools>section{padding:12px 9px;border-bottom:1px solid var(--line)}.section-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;font-size:9px;letter-spacing:1.25px}.texture-inspector .section-label{margin-bottom:10px;font-size:10px;letter-spacing:.7px}.tool-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.tool-buttons button{height:40px;min-width:0;padding:0;color:var(--muted);border:1px solid var(--line);border-radius:6px}.tool-buttons button.active{background:var(--theme-selected);border-color:var(--theme-border);color:var(--green);box-shadow:inset 0 0 0 1px var(--theme-border)}.color-swatches{position:relative;height:78px;max-width:84px;margin:0 auto 10px}.primary-color,.secondary-color{position:absolute;display:block;width:48px;height:48px;padding:3px;border:1px solid var(--line);border-radius:5px;background:var(--paper);box-shadow:0 2px 4px var(--theme-shadow);cursor:pointer}.primary-color{left:0;top:0;z-index:2}.secondary-color{right:0;bottom:0;z-index:1}.color-swatch-face{display:block;width:100%;height:100%;border:1px solid #0000001a;border-radius:2px}.color-swatches label.is-selected{outline:2px solid var(--green);outline-offset:1px}.color-swatches label:focus-within{outline:2px solid var(--theme-highlight);outline-offset:3px}.color-swatches input[type=color]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;padding:0;opacity:0;cursor:pointer}.color-swap,.color-reset{position:absolute;width:27px;height:27px;padding:4px;color:var(--muted)}.color-swap{left:0;bottom:0}.color-reset{top:0;right:0}.palette-toggle{width:100%;min-height:32px;padding:5px 3px;gap:5px;font-size:12px;color:var(--muted);border:1px solid var(--line)}.palette-toggle[aria-expanded=true],.rail-action[aria-expanded=true]{background:var(--theme-selected);color:var(--green)}.editor-tool-settings{display:flex;flex-direction:column;gap:12px}.tool-setting{min-width:0}.tool-setting>label{display:block;margin-bottom:5px;font-size:12px;color:var(--muted)}.tool-setting-value{display:flex;align-items:center;min-width:0;gap:3px;font-size:11px;color:var(--muted)}.editor-tool-settings .tool-setting-value input[type=number]{width:100%;min-width:0;height:34px;padding:6px 3px;font-size:12px;text-align:center}.tool-setting-value input[type=number]::-webkit-inner-spin-button,.tool-setting-value input[type=number]::-webkit-outer-spin-button{margin:0;opacity:1}.inspector-actions{display:flex;flex-direction:column;gap:6px}.rail-action{width:100%;min-height:52px;padding:8px 2px;flex-direction:column;gap:5px;font-size:12px;line-height:1.2;color:var(--muted);border:1px solid var(--line)}.editor-popover{position:fixed;z-index:45;width:248px;max-width:calc(100vw - 16px);max-height:min(620px,calc(100dvh - 16px));overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:10px;background:var(--paper);box-shadow:0 8px 32px var(--theme-shadow),0 2px 6px var(--theme-shadow);font-size:12px}.editor-popover-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px 9px 14px;border-bottom:1px solid var(--line)}.editor-popover-heading h3{font-size:13px;letter-spacing:0}.editor-popover-heading button{flex:none;width:28px;height:28px;padding:3px;color:var(--muted)}.editor-popover-content{padding:14px}.editor-setting-popover{width:220px}.setting-slider-readout{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}.editor-setting-popover input[type=range]{margin:18px 0 12px}.palette-slot-selector{display:flex;gap:4px;margin-bottom:13px}.palette-slot-selector button{flex:1;padding:7px 5px;border:1px solid var(--line);font-size:12px}.palette-slot-selector button[aria-pressed=true]{background:var(--theme-selected);color:var(--green)}.editor-palette{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.editor-palette button{height:28px;min-width:0;border:1px solid #00000026;border-radius:4px}.editor-palette button.active{outline:2px solid var(--green);outline-offset:2px}.editor-palette-code{display:block;margin:0 0 13px;color:var(--muted);font-family:Consolas,monospace;font-size:12px;overflow-wrap:anywhere}.editor-popover:is(.reference-panel,.image-actions-panel,.placement-panel),.editor-popover:has(.reference-panel,.image-actions-panel,.placement-panel){width:300px}.editor-popover :is(.reference-panel,.image-actions-panel,.placement-panel){min-width:0}.editor-popover :is(.small,.hint,.check-label,.range-label,.range-label>span:last-child,.reference-mode-label,.reference-mode,.number-row label,.number-row input,button.outline,.text-button){font-size:12px}.editor-popover :is(.small,.hint){line-height:1.6;margin:8px 0 12px}.editor-popover .outline+.outline{margin-top:8px}.placement-panel .placement-settings>label,.editor-popover .placement-panel>label{display:block;margin-top:14px}.placement-panel select{width:100%;margin-top:6px;padding:8px;font-size:12px}.placement-panel .number-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.range-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--theme-muted);margin-top:7px;gap:8px}.range-label>span:last-child{font:10px Consolas,monospace;color:var(--theme-muted)}.check-label{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--theme-muted);margin:12px 0;line-height:1.6}.check-label input{flex:none;margin:0}.texture-import-action{min-width:0}.reference-settings{margin-top:13px}.reference-mode{width:100%;margin-top:7px;font-size:11px}.reference-mode-label{font-size:10px;color:var(--muted)}.number-row{display:flex;gap:7px;margin-top:9px}.number-row label{font-size:9px;color:var(--theme-muted);flex:1;min-width:0}.number-row input{width:100%;padding:5px!important;font-size:10px;margin-top:5px}.danger{color:var(--theme-danger)}.sound-page{display:flex;flex:1;min-height:0;overflow:hidden}.sound-main{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:35px 48px;flex:1;min-width:0;max-width:1050px;margin:0 auto}.section-heading h2{font-size:30px;margin-bottom:10px}.section-heading p{font-size:13px;color:var(--theme-muted);margin-bottom:26px}.sound-card{background:var(--theme-surface);border:1px solid var(--line);border-radius:12px;padding:26px}.field-label{display:block;font-size:12px;font-weight:600;color:var(--theme-muted);margin:18px 0 9px}.sound-card>.field-label:first-child{margin-top:0}.sound-card>input{width:100%;font-family:Consolas,monospace}.sound-browser{display:grid;gap:10px;margin-bottom:20px}.sound-browser .field-label{margin:0}.sound-browser input,.sound-browser select{width:100%;min-width:0}.sound-event-list{font-size:12px}.sound-event-list optgroup{padding:6px 0;color:var(--green)}.sound-event-list option{padding:6px 10px;color:var(--theme-text)}.record-zone{border:1px dashed var(--theme-border);background:var(--theme-raised);border-radius:10px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:35px 20px;margin-top:25px}.mic-orb{width:68px;height:68px;border-radius:50%;background:var(--theme-raised);border:1px solid var(--theme-border);color:var(--theme-highlight);display:flex;align-items:center;justify-content:center;margin-bottom:20px}.record-zone h3{font-size:19px}.record-zone p{font-size:11px;color:var(--theme-muted);margin:10px 0 23px}.actions{display:flex;align-items:center;justify-content:center;gap:10px}.recording .mic-orb{background:var(--theme-danger-background);color:var(--theme-danger);animation:pulse 1s infinite}.record-stop{background:#b86a50;color:#fff;padding:10px 16px}.sound-sidebar{min-height:0;overflow-y:auto;overscroll-behavior:contain;width:310px;flex:none;border-right:1px solid var(--line);background:var(--paper);padding:9px 23px 24px}.sound-sidebar>.workspace-section-control{margin-bottom:22px}.sound-sidebar>input{width:100%;font-size:11px}.saved-sound{display:flex;gap:9px;align-items:center;border-bottom:1px solid var(--line);padding:17px 0;color:var(--theme-success)}.sound-name{flex:1;flex-direction:column;align-items:flex-start;overflow:hidden;padding:3px}.sound-name strong{font-size:10px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.sound-name span{font-size:9px;color:var(--theme-muted)}.disc-sidebar .section-label{display:flex;justify-content:space-between;margin-bottom:12px}.disc-search{display:flex;align-items:center;gap:8px;color:var(--theme-muted);margin-bottom:14px}.disc-search input{width:100%;font-size:11px}.disc-list{display:grid;gap:5px}.disc-option{width:100%;text-align:left;justify-content:flex-start;padding:11px 9px;border:1px solid transparent}.disc-option.active{background:var(--theme-selected);border-color:var(--theme-border)}.disc-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;color:var(--theme-highlight)}.disc-icon img,.disc-large-icon img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.disc-option-label{display:grid;min-width:0;flex:1;gap:5px}.disc-option-label strong{font-size:12px;overflow-wrap:anywhere}.disc-option-label small{font-size:10px;color:var(--theme-muted)}.disc-heading{display:flex;align-items:center;flex-wrap:wrap;gap:15px;margin-bottom:22px}.disc-large-icon{width:60px;height:60px;display:grid;place-items:center;color:var(--theme-highlight);background:var(--theme-selected);border-radius:10px;padding:8px}.disc-heading h3{font-size:22px}.disc-heading p{font-size:11px;color:var(--theme-muted);margin-top:5px}.disc-saved{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--theme-success);margin-left:auto}.disc-card-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.disc-card-heading .hint{margin:0}.disc-metadata h3,.disc-audio-card h3{font-size:16px}.disc-metadata>input{font-family:inherit}.disc-audio-card{margin-top:18px}.disc-text-preview{background:var(--theme-raised);border:1px solid var(--theme-border);border-radius:8px;padding:16px;overflow-wrap:anywhere}.disc-text-preview>div{display:grid;gap:5px;font-size:13px}.disc-text-preview span{color:var(--theme-muted);font-size:11px}.disc-text-preview p{margin-top:18px;text-align:center;color:var(--theme-highlight);font-size:12px}.disc-duration-note{margin-top:18px}.youtube-audio{width:100%;max-width:520px;text-align:left;margin-top:18px;border-top:1px solid var(--theme-border);padding-top:14px}.audio-source-actions{flex-wrap:wrap}.youtube-source-button[aria-expanded=true]{background:var(--theme-selected);border-color:var(--theme-highlight);color:var(--theme-highlight)}.youtube-audio>input{width:100%;font-size:12px}.record-zone .youtube-audio p{margin:8px 0 12px}.empty-small{padding:35px 15px;text-align:center;color:var(--theme-muted);display:flex;flex-direction:column;align-items:center;gap:14px}.empty-small strong{font-size:12px;font-weight:500}.empty-small p{font-size:11px}.tip-card{border:1px solid var(--theme-border);background:var(--theme-raised);padding:20px;border-radius:8px;margin-top:30px}.tip-card p{font-size:11px;color:var(--theme-muted)}.tip-card .overline{font-size:9px}.audio-edit{margin-top:25px}.waveform{display:block;width:100%;height:120px;background:var(--theme-raised);border-radius:7px}.waveform-trimmer{margin-top:13px}.trim-track{position:relative;margin:12px 24px;-webkit-user-select:none;user-select:none}.trim-shade,.trim-selection{position:absolute;top:0;bottom:0;pointer-events:none}.trim-shade{background:color-mix(in srgb,var(--theme-text) 40%,transparent)}.trim-selection{border-block:2px solid var(--green);background:color-mix(in srgb,var(--theme-highlight) 12%,transparent)}.trim-handle{position:absolute;top:0;bottom:0;width:24px;padding:0;border-radius:5px;background:var(--theme-accent);color:var(--theme-on-accent);cursor:ew-resize;touch-action:none;z-index:3}.trim-handle-start{transform:translate(-100%);border-radius:5px 0 0 5px}.trim-handle-end{border-radius:0 5px 5px 0}.trim-handle:hover{background:var(--theme-accent-hover)}.trim-handle:focus-visible{z-index:4;outline:3px solid var(--theme-highlight)}.waveform-seek-surface{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;cursor:ew-resize;touch-action:none}.waveform-playhead{position:absolute;top:0;bottom:0;width:2px;background:var(--theme-text);box-shadow:0 0 0 1px var(--theme-surface);transform:translate(-50%);pointer-events:none;z-index:2}.waveform-playhead span{position:absolute;top:-5px;left:50%;width:10px;height:10px;border:1px solid var(--theme-surface);border-radius:3px;background:var(--theme-text);transform:translate(-50%) rotate(45deg)}.audio-transport{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:16px;padding:12px;background:var(--theme-raised);border:1px solid var(--theme-border);border-radius:8px}.audio-play-button{min-width:92px;flex:none}.audio-transport input[type=range]{flex:1;min-width:60px;width:auto;height:6px;margin:0}.audio-playback-time{flex:none;font:11px Consolas,monospace;font-variant-numeric:tabular-nums;color:var(--theme-muted);margin-left:auto}.trim-readout{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;font-size:11px;color:var(--green)}.audio-controls{display:flex;gap:14px;margin-top:15px}.audio-controls label{font-size:10px;color:var(--theme-muted);flex:1;min-width:0}.audio-controls input[type=range]{display:block;margin-top:22px}.audio-edit .actions{justify-content:flex-end;margin-top:20px}.encoded-preview{border-top:1px solid var(--line);padding-top:15px;margin-top:20px}.encoded-preview audio{width:100%;height:36px;margin-top:12px}.success-text{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--theme-success)}.details-page{display:flex;flex:1;min-height:0;overflow:hidden}.pack-settings{min-height:0;overflow-y:auto;overscroll-behavior:contain;width:370px;flex:none;padding:9px 27px 28px;background:var(--paper);border-right:1px solid var(--line)}.pack-settings>.workspace-section-control{margin-bottom:24px}.pack-settings h1{font-size:28px;margin:11px 0}.pack-settings>p.muted{font-size:12px;margin-bottom:26px}.pack-settings>input,.pack-settings>textarea{width:100%;font-size:12px}.pack-settings textarea{resize:vertical}.version-box{border:1px solid var(--theme-border);border-radius:6px;padding:12px;display:flex;align-items:center;gap:10px;font-size:11px;flex-wrap:wrap;color:var(--theme-highlight)}.version-box .text-button{font-size:10px;margin-left:auto;padding:0}.preview-label{margin-top:30px}.minecraft-card{display:flex;align-items:center;gap:13px;border:1px solid var(--theme-border);background:var(--theme-raised);padding:13px;border-radius:7px;margin-bottom:13px}.minecraft-card img{width:54px;height:54px;image-rendering:pixelated}.minecraft-card strong{font-size:12px;overflow-wrap:anywhere}.minecraft-card p{font-size:10px;color:var(--theme-muted);margin-top:5px;overflow-wrap:anywhere}.cover-editor{min-height:0;flex:1;min-width:0;display:flex;flex-direction:column}.project-actions{display:flex;gap:8px;margin-top:23px}.project-actions button{font-size:11px}.toast{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);max-width:min(680px,90vw);padding:14px 17px;display:flex;align-items:center;gap:12px;border:1px solid var(--theme-border);border-radius:9px;box-shadow:0 8px 32px var(--theme-shadow);background:var(--theme-surface);color:var(--theme-success);z-index:80;font-size:12px;line-height:1.6}.toast>svg{flex:none}.toast>button{flex:none;width:24px;height:24px}.toast-error{border-color:var(--theme-danger-border);color:var(--theme-danger)}dialog.image-import{border:0;width:960px;color:inherit}.image-import::backdrop{background:var(--theme-backdrop);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.image-import-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.crop-workspace{padding:22px;background:var(--theme-raised);border:1px solid var(--theme-border);border-radius:10px}.crop-source{position:relative;width:100%;max-height:360px;max-width:100%;margin:auto;touch-action:none;cursor:crosshair}.crop-mask{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none}.image-import .crop-handle{position:absolute;z-index:1;width:24px;height:24px;min-width:24px;padding:0;border:3px solid #fff;border-radius:50%;background:var(--theme-accent);box-shadow:0 1px 5px var(--theme-shadow);transform:translate(-50%,-50%);touch-action:none}.image-import .crop-handle:hover{background:var(--theme-accent-hover)}.image-import .crop-handle:focus-visible{outline:3px solid var(--theme-highlight);outline-offset:3px}.crop-handle-nw,.crop-handle-se{cursor:nwse-resize}.crop-handle-ne,.crop-handle-sw{cursor:nesw-resize}.crop-source img{width:100%;height:100%;display:block;pointer-events:none;image-rendering:pixelated}.crop-selection{position:absolute;border:2px solid #fff;outline:1px solid #193b32;box-shadow:0 0 0 9999px #0006;pointer-events:none}.crop-fields{flex-wrap:wrap}.image-import label{display:block}.image-import select{display:block;width:100%;margin:8px 0 12px}.image-import-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:16px}.import-preview{height:180px;display:flex;align-items:center;justify-content:center;margin-top:16px}.import-preview img{width:100%;height:100%;object-fit:contain}@media(max-width:650px){.image-import-columns{grid-template-columns:1fr}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--theme-backdrop);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:50;display:flex;align-items:center;justify-content:center;padding:28px}.modal{background:var(--theme-surface);border-radius:16px;padding:32px;width:480px;max-width:100%;max-height:90vh;overflow:auto;position:relative;box-shadow:0 20px 90px var(--theme-shadow)}.modal-close{position:absolute;right:14px;top:14px;color:var(--theme-muted)}.modal-icon{width:53px;height:53px;border:1px solid var(--theme-border);background:var(--theme-raised);border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--theme-highlight);margin-bottom:21px}.modal h2{font-size:26px;margin-bottom:12px}.modal>p{font-size:12px;color:var(--theme-muted);margin-bottom:12px}.modal>input,.modal>select{width:100%}.modal>.primary{margin-top:18px}.modal h3{font-size:14px;margin:22px 0 9px}.modal .hint{font-size:10px}.path-note{background:var(--theme-raised);padding:12px;border-radius:7px;overflow-wrap:anywhere;font:11px/1.7 Consolas,monospace;color:var(--theme-muted);margin:12px 0}.export-summary{background:var(--theme-raised);border:1px solid var(--theme-border);border-radius:8px;display:flex;gap:14px;align-items:center;padding:15px;margin:22px 0}.export-summary img{width:62px;height:62px;image-rendering:pixelated;border-radius:5px}.export-summary>div{display:flex;flex-direction:column;gap:6px}.export-summary strong{font-size:14px;overflow-wrap:anywhere}.export-summary span,.export-summary small{font-size:10px;color:var(--theme-muted)}.validation-ok{display:flex;align-items:center;gap:7px;color:var(--theme-success);font-size:12px}.validation-errors{font-size:12px;color:var(--theme-danger);background:var(--theme-danger-background);border-radius:7px;padding:12px}.validation-errors ul{margin-bottom:0;padding-left:20px}.install-steps{border-top:1px solid var(--line);margin-top:22px;padding-top:20px;font-size:12px}.install-steps strong{color:var(--theme-muted)}.install-steps ol{padding-left:18px;color:var(--theme-muted);line-height:1.8;font-size:11px}.busy-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--theme-overlay);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;z-index:90;color:var(--theme-highlight)}.busy-overlay span{font-size:12px;color:var(--theme-muted)}.loading{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:25px;color:var(--theme-highlight)}.loading h2{font-size:22px}.spin{animation:spin 1s linear infinite}.padded{padding:15px}.checker{background-image:conic-gradient(#dedede 25%,transparent 0 50%,#dedede 0 75%,transparent 0);background-size:12px 12px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{box-shadow:0 0 0 8px color-mix(in srgb,var(--theme-danger) 12%,transparent)}}@media(max-width:1180px){.asset-sidebar{width:210px}.canvas-toolbar{padding-right:12px;padding-left:12px}.canvas-center{padding:40px 28px 25px}.pack-settings{width:310px}.sound-main{padding:30px}.sound-sidebar{width:260px}}@media(max-width:930px){.app-header{padding:0 12px;gap:10px}.header-actions{gap:6px}.asset-sidebar{width:180px}.asset{gap:8px;padding:7px}.asset-image{width:31px;height:31px}.asset strong{font-size:10px}.asset-filters{padding:12px 8px}.asset-filters button{padding:5px;font-size:9px}.assets-title{padding:9px 10px}.workspace-section-control{gap:5px}.workspace-section-control .workspace-section-select{padding-left:7px;padding-right:4px;font-size:12px}.search-field{margin:0 10px}.starter-banner{padding:9px 20px;font-size:9px}.starter-banner button{display:none}.pack-settings{width:280px}.sound-sidebar{width:220px;padding-right:15px;padding-left:15px}.sound-main{padding:28px 20px}.sound-card{padding:18px}}@media(max-width:650px){.app-header{gap:6px;padding:0 10px}.header-actions{gap:4px}.project-menu-trigger{padding-right:5px;padding-left:5px;gap:4px;font-size:12px}.save-state-label{display:none}.header-actions .primary{font-size:11px;gap:5px;padding:5px 8px}.texture-page{flex-direction:column}.asset-sidebar{width:100%;flex:0 0 28%;max-height:200px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:48px minmax(0,1fr);grid-template-areas:"title search" "assets assets";border-right:0;border-bottom:1px solid var(--line)}.assets-title{grid-area:title;min-height:48px;padding:7px 10px}.asset-filters{padding:8px 12px}.search-field{grid-area:search;margin:7px 10px 7px 0}.asset-sidebar>.search-field{margin-bottom:7px}.asset-list{grid-area:assets;padding:0 5px 8px}.starter-banner{padding:8px 18px;font-size:9px}.texture-inspector{width:92px}.canvas-center{padding:30px 20px 20px}.sound-page{flex-direction:column}.sound-main{width:100%;padding:27px 15px}.sound-sidebar{width:100%;flex:0 1 30%;border-right:0;border-bottom:1px solid var(--line);padding:7px 15px 18px}.sound-sidebar>.workspace-section-control{margin-bottom:14px}.section-heading h2{font-size:24px}.record-zone{padding:24px 12px}.actions{flex-wrap:wrap}.audio-controls{gap:8px}.audio-controls input{padding:8px!important}.modal-backdrop{padding:15px}.modal{padding:25px}.modal h2{font-size:23px}.toast{bottom:calc(15px + env(safe-area-inset-bottom));width:90vw}.pack-settings{width:100%;flex:0 1 30%;padding:7px 20px 20px;border-right:0;border-bottom:1px solid var(--line)}.pack-settings>.workspace-section-control{margin-bottom:14px}.details-page{flex-direction:column}.canvas-toolbar>.mono{font-size:9px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.texture-viewports{display:flex;flex:1;min-width:0;min-height:0}.texture-viewports>.canvas-scroll{flex:1 1 0;min-width:0}.canvas-toolbar button.preview-toggle{display:flex;align-items:center;gap:4px;width:auto;padding:4px 7px}.block-preview{flex:1 1 0;min-width:0;min-height:0;max-width:330px;overflow:auto;overscroll-behavior:contain;padding:16px;border-left:1px solid var(--line);background:var(--theme-raised)}.block-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;letter-spacing:1px}.block-preview-title{display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap}.block-preview-title>span{flex:none}.block-preview-title .block-preview-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:500;letter-spacing:normal;color:var(--theme-muted)}.block-preview-heading button{flex:none;padding:5px}.block-preview-canvas{display:block;width:100%;height:230px;touch-action:none;cursor:grab;background:radial-gradient(ellipse,var(--preview-glow),var(--preview-stage) 70%)}.block-preview-canvas:active{cursor:grabbing}.block-preview-canvas:focus-visible{outline:2px solid var(--theme-highlight);outline-offset:-2px}.block-preview .small,.block-preview .hint{font-size:11px;line-height:1.5;margin:6px 0}.block-model-picker,.block-preview-zoom,.block-state-controls label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;margin-top:9px}.block-preview select{min-width:0;max-width:190px;padding:4px;font-size:11px;border:1px solid var(--line);border-radius:4px;background:var(--theme-surface)}.block-preview-zoom input{width:70%}.block-state-controls{border-top:1px solid var(--line);margin-top:12px;padding-top:4px}.block-preview-canvas{color:var(--theme-highlight)}.block-preview-canvas.is-identifying{cursor:crosshair}.block-preview-canvas.is-identifying:active{cursor:grabbing}.texture-identify-controls{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.texture-identify-toggle,.texture-identify-options label{display:flex;align-items:center;gap:8px;min-height:28px;font-size:11px;cursor:pointer}.texture-identify-toggle{font-weight:700}.texture-identify-toggle input,.texture-identify-options input{flex:none;margin:0}.texture-identify-options{display:grid;gap:3px;margin-top:5px}.texture-identify-options label:has(input:disabled){color:var(--theme-muted);cursor:default}.texture-face-picker select{flex:1}.texture-face-search{display:grid;gap:5px;margin-top:10px;font-size:11px}.block-preview .texture-face-search input{width:100%;padding:7px 9px;border-radius:6px;font-size:11px}.texture-selection-info{display:grid;gap:4px;padding:9px 10px;margin-top:10px;border:1px solid var(--line);border-radius:7px;background:var(--theme-surface);color:var(--theme-muted);font-size:10px;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.texture-selection-heading{color:var(--theme-text);font-size:10px;font-weight:600}.texture-face-list{display:grid;gap:3px;max-height:160px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px;margin:2px -2px 0}.texture-face-option{display:flex;justify-content:space-between;gap:8px;width:100%;min-height:30px;padding:6px 8px;border:1px solid var(--line);border-radius:5px;background:var(--theme-raised);text-align:left;font-size:11px;color:var(--theme-text)}.texture-face-option:hover:not(:disabled),.texture-face-option:focus-visible{border-color:var(--theme-highlight);background:var(--theme-selected)}.texture-face-option[aria-pressed=true]{border-color:var(--theme-highlight);background:var(--theme-selected);color:var(--theme-highlight)}.texture-face-name{min-width:0;overflow-wrap:anywhere}.texture-face-number{flex:none;font-size:10px;color:var(--theme-muted);font-variant-numeric:tabular-nums}.texture-selection-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.texture-selection-actions button{flex:1 1 auto;min-height:30px;padding:6px 8px;border:1px solid var(--line);border-radius:6px;background:var(--theme-surface);font-size:10px}.texture-selection-actions button:hover:not(:disabled){background:var(--theme-selected)}.texture-mask-status{padding:2px 6px;border-radius:4px;background:var(--theme-selected);color:var(--theme-highlight);font-size:10px}.texture-uv-overlay{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:4;pointer-events:none;overflow:hidden}.texture-uv-overlay polygon,.texture-uv-overlay rect{vector-effect:non-scaling-stroke;stroke-linejoin:round}.texture-uv-face{fill:none;stroke:var(--theme-text);stroke-opacity:.55;stroke-width:1;stroke-dasharray:3 2}.texture-uv-face.highlighted{fill:var(--theme-highlight);fill-opacity:.16;stroke:var(--theme-highlight);stroke-opacity:1;stroke-width:2;stroke-dasharray:none}.texture-uv-boundary{fill:none;stroke:var(--theme-text);stroke-width:2;stroke-dasharray:4 3}.texture-uv-pixel{fill:none;stroke:var(--theme-text);stroke-width:2;paint-order:stroke;filter:drop-shadow(0 0 1px var(--theme-surface))}@media(pointer:coarse){.texture-face-option{min-height:40px}}@media(max-width:900px){.texture-viewports{flex-direction:column}.block-preview{flex:0 1 35%;max-width:none;border-left:0;border-top:1px solid var(--line)}}@media(max-height:700px){.canvas-center{padding:12px 16px}.canvas-caption{margin-top:10px}}@media(pointer:coarse){.app-header{height:52px;min-height:52px}.brand,.project-menu-trigger,.app-options-trigger,.header-actions .primary,.workspace-section-control .workspace-section-select{min-height:44px}.brand,.app-options-trigger{width:44px}.brand{justify-content:center}.header-actions .primary{height:44px}.project-menu-panel button,.app-options-panel button{min-height:44px}.project-menu-panel,.app-options-panel{max-height:calc(100dvh - 68px)}.asset-sidebar{grid-template-rows:58px minmax(0,1fr)}.assets-title{min-height:58px;padding-top:7px;padding-bottom:7px}.texture-inspector{width:112px}.tool-buttons button{height:44px}.palette-toggle,.tool-setting-value input[type=number]{min-height:44px}.editor-tool-settings .tool-setting-value input[type=number]{font-size:16px}.color-swatches{max-width:88px;height:88px}.primary-color,.secondary-color,.color-swap,.color-reset,.editor-popover-heading button{width:44px;height:44px}.editor-palette{grid-template-columns:repeat(4,minmax(0,1fr))}.editor-palette button{height:44px}}:root[data-theme-mode=dark]{color-scheme:dark;--workspace-background: #181818;--workspace-dot: #393939;--preview-stage: #252525;--preview-glow: #393939}input::placeholder,textarea::placeholder{color:var(--theme-muted);opacity:1}.checker{background-color:#fff}.toast-error{background:var(--theme-danger-background)}
