/* =====================================================================
   ZEIBAN — Base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
button:disabled { cursor: default; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
::selection { background: rgba(119, 23, 255, 0.45); }
input::placeholder { color: var(--dim); }

* { scrollbar-width: thin; scrollbar-color: #2a2d34 transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: #2a2d34; border-radius: 8px; }
*::-webkit-scrollbar-track { background: transparent; }

.dim { color: var(--dim); }
.muted { color: var(--muted); }
.green-text { color: var(--green); }
.gold-text { color: var(--gold); }
.purple-text { color: var(--purple-soft); }
.mono-num { font-variant-numeric: tabular-nums; }
.sm { font-size: var(--text-sm); }
.condensed { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; }
.hidden { display: none !important; }
.z-icon { display: inline-flex; flex: none; }
.z-icon svg { width: 20px; height: 20px; }
.z-icon.icon-sm svg { width: 16px; height: 16px; }
.clamp2, .clamp4, .clamp6 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp2 { -webkit-line-clamp: 2; } .clamp4 { -webkit-line-clamp: 4; } .clamp6 { -webkit-line-clamp: 6; }

/* acessibilidade: quem pede menos movimento não recebe animações/transições longas nem laços infinitos */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
