/* Mini App skin: same look as the website (near-black, star field, 1px bordered cards, uppercase labels, green accent).
   Loaded after the app's own styles, so it only re-colours; no layout logic changes. */
:root{
  --bg:#050505; --bg2:#050505; --card:rgba(12,12,12,.78); --card2:rgba(12,12,12,.78);
  --line:rgba(255,255,255,.09); --ind:#22c55e; --ind2:#22c55e; --ind3:#16a34a; --green:#22c55e; --ok:#22c55e;
  --mut:#8a8a8a; --dim:#5f5f5f;
  --q-base:#050505; --q-surf:rgba(12,12,12,.78); --q-elev:rgba(255,255,255,.06); --q-accent:#22c55e; --q-on:#04120a;
  --q-muted:#8a8a8a; --q-text:#f4f4f4; --q-line:rgba(255,255,255,.09); --q-line2:rgba(255,255,255,.16);
  --accent:#22c55e;
  --sans:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
html{background:#050505}
html body{background:transparent!important;background-image:none!important}
#stars{z-index:-1}
/* cards: 1px border, small radius, no gradients or glows */
html body .card,html body .hx-row,html body .q-live,html body .q-pn,html body .q-s,html body .q-card,html body .q-sheet .q-pn{
  background:rgba(12,12,12,.78)!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:10px!important;box-shadow:none!important}
html body .hx-row.ready{background:rgba(34,197,94,.08)!important;border-color:rgba(34,197,94,.4)!important;color:#f4f4f4!important}
html body .hx-row.ready .hx-s,html body .hx-row.ready .hx-s.warn{color:#8a8a8a!important}
html body .hx-row.ready .hx-ic{background:rgba(34,197,94,.12)!important;color:#22c55e!important}
html body .hx-row.ready .hx-chev{color:#22c55e!important}
html body .hero{background:rgba(12,12,12,.78)!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:10px!important;box-shadow:none!important}
html body .hero:after{display:none}
html body .hx-ic{background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.09);border-radius:8px!important;color:#22c55e!important}
html body .hx-head{background:none!important}
html body .hx-av,html body .avatar,html body .q-av{background:#0c0c0c!important;border:1px solid rgba(255,255,255,.16);color:#22c55e!important;box-shadow:none!important}
/* buttons */
html body .btn,html body .q-btn,html body .q-big{background:#22c55e!important;color:#04120a!important;border-radius:8px!important;box-shadow:none!important}
html body .q-big{border-radius:50%!important}
html body .q-btn.ghost,html body .q-sq{background:rgba(255,255,255,.06)!important;color:#e8e8e8!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:8px!important}
html body .q-btn.danger{background:rgba(239,68,68,.10)!important;color:#ef4444!important;border:1px solid rgba(239,68,68,.35)!important}
/* titles centred, labels small and uppercase */
html body .q-hd .q-who,html body .hx-who{text-align:center!important}
html body .hx-head{justify-content:center;flex-direction:column;gap:10px}
html body .hx-title,html body .q-ttl{text-align:center;font-size:22px!important;font-weight:700;letter-spacing:-.01em}
html body .q-kick,html body .q-l,html body .lbl,html body .hx-s{font-size:11px!important;text-transform:uppercase;letter-spacing:.1em}
html body .hx-s{text-transform:none;letter-spacing:0;font-size:12px!important}
/* inputs */
html body input,html body textarea,html body select{background:rgba(0,0,0,.5)!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:8px!important}
html body input:focus,html body textarea:focus{border-color:rgba(34,197,94,.45)!important}
/* bottom nav -> flat, 1px top border */
html body nav,html body .q-anav{background:rgba(5,5,5,.9)!important;border-top:1px solid rgba(255,255,255,.09)!important;backdrop-filter:blur(6px)}
html body nav button.on{color:#22c55e!important;background:transparent!important}
html body .q-bar,html body .q-bar i{border-radius:2px}
html body .q-bar i{background:#22c55e!important}
/* ---------- sidebar drawer (same entries as the website) ---------- */
#lb-menu{position:fixed;top:12px;left:12px;z-index:30;width:38px;height:38px;border:1px solid rgba(255,255,255,.16);border-radius:8px;
  background:rgba(0,0,0,.8);display:grid;place-items:center;cursor:pointer;color:#f4f4f4;padding:0}
#lb-menu svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
#lb-scrim{position:fixed;inset:0;z-index:40;background:rgba(0,0,0,.6);display:none}
#lb-scrim.on{display:block}
#lb-side{position:fixed;top:0;bottom:0;left:0;width:236px;z-index:41;background:rgba(5,5,5,.96);border-right:1px solid rgba(255,255,255,.09);
  transform:translateX(-102%);transition:transform .2s;display:flex;flex-direction:column;direction:ltr;font-family:var(--sans);text-align:left}
#lb-side.on{transform:none}
#lb-side .br{display:flex;align-items:center;gap:10px;padding:16px;font-weight:700;font-size:15px;color:#f4f4f4}
#lb-side .lg{width:26px;height:26px;border:1px solid rgba(255,255,255,.16);border-radius:7px;display:grid;place-items:center;color:#22c55e}
#lb-side .lg svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8}
#lb-side .gp{padding:12px 16px 6px;font-size:10px;letter-spacing:.14em;color:#5f5f5f;text-transform:uppercase}
#lb-side button.mi{display:flex;align-items:center;gap:10px;margin:1px 8px;padding:10px;border:0;border-radius:8px;background:none;color:#8a8a8a;
  font:13px var(--sans);cursor:pointer;width:calc(100% - 16px);text-align:left}
#lb-side button.mi svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
#lb-side button.mi.on{background:rgba(255,255,255,.08);color:#f4f4f4}
#lb-side .sp{flex:1}
#lb-side .bt{border-top:1px solid rgba(255,255,255,.09);padding:8px 0}
body.lb-nodrawer #lb-menu{display:none}
/* new screens */
.lb-card{background:rgba(12,12,12,.78);border:1px solid rgba(255,255,255,.09);border-radius:10px;padding:14px;margin-bottom:12px;direction:ltr;font-family:var(--sans)}
.lb-card .l{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:#8a8a8a;margin-bottom:8px}
.lb-msg{max-width:80%;padding:8px 12px;border:1px solid rgba(255,255,255,.09);border-radius:10px;margin:6px 0;white-space:pre-wrap;word-break:break-word;font-size:14px}
.lb-msg.me{margin-left:auto;background:rgba(34,197,94,.10);border-color:rgba(34,197,94,.35)}
.lb-row{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:8px 0;border-top:1px solid rgba(255,255,255,.09);font-size:12.5px}
.lb-row:first-child{border-top:0}
.lb-b{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#e8e8e8;border-radius:8px;padding:7px 12px;font:600 12px var(--sans);cursor:pointer}
.lb-b.pri{background:#22c55e;border-color:#22c55e;color:#04120a}
.lb-b.bad{color:#ef4444;border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.10)}
.lb-in{width:100%;padding:10px 12px;color:#f4f4f4;font:14px var(--sans);margin-bottom:8px}
html body .q-hd{padding-left:52px}
.lb-b{white-space:nowrap}
