/* Orilla · estilos compartidos entre la web y la app */
:root {
  --night: #071426;
  --deep: #0b1d36;
  --card: #10284a;
  --card2: #143259;
  --line: rgba(143, 216, 242, .18);
  --ink: #f2f7fb;
  --mute: #a9bfd3;
  --sea: #19c2b8;
  --sea-ink: #04201f;
  --foam: #8fd8f2;
  --sand: #e9dcc0;
  --sand-ink: #1d2733;
  --sand-mute: #4f5d6b;
  --ok: #2fbf71;
  --warn: #f2b01e;
  --bad: #f0594c;
  --off: #8796a8;
  --okbg: rgba(47, 191, 113, .16);
  --warnbg: rgba(242, 176, 30, .16);
  --badbg: rgba(240, 89, 76, .16);
  --r: 14px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--ink); font: 16px/1.55 var(--sans); }
img, svg { max-width: 100%; }
a { color: var(--foam); }
h1, h2, h3 { margin: 0; line-height: 1.1; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.cap { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--sea); text-transform: uppercase; }
.note { font-size: 14px; color: var(--mute); }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* botones: siempre 48 px de alto mínimo, se tocan con la mano mojada */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; background: var(--sea); color: var(--sea-ink); transition: transform .15s, filter .15s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.sos { background: var(--bad); color: #fff; }
.btn.ok { background: var(--ok); color: #052313; }
.btn.big { min-height: 60px; font-size: 18px; padding: 0 28px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; transform: none; }
.linkbtn { background: none; border: 0; padding: 8px 4px; min-height: 44px; color: var(--foam); font: inherit; text-decoration: underline; cursor: pointer; }
:focus-visible { outline: 3px solid var(--foam); outline-offset: 2px; }

/* estados */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.tag::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: currentColor; }
.l0 { color: var(--ok); } .l1 { color: var(--warn); } .l2 { color: var(--bad); } .l-1 { color: var(--off); }

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