.auth-body{margin:0;min-width:320px;min-height:100vh}.pindo-auth-page{--auth-primary: #ff385c;--auth-primary-active: #e00b41;--auth-disabled: #ffd1da;--auth-ink: #222;--auth-muted: #6a6a6a;--auth-hairline: #ebebeb;--auth-surface: #f7f7f7;width:100%;min-height:100vh;padding:20px;display:grid;place-items:center;color:var(--auth-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:linear-gradient(var(--auth-hairline) 1px,transparent 1px),linear-gradient(90deg,var(--auth-hairline) 1px,transparent 1px),#fff;background-size:32px 32px}.pindo-auth-page *{box-sizing:border-box}.pindo-auth-page button,.pindo-auth-page input{font:inherit}.auth-login-panel{width:min(420px,100%);padding:24px;border:2px solid var(--auth-ink);border-radius:2px;background:#fff;box-shadow:4px 4px 0 var(--auth-ink)}.auth-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.auth-panel-heading p{margin:0 0 6px;color:#92174d;font-size:12px;font-weight:800;text-transform:uppercase}.auth-panel-heading h1{margin:0;color:var(--auth-ink);font-size:24px;line-height:1.15;font-weight:800}.auth-panel-heading svg{color:var(--auth-primary)}.auth-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:16px;padding:4px;border:2px solid var(--auth-ink);border-radius:2px;background:var(--auth-surface)}.auth-mode-switch button{height:38px;border:2px solid transparent;border-radius:2px;background:transparent;color:var(--auth-muted);cursor:pointer;font-weight:900}.auth-mode-switch button.active{border-color:var(--auth-ink);background:var(--auth-primary);color:#fff;box-shadow:3px 3px 0 var(--auth-ink)}.auth-form{display:grid;gap:10px;margin-top:14px}.auth-form label{display:grid;gap:8px;color:var(--auth-ink);font-size:14px;font-weight:800}.auth-form input{width:100%;height:42px;padding:0 12px;border:2px solid var(--auth-ink);border-radius:2px;background:#fff;color:var(--auth-ink);outline:none}.auth-form input:focus{border-color:var(--auth-primary);box-shadow:3px 3px 0 var(--auth-disabled)}.auth-form input::placeholder{color:#929292;font-size:12px}.auth-error{margin:0;padding:9px 10px;border:2px solid #c13515;background:#fff3f0;color:#c13515;font-size:12px;font-weight:800}.auth-primary-button{display:inline-flex;height:48px;align-items:center;justify-content:center;gap:8px;border:4px solid var(--auth-ink);border-radius:2px;background:var(--auth-primary);color:#fff;box-shadow:4px 4px 0 var(--auth-ink);cursor:pointer;font-size:16px;font-weight:800;transition:.12s ease}.auth-primary-button:hover:not(:disabled){background:var(--auth-primary-active);transform:translate(1px,1px);box-shadow:2px 2px 0 var(--auth-ink)}.auth-primary-button:disabled{background:var(--auth-disabled);box-shadow:none;cursor:not-allowed}.auth-customer-service{position:fixed;right:26px;bottom:26px;display:grid;width:44px;height:44px;padding:0;place-items:center;border:2px solid var(--auth-ink);border-radius:50%;background:var(--auth-primary);color:#fff;box-shadow:4px 4px 0 var(--auth-ink);cursor:pointer}.auth-customer-service:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--auth-ink)}@media(max-width:520px){.pindo-auth-page{padding:10px}.auth-login-panel{padding:16px;box-shadow:3px 3px 0 var(--auth-ink)}}#root .image-tags-backdrop{z-index:2000;background:#1c2c4580}#root .image-tags-dialog{width:min(460px,100%);max-height:calc(100dvh - 36px);overflow-y:auto}#root .image-tags-dialog .settings-dialog-header{align-items:center;padding:20px;border-bottom:2px solid var(--color-hairline);background:var(--color-surface-soft)}#root .image-tags-heading{display:flex;align-items:center;gap:14px;min-width:0}#root .image-tags-heading>div{min-width:0}#root .image-tags-heading-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border:2px solid var(--color-ink);background:var(--color-primary);color:#fff;box-shadow:3px 3px 0 var(--color-border-strong)}#root .image-tags-heading p{margin:0 0 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px;color:var(--color-primary-active);font-size:11px;line-height:1.5}#root .image-tags-heading h2{margin:0;font-size:20px;line-height:1.4}#root .image-tags-dialog .settings-close{flex:0 0 32px;display:grid;place-items:center}#root .image-tags-form{display:grid;gap:16px;padding:20px}#root .image-tags-form p{margin:0}#root .image-tags-help{color:var(--color-ink);font-size:13px;line-height:1.7}#root .image-tags-picker{border:0;margin:0;padding:0;min-width:0}#root .image-tags-picker legend{margin-bottom:10px;padding:0;color:var(--muted);font-size:11px}#root .image-tags-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#root .image-tags-options .image-tag-option{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:calc(100% - 8px);min-width:0;min-height:76px;margin:4px;padding:10px 8px;font-size:14px;line-height:1.4}#root .image-tags-options .image-tag-option>svg:first-child{color:var(--color-primary-active)}#root .image-tags-options .image-tag-option[aria-pressed=true]>svg:first-child{color:#fff}#root .image-tag-selected{position:absolute;top:6px;right:6px;color:#fff}#root .image-tags-selection{color:var(--muted);font-size:11px;line-height:1.6;min-height:18px}#root .image-tags-actions{margin:0;padding-top:14px;border-top:2px solid var(--color-hairline);gap:12px}#root .image-tags-actions button{min-height:40px;min-width:88px;font-size:13px}@media(max-width:420px){#root .image-tags-dialog .settings-dialog-header{padding:16px;gap:10px}#root .image-tags-form{padding:16px}#root .image-tags-heading{gap:10px}#root .image-tags-heading p{max-width:170px}#root .image-tags-heading h2{font-size:18px}#root .image-tags-options{grid-template-columns:repeat(2,minmax(0,1fr))}}.global-header-toast{position:fixed;right:22px;bottom:22px;z-index:1000;max-width:min(360px,calc(100vw - 44px));padding:10px 14px;border:2px solid var(--color-ink, var(--ink, #222));background:var(--color-canvas, var(--paper, #fff));box-shadow:3px 3px 0 var(--color-ink, var(--ink, #222));font-size:13px;font-weight:800;opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .15s,transform .15s}.global-header-toast.show{opacity:1;transform:translateY(0)}.route-loading{min-height:100vh;background:#fff}#root .global-header.global-header--nes{position:fixed;inset:0 0 auto;z-index:30;display:block;width:auto;max-width:none;height:auto;min-height:0;margin:0;padding:0;border:0;border-bottom:4px solid #d3d3d3;border-image:none;border-radius:0;background:#fff;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}#root .global-header--nes .global-header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;max-width:none;margin:0 auto;padding:10px 24px}#root .global-header--nes .global-header-left{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}#root .global-header--nes .global-brand{display:inline-flex;align-items:center;gap:14px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;color:var(--ink);font-size:33px;line-height:1.25;white-space:nowrap}#root .global-header--nes .global-brand-mark{width:36px;height:36px;flex:0 0 auto}#root .global-header--nes .global-brand strong{font-size:inherit;font-weight:400}#root .global-header--nes .global-header-right{display:flex;flex-direction:row;align-items:center;gap:10px}#root .global-header--nes .global-nav{display:flex;align-self:auto;gap:8px}#root .global-header--nes .global-nav button{min-height:38px;padding:4px 8px}#root .global-header--nes .global-header-account{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}#root .global-header--nes .global-header-account>span{max-width:160px}@media(max-width:1040px){#root .global-header--nes .global-header-right{flex-direction:column;align-items:flex-end}#root .global-header--nes .global-brand-mark{width:36px;height:36px}}@media(max-width:640px){#root .global-header--nes .global-header-inner{padding:16px 12px 12px;gap:10px 8px}#root .global-header--nes .global-header-right{display:contents}#root .global-header--nes .global-header-left{grid-column:1;grid-row:1;gap:8px}#root .global-header--nes .global-brand{font-size:20px;gap:8px}#root .global-header--nes .global-brand-mark{width:28px;height:28px}#root .global-header--nes .global-header-account{grid-column:2;grid-row:1;gap:4px}#root .global-header--nes .global-header-account>span{display:none}#root .global-header--nes .global-nav{grid-column:1 / -1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}#root .global-header--nes .global-nav button{min-width:0;width:calc(100% - 8px);padding:4px 2px;gap:4px}#root .global-header--nes .global-nav button svg{display:none}}@font-face{font-family:"Press Start 2P";src:url(/pindo/assets/PressStart2P-Regular-2BZhbCiP.ttf) format("truetype");size-adjust:66.666667%;font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:"Cubic 11";src:url(/pindo/assets/Cubic_11-BYAGXrlw.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fusion Pixel;src:url(/pindo/assets/fusion-pixel-12px-proportional-zh_hans.otf-BJk1nXha.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}html:root{--ink: #1c2c45;--paper: #fff;--soft: #f3f8ff;--pink: #1677d2;--pink-dark: #105dac;--yellow: #e5f0ff;--accent: #1677d2;--accent-dark: #105dac;--color-ink: #1c2c45;--color-primary: #1677d2;--color-primary-active: #105dac;--color-primary-disabled: #dce7f2;--color-canvas: #fff;--color-surface-soft: #f3f8ff;--color-surface-strong: #eaf3ff;--color-border-strong: #9eb9d4;--color-error: #ce372b;--color-link: #1677d2;--color-purple: #105dac;--color-magenta: #1677d2;--color-hairline: #dce7f2;--color-hairline-soft: #edf3f9;--radius-sm: 0;--radius-md: 0;--radius-lg: 0;--radius-xl: 0;--shadow: none;--shadow-hard: none;--shadow-hard-soft: none;--font-body: "Press Start 2P", "Cubic 11", "Fusion Pixel", ui-monospace, "Microsoft YaHei", monospace;--font-display: var(--font-body);--nes-shadow: #9eb9d4;--nes-border: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='5'%3E%3Cpath d='M2 1h1v1H2zM1 2h1v1H1zM3 2h1v1H3zM2 3h1v1H2z' fill='%231c2c45'/%3E%3C/svg%3E");--nes-container-border: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M3 1h1v1H3zM4 1h1v1H4zM2 2h1v1H2zM5 2h1v1H5zM1 3h1v1H1zM6 3h1v1H6zM1 4h1v1H1zM6 4h1v1H6zM2 5h1v1H2zM5 5h1v1H5zM3 6h1v1H3zM4 6h1v1H4z' fill='%231c2c45'/%3E%3C/svg%3E")}#root{font-family:var(--font-body);color:var(--ink)}#root .import-backdrop{--import-ink: #1c2c45;--import-accent: #1677d2;font-family:var(--font-body)}#root .pindo-auth-page{--auth-primary: #1677d2;--auth-primary-active: #105dac;--auth-disabled: #dce7f2;--auth-ink: #1c2c45;--auth-hairline: #edf3f9;--auth-surface: #f3f8ff;font-family:var(--font-body)}#root :is(button,input,textarea,select,h1,h2,h3){font-family:var(--font-body)}#root button:not(:where(.global-brand,.history-card,.pattern-image,.repository-card-thumbnail,.repository-card-preview,.pattern-repository-open,.color-row,.mard-color-swatch,.selected-color-chip,.source-image-control,.import-image-card,.layer-item)){--nes-button-shadow: #9eb9d4;--nes-button-focus: rgba(158, 185, 212, .3);position:relative;border:4px solid #1c2c45;border-image:var(--nes-border) 2 / 2 / 2 stretch;border-radius:0;padding:6px 8px;margin:4px;max-width:calc(100% - 8px);background-color:#fff;background-clip:border-box;color:#1c2c45;box-shadow:none;transform:none;transition:none;cursor:pointer;-webkit-user-select:none;user-select:none}#root button:not(:where(.global-brand,.history-card,.pattern-image,.repository-card-thumbnail,.repository-card-preview,.pattern-repository-open,.color-row,.mard-color-swatch,.selected-color-chip,.source-image-control,.import-image-card,.layer-item)):after{position:absolute;inset:-4px;content:"";box-shadow:inset -4px -4px var(--nes-button-shadow);pointer-events:none}#root button:not(:where(.global-brand,.history-card,.pattern-image,.repository-card-thumbnail,.repository-card-preview,.pattern-repository-open,.color-row,.mard-color-swatch,.selected-color-chip,.source-image-control,.import-image-card,.layer-item)):hover:not(:disabled){background-color:#eaf3ff;text-decoration:none;box-shadow:none;transform:none}#root button:not(:where(.global-brand,.history-card,.pattern-image,.repository-card-thumbnail,.repository-card-preview,.pattern-repository-open,.color-row,.mard-color-swatch,.selected-color-chip,.source-image-control,.import-image-card,.layer-item)):hover:not(:disabled):after{box-shadow:inset -6px -6px var(--nes-button-shadow)}#root button:is(.active,[aria-pressed=true],.primary,.primary-button,.auth-primary-button,.import-primary,.download,.pattern-export-floating-download){--nes-button-shadow: #094879;--nes-button-focus: rgba(9, 72, 121, .3);background-color:#1677d2;color:#fff}#root button:is(.active,[aria-pressed=true],.primary,.primary-button,.auth-primary-button,.import-primary,.download,.pattern-export-floating-download):hover:not(:disabled){background-color:#105dac}#root button:not(:where(.global-brand,.history-card,.pattern-image,.repository-card-thumbnail,.repository-card-preview,.pattern-repository-open,.color-row,.mard-color-swatch,.selected-color-chip,.source-image-control,.import-image-card,.layer-item)):focus{outline:0;box-shadow:0 0 0 6px var(--nes-button-focus)}#root button:not(:where(.global-brand,.history-card,.pattern-image,.repository-card-thumbnail,.repository-card-preview,.pattern-repository-open,.color-row,.mard-color-swatch,.selected-color-chip,.source-image-control,.import-image-card,.layer-item)):active:not(:disabled):after{box-shadow:inset 4px 4px var(--nes-button-shadow)}#root button:disabled{--nes-button-shadow: #9eb9d4;background-color:#dce7f2;color:#1c2c45;opacity:.6;cursor:not-allowed;box-shadow:none;transform:none}#root :is(a,input,textarea,select):focus-visible{outline:3px dashed #209cee;outline-offset:3px}#root :is(.global-header-account button,.settings-close,.import-close,.topbar-back-button,.topbar-actions button,.layer-visibility,.layer-delete,.pattern-export-floating-download,.source-preview button){padding:0}#root :is(.pattern-export-floating-download,.source-preview button){position:absolute;margin:0}#root :where(input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]),textarea,select){border:4px solid #1c2c45;border-image:var(--nes-border) 2 / 2 / 0 stretch;border-radius:0;background-color:#fff;background-clip:padding-box;color:#1c2c45;box-shadow:none}#root :is(.global-header,.panel,.control,.preview-panel,.auth-login-panel,.repository-intro,.pattern-repository-card,.history-card,.settings-dialog,.import-dialog,.repository-modal,.publish-dialog,.pattern-export-dialog,.pattern-summary-panel,.floating-adjustments,.floating-color-panel,.floating-tool-palette,.mard-color-picker,.demo-popover,.crop-control-popover,.preview-pixelize-mode-menu,.model-picker-options,.global-header-toast){border:4px solid #1c2c45;border-image:var(--nes-container-border) 3 / 3 / 0 stretch;border-radius:0;background-clip:padding-box;box-shadow:none}#root :is(.history-card,.pattern-repository-card):hover{background-color:#f3f8ff;box-shadow:none}#root .global-brand{color:#105dac}#root :is(.import-local-picker,.repository-empty,.history-empty){border-radius:0}#root :is(.global-header-account button,.settings-close,.import-close){min-width:36px;min-height:36px}@media(max-width:480px){#root .workspace .choice button,#root .generation-model-picker .model-picker-trigger{padding-inline:4px}#root .import-source-options button{padding-inline:4px;font-size:16.5px;white-space:nowrap;min-height:36px}}#root .import-source-options button{white-space:nowrap}#root .repository-intro{padding:14px;background-color:#fff}#root .workspace button:not(:where(.source-preview button)){padding-block:4px;margin-block:3.6px}#root .workspace :is(.workspace-choice-button,.choice button,.primary,.secondary,.download){min-height:37.8px}#root .workspace .ratio{grid-template-columns:repeat(4,minmax(0,1fr))}#root .workspace .tag{padding-block:8px}#root .workspace .ratio button{min-width:0;min-height:61.2px;gap:4.5px;padding:2.8px 2px}#root .workspace .preview-pixelize-presets button{min-height:28.8px}#root .workspace .control fieldset{margin-bottom:16.2px}#root .workspace .control :is(legend,label>span){margin-bottom:8.1px}#root .workspace .control textarea{min-height:97.2px;padding-block:10.8px;margin-bottom:14.4px}#root .workspace .source-image-control{min-height:93.6px}@media(max-width:600px){#root .workspace .preview-pixelize-presets button{min-height:25.2px}}#root .workspace-control-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}#root .workspace-control-heading h1{margin:0}#root .generation-settings-trigger{display:inline-grid;place-items:center;width:36px;height:36px;flex:0 0 auto;padding:0}.photo-color-settings{display:grid;gap:6px}.photo-color-settings button{display:grid;gap:4px;text-align:left;min-height:48px;font-size:12px}.photo-color-settings button>span{display:flex;align-items:center;justify-content:space-between;gap:8px}.photo-color-settings small{font-size:11px;line-height:1.5}.editor-mapping-menu .photo-color-settings{padding-top:8px;border-top:1px solid #b8c4d2}.photo-color-feedback{margin:0;font-size:11px;line-height:1.5}#root .generation-settings-dialog{width:min(560px,100%);max-height:calc(100dvh - 36px);overflow:auto}#root .generation-settings-body{padding:18px}#root .generation-settings-body fieldset{margin-bottom:16px}#root .generation-settings-body fieldset:last-child{margin-bottom:0}#root .generation-settings-body .model-picker-options{position:static;margin-top:10px}#root .generation-settings-body .model-picker-options button{width:calc(100% - 8px)}#root .generation-settings-body .generation-options{gap:8px}#root .generation-settings-body button{padding-block:4px;min-height:38px}#root .generation-settings-footer{display:flex;justify-content:flex-end;padding:0 18px 18px}#root .generation-settings-footer button{width:auto;min-width:88px}@media(max-width:480px){#root .generation-settings-body{padding:12px}#root .generation-settings-body .generation-options{gap:4px}#root .generation-settings-body .generation-options button{font-size:16.5px;padding-inline:2px}}#root :is(.choice button,.generation-options button,.ratio button,.global-nav button,.primary,.secondary,.download,.primary-button,.secondary-button,.ghost-button,.auth-primary-button,.auth-mode-switch button,.import-primary,.import-secondary,.import-kind-picker button,.import-source-options button,.preview-pixelize-presets>button,.preview-pixelize-mode-menu button,.pattern-export-type-switch button,.repository-modal-actions button,.publish-dialog-actions button,.mini-action){border-image:none;border-radius:0}#root :is(.choice button,.generation-options button,.ratio button,.global-nav button,.primary,.secondary,.download,.primary-button,.secondary-button,.ghost-button,.auth-primary-button,.auth-mode-switch button,.import-primary,.import-secondary,.import-kind-picker button,.import-source-options button,.preview-pixelize-presets>button,.preview-pixelize-mode-menu button,.pattern-export-type-switch button,.repository-modal-actions button,.publish-dialog-actions button,.mini-action):after{inset:0}html body{background:linear-gradient(#edf3fa 1px,transparent 1px),linear-gradient(90deg,#edf3fa 1px,transparent 1px),#f8fbff;background-size:40px 40px}#root .switch input:checked+.switch-track{background-color:#1677d2}#root .switch input:checked+.switch-track:after{background-color:#fff}#root .import-image-grid button.selected{border-color:#1677d2;background-color:#eaf3ff}#root .preview-stage{background-color:#fff}#root .workspace .action-row button,#root .workspace .control form>button[type=submit]{padding-block:6px}#root .workspace .control form>button[type=submit]{min-height:52px;padding-block:10px}#root .history-search-row input{height:50.4px}#root{font-size:16.5px;font-synthesis:none}#root :is(button,legend,label,p,span,strong,small,b,a){font-size:16.5px}#root :is(h1,h2,h3),#root :is(h1,h2,h3) :is(span,strong){font-size:33px;line-height:1.5;font-weight:400}#root .global-brand{font-size:16.5px}#root :is(input,textarea){font-family:var(--font-body);font-size:16.5px}#root :is(input,textarea)::placeholder{font-family:var(--font-body)}#root .workspace .action-row button{min-height:44px}#root .workspace .tag{max-width:100%;overflow-wrap:anywhere}#root .model-picker-trigger>span:first-child{min-width:0;overflow-wrap:anywhere}#root .model-picker-trigger>span:last-child{flex-shrink:0}#root .preview-pixelize-presets button{min-width:64px}#root .canvas-topbar :is(.topbar-back-button,.topbar-actions button,.topbar-mode-toggle,.advanced-feature-button,.editor-color-code-toggle){width:36px;min-width:36px;height:36px;padding:0;flex-shrink:0}#root .canvas-topbar:not(.collapsed) :is(.topbar-back-button,.topbar-actions button){width:auto;min-width:60px;padding-inline:8px}#root .canvas-topbar .compact-field{grid-template-columns:auto 144px}#root .canvas-topbar .mini-stepper{width:144px;max-width:144px;height:36px;grid-template-columns:28px minmax(0,1fr) 28px;border:2px solid var(--ink);border-radius:0}#root .canvas-topbar .mini-stepper button{width:100%;max-width:none;height:32px;min-width:0;margin:0;padding:0;border:0;border-image:none}#root .canvas-topbar .mini-stepper button:after{inset:0;box-shadow:inset -3px -3px var(--nes-button-shadow)}#root .canvas-topbar .mini-stepper input{height:32px;border:0;border-inline:2px solid var(--ink);border-image:none;padding:0 2px;line-height:normal}#root .floating-tool-palette{width:160px}#root .tool-palette-scroll{grid-template-columns:minmax(0,1fr);grid-auto-rows:max-content;padding:4px;overflow-x:hidden}#root .tool-palette-scroll>button,#root .floating-tool-palette>.tool-palette-toggle{width:100%;max-width:none;min-height:38px;margin:0;padding:6px;border-image:none;white-space:normal}#root .tool-palette-scroll>button:after,#root .floating-tool-palette>.tool-palette-toggle:after{inset:0}#root .floating-tool-palette>.tool-palette-toggle{justify-content:center}#root .floating-tool-palette.demo-collapsed{padding:4px;border:0;border-image:none;background:transparent;box-shadow:none}#root .floating-tool-palette.demo-collapsed>.tool-palette-toggle{width:48px;min-width:48px;min-height:48px;height:48px;padding:0;border-image:var(--nes-border) 2 / 2 / 2 stretch}#root .floating-tool-palette.demo-collapsed>.tool-palette-toggle:after{inset:-4px}#root .floating-tool-palette.demo-collapsed>.tool-palette-toggle svg{width:22px;height:22px}#root .eraser-width-control button{margin:0;max-width:none;height:30px;padding:0;border-image:none}#root .eraser-width-control button:after{inset:0}#root .layer-row{grid-template-columns:32px 34px minmax(0,1fr) 32px}#root :is(.layer-visibility,.layer-delete){width:32px;height:32px;margin:0;max-width:none;padding:0}#root .floating-color-panel .color-scroll{align-content:start}#root .floating-color-panel .color-row{min-height:34px}#root .floating-adjustments{position:fixed;right:auto;bottom:auto;width:min(560px,calc(100vw - 320px));max-height:calc(100dvh - 130px);overflow-y:auto}#root .adjustment-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,110px),1fr));gap:8px;overflow:visible;padding:4px}#root .adjustment-tabs button{width:100%;max-width:none;min-width:0;min-height:40px;margin:0;padding:6px;border-image:none;height:auto;white-space:normal;line-height:1.4}#root .adjustment-tabs button:after{inset:0}#root .active-adjustment-control,#root .active-adjustment-control input[type=range]{min-width:0}#root .reset-adjustments{margin:0;max-width:none}@media(max-width:700px){#root .floating-adjustments{width:calc(100vw - 24px);max-height:50dvh}#root .active-adjustment-control{grid-template-columns:minmax(0,1fr) 42px}#root .active-adjustment-control input[type=range]{grid-column:1 / -1}}#root .mard-color-picker{width:min(348px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto}#root .floating-tool-palette:has(.mard-color-picker){z-index:20}#root .mard-color-group-tabs{gap:6px;padding:4px}#root .mard-color-group-tabs button{flex:0 0 32px;width:32px;height:32px;margin:0;padding:0;max-width:none}#root .mard-color-grid{grid-template-columns:repeat(auto-fill,minmax(44px,1fr));padding:4px;align-content:start}#root .mard-color-grid .mard-color-option{width:100%;max-width:none;min-width:0;margin:0;padding:5px 2px;min-height:60px;grid-template-rows:26px auto;border:2px solid var(--ink);border-image:none}#root .mard-color-grid .mard-color-option:after{inset:0;box-shadow:inset -2px -2px var(--nes-button-shadow)}#root .mard-color-option i{max-width:100%}#root .mard-color-option span{max-width:100%;line-height:1.2}#root :is(.tool-palette-scroll>button,.choice button,.generation-options button,.global-nav button,.primary,.secondary,.download,.primary-button,.secondary-button,.ghost-button,.auth-primary-button,.auth-mode-switch button,.import-primary,.import-secondary,.import-kind-picker button,.import-source-options button,.repository-card-actions button,.repository-modal-actions button,.publish-dialog-actions button,.mini-action){height:auto;white-space:normal;overflow-wrap:anywhere;line-height:1.4}#root .tool-palette-scroll>button{min-width:0;height:max-content;align-self:start}#root .tool-palette-scroll>button span{white-space:normal;overflow-wrap:anywhere}#root .canvas-topbar:not(.collapsed) :is(.topbar-back-button,.topbar-actions button,.advanced-feature-button,.editor-color-code-toggle){width:auto;min-width:60px;padding-inline:8px;height:auto;min-height:36px;white-space:normal;overflow-wrap:anywhere;line-height:1.4;border-image:none}#root .canvas-topbar:not(.collapsed) :is(.topbar-back-button,.topbar-actions button,.advanced-feature-button,.editor-color-code-toggle):after{inset:0}#root .repository-shell .repository-card-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}#root .repository-shell .repository-card-actions button{width:100%;max-width:none;min-width:0;margin:0;min-height:38px;height:auto;padding:5px 0;border:2px solid var(--ink);border-image:none;white-space:normal;overflow-wrap:anywhere;line-height:1.4}#root .repository-shell .repository-card-actions button:after{inset:0;box-shadow:inset -2px -2px var(--nes-button-shadow)}#root .repository-shell .repository-card-actions .pattern-repository-open{grid-column:1 / -1}@media(max-width:700px){#root .floating-tool-palette{width:136px}}@media(max-width:480px){#root .workspace .ratio,#root .generation-settings-body .generation-options{grid-template-columns:repeat(2,minmax(0,1fr))}#root .generation-settings-dialog .settings-dialog-header{padding:12px;gap:8px}#root .generation-settings-dialog h2{white-space:nowrap}#root .generation-settings-dialog .settings-close{flex-shrink:0}#root .generation-switches{grid-template-columns:1fr}#root .import-source-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}#root .canvas-topbar :is(.editor-mapping-trigger,.editor-color-code-toggle){width:auto;min-width:0;height:36px;min-height:36px;padding:0 8px;gap:5px;flex-shrink:0;line-height:1}#root .canvas-topbar.collapsed :is(.editor-mapping-trigger,.editor-color-code-toggle){display:inline-grid;place-items:center;width:36px;min-width:36px;padding:0}#root .crop-control-popover{width:208px}#root .crop-control-popover>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}#root .crop-control-popover>div>button{width:auto;min-width:0;max-width:none;margin:0}@media(max-width:480px){#root .crop-control-popover{position:fixed;top:132px;left:auto;right:8px}}#root .pixel-color-menu{width:min(260px,calc(100vw - 16px));max-height:calc(100vh - 16px);overflow:auto;padding:12px;gap:8px}#root .pixel-color-menu small{font-size:12px}#root .pixel-color-menu button{display:flex;align-items:center;gap:10px;min-width:0;width:100%;max-width:none;margin:0}#root .pixel-color-menu button svg{flex-shrink:0}#root .pixel-color-menu form,#root .pixel-color-menu label{display:grid;gap:8px;min-width:0}#root .pixel-color-menu form{gap:12px}#root .pixel-color-menu input,#root .pixel-color-menu select{width:100%;min-width:0;padding:6px}#root .pixel-noise-panel{width:min(320px,calc(100vw - 16px));padding:16px;gap:18px}#root .pixel-noise-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}#root .pixel-noise-heading>div{display:grid;gap:4px}#root .pixel-noise-heading strong{font-size:20px;line-height:1.4}#root .pixel-noise-heading small{color:var(--color-muted)}#root .pixel-noise-heading>button{flex-shrink:0;width:32px;height:32px;min-height:32px;padding:0;justify-content:center}#root .pixel-noise-panel form{gap:16px}#root .pixel-noise-panel label,#root .pixel-noise-panel legend{color:var(--color-muted);font-size:14px;line-height:1.5}#root .pixel-noise-panel input{height:48px;font-size:24px;font-weight:700;text-align:center;border:2px solid #9eb9d4}#root .pixel-noise-panel input:focus{border-color:#1677d2}#root .pixel-noise-panel fieldset{min-width:0;margin:0;padding:0;border:0}#root .pixel-noise-panel legend{margin-bottom:8px;padding:0}#root .pixel-noise-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}#root .pixel-noise-options button{min-height:52px;padding:8px 6px;justify-content:center;text-align:center;line-height:1.4;white-space:normal}#root .pixel-noise-panel .pixel-noise-submit{min-height:48px;justify-content:center;font-weight:700}
