/* ============================================================
   TIPOGRAFIA OFICIAL DEL JUEGO (centralizada)
   - Inter: TODA la informacion funcional (numeros, cantidades,
     estadisticas, recursos, niveles, porcentajes, botones, menus,
     descripciones y textos normales).
   - Cinzel: UNICAMENTE titulos importantes y encabezados fantasy.
   El estilo fantasy se mantiene con titulos, colores, marcos e
   iconografia; la informacion siempre es clara y legible.
   Este archivo se carga al final en todas las pantallas
   (juego, acceso y administracion) y gana a cualquier stack
   declarado en el CSS de cada pagina. No editar pagina por pagina.
   ============================================================ */
:root{
  --dtt-font-display:'Cinzel',Georgia,'Times New Roman',serif;
  --dtt-font-copy:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --dtt-font-data:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
}

/* Base global: Inter en todo, numeros tabulares por defecto. */
html body.ui-reborn,
html body.page-auth,
html body.page-admin{
  font-family:var(--dtt-font-copy)!important;
  font-variant-numeric:tabular-nums;
  font-optical-sizing:auto;
  font-kerning:normal;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

/* Martillo centralizado: cualquier elemento funcional usa Inter, por encima
   de cualquier stack serif declarado en el CSS de cada pagina. */
html body.ui-reborn *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(code):not(pre):not(kbd):not(samp),
html body.page-auth *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(code):not(pre):not(kbd):not(samp),
html body.page-admin *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(code):not(pre):not(kbd):not(samp){
  font-family:var(--dtt-font-copy)!important;
}

/* Titulos importantes y encabezados fantasy: Cinzel real. */
html body.ui-reborn h1,html body.ui-reborn h2,html body.ui-reborn h3,
html body.ui-reborn h4,html body.ui-reborn h5,html body.ui-reborn h6,
html body.page-auth h1,html body.page-auth h2,html body.page-auth h3,
html body.page-admin h1,html body.page-admin h2,html body.page-admin h3,
html body.ui-reborn .font-display,
html body.ui-reborn .qb-promo p{
  font-family:var(--dtt-font-display)!important;
}

/* Etiquetas de menu del sidebar: Inter (legibilidad funcional). */
html body.ui-reborn .game-sidebar .nav-group-label{
  font-family:var(--dtt-font-copy)!important;
}

/* Numeros, cantidades y estadisticas: Inter 500, siempre tabulares. */
html body.ui-reborn time,html body.ui-reborn data,html body.ui-reborn output,
html body.ui-reborn .stat-value,html body.ui-reborn .resource-value,
html body.ui-reborn .currency-value,html body.ui-reborn .level-value,
html body.ui-reborn .damage-number,html body.ui-reborn .heal-number,
html body.ui-reborn .timer,html body.ui-reborn .countdown,
html body.ui-reborn .amount,html body.ui-reborn .value,html body.ui-reborn .num{
  font-family:var(--dtt-font-data)!important;
  font-weight:500;
  font-variant-numeric:tabular-nums lining-nums;
  font-feature-settings:"tnum" 1,"lnum" 1;
}

/* Monoespaciado intacto. */
html body.ui-reborn code,html body.ui-reborn pre,
html body.ui-reborn kbd,html body.ui-reborn samp{
  font-family:Consolas,"Courier New",monospace!important;
}
