:root{--ink:#14223b;--muted:#5f6d83;--paper:#fafbfe;--white:#fff;--line:#e5e9f3;--brand:#594bd6;--brand-dark:#4738bc;--soft:#f0efff;--teal:#087b7c;--shadow:0 16px 48px rgba(33,41,82,.07);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.56;background:var(--paper)}a{color:var(--brand);text-underline-offset:3px}a:hover{color:var(--brand-dark)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}input,select{background:var(--white);color:var(--ink)}:focus-visible{outline:3px solid #8f80ff;outline-offset:3px}img{max-width:100%}.skip{position:absolute;left:10px;top:-70px;background:white;padding:12px 16px;z-index:40}.skip:focus{top:10px}.container{width:min(1152px,calc(100% - 40px));margin-inline:auto}.header{position:sticky;top:0;z-index:20;border-bottom:1px solid rgba(229,233,243,.9);background:rgba(255,255,255,.95);backdrop-filter:blur(16px)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-size:21px;font-weight:780;letter-spacing:-.7px}.brand:hover{color:var(--ink)}.brand-icon{height:37px;width:37px;border-radius:12px;display:inline-grid;place-items:center;background:linear-gradient(145deg,#6e60ef,#3424a7);color:white;font-weight:900;box-shadow:0 6px 15px #5e4dd82b}.nav{display:flex;align-items:center;gap:7px}.nav a{display:inline-block;padding:10px 14px;color:#566276;font-weight:650;text-decoration:none;font-size:14px;border-radius:10px}.nav a:hover,.nav a[aria-current="page"]{background:var(--soft);color:var(--brand)}.hero{padding:76px 0 60px;display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;color:#40369e;background:var(--soft);border:1px solid #dedaff;border-radius:999px;font-size:12px;font-weight:750;letter-spacing:.3px}.hero h1,.page-heading h1{font-size:clamp(36px,4.6vw,60px);letter-spacing:-2px;line-height:1.09;margin:18px 0 18px}.hero p{color:var(--muted);font-size:18px;max-width:620px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;min-height:44px;border-radius:11px;font-weight:720;border:1px solid transparent;text-decoration:none;transition:transform .13s ease,background .13s ease,box-shadow .13s ease}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--brand);color:white;box-shadow:0 7px 17px #594bd630}.btn.primary:hover{background:var(--brand-dark);color:white}.btn.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.btn.secondary:hover{border-color:#b1b9d3;color:var(--brand)}.btn.slim{min-height:37px;padding:7px 11px;font-size:13px}.btn.small{min-height:34px;padding:6px 9px;font-size:12px}.btn.icon-only{padding:8px;min-width:36px}.art{background:linear-gradient(145deg,#e9e6ff 0%,#e2f8f6 100%);min-height:360px;border-radius:32px;border:1px solid #dedbf7;position:relative;overflow:hidden;padding:32px;display:grid;align-items:center}.art::before{content:"";position:absolute;width:280px;height:280px;background:#a79dff7a;filter:blur(40px);border-radius:50%;right:-100px;top:-85px}.art-window{background:#fff;border:1px solid #e2defb;border-radius:19px;box-shadow:0 21px 60px #6153c733;z-index:1;padding:16px;width:min(100%,400px);margin:auto;transform:rotate(-2deg)}.art-dots{display:flex;gap:6px;margin-bottom:16px}.art-dots span{height:7px;width:7px;background:#dedbee;border-radius:100%}.art-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.art-swatches{display:flex;gap:5px}.art-swatches span{height:70px;flex:1;border-radius:8px}.art-label{font-weight:750;font-size:12px;margin:6px 0}.art-code{padding:9px;background:#f6f7ff;border:1px solid #ecebff;border-radius:8px;font-family:ui-monospace,monospace;font-size:12px;color:#5546c4;margin:10px 0}.symbol-art{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin-top:12px}.symbol-art span{background:#f6f7fd;border:1px solid #ecedf5;border-radius:8px;display:grid;place-items:center;aspect-ratio:1;font-size:22px}.section{padding:42px 0}.section-title{font-size:30px;letter-spacing:-.8px;line-height:1.2;margin:0 0 10px}.section-subtitle{max-width:720px;color:var(--muted);margin:0 0 25px}.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.feature-card{background:white;border:1px solid var(--line);border-radius:20px;padding:25px;box-shadow:var(--shadow);transition:transform .15s}.feature-card:hover{transform:translateY(-3px)}.feature-card h3{margin:15px 0 4px;font-size:22px;letter-spacing:-.5px}.feature-card p{color:var(--muted);margin:0 0 20px}.glyph{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:15px;background:var(--soft);font-size:27px;color:#5041bd}.feature-card .inline-link{text-decoration:none;font-weight:760}.tiny-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.tiny-card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:19px}.tiny-card h3{margin:9px 0 5px}.tiny-card p{margin:0;color:var(--muted);font-size:14px}.faq{max-width:850px}.faq details{background:#fff;border:1px solid var(--line);padding:15px 18px;border-radius:12px;margin-top:9px}.faq summary{cursor:pointer;font-weight:750}.faq p{color:var(--muted);margin-bottom:0}.footer{border-top:1px solid var(--line);background:#fff;margin-top:60px}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:28px 0;flex-wrap:wrap}.footer p{margin:0;color:var(--muted);font-size:13px}.footer-links{display:flex;gap:20px;flex-wrap:wrap}.footer-links a{font-size:13px;color:var(--muted);text-decoration:none}.footer-links a:hover{color:var(--brand)}.page-heading{padding:47px 0 25px}.page-heading h1{font-size:clamp(34px,3.9vw,46px);margin:12px 0}.page-heading p{max-width:750px;font-size:16px;color:var(--muted);margin:0}.breadcrumbs{font-size:13px;color:var(--muted)}.breadcrumbs a{text-decoration:none;color:var(--muted)}.workbench{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:18px}.panel{background:#fff;border:1px solid var(--line);box-shadow:0 10px 30px rgba(33,41,82,.045);border-radius:18px;padding:23px}.panel h2{font-size:18px;letter-spacing:-.3px;margin:0 0 5px}.panel p.lead{font-size:13px;color:var(--muted);margin:0 0 19px}.field-row{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.field{display:flex;flex-direction:column;gap:7px;flex:1;min-width:150px}.field label{font-weight:740;font-size:13px}.field input,.field select,.search-input{height:45px;border:1px solid #d5dbe7;border-radius:10px;padding:0 13px;width:100%;font-size:15px}.field input:focus,.field select:focus,.search-input:focus{outline:3px solid #9587ec66;border-color:var(--brand)}.field small{font-size:12px;color:var(--muted)}.field input[aria-invalid="true"]{border-color:#b82c49}.color-pick{width:62px!important;min-width:62px;padding:4px!important;cursor:pointer}.section-label{font-weight:760;font-size:13px;margin:21px 0 10px}.color-preview{height:174px;border-radius:15px;border:1px solid #d9ddea;display:flex;align-items:end;padding:16px;transition:none}.color-preview-label{background:#ffffffee;border-radius:10px;padding:7px 12px;font-family:ui-monospace,monospace;font-size:14px;color:#273048}.values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.value-box{border:1px solid var(--line);border-radius:12px;padding:10px;min-width:0}.value-box strong{display:block;font-size:12px;color:var(--muted);font-weight:650}.value-box code{display:block;font-size:12px;overflow-wrap:anywhere;min-height:37px;padding:7px 0}.value-box button{width:100%}.swatch-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.swatch{border:1px solid #d7dbe8;border-radius:12px;overflow:hidden;padding:0;background:#fff;text-align:center;min-width:0}.swatch-color{display:block;height:74px}.swatch-label{font-family:ui-monospace,monospace;font-size:10px;display:block;padding:7px 1px;color:#45516b}.swatch:hover{box-shadow:0 0 0 2px #bfb7ff}.contrast-preview{min-height:100px;padding:22px;border-radius:12px;border:1px solid var(--line);font-size:23px;font-weight:780;display:grid;place-items:center;text-align:center;overflow-wrap:anywhere}.result{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.ratio{font-size:26px;font-weight:800;letter-spacing:-.5px}.pill{display:inline-block;border-radius:100px;padding:5px 10px;font-size:11px;font-weight:760;background:#f0f2f7;color:#566176}.pill.good{background:#e6f7ef;color:#10744f}.pill.bad{background:#fff0f1;color:#a82d43}.criteria{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.help-section{padding-top:35px;max-width:850px}.help-section h2{font-size:23px;letter-spacing:-.4px}.help-section h3{font-size:17px}.help-section p,.help-section li{color:var(--muted)}.help-section code{background:#f0efff;color:#43359f;border-radius:5px;padding:1px 5px}.status{font-size:13px;color:var(--teal);min-height:23px;margin-top:9px}.error{color:#b82c49}.toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.toolbar .field{min-width:145px}.toolbar .search-field{flex:2;min-width:260px}.stat{color:var(--muted);font-size:13px}.chips{display:flex;gap:7px;flex-wrap:wrap;padding:14px 0}.chip{border:1px solid #dadfed;background:#fff;border-radius:100px;padding:8px 13px;font-size:13px;font-weight:650;color:#526078}.chip:hover,.chip[aria-pressed="true"]{background:var(--soft);color:var(--brand);border-color:#b9b1fc}.symbol-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.symbol-card{background:white;border:1px solid var(--line);border-radius:14px;padding:12px;min-width:0;display:flex;flex-direction:column;align-items:stretch;box-shadow:0 4px 12px #1b245407}.symbol-card .symbol-copy{border:0;background:none;padding:9px 2px 5px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;border-radius:10px;min-height:102px;width:100%}.symbol-card .symbol-copy:hover{background:#f4f2ff}.symbol-char{font-size:42px;line-height:1.3;color:#3e3689;font-family:"Segoe UI Symbol","Noto Sans Symbols 2","DejaVu Sans",system-ui,sans-serif}.symbol-name{font-size:12px;font-weight:730;text-align:center;line-height:1.3;min-height:31px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.symbol-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:8px;margin-top:auto;gap:5px}.symbol-code{font-family:ui-monospace,monospace;font-size:11px;color:var(--muted)}.favorite{font-size:18px;border:0;background:none;color:#8a92a4;line-height:1;padding:5px}.favorite[aria-pressed="true"]{color:#bb7920}.empty{border:1px dashed #cdd3e6;border-radius:16px;background:#fff;padding:32px;text-align:center;color:var(--muted);margin-top:10px}.symbol-status{min-height:22px}.notice{border-left:4px solid #8575f3;background:#f2f0ff;border-radius:0 10px 10px 0;padding:13px 17px;color:#473a84;font-size:14px}.article{max-width:815px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:32px}.article h2{margin-top:30px;letter-spacing:-.4px}.article h2:first-child{margin-top:0}.article p,.article li{color:var(--muted)}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:900px){.hero{grid-template-columns:1fr;padding:47px 0 25px}.art{min-height:280px}.workbench{grid-template-columns:1fr}.symbol-list{grid-template-columns:repeat(4,minmax(0,1fr))}.tiny-grid{grid-template-columns:1fr}}
@media(max-width:620px){.container{width:min(100% - 28px,1152px)}.header-inner{min-height:64px;flex-wrap:wrap;gap:2px;padding:9px 0}.brand{font-size:19px}.nav{width:100%;justify-content:space-between}.nav a{padding:6px 9px;font-size:12px}.hero h1{letter-spacing:-1.5px}.hero p{font-size:16px}.tool-grid{grid-template-columns:1fr}.section{padding:31px 0}.section-title{font-size:25px}.panel{padding:17px}.values{grid-template-columns:1fr}.value-box{display:flex;justify-content:space-between;align-items:center;gap:12px}.value-box code{min-height:auto}.value-box button{width:auto}.swatch-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.swatch-color{height:56px}.swatch-label{font-size:9px}.symbol-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.art{padding:17px}.hero-actions a{flex:1}.footer-inner{align-items:flex-start;flex-direction:column}.article{padding:22px}.page-heading{padding-top:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* V0.1.1: keep the active tool recognizable in the existing sticky header. */
.header-context{display:flex;align-items:center;gap:12px;min-width:0;margin-left:auto;font-size:13px;font-weight:740;color:var(--ink)}
.header-context-name{white-space:nowrap}
.header-context-color{display:inline-flex;align-items:center;gap:7px;color:var(--muted);background:#f6f6fd;border:1px solid var(--line);border-radius:999px;padding:5px 9px;font:650 12px ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap;font-variant-numeric:tabular-nums}
.header-context-dot{display:inline-block;flex:none;height:13px;width:13px;border:1px solid #0002;border-radius:50%;background:#6D5EF7}
.palette-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:22px}
.palette-heading .section-label{margin:0;font-size:14px}
.palette-tabs{padding:10px 0 4px}
.palette-status{margin:0 0 7px;min-height:24px;font-weight:680;font-size:12px}
.swatch{position:relative;transition:box-shadow .13s ease,transform .13s ease,border-color .13s ease;touch-action:manipulation;cursor:copy}
.swatch-color{height:77px}
.swatch-label{padding:10px 4px;font-size:11px;font-weight:750;letter-spacing:.1px;white-space:nowrap}
.swatch:hover{border-color:#afa6f9;box-shadow:0 0 0 2px #d2cdff;transform:translateY(-2px)}
.swatch:active{transform:translateY(0)}
.swatch.is-copied{border-color:var(--brand);box-shadow:0 0 0 3px #b9b1ff}
.swatch.is-copied::after{content:'Copied ✓';position:absolute;left:50%;top:12px;transform:translateX(-50%);background:#fff;color:#243055;border-radius:6px;padding:4px 6px;font-size:11px;font-weight:800;box-shadow:0 2px 7px #0002;white-space:nowrap;pointer-events:none}
@media(max-width:900px){.header-context{margin-left:auto}}
@media(max-width:620px){
  .header-inner{column-gap:8px}
  .header-context{gap:6px;margin-left:auto;font-size:12px}
  .header-context-color{font-size:11px;padding:4px 7px}
  .header-context-dot{height:11px;width:11px}
  .header-context-name{font-size:12px}
  .header-context + .nav{width:100%}
  .palette-heading .btn{min-height:37px}
  .swatch-label{font-size:10px;padding:9px 1px}
  .swatch-color{height:64px}
}
@media(max-width:390px){
  .header-context{gap:5px}
  .header-context-name{font-size:11px}
  .header-context-color{font-size:10px}
  .palette-heading{align-items:flex-start}
  .swatch-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .swatch-color{height:68px}
  .swatch-label{font-size:11px}
}

/* V0.1.2 — LuckyHueLab color language: expressive surfaces, legible controls. */
:root{
  --ink:#271f42;--muted:#625e79;--paper:#faf8ff;--line:#e8e1f5;
  --brand:#6241c7;--brand-dark:#4c2dac;--soft:#f1eaff;--teal:#116b66;
  --shadow:0 15px 45px rgba(89,54,147,.08);
  --rainbow:linear-gradient(100deg,#7855ea 0%,#d45ec2 35%,#fa9378 64%,#eabb5a 85%,#5ecab7 100%);
}
body{background:radial-gradient(circle at 94% 130px,#ffe6f0 0,transparent 320px),radial-gradient(circle at 3% 580px,#e1f5ff 0,transparent 360px),linear-gradient(180deg,#faf8ff,#fffafd 62%,#f8f9ff);min-height:100vh}
.header{background:rgba(255,253,255,.94);border-bottom-color:#e9e1f0}
.header::after{content:"";display:block;height:3px;background:var(--rainbow)}
.brand{letter-spacing:-.85px}
.brand-icon{font-size:27px;background:linear-gradient(138deg,#6a55e8 0%,#ba5fd7 45%,#fc8b85 90%);box-shadow:0 7px 16px #a567c43b}
.nav a[aria-current="page"]{background:#eee6ff;color:#5834aa}
.gradient-text{background:linear-gradient(100deg,#6a49d4 4%,#bf4fb3 48%,#df6f79 73%,#c77d25 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero{padding-top:78px}
.hero h1{font-weight:820}
.eyebrow{color:#6636b4;background:#f2e8ff;border-color:#e1cdff}
.btn.primary{background:linear-gradient(110deg,#6846d4,#ba50b5);border-color:#6846d4;box-shadow:0 8px 20px #904bbb30}
.btn.primary:hover{background:linear-gradient(110deg,#5533bf,#a636a5);box-shadow:0 8px 25px #904bbb40}
.btn.secondary{background:#fffdfd;border-color:#e3dceb}
.btn.secondary:hover{border-color:#aa87da;background:#f8f1ff}
.art{background:linear-gradient(130deg,#e6dcff 0%,#fbdcf0 33%,#ffe8cc 64%,#d6f5f3 100%);border-color:#efdcfc;isolation:isolate}
.art::before{background:#ffbfcb99;right:-90px;top:-90px}
.art::after{content:"";position:absolute;width:240px;height:240px;background:#9e9dff55;border-radius:50%;filter:blur(37px);bottom:-120px;left:-100px}
.art-window{box-shadow:0 25px 56px #7e4e9540;transform:rotate(-3deg)}
.art-dots span:nth-child(1){background:#fb9cbd}.art-dots span:nth-child(2){background:#ffd07c}.art-dots span:nth-child(3){background:#9be1cc}
.art-code{background:#f9edff;color:#6740b3;border-color:#ead7ff}
.art-orbit{position:absolute;z-index:2;font-size:42px;filter:drop-shadow(0 3px 7px #6d4bb333)}
.art-orbit-one{top:16px;right:24px;color:#f3ae47}.art-orbit-two{bottom:10px;left:20px;color:#dc66a4}
.symbol-art span:nth-child(6n+1){background:#fce0ed;color:#b94583}.symbol-art span:nth-child(6n+2){background:#fef0cd;color:#a56808}.symbol-art span:nth-child(6n+3){background:#ebe2ff;color:#6847bc}.symbol-art span:nth-child(6n+4){background:#dcf4f1;color:#167b71}.symbol-art span:nth-child(6n+5){background:#dfefff;color:#2f70b0}.symbol-art span:nth-child(6n+6){background:#fbe4d7;color:#be6435}
.section-title{color:#352459}
.feature-card{position:relative;overflow:hidden;border-color:#ebdef5;transition:transform .2s ease,box-shadow .2s ease}
.feature-card::before{content:"";position:absolute;top:0;left:0;right:0;height:6px;background:var(--rainbow)}
.feature-card.card-color{background:linear-gradient(160deg,#fff,#fcf4ff 74%,#fdf1e8)}
.feature-card.card-symbols{background:linear-gradient(160deg,#fff,#f2f2ff 65%,#e8f9f6)}
.feature-card.card-symbols::before{background:linear-gradient(90deg,#6f7fef,#43c3ba,#f0ad60)}
.feature-card:hover{box-shadow:0 18px 42px #6851a222}
.feature-card.card-color .glyph{background:#f5ddf7;color:#b047ab}
.feature-card.card-symbols .glyph{background:#dceefa;color:#327ac0}
.inline-link{color:#5836b8}
.tiny-card{border-color:#e9e1f0}
.mini-rose{background:linear-gradient(135deg,#fff,#fff1f6)}
.mini-aqua{background:linear-gradient(135deg,#fff,#e8faf7)}
.mini-yellow{background:linear-gradient(135deg,#fff,#fff5de)}
.mini-rose .glyph{background:#fce1ef;color:#bf4e89}
.mini-aqua .glyph{background:#d8f6f0;color:#187b75}
.mini-yellow .glyph{background:#fff0c0;color:#9a6714}
.panel{border-color:#e9e0f2;box-shadow:0 14px 45px #5440750d}
.panel:not(.symbol-workspace){border-top:4px solid #ae75d6}
.workbench>.panel:nth-child(2){border-top-color:#54c7bb}
.page-heading h1{color:#352459}
.studio-eyebrow{margin-top:14px}
.chip{border-color:#e2d9ee;background:#fff;color:#4d4665}
.chip:nth-child(7n+1){background:#f6edff;border-color:#e4d4fb}
.chip:nth-child(7n+2){background:#fff0f6;border-color:#f6dce7}
.chip:nth-child(7n+3){background:#ecf8ff;border-color:#d5ecfb}
.chip:nth-child(7n+4){background:#eafaf5;border-color:#d1eee5}
.chip:nth-child(7n+5){background:#fff6e6;border-color:#f5e6cb}
.chip:nth-child(7n+6){background:#f0eeff;border-color:#dcd7f6}
.chip:nth-child(7n+7){background:#ffefea;border-color:#f8dfd4}
.chip[aria-pressed="true"]{background:#6241c7;color:#fff;border-color:#6241c7;box-shadow:0 4px 12px #6747c32b}
.chip:hover:not([aria-pressed="true"]){background:#eee5ff;border-color:#ab8dec;color:#5732ab}
.swatch{border-color:#d9d0e6;transition:transform .13s ease,box-shadow .13s ease}
.swatch:hover{box-shadow:0 0 0 3px #f5bddd;transform:translateY(-2px)}
.swatch.is-copied{box-shadow:0 0 0 3px #52bbaa}
.footer{background:linear-gradient(90deg,#f8f2ff,#fff6fa,#effbf7)}
/* Library hero and featured multi-character combinations */
.symbol-page-heading{padding-bottom:22px}
.symbol-intro-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.75fr);align-items:center;gap:22px}
.symbol-eyebrow{margin:7px 0 1px;background:#fff0f7;border-color:#ffd4ea;color:#a43e86}
.featured-showcase{padding:17px;border:1px solid #ebd5f7;background:linear-gradient(128deg,#f4e9ff,#ffe8ef 53%,#ffedd7);border-radius:20px;box-shadow:0 13px 28px #9f62b91c}
.featured-caption{font-size:12px;font-weight:750;color:#624977}
.featured-row{display:flex;gap:8px;margin-top:10px}
.featured-combo{flex:1;min-width:0;min-height:89px;border:1px solid #ead1e9;background:#fffefa;border-radius:13px;padding:7px 4px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;transition:transform .15s ease}
.featured-combo:hover{transform:translateY(-2px);border-color:#ca8acf}
.featured-combo.is-copied{outline:3px solid #4dbb91}
.featured-glyph{font-size:19px;letter-spacing:-.6px;white-space:nowrap;overflow:hidden;max-width:100%;color:#ab4b9b}
.featured-name{font-size:11px;color:#655779;font-weight:730}
.symbol-workspace{position:relative;border-top:5px solid transparent;background:linear-gradient(white,white) padding-box,var(--rainbow) border-box}
.mode-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:18px}
.mode-head .lead{margin-bottom:0}
.mode-switch{background:#f1eafa;padding:5px;border:1px solid #e8d9f6;display:flex;gap:5px;border-radius:13px}
.mode-switch button{background:transparent;border:0;border-radius:10px;padding:9px 15px;font-weight:760;color:#61567e}
.mode-switch button[aria-pressed="true"]{color:white;background:linear-gradient(120deg,#7351d7,#bd56b3);box-shadow:0 4px 12px #8d64bd33}
.mode-switch button:hover:not([aria-pressed="true"]){background:#e7d8f7}
.search-tip{margin:10px 0 14px}
.composer{border:1px solid #efdcfa;background:linear-gradient(130deg,#f6edff 0%,#fff3f8 52%,#ecfbf6 100%);padding:17px;border-radius:17px;margin:14px 0 11px}
.composer-heading{display:flex;justify-content:space-between;align-items:start;gap:10px;margin-bottom:11px}
.composer h3{margin:0 0 3px;font-size:17px;letter-spacing:-.3px;color:#5d38a2}
.composer p{margin:0;color:#6a5a81;font-size:13px}
.composer-count{color:#695e80;white-space:nowrap;font-size:12px;margin-top:5px}
.composer textarea{font:600 20px/1.65 "Segoe UI Symbol",ui-sans-serif,system-ui,sans-serif;resize:vertical;min-height:88px;width:100%;padding:12px 14px;border-radius:12px;background:#ffffffed;border:1px solid #d8c6e9;color:#31264b;overflow-wrap:anywhere}
.composer textarea:focus-visible{outline:3px solid #a68aea;outline-offset:1px}
.composer textarea::placeholder{font:400 13px/1.5 ui-sans-serif,system-ui,sans-serif;color:#8b7b9c}
.composer-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.composer-actions .btn{min-height:38px}
.library-result{margin-bottom:14px}
.symbol-list{grid-template-columns:repeat(5,minmax(0,1fr))}
.symbol-list.combos-view{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.symbol-card{border-color:#e7dced;overflow:hidden;position:relative;padding:11px;background:#fff;transition:transform .14s ease,box-shadow .14s ease}
.symbol-card::before{content:"";position:absolute;height:4px;left:0;right:0;top:0;background:#b994fa}
.symbol-card:nth-child(6n+1){background:linear-gradient(145deg,#fff,#fff1f6)}
.symbol-card:nth-child(6n+1)::before{background:#ec82b7}
.symbol-card:nth-child(6n+2){background:linear-gradient(145deg,#fff,#fff5e6)}
.symbol-card:nth-child(6n+2)::before{background:#f0b456}
.symbol-card:nth-child(6n+3){background:linear-gradient(145deg,#fff,#f1f0ff)}
.symbol-card:nth-child(6n+3)::before{background:#9782f7}
.symbol-card:nth-child(6n+4){background:linear-gradient(145deg,#fff,#edfbf7)}
.symbol-card:nth-child(6n+4)::before{background:#66cdb7}
.symbol-card:nth-child(6n+5){background:linear-gradient(145deg,#fff,#edf6ff)}
.symbol-card:nth-child(6n+5)::before{background:#74b4e8}
.symbol-card:nth-child(6n+6){background:linear-gradient(145deg,#fff,#fff1e8)}
.symbol-card:nth-child(6n+6)::before{background:#f19a73}
.symbol-card:hover{transform:translateY(-2px);box-shadow:0 9px 24px #9471ba26}
.symbol-card .symbol-copy{padding:13px 5px 9px;min-height:100px;gap:9px}
.symbol-card .symbol-copy:hover{background:#ffffffb8}
.symbol-card .symbol-copy.is-copied{background:#e1f7ee}
.symbol-char{font-size:39px;line-height:1.4;color:#6240a3}
.combo-card .symbol-copy{min-height:125px}
.combo-card .symbol-char{font-size:clamp(18px,2vw,25px);white-space:normal;overflow-wrap:anywhere;word-break:break-word;text-align:center;line-height:1.7;max-width:100%}
.combo-card .symbol-name{min-height:18px}
.symbol-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}
.add-to-builder{font-size:11px;font-weight:770;padding:5px 7px;background:#f0e6ff;color:#623ca6;border-radius:7px;border:1px solid #e4d0fa;white-space:nowrap}
.add-to-builder:hover{background:#e0cbff}
.symbol-bottom{gap:6px}
.combo-card .symbol-code{font-size:10px;max-width:45%;line-height:1.2;overflow-wrap:anywhere}
.symbol-status:not(:empty){position:fixed;bottom:23px;right:24px;max-width:min(390px,calc(100vw - 32px));padding:13px 17px;background:#312253;color:white;border:1px solid #503a7b;border-radius:12px;box-shadow:0 14px 33px #30204845;z-index:35;font-weight:680}
.symbol-status.error:not(:empty){background:#872944;border-color:#ae4761;color:white}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.symbol-intro-layout{grid-template-columns:1fr}.featured-showcase{max-width:640px}.symbol-list.combos-view{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){
  .hero{padding-top:40px}.hero h1{font-size:40px}.symbol-workspace{padding:16px}
  .featured-showcase{padding:13px}.featured-row{gap:6px}.featured-combo{min-height:72px}.featured-glyph{font-size:15px}
  .symbol-list.combos-view{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .combo-card .symbol-char{font-size:17px;line-height:1.5}.combo-card .symbol-copy{min-height:122px}
  .combo-card .symbol-code{font-size:9px}.symbol-card{padding:8px}
  .symbol-actions{gap:2px}.add-to-builder{padding:5px;font-size:10px}
  .composer{padding:12px}.composer-heading{flex-wrap:wrap}.composer-actions .btn{flex:1}
  .symbol-status:not(:empty){bottom:12px;right:12px;left:12px;max-width:none}
}
@media(max-width:390px){.symbol-list.combos-view{grid-template-columns:1fr 1fr}.symbol-list{gap:7px}.symbol-bottom{flex-wrap:wrap}.symbol-actions{margin-left:auto}.combo-card .symbol-code{max-width:100%}}
@media(prefers-reduced-motion:reduce){.symbol-card,.feature-card,.featured-combo,.swatch,.btn{transition:none!important;transform:none!important}}

/* Keep library search results visible sooner; editor expands only when needed. */
.composer{padding:0;margin:12px 0 9px}
.composer-heading{padding:12px 16px;margin:0;cursor:pointer;align-items:center;list-style:none}
.composer-heading::-webkit-details-marker{display:none}
.composer-toggle{margin-left:auto;white-space:nowrap;border:1px solid #d9c7f0;padding:6px 9px;border-radius:9px;color:#7049aa;background:#ffffffd9;font-size:12px;font-weight:750}
.composer[open] .composer-toggle{display:none}
.composer:not([open]) .composer-heading p{margin:0}
.composer-body{padding:0 16px 15px}
@media(max-width:620px){.composer-heading{padding:11px 12px;flex-wrap:wrap}.composer-body{padding:0 12px 12px}.composer-toggle{margin-left:0}}
