.static-gradient{isolation:isolate;text-align:center;background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:0 16px;font:600 15px/1.2 -apple-system,BlinkMacSystemFont,Helvetica Neue,Segoe UI,sans-serif;display:inline-flex;position:relative;overflow:hidden}.static-gradient:before,.static-gradient__grain{z-index:-1;border-radius:inherit;pointer-events:none;position:absolute;inset:0}.static-gradient:before{content:"";background:var(--gradient)}.static-gradient__grain{width:100%;height:100%;opacity:var(--grain);mix-blend-mode:soft-light}.gradient-label{overflow-wrap:anywhere;min-width:0;max-width:100%}.gradient-icon{flex-shrink:0}.live-gradient{transition:transform .16s}.live-gradient:hover{transform:translateY(-1px)}.live-gradient:active{transform:scale(.98)}
:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:#1d1d1f;--muted:#85858a;--line:#ebebed;--surface:#f5f5f7}*{box-sizing:border-box}html{scrollbar-gutter:stable;min-width:320px}body{color:var(--ink);-webkit-font-smoothing:antialiased;background:#fff;margin:0;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,Segoe UI,sans-serif;font-size:14px}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent;cursor:pointer;color:inherit}button:disabled{cursor:default}button,input{outline:none}button:focus-visible,input:focus-visible,summary:focus-visible,pre:focus-visible{outline-offset:4px;outline:2px solid #85858a}button{touch-action:manipulation}::selection{color:#171717;background:#dddddf}button svg{flex-shrink:0}.site-header{border-bottom:1px solid var(--line);height:80px}.header-inner{justify-content:space-between;align-items:center;width:min(1248px,100% - 96px);height:100%;margin:0 auto;display:flex}.wordmark{letter-spacing:-.9px;background:0 0;border:0;align-items:center;gap:10px;padding:0;font-size:21px;font-weight:550;display:flex}.wordmark-dot{color:#929295;margin-left:-9px}.brand-mark{border:1.7px solid;border-radius:20px;width:27px;height:17px;margin-right:2px}.navigation{background:#f6f6f7;border:1px solid #efeff0;border-radius:12px;gap:4px;padding:4px;display:flex}.navigation button{color:#77777c;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-height:34px;padding:0 18px;font-size:13px;font-weight:500;transition:color .16s,background .16s,box-shadow .16s;display:flex}.navigation button.active{color:var(--ink);background:#fff;box-shadow:0 1px 4px #0000000c,0 0 1px #00000014}.nav-count{color:#7c7c80;font-variant-numeric:tabular-nums;background:#e8e8eb;border-radius:5px;min-width:16px;height:16px;padding:0 4px;font-size:11px;line-height:16px}main{width:min(1248px,100% - 96px);margin:24px auto 80px}.editor{grid-template-columns:minmax(0,1fr) 312px;align-items:stretch;gap:24px;display:grid}.preview{background:var(--surface);color:#85858a;border-radius:20px;flex-direction:column;min-height:574px;transition:background .22s,color .22s;display:flex;position:relative;overflow:hidden}.preview-dark{color:#909096;background:#1d1d1f}.preview-toolbar{justify-content:space-between;align-items:center;min-height:66px;padding:18px 22px;font-size:13px;display:flex}.toolbar-actions{gap:5px;display:flex}.icon-button{width:32px;height:32px;color:inherit;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:0;transition:background .15s,color .15s;display:inline-flex}.icon-button:hover{color:var(--ink);background:#00000006}.preview-dark .icon-button:hover{color:#fff;background:#ffffff0b}.preview-center{flex:1;justify-content:center;align-items:center;min-height:220px;padding:30px 16px 40px;display:flex;container-type:inline-size}.live-scale{scale:min(1, calc(100cqw / (var(--button-width) * 1px)));justify-content:center;align-items:center;display:flex}.preview-bottom{grid-template-columns:1fr auto 1fr;align-items:center;min-height:76px;padding:12px 25px 22px;display:grid}.dimensions{font-variant-numeric:tabular-nums;letter-spacing:.2px;font-size:12px}.dimensions span{color:#aeaeb2;padding:0 4px}.preview-name{text-align:right;text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding-left:8px;font-size:12px;overflow:hidden}.background-switch{background:#e9e9ec;border-radius:11px;align-items:center;gap:3px;padding:4px;display:flex}.background-switch button{color:#8c8c91;background:0 0;border:0;border-radius:7px;place-items:center;width:32px;height:27px;padding:0;display:grid}.background-switch button.selected{color:#39393c;background:#fff;box-shadow:0 1px 3px #00000010}.preview-dark .background-switch{background:#303032}.preview-dark .background-switch button.selected{color:#fff;background:#545457}.inspector{border:1px solid #e7e7e9;border-radius:20px;padding:23px}.inspector-heading{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.inspector-heading h1{letter-spacing:-.2px;margin:0;font-size:15px;font-weight:600}.small-pill{color:#939398;background:#f4f4f6;border-radius:5px;padding:4px 8px;font-size:11px}.text-fields{flex-direction:column;gap:9px;display:flex}.text-field{align-items:center;gap:13px;display:flex}.text-field>span{color:#78787e;flex-shrink:0;width:38px;font-size:14px}.text-field input{color:#4d4d51;background:#f5f5f7;border:1px solid #0000;border-radius:7px;width:100%;min-width:0;height:33px;padding:0 10px;font-size:13px}.text-field input:focus{background:#fafafa;border-color:#b5b5bc}.control-section{border-top:1px solid var(--line);margin-top:17px;padding-top:16px}.section-label{color:#626268;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:14px;display:flex}.ink-switch{gap:3px;display:flex}.ink-switch button{background:0 0;border:1px solid #0000;border-radius:50%;width:21px;height:21px;padding:3px}.ink-switch button.selected{border-color:#a0a0a5}.ink-switch span{border-radius:50%;width:13px;height:13px;display:block}.white-dot{background:#fff;box-shadow:inset 0 0 0 1px #dedee1}.black-dot{background:#202022}.colors-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.color-control{flex-direction:column;gap:7px;display:flex}.color-swatch{cursor:pointer;border:1px solid #00000005;border-radius:7px;height:31px;display:block;position:relative;overflow:hidden}.color-swatch:focus-within{outline-offset:3px;outline:2px solid #85858a}.color-swatch input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.color-value{flex-direction:column;gap:3px;display:flex}.color-value label{color:#7d7d83;font-size:12px}.color-value input{letter-spacing:0;color:#626268;background:0 0;border:0;width:100%;padding:0;font-family:inherit;font-size:12px}.slider-control{flex-direction:column;gap:10px;min-width:0;display:flex}.control-label{color:#6f6f75;justify-content:space-between;gap:8px;font-size:14px;display:flex}.control-label output{color:#85858a;font-variant-numeric:tabular-nums;font-size:12px}input[type=range]{appearance:none;background:linear-gradient(to right, #656569 0%, #656569 var(--progress), #e9e9ec var(--progress), #e9e9ec 100%);cursor:pointer;border-radius:4px;width:100%;height:4px;margin:4px 0;padding:0;display:block}input[type=range]::-webkit-slider-thumb{appearance:none;background:#fff;border:.5px solid #d2d2d5;border-radius:50%;width:13px;height:13px;box-shadow:0 1px 3px #00000020}input[type=range]::-moz-range-thumb{background:#fff;border:.5px solid #d2d2d5;border-radius:50%;width:13px;height:13px;box-shadow:0 1px 3px #00000020}.shape-section{grid-template-columns:1fr 1fr;gap:17px 20px;padding-bottom:2px;display:grid}.shape-section .slider-control:last-child{grid-column:1/-1}.advanced-controls{border-top:1px solid var(--line);margin-top:18px}.advanced-controls summary{color:#6f6f75;cursor:pointer;justify-content:space-between;align-items:center;padding:16px 0;font-size:14px;list-style:none;display:flex}.advanced-controls summary::-webkit-details-marker{display:none}.advanced-controls[open] summary svg{transform:rotate(180deg)}.advanced-content{flex-direction:column;gap:18px;padding:4px 0 20px;display:flex}.save-button{color:#fff;background:#202022;border:1px solid #202022;border-radius:9px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:42px;padding:12px;font-size:14px;font-weight:500;transition:background .15s,transform .15s;display:flex}.save-button:hover:not(:disabled){background:#39393c}.save-button:active:not(:disabled){transform:scale(.985)}.save-button.saved{color:#77777b;background:#f4f4f6;border-color:#f4f4f6}.collection{margin-top:48px}.collection-heading{justify-content:space-between;align-items:center;margin-bottom:21px;display:flex}.collection-heading h2{letter-spacing:-.6px;margin:0;font-size:21px;font-weight:550}.collection-heading h2 span,.gallery-heading h1 span{color:#a3a3a8;letter-spacing:0;vertical-align:middle;font-variant-numeric:tabular-nums;margin-left:12px;font-size:12px;font-weight:400}.style-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 20px;display:grid}.style-card{background:#fff;border:1px solid #e9e9ed;border-radius:14px;transition:border-color .16s,box-shadow .16s;overflow:hidden}.style-card:hover{border-color:#c7c7ce;box-shadow:0 3px 15px #00000003}.style-card.is-selected{border-color:#b4b4bb}.card-preview{background:#f8f8fa;border:0;border-radius:0;justify-content:center;align-items:center;width:100%;height:139px;padding:10px;display:flex;overflow:hidden}.card-preview:focus-visible{outline-offset:-5px}.card-scale{transform:scale(var(--card-scale));pointer-events:none;flex-shrink:0;transition:transform .18s;display:flex}.card-preview:hover .card-scale{transform:scale(calc(var(--card-scale) * 1.035))}.card-footer{justify-content:space-between;align-items:center;min-height:48px;padding:9px 13px 9px 17px;font-size:14px;display:flex}.card-footer>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.card-action{color:#b3b3ba;flex-shrink:0;width:29px;height:29px}.card-action.is-saved{color:#56565c}.gallery-page{min-height:70vh}.gallery-heading{justify-content:space-between;align-items:center;margin:48px 0 30px;display:flex}.gallery-heading h1{letter-spacing:-1px;margin:0;font-size:30px;font-weight:550}.new-button{color:#fff;background:#202022;border:0;border-radius:8px;align-items:center;gap:7px;padding:11px 14px;font-size:12px;display:flex}.saved-grid .card-preview{height:175px}.empty-gallery{color:#ababaf;flex-direction:column;justify-content:center;align-items:center;gap:15px;min-height:430px;display:flex}.empty-gallery p{color:#85858a;margin:0;font-size:14px}.empty-gallery button{color:var(--ink);text-underline-offset:4px;background:0 0;border:0;padding:7px;font-size:13px;text-decoration:underline}.code-dialog{width:min(820px,100% - 32px);max-height:85dvh;color:var(--ink);border:1px solid #e0e0e4;border-radius:18px;padding:0;box-shadow:0 20px 100px #00000020}.code-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#00000035}.code-dialog-inner{overflow:hidden}.code-heading{justify-content:space-between;align-items:center;padding:18px 22px 12px;display:flex}.code-heading h2{margin:0;font-size:16px;font-weight:550}.code-tabs{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:0 22px 15px;display:flex}.code-tabs>div{gap:3px;display:flex}.code-tabs button{color:#8b8b90;background:0 0;border:0;border-radius:6px;padding:8px;font-size:11px}.code-tabs button.active{color:var(--ink);background:#f0f0f3}.code-tabs .copy-button{color:var(--ink);align-items:center;gap:6px;display:flex}.code-dialog pre{tab-size:2;background:#fafafa;max-height:60dvh;margin:0;padding:22px;font-size:12px;line-height:1.8;overflow:auto}.code-dialog code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.toast-region{z-index:10;max-width:calc(100% - 32px);position:fixed;bottom:28px;left:50%;transform:translate(-50%)}.toast{color:#fff;background:#252527f5;border-radius:12px;align-items:center;gap:10px;width:max-content;max-width:100%;padding:13px 18px;font-size:12px;animation:.18s ease-out toast-in;display:flex;box-shadow:0 4px 20px #00000018}.toast>svg{flex-shrink:0}.toast button{color:#fff;text-underline-offset:3px;background:0 0;border:0;padding:0 0 0 8px;font-size:12px;text-decoration:underline}@keyframes toast-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (min-width:1600px){main{margin-top:48px}.preview{min-height:650px}}@media (max-width:1100px){.header-inner,main{width:calc(100% - 64px)}.editor{grid-template-columns:minmax(0,1fr) 294px;gap:18px}.inspector{padding:24px 21px 21px}.style-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:760px){.site-header{height:78px}.header-inner,main{width:calc(100% - 40px)}main{margin-top:24px}.wordmark{gap:8px;font-size:19px}.brand-mark{width:24px;height:15px}.navigation button{padding:0 12px}.editor{grid-template-columns:minmax(0,1fr);gap:18px}.preview{min-height:350px}.preview-center{min-height:200px}.inspector{padding:24px}.text-field>span,.section-label,.control-label,.advanced-controls summary,.save-button{font-size:14px}.text-field input{height:38px;font-size:14px}.colors-grid{gap:16px}.color-swatch{height:43px}.color-value label,.color-value input{font-size:12px}.slider-control{gap:12px}input[type=range]{height:5px;margin:8px 0}input[type=range]::-webkit-slider-thumb{width:20px;height:20px}input[type=range]::-moz-range-thumb{width:20px;height:20px}.control-label output{font-size:12px}.shape-section{gap:20px}.save-button{min-height:46px}.collection{margin-top:36px}.style-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.card-preview{height:140px}.gallery-heading{margin-top:36px}}@media (max-width:440px){.site-header{height:112px}.header-inner{flex-direction:column;justify-content:center;gap:12px}.header-inner,main{width:calc(100% - 32px)}.wordmark{letter-spacing:-.7px;gap:0;font-size:18px}.brand-mark{display:none}.wordmark-dot{margin-left:0}.navigation{border-radius:10px;gap:0;padding:3px}.navigation button{gap:5px;padding:0 10px;font-size:12px}.nav-count{min-width:14px;font-size:10px}.preview{border-radius:16px;min-height:320px}.preview-toolbar{padding:14px 17px}.preview-bottom{padding:12px 17px 18px}.inspector{border-radius:16px;padding:23px 20px}.style-grid{grid-template-columns:minmax(0,1fr);gap:16px}.card-preview{height:155px}.card-footer{font-size:14px}.code-tabs{align-items:flex-end;gap:4px;padding:0 14px 12px}.code-tabs>div{flex-direction:column;align-items:flex-start}.code-dialog pre{padding:16px;font-size:11px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
