/* Master Paola LIVE — estilo compartido.
   Modo día (blanco) por defecto; botón para modo noche en cada página. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #0b1733;
  --soft: #46516b;
  --line: #d5dae6;
  --brand: #142d68;
  --brand-ink: #ffffff;
  --gold: #8f6a1e; /* dorado legible sobre blanco */
  --goldline: #c9a04a;
  --live: #d4141c;
  --ok: #0d7a36;
  --warn: #b45309;
  --bad: #c81e1e;
  --focus: #1d4ed8;
  --cap-bg: #ffffff;
  --cap-ink: #0b1733;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #0b1733;
  --surface: #10204a;
  --ink: #f2f4fa;
  --soft: #b7c1d9;
  --line: #2b3d6b;
  --brand: #c9a04a;
  --brand-ink: #0b1733;
  --gold: #e2bd64;
  --goldline: #c9a04a;
  --live: #ff3b3b;
  --ok: #3ddc84;
  --warn: #fbbf24;
  --bad: #ff5c5c;
  --focus: #93c5fd;
  --cap-bg: #0b1733;
  --cap-ink: #f2f4fa;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']):not([data-theme='dark']) {
    --bg: #0b1733;
    --surface: #10204a;
    --ink: #f2f4fa;
    --soft: #b7c1d9;
    --line: #2b3d6b;
    --brand: #c9a04a;
    --brand-ink: #0b1733;
    --gold: #e2bd64;
    --live: #ff3b3b;
    --ok: #3ddc84;
    --warn: #fbbf24;
    --bad: #ff5c5c;
    --focus: #93c5fd;
    --cap-bg: #0b1733;
    --cap-ink: #f2f4fa;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.5 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }

.brand-word {
  font-family: 'Cinzel', 'Trajan Pro', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--goldline), transparent); border: 0; margin: 0; }

.theme-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.live-dot::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--soft);
}
.live-dot.on { color: var(--live); }
.live-dot.on::before { background: var(--live); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .live-dot.on::before { animation: none; } }

.watermark {
  position: fixed;
  inset: auto 0 0 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  padding-bottom: 6px;
  opacity: 0.18;
}
.watermark img { height: 28px; }
