/* wither — soft theme. A dim lavender-grey canvas with slow flowing shapes, frosted panels, Poppins type,
   the bot's main colour (#969696) as the accent. Loaded after style.css on every page.
   hb-* is the home hero, cm-* the commands page, vd / sd the demo windows. */
:root {
  --bg: #272727;
  --bg-2: rgba(14, 14, 14, .42);
  --panel: rgba(18, 18, 18, .42);
  --panel-2: rgba(28, 28, 28, .55);
  --pop: #202020;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .11);
  --text: #f3f3f3;
  --muted: #bababa;
  --dim: #8e8e8e;
  --accent: #969696;
  --accent-2: #d6d6d6;
  --soft: #c6c6c6;
  --teal: #969696;
  --sans: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { background: #0a0a0c; }
.nebula, .flow { display: none; }
#stars { display: block; opacity: .9; }
.grain { opacity: .04; }
::selection { background: rgba(150, 150, 150, .45); }

/* the canvas: a soft vignette and four big blurred shapes drifting slowly */
body::before { content: ""; position: fixed; inset: 0; z-index: -5; pointer-events: none;
  background:
    radial-gradient(62% 48% at 4% 26%, rgba(150, 150, 150, .36), rgba(150, 150, 150, 0) 72%),
    radial-gradient(40% 30% at 100% 0%, rgba(150, 150, 150, .08), rgba(150, 150, 150, 0) 70%),
    linear-gradient(180deg, #1c1c1c 0%, #141414 45%, #0c0c0f 78%, #0a0a0c 100%); }
.flow { position: fixed; inset: -10%; z-index: -4; pointer-events: none; overflow: hidden; }
.flow i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9; animation: flow-drift 28s ease-in-out infinite alternate; }
.flow i:nth-child(1) { width: 60vw; height: 38vw; left: -12vw; top: -14vw; background: #0f0e13; transform: rotate(-18deg); }
.flow i:nth-child(2) { width: 46vw; height: 54vw; right: -16vw; top: 18vh; background: #141414; animation-duration: 34s; animation-delay: -8s; }
.flow i:nth-child(3) { width: 52vw; height: 30vw; left: 18vw; bottom: -16vw; background: #161616; animation-duration: 40s; animation-delay: -15s; }
.flow i:nth-child(4) { width: 34vw; height: 26vw; left: 30vw; top: 24vh; background: #505050; opacity: .45; filter: blur(90px); animation-duration: 30s; animation-delay: -4s; }
@keyframes flow-drift { 50% { transform: translate(3vw, 2vh) rotate(6deg) scale(1.06); } 100% { transform: translate(-2vw, 4vh) rotate(-4deg) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .flow i { animation: none; } }

/* ---------------------------------------------------------------- nav: one floating frosted pill */
.garland { display: none !important; }
.nav { padding: 14px 0 0; background: none !important; border: 0 !important; backdrop-filter: none !important; }
.nav .wrap { max-width: 880px; height: 50px; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 10px; border-radius: 16px;
  background: rgba(67, 67, 67, .55); border: 1px solid rgba(255, 255, 255, .07); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .8); }
.brand { display: inline-flex; gap: 0; }
.brand img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; box-shadow: none; }
.nav-sep { width: 1px; height: 22px; background: rgba(255, 255, 255, .12); flex: none; }
.pillnav { position: static; flex: 1; display: flex; align-items: center; gap: 2px; padding: 0; background: none; border: 0; backdrop-filter: none; justify-self: auto; }
.pillnav > a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 9px; font: 500 14px var(--sans); color: #dbdbdb; background: none; box-shadow: none; transition: background .2s, color .2s; }
.pillnav > a span[data-icon] { display: inline-flex; opacity: .75; }
.pillnav > a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.pillnav > a.active { color: #fff; background: rgba(255, 255, 255, .09); }
.pn-mobile { display: none !important; }
.nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-support span[data-icon] { display: inline-flex; }
.nav-support { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 10px; background: rgba(150, 150, 150, .28); color: #eaeaea;
  font: 500 14px var(--sans); transition: background .2s, color .2s; }
.nav-support:hover { background: rgba(150, 150, 150, .42); color: #fff; }
.nav .menu-btn { display: none; }
@media (max-width: 760px) {
  .nav { padding: 10px 10px 0; }
  .nav .wrap { position: relative; height: 52px; }
  .nav .menu-btn { display: inline-flex; width: 38px; height: 38px; padding: 0; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 0; }
  .nav-support, .nav-sep { display: none; }
  .pillnav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 8px; border-radius: 16px;
    background: var(--pop); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px #000; z-index: 70; }
  .pillnav.open { display: flex; }
  .pillnav > a { padding: 12px; }
  .pn-mobile { display: inline-flex !important; }
}

/* ---------------------------------------------------------------- footer: plain columns, mono copyright */
footer.site-footer { margin-top: 140px; padding: 0 0 34px; border-top: 0; background: none; overflow: visible; color: var(--dim); }
footer.site-footer .wrap { max-width: 1080px; }
.ft { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 30px; padding: 10px 0 46px; }
.ft-tag { max-width: 240px; font-size: 13.5px; line-height: 1.6; color: var(--dim); }
.ft-col { display: flex; flex-direction: column; gap: 14px; }
.ft-col h4 { font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #b1b1b1; margin-bottom: 6px; }
.ft-col a { font-size: 15px; color: #b1b1b1; transition: color .15s; width: fit-content; }
.ft-col a:hover { color: var(--text); }
.ft-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); font: 13px var(--mono); color: #828282; }
@media (max-width: 760px) { .ft { grid-template-columns: 1fr 1fr; } .ft-tag { grid-column: 1 / -1; max-width: none; } }

/* ---------------------------------------------------------------- docs: quiet sidebar, breadcrumb, reference title, plain toc */
.docs-shell { padding-top: 34px; max-width: 1240px; margin: 0 auto; }
@media (min-width: 1101px) { .docs-shell { grid-template-columns: 236px minmax(0, 1fr) 200px; gap: 56px; } }
@media (max-width: 1100px) and (min-width: 761px) { .docs-shell { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; } }
@media (max-width: 760px) { .docs-shell { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 20px; } .docs-side { position: static; max-height: none; } }
.ds-head { padding: 0 6px 18px; display: flex; flex-direction: column; gap: 2px; }
.ds-head b { font-size: 15px; font-weight: 650; }
.ds-head small { font: 11.5px var(--mono); color: var(--dim); }
.docs-search { height: 40px; border-radius: 10px; background: rgba(16, 16, 16, .5); border-color: var(--line-2); padding: 0 12px; margin-bottom: 26px; }
.docs-search input::placeholder { color: var(--dim); }
.dgroup { margin-bottom: 22px; }
.dgroup h5 { padding: 0; margin-bottom: 8px; }
.dg-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 6px; border: 0; background: none; cursor: pointer;
  font: 600 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.dg-toggle i { width: 8px; height: 1.5px; background: currentColor; position: relative; }
.dg-toggle i::after { content: ""; position: absolute; inset: 0; background: currentColor; transform: rotate(90deg); transition: transform .2s; }
.dg-toggle[aria-expanded="true"] i::after { transform: rotate(0deg); }
.dg-toggle:hover { color: var(--muted); }
.dg-links { display: flex; flex-direction: column; gap: 1px; border-left: 1px solid var(--line); margin-left: 6px; padding-left: 0; }
.dgroup.shut .dg-links { display: none; }
.dlink { position: relative; padding: 7px 12px; border-radius: 0 8px 8px 0; font-size: 14px; color: #b1b1b1; }
.dlink svg, .dlink .ic { display: none; }
.dlink:hover { color: var(--text); background: none; }
.dlink.active { color: var(--text); background: rgba(255, 255, 255, .05); box-shadow: none; font-weight: 500; }
.dlink.active::before { content: ""; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--text); }
.crumbs2 { display: flex; gap: 10px; align-items: center; font: 500 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.crumbs2 a { color: #a1a1a1; text-decoration: none !important; }
.crumbs2 span:last-child { color: #a1a1a1; }
.docs-main .eyebrow2 { margin-top: 26px; font: 500 11.5px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.docs-main h1 { margin-top: 10px; font-size: clamp(32px, 4vw, 42px); letter-spacing: -.035em; font-weight: 700; }
.dh-rule { margin: 30px 0 28px; border: 0; border-top: 1px solid var(--line); }
.docs-main .lead2 { font-size: 16.5px; color: #cdcdcd; margin: 0; line-height: 1.75; }
.docs-main h2 { position: relative; padding-left: 16px; font-size: 23px; letter-spacing: -.02em; }
.docs-main h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 3px; border-radius: 3px; background: #707070; }
.docs-main p, .docs-main li { color: #cdcdcd; }
.note { border-radius: 12px; border: 1px solid var(--line-2); background: rgba(16, 16, 16, .5); color: #cdcdcd; }
.note .ic { color: var(--muted); }
.note.warn { border-color: rgba(250, 204, 21, .22); background: rgba(250, 204, 21, .03); color: #e9d9a0; }
.note.warn .ic { color: #e9c46a; }
.toc { top: 96px; }
.toc h6 { font: 600 11.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.toc a { padding: 6px 0 6px 13px; border-left: 1px solid var(--line); color: #b1b1b1; font-size: 13.5px; }
.toc a.active { border-left: 2px solid var(--text); padding-left: 12px; color: var(--text); font-weight: 500; }
.toc a.sub { padding-left: 22px; font-size: 13px; color: #707070; }
.toc a.sub:hover { color: var(--text); }
.toc-more { display: block; padding: 6px 0 6px 22px; border-left: 1px solid var(--line); font-size: 12.5px; color: #828282; }
tr[data-cmd] { scroll-margin-top: 90px; }
.docs-side { top: 96px; }

/* ---------------------------------------------------------------- shared */
.eyebrow { font: 500 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: 12px; font: 600 15px var(--sans);
  border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, .03); transition: background .15s, filter .15s, border-color .15s; white-space: nowrap; }
.s-btn:hover { background: rgba(255, 255, 255, .07); }
.s-btn-main { background: var(--accent); border-color: transparent; color: #fff; }
.s-btn-main:hover { background: var(--accent); filter: brightness(1.1); }
.s-card { border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }

/* ---------------------------------------------------------------- home */
.h-hero { padding: 86px 0 10px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.h-logo { width: 104px; height: 104px; object-fit: contain; filter: drop-shadow(0 18px 40px rgba(150, 150, 150, .35)); }
.h-hero h1 { margin-top: 22px; font-size: clamp(44px, 7vw, 76px); line-height: 1; letter-spacing: -.05em; font-weight: 700; }
.h-hero h1 span { color: var(--accent); }
.h-hero p { margin-top: 18px; max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.h-actions { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.h-stats { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.h-stats > span { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--dim); font-size: 13.5px; }
.h-stats b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.h-sec { padding-top: 110px; }
.h-title { text-align: center; margin-bottom: 34px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.h-title h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.04em; font-weight: 700; }
.h-title p { color: var(--muted); max-width: 520px; }
.h-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.h-feat { padding: 24px; display: flex; flex-direction: column; gap: 10px; cursor: default; transition: border-color .2s, background .2s; }
.h-feat:hover { border-color: rgba(150, 150, 150, .35); background: var(--panel-2); }
.h-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--accent-2); background: rgba(150, 150, 150, .12); margin-bottom: 4px; }
.h-feat h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.h-feat p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.h-studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: 40px; overflow: hidden; position: relative;
  background: radial-gradient(500px 260px at 100% 0%, rgba(150, 150, 150, .16), transparent 70%), var(--panel); }
.h-studio h2 { margin-top: 10px; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.04em; font-weight: 700; }
.h-studio p { margin-top: 10px; color: var(--muted); line-height: 1.65; }
.h-studio .s-btn { margin-top: 22px; }
.h-studio-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.h-studio-list span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); font-weight: 500; font-size: 14px; }
.h-studio-list span[data-icon], .h-studio-list i { color: var(--accent-2); }
.h-cta { text-align: center; padding: 56px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.h-cta h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.04em; font-weight: 700; }
.h-cta p { color: var(--muted); }
.h-cta .h-actions { margin-top: 12px; }
.h-free { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 30px 0 10px; }
.h-free h2 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -.045em; font-weight: 700; }
.h-free h2 span { color: #828282; }
.h-free p { margin-top: 20px; max-width: 520px; color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.h-white { margin-top: 30px; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 12px; background: #fff; color: var(--bg); font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 40px -10px rgba(255, 255, 255, .35); transition: transform .15s, box-shadow .2s; }
.h-white:hover { box-shadow: 0 14px 46px -10px rgba(255, 255, 255, .5); }
.h-white span[data-icon] { display: inline-flex; transition: transform .2s; }
.h-white:hover span[data-icon] { transform: translateX(3px); }

/* voicemaster demo window */
.vd { position: relative; max-width: 900px; margin: 0 auto; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(10, 9, 14, .6); overflow: hidden; font-family: var(--mono);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95); user-select: none; }
.vd-bar { position: relative; height: 42px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); font-size: 12.5px; color: #828282; }
.vd-dots { position: absolute; left: 16px; display: flex; gap: 7px; } .vd-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(46, 46, 46, .8); }
.vd-body { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 300px; }
.vd-left { padding: 20px 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.vd-cat { display: flex; align-items: center; gap: 6px; padding: 0 6px 10px; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: #b1b1b1; }
.vd-plus { margin-left: auto; display: inline-flex; color: #828282; }
.vd-ch { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 7px; font-size: 13.5px; color: #b1b1b1; transition: background .2s, color .2s; }
.vd-ch b { color: var(--text); font-weight: 600; }
.vd-ch svg { color: #828282; }
.vd-join.hit, .vd-ch.vd-join:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.vd-own { color: var(--text); background: rgba(150, 150, 150, .14); animation: vd-in .35s ease both; }
.vd-own svg { color: var(--accent-2); }
.vd-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-flags { display: inline-flex; gap: 4px; color: var(--accent-2); }
.vd-flags svg { color: var(--accent-2); }
.vd-lim { margin-left: auto; font-size: 11px; color: #b1b1b1; padding: 1px 6px; border-radius: 5px; background: rgba(255, 255, 255, .06); }
.vd-lim:empty { display: none; }
.vd-mem { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 34px; font-size: 13px; color: #b8b8b8; animation: vd-in .35s .1s ease both; }
.vd-av { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; background: var(--accent); box-shadow: 0 0 0 2px rgba(10, 9, 14, .6), 0 0 0 3.5px #4ade80; }
.vd-right { position: relative; padding: 20px 22px; }
.vd-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: #828282; margin-bottom: 16px; }
.vd-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.vd-btn { aspect-ratio: 1 / .9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(18, 18, 18, .45); color: #787878; font-size: 10.5px; transition: color .3s, border-color .3s, background .3s, transform .12s; }
.vd-btn small { font: 500 11px var(--sans); white-space: nowrap; }
.vd.owner .vd-btn { color: #a6a6a6; border-color: var(--line-2); }
.vd-btn.hit { color: #fff !important; border-color: rgba(150, 150, 150, .7) !important; background: rgba(150, 150, 150, .18); animation: vd-press .25s ease; }
.vd-toast { position: absolute; left: 22px; right: 22px; bottom: 20px; padding: 10px 12px; border-radius: 6px; border-left: 3px solid var(--accent); background: rgba(23, 23, 23, .8);
  font: 13px/1.6 var(--sans); color: #dedede; }
.vd-toast[hidden], .vd-own[hidden], .vd-mem[hidden] { display: none; }
.vd-toast.in { animation: vd-in .3s ease both; }
.vd-toast b { color: #fff; }
.vd-ok { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); display: inline-grid; place-items: center; margin-right: 6px; vertical-align: -3px; }
.vd-ok::after { content: ""; width: 7px; height: 3.5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.vd-mn { display: inline-flex; vertical-align: bottom; align-items: center; gap: 3px; color: #c9cdfb; background: rgba(150, 150, 150, .3); padding: 0 3px; border-radius: 3px; margin: 0 3px; }
.vd-ok + .vd-mn { margin: 0; }
.vd-cursor { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; transition: transform .8s cubic-bezier(.45, .05, .25, 1); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.vd-cursor.down { transform-origin: 4px 3px; }
.vd-cursor.down path { transform: scale(.86); transform-origin: 4px 3px; }
@keyframes vd-in { from { opacity: 0; transform: translateY(4px); } }
@keyframes vd-press { 50% { transform: scale(.94); } }
@media (max-width: 700px) {
  .vd-body { grid-template-columns: 1fr; }
  .vd-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .vd-right { padding-bottom: 80px; }
  .vd-grid { gap: 6px; }
  .vd-btn small { display: none; }
}

@media (max-width: 900px) {
  .h-feats { grid-template-columns: 1fr 1fr; }
  .h-studio { grid-template-columns: 1fr; padding: 28px; }
}
@media (max-width: 600px) {
  .h-hero { padding-top: 56px; }
  .h-feats, .h-studio-list { grid-template-columns: 1fr; }
  .h-sec { padding-top: 84px; }
}

/* ---------------------------------------------------------------- commands: categories on the left, unfolding rows on the right */
.cm { max-width: 1120px; padding-top: 40px; }
.cm-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.cm-title { flex: 1; display: flex; align-items: center; gap: 18px; min-width: 0; }
.cm-title > div { min-width: 0; }
.cm-ico { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; color: var(--text); background: rgba(23, 23, 23, .6); border: 1px solid var(--line-2); }
.cm-title h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -.04em; font-weight: 700; line-height: 1.05; }
.cm-title p { margin-top: 4px; color: var(--dim); font-size: 14.5px; max-width: 520px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-tools { flex: none; display: flex; align-items: center; gap: 8px; }
.cm-search { display: flex; align-items: center; gap: 10px; width: 250px; height: 44px; padding: 0 14px; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(18, 18, 18, .45); color: var(--dim); transition: border-color .2s, box-shadow .2s; }
.cm-search:focus-within { border-color: rgba(150, 150, 150, .6); box-shadow: 0 0 0 3px rgba(150, 150, 150, .15); }
.cm-search span[data-icon] { display: inline-flex; }
.cm-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; color: var(--text); font: 14.5px var(--sans); }
.cm-search input::-webkit-search-cancel-button { filter: invert(.6); }
.cm-mode { display: flex; gap: 2px; padding: 3px; height: 44px; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(18, 18, 18, .45); }
.cm-mode button { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--dim); font: 600 13.5px var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.cm-mode button i { font: normal 500 13px var(--mono); }
.cm-mode button[aria-pressed="true"] { background: rgba(255, 255, 255, .08); color: var(--text); }
.cm-expand { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(18, 18, 18, .45); color: var(--muted); font: 600 14px var(--sans); cursor: pointer; transition: color .2s, border-color .2s; white-space: nowrap; }
.cm-expand:hover { color: var(--text); border-color: rgba(255, 255, 255, .2); }
.cm-expand span[data-icon], .cm-expand svg { display: inline-flex; transition: transform .25s; }
.cm-expand[aria-pressed="true"] svg { transform: rotate(180deg); }
.cm-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.cm-side { position: sticky; top: 88px; border-radius: 22px; border: 1px solid var(--line-2); background: rgba(16, 16, 16, .5); overflow: hidden; }
.cm-side-h { padding: 16px; text-align: center; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.cm-side-h span { color: var(--dim); font: 12px var(--mono); margin-left: 4px; }
.cm-catsel { display: none; }
.cm-cats { max-height: min(460px, calc(100vh - 200px)); overflow-y: auto; padding: 8px; scrollbar-width: thin; scrollbar-color: #414141 transparent;
  mask-image: linear-gradient(180deg, #000 85%, transparent); }
.cm-sec { padding: 12px 10px 6px; font: 600 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #787878; }
.cm-sec:first-child { padding-top: 4px; }
.cm-cat { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: #b1b1b1; font-size: 13.5px; transition: background .15s, color .15s; }
.cm-cat svg { flex: none; opacity: .85; }
.cm-cat span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-cat em { font: normal 500 11px var(--mono); color: #828282; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line-2); }
.cm-cat:hover { color: var(--text); background: rgba(255, 255, 255, .03); }
.cm-cat.on { color: var(--text); background: rgba(255, 255, 255, .06); }
.cm-cat.on::before { content: ""; position: absolute; left: -2px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--text); }
.cm-cat.on em { color: var(--text); border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); }
.cm-panel { border-radius: 22px; border: 1px solid var(--line-2); background: rgba(16, 16, 16, .5); padding: 8px; min-height: 300px; }
.cm-list { display: flex; flex-direction: column; gap: 6px; }
.cm-row { border-radius: 14px; border: 1px solid var(--line); background: rgba(18, 18, 18, .45); transition: border-color .2s, background .2s; scroll-margin-top: 100px; }
.cm-row:hover { border-color: var(--line-2); }
.cm-row.open { border-color: rgba(150, 150, 150, .35); background: #131317; }
.cm-row.flash { animation: cm-flash 1.6s ease; }
@keyframes cm-flash { 0%, 30% { box-shadow: 0 0 0 3px rgba(150, 150, 150, .35); } 100% { box-shadow: 0 0 0 3px transparent; } }
.cm-head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 0; background: none; color: var(--text); cursor: pointer; text-align: left; font: inherit; }
.cm-chip { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(30, 30, 30, .7); font: 500 12px var(--mono); color: #b1b1b1; }
.cm-head code { font: 600 14.5px var(--mono); color: #ececf1; white-space: nowrap; }
.cm-short { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 5px; justify-content: flex-end; color: #828282; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .2s; }
.cm-short svg { flex: none; }
.cm-head:hover .cm-short, .cm-row.open .cm-short { opacity: 1; }
.cm-row.open .cm-short { opacity: 0; }
.cm-chev { margin-left: auto; display: inline-flex; color: #828282; transition: transform .25s, color .2s; }
.cm-row.open .cm-chev { transform: rotate(180deg); color: var(--text); }
.cm-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(.3, .7, .2, 1); }
.cm-row.open .cm-detail { grid-template-rows: 1fr; }
.cm-detail > * { overflow: hidden; }
.cm-inner { padding: 0 16px 16px 50px; display: flex; flex-direction: column; gap: 14px; }
.cm-about { color: var(--muted); font-size: 14.5px; }
.cm-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.cm-grid h4 { font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #828282; margin-bottom: 6px; }
.cm-grid p { display: flex; flex-wrap: wrap; gap: 5px; font-size: 13.5px; }
.cm-grid code, .cm-opts code { font: 12.5px var(--mono); padding: 2px 7px; border-radius: 6px; background: rgba(30, 30, 30, .7); border: 1px solid var(--line-2); color: #e8e8e8; }
.cm-none { color: #828282; }
.cm-perm { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(150, 150, 150, .14); color: var(--accent-2); }
.cm-copy { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(10, 9, 14, .55); color: #a2a2a2; cursor: pointer; text-align: left; transition: border-color .2s; }
.cm-copy code { border: 0; background: none; padding: 0; font: 13px var(--mono); color: #ececf1; overflow-wrap: anywhere; }
.cm-copy:hover { border-color: rgba(150, 150, 150, .55); }
.cm-opts { display: flex; flex-direction: column; gap: 8px; }
.cm-opts > div { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 13.5px; }
.cm-opts span { color: #828282; font-size: 12.5px; }
.cm-opts p { color: var(--muted); }
.cm-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: none; color: var(--muted); font: 500 13px var(--sans); cursor: pointer; transition: color .2s, border-color .2s; text-decoration: none; }
.cm-btn:hover { color: var(--text); border-color: rgba(255, 255, 255, .22); }
.cm-empty { padding: 40px 16px; text-align: center; color: var(--dim); }
@media (max-width: 960px) {
  .cm-tools { width: 100%; }
  .cm-search { flex: 1; width: auto; }
}
@media (max-width: 760px) {
  .cm-body { grid-template-columns: 1fr; }
  .cm-side { position: static; border-radius: 16px; }
  .cm-side-h, .cm-cats { display: none; }
  .cm-catsel { display: block; width: 100%; height: 46px; padding: 0 14px; border: 0; background: rgba(16, 16, 16, .5); color: var(--text); font: 15px var(--sans); }
  .cm-tools { flex-wrap: wrap; }
  .cm-search { flex-basis: 100%; }
  .cm-inner { padding-left: 16px; }
  .cm-grid { grid-template-columns: 1fr; }
  .cm-short { display: none; }
  .cm-title p { white-space: normal; }
}

/* ---------------------------------------------------------------- status */
.st-head { text-align: center; padding: 64px 0 34px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.st-head h1 { font-size: clamp(40px, 6vw, 60px); letter-spacing: -.05em; font-weight: 700; line-height: 1; }
.st-head p { color: var(--muted); }
.st-live { display: inline-flex; align-items: center; gap: 9px; margin-top: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 13.5px; color: var(--muted); }
.st-live .pulse { width: 9px; height: 9px; }
.st-live .pulse.ok::after { inset: -4px; }
.st-page .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.st-page .stat { padding: 20px 20px 0; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); box-shadow: none; }
.st-page .stat header { gap: 0; }
.st-page .stat-ico { display: none; }
.st-page .stat-lbl { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.st-page .stat-val { margin-top: 14px; font-size: 30px; font-weight: 700; letter-spacing: -.04em; }
.st-page .stat-val small { font-size: 14px; color: var(--dim); font-weight: 500; margin-left: 2px; letter-spacing: 0; }
.st-page .stat-sub { display: none; }
.st-page .sp-line { stroke: var(--accent); }
.st-page .sp-s0 { stop-color: var(--accent); stop-opacity: .22; }
.st-page .stat[data-stat="cpu"] .sp-line, .st-page .stat[data-stat="memory"] .sp-line { stroke: #d8d8d8; }
.st-page .stat[data-stat="cpu"] .sp-s0, .st-page .stat[data-stat="memory"] .sp-s0 { stop-color: #d8d8d8; stop-opacity: .08; }
.st-sec { display: flex; justify-content: space-between; align-items: baseline; margin: 44px 2px 14px; }
.st-sec h3 { font-size: 17px; font-weight: 650; }
.st-sec span { font-size: 13px; color: var(--dim); }
.st-sec span b { color: var(--text); }
.shard3s { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.shard3s:empty::before { content: "Shards show up here once the status service answers."; color: var(--dim); font-size: 14px; }
.shard3 { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; gap: 12px; }
.shard3-top { display: flex; align-items: center; gap: 8px; }
.shard3-top b { font-size: 15px; }
.shard3-top i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.shard3.off .shard3-top i { background: #f87171; }
.shard3-top em { font-style: normal; font-size: 12.5px; color: var(--dim); }
.shard3-top span { margin-left: auto; font: 13px var(--mono); color: var(--dim); }
.shard3-nums { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.shard3-nums b { font: 600 13px var(--mono); color: var(--text); margin-right: 4px; }
@media (max-width: 900px) { .st-page .stat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .st-page .stat-grid { grid-template-columns: 1fr; } .shard3s { grid-template-columns: 1fr; } }
.toc a.sub { margin: 0; padding-top: 4px; padding-bottom: 4px; }

/* ---------------------------------------------------------------- studio demo window */
.sd { position: relative; max-width: 940px; margin: 0 auto; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(10, 9, 14, .6); overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95); user-select: none; }
.sd .vd-bar { font-family: var(--mono); }
.sd-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); height: 400px; }
.sd-side { padding: 16px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.sd-guild { display: flex; align-items: center; gap: 10px; padding: 2px 4px 14px; }
.sd-guild > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(30, 30, 30, .7); color: var(--accent-2); font-weight: 700; }
.sd-guild b { display: block; font-size: 13.5px; } .sd-guild small { color: var(--dim); font-size: 11.5px; }
.sd-label { padding: 8px 8px 6px; font: 600 10.5px var(--mono); letter-spacing: .14em; color: #787878; }
.sd-nav { display: flex; flex-direction: column; gap: 2px; }
.sd-link { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; font-size: 13px; color: #b1b1b1; transition: background .2s, color .2s; }
.sd-link.on { background: rgba(150, 150, 150, .16); color: #fff; }
.sd-link.on svg { color: var(--accent-2); }
.sd-link.hit { background: rgba(150, 150, 150, .24); }
.sd-main { position: relative; padding: 20px 22px; overflow: hidden; }
.sd-pane.in { animation: vd-in .35s ease both; }
.sd-pane h3 { font-size: 19px; letter-spacing: -.02em; }
.sd-pane > p { color: var(--dim); font-size: 13px; margin-top: 2px; margin-bottom: 14px; }
.sd-card { border-radius: 12px; border: 1px solid var(--line); background: rgba(18, 18, 18, .45); padding: 4px 14px; margin-bottom: 10px; }
.sd-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.sd-list .sd-row + .sd-row, .sd-card > .sd-row + .sd-row { border-top: 1px solid var(--line); }
.sd-row > div { flex: 1; min-width: 0; }
.sd-row b { display: block; font-size: 13.5px; font-weight: 600; }
.sd-row small { display: block; font-size: 11.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-row em { font: normal 12px var(--mono); color: #b1b1b1; min-width: 34px; text-align: center; padding: 3px 0; border-radius: 7px; border: 1px solid var(--line-2); }
.sd-row em:empty { visibility: hidden; }
.sd-row em.lit { color: #fff; border-color: rgba(150, 150, 150, .6); }
.sd-tg { position: relative; width: 36px; height: 21px; flex: none; border-radius: 999px; background: #2f2f2f; transition: background .25s; }
.sd-tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.3, .7, .2, 1); }
.sd-tg.on { background: var(--accent); }
.sd-tg.on::after { transform: translateX(15px); }
.sd-tg.hit { box-shadow: 0 0 0 4px rgba(150, 150, 150, .25); }
.sd-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 10px 0; }
.sd-fields small, .sd-msg small { display: block; font-size: 11.5px; color: var(--dim); margin-bottom: 5px; }
.sd-fields span { display: block; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(10, 9, 14, .55); font-size: 13px; }
.sd-msg { padding: 10px 0; } .sd-msg code { display: block; padding: 9px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(10, 9, 14, .55); font: 12.5px var(--mono); color: #cdcdcd; }
.sd-save { position: absolute; left: 50%; bottom: 16px; width: min(420px, calc(100% - 30px)); transform: translate(-50%, 160%); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--pop); box-shadow: 0 18px 40px -10px #000; font-size: 13px; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.sd-save.show { transform: translate(-50%, 0); }
.sd-save span { flex: 1; }
.sd-save em { font-style: normal; color: var(--muted); font-size: 12.5px; padding: 0 6px; }
.sd-savebtn { padding: 7px 12px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 12.5px; transition: filter .2s; }
.sd-savebtn.hit { filter: brightness(1.2); }
.sd-toast { position: absolute; left: 50%; top: 14px; transform: translate(-50%, -12px); opacity: 0; padding: 7px 14px; border-radius: 10px; background: var(--pop); border: 1px solid rgba(74, 222, 128, .35);
  font-size: 12.5px; font-weight: 500; transition: opacity .25s, transform .25s; }
.sd-toast.show { opacity: 1; transform: translate(-50%, 0); }
.sd-cursor { transition-duration: .85s; }
.sd-cta { display: flex; justify-content: center; margin-top: 22px; }
.sd-cta .s-btn span[data-icon] { display: inline-flex; }
@media (max-width: 700px) {
  .sd-body { grid-template-columns: 1fr; height: auto; min-height: 440px; }
  .sd-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .sd-guild, .sd-label { display: none; }
  .sd-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .sd-link { flex: none; }
  .sd-fields { grid-template-columns: 1fr; }
  .sd-main { min-height: 380px; }
}


/* ---------------------------------------------------------------- home hero: logo, name, one line, two buttons */
.hb { min-height: calc(100vh - 140px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 0 40px; }
.hb-logo { width: 112px; height: 112px; object-fit: contain; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .45)); animation: hb-bob 6s ease-in-out infinite; }
.hb h1 { margin-top: 18px; font: 800 clamp(58px, 9vw, 88px)/1 var(--sans); letter-spacing: -.04em; color: var(--soft);
  background: linear-gradient(180deg, #e0e0e0, #b7b7b7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hb p { margin-top: 22px; max-width: 560px; color: #cecece; font: 400 19px/1.65 var(--sans); }
.hb-actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hb-btn { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05); color: #ececec; font: 600 15px var(--sans); backdrop-filter: blur(8px); transition: background .2s, transform .2s, border-color .2s; }
.hb-btn span[data-icon] { display: inline-flex; opacity: .8; }
.hb-btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.hb-main { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); }
@keyframes hb-bob { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .hb-logo { animation: none; } }
@media (max-width: 600px) { .hb { min-height: auto; padding-top: 70px; } .hb p { font-size: 16.5px; } }

/* frosted panels everywhere */
.s-card, .cm-panel, .cm-side, .vd, .sd, .st-page .stat, .shard3, .docs-search, .note, .codeblock, .cm-search, .cm-mode, .cm-expand { backdrop-filter: blur(14px); }
.h-white { background: #f3f3f3; color: #1e1e1e; }
.eyebrow { color: var(--dim); }
h1, h2, h3, .s-btn, .cm-title h1 { font-family: var(--sans); }

/* announcement banner from the admin panel */
.site-banner { position: relative; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 44px; text-align: center;
  background: linear-gradient(90deg, rgba(150, 150, 150, .35), rgba(150, 150, 150, .22)); border-bottom: 1px solid rgba(255, 255, 255, .08); font: 500 14px var(--sans); color: #f3f3f3; }
.site-banner a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.site-banner button { position: absolute; right: 12px; width: 26px; height: 26px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 16px; cursor: pointer; }

/* ===== embed builder, card layout ===== */
.kb{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin-top:18px;align-items:start}
.kb-left{display:grid;gap:12px}
.kb-right{display:grid;gap:16px;position:sticky;top:96px}
.kc{background:rgba(18, 18, 18,.42);border:1px solid rgba(255,255,255,.07);border-radius:18px;backdrop-filter:blur(14px);overflow:hidden}
.kc.acc{border-bottom:1px solid rgba(255,255,255,.07)}
.kc .acc-head{padding:16px 18px}
.kc .acc-head .ib{background:rgba(150, 150, 150,.16);border:1px solid rgba(150, 150, 150,.28);color:#e1e1e1;border-radius:11px}
.kc.open .acc-head{border-bottom:1px solid rgba(255,255,255,.06)}
.kc .acc-body{padding:14px 18px 20px}
.kc .f-input{background:rgba(10,9,14,.5);border-color:rgba(255,255,255,.09);border-radius:11px}
.kc .f-input:focus{border-color:#969696;box-shadow:0 0 0 3px rgba(150, 150, 150,.2)}
.kc .count{background:rgba(150, 150, 150,.16)}
.kb-vars{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:14px;background:rgba(18, 18, 18,.3);border:1px dashed rgba(255,255,255,.1);color:var(--muted);font-size:13.5px}
.kb-vars > span:nth-child(2){flex:1;min-width:0}
.kb-vars select{width:auto;max-width:190px;padding:6px 10px;font-size:13px}
.kb-color{display:flex;gap:10px;align-items:center}
.kb-pick{--c:transparent;position:relative;flex:none;width:44px;height:44px;border-radius:12px;border:1px solid rgba(255,255,255,.14);cursor:pointer;background:var(--c) ;background-image:linear-gradient(var(--c),var(--c)),repeating-conic-gradient(#404040 0 25%,#2e2e2e 0 50%);background-size:auto,12px 12px;overflow:hidden}
.kb-pick input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.kc .swatches{margin-top:10px}
.kb-card{padding:0}
.kb-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid rgba(255,255,255,.06)}
.kb-head > span{display:flex;align-items:center;gap:9px;color:#e1e1e1}
.kb-head b{color:var(--text);font-size:15px;font-weight:600}
.kb-head small{color:var(--dim);font-size:12.5px}
.kb-discord{padding:14px}
.kb-discord .b-preview{border-radius:14px;border:1px solid rgba(255,255,255,.06)}
.kb-card .errors{padding:0 18px 12px;color:#f19aa0;font-size:13px}
.kb-card .errors:empty{display:none}
.kb-cmd{margin:14px 18px 0;background:rgba(8,7,12,.65);border:1px solid rgba(255,255,255,.07);border-radius:13px;padding:14px 16px;font:13px/1.6 var(--mono);color:#ececec;white-space:pre-wrap;word-break:break-all;max-height:260px;overflow:auto}
.kb-cmd.empty{color:var(--dim);font-family:inherit}
.kb-type{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 18px 0;color:var(--muted);font-size:13.5px}
.kb-chips{display:flex;gap:6px;flex-wrap:wrap}
.kb-chips button{font:inherit;font-size:13px;font-weight:500;padding:6px 13px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03);color:var(--muted);cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.kb-chips button:hover{color:var(--text);border-color:rgba(255,255,255,.2)}
.kb-chips button[aria-pressed=true]{background:#969696;border-color:#969696;color:#fff}
.kb-chan{padding:10px 18px 0}
.kb-chan[hidden]{display:none}
.kb-foot{padding:10px 18px 0;color:var(--dim);font-size:12.5px}
.kb-card .save-row{padding:12px 18px 18px;display:flex;gap:8px}
.kb-card .save-row .f-input{flex:1}
.kb-copy{display:inline-flex;align-items:center;gap:6px}
@media (max-width:980px){.kb{grid-template-columns:minmax(0,1fr)}.kb-right{position:static}}

/* ===== home: Last.fm section ===== */
.fm-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:56px;align-items:center;max-width:1080px;margin:0 auto}
.fm-copy h2{font-size:clamp(32px,4.2vw,48px);line-height:1.08;letter-spacing:-.03em;margin:18px 0 14px;font-weight:800}
.fm-red{color:#e4313a}
.fm-copy p{color:var(--muted);font-size:16px;line-height:1.7;max-width:460px;margin:0 0 20px}
.fm-logo{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:18px;background:rgba(228,49,58,.12);border:1px solid rgba(228,49,58,.35);box-shadow:0 10px 40px -10px rgba(228,49,58,.5)}
.fm-logo img{width:36px;height:36px}
.fm-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.fm-chips code{font:12.5px var(--mono);padding:6px 10px;border-radius:9px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#e4e4e4}
.fm-btn{display:inline-flex;align-items:center;gap:8px}
.fm-stage{position:relative;display:grid;gap:14px}
.fm-card{background:rgba(18, 18, 18,.55);border:1px solid rgba(255,255,255,.08);border-radius:20px;backdrop-filter:blur(14px);box-shadow:0 24px 60px -30px rgba(0,0,0,.7)}
.fm-np{display:flex;gap:16px;align-items:center;padding:16px;position:relative}
.fm-np.swap .fm-meta{animation:fmIn .45s ease}
@keyframes fmIn{from{opacity:0;transform:translateY(6px)}}
.fm-art{flex:none;width:84px;height:84px;border-radius:14px;overflow:hidden;box-shadow:0 10px 30px -12px rgba(0,0,0,.8)}
.fm-art img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s}
#fm.playing .fm-art img{transform:scale(1.06)}
.fm-meta{display:grid;gap:3px;min-width:0}
.fm-meta small{color:var(--dim);font-size:12.5px;display:flex;align-items:center;gap:7px}
.fm-meta small b{color:#c9cdfb;font-weight:600}
.fm-meta strong{font-size:18px;font-weight:700;color:var(--text);letter-spacing:-.01em}
.fm-meta span{color:var(--muted);font-size:14px}
.fm-meta em{font-style:normal;font:12px var(--mono);color:var(--dim);margin-top:4px}
.fm-eq{display:inline-flex;gap:2px;align-items:flex-end;height:12px}
.fm-eq i{width:3px;height:4px;background:#e4313a;border-radius:2px}
#fm.playing .fm-eq i{animation:fmEq .9s ease-in-out infinite alternate}
.fm-eq i:nth-child(2){animation-delay:-.3s}.fm-eq i:nth-child(3){animation-delay:-.6s}
@keyframes fmEq{from{height:3px}to{height:12px}}
.fm-tag{position:absolute;top:14px;right:14px;opacity:.85}
.fm-player{padding:16px 18px}
.fm-row{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}
.fm-row b{color:var(--text);font-weight:600}
.fm-src{display:inline-flex;align-items:center;gap:6px}
.fm-ic{display:inline-flex;color:var(--muted)}
.fm-crown{color:#f5c451;margin-right:7px}
.fm-wk li > span{display:inline-flex;align-items:center}
.fm-time{font:12.5px var(--mono);color:var(--dim)}
.fm-wave{display:flex;align-items:center;gap:3px;height:42px;margin:12px 0;padding:0 8px;border-radius:12px;background:rgba(8,7,12,.45);cursor:pointer}
.fm-wave i{flex:1;height:var(--h);border-radius:3px;background:rgba(255,255,255,.12);transition:background .3s}
.fm-wave i.on{background:linear-gradient(180deg,#ff6b72,#e4313a)}
.fm-ctl{display:flex;justify-content:center;align-items:center;gap:14px;color:var(--muted)}
.fm-btn-s{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03);color:var(--muted);cursor:pointer;transition:color .15s,border-color .15s,background .15s}
.fm-btn-s:hover{color:var(--text);border-color:rgba(255,255,255,.22)}
#fm-loop[aria-pressed=true],#fm-mute[aria-pressed=true]{color:#ff8a8f;border-color:rgba(228,49,58,.45);background:rgba(228,49,58,.1)}
.fm-btn-s:focus-visible,.fm-play:focus-visible,.fm-wave:focus-visible{outline:2px solid #ff8a8f;outline-offset:3px}
.fm-play{width:48px;height:48px;border-radius:50%;border:0;background:#e4313a;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 30px -8px rgba(228,49,58,.8);transition:transform .15s,filter .15s}
.fm-play:hover{transform:scale(1.06);filter:brightness(1.08)}
.fm-play i{width:0;height:0;border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent #fff;margin-left:3px}
#fm.playing .fm-play i{width:13px;height:15px;border:0;margin:0;display:flex;gap:4px}
#fm.playing .fm-play i::before,#fm.playing .fm-play i::after{content:"";flex:1;background:#fff;border-radius:2px}
.fm-queue{display:flex;gap:8px;align-items:baseline;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.06);font-size:13px;color:var(--dim)}
.fm-queue b{color:var(--text);font-weight:600}.fm-queue small{margin-left:auto}
.fm-wk{padding:14px 18px;width:min(300px,80%);justify-self:end;margin-top:-6px}
.fm-wk small{color:var(--dim);font-size:12.5px}.fm-wk small b{color:var(--text)}
.fm-wk ol{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px;font-size:14px}
.fm-wk li{display:flex;justify-content:space-between;color:var(--text)}.fm-wk li b{font:12px var(--mono);color:#ff8a8f;text-transform:uppercase;letter-spacing:.06em}
@media (max-width:900px){.fm-grid{grid-template-columns:minmax(0,1fr);gap:32px}.fm-wk{justify-self:stretch;width:auto}}
@media (prefers-reduced-motion:reduce){#fm.playing .fm-eq i{animation:none;height:9px}.fm-art img{transition:none}}

/* ===== home: music section (Spotify + SoundCloud) ===== */
.mp-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.mp-copy{text-align:left}
.mp-brands{display:flex;align-items:center;gap:14px;margin-bottom:4px}
.mp-brand{display:grid;justify-items:center;gap:6px}
.mp-brand img{width:58px;height:58px;padding:12px;border-radius:18px;box-sizing:border-box}
.mp-brand small{font:12px var(--mono)}
.mp-sp img{background:rgba(30,215,96,.1);border:1px solid rgba(30,215,96,.35);box-shadow:0 10px 40px -12px rgba(30,215,96,.55)}
.mp-sp small{color:#1ed760}
.mp-sc img{background:rgba(255,110,36,.1);border:1px solid rgba(255,110,36,.38);box-shadow:0 10px 40px -12px rgba(255,110,36,.55)}
.mp-sc small{color:#ff7a33}
.mp-plus{color:var(--dim);font:14px var(--mono);margin-bottom:22px}
.mp-dim{color:#989898}
.mp-stage{background:rgba(18, 18, 18,.55);border:1px solid rgba(255,255,255,.08);border-radius:20px;backdrop-filter:blur(14px);overflow:hidden;box-shadow:0 30px 80px -40px rgba(0,0,0,.8);transition:opacity .45s}
.mp-stage.fade{opacity:.25}
.mp-bar{position:relative;height:42px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid rgba(255,255,255,.07);font-size:12.5px;color:#828282}
.mp-body{display:grid;grid-template-columns:.72fr 1.28fr;height:380px}
.mp-left{padding:18px 14px;border-right:1px solid rgba(255,255,255,.07);display:flex;flex-direction:column;gap:2px}
.mp-cat{display:flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;letter-spacing:.06em;color:var(--dim);margin-bottom:8px}
.mp-ch{display:flex;align-items:center;gap:8px;padding:7px 9px;border-radius:9px;color:var(--muted);font-size:14px}
.mp-ch span{display:flex;opacity:.8}
.mp-music{color:var(--text);background:rgba(255,255,255,.04)}
.mp-mem{display:flex;align-items:center;gap:9px;padding:5px 9px 5px 32px;color:var(--muted);font-size:13.5px;opacity:0;transform:translateX(-8px);transition:opacity .35s,transform .35s}
.mp-mem.in{opacity:1;transform:none}
.mp-mem em{font-style:normal;font-size:9.5px;font-weight:700;background:#b7b7b7;color:#1e1e1e;border-radius:4px;padding:1px 4px}
.mp-av{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#656565;color:#fff;font-size:11px;font-weight:700;overflow:hidden;box-shadow:0 0 0 2px transparent;transition:box-shadow .2s}
.mp-wa{background:#202020}.mp-wa img{width:100%;height:100%;object-fit:cover}
.mp-stage.speaking .mp-bot .mp-av{animation:mpTalk 1.1s ease-in-out infinite}
@keyframes mpTalk{50%{box-shadow:0 0 0 2px #3ba55d}}
.mp-live{display:none;gap:2px;align-items:flex-end;height:11px;margin-left:auto}
.mp-stage.speaking .mp-live{display:inline-flex}
.mp-live i{width:2.5px;height:3px;background:#3ba55d;border-radius:2px;animation:fmEq .8s ease-in-out infinite alternate}
.mp-live i:nth-child(2){animation-delay:-.25s}.mp-live i:nth-child(3){animation-delay:-.5s}
.mp-right{display:flex;flex-direction:column;min-width:0}
.mp-head{display:flex;align-items:center;gap:7px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.07);font-size:14px;color:var(--text);font-weight:600}
.mp-head span{display:flex;color:var(--dim)}
.mp-log{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:14px;padding:14px 16px;overflow:hidden}
.mp-msg{display:flex;gap:11px;opacity:0;transform:translateY(8px);transition:opacity .35s,transform .35s}
.mp-msg.in{opacity:1;transform:none}
.mp-msg .mp-av{width:34px;height:34px;font-size:13px}
.mp-msg p{margin:0 0 3px;display:flex;align-items:center;gap:7px;font-size:13.5px}
.mp-msg p b{color:var(--text)}.mp-msg p small{color:var(--dim);font-size:11px}
.mp-msg p em{font-style:normal;font-size:9.5px;font-weight:700;background:#b7b7b7;color:#1e1e1e;border-radius:4px;padding:1px 4px}
.mp-cmd{font-size:14px;color:var(--muted)}
.mp-cmd span{color:#d9d9d9;background:rgba(183, 183, 183,.14);border-radius:5px;padding:1px 5px;font-weight:500}
.mp-card{display:flex;gap:12px;align-items:center;background:rgba(10,9,14,.55);border:1px solid rgba(255,255,255,.07);border-left:3px solid #b7b7b7;border-radius:10px;padding:10px 12px;max-width:340px}
.mp-cover{width:58px;height:58px;border-radius:8px;object-fit:cover;flex:none}
.mp-info{display:grid;gap:2px;min-width:0;flex:1}
.mp-info strong{font-size:15px;color:var(--text)}
.mp-info > span:not(.mp-src){font-size:12.5px;color:var(--muted)}.mp-info b{color:#d9d9d9;font-weight:600}
.mp-src{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600}
.mp-src img{width:14px;height:14px}
.mp-src-sp{color:#1ed760}.mp-src-sc{color:#ff7a33}
.mp-prog{height:4px;border-radius:4px;background:rgba(255,255,255,.1);margin-top:6px;overflow:hidden}
.mp-prog i{display:block;height:100%;width:0;background:#b7b7b7;transition:width 1s linear}
.mp-times{display:flex;justify-content:space-between;font:10.5px var(--mono);color:var(--dim)}
.mp-q{flex-direction:column;align-items:flex-start;gap:4px;font-size:13px;color:var(--muted)}
.mp-q strong{color:var(--text)}.mp-q b{color:#d9d9d9}
.mp-input{position:relative;margin:0 14px 14px;height:40px;border-radius:10px;background:rgba(255,255,255,.05);display:flex;align-items:center;padding:0 14px;font-size:14px;color:var(--text);white-space:nowrap;overflow:hidden}
.mp-ph{position:absolute;left:14px;color:var(--dim)}
.mp-ph[hidden]{display:none}
.mp-caret{width:1.5px;height:17px;background:var(--text);margin-left:1px;animation:mpBlink 1s steps(1) infinite}
@keyframes mpBlink{50%{opacity:0}}
@media (max-width:900px){.mp-grid .mp-copy{order:-1}.mp-body{grid-template-columns:minmax(0,1fr);height:auto}.mp-left{border-right:0;border-bottom:1px solid rgba(255,255,255,.07)}.mp-log{min-height:300px}}
@media (prefers-reduced-motion:reduce){.mp-live i,.mp-caret,.mp-stage.speaking .mp-bot .mp-av{animation:none}}

/* music demo: the now playing card is a real player */
.mp-np{max-width:380px;padding:12px;gap:14px;align-items:flex-start}
.mp-art{position:relative;flex:none}
.mp-art .mp-cover{width:84px;height:84px;border-radius:10px;box-shadow:0 10px 26px -12px rgba(0,0,0,.9);transition:transform .5s}
#mp.playing .mp-art .mp-cover{transform:scale(1.04)}
.mp-eq{position:absolute;right:6px;bottom:6px;display:none;gap:2px;align-items:flex-end;height:12px;padding:3px 4px;border-radius:6px;background:rgba(0,0,0,.6)}
#mp.playing .mp-eq{display:inline-flex}
.mp-eq i{width:2.5px;background:#1ed760;border-radius:2px;animation:fmEq .8s ease-in-out infinite alternate}
.mp-eq i:nth-child(2){animation-delay:-.3s}.mp-eq i:nth-child(3){animation-delay:-.55s}
.mp-np .mp-info strong{font-size:16px;letter-spacing:-.01em}
.mp-np .mp-prog{height:5px;cursor:pointer;margin-top:8px}
.mp-np .mp-prog i{transition:width .25s linear}
.mp-np .mp-prog:focus-visible{outline:2px solid #b7b7b7;outline-offset:3px}
.mp-btns{display:flex;align-items:center;gap:8px;margin-top:8px}
.mp-btns button{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:var(--muted);cursor:pointer;transition:color .15s,border-color .15s,background .15s}
.mp-btns button:hover{color:var(--text);border-color:rgba(255,255,255,.24)}
.mp-btns button:focus-visible{outline:2px solid #b7b7b7;outline-offset:2px}
.mp-btns [data-act=loop][aria-pressed=true]{color:#d9d9d9;border-color:rgba(183, 183, 183,.45);background:rgba(183, 183, 183,.12)}
.mp-btns .mp-pp{width:38px;height:38px;border:0;background:#b7b7b7;color:#1e1e1e;box-shadow:0 8px 24px -8px rgba(183, 183, 183,.7)}
.mp-btns .mp-pp:hover{filter:brightness(1.08);background:#b7b7b7;color:#1e1e1e}
.mp-pp i{width:0;height:0;border-style:solid;border-width:7px 0 7px 11px;border-color:transparent transparent transparent #1e1e1e;margin-left:3px}
#mp.playing .mp-pp i{width:11px;height:13px;border:0;margin:0;display:flex;gap:3px}
#mp.playing .mp-pp i::before,#mp.playing .mp-pp i::after{content:"";flex:1;background:#1e1e1e;border-radius:2px}
@media (prefers-reduced-motion:reduce){.mp-eq i{animation:none;height:8px}}
.mp-body{height:430px}
.mp-log{min-height:0}
.mp-np .mp-src{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.mp-np .mp-art .mp-cover{width:72px;height:72px}
.mp-np .mp-info > span:not(.mp-src){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:900px){.mp-body{height:auto}}
.mp-req{font-size:11.5px!important;color:var(--dim)!important}
.vd-img,.mp-img{overflow:hidden;padding:0;background:#f5b21e}
.vd-img img,.mp-img img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
.mp-card{border-left:1px solid rgba(255,255,255,.07)}

/* ===== hover: cards lift a little and their border lights up ===== */
:is(.s-card,.dcard,.st-card){transition:transform .3s cubic-bezier(.2,.7,.2,1),border-color .3s,box-shadow .3s}
:is(.s-card,.dcard,.st-card):hover{transform:translateY(-3px);border-color:rgba(214, 214, 214,.3);box-shadow:0 18px 40px -24px rgba(0,0,0,.9),0 0 0 1px rgba(183, 183, 183,.08)}
@media (prefers-reduced-motion:reduce){:is(.s-card,.dcard,.st-card):hover{transform:none}}

/* ===== home hero: a poster, the name huge behind the mascot and a glass card in front ===== */
  color:transparent;-webkit-text-stroke:1.5px rgba(214, 214, 214,.22);user-select:none;pointer-events:none}
  background:rgba(26, 26, 26,.6);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(18px);box-shadow:0 40px 80px -40px rgba(0,0,0,.9)}

/* integrations rail */
.ig .h-title { margin-bottom: 44px; }
.ig .h-title h2 { color: #f4f4f4; }
.hl { background: linear-gradient(180deg, #e6e6e6, #b3b3b3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ig-rail { position: relative; overflow: hidden; margin: 0 calc(50% - 50vw); padding: 6px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ig-track { display: flex; gap: 26px; width: max-content; animation: ig-slide 52s linear infinite; padding-left: 26px; }
.ig-rail:hover .ig-track, .ig-rail:focus-within .ig-track { animation-play-state: paused; }
@keyframes ig-slide { to { transform: translateX(calc(-50% - 13px)); } }
.ig-card { position: relative; flex: 0 0 auto; width: 430px; min-height: 214px; padding: 30px 30px 30px; cursor: default; border-radius: 28px; overflow: hidden;
  display: flex; flex-direction: column; gap: 0; color: #d4d4d4; text-decoration: none; isolation: isolate;
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.012)) , #161616;
  border: 1px solid rgba(255,255,255,.07); transition: transform .25s ease, border-color .25s ease; }
.ig-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 90% at 25% 105%, color-mix(in srgb, var(--g) 22%, transparent), transparent 70%); opacity: .9; transition: opacity .25s; }
.ig-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--g) 38%, transparent); }
.ig-card:hover::before { opacity: 1.4; }
.ig-ic { width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; position: absolute; top: 26px; left: 28px;
  background: linear-gradient(180deg, #222222, #141414); border: 1.5px solid color-mix(in srgb, var(--g) 55%, transparent);
  box-shadow: 0 0 0 4px rgba(0,0,0,.35), 0 0 22px -6px color-mix(in srgb, var(--g) 60%, transparent), inset 0 1px 0 rgba(255,255,255,.06); }
.ig-ic img { width: 38px; height: 38px; object-fit: contain; }
.ig-card h3 { margin: 22px 0 0 92px; min-height: 48px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #f4f3f8; }
.ig-card p { margin-top: 30px; font-size: 16.5px; line-height: 1.75; color: #d9d9d9; }
.ig-card p em, .ig-card p i { font-style: normal; color: var(--h); }
@media (max-width: 640px) { .ig-card { width: 320px; padding: 24px 22px 22px; } .ig-ic { width: 58px; height: 58px; border-radius: 17px; top: 22px; left: 22px; }
  .ig-ic img { width: 32px; height: 32px; } .ig-card h3 { margin-left: 76px; margin-top: 16px; font-size: 19px; } .ig-card p { font-size: 15px; margin-top: 20px; } }
@media (prefers-reduced-motion: reduce) { .ig-rail { overflow-x: auto; } .ig-track { animation: none; } .ig-card[aria-hidden="true"] { display: none; } }
.h-title p { max-width: 620px; }

/* section badges (lavender) */
.sx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sx-badge { position: relative; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px;
  background: radial-gradient(circle at 50% 28%, rgba(214, 214, 214, .12), rgba(20, 20, 20, 0) 62%), #141414;
  border: 1px solid rgba(214, 214, 214, .2);
  box-shadow: 0 0 0 5px rgba(214, 214, 214, .035), 0 14px 34px -14px #000, inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 -10px 22px -12px rgba(0, 0, 0, .8); }
.sx-badge svg { filter: drop-shadow(0 0 8px rgba(190, 186, 245, .32)) drop-shadow(0 2px 2px rgba(0, 0, 0, .55)); }
.h-title h2 { color: var(--text); }

/* the light that circles a badge's ring */
.sx-orbit { position: absolute; inset: -1px; border-radius: 50%; pointer-events: none; animation: sx-spin 7s linear infinite; }
.sx-orbit::before { content: ""; position: absolute; top: -2px; left: calc(50% - 2.5px); width: 5px; height: 5px; border-radius: 50%;
  background: #f6f5ff; box-shadow: 0 0 6px 2px rgba(205, 201, 255, .85), 0 0 14px 4px rgba(183, 183, 183, .45); }
.sx-orbit::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 300deg, transparent 0deg, rgba(214, 214, 214, .6) 60deg, transparent 60.5deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px)); }
@keyframes sx-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sx-orbit { animation: none; } }
/* integrations title */
.ig-h2 { line-height: 1.18; }
.hl-mark { position: relative; display: inline-block; }
.hl-mark .hl { filter: drop-shadow(0 0 16px rgba(214, 214, 214, .38)); }
.hl-wave { position: absolute; left: -2%; right: -2%; bottom: -.16em; width: 104%; height: .32em; overflow: visible;
  filter: drop-shadow(0 0 6px rgba(193, 193, 193, .45)); }
.ig-dim { color: #979797; }

/* hero: a working command search */
.hx { position: relative; min-height: calc(100vh - 120px); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 130px 0 70px; isolation: isolate; }
.hx-tag { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #8d8d8d; }
.hx-tag i { width: 18px; height: 1px; background: #4a4a4a; }
.hx-title { margin-top: 24px; max-width: 900px; font-size: clamp(40px, 6.4vw, 80px); line-height: 1.04; letter-spacing: -.05em; font-weight: 800;
  background: linear-gradient(180deg, #fafafa 40%, #9a9a9a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-lead { margin-top: 22px; max-width: 520px; color: #9c9c9c; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.65; }
.hx-search { position: relative; width: min(640px, 100%); margin-top: 38px; z-index: 5; text-align: left; }
.hx-box { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 18px; border-radius: 18px; cursor: text; color: #8a8a8a;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)), #111113; border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 70px -30px #000, inset 0 1px 0 rgba(255, 255, 255, .06); transition: border-color .25s, box-shadow .25s; position: relative; }
.hx-box:focus-within { border-color: rgba(255, 255, 255, .22); box-shadow: 0 30px 70px -30px #000, 0 0 0 4px rgba(255, 255, 255, .04), inset 0 1px 0 rgba(255, 255, 255, .06); }
.hx-prefix { font: 600 19px var(--mono); color: #6f6f6f; margin-right: -9px; }
.hx-box input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: #f2f2f2; font: 500 18px var(--mono); }
.hx-box input::-webkit-search-cancel-button { display: none; }
.hx-ghost { position: absolute; left: 0; font: 500 18px var(--mono); color: #5e5e5e; pointer-events: none; white-space: nowrap; }
.hx-ghost::after { content: ""; display: inline-block; width: 2px; height: 20px; margin-left: 2px; vertical-align: -3px; background: #7d7d7d; animation: hx-caret 1s steps(1) infinite; }
@keyframes hx-caret { 50% { opacity: 0; } }
.hx-box kbd { font: 500 12px var(--mono); color: #7a7a7a; border: 1px solid rgba(255, 255, 255, .1); border-radius: 7px; padding: 3px 8px; }
.hx-list { position: absolute; left: 0; right: 0; top: calc(100% + 10px); padding: 6px; border-radius: 16px; background: #121214; border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 30px 70px -20px #000; max-height: 380px; overflow: auto; }
.hx-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 11px 14px; border-radius: 11px; color: inherit; text-decoration: none; }
.hx-row.on, .hx-row:hover { background: rgba(255, 255, 255, .055); }
.hx-row b { font: 600 15px var(--mono); color: #f0f0f0; }
.hx-row b mark { background: none; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.hx-row small { grid-column: 1; color: #8f8f8f; font-size: 13.5px; line-height: 1.45; }
.hx-row em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 500 11.5px var(--mono); font-style: normal; color: #7c7c7c; letter-spacing: .04em;
  padding: 4px 9px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .08); }
.hx-row code { grid-column: 1; font: 500 12.5px var(--mono); color: #6f6f6f; }
.hx-none { padding: 16px 14px; color: #8a8a8a; font-size: 14px; }
.hx-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.hx-btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 13px; font-weight: 600; font-size: 15px;
  color: var(--text); background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .1); text-decoration: none;
  transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.hx-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .065); border-color: rgba(255, 255, 255, .16); }
.hx-main { background: #f2f2f2; color: #0c0c0e; border-color: transparent; box-shadow: 0 10px 30px -14px rgba(255, 255, 255, .4); }
.hx-main:hover { background: #fff; }
.hx-meta { display: flex; align-items: center; gap: 16px; margin-top: 26px; font-size: 14px; color: #868686; }
.hx-meta b { color: #ececec; font-weight: 600; }
.hx-meta i { width: 3px; height: 3px; border-radius: 50%; background: #4d4d4d; }
@media (max-width: 640px) { .hx { padding: 100px 0 50px; min-height: auto; } .hx-box { height: 56px; } .hx-box input, .hx-ghost { font-size: 16px; }
  .hx-box kbd { display: none; } .hx-btn { height: 46px; padding: 0 18px; } .hx-meta { gap: 12px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .hx-ghost::after { animation: none; } .hx-btn { transition: none; } }
