/* Pandora — tipografías y paleta compartidas (portada, instalador, admin y app). */
@font-face { font-family: "Marcellus"; font-weight: 400; font-display: swap;
  src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Marcellus"; font-weight: 400; font-display: swap;
  src: url("../fonts/marcellus-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow SC"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Barlow SC"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Barlow SC"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Barlow SC"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Barlow SC"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow SC"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Espacio profundo y paneles de acero azulado, enmarcados en bronce dorado (como las referencias). */
  --void: #060a17;
  --deep: #0c1428;
  --panel: #142340;
  --panel-2: #1b2e52;
  --line: #2a3f66;
  --gilt: #c39a45;
  --gilt-hi: #efd28c;
  --gilt-lo: #7a5c26;
  --parchment: #ffb800;
  --ink: #dfe6f3;
  --muted: #fff;
  --ember: #d9472c;
  --ember-hi: #ff7a4d;
  --gem: #7cc0ff;
  --leaf: #5fbf7a;
  --amber: #e7a93b;
  --danger: #e2574c;

 /* --display: "Marcellus", "Palatino Linotype", Palatino, Georgia, serif;*/
 /* --ui: "Barlow SC", "Barlow Semi Condensed", "Segoe UI", system-ui, sans-serif;*/
 --display: "Times New Roman", Times, serif;
  --ui: "Times New Roman", Times, serif;

  --r-sm: 20px;
  --r-md: 8px;
  --frame: 0 0 0 1px var(--gilt-lo), inset 0 0 0 1px rgba(239, 210, 140, .18);
  --scroll-thumb: #c39a45;      /* barras de desplazamiento */
  --scroll-track: #0a1326;
}

*, *::before, *::after { box-sizing: border-box; }
/* Barras de desplazamiento finas y doradas en todo el sitio */
* { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) var(--scroll-track); }
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: var(--scroll-track); border-radius: 8px; }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 8px; border: 1px solid var(--scroll-track); }
::-webkit-scrollbar-thumb:hover { background: var(--gilt-hi); }
::-webkit-scrollbar-corner { background: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--void); color: var(--ink); font: 400 20px/1.5 var(--ui);     text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;}
a { color: var(--gilt-hi); }
:focus-visible { outline: 2px solid var(--gilt-hi); outline-offset: 2px; }
h1, h2, h3 {text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; font-family: var(--display); font-weight: 400; color: var(--parchment); letter-spacing: .01em; line-height: 1.2; }
.num { font-variant-numeric: tabular-nums; }

/* Botón con borde de bronce: el principal es dorado (como "Compra directa"). */
.btn {    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px;max-height: 40px;
  border: 1px solid var(--gilt-lo); border-radius: var(--r-sm); background: linear-gradient(#22375f, #172846);
  color: #fff; font: 600 20px/1 var(--ui); letter-spacing: .02em; cursor: pointer; text-decoration: none; }
.btn:hover { transform: scale(1.02);/* background: linear-gradient(#ffc122, #ffb600);*/ }
.btn-gold { background: linear-gradient(#f0d48e, #c69a45 55%, #f99f00);   }
.btn-gold:hover { filter: brightness(1.06); border-color: #8a6524; }
.btn-danger { background: linear-gradient(#a8352a, #7c2219); border-color: #c9533f; color: #fff2ec; }
.btn-ghost { /*background: transparent;*/background: linear-gradient(#8e94f0, #455bc6 55%, #000af9);}
.btn-sm { /*min-height: 30px; */padding: 0 10px; /*font-size: 13px;*/ }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.field { display: grid; gap: 6px; margin-bottom: 14px; align-content: start; }
.field > span { font-weight: 600; font-size: 14px; color: var(--parchment); }
.field small { color: var(--muted); font-size: 13px; }
.field .err { color: #ff9a8a; font-size: 13px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=search],
input[type=datetime-local], input[type=color], select, textarea {
  width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #0a1326; color: var(--ink); font: 400 15px/1.3 var(--ui); }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gilt); outline: none; box-shadow: 0 0 0 2px rgba(195,154,69,.25); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--gilt); width: 16px; height: 16px; }

.notice { text-align: center; border: 1px solid; margin-bottom: 16px;        background: #5e4308;
  color: #fff; }
.notice.ok { border-color: #2f6b45; background: #10281c; color: #bfe9cc; }
.notice.err { border-color: #7a2e26; background: #2a0f0c; color: #ffcdc4; }
.notice.warn { border-color: #7a5c26; background: #2a210c; color: #f6e2b0; }
.notice.info { border-color: var(--line); background: #0f1b33; color: var(--ink); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (max-width: 760px) {
.btn-sm{font-size: 13px;}
}
/* 1.11.3: en el celular no se agranda la página con dos dedos ni con doble toque (la galaxia del juego
   tiene su propio zoom y no se ve afectada). */
html { touch-action: pan-x pan-y; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
