/* VERSUS CORE UI — shared versus screens. © 2026 Andreas Trejo · IQ Bonkers.
   IQ Galaxy register: deep-space glass, IQ pink #FF00C6 energy, gold accent.
   Hosts may re-skin via the CSS vars. No emoji, no external assets. */
.vc-root {
  --vc-pink: #FF00C6;
  --vc-gold: #FFC44D;
  --vc-ink: #0B0614;
  --vc-panel: rgba(16, 10, 30, 0.88);
  --vc-line: rgba(255, 0, 198, 0.45);
  --vc-text: #F6F0FF;
  --vc-dim: #B9A8D9;
  position: absolute;
  inset: 0;
  pointer-events: none;
  font-family: inherit;
  z-index: 40;
}
.vc-root * { box-sizing: border-box; }

/* ---------- HUD ---------- */
.vc-hud {
  position: absolute;
  top: calc(6px + env(safe-area-inset-top, 0px));
  left: 10px; right: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.vc-side { min-width: 0; flex: 1 1 0; }
.vc-side.vc-right { text-align: right; }
.vc-side.vc-right .vc-pips { justify-content: flex-end; }
.vc-name {
  font-weight: 800; font-size: 13px; letter-spacing: 0.08em;
  color: var(--vc-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}
.vc-pips { display: flex; gap: 4px; margin-top: 3px; }
.vc-pip {
  width: 16px; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
}
.vc-pip.on { background: var(--vc-pink); border-color: var(--vc-pink); box-shadow: 0 0 8px var(--vc-pink); }
.vc-clock { text-align: center; flex: 0 0 auto; }
.vc-time {
  font-weight: 900; font-size: 22px; line-height: 1; color: var(--vc-text);
  font-variant-numeric: tabular-nums; text-shadow: 0 1px 8px rgba(0,0,0,0.85);
}
.vc-round { font-size: 10px; letter-spacing: 0.22em; color: var(--vc-gold); margin-top: 3px; font-weight: 700; }

/* ---------- overlays ---------- */
.vc-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(40, 8, 60, 0.55), rgba(5, 2, 12, 0.82));
  pointer-events: auto;
  padding: 18px;
}
.vc-card {
  width: min(94vw, 430px);
  background: var(--vc-panel);
  border: 1px solid var(--vc-line);
  border-radius: 20px;
  padding: 20px 16px 16px;
  text-align: center;
  box-shadow: 0 18px 60px rgba(0,0,0,0.6), 0 0 34px rgba(255,0,198,0.16) inset;
  backdrop-filter: blur(8px);
}
.vc-vsrow { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.vc-fighter { flex: 1 1 0; min-width: 0; }
.vc-portrait { width: 104px; height: 104px; margin: 0 auto; }
.vc-portrait canvas { width: 100%; height: 100%; display: block; }
.vc-vs {
  font-weight: 900; font-style: italic; font-size: 26px; color: var(--vc-gold);
  text-shadow: 0 0 14px rgba(255,196,77,0.55); flex: 0 0 auto;
}
.vc-fname {
  margin-top: 8px; font-weight: 900; font-size: 16px; letter-spacing: 0.05em; color: var(--vc-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vc-fsub { font-size: 10px; letter-spacing: 0.2em; color: var(--vc-dim); margin-top: 2px; font-weight: 700; }
.vc-series-line { margin: 14px 0 4px; font-size: 11px; letter-spacing: 0.18em; color: var(--vc-dim); font-weight: 700; }
.vc-champ { font-weight: 900; font-size: 26px; letter-spacing: 0.04em; color: var(--vc-text); margin-bottom: 2px; }
.vc-card .vc-portrait { margin-top: 10px; }

.vc-btn {
  display: block; width: 100%; margin-top: 12px;
  min-height: 52px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.07); color: var(--vc-text);
  font: inherit; font-weight: 900; letter-spacing: 0.14em; font-size: 15px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.vc-btn:active { transform: scale(0.98); }
.vc-btn.vc-primary {
  background: var(--vc-pink); border-color: var(--vc-pink); color: #fff;
  box-shadow: 0 6px 22px rgba(255,0,198,0.45);
}

.vc-banner { text-align: center; pointer-events: none; }
.vc-banner-round {
  font-weight: 900; font-style: italic; font-size: 44px; letter-spacing: 0.03em; color: var(--vc-text);
  text-shadow: 0 0 22px rgba(255,0,198,0.65), 0 2px 0 rgba(0,0,0,0.4);
}
.vc-banner-round.vc-small { font-size: 26px; font-style: normal; }
.vc-banner-sub { margin-top: 6px; font-size: 15px; font-weight: 800; letter-spacing: 0.3em; color: var(--vc-gold); }
