@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

/* Design language adapted from the supplied DESIGN.md. */
:root {
  --canvas:#fff; --ink:#222; --muted:#6c6c6c; --muted-soft:#8c8c8c;
  --disabled:#c1c1c1; --hairline:#ddd; --surface:#f2f2f2; --surface-soft:#f7f7f7;
  --hover:#ebebeb; --primary:#ff385c; --primary-active:#da1249; --focus:#3f3f3f;
  --radius:20px; --radius-control:12px; --radius-pill:999px;
  --shadow-small:0 1px 2px #00000014,0 4px 12px #0000000d;
  --shadow-float:0 0 0 1px #00000005,0 8px 24px #0000001a;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--ink);background:var(--canvas);font-synthesis:none;
}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:112px}body{margin:0;font-size:14px;line-height:1.45}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0}button,select,a{transition:background-color .16s,color .16s,box-shadow .16s,transform .16s}button:disabled{cursor:default;color:var(--disabled)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:none;box-shadow:0 0 0 2px var(--canvas),0 0 0 4px var(--ink)}[hidden]{display:none!important}.ui-icon{width:20px;height:20px;flex-shrink:0}

.topbar{height:88px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid var(--hover);position:sticky;top:0;z-index:10;background:var(--canvas)}.brand{display:flex;align-items:center;gap:8px;font-size:24px;font-weight:700;white-space:nowrap}.brandmark{color:var(--primary);font-size:38px;line-height:1}.studio-label{font-size:11px;font-weight:500;background:var(--surface);padding:5px 9px;border-radius:var(--radius-pill);margin-left:4px}.header-nav{display:flex;gap:4px;background:var(--surface-soft);border-radius:var(--radius-pill);padding:5px}.header-nav a{padding:9px 19px;border-radius:var(--radius-pill);font-size:13px;font-weight:500;color:var(--muted)}.header-nav .nav-active{background:var(--canvas);color:var(--ink);box-shadow:var(--shadow-small)}.header-nav a:hover{color:var(--ink)}.topbar-right{display:flex;gap:24px;align-items:center;font-size:12px}.local-status{display:flex;align-items:center;gap:7px;color:var(--muted)}.local-status i{width:6px;height:6px;background:var(--ink);border-radius:50%}.text-link{font-weight:500;white-space:nowrap}.text-link span{margin-left:5px}.text-link:hover{text-decoration:underline}

.workspace{display:grid;grid-template-columns:304px minmax(0,1fr);max-width:1800px;margin:auto}.sidebar{padding:28px 24px 32px;position:sticky;top:88px;max-height:calc(100dvh - 88px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--hairline) transparent;border-right:1px solid var(--hover);align-self:start;background:var(--canvas)}.sidebar-heading{margin-bottom:26px}.sidebar-heading h2{font-size:20px;font-weight:600;letter-spacing:-.18px;margin:0 0 5px}.step-badge{font-size:12px;color:var(--muted)}.panel-section,.appearance-controls{margin:0 0 26px}.section-label{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;font-weight:600;margin-bottom:12px}.section-label>span{font-size:10px;font-weight:500;padding:4px 8px;border-radius:var(--radius-pill);background:var(--surface-soft);color:var(--muted)}.dropzone{display:block;position:relative;overflow:hidden;width:100%;height:164px;padding:0;border-radius:var(--radius);background:var(--surface)}.dropzone img{display:block;width:100%;height:100%;object-fit:cover}.drop-overlay{position:absolute;bottom:12px;left:12px;right:12px;display:flex;align-items:center;justify-content:center;gap:9px;background:var(--canvas);padding:10px 8px;font-size:12px;font-weight:500;border-radius:var(--radius-pill);box-shadow:var(--shadow-small)}.upload-symbol{font-size:18px}.dropzone.dragging{outline:2px solid var(--ink);outline-offset:4px}.image-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;font-weight:500;margin-top:12px}.image-caption>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.link-button{background:transparent;padding:3px 0;font-size:12px;color:var(--ink);font-weight:500;white-space:nowrap;text-decoration:underline;text-underline-offset:3px;border-radius:4px}.link-button:hover{color:var(--muted)}.input-hint{font-size:11px;line-height:1.5;color:var(--muted);margin:5px 0 17px}.presets{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}.preset-list{display:flex;gap:7px}.preset{padding:0;width:29px;height:29px;background-size:cover;border-radius:50%;border:3px solid var(--canvas);outline:1px solid transparent}.preset.active{outline-color:var(--ink)}.preset:hover{outline-color:var(--muted-soft)}

.image-mode{border:0;padding:0;margin:0;min-width:0}.image-mode legend{padding:0}.mode-switch{display:flex;background:var(--surface);gap:3px;padding:4px;border-radius:var(--radius-control)}.mode-switch label{display:flex;position:relative;flex:1;min-width:0;cursor:pointer}.mode-switch input{position:absolute;opacity:0;width:1px;height:1px;margin:0}.mode-switch span{padding:10px 5px;border-radius:9px;font-size:11px;font-weight:500;white-space:nowrap;color:var(--muted);text-align:center;width:100%}.mode-switch label:has(input:checked) span{background:var(--canvas);color:var(--ink);box-shadow:var(--shadow-small)}.mode-switch label:has(input:focus-visible){box-shadow:0 0 0 2px var(--canvas),0 0 0 4px var(--ink);border-radius:9px}.mode-switch label:has(input:disabled){opacity:.5;cursor:default}.mode-hint{font-size:11px;line-height:1.5;color:var(--muted);margin:10px 0 0}.foreground-control{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-top:18px}.foreground-control>span{display:flex;align-items:center;gap:8px}.foreground-control output{font-size:11px;color:var(--muted)}.foreground-control input[type=color]{appearance:none;width:35px;height:32px;padding:3px;background:var(--surface);border-radius:8px;border:0;cursor:pointer}.foreground-control input::-webkit-color-swatch-wrapper{padding:0}.foreground-control input::-webkit-color-swatch{border:1px solid var(--hairline);border-radius:5px}.container-controls{display:grid;grid-template-columns:1fr 1.12fr;gap:12px 8px;align-items:center;margin-top:16px}.container-controls>label{font-size:12px}.container-controls>select{font-size:11px;min-width:0;width:100%;height:40px;background:var(--surface);border:0;border-radius:9px;padding:8px 6px;cursor:pointer}.container-controls .mode-hint{grid-column:1/-1;margin:0}.adjustment-section{padding-top:22px;border-top:1px solid var(--hover)}.slider-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin:19px 0 12px}.slider-label output{font-size:11px;font-variant-numeric:tabular-nums;padding:3px 7px;border-radius:6px;background:var(--surface-soft);color:var(--muted)}input[type=range]{appearance:none;display:block;width:100%;height:3px;background:var(--hairline);accent-color:var(--ink);cursor:pointer;margin:12px 0 14px}input[type=range]::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border:1px solid var(--ink);border-radius:50%;background:var(--canvas);box-shadow:0 1px 2px #00000014}input[type=range]::-moz-range-thumb{width:14px;height:14px;border:1px solid var(--ink);border-radius:50%;background:var(--canvas)}.range-hints{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.preview-heading .section-label{font-size:12px;margin:0}.preview-heading>span:last-child{font-size:11px;color:var(--muted);max-width:90px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.large-preview{height:164px;display:grid;place-items:center;border-radius:var(--radius);margin-top:14px;overflow:hidden}.large-preview svg{width:112px;height:112px}.checker{background-color:var(--canvas);background-image:linear-gradient(45deg,var(--surface) 25%,transparent 25%),linear-gradient(-45deg,var(--surface) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--surface) 75%),linear-gradient(-45deg,transparent 75%,var(--surface) 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.export-settings{display:flex;gap:10px;margin:16px 0 14px}.export-settings label{flex:1;min-width:0;font-size:11px;color:var(--muted)}.export-settings select{display:block;width:100%;margin-top:6px;background:var(--surface);font-size:11px;color:var(--ink);border:0;border-radius:10px;padding:10px 5px;min-height:40px;cursor:pointer}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:500;min-height:48px;padding:14px 24px;border-radius:var(--radius-pill);background:var(--surface);line-height:1.3}.button:hover:not(:disabled){background:var(--hover)}.button:active:not(:disabled){transform:scale(.98)}.button-dark{background:var(--ink);color:var(--canvas)}.button-dark:hover:not(:disabled){background:var(--focus)}.button-orange{background:var(--primary-active);color:var(--canvas)}.button-orange:hover:not(:disabled){background:#bd0f3d}.button-outline{background:var(--surface)}.full-width{width:100%}.privacy-note{text-align:center;font-size:11px;color:var(--muted);margin:14px 0 0}.privacy-note>span{margin-right:4px}

main{min-width:0;padding:32px 36px 0}.intro{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:center;gap:28px;padding:32px;background:var(--surface-soft);border-radius:24px}.eyebrow{font-size:12px;font-weight:500;color:var(--muted);margin-bottom:12px}h1{font-size:26px;font-weight:500;line-height:1.2;margin:0 0 16px;letter-spacing:-.44px}h1 em{font:inherit}.intro p{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 22px;max-width:350px}.intro .button{font-size:13px;padding:13px 20px}.hero-art{display:flex;align-items:center;flex-direction:column;gap:15px}.hero-icons{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:100%}.hero-tile{aspect-ratio:1;background:var(--canvas);border-radius:20px;display:grid;place-items:center}.hero-tile svg{width:58px;height:58px}.art-caption{font-size:11px;color:var(--muted)}.library{padding-top:34px;scroll-margin-top:10px}.library-title-row{display:flex;justify-content:space-between;align-items:center;gap:16px}.library-title{display:flex;align-items:center;gap:12px}.library-title h2{font-size:22px;font-weight:500;line-height:1.2;letter-spacing:-.44px;margin:0}.count-badge{font-size:11px;font-weight:500;background:var(--surface-soft);border-radius:var(--radius-pill);padding:6px 10px;white-space:nowrap;color:var(--muted)}.library-title-row>.button{font-size:12px;padding:11px 15px;min-height:40px;white-space:nowrap}.library-title-row>.button>span{font-size:11px;background:var(--canvas);min-width:22px;height:22px;display:grid;place-items:center;border-radius:50%}.library-toolbar{display:flex;align-items:center;gap:16px;margin:24px 0 20px}.search-wrap{display:flex;align-items:center;gap:13px;flex:1;min-width:0;height:56px;padding:0 20px;border:1px solid var(--hairline);border-radius:var(--radius-pill);box-shadow:var(--shadow-small);background:var(--canvas)}.search-wrap .ui-icon{color:var(--ink);width:18px;height:18px}.search-wrap input{border:0;background:transparent;outline:0;box-shadow:none;width:100%;min-width:0;font-size:14px;height:100%}.search-wrap:focus-within{box-shadow:0 0 0 2px var(--canvas),0 0 0 4px var(--ink)}.search-wrap input:focus-visible{box-shadow:none}.search-wrap input::placeholder{color:var(--muted)}.search-wrap kbd{font:inherit;font-size:12px;color:var(--muted-soft);background:var(--surface-soft);padding:2px 7px;border-radius:5px}.background-toggle{display:flex;align-items:center;gap:3px;border-radius:var(--radius-pill);background:var(--surface);padding:5px}.bg-button{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:transparent;font-size:19px;color:var(--muted)}.bg-button.active{background:var(--canvas);color:var(--ink);box-shadow:var(--shadow-small)}.category-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:3px 0 6px}.category{padding:10px 16px;min-height:40px;font-size:12px;font-weight:500;background:var(--surface);border-radius:var(--radius-pill);color:var(--muted);white-space:nowrap}.category.active{background:var(--ink);color:var(--canvas)}.category:hover:not(.active){background:var(--hover);color:var(--ink)}.category>span{margin-left:4px;font-size:11px}.results-info{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:21px 0 17px;font-size:12px;color:var(--muted)}.icon-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 16px}.icon-card{position:relative;min-width:0}.icon-view{padding:0;border:0;background:none;display:flex;flex-direction:column;align-items:flex-start;gap:10px;width:100%;text-align:left;border-radius:var(--radius)}.icon-art{display:grid;place-items:center;aspect-ratio:1;width:100%;border-radius:var(--radius);background:var(--surface-soft);transition:background .16s,outline .16s}.icon-art svg{width:56%;height:56%}.icon-name{display:block;font-size:12px;font-weight:500;line-height:1.3;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 2px}.icon-card.active .icon-art{outline:2px solid var(--ink);outline-offset:3px}.icon-view:hover .icon-art{background:var(--surface)}.select-icon{position:absolute;top:10px;right:10px;width:25px;height:25px;display:grid;place-items:center;border:1px solid var(--hairline);border-radius:50%;background:var(--canvas);color:transparent;font-size:12px;line-height:1;opacity:0;padding:0;box-shadow:0 1px 2px #00000014}.icon-card:hover .select-icon,.select-icon:focus-visible,.icon-card:focus-within .select-icon,.icon-card.selected .select-icon{opacity:1}.icon-card.selected .select-icon{background:var(--ink);color:var(--canvas);border-color:var(--ink)}.icon-grid.dark .icon-art{background:var(--ink)}.icon-grid.dark .icon-view:hover .icon-art{background:var(--focus)}.icon-grid.checkered .icon-art{background-color:var(--canvas);background-image:linear-gradient(45deg,var(--surface) 25%,transparent 25%),linear-gradient(-45deg,var(--surface) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--surface) 75%),linear-gradient(-45deg,transparent 75%,var(--surface) 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.load-more{display:flex;margin:32px auto 12px;font-size:13px}.empty-state{text-align:center;padding:64px 20px;color:var(--muted)}.empty-state>span{font-size:26px}.empty-state h3{font-size:20px;font-weight:600;letter-spacing:-.18px;color:var(--ink)}.empty-state p{font-size:14px}.empty-state .button{margin-top:12px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;padding:14px 24px;background:var(--ink);color:var(--canvas);font-size:13px;line-height:1.45;border-radius:var(--radius-control);box-shadow:var(--shadow-float);z-index:30}footer{display:flex;justify-content:space-between;gap:16px;background:var(--surface-soft);border-top:1px solid var(--hover);padding:24px 20px;margin:36px -36px 0;font-size:12px;color:var(--muted);flex-wrap:wrap}footer a{text-decoration:underline;text-underline-offset:3px;color:var(--ink);border-radius:4px}footer a:focus-visible{background:var(--focus);color:var(--canvas)}.footer-dot{margin:0 12px}

@media(min-width:1500px){.workspace{grid-template-columns:324px minmax(0,1fr)}.sidebar{padding-left:30px;padding-right:30px}main{padding:40px 48px 0}.intro{grid-template-columns:1fr 340px;padding:36px 40px}.hero-icons{gap:16px}.hero-tile svg{width:68px;height:68px}.icon-grid{grid-template-columns:repeat(7,minmax(0,1fr))}footer{margin-right:-48px;margin-left:-48px;padding-left:48px;padding-right:48px}}
@media(max-width:1150px){.topbar{padding:0 28px;gap:20px}.topbar-right .local-status{display:none}.workspace{grid-template-columns:284px minmax(0,1fr)}.sidebar{padding:26px 20px}.intro{grid-template-columns:1fr 210px;gap:20px;padding:26px}.hero-icons{gap:9px}.hero-tile{border-radius:16px}.hero-tile svg{height:44px;width:44px}main{padding:28px 28px 0}.intro p{font-size:13px}.icon-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.library-title{align-items:flex-start;flex-direction:column;gap:8px}.library-title h2{font-size:20px}footer{margin-left:-28px;margin-right:-28px;padding-left:28px;padding-right:28px}.category{padding:10px 13px}}
@media(max-width:900px){.header-nav{display:none}.intro{grid-template-columns:1fr;gap:22px}.hero-art{display:none}.intro p{max-width:420px}.library-title-row{align-items:flex-start}.icon-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 14px}.library-toolbar{gap:10px}.search-wrap{padding:0 15px;height:50px}.search-wrap input{font-size:12px}.search-wrap kbd{display:none}.background-toggle{gap:0;padding:4px}.bg-button{width:30px;height:30px}.library-title-row>.button{font-size:11px;padding:10px 12px}.library{padding-top:28px}}
@media(max-width:700px){html{scroll-padding-top:90px}.topbar{height:72px;padding:0 20px;position:sticky}.brand{font-size:22px}.brandmark{font-size:34px}.studio-label{font-size:10px}.text-link{font-size:11px}.workspace{display:flex;flex-direction:column}.sidebar{position:static;max-height:none;overflow:visible;border-right:0;border-bottom:1px solid var(--hover);display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:24px;padding:24px;width:100%}.sidebar-heading{grid-column:1/-1;margin:0}.sidebar-heading h2{font-size:20px}.sidebar .panel-section,.sidebar .appearance-controls{margin:0;min-width:0}.source-section{grid-column:1}.appearance-controls{grid-column:2}.dropzone{height:170px}.presets{align-items:flex-start;flex-direction:column;gap:10px}.preset{width:30px;height:30px}.adjustment-section{grid-column:1;padding-top:0;border:0}.export-section{grid-column:2}.preview-heading{align-items:flex-start;flex-direction:column;gap:5px}.preview-heading .section-label{font-size:12px}.large-preview{height:145px;margin-top:12px}.large-preview svg{height:96px;width:96px}.privacy-note{font-size:10px}.sidebar .button{font-size:12px;padding:12px}.mode-switch{flex-direction:column;gap:4px}.mode-switch span{font-size:12px}.mode-hint{font-size:11px}.container-controls{grid-template-columns:1fr;gap:7px}.container-controls>label{font-size:12px;margin-top:5px}.container-controls>select{font-size:12px}.foreground-control{flex-wrap:wrap;gap:8px}.foreground-control output{font-size:10px}.image-caption{font-size:11px}.input-hint{font-size:10px}.sidebar .link-button{font-size:11px}.export-settings{flex-direction:column;gap:9px;margin-top:10px}.export-settings select{font-size:11px;padding:8px 5px}.slider-label{font-size:12px;margin:20px 0 12px}main{padding:24px 24px 0;width:100%}.intro{grid-template-columns:1fr 180px;gap:16px;padding:24px}.hero-art{display:flex}.hero-icons{gap:8px}.hero-tile{border-radius:12px}.hero-tile svg{width:38px;height:38px}.art-caption{font-size:10px}.intro p{font-size:13px}.intro .button{min-height:44px;font-size:12px;padding:12px 16px}h1{font-size:26px}.eyebrow{font-size:11px}.library-title{flex-direction:row;align-items:center;flex-wrap:wrap}.library-title h2{font-size:20px}.library-title-row>.button{min-height:40px}.library-toolbar{margin-top:22px}.search-wrap{height:52px}.icon-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 12px}.icon-art{border-radius:16px}.icon-name{font-size:11px}.select-icon{width:22px;height:22px;top:8px;right:8px;opacity:1}.category{font-size:12px}.count-badge{font-size:10px}footer{font-size:11px;margin-left:-24px;margin-right:-24px;padding:24px}}
@media(max-width:520px){.topbar{gap:8px}.studio-label{display:none}.text-link{font-size:10px}.sidebar{padding:22px 20px;gap:22px 18px}.section-label{font-size:12px}.image-caption{align-items:flex-start;gap:6px}.image-caption>span{max-width:98px}.dropzone{height:155px}.drop-overlay{left:9px;right:9px;bottom:9px;font-size:10px;padding:9px 5px;gap:5px}.preset-list{gap:4px}.preset{width:28px;height:28px}.mode-switch span{padding:11px 4px;font-size:11px}.large-preview{height:138px}.large-preview svg{width:90px;height:90px}.preview-heading>span:last-child{max-width:140px}.privacy-note{line-height:1.6}.sidebar .button{font-size:11px}.range-hints{font-size:10px}.slider-label{font-size:11px}.slider-label output{font-size:10px}main{padding:22px 20px 0}.intro{display:block;padding:26px 24px}.hero-art{display:none}.intro p{max-width:300px}.eyebrow{font-size:11px}h1{font-size:26px;line-height:1.2}.library-title-row{gap:12px}.library-title{flex-direction:column;align-items:flex-start;gap:7px}.library-title h2{font-size:20px;max-width:200px}.library-title-row>.button{font-size:11px;padding:10px 12px;gap:5px}.library-title-row>.button>span{width:19px;height:19px;min-width:19px}.library-toolbar{gap:8px}.background-toggle{padding:4px}.bg-button{height:28px;width:28px;font-size:17px}.search-wrap{padding:0 14px;gap:9px}.search-wrap input{font-size:12px}.search-wrap .ui-icon{width:16px;height:16px}.icon-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 12px}.icon-art{border-radius:var(--radius)}.icon-name{font-size:11px}.results-info{font-size:11px}.results-info .link-button{font-size:11px}footer{margin-left:-20px;margin-right:-20px;padding:24px 20px;gap:12px}}
@media(max-width:360px){.sidebar{grid-template-columns:1fr}.sidebar-heading,.source-section,.appearance-controls,.adjustment-section,.export-section{grid-column:1}.mode-switch{flex-direction:row}.presets{flex-direction:row;align-items:center}.container-controls{grid-template-columns:1fr 1fr}.export-settings{flex-direction:row}.dropzone{height:180px}.icon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.text-link{font-size:9px}.library-title-row>.button{padding:9px;font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

/* Shared custom dropdowns: consistent inset chevrons and floating menus. */
.container-controls{grid-template-columns:minmax(82px,.85fr) minmax(0,1.3fr)}
.custom-shape-controls{display:contents}.custom-shape-controls>label{font-size:12px}
.dropdown{min-width:0;width:100%}.dropdown-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0;min-height:42px;padding:11px 14px;border:0;border-radius:var(--radius-control);background:var(--surface);color:var(--ink);font-size:11px;font-weight:400;line-height:1.4;text-align:left;cursor:pointer}.dropdown-trigger:hover:not(:disabled){background:var(--hover)}.dropdown-trigger[aria-expanded=true]{background:var(--hover)}.dropdown-trigger:disabled{color:var(--disabled);cursor:default}.dropdown-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-arrow{display:block;width:16px;height:16px;flex:0 0 16px;transition:transform .16s}.dropdown-trigger[aria-expanded=true] .dropdown-arrow{transform:rotate(180deg)}.dropdown-menu{position:fixed;z-index:50;overflow-y:auto;overscroll-behavior:contain;padding:6px;border:1px solid var(--hairline);border-radius:14px;background:var(--canvas);color:var(--ink);box-shadow:var(--shadow-float);scrollbar-width:thin;scrollbar-color:var(--hairline) transparent}.dropdown-option{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px;padding:10px 12px;border-radius:9px;font-size:12px;line-height:1.4;cursor:pointer}.dropdown-option.is-highlighted{background:var(--surface-soft)}.dropdown-option[aria-selected=true]{font-weight:500;background:var(--surface)}.dropdown-option[aria-disabled=true]{color:var(--disabled);cursor:default}.dropdown-check{width:14px;flex-shrink:0;visibility:hidden;font-size:13px}.dropdown-option[aria-selected=true] .dropdown-check{visibility:visible}.export-settings .dropdown{margin-top:6px}.export-settings .dropdown-trigger{padding-left:12px;padding-right:12px;font-size:11px}.export-settings label{display:block}.container-controls>.dropdown{align-self:center}@media(max-width:700px){.container-controls{grid-template-columns:1fr}.container-controls .dropdown-trigger{font-size:12px;min-height:44px}.dropdown-option{min-height:44px;font-size:13px}.export-settings .dropdown-trigger{min-height:42px}}@media(max-width:360px){.container-controls{grid-template-columns:1fr 1fr}}@media(prefers-reduced-motion:reduce){.dropdown-arrow{transition:none}}

.background-effects{margin-top:20px;padding-top:16px;border-top:1px solid var(--hover)}.blur-toggle-row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;font-size:12px;cursor:pointer}.blur-toggle-row input{position:absolute;right:0;width:40px;height:24px;margin:0;opacity:0;cursor:pointer}.switch-track{display:block;position:relative;width:40px;height:24px;flex:0 0 40px;border:1px solid var(--disabled);border-radius:var(--radius-pill);background:var(--canvas);pointer-events:none;transition:background .16s,border-color .16s}.switch-track::after{content:'';position:absolute;width:16px;height:16px;top:3px;left:3px;border-radius:50%;background:var(--muted-soft);transition:transform .16s,background .16s}.blur-toggle-row input:checked+.switch-track{background:var(--ink);border-color:var(--ink)}.blur-toggle-row input:checked+.switch-track::after{background:var(--canvas);transform:translateX(16px)}.blur-toggle-row input:focus-visible+.switch-track{box-shadow:0 0 0 2px var(--canvas),0 0 0 4px var(--ink)}.blur-toggle-row input:disabled+.switch-track{opacity:.5}.background-effects>.mode-hint{margin-top:4px}.background-effects .slider-label{margin-top:16px}.background-effects .range-hints{margin-top:0}

/* Keep both studio pages reachable on smaller screens. */
@media(max-width:900px){.topbar .header-nav{display:flex}.topbar .topbar-right{display:none}.topbar .header-nav a{padding:8px 13px;font-size:12px}.topbar{gap:12px}}
@media(max-width:520px){.topbar .header-nav{padding:4px}.topbar .header-nav a{padding:8px 11px;font-size:11px}}
@media(max-width:360px){.topbar{padding-left:15px;padding-right:15px}.topbar .brand{font-size:19px;gap:5px}.topbar .brandmark{font-size:30px}.topbar .header-nav a{padding:8px 9px;font-size:10px}}

/* Three continuous ribbons, with a shared tilt and soft edges. */
.hero-art{min-width:0;gap:8px}
.hero-icons{--ticker-gap:12px;display:block;position:relative;height:232px;width:100%;overflow:hidden;isolation:isolate;mask-image:linear-gradient(transparent,#000 15%,#000 85%,transparent)}
.hero-ticker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ticker-gap);width:calc(100% - 28px);margin:0 auto;transform:rotate(-8deg);transform-origin:50% 110px}
.hero-ticker{min-width:0}
.hero-ticker-track{animation:hero-ticker-scroll 24s linear infinite;will-change:transform}
.hero-ticker:nth-child(1) .hero-ticker-track{animation-delay:-7s}
.hero-ticker:nth-child(2) .hero-ticker-track{animation-duration:29s;animation-direction:reverse;animation-delay:-15s}
.hero-ticker:nth-child(3) .hero-ticker-track{animation-duration:26s;animation-delay:-19s}
.hero-ticker-group{display:grid;gap:var(--ticker-gap);padding-bottom:var(--ticker-gap)}
.hero-tile{min-width:0;aspect-ratio:1;border:1px solid #ffffffb3;box-shadow:0 3px 9px #22222204}
.hero-tile svg{width:72%;height:72%}
.hero-art-footer{display:flex;align-items:center;justify-content:center;gap:8px}
.hero-motion-toggle{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:transparent;color:var(--muted);padding:5px}
.hero-motion-toggle:hover{background:var(--canvas);color:var(--ink)}
.hero-motion-toggle svg{width:14px;height:14px}
.motion-play,.hero-motion-toggle[aria-pressed=true] .motion-pause{display:none}
.hero-motion-toggle[aria-pressed=true] .motion-play{display:block}
.hero-icons.is-paused .hero-ticker-track{animation-play-state:paused}
@keyframes hero-ticker-scroll{from{transform:translateY(0)}to{transform:translateY(-50%)}}
@media(min-width:1500px){.hero-icons{height:258px;--ticker-gap:14px}}
@media(max-width:1150px){.hero-icons{height:218px;--ticker-gap:9px}}
@media(min-width:701px) and (max-width:900px){.hero-art{display:flex;width:min(100%,290px);justify-self:center}.hero-icons{height:185px}}
@media(max-width:700px){.hero-icons{height:210px;--ticker-gap:8px}}
@media(max-width:520px){.hero-art{display:flex;max-width:280px;margin:22px auto 0}.hero-icons{height:174px;--ticker-gap:10px}.hero-art-footer{gap:6px}.hero-tile{border-radius:16px}}
@media(prefers-reduced-motion:reduce){.hero-ticker-track{animation:none;will-change:auto;transform:translateY(-35px)}.hero-ticker:nth-child(2) .hero-ticker-track{transform:translateY(-65px)}.hero-motion-toggle{display:none}}

/* A quiet preview ring; a persistent tint, border and check for batch selection. */
.icon-art{transition:background-color .16s,box-shadow .16s,outline-color .16s}
.icon-card.active .icon-art{outline:1px solid #b7b7b7;outline-offset:3px}
.icon-card.selected .icon-art{background-color:#fff1f4;box-shadow:inset 0 0 0 1px #e6afbd}
.icon-card.selected .icon-view:hover .icon-art{background-color:#ffebf0}
.icon-card.selected.active .icon-art{outline-color:#d895a6}
.icon-card.selected .icon-name{color:var(--primary-active);font-weight:600}
.icon-card.selected .select-icon{background:var(--primary-active);border-color:var(--primary-active);color:var(--canvas);box-shadow:0 1px 3px #da12491a;font-weight:600}
.icon-grid.dark .icon-card.selected .icon-art{background-color:#332a2e;box-shadow:inset 0 0 0 1px #b77c8b}
.icon-grid.dark .icon-card.selected .icon-view:hover .icon-art{background-color:#3a2d33}
.icon-grid.checkered .icon-card.selected .icon-art{background-color:#fff1f4}

.library-source-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}
.library-picker{display:flex;align-items:center;gap:12px;min-width:0}
.library-picker>label{font-size:12px;font-weight:500;white-space:nowrap}
.library-picker>.dropdown{width:240px;max-width:100%}
.library-picker .dropdown-trigger{font-size:12px;background:var(--surface-soft);min-height:42px}
#library-license{font-size:11px;color:var(--muted);white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.library-source-row+.library-toolbar{margin-top:18px}
.icon-source{font-size:10px;color:var(--muted);margin:-5px 2px 0}
@media(max-width:700px){.library-source-row{align-items:flex-start;flex-direction:column;gap:10px}.library-picker{width:100%}.library-picker>.dropdown{flex:1;min-width:0;width:auto}#library-license{font-size:10px}.icon-source{font-size:9px}}
