/* ==========================================================================
   CARP SELECT — ÉLŐ BOJLIS VERSENYKÖZVETÍTŐ & MÉRLEGELÉSI RENDSZER
   Editorial Luxury Dark-Forest Obsidian & Brushed Champagne Gold Theme
   Mobile-First Weighmaster Ergonomics + Live Broadcast Data Clarity
   ========================================================================== */
:root {
  --bg-deep: #060b08;
  --bg-surface: #0c1711;
  --bg-card: #101e16;
  --bg-inner: rgba(7, 13, 10, 0.72);
  --gold: #d8bf7d;
  --gold-bright: #f2dca0;
  --gold-line: rgba(216, 191, 125, 0.2);
  --gold-strong: rgba(216, 191, 125, 0.45);
  --emerald: #57d98b;
  --emerald-bg: rgba(87, 217, 139, 0.1);
  --amber: #fbbf24;
  --red: #f87171;
  --ink: #f5f8f5;
  --ink-2: #c5d3ca;
  --ink-3: #83968a;
  --border: rgba(255, 255, 255, 0.08);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 5px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100%;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body {
  background:
    radial-gradient(960px 440px at 14% 0%, rgba(216, 191, 125, 0.1), transparent 60%),
    radial-gradient(760px 420px at 88% 12%, rgba(87, 217, 139, 0.06), transparent 55%),
    linear-gradient(180deg, #050a07 0%, #09130e 100%);
  display: flex;
  flex-direction: column;
}

.vs-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* HEADER & TABS */
.vs-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 13, 10, 0.96);
  border-bottom: 1px solid var(--gold-line);
}
.vs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.vs-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; flex-shrink: 0; }
.vs-brand__mark { width: 40px; height: 30px; color: var(--gold); }
.vs-brand__text { display: flex; flex-direction: column; line-height: 1.08; }
.vs-brand__name { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.12em; color: #fff; }
.vs-brand__sub { font-size: 0.58rem; letter-spacing: 0.24em; color: var(--gold); text-transform: uppercase; margin-top: 2px; }

.vs-header__controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.vs-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 2px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.vs-live-badge.is-finished {
  background: rgba(216, 191, 125, 0.12);
  border-color: var(--gold-strong);
  color: var(--gold-bright);
}
.vs-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: vsPulse 1.8s ease-in-out infinite;
}
.vs-live-badge.is-finished .vs-live-dot { background: var(--gold); animation: none; }
@keyframes vsPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.8); } }

.vs-tabs-bar { border-top: 1px solid rgba(255, 255, 255, 0.06); background: rgba(11, 21, 16, 0.92); }
.vs-tabs-bar__inner {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 6px;
  padding-bottom: 6px;
}
.vs-tabs-bar__inner::-webkit-scrollbar { display: none; }
.vs-tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  padding: 9px 14px;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.vs-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.vs-tab.is-active {
  color: #07100b;
  background: linear-gradient(135deg, #e7d090, #c49f4f);
  border-color: #f2dca0;
  font-weight: 700;
}
.vs-tab__count {
  padding: 1px 6px;
  border-radius: 99px;
  font-size: 0.68rem;
  background: rgba(0, 0, 0, 0.25);
}
.vs-tab--marshal { margin-left: auto; border-color: rgba(87, 217, 139, 0.32); color: #9bf0b3; }
.vs-tab--org { border-color: rgba(216, 191, 125, 0.25); color: var(--gold); }

/* HERO & COUNTDOWN */
.vs-hero { padding: 24px 0 18px; border-bottom: 1px solid var(--gold-line); }
.vs-hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 16px;
}
.vs-eyebrow {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.vs-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.45rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 8px;
}
.vs-hero__sub { font-size: 0.88rem; color: var(--ink-2); max-width: 660px; }

.vs-countdown-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-strong);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.vs-countdown-box__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}
.vs-countdown-digits {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.vs-progress-track { height: 6px; background: rgba(255, 255, 255, 0.1); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.vs-progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--emerald)); transition: width 0.35s ease; }
.vs-countdown-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 0.72rem; color: var(--ink-3); flex-wrap: wrap; }

/* TICKER */
.vs-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(16, 30, 22, 0.9);
  border: 1px solid var(--gold-line);
  border-left: 3px solid var(--gold);
  margin-bottom: 16px;
  font-size: 0.8rem;
}
.vs-ticker__tag {
  padding: 3px 8px;
  border-radius: 2px;
  background: rgba(216, 191, 125, 0.16);
  color: var(--gold-bright);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}
.vs-ticker__body { flex: 1; color: #f1f6f2; font-weight: 500; min-width: 0; }
.vs-ticker__sync { font-size: 0.68rem; color: var(--ink-3); white-space: nowrap; }

/* KPI STRIP */
.vs-kpi-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.vs-kpi {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vs-kpi--gold { border-color: var(--gold-strong); background: linear-gradient(145deg, rgba(216, 191, 125, 0.12), rgba(14, 27, 20, 0.95)); }
.vs-kpi--emerald { border-color: rgba(87, 217, 139, 0.32); }
.vs-kpi__head { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.vs-kpi__label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 700; }
.vs-kpi__val { font-size: 1.28rem; font-weight: 800; color: #fff; line-height: 1.2; }
.vs-kpi__val--gold { color: var(--gold-bright); }
.vs-kpi__meta { font-size: 0.72rem; color: var(--ink-2); line-height: 1.35; }

/* MAIN PANELS & CARDS */
.vs-main { padding-top: 22px; padding-bottom: 44px; flex: 1; }
.vs-panel { display: none; }
.vs-panel.is-active { display: block; }

.vs-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.vs-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.vs-card__title { font-family: var(--serif); font-size: 1.2rem; color: #fff; margin-bottom: 3px; }
.vs-card__sub { font-size: 0.77rem; color: var(--ink-3); }

.vs-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 12px;
}
.vs-section-head h2 { font-family: var(--serif); font-size: 1.25rem; color: #fff; }
.vs-section-hint { font-size: 0.76rem; color: var(--ink-3); }

/* CONTROLS, BUTTONS, INPUTS */
.vs-filter-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vs-sector-pills { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vs-pill {
  padding: 6px 12px;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-2);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}
.vs-pill.is-active { background: rgba(216, 191, 125, 0.2); border-color: var(--gold); color: var(--gold-bright); }
.vs-sector-pills--lg .vs-pill { min-height: 44px; padding: 10px 16px; font-size: 0.84rem; }

.vs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 3px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.vs-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.vs-btn--gold { background: linear-gradient(135deg, #e5cc88, #c49f4f); color: #07100b; border-color: #f2dca0; }
.vs-btn--gold:hover:not(:disabled) { transform: translateY(-1px); background: linear-gradient(135deg, #f0da9d, #cfa956); }
.vs-btn--ghost { background: rgba(255, 255, 255, 0.04); color: var(--ink); border-color: var(--gold-line); }
.vs-btn--ghost:hover:not(:disabled) { border-color: var(--gold); background: rgba(216, 191, 125, 0.1); }
.vs-btn--danger { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border-color: rgba(239, 68, 68, 0.4); }
.vs-btn--sm { padding: 7px 11px; font-size: 0.7rem; }
.vs-btn--lg { min-height: 48px; font-size: 0.82rem; }
.vs-btn--xl { min-height: 54px; font-size: 0.88rem; }
.vs-btn--full { width: 100%; }

.vs-mini-btn {
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px solid var(--gold-strong);
  background: rgba(216, 191, 125, 0.14);
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.vs-mini-btn:hover { background: rgba(216, 191, 125, 0.28); }

.vs-input, .vs-select {
  width: 100%;
  padding: 9px 12px;
  border-radius: 3px;
  background: #08110c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.84rem;
}
.vs-input:focus, .vs-select:focus { outline: none; border-color: var(--gold); }
.vs-input--sm, .vs-select--sm { width: auto; min-width: 170px; padding: 7px 10px; font-size: 0.76rem; }
.vs-input--lg, .vs-select--lg { min-height: 48px; font-size: 0.96rem; }
.vs-input--xl { min-height: 54px; font-size: 1.35rem; font-weight: 800; color: var(--gold-bright); font-family: ui-monospace, monospace; }
.vs-file-input { width: 100%; padding: 10px; background: #08110c; border: 1px dashed var(--gold-strong); border-radius: 4px; color: var(--ink-2); font-size: 0.82rem; }

.vs-check-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 3px; font-size: 0.75rem; color: var(--ink-2); cursor: pointer; }
.vs-check-pill input { accent-color: var(--gold); }

/* STANDINGS TABLE */
.vs-table-wrap { overflow-x: auto; }
.vs-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.vs-table th {
  text-align: left;
  padding: 10px 10px;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-line);
  white-space: nowrap;
}
.vs-table td { padding: 11px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.055); vertical-align: middle; }
.vs-table tbody tr { cursor: pointer; transition: background 0.14s ease; }
.vs-table tbody tr:hover { background: rgba(216, 191, 125, 0.06); }
.vs-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 3px;
  font-weight: 800;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-2);
}
.vs-rank-badge--1 { background: linear-gradient(135deg, #f2dca0, #c49f4f); color: #07100b; }
.vs-rank-badge--2 { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #07100b; }
.vs-rank-badge--3 { background: linear-gradient(135deg, #e6b88a, #b87333); color: #07100b; }
.vs-peg-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(216, 191, 125, 0.12);
  border: 1px solid rgba(216, 191, 125, 0.3);
  color: var(--gold-bright);
  font-family: ui-monospace, monospace;
  font-weight: 700;
  font-size: 0.74rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.vs-score-main { font-weight: 800; color: var(--emerald); font-size: 0.92rem; }
.vs-empty { text-align: center; padding: 28px 16px; color: var(--ink-3); font-size: 0.84rem; }

/* SECTORS GRID */
.vs-sectors-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vs-sector-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.vs-sector-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.vs-sector-card__title { font-family: var(--serif); font-size: 1.05rem; color: #fff; min-width: 0; }
.vs-sector-card__stats { display: flex; gap: 12px; flex-wrap: wrap; font-size: 0.73rem; color: var(--ink-3); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.vs-sector-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 8px; border-radius: 3px; font-size: 0.79rem; min-width: 0; max-width: 100%; }
.vs-sector-row > div:first-child { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.vs-sector-row > div:last-child { flex-shrink: 0; }
.vs-sector-row:nth-child(odd) { background: rgba(255, 255, 255, 0.025); }

/* CATCHES GALLERY */
.vs-catches-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vs-catch-card {
  background: var(--bg-inner);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.vs-catch-card.is-bigfish { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(216, 191, 125, 0.25); }
.vs-catch-card__media {
  position: relative;
  height: 170px;
  background: radial-gradient(circle at 30% 30%, rgba(216, 191, 125, 0.14), #08120c 72%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vs-catch-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs-catch-card__placeholder { text-align: center; padding: 14px; }
.vs-catch-card__placeholder strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold-bright); line-height: 1.1; }
.vs-catch-card__placeholder span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.vs-catch-card__weight-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 3px;
  background: rgba(6, 11, 8, 0.88);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-weight: 800;
  font-size: 0.92rem;
}
.vs-catch-card__trophy-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 3px;
  background: linear-gradient(135deg, #f2dca0, #c49f4f);
  color: #07100b;
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}
.vs-catch-card__body { padding: 13px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.vs-catch-card__team { font-weight: 700; color: #fff; font-size: 0.9rem; }
.vs-catch-card__meta { font-size: 0.74rem; color: var(--ink-2); line-height: 1.45; }
.vs-catch-card__foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* FRONT & HOURLY CHART */
.vs-front-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(87, 217, 139, 0.1), rgba(10, 20, 15, 0.92));
  border: 1px solid rgba(87, 217, 139, 0.32);
  margin-bottom: 16px;
}
.vs-front-banner strong { display: block; color: #fff; font-size: 0.92rem; margin-bottom: 3px; }
.vs-front-banner p { font-size: 0.78rem; color: var(--ink-2); }
.vs-front-score-box { text-align: center; padding: 8px 14px; border-radius: 4px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--gold-strong); flex-shrink: 0; }
.vs-front-score-box span { display: block; font-size: 0.6rem; letter-spacing: 0.14em; color: var(--gold); }
.vs-front-score-box strong { font-size: 1.45rem; color: var(--emerald); margin: 0; }

.vs-chart-legend { display: flex; align-items: center; gap: 14px; font-size: 0.75rem; color: var(--ink-2); }
.vs-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.vs-dot { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.vs-dot--emerald { background: var(--emerald); }
.vs-dot--gold { background: var(--gold); }
.vs-chart-wrap { width: 100%; overflow-x: auto; padding: 6px 0; }

.vs-analytics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.vs-bars-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.vs-bar-row__top { display: flex; justify-content: space-between; font-size: 0.78rem; margin-bottom: 4px; }
.vs-bar-track { height: 7px; background: rgba(255, 255, 255, 0.08); border-radius: 99px; overflow: hidden; }
.vs-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--emerald)); }
.vs-pills-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.vs-stat-pill { padding: 5px 10px; border-radius: 3px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); font-size: 0.73rem; color: var(--ink-2); }
.vs-dn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.vs-dn-box { padding: 12px; border-radius: 4px; background: var(--bg-inner); border: 1px solid var(--border); }
.vs-dn-box strong { display: block; font-size: 1.15rem; color: var(--gold-bright); margin-top: 3px; }

/* FORMS, MARSHAL & ORGANIZER */
.vs-auth-card { max-width: 480px; margin: 12px auto; border-top: 2px solid var(--gold); }
.vs-form { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.vs-form-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vs-form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vs-field { display: flex; flex-direction: column; gap: 5px; }
.vs-field label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); }
.vs-help-note { font-size: 0.73rem; color: var(--ink-3); text-align: center; }
.vs-help-note code { color: var(--gold-bright); background: rgba(255, 255, 255, 0.07); padding: 1px 6px; border-radius: 2px; }

.vs-chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.vs-chip {
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.vs-chip.is-active { background: rgba(216, 191, 125, 0.2); border-color: var(--gold); color: var(--gold-bright); }

.vs-photo-preview { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px; background: rgba(255, 255, 255, 0.04); border-radius: 4px; }
.vs-photo-preview img { width: 54px; height: 54px; object-fit: cover; border-radius: 3px; border: 1px solid var(--gold-line); }
.vs-photo-preview span { font-size: 0.74rem; color: var(--emerald); flex: 1; }

.vs-offline-queue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 4px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.45);
  font-size: 0.78rem;
  color: #fde68a;
}

.vs-recent-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.vs-recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 4px;
  background: var(--bg-inner);
  border: 1px solid var(--border);
  font-size: 0.78rem;
}
.vs-org-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 18px; align-items: start; }
.vs-action-row { display: flex; gap: 10px; flex-wrap: wrap; }
.vs-action-col { display: flex; flex-direction: column; gap: 10px; }

/* MODALS & SHARE CARD STUDIO */
.vs-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 7, 5, 0.84);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.vs-modal.is-open { display: flex; }
.vs-modal__box {
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--gold-strong);
  border-top: 2px solid var(--gold);
  border-radius: 6px;
  padding: 20px;
}
.vs-modal__box--wide { max-width: 860px; }
.vs-modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.vs-modal__head h3 { font-family: var(--serif); font-size: 1.25rem; color: #fff; }
.vs-modal__close { background: none; border: none; color: var(--ink-3); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.vs-modal__close:hover { color: #fff; }

.vs-share-studio { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 20px; align-items: start; }
.vs-share-preview {
  background: #050a07;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vs-share-preview canvas { max-width: 100%; max-height: 62vh; width: auto; height: auto; border-radius: 3px; display: block; }

/* FOOTER & TOAST */
.vs-footer { border-top: 1px solid var(--gold-line); padding: 18px 0; font-size: 0.74rem; color: var(--ink-3); }
.vs-footer__inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.vs-footer a { color: var(--gold-bright); text-decoration: none; }

.vs-toast-wrap { position: fixed; right: 16px; bottom: 16px; z-index: 300; display: flex; flex-direction: column; gap: 8px; max-width: 380px; }
.vs-toast {
  padding: 12px 15px;
  border-radius: 4px;
  background: #0d1c14;
  border: 1px solid var(--gold);
  border-left: 3px solid var(--gold);
  color: #fff;
  font-size: 0.8rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}
.vs-toast--err { border-color: var(--red); border-left-color: var(--red); color: #fecaca; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .vs-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs-catches-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs-org-grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .vs-desktop-only { display: none !important; }
  .vs-header { background: #070d0a; }
  .vs-header__inner { padding-top: 9px; padding-bottom: 9px; gap: 8px; }
  .vs-brand__mark { width: 32px; height: 24px; }
  .vs-brand__name { font-size: 0.98rem; }
  .vs-brand__sub { font-size: 0.52rem; letter-spacing: 0.16em; }
  .vs-header__controls { gap: 6px; flex-wrap: nowrap; min-width: 0; }
  #vs-tournament-select { width: 132px; max-width: 132px; min-width: 0; padding: 6px 8px; font-size: 0.72rem; text-overflow: ellipsis; }
  .vs-hero__top { grid-template-columns: 1fr; }
  .vs-sectors-grid, .vs-analytics-grid, .vs-catches-grid, .vs-share-studio, .vs-form-grid-2, .vs-form-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .vs-tab--marshal { margin-left: 0; }
  .vs-ticker { flex-wrap: wrap; }
  .vs-card { padding: 15px; }
}
@media (max-width: 480px) {
  .vs-container { padding: 0 14px; }
  .vs-kpi-grid { grid-template-columns: minmax(0, 1fr); }
  .vs-countdown-digits { font-size: 1.4rem; }
  .vs-sector-card { padding: 13px 12px; }
  .vs-sector-row { font-size: 0.74rem; padding: 6px 6px; gap: 6px; }
}
