/* Liniqo library: the editor's look (/app/style/) applied to /app.
   Grey page, white panels with hairline borders, grey segmented tracks, 14px cards with a label row.
   Loaded last; everything is scoped to html.lqa so the old rules stay as a fallback. */
html.lqa{--a-bg:#ffffff;--a-panel:#fff;--a-line:#ececef;--a-line2:#dedee3;--a-track:#f1f1f3;--a-canvas:#f7f7f8;--a-ink:#0a0a0a;--a-mute:#77777e;--a-on:#fff;--a-sh:0 1px 2px rgba(0,0,0,.08)}
html.lqa[data-theme="dark"]{--a-bg:#111215;--a-panel:#111215;--a-line:#24252b;--a-line2:#33343b;--a-track:#1e1f24;--a-canvas:#1a1b20;--a-ink:#f3f3f5;--a-mute:#8d8e97;--a-on:#0a0a0a;--a-sh:0 1px 2px rgba(0,0,0,.4)}
@media (prefers-color-scheme:dark){html.lqa:not([data-theme]){--a-bg:#111215;--a-panel:#111215;--a-line:#24252b;--a-line2:#33343b;--a-track:#1e1f24;--a-canvas:#1a1b20;--a-ink:#f3f3f5;--a-mute:#8d8e97;--a-on:#0a0a0a;--a-sh:0 1px 2px rgba(0,0,0,.4)}}

html.lqa body{background:var(--a-bg)!important;color:var(--a-ink)}

/* ---------- header: like the editor's top bar ---------- */
html.lqa header.lhd{position:sticky;top:0;z-index:40;height:60px;display:flex;align-items:center;gap:12px;padding:0 18px!important;margin:0!important;background:var(--a-panel)!important;border-bottom:1px solid var(--a-line);max-width:none!important;width:auto!important}
html.lqa header.lhd .lbrand{display:flex;align-items:center;gap:14px;flex:none;margin:0!important;width:auto!important}
html.lqa header.lhd .lbrand::after{content:"Library";font:600 15px/1 Geist,sans-serif;letter-spacing:-.01em;color:var(--a-ink);padding-left:14px;border-left:1px solid var(--a-line2);height:18px;display:flex;align-items:center}
html.lqa :is(header.lhd,.top) .sbox{flex:0 1 520px!important;max-width:520px!important;height:38px!important;margin:0 0 0 10px!important;border:0!important;border-radius:10px!important;background:var(--a-track)!important;box-shadow:none!important}
html.lqa :is(header.lhd,.top) .sbox:focus-within{box-shadow:0 0 0 1px var(--a-line2)!important;background:var(--a-panel)!important}
html.lqa :is(header.lhd,.top) .sbox .search{font-size:14px!important;background:none!important;height:38px!important;width:100%!important;padding:0 44px 0 40px!important;border:0!important;box-shadow:none!important;line-height:38px}
html.lqa :is(header.lhd,.top) .sbox{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;align-content:center!important;gap:8px;padding:0 8px 0 12px!important}
html.lqa :is(header.lhd,.top) .sbox>svg{position:absolute!important;top:50%!important;translate:0 -50%!important;left:12px!important;transform:none!important;margin:0!important;width:18px!important;height:18px!important;color:var(--a-mute)}
html.lqa :is(header.lhd,.top) .sbox .search{flex:1 1 auto;min-width:0;padding:0 40px 0 30px!important}
html.lqa :is(header.lhd,.top) .sbox>*{align-self:center!important}
html.lqa :is(header.lhd,.top) .sbox .kbd,html.lqa :is(header.lhd,.top) .sbox .clr{position:absolute!important;top:50%!important;right:8px!important;translate:0 -50%!important;transform:none!important;margin:0!important}
html.lqa :is(header.lhd,.top) .sbox .kbd{height:22px!important;min-width:22px;padding:0 6px!important;display:grid!important;place-items:center;font:500 11px "Geist Mono",monospace!important;color:var(--a-mute)!important}
html.lqa :is(header.lhd,.top) .sbox .kbd{border-radius:6px!important;background:var(--a-panel)!important;border:1px solid var(--a-line)!important}
html.lqa header.lhd #theme{margin-left:auto}
html.lqa header.lhd #theme{width:38px!important;height:38px!important;border-radius:10px!important;border:1px solid var(--a-line2)!important;background:var(--a-panel)!important;flex:none}
html.lqa header.lhd .buy{height:38px!important;padding:0 16px!important;border-radius:10px!important;background:var(--a-ink)!important;color:var(--a-on)!important;border:1px solid var(--a-ink)!important;font:500 14px Geist,sans-serif!important;box-shadow:none!important;flex:none}
html.lqa header.lhd .buy svg{width:15px;height:15px}

/* buttons that sit in bars */
html.lqa .kbtn,html.lqa .lqsb{height:36px!important;display:inline-flex!important;align-items:center;gap:8px;padding:0 13px!important;border-radius:10px!important;border:1px solid var(--a-line2)!important;background:var(--a-panel)!important;color:var(--a-ink)!important;font:500 13.5px Geist,sans-serif!important;box-shadow:none!important;white-space:nowrap;text-decoration:none}
html.lqa .kbtn:hover,html.lqa .lqsb:hover{background:var(--a-track)!important}
html.lqa .kbtn[aria-pressed="true"]{background:var(--a-ink)!important;color:var(--a-on)!important;border-color:var(--a-ink)!important}

/* ---------- segmented tracks (kind, all/free, and every .seg) ---------- */
html.lqa .kind,html.lqa #tabs{display:inline-flex!important}
html.lqa .kind,html.lqa #tabs,html.lqa .seg{align-items:center;gap:2px!important;padding:3px!important;border:0!important;border-radius:10px!important;background:var(--a-track)!important;box-shadow:none!important;width:auto}
html.lqa .kind button,html.lqa #tabs button,html.lqa .seg button{border:0!important;background:none!important;height:auto!important;padding:6px 12px!important;border-radius:8px!important;font:500 13.5px Geist,sans-serif!important;color:var(--a-mute)!important;box-shadow:none!important;display:inline-flex;align-items:center;gap:6px;justify-content:center}
html.lqa .kind button:hover,html.lqa #tabs button:hover,html.lqa .seg button:hover{color:var(--a-ink)!important}
html.lqa .kind button[aria-pressed="true"],html.lqa #tabs button[aria-pressed="true"],html.lqa .seg button[aria-pressed="true"]{background:var(--a-panel)!important;color:var(--a-ink)!important;box-shadow:var(--a-sh)!important}
html.lqa .kind .kc,html.lqa #tabs .n{font:500 11px "Geist Mono",monospace!important;color:var(--a-mute)!important;background:none!important;padding:0!important;opacity:.85}
html.lqa[data-theme="dark"] .md .seg button[aria-pressed="true"]{background:#2a2b31!important}

/* ---------- page layout: two panels ---------- */
@media (min-width:900px){
  html.lqa .app{display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;column-gap:0!important;padding:0!important;align-items:start;max-width:none!important}
  html.lqa .side{position:sticky!important;top:60px!important;margin:0!important;height:calc(100vh - 60px)!important;max-height:none!important;overflow:auto;padding:14px 12px!important;background:var(--a-panel)!important;border:0!important;border-right:1px solid var(--a-line)!important;border-radius:0!important;box-shadow:none!important;scrollbar-width:thin}
  html.lqa main{background:var(--a-panel);min-width:0;min-height:calc(100vh - 60px);padding:0}
  html.lqa .lrow{position:sticky!important;top:60px;z-index:20;display:flex!important;align-items:center;justify-content:space-between;gap:12px;margin:0!important;padding:12px 20px!important;max-width:none!important;background:var(--a-panel)!important;border-bottom:1px solid var(--a-line)}
  html.lqa .lrow .rgt{display:flex;align-items:center;gap:8px}
  html.lqa main>.head,html.lqa main>.krow,html.lqa main>#lqcl{margin-left:20px!important;margin-right:20px!important}
  html.lqa main>.grid,html.lqa main>.tgrid{padding:16px 20px 8px!important}
  html.lqa main>.head{padding:0!important}html.lqa main>.head .colbar,html.lqa main>.head #packbar{margin-top:16px!important} /* no :has() here: it crashed Chrome when switching tabs */
}
}
html.lqa .grid,html.lqa .tgrid{padding:0!important;gap:12px!important}
html.lqa .head{padding:0!important}
html.lqa .head h1{font:600 20px/1.2 Geist,sans-serif!important;letter-spacing:-.02em}
html.lqa .head h1 small{font:400 12px "Geist Mono",monospace!important;color:var(--a-mute)!important}
html.lqa .krow{padding:0!important}
html.lqa .top{padding:0!important;background:none!important;border:0!important;min-height:0!important}

/* ---------- side list ---------- */
html.lqa .side .sfind,html.lqa .side .pf{display:flex;margin:0 0 10px!important}
html.lqa .side .sfind input,html.lqa .side .pf input{width:100%;height:36px!important;border:0!important;border-radius:10px!important;background:var(--a-track)!important;padding:0 12px 0 34px!important;font:400 13.5px Geist,sans-serif!important;color:var(--a-ink)!important;box-shadow:none!important}
html.lqa .side .nh{font:500 11px "Geist Mono",monospace!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:var(--a-mute)!important;padding:14px 10px 6px!important;margin:0!important;border:0!important}
html.lqa .side .nh.first{padding-top:6px!important}
html.lqa .side .nl{display:flex!important;align-items:center;justify-content:space-between;gap:8px;width:100%;height:34px!important;min-height:0!important;padding:0 10px!important;margin:1px 0!important;border:0!important;border-radius:9px!important;background:none!important;box-shadow:none!important;font:500 13.5px Geist,sans-serif!important;color:var(--a-ink)!important;text-align:left}
html.lqa .side .nl[style*="display: none"],html.lqa .side .nl[hidden]{display:none!important}
html.lqa .side .nl:hover{background:var(--a-track)!important}
html.lqa .side .nl[aria-current="true"]{background:var(--a-track)!important;box-shadow:inset 0 0 0 1px var(--a-line2)!important}
html.lqa .side .nl .n{font:400 11px "Geist Mono",monospace!important;color:var(--a-mute)!important;background:none!important;border:0!important;padding:0!important;min-width:0!important}
html.lqa .side .nl[aria-current="true"] .n{color:var(--a-ink)!important}

/* ---------- cards: the editor's tile ---------- */
html.lqa #grid .card,html.lqa .tgrid>*{border:1px solid var(--a-line)!important;border-radius:14px!important;background:var(--a-panel)!important;box-shadow:none!important;padding:0!important;transition:border-color .15s!important}
html.lqa #grid .card:hover{border-color:var(--a-line2)!important;transform:none!important}
html.lqa #grid .card .art{border-radius:0!important;margin:0!important;background-color:var(--a-canvas)!important}
html.lqa #grid .card{position:relative}
html.lqa #grid .card .pk{display:inline-flex!important;align-items:center;gap:6px;position:absolute;top:10px;left:10px;z-index:2;max-width:calc(100% - 20px);padding:3px 8px 3px 7px!important;border-radius:7px;background:var(--a-panel);border:1px solid var(--a-line);font:500 11.5px/1.3 Geist,sans-serif!important;letter-spacing:0!important;text-transform:none!important;color:var(--a-ink)!important;opacity:1!important;pointer-events:none}
html.lqa #grid .card .pk::before{content:"";width:6px;height:6px;border-radius:50%;background:#1fa463;flex:none}
html.lqa #grid .card.mem .pk{display:none!important}
html.lqa #grid .card .name{display:flex!important;align-items:center;min-height:40px;margin:0!important;padding:10px 12px!important;border-top:1px solid var(--a-line);background:var(--a-panel);font:600 13px/1.3 Geist,sans-serif!important;letter-spacing:-.01em;color:var(--a-ink)!important;position:static!important}

/* footer links */
html.lqa main .lf{display:flex;flex-wrap:wrap;gap:4px 16px;justify-content:center;padding:28px 0 6px!important;border:0!important}
html.lqa main .lf a{font:400 12px Geist,sans-serif;color:var(--a-mute)!important;text-decoration:none}
html.lqa main .lf a:hover{color:var(--a-ink)!important}

/* ---------- detail view ---------- */
html.lqa .md .mc{border-radius:20px!important;border:1px solid var(--a-line)!important;box-shadow:0 24px 70px rgba(10,12,16,.18)!important;background:var(--a-panel)!important}
html.lqa .md .ml{background:var(--a-panel)!important}
html.lqa .md .stage{border-radius:14px!important;border:1px solid var(--a-line)!important}
html.lqa .md .crumb{font:500 11px "Geist Mono",monospace!important;letter-spacing:.06em!important;color:var(--a-mute)!important}
html.lqa .md .dtt{font:600 22px/1.2 Geist,sans-serif!important;letter-spacing:-.02em!important}
html.lqa .md .dd{color:var(--a-mute)!important}
html.lqa .cui{border:1px solid var(--a-line)!important;border-radius:14px!important;box-shadow:none!important}
html.lqa .cui .ch b{font:600 14px Geist,sans-serif!important}
html.lqa .cui .cl{font:500 11px "Geist Mono",monospace!important;letter-spacing:.06em;text-transform:uppercase;color:var(--a-mute)!important}
html.lqa .md .btn,html.lqa .ab .btn,html.lqa .pop .btn,html.lqa .colbar .btn{height:38px;border-radius:10px!important;border:1px solid var(--a-line2)!important;background:var(--a-panel)!important;color:var(--a-ink)!important;box-shadow:none!important;font:500 14px Geist,sans-serif!important}
html.lqa .md .btn:hover,html.lqa .ab .btn:hover,html.lqa .colbar .btn:hover{background:var(--a-track)!important}
html.lqa .md .btn.pri,html.lqa .ab .btn.pri,html.lqa .pop .btn.pri,html.lqa .colbar .btn.pri,html.lqa .ldlg .btn.pri{background:var(--a-ink)!important;color:var(--a-on)!important;border-color:var(--a-ink)!important}
html.lqa .md .ib,html.lqa .md .nv{border-radius:10px!important}
html.lqa .md .nv{border-radius:50%!important;background:var(--a-panel)!important;border:1px solid var(--a-line2)!important;box-shadow:none!important}
html.lqa .pop{border-radius:16px!important;border:1px solid var(--a-line)!important;box-shadow:0 18px 50px rgba(10,12,16,.14)!important}
html.lqa .ldlg{border-radius:20px!important;border:1px solid var(--a-line)!important}
html.lqa .ab{border-radius:14px!important;border:1px solid var(--a-line)!important;box-shadow:0 18px 50px rgba(10,12,16,.14)!important}
html.lqa .colbar{border:1px solid var(--a-line)!important;border-radius:14px!important;background:var(--a-panel)!important;box-shadow:none!important}

/* ---------- phones ---------- */
@media (max-width:899px){
  html.lqa header.lhd{height:auto;min-height:56px;padding:8px 12px!important;gap:8px;flex-wrap:nowrap}
  html.lqa header.lhd .lbrand::after{display:none}
  html.lqa :is(header.lhd,.top) .sbox{flex:1 1 auto!important;max-width:none!important;margin:0!important}
  html.lqa .lrow{padding:12px 12px 0!important;gap:8px}
  html.lqa .lrow .kind{max-width:100%;overflow-x:auto;scrollbar-width:none}
  html.lqa .lrow .rgt{display:flex;flex-wrap:wrap;gap:8px}
  html.lqa main{padding:0 12px}
  html.lqa .grid{gap:10px!important}
  html.lqa .side{background:var(--a-panel)!important}
}

/* ---------- "Build your style": the primary action ---------- */
html.lqa a.lqsb,html.lqa header.lhd a.lqsb{position:relative;height:38px!important;padding:0 16px!important;border:1.5px solid transparent!important;border-radius:10px!important;color:var(--a-ink)!important;font:600 14px Geist,sans-serif!important;letter-spacing:-.005em;
  background:linear-gradient(var(--a-panel),var(--a-panel)) padding-box,linear-gradient(88.5deg,#6585F9 0%,#E277DD 16.5%,#F96165 33%,#F88C3E 50%,#F96165 67%,#E277DD 83.5%,#6585F9 100%) border-box!important;
  background-size:100% 100%,200% 100%!important;background-position:0 0,0% 0!important;animation:lqsFlow 7s linear infinite;box-shadow:none!important;transition:transform .15s ease!important}
@keyframes lqsFlow{to{background-position:0 0,-200% 0}}
@media (prefers-reduced-motion:reduce){html.lqa a.lqsb{animation:none}}
html.lqa a.lqsb:hover{background:linear-gradient(var(--a-track),var(--a-track)) padding-box,linear-gradient(88.5deg,#6585F9 0%,#E277DD 16.5%,#F96165 33%,#F88C3E 50%,#F96165 67%,#E277DD 83.5%,#6585F9 100%) border-box!important;background-size:100% 100%,200% 100%!important}
html.lqa a.lqsb:active{transform:translateY(1px)}
html.lqa a.lqsb:focus-visible{outline:2px solid #E277DD;outline-offset:2px}
html.lqa a.lqsb svg{color:#E277DD}
html.lqa a.lqsb svg{flex:none}
html.lqa a.lqsb i{display:none!important}
html.lqa a.lqsb.on i{display:block!important;width:7px!important;height:7px!important;border-radius:50%;background:var(--lqs-a,#3a57ff)!important;border:0!important;opacity:1!important;margin-left:2px}
/* All Access steps back to a quiet outline so the style builder leads */
html.lqa header.lhd #getbtn.buy,html.lqa #getbtn{background:var(--a-panel)!important;color:var(--a-ink)!important;border:1px solid var(--a-line2)!important}
html.lqa #getbtn:hover{background:var(--a-track)!important}
@media (max-width:899px){html.lqa .lrow .rgt a.lqsb{order:-1;flex:1 1 100%;justify-content:center}}
@media (max-width:899px){html.lqa main>.grid{padding:12px 0!important;margin:0!important;width:auto!important}html.lqa main{overflow-x:clip}}
html.lqa #grid .card .name{display:block!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:20px!important}
html.lqa #grid .card .name small{display:none}
/* All Access is an outline button now, so its lock badge is drawn light-on-ink in reverse: grey disc, dark lock */
html.lqa #getbtn svg.lk circle{fill:var(--a-track)!important}
html.lqa #getbtn svg.lk rect{fill:var(--a-ink)!important}
html.lqa #getbtn svg.lk path{stroke:var(--a-ink)!important}
/* search takes the free width in the header */
html.lqa :is(header.lhd,.top) .sbox{flex:1 1 auto!important;max-width:none!important;margin-right:4px!important}
html.lqa header.lhd #theme{margin-left:0}
/* "Free with email": same pill spot as the pack tag (the art layer is scaled, so it moves to the card) */
html.lqa #grid .card.mem .art::before{display:none!important}
html.lqa #grid .card.mem::after{content:"Free with email";position:absolute;left:10px;top:10px;z-index:3;padding:4px 8px;border-radius:7px;background:var(--accent,#3a57ff);color:#fff;font:600 11.5px/1.3 Geist,sans-serif;pointer-events:none}
/* lock / upgrade button sits in the label row */
html.lqa #grid .card .upg{top:auto!important;left:auto!important;right:8px!important;bottom:6px!important;transform:none!important;translate:none!important}
/* Colors panel: room inside its border */
html.lqa .cui{padding:12px 14px!important}
/* search bar: the landing page's .nsearch, exactly */
html.lqa :is(header.lhd,.top) .sbox{height:42px!important;border:1px solid #f0eeee!important;background:#fff!important;border-radius:12px!important;box-shadow:0 1px 2px rgba(0,0,0,.04)!important;padding:0 6px 0 12px!important;gap:12px!important;transition:border-color .2s,box-shadow .2s}
html.lqa :is(header.lhd,.top) .sbox:focus-within{border-color:#d6d6db!important;background:#fff!important;box-shadow:0 1px 2px rgba(0,0,0,.04),0 0 0 4px #f0f0f2!important}
html.lqa :is(header.lhd,.top) .sbox>svg{width:20px!important;height:20px!important;color:var(--a-ink)!important;left:12px!important}
html.lqa :is(header.lhd,.top) .sbox .search{height:40px!important;line-height:40px;padding:0 44px 0 32px!important;font:500 16px Geist,sans-serif!important;letter-spacing:-.01em;color:var(--a-ink)!important}
html.lqa :is(header.lhd,.top) .sbox .search::placeholder{color:#7e7e7e!important;opacity:1}
html.lqa :is(header.lhd,.top) .sbox .kbd{right:6px!important;width:30px!important;height:28px!important;min-width:0!important;padding:0!important;display:grid!important;place-items:center;border:1px solid #ececef!important;border-radius:8px!important;background:#fff!important;box-shadow:0 1px 1px rgba(0,0,0,.05)!important;font:500 15px/1 Geist,sans-serif!important;color:#5c5c63!important;overflow:hidden}
html.lqa :is(header.lhd,.top) .sbox:focus-within .kbd{color:transparent!important}
html.lqa :is(header.lhd,.top) .sbox .kbd::after{content:"";position:absolute;inset:0;margin:auto;width:18px;height:18px;background:#2e2e33;opacity:0;transition:opacity .18s;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3334'%3E%3Cpath d='M8.98267 13.059L5 17.0295L8.98267 21M19 3V16.9102C19 16.9655 18.955 17.0295 18.8995 17.0295H5.35254'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3334'%3E%3Cpath d='M8.98267 13.059L5 17.0295L8.98267 21M19 3V16.9102C19 16.9655 18.955 17.0295 18.8995 17.0295H5.35254'/%3E%3C/svg%3E") center/contain no-repeat}
html.lqa :is(header.lhd,.top) .sbox:focus-within .kbd::after{opacity:1}
html.lqa[data-theme="dark"] :is(header.lhd,.top) .sbox{background:#17181c!important;border-color:#2a2b31!important}
html.lqa[data-theme="dark"] :is(header.lhd,.top) .sbox .kbd{background:#1f2025!important;border-color:#2e2f36!important;color:#a0a0a8!important}
html.lqa[data-theme="dark"] :is(header.lhd,.top) .sbox .kbd::after{background:#e6e6ea}
html.lqa[data-theme="dark"] :is(header.lhd,.top) .sbox:focus-within{border-color:#3a3b42!important;box-shadow:0 0 0 4px #22232a!important}
html.lqa a.lqsb.lqsb-w{display:flex!important;justify-content:center;width:100%;box-sizing:border-box;margin:10px 0 0;height:40px!important}
/* cards: just the grey canvas and the name under it: no border, no label box, no pack tag */
html.lqa #grid .card{border:0!important;background:transparent!important;border-radius:0!important}
html.lqa #grid .card .art{border-radius:12px!important;overflow:hidden}
html.lqa #grid .card .name{border:0!important;background:transparent!important;padding:10px 2px 4px!important;min-height:0!important;font-weight:500!important}
html.lqa #grid .card .pk{display:none!important}
html.lqa #grid .card .upg{bottom:2px!important;right:0!important}
html.lqa #grid .card:hover .art{box-shadow:inset 0 0 0 1px var(--a-line2)}
html.lqa .card.picked .art{box-shadow:0 0 0 2px var(--accent)!important}
html.lqa .card.picked{box-shadow:none!important}

/* tablets and phones: the app's own top bar (.top) gets the same header look */
@media (max-width:899px){
  html.lqa .top{position:sticky!important;top:0;z-index:40;display:flex!important;align-items:center;gap:8px;padding:10px 12px!important;margin:0 -12px!important;background:var(--a-panel)!important;border-bottom:1px solid var(--a-line)!important}
  html.lqa .top .sbox{flex:1 1 auto!important;max-width:none!important;margin:0!important}
  html.lqa .top .ib,html.lqa .top #getbtn{height:42px!important;border-radius:12px!important;border:1px solid var(--a-line2)!important;background:var(--a-panel)!important;color:var(--a-ink)!important;box-shadow:none!important}
  html.lqa .top .ib{width:42px!important;flex:none}
  html.lqa .top #getbtn{padding:0 14px!important;font:500 14px Geist,sans-serif!important}
  html.lqa .krow{padding-top:12px!important}
  html.lqa .lrow{margin-top:12px!important}
}
@media (max-width:560px){html.lqa .top #getbtn span,html.lqa .top #getbtn{font-size:0!important;width:42px;padding:0!important;justify-content:center}html.lqa .top #getbtn svg.lk{width:20px!important;height:20px!important}}
/* toolbar wraps instead of overlapping on narrower desktops */
html.lqa .lrow{flex-wrap:wrap!important;row-gap:10px!important}
html.lqa .lrow .kind{min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:none}
html.lqa .lrow .kind::-webkit-scrollbar{display:none}
html.lqa .lrow .rgt{margin-left:auto;flex-wrap:wrap;gap:8px}
@media (max-width:560px){
  html.lqa .lrow #getbtn{font-size:0!important;width:42px!important;height:42px!important;padding:0!important;justify-content:center;border-radius:12px!important;background:var(--a-panel)!important;border:1px solid var(--a-line2)!important}
  html.lqa .lrow #getbtn svg.lk{margin:0!important}
  html.lqa .lrow .rgt{margin-left:0;width:100%}
  html.lqa .lrow .rgt a.lqsb{flex:1 1 auto!important;order:0}
}
@media (max-width:560px){
  html.lqa .krow{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px}
  html.lqa .krow #getbtn{font-size:0!important;width:42px!important;min-width:0!important;height:42px!important;padding:0!important;justify-content:center;border-radius:12px!important;background:var(--a-panel)!important;border:1px solid var(--a-line2)!important;flex:none;margin:0!important}
  html.lqa .krow #getbtn svg.lk{margin:0!important}
  html.lqa .krow #getbtn span{display:none}
}
/* search focus: the landing page's soft border and grey ring, no blue outline on the field */
html.lqa :is(header.lhd,.top) .sbox .search:focus,html.lqa :is(header.lhd,.top) .sbox .search:focus-visible{outline:none!important;box-shadow:none!important}
html.lqa :is(header.lhd,.top) .sbox:focus-within{outline:none!important}
/* name sits inside the card: one grey tile, picture on top, name at the bottom, no stroke */
html.lqa #grid .card{background:var(--a-canvas)!important;border-radius:12px!important;border:0!important} /* never overflow:hidden on cards: with the live figures it crashed Chrome when switching tabs */
html.lqa #grid .card .art{border-radius:0!important}
html.lqa #grid .card .name{padding:2px 36px 14px 14px!important;background:transparent!important}
html.lqa #grid .card .upg{bottom:9px!important;right:10px!important}
html.lqa #grid .card:hover .art{box-shadow:none}
html.lqa #grid .card:hover{box-shadow:inset 0 0 0 1px var(--a-line2)!important}
html.lqa .card.picked{box-shadow:0 0 0 2px var(--accent)!important}
html.lqa .card.picked .art{box-shadow:none!important}
/* search with text: the clear (x) button takes the key hint's spot */
html.lqa :is(header.lhd,.top) .sbox.has .kbd{display:none!important}
html.lqa :is(header.lhd,.top) .sbox .clr{right:7px!important;width:28px!important;height:28px!important;border-radius:8px!important;color:#5c5c63!important;background:#fff!important;border:1px solid #ececef!important;box-shadow:0 1px 1px rgba(0,0,0,.05)!important}
html.lqa :is(header.lhd,.top) .sbox .clr:hover{background:#f4f4f5!important}
html.lqa :is(header.lhd,.top) .sbox .clr svg{width:14px!important;height:14px!important}
html.lqa[data-theme="dark"] :is(header.lhd,.top) .sbox .clr{background:#1f2025!important;border-color:#2e2f36!important;color:#a0a0a8!important}
/* card: one surface{background-color:transparent!important}
/* side list: more air between search, collections and packs */
html.lqa .side .sfind,html.lqa .side .pf{margin:0 0 18px!important}
html.lqa .side .nh{padding:22px 10px 8px!important}
html.lqa .side .nh.first,html.lqa .side .sfind+.nh,html.lqa .side .pf+.nh{padding-top:4px!important}
html.lqa :is(header.lhd,.top) .sbox .search::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
/* dark: the card matches the picture's own dark ground (#101216), page a step darker so cards still read */
html.lqa[data-theme="dark"]{--a-bg:#0a0b0d;--a-panel:#0a0b0d;--a-canvas:#101216}
@media (prefers-color-scheme:dark){html.lqa:not([data-theme]){--a-bg:#0a0b0d;--a-panel:#0a0b0d;--a-canvas:#101216}}
html.lqa #grid .card .art{border-radius:12px 12px 0 0!important}
/* phones and tablets: one height for every control in the toolbar row */
@media (max-width:899px){
  html.lqa :is(.krow,.lrow) a.lqsb{height:42px!important;border-radius:12px!important}
  html.lqa :is(.krow,.lrow) #tabs{height:42px!important;box-sizing:border-box;border-radius:12px!important;padding:3px!important}
  html.lqa :is(.krow,.lrow) #tabs button{height:36px!important;border-radius:9px!important;padding:0 14px!important}
  html.lqa :is(.krow,.lrow) #cbtn,html.lqa :is(.krow,.lrow) #selbtn,html.lqa :is(.krow,.lrow) #getbtn{height:42px!important;min-width:42px;border-radius:12px!important;box-sizing:border-box}
  html.lqa .krow #getbtn svg.lk{width:24px!important;height:24px!important}
  html.lqa #cbtn .cdot{width:20px!important;height:20px!important}
}
@media (max-width:899px){html.lqa .krow #getbtn svg.lk{width:34px!important;height:34px!important}html.lqa .krow #getbtn svg.lk circle{fill:transparent!important}}
/* All Access lock: a bigger glyph everywhere (no grey disc) */
html.lqa #getbtn svg.lk{width:26px!important;height:26px!important;margin:0 -3px 0 -6px}
html.lqa #getbtn svg.lk circle{fill:transparent!important}
@media (max-width:560px){html.lqa .krow #getbtn svg.lk,html.lqa .top #getbtn svg.lk{width:34px!important;height:34px!important;margin:0!important}}
@media (max-width:560px){
  html.lqa .krow #getbtn,html.lqa .top #getbtn{display:grid!important;place-items:center!important;gap:0!important;line-height:0!important}
  html.lqa .krow #getbtn svg.lk,html.lqa .top #getbtn svg.lk{display:block!important;width:32px!important;height:32px!important;margin:0!important;transform:translateY(2px)}
  html.lqa .krow #getbtn>:not(svg),html.lqa .top #getbtn>:not(svg){display:none!important}
}
