/* ProspectsZyra — BASE (reset + elementos + tipografia). Tokens em tokens.css */
/* ------------------------------ base ------------------------------ */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* atmosfera: fundo corporativo discreto (sem grade/glow) */
.bg-grid, .glow { display: none; }

::selection { background: var(--acc); color: #fff; }

strong, b { font-weight: 600; }
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }

button, input, select, textarea, option, optgroup, summary, label, dt, dd { color: var(--ink); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-xs); }

/* scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; border: 3px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-thumb:hover { background: var(--muted-2); background-clip: content-box; }

.hidden { display: none !important; }

/* ícones inline */
.ic { flex: none; display: inline-block; vertical-align: -2px; }
.tab .ic { width: 15px; height: 15px; }
.btn .ic { width: 15px; height: 15px; }
.stat-ico { display: inline-flex; }
.stat-ico .ic { width: 20px; height: 20px; }
.fn-ico { display: inline-flex; }
.ph-ico .ic { width: 22px; height: 22px; }
.t-top .ic { color: var(--muted); vertical-align: -2px; }
.t-ico .ic { color: currentColor; }
.edge .ic, .kri .ic { color: var(--muted); }
.a-go .ic, .e-cond .ic { vertical-align: -2px; }

/* --------------------------- tipografia --------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.logo, #levelNum, .fn-val, .stat b, .ab-row b, .score, .xp-label,
.kv dd, .ti-meta, .oi-meta, .a-sched, .a-last, .rawjson, pre, code,
.edge, .delay-badge, .ss-meta, .t-when, .when, .xp, .streak b, .d-stat {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
