.shop-shell{background:var(--panel);color:var(--text);--shop-border:color-mix(in srgb,var(--text) 14%,var(--panel));--shop-soft:color-mix(in srgb,var(--accent) 6%,var(--panel));font:400 16px/1.5 var(--body)}
.shop-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;border-bottom:1px solid var(--shop-border)}
.shop-eyebrow{display:block;font-size:12px;font-weight:800;letter-spacing:.13em;color:var(--muted);margin-bottom:7px}.shop-header h3{font-size:25px;line-height:1.15;letter-spacing:-.8px}.shop-header p{font-size:14px;color:var(--muted);margin-top:8px}.shop-header-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.shop-icon-button{display:grid;place-items:center;background:var(--panel);border:1px solid var(--line);border-radius:9px;width:40px;height:40px}.shop-icon-button:hover{background:var(--accent);color:var(--on-accent)}.shop-icon-button svg{width:18px;height:18px}
.shop-layout{display:grid;grid-template-columns:350px minmax(0,1fr);align-items:start}.shop-controls{min-width:0;border-right:1px solid var(--shop-border);background:var(--panel)}.shop-panel-tabs{display:flex;flex-wrap:wrap;padding:14px 14px 12px;gap:5px;border-bottom:1px solid var(--shop-border)}.shop-panel-tabs button{flex:1 0 27%;font:700 14px/1.2 var(--body);padding:10px 9px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted)}.shop-panel-tabs button[aria-selected=true]{color:var(--on-accent);background:var(--accent);border-color:var(--text);box-shadow:2px 2px 0 var(--text)}.shop-panel-tabs button:hover{color:var(--text);border-color:var(--line)}.shop-panel{padding:24px 22px;max-height:1110px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.shop-panel-heading{margin-bottom:21px}.shop-panel-heading h4{margin:0 0 7px;font-size:17px;line-height:1.3;letter-spacing:-.3px}.shop-panel-heading p{font-size:14px;color:var(--muted);line-height:1.65;margin:0}.shop-field{display:block;font-size:14px;font-weight:650;color:var(--text);margin-bottom:19px;position:relative}.shop-field input:not([type=checkbox]):not([type=range]),.shop-field select,.shop-field textarea,.shop-search input,.shop-inline input{display:block;width:100%;min-height:44px;margin-top:8px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font:500 14px/1.5 var(--body)}.shop-field textarea{resize:vertical;font-family:ui-monospace,monospace;line-height:1.8;min-height:210px}.shop-field input[type=color]{padding:5px;height:43px;cursor:pointer}.shop-field select{appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23888888' stroke-width='1.6'/%3E%3C/svg%3E");background-size:10px;background-position:right 12px center;background-repeat:no-repeat}.shop-field input:focus,.shop-field select:focus,.shop-field textarea:focus,.shop-search input:focus{outline:2px solid var(--violet);outline-offset:2px}.shop-range input{display:block;width:100%;margin:14px 0 0;accent-color:var(--violet);cursor:pointer;padding:0;height:20px}.shop-range output{float:right;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.shop-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.shop-toggle{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:550;line-height:1.5;margin:16px 0}.shop-toggle input{width:17px;height:17px;accent-color:var(--violet);flex:none}.shop-search{display:block;margin-bottom:16px}.shop-search input{margin:0}.shop-preset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:735px;overflow:auto;padding:2px 5px 5px 1px;scrollbar-width:thin}.shop-preset{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:0;overflow:hidden;transition:transform .18s,box-shadow .18s,border-color .18s}.shop-preset:hover{transform:translateY(-2px);border-color:var(--text);box-shadow:3px 3px 0 var(--line)}.shop-preset.is-active{border:2px solid var(--text);box-shadow:3px 3px 0 var(--accent)}.shop-preset img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#201d22;min-height:100px}.shop-preset span{display:block;padding:9px 5px;font-size:12px;font-weight:750;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-note{font-size:13px!important;font-weight:400;color:var(--muted);line-height:1.75;margin:14px 0!important}.shop-note code{font-size:12px;background:var(--panel-2);padding:1px 3px;border-radius:3px;overflow-wrap:anywhere}.shop-upload{border:1px dashed var(--line);border-radius:10px;padding:15px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:20px 0;background:var(--shop-soft)}.shop-upload>div{width:100%;display:grid;grid-template-columns:22px 1fr;column-gap:10px;align-items:center}.shop-upload svg{width:20px;color:var(--muted);grid-row:span 2}.shop-upload strong{font-size:14px}.shop-upload span{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}.shop-upload .button{font-size:13px;padding:9px 12px;min-height:37px}.shop-upload .text-button{font-size:13px}.shop-upload.is-dragging{outline:3px solid var(--accent);border-color:var(--text);background:color-mix(in srgb,var(--accent) 15%,var(--panel))}.shop-detail{border-top:1px solid var(--line);padding-top:17px;margin-top:20px}.shop-detail summary{font-size:14px;font-weight:750;cursor:pointer;margin-bottom:17px}.shop-detail summary::marker{color:var(--violet)}.shop-inline{display:flex;gap:8px;margin-top:8px}.shop-inline input{min-width:0;margin:0!important}.shop-inline .button{padding:8px 10px;font-size:12px;min-height:42px;flex:none}.shop-theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 24px}.shop-theme{background:none;border:1px solid transparent;border-radius:8px;padding:4px;color:var(--muted);min-width:0}.shop-theme>span{display:block;height:29px;border-radius:5px;background:linear-gradient(135deg,var(--theme-light) 0 33%,var(--theme-color) 33% 66%,var(--theme-dark) 66%);border:1px solid #0002}.shop-theme small{display:block;font-size:10px;line-height:1.3;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-theme.is-active{border-color:var(--text);background:var(--shop-soft);color:var(--text)}.shop-theme:hover{background:var(--panel-2)}.shop-color-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.shop-layer-list{display:grid;gap:7px}.shop-layer{display:flex;gap:2px;padding:6px;border:1px solid var(--line);border-radius:9px;background:var(--bg)}.shop-layer.is-active{border-color:var(--text);box-shadow:2px 2px 0 var(--accent)}.shop-layer button{padding:7px;border:0;background:none;color:var(--muted);font-size:15px}.shop-layer button:first-child{flex:1;text-align:left;color:var(--text);font-size:13px;font-weight:650}.shop-layer button:hover{color:var(--violet);background:var(--panel)}.shop-full{width:100%}.shop-batch-progress{font-size:13px;margin-top:10px;color:var(--muted)}
.shop-output{padding:24px 28px 30px;background:var(--shop-soft);min-width:0;position:sticky;top:95px}.shop-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.shop-live-label{display:block;font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--muted);margin-bottom:3px}.shop-preview-toolbar strong{font-size:16px}.shop-stage-options{display:flex;gap:8px}.shop-backdrop-button{width:25px;height:25px;border:1px solid var(--line);border-radius:7px;background:repeating-conic-gradient(#ddd 0 25%,#fff 0 50%) 0 0/8px 8px}.shop-backdrop-button.is-dark{background:#201d22}.shop-backdrop-button.is-light{background:#fff}.shop-backdrop-button.is-active{outline:2px solid var(--text);outline-offset:3px}.shop-stage{display:flex;align-items:center;justify-content:center;min-height:440px;max-height:640px;padding:25px;border:1px solid var(--line);border-radius:15px;background:repeating-conic-gradient(color-mix(in srgb,var(--text) 7%,var(--panel)) 0 25%,var(--panel) 0 50%) 0 0/18px 18px;overflow:hidden;position:relative}.shop-stage[data-shop-stage=dark]{background:#201d22}.shop-stage[data-shop-stage=light]{background:#fff}.shop-stage canvas{display:block;max-width:100%;max-height:560px;height:auto;width:auto;object-fit:contain;box-shadow:0 18px 35px #0002;cursor:grab;touch-action:none}.shop-stage canvas.is-dragging{cursor:grabbing}.shop-rendering{position:absolute;bottom:15px;padding:8px 12px;background:var(--panel);border-radius:6px;font-size:12px}.shop-preview-caption{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:12px;color:var(--muted);margin:12px 1px 24px}.shop-preview-caption>span:first-child{display:flex;align-items:center;gap:6px}.shop-preview-caption svg{width:14px;height:14px}.shop-export-panel{border:1px solid var(--line);background:var(--panel);border-radius:13px;padding:22px}.shop-export-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:21px}.shop-export-heading h4{font-size:18px;letter-spacing:-.4px;margin:0 0 5px}.shop-export-heading p{font-size:13px;color:var(--muted)}.shop-png-badge{font-size:10px;font-weight:800;white-space:nowrap;letter-spacing:.07em;border:1px solid var(--line);border-radius:4px;padding:6px 8px;color:var(--muted)}.shop-export-settings{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:12px}.shop-export-buttons{display:flex;flex-wrap:wrap;gap:9px}.shop-export-buttons .button{font-size:13px;min-height:44px;padding:10px 13px;flex:1}.shop-export-buttons .button:first-child{flex:1.3}.shop-export-buttons svg{width:17px;height:17px}.shop-secondary-actions{display:flex;flex-wrap:wrap;align-items:center;gap:13px 18px;border-top:1px solid var(--line);padding-top:15px;margin-top:18px}.shop-secondary-actions .text-button{font-size:12px}.shop-secondary-actions svg{width:15px;height:15px}.shop-status{font-size:13px;line-height:1.6;color:var(--muted);margin-top:14px}.shop-status:empty{display:none}.shop-status.error{color:#cb314c;background:#ff344412;border:1px solid #ff344433;border-radius:6px;padding:10px}.shop-shell.is-fullscreen{position:fixed;inset:0;z-index:120;overflow:auto;background:var(--bg)}.shop-shell.is-fullscreen .shop-header{position:sticky;top:0;z-index:3;background:var(--panel)}.shop-shell.is-fullscreen .shop-layout{max-width:1600px;margin:auto;grid-template-columns:390px minmax(0,1fr)}.shop-shell.is-fullscreen .shop-output{top:115px}.shop-shell.is-fullscreen .shop-stage{max-height:calc(100vh - 240px)}.shop-shell.is-fullscreen .shop-stage canvas{max-height:calc(100vh - 290px)}
@media(max-width:1100px){.shop-layout{grid-template-columns:310px minmax(0,1fr)}.shop-output{padding:22px 18px}.shop-panel{padding:22px 17px}.shop-stage{padding:18px;min-height:330px}.shop-export-settings{grid-template-columns:1fr 1fr}.shop-export-settings>.shop-field:first-child{grid-column:1/-1}.shop-header{padding:24px;align-items:flex-start}.shop-header p{max-width:340px}.shop-header-actions{flex-wrap:wrap;max-width:240px}.shop-export-buttons .button{flex:auto}.shop-preview-caption{font-size:11px}}
@media(max-width:820px){.shop-header{flex-direction:column;gap:16px}.shop-header-actions{max-width:none}.shop-layout{grid-template-columns:280px minmax(0,1fr)}.shop-output{padding:16px 12px;top:85px}.shop-panel{padding:20px 14px}.shop-panel-tabs{padding:12px 9px;gap:3px}.shop-panel-tabs button{font-size:12px}.shop-theme-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-export-panel{padding:17px 13px}.shop-export-heading{align-items:flex-start}.shop-png-badge{display:none}.shop-export-settings{display:block}.shop-stage{padding:10px;min-height:230px}.shop-preview-caption>span:first-child{max-width:170px}.shop-export-buttons{display:grid;grid-template-columns:1fr}.shop-output .button{width:100%}.shop-export-heading h4{font-size:16px}}
@media(max-width:640px){.shop-header{padding:22px 18px}.shop-header h3{font-size:23px;max-width:300px}.shop-header p{font-size:14px}.shop-layout{display:flex;flex-direction:column}.shop-controls{width:100%;border-right:0;border-bottom:1px solid var(--line)}.shop-panel-tabs{position:sticky;top:65px;z-index:2;background:var(--panel);padding:13px 12px;flex-wrap:nowrap;overflow:auto}.shop-panel-tabs button{flex:1 0 auto;font-size:13px;padding:10px}.shop-panel{max-height:440px;padding:21px 18px}.shop-preset-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;gap:9px}.shop-preset img{min-height:70px}.shop-preset span{font-size:10px;padding:7px 3px}.shop-theme-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.shop-output{position:static;width:100%;padding:22px 16px}.shop-stage{min-height:280px;padding:15px;max-height:520px}.shop-stage canvas{max-height:480px;max-width:100%}.shop-preview-caption{font-size:11px}.shop-export-settings{display:grid;grid-template-columns:1fr 1fr}.shop-export-panel{padding:20px 16px}.shop-export-buttons .button{font-size:14px;min-height:46px}.shop-export-heading h4{font-size:19px}.shop-secondary-actions{gap:14px}.shop-secondary-actions .text-button{font-size:13px}.shop-shell.is-fullscreen .shop-layout{display:flex}.shop-shell.is-fullscreen .shop-header{position:static}.shop-shell.is-fullscreen .shop-panel-tabs{top:0}.shop-shell.is-fullscreen .shop-stage{max-height:600px}.shop-shell.is-fullscreen .shop-stage canvas{max-height:550px}}
@media(prefers-reduced-motion:reduce){.shop-preset{transition:none}.shop-preset:hover{transform:none}}
