/* Thot Creative · © 2026 Webs Creative LLC · Todos los derechos reservados
   Base: reinicio, tipografía, utilidades. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--gc-fuente);
  font-size: var(--gc-t-m);
  line-height: 1.5;
  color: var(--gc-texto);
  background: var(--gc-fondo);
  background-image: var(--gc-fondo-ambiente);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--gc-enlace); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--gc-fuente-titulos); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: var(--gc-t-2xl); }
h2 { font-size: var(--gc-t-xl); }
h3 { font-size: var(--gc-t-l); }
p { margin: 0 0 1em; }
small { font-size: var(--gc-t-s); }
hr { border: 0; border-top: 1px solid var(--gc-borde); margin: var(--gc-e5) 0; }
code, kbd { font-family: var(--gc-fuente-mono); font-size: .88em; }
kbd {
  display: inline-flex; align-items: center; gap: 2px; padding: 1px 6px; border-radius: 6px;
  border: 1px solid var(--gc-borde-fuerte); border-bottom-width: 2px; background: var(--gc-superficie-2);
  color: var(--gc-texto-suave); font-size: var(--gc-t-xs); line-height: 1.5;
}
::selection { background: color-mix(in srgb, var(--gc-naranja) 35%, transparent); }
::placeholder { color: var(--gc-texto-tenue); opacity: 1; }
:focus-visible { outline: 2px solid var(--gc-enlace); outline-offset: 2px; border-radius: 6px; }

/* Barras de desplazamiento discretas */
* { scrollbar-width: thin; scrollbar-color: var(--gc-borde-fuerte) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--gc-borde-fuerte); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }

/* Iconos (sprite Lucide) */
.gc-i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.2em; }
.gc-i--giro { animation: gc-giro 900ms linear infinite; }
@keyframes gc-giro { to { transform: rotate(360deg); } }

/* Utilidades */
.solo-lectores { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.texto-suave { color: var(--gc-texto-suave); }
.texto-tenue { color: var(--gc-texto-tenue); }
.texto-marca { color: var(--gc-enlace); }
.texto-cian { color: var(--gc-cian); }
.texto-exito { color: var(--gc-exito); }
.texto-aviso { color: var(--gc-aviso); }
.texto-peligro { color: var(--gc-peligro); }
.cifra { font-family: var(--gc-fuente-titulos); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.mono { font-family: var(--gc-fuente-mono); font-size: .9em; }
.degradado { background: var(--gc-degradado-texto); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fila { display: flex; align-items: center; gap: var(--gc-e3); }
.fila--entre { justify-content: space-between; }
.fila--envolver { flex-wrap: wrap; }
.columna { display: flex; flex-direction: column; gap: var(--gc-e3); }
.crece { flex: 1 1 auto; min-width: 0; }
.rejilla { display: grid; gap: var(--gc-e4); }
.rejilla-2 { display: grid; gap: var(--gc-e4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rejilla-3 { display: grid; gap: var(--gc-e4); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rejilla-4 { display: grid; gap: var(--gc-e4); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .rejilla-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rejilla-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .rejilla-2, .rejilla-3, .rejilla-4 { grid-template-columns: 1fr; } }
.rejilla-ancho { grid-column: span 2; }
/* Nivel de detalle (Mi perfil › Apariencia o el menú del usuario): lo técnico solo en la vista experta. */
html[data-vista="sencilla"] .solo-experto { display: none !important; }
html[data-vista="experta"] .solo-sencillo { display: none !important; }
@media (max-width: 720px) { .rejilla-ancho { grid-column: auto; } }
.recortar { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-4 { margin-top: var(--gc-e4); } .mt-5 { margin-top: var(--gc-e5); } .mb-4 { margin-bottom: var(--gc-e4); }

/* Pantalla de arranque */
.gc-arranque { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--gc-texto-suave); font-size: var(--gc-t-s); }
.gc-arranque__marca { width: 56px; height: 56px; animation: gc-latido 1.4s var(--gc-curva) infinite; }
@keyframes gc-latido { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
