/* ADpersonam · base: tokens "Grafito y Champán", reset, bloqueo nativo, scrollbars */
:root {
  --bg: #19191B;
  --surf: #252528;
  --surf2: #2F2F33;
  --line: #404046;
  --text: #F4F1EC;
  --soft: #B4B0A9;
  --gold: #E3C38D;
  --gold-ink: #2A1C10;
  --copper: #E07A5F;
  --ok: #8CBF9A;

  --f-titulo: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --f-texto: 'Inter Tight', 'Segoe UI', system-ui, sans-serif;

  --r: 14px;
  --r-lg: 22px;
  --nav-h: 64px;
  --top-h: 58px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

/* ── Sensación de app nativa ─────────────────────────────────────────── */
html { -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; background: var(--bg); }
body {
  margin: 0; overflow-x: clip; min-height: 100dvh;
  background: var(--bg); color: var(--text);
  font: 400 16px/1.5 var(--f-texto);
  overscroll-behavior-y: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none; user-select: none;
  -webkit-font-smoothing: antialiased;
}
input, textarea, [contenteditable] { -webkit-user-select: text; user-select: text; }

h1, h2, h3 { font-family: var(--f-titulo); line-height: 1.1; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; }

/* ── Scrollbars al diseño ────────────────────────────────────────────── */
* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
