/* Smart Shirt — neón cian y magenta sobre azul noche, retículas de escaneo. Un solo look oscuro (deliberado). */
:root {
  --bg: #0a0b1c;
  --bg-deep: #05060f;
  --surface: #12143a;
  --surface-2: #181b4a;
  --line: #2c3170;
  --line-soft: #22266a;
  --text: #eef1ff;
  --text-2: #b7bce6;
  --muted: #8f95c9;
  --cyan: #39e6ff;
  --magenta: #ff4df0;
  --violet: #a98bff;
  --yellow: #ffd23f;
  --ok: #5fe0a1;
  --danger: #ff6b8b;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --glow-cyan: 0 0 28px rgba(57, 230, 255, .55);
  --glow-magenta: 0 0 22px rgba(255, 77, 240, .45);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; margin: 0; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.label { font: 700 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.mono { font-family: var(--mono); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 16px; padding: 0 20px; min-height: 48px;
  font: 800 15px/1 var(--display); text-decoration: none; background: var(--text); color: var(--bg); transition: transform .15s ease, box-shadow .2s ease; }
.btn:active { transform: scale(.97); }
.btn.cyan { background: var(--cyan); color: var(--bg); box-shadow: var(--glow-cyan), inset 0 0 0 1px rgba(255,255,255,.4); }
.btn.magenta { background: var(--magenta); color: #1a0420; box-shadow: var(--glow-magenta); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); font-family: var(--body); font-weight: 700; }
.btn.outline-magenta { background: transparent; color: #ffd6fb; border: 1px solid var(--magenta); font-family: var(--body); font-weight: 700; box-shadow: 0 0 16px rgba(255,77,240,.22); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; padding: 0; background: rgba(10, 11, 28, .72);
  border: 1px solid var(--line); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.round svg { width: 18px; height: 18px; }
.round[aria-pressed="true"] { background: var(--yellow); color: var(--bg); border-color: var(--yellow); }

.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.lang button { border: 0; background: none; border-radius: 999px; padding: 8px 12px; min-height: 32px; font: 700 11px/1 var(--mono); letter-spacing: .1em; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--cyan); color: var(--bg); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; background: #161942; font: 700 11px/1 var(--mono); letter-spacing: .06em; color: var(--text-2); text-transform: uppercase; }
.chip.ok { background: rgba(95, 224, 161, .14); color: var(--ok); }
.chip.warn { background: rgba(255, 210, 63, .14); color: var(--yellow); }

.grid-bg { background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 26px 26px; }

.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom, 0px)); translate: -50% 0; z-index: 50; background: var(--text); color: var(--bg);
  font-weight: 800; padding: 12px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.4); white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }

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