@font-face{font-family:Geist;src:url('stickypace-assets/geist-variable.ttf') format('truetype');font-weight:100 900;font-display:swap}
.more-fields>summary>#moreFieldLabel{margin:0;color:inherit;font-size:inherit}
.import-status{padding:10px;margin:10px 0;border:1px solid var(--border);border-radius:4px;font-size:12px;line-height:18px;color:var(--text);overflow-wrap:anywhere}.import-status.import-error{color:#ffb8ae}.preview-panel{touch-action:none}.upload-field{position:relative}.upload-field input[type=file]{display:block;position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-field:focus-within{outline:1px solid var(--text);outline-offset:2px}
@media(max-width:760px){
  .app>.shell>.studio-grid{grid-template-rows:minmax(0,1fr) 32px calc(25dvh - 32px)}
  .studio-grid>.preview-panel{padding:40px 12px 12px}.preview-panel .canvas-toolbar{display:none}
  .studio-grid>.template-sidebar{padding:0 12px}.studio-grid .template-sidebar>.section-title{margin:5px 0;font-size:11px;line-height:16px}
  .template-sidebar>#templateStrip.template-library{display:flex;flex-direction:row;align-items:center;gap:6px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;touch-action:pan-x;margin:0;padding:0;min-height:0}
  #templateStrip.template-library .template-group,#templateStrip.template-library .template-group>.template-strip{display:contents}
  #templateStrip.template-library .template-group>h3{display:none}
  #templateStrip.template-library .template-chip{flex:0 0 78px;width:78px;height:auto;scroll-snap-align:start}
  .template-sidebar>.template-footer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 0 max(8px,env(safe-area-inset-bottom));margin-top:4px}
  .template-footer .brand .brand-logo{width:45px;height:18px}.template-footer .site-credit{font-size:9px;line-height:13px}
  .template-footer>.sidebar-import{display:flex;align-items:center;justify-content:center;gap:5px;width:auto;min-height:30px;height:30px;margin:0;padding:0 9px;font-size:11px}
  .studio-grid #paletteOptions{display:flex;overflow-x:auto;gap:6px;scroll-snap-type:x mandatory;touch-action:pan-x;padding:2px}
  #paletteOptions .palette-option{flex:0 0 100px;scroll-snap-align:start}
  #uploadModal.modal-backdrop{padding:0;place-items:end center}#uploadModal>.modal{width:100%;max-width:none;max-height:90dvh;border-radius:0;padding:14px 12px max(14px,env(safe-area-inset-bottom))}
  #uploadModal input[type=url]{font-size:16px}
  .studio-grid[data-mobile-panel=export]>.inspector-panel{padding-bottom:max(12px,env(safe-area-inset-bottom));overflow-y:auto}
}
.app:has(.template-sidebar){grid-template-rows:minmax(0,1fr)}.studio-grid>.template-sidebar{flex-direction:column;overflow:hidden;padding-bottom:0}.template-sidebar>.sidebar-import{display:flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;width:100%;margin-top:12px}.template-sidebar>.section-title{display:flex;justify-content:flex-start;gap:8px;flex-shrink:0;margin:16px 0 10px}.template-sidebar>#templateStrip{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;padding-bottom:12px}.template-footer{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:16px 0;border-top:1px solid var(--border)}.template-footer .brand h1{margin:0}.template-footer .brand-logo{filter:brightness(0) invert(1)}.template-footer .site-credit{padding:0;text-align:left}
@media(min-width:761px){.studio-grid>.template-sidebar{display:flex}}
@media(max-width:760px){.studio-grid:not([data-mobile-panel=export])>aside.template-sidebar{display:flex}.studio-grid .template-sidebar>.section-title{display:flex}.template-sidebar>.sidebar-import{min-height:34px}}
.brand .brand-logo{display:block;width:60px;height:24px;object-fit:contain}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#paletteOptions{grid-template-columns:repeat(2,minmax(0,1fr))}#paletteOptions .palette-option{padding:7px;min-height:38px}#paletteOptions .palette-option-colors{max-width:none;width:100%;height:22px}.preview-panel .canvas-toolbar{justify-content:flex-end}
.inspector-panel{flex-direction:column}.inspector-panel>.inspector,.export-section,.sidebar-bottom{flex-shrink:0}.sidebar-bottom{margin-top:auto;padding-top:24px}.sidebar-bottom .reset-button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%}.site-credit{padding:16px 0 0;font-size:11px;line-height:18px;color:var(--muted);text-align:center}.site-credit a{color:var(--text);text-decoration:none}.site-credit a:hover{text-decoration:underline}.site-credit a:focus-visible{outline:1px solid var(--text);outline-offset:3px}.export-section{border-top:1px solid var(--border);margin-top:16px}
@media(min-width:761px){.studio-grid>.inspector-panel{display:flex}}
@media(max-width:760px){.studio-grid[data-mobile-panel=export]>.inspector-panel{display:flex}.sidebar-bottom{padding-top:24px}}
:root{--panel:#080809;--row:#111113;--border:#232326;--text:#eeeeef;--muted:#98989f;--inspector-bg:var(--panel);--inspector-row:var(--row);--inspector-text:var(--text);--inspector-muted:var(--muted);--inspector-line:var(--border);--inspector-radius:6px;--inspector-font:Geist,sans-serif;--inspector-mono:Geist,sans-serif;--inspector-row-height:38px;font-family:Geist,sans-serif;font-size:12px}
html,body{height:100%;overflow:hidden;background:var(--panel)}
body,button,input,select,summary,output{font-family:Geist,sans-serif;font-size:12px;letter-spacing:0;font-variant-numeric:tabular-nums}
button,input,select{min-width:0}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:1px solid #bbb;outline-offset:2px}
[hidden]{display:none!important}.app{height:100dvh;min-height:0;grid-template-rows:44px minmax(0,1fr);background:var(--panel)}
.topbar{height:44px;padding:0 12px;background:var(--panel);backdrop-filter:none;border-color:var(--border)}
.brand-mark{display:none}.brand h1{font-size:14px;line-height:20px}.top-actions{gap:6px}.top-actions .row-button{height:30px;min-height:30px;padding:0 10px}.top-actions .icon-button{width:30px;height:30px;min-height:30px}
.shell{padding:0;min-height:0;max-width:none;width:100%}.studio-grid{display:grid;height:100%;min-height:0;grid-template-columns:272px minmax(0,1fr) 260px;gap:0}
.panel{margin:0;border-radius:0;border:0;background:var(--panel);min-width:0;padding:0 12px 20px}.import-panel{display:none}.template-sidebar,.inspector-panel{overflow:auto;scrollbar-width:thin;scrollbar-color:#333 transparent}.template-sidebar{border-right:1px solid var(--border)}.inspector-panel{border-left:1px solid var(--border)}
.section-title{font-size:13px;font-weight:600;line-height:18px;margin:16px 0 12px;display:flex;justify-content:space-between;align-items:center}.section-title span{font-size:11px;color:var(--muted);font-weight:400}
.search-input{width:100%;height:34px;border:1px solid var(--border);border-radius:6px;background:var(--row);color:var(--text);padding:0 10px;margin-bottom:6px}.search-input::placeholder{color:var(--muted)}
.control,.inspector-row{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:38px;height:auto;gap:6px;padding:3px 10px;margin:0 0 6px;border:1px solid var(--border);border-radius:6px;background:var(--row)}.control>span,.inspector-label{font-size:12px;color:var(--muted)}
.select-control select{max-width:136px;background:transparent;color:var(--text);border:0;text-align:right;padding:4px;font-size:12px}
.template-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0;margin-top:10px;max-height:none;overflow:visible}.template-chip{width:100%;height:auto;padding:0;border:1px solid transparent;border-radius:6px;background:none;box-shadow:none;overflow:hidden;transition:border-color .12s}.template-chip:hover{border-color:#555}.template-chip[aria-pressed=true]{border-color:#eeeeef;background:#111113}.mini-preview{width:100%;height:auto;aspect-ratio:4/3;background:transparent;border-radius:5px;overflow:hidden}.mini-preview img{width:100%;height:100%;object-fit:contain;display:block}.template-chip::after{display:none}
.preview-panel{position:relative;display:flex;align-items:center;justify-content:center;padding:60px 24px 52px;min-height:0;overflow:hidden;background:#2c2c2c;isolation:isolate}
.preview-panel.canvas-transparent{background-color:#161618;background-image:linear-gradient(45deg,#1c1c1f 25%,transparent 25%),linear-gradient(-45deg,#1c1c1f 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#1c1c1f 75%),linear-gradient(-45deg,transparent 75%,#1c1c1f 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}
.canvas-title{position:absolute;top:16px;left:16px;right:16px;display:flex;flex-direction:column;gap:3px;pointer-events:none;z-index:1}.canvas-title>span:first-child{font-size:12px;font-weight:500;max-width:calc(100% - 100px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.canvas-title>span:last-child{font-size:10px;color:var(--muted)}
.canvas-wrap{width:min(100%,620px);max-width:100%;margin:0;transform:scale(var(--zoom,1));transform-origin:center;flex:none}.sticker-stage,.sticker-stage.no-bg{position:relative;width:100%;max-width:none;height:auto;aspect-ratio:4/3;padding:0;background:none;border:0;border-radius:0;box-shadow:none;overflow:visible}
.sticker,.sticker.transparent{width:100%;height:auto;aspect-ratio:4/3;transform:none;background:transparent!important;box-shadow:none!important;border:0;border-radius:0;overflow:hidden}.sticker>svg{width:100%;height:100%}.sticker::before,.sticker::after{display:none}.canvas-editor{z-index:20;background:#080809;border:1px solid #aaa;border-radius:4px;font-family:Geist,sans-serif}
.floating-inspector{position:absolute;z-index:10;right:12px;top:56px;width:244px;max-width:calc(100% - 24px);max-height:calc(100% - 108px);background:var(--panel);border:1px solid var(--border);border-radius:6px;display:flex;flex-direction:column;overflow:hidden;touch-action:auto}
.floating-inspector header{display:flex;align-items:center;gap:5px;min-height:38px;padding:3px 6px;cursor:grab;touch-action:none;user-select:none;border-bottom:1px solid var(--border);flex-shrink:0}.floating-inspector header:active{cursor:grabbing}.floating-inspector header>svg{color:#64646c;width:14px;height:14px}.floating-inspector h2{margin:0;font-size:12px;font-weight:600;flex:1;white-space:nowrap}.floating-inspector header>span{color:var(--muted);font-size:10px}.floating-inspector.collapsed header{border-bottom:0}.floating-inspector.collapsed .inspector-fields{display:none}.floating-inspector.collapsed{width:220px}
.inspector-fields{overflow:auto;padding:6px;scrollbar-width:thin;overscroll-behavior:contain}.data-row{display:grid;grid-template-columns:minmax(58px,1fr) minmax(60px,1.3fr) 26px;align-items:center;gap:5px;min-height:38px;margin-bottom:5px;padding:3px 7px;background:var(--row);border:1px solid var(--border);border-radius:6px}.data-row>label{font-size:11px;color:var(--muted);white-space:normal;overflow-wrap:anywhere}.data-row input:not([type=checkbox]){width:100%;padding:5px 0;background:transparent;color:var(--text);text-align:right;border:0;font-size:11px;line-height:16px}.data-row input::placeholder{color:#64646c}.data-row .switch{width:26px;height:16px;min-width:26px;min-height:16px;appearance:none;padding:0;margin:0;border:1px solid #353539;border-radius:999px;background:#232326;cursor:pointer;position:relative}.data-row .switch::after{content:'';position:absolute;left:2px;top:2px;width:10px;height:10px;border-radius:50%;background:#929298;transition:transform .12s}.data-row .switch:checked{background:#dedee1;border-color:#dedee1}.data-row .switch:checked::after{background:#080809;transform:translateX(10px)}.data-row.route-row{grid-template-columns:1fr auto}
.canvas-toolbar{position:absolute;bottom:12px;left:12px;right:12px;display:flex;justify-content:space-between;align-items:center;gap:10px;z-index:2}.zoom-controls{display:flex;align-items:center;gap:6px}.zoom-controls input{width:80px;height:20px;accent-color:#ddd}.zoom-controls output{width:35px;text-align:center;font-size:10px;color:#ccc}
.icon-button,.row-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--border);border-radius:6px;background:var(--row);color:var(--text);min-height:30px;height:30px;padding:0 8px;font-size:12px;box-shadow:none}.icon-button{width:28px;height:28px;min-height:28px;padding:0;flex:none}.icon-button svg,.row-button svg{width:15px;height:15px;stroke-width:1.6;fill:none;stroke:currentColor;flex:none}.icon-button:hover,.row-button:hover{background:#1c1c20}.export-actions{display:flex;gap:6px;margin-bottom:6px}.export-actions button{flex:1;min-width:0;height:34px}.export-meta{font-size:10px;color:var(--muted);margin-bottom:18px}
.inspector{display:block;padding:0;gap:0}.editor-section{border:0;border-top:1px solid var(--border);margin-top:14px;padding-top:0}.editor-section>summary{display:flex;align-items:center;gap:6px;min-height:38px;cursor:pointer;list-style:none;font-size:12px;font-weight:500}.editor-section>summary::-webkit-details-marker{display:none}.editor-section>summary::before{content:'';width:5px;height:5px;border-right:1px solid #64646c;border-bottom:1px solid #64646c;transform:rotate(-45deg);margin:0 4px 0 2px}.editor-section[open]>summary::before{transform:rotate(45deg)}.editor-section>summary>button{margin-left:auto}.editor-section .inspector-row{margin-top:0}.palette-control{min-width:0;width:100%}.inspector-row:has(.palette-control){display:block;border:0;background:transparent;padding:4px 0 0}.inspector-row:has(.palette-control)>.inspector-label{display:none}.palette-range{width:100%;accent-color:#eee;margin:0 0 8px;height:20px}.palette-swatches{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;margin-bottom:12px}.palette-swatch{height:20px;min-width:0;border-radius:3px;border:1px solid #ffffff22}.color-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:6px}.color-role{display:flex;flex-direction:column;gap:6px;min-width:0}.color-role label{font-size:10px;color:var(--muted)}.color-role input[type=color]{appearance:none;width:100%;height:24px;padding:0;border:1px solid var(--border);border-radius:4px;background:transparent;cursor:pointer}.color-role input[type=color]::-webkit-color-swatch-wrapper{padding:0}.color-role input[type=color]::-webkit-color-swatch{border:0;border-radius:3px}.color-role input[type=text]{min-width:0;width:100%;height:26px;padding:0 3px;font-size:10px;text-align:center;border:1px solid var(--border);border-radius:4px;background:var(--row);color:var(--text)}
.switch{position:relative;display:block;flex:none;width:28px;height:17px;min-height:17px;padding:0;border:1px solid #38383c;background:#252528;box-shadow:none}.switch::before{display:none;content:none}.switch::after{content:'';position:absolute;width:11px;height:11px;top:2px;left:2px;border-radius:50%;background:#929298}.switch[aria-pressed=true]{background:#ddd;border-color:#ddd}.switch[aria-pressed=true]::after{background:#080809;transform:translateX(11px)}.activity-summary{display:grid;gap:7px;margin:0 0 12px;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.activity-summary strong{color:var(--text);font-weight:500}.inspector-panel #importAnother{width:100%;margin-bottom:12px}.mobile-tabs{display:none}
.section-title::after,.template-chip[aria-pressed=true]::after{content:none;display:none}.template-chip[aria-pressed=true]{outline:0;box-shadow:none}
.opacity-control{display:flex;align-items:center;justify-content:flex-end;gap:3px;height:26px;padding:0 4px;border:1px solid var(--border);border-radius:4px;background:var(--row)}.opacity-control input{width:100%;min-width:0;text-align:right;border:0;background:transparent;color:var(--text);font-size:10px}.opacity-control span{font-size:10px;color:var(--muted)}
.template-library{display:flex;flex-direction:column;gap:18px}.template-group{min-width:0}.template-group h3{display:flex;align-items:center;justify-content:space-between;font-size:12px;line-height:18px;font-weight:500;margin:0;color:var(--text)}.template-group h3 span{font-size:10px;color:var(--muted);font-weight:400}.template-group .template-strip{margin-top:6px}
.palette-select{height:34px;width:100%;padding:0 8px;border:1px solid var(--border);border-radius:6px;background:var(--row);color:var(--text);margin-bottom:6px}
.palette-select[hidden]{display:none}.palette-control{width:100%}#paletteOptions{display:grid;gap:5px;width:100%}.palette-option{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:36px;padding:6px;border:1px solid var(--border);border-radius:4px;background:var(--row);color:var(--text);font-size:10px}.palette-option[aria-checked=true]{border-color:#a3a3aa}.palette-option-colors{display:flex;flex:1;max-width:112px;height:18px;overflow:hidden;border-radius:2px}.palette-option-colors>span{flex:1}.inspector-row:has(#paletteOptions){display:block}.inspector-row:has(#paletteOptions)>.inspector-label{display:none}#paletteSwatches{margin-top:6px}.color-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-section>.color-role{display:grid;grid-template-columns:26px minmax(0,1fr) 64px;align-items:center;gap:6px}.editor-section>.color-role>label:first-child{grid-column:1/-1}.field-title-control input.switch{appearance:none;margin:0;border-radius:999px}.field-title-control input.switch:checked{background:#ddd;border-color:#ddd}.field-title-control input.switch:checked::after{background:#080809;transform:translateX(11px)}
.canvas-colors{display:flex;gap:8px;padding:8px 0}.canvas-colors button{width:24px;height:24px;border:1px solid #64646c;border-radius:4px}.canvas-colors button[aria-pressed=true]{outline:1px solid #eee;outline-offset:2px}.canvas-wrap{width:var(--art-width,40%);max-width:none;transform:none}.field-title-control{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;border-bottom:1px solid var(--border);font-size:11px}.floating-inspector.collapsed .field-title-control{display:none}.data-row>textarea.inspector-input{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:26px;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;font:11px/16px Geist,sans-serif;text-align:right;color:var(--text);background:transparent;border:0;padding:5px 0}.data-row>label{overflow-wrap:anywhere;white-space:normal}.canvas-title>span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
.more-fields{border-top:1px solid var(--border);margin-top:8px}.more-fields>summary{display:flex;align-items:center;gap:6px;list-style:none;min-height:34px;padding:0 6px;cursor:pointer;color:var(--text);font-size:11px}.more-fields>summary::-webkit-details-marker{display:none}.more-fields>summary::before{content:'';width:5px;height:5px;border-bottom:1px solid #64646c;border-right:1px solid #64646c;transform:rotate(-45deg)}.more-fields[open]>summary::before{transform:rotate(45deg)}.more-fields>summary>span{margin-left:auto;color:var(--muted);font-size:10px}
.floating-inspector{min-width:0}.floating-inspector.collapsed{height:auto!important;width:var(--collapsed-width,220px)!important}.inspector-fields{flex:1;min-height:0}.inspector-resize-bar{height:22px;flex:none;display:flex;justify-content:flex-end;background:var(--panel)}.inspector-resize-bar button{display:grid;place-items:center;width:24px;height:22px;background:transparent;border:0;color:var(--muted);padding:3px;cursor:nwse-resize;touch-action:none}.inspector-resize-bar svg{width:14px;height:14px;stroke-width:1.4}.floating-inspector.collapsed .inspector-resize-bar{display:none}
@media(max-width:760px){.floating-inspector{--collapsed-width:180px}.template-sidebar .section-title{display:flex}.template-library{gap:16px}}
.modal{border-radius:6px;background:var(--panel);padding:12px;box-shadow:none}.modal-head{margin:0 0 12px}.modal-head h2{font-size:13px}.modal-head button{width:28px;height:28px;border-radius:6px}.modal-backdrop{backdrop-filter:none}.upload-field{border-radius:6px;min-height:90px}.upload-field strong{font-size:13px}.upload-field span{display:none}.input-row input{height:34px;border-radius:6px}.input-row label{font-size:11px}.field-list{font-size:11px}.field-item{padding:6px 0}.toast{font:12px Geist,sans-serif;border-radius:6px;background:#111113;color:var(--text);border:1px solid var(--border);box-shadow:none;z-index:100}
@media(min-width:1051px){.preview-panel{padding-right:270px}.canvas-wrap{width:min(100%,600px)}}
@media(min-width:761px) and (max-width:1050px){.studio-grid{grid-template-columns:248px minmax(0,1fr) 232px}.panel{padding-left:9px;padding-right:9px}.preview-panel{padding-left:16px;padding-right:16px}.floating-inspector{right:9px}.zoom-controls{gap:3px}.zoom-controls input{width:48px}}
@media(max-width:760px){.topbar{padding:0 10px}.studio-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:clamp(260px,42dvh,420px) 40px minmax(0,1fr)}.preview-panel{grid-row:1;grid-column:1;display:flex;padding:44px 14px 42px;gap:0}.canvas-wrap{width:min(100%,340px)}.template-sidebar,.inspector-panel{grid-row:3;grid-column:1;border:0;padding:0 12px 20px;display:none}.studio-grid:not([data-mobile-panel=export]) .template-sidebar{display:block}.studio-grid[data-mobile-panel=export] .inspector-panel{display:block}.mobile-tabs{grid-row:2;grid-column:1;display:flex;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--panel)}.mobile-tabs button{flex:1;background:transparent;color:var(--muted);border:0;border-bottom:1px solid transparent;font-size:12px}.mobile-tabs button[aria-pressed=true]{color:var(--text);border-bottom-color:#eee}.template-strip{max-height:none;margin-top:10px;grid-template-columns:repeat(2,minmax(0,1fr));order:initial}.mini-preview{aspect-ratio:4/3}.floating-inspector{top:10px;right:10px;max-height:calc(100% - 54px);width:232px}.floating-inspector.collapsed{width:180px}.canvas-title{top:12px;left:12px}.canvas-title>span:first-child{max-width:145px;font-size:11px}.canvas-title>span:last-child{font-size:10px;max-width:145px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.canvas-toolbar{bottom:8px;left:10px;right:10px}.canvas-toolbar .icon-button{background:#080809}.zoom-controls input{width:62px}.section-title{margin-top:12px}.export-actions{margin-top:4px}.template-sidebar .section-title{display:none}.search-input{margin-top:12px}.floating-inspector header{min-height:32px}.floating-inspector h2{font-size:11px}.floating-inspector header>span{font-size:10px}.editor-section>summary{min-height:38px}}
