/* =========================================================
   Arm "taiam" — Mississauga Volleyball split-screen design.
   This is a faithful port of the standalone Astro site's layout and copy.
   The functional #vbv-* / .vbv-* checkout skeleton (driven by indexv1b.js and
   filled server-side with live inventory) is styled to match that design, so
   the live cards / checkout wear the same skin as the marketing site.
   Fonts self-hosted (2 variable files, per Juan's dedupe).
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("/assets/arms/taiam/fonts/inter-var.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Urbanist";
  src: url("/assets/arms/taiam/fonts/urbanist-var.woff2") format("woff2");
  font-weight: 600 800; font-style: normal; font-display: swap;
}

:root {
  --color-red: #ff001a;
  --color-red-dark: #d90016;
  --color-red-text: #d90016;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-surface-gray: #f6f6f6;
  --color-gray-tag: #686868;
  --color-border: rgba(34, 34, 34, 0.2);
  --color-muted: #6b6b6b;
  --color-muted-strong: rgba(34, 34, 34, 0.8);
  --color-placeholder: #767676;
  --font-display: "Urbanist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fs-hero: 32px;
  --fs-section: 24px;
  --fs-lg: 18px;
  --fs-md: 16px;
  --fs-body: 16px;
  --fs-sm: 13px;
  --fs-xs: 12px;
  --radius-md: 12px;
  --radius-pill: 99px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.3s;
  --color-focus: var(--color-red-dark);
  --screen: 402px;
  --content: 370px;
}

/* ---- Reset / base (ported from global.css) ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.2;
  color: var(--color-black);
  background: #e9e9ec;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.strong { font-weight: var(--fw-semibold); }
.reg { font-weight: var(--fw-regular); }
.muted { color: var(--color-muted); }

/* ---- Shell ---- */
.screen {
  width: 100%;
  max-width: var(--screen);
  margin-inline: auto;
  background: var(--color-white);
  min-height: 100vh;
  overflow: hidden;
}
.content { display: contents; }

/* ---------- HERO ---------- */
.hero { position: relative; }
.hero-img { width: 100%; height: 352px; object-fit: cover; }
.topbar {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px;
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand-logo { width: 41px; height: 40px; }
.brand-name {
  font-family: var(--font-display);
  color: var(--color-white);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
}
.login-btn {
  border: 4px solid var(--color-red);
  color: var(--color-white);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  line-height: 1;
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.login-btn:hover { background: var(--color-red-dark); }
.login-btn:active { transform: scale(0.98); }
.hero-card {
  position: relative;
  margin-top: -154px;
  margin-left: 16px;
  width: var(--content);
  background: var(--color-red-dark);
  color: var(--color-white);
  padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.hero-title { font-size: var(--fs-hero); font-weight: var(--fw-semibold); line-height: 1; }
.hero-sub { font-size: var(--fs-body); line-height: 1.2; }
.hero-proof {
  display: flex; align-items: center; gap: 8px; margin-top: 4px;
  font-size: var(--fs-sm); color: var(--color-white);
}
.hero-proof .stars { letter-spacing: 1px; }
.hero-cta {
  align-self: flex-start; margin-top: 8px;
  background: var(--color-white); color: var(--color-black);
  font-weight: var(--fw-semibold); font-size: var(--fs-md);
  padding: 12px 22px; border-radius: var(--radius-pill);
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.hero-cta:hover { opacity: 0.92; }
.hero-cta:active { transform: scale(0.98); }

/* ---------- PANELS ---------- */
.panel { margin: 40px 16px 0; width: var(--content); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.label { font-size: var(--fs-body); color: var(--color-black); margin-bottom: 16px; }
.field { display: flex; flex-direction: column; }

/* ---------- SIGNUP ---------- */
.signup { padding: 21px 16px 14px; display: flex; flex-direction: column; gap: 32px; }
.signup-row { display: flex; gap: 12px; }
.pill-btn {
  flex: 1; min-width: 0; height: 48px; border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold); font-size: var(--fs-md);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out), background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.pill-btn:active { transform: scale(0.98); }
.pill-btn--dark { background: var(--color-black); color: var(--color-white); border: 4px solid var(--color-black); }
.pill-btn--dark:hover { opacity: 0.9; }
.pill-btn--outline { background: var(--color-white); color: var(--color-black); border: 4px solid var(--color-black); }
.pill-btn--outline:hover { background: var(--color-surface-gray); }
/* the toggle is driven by .vbv-selected — mirror the dark/outline pair regardless
   of which button carries which static modifier class */
.signup-row .vbv-toggle.vbv-selected { background: var(--color-black); color: var(--color-white); border-color: var(--color-black); }
.signup-row .vbv-toggle:not(.vbv-selected) { background: var(--color-white); color: var(--color-black); border-color: var(--color-black); }
.signup-bottom { display: flex; flex-direction: column; gap: 15px; }

/* nights — the server regenerates #vbv-nights and emits ONLY .vbv-night, so the
   look must hang off .vbv-night (styling .night alone would vanish once live). */
.nights { display: flex; gap: 4px; flex-wrap: wrap; }
.night, .vbv-night {
  padding: 9px 13px; border-radius: var(--radius-pill);
  border: 1px solid var(--color-border); background: var(--color-white); color: var(--color-black);
  font-weight: var(--fw-semibold); font-size: var(--fs-xs); text-transform: uppercase; line-height: 1;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.night:hover:not(.vbv-selected), .vbv-night:hover:not(.vbv-selected) { border-color: var(--color-black); }
.night:active, .vbv-night:active { transform: scale(0.97); }
.night.vbv-selected, .vbv-night.vbv-selected { background: var(--color-black); color: var(--color-white); border: 1px solid var(--color-black); }

/* ---------- LEAGUE CARDS (server emits .vbv-row markup) ---------- */
.vbv-rows { display: flex; flex-direction: column; gap: 16px; }
.vbv-row {
  width: 100%; text-align: left; background: var(--color-white);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 16px; display: flex; flex-direction: column; gap: 18px;
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.vbv-row:hover { border-color: var(--color-black); }
.vbv-row:active { transform: scale(0.995); }
.vbv-row.vbv-selected { border: 4px solid var(--color-red); padding: 13px; }
/* Card body stacks; price drops to a "Total" row at the bottom (this design puts
   the price under the details, not top-right). */
.vbv-row-flex { display: flex; flex-direction: column; gap: 16px; }
.vbv-row-flex > div:first-child { display: flex; flex-direction: column; gap: 8px; }
.vbv-row-title { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: var(--fw-regular); line-height: 1.2; }

/* This design carries no badge/countdown chips on the cards — the server still
   emits .vbv-flags, so hide them here (arm-scoped; other arms keep theirs). */
.vbv-row .vbv-flags { display: none; }
.vbv-flag {
  height: 20px; display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 8px; border-radius: var(--radius-pill); font-size: var(--fs-xs);
  font-weight: var(--fw-semibold); color: var(--color-white); white-space: nowrap; text-transform: none;
}
.vbv-flag-badge { background: var(--color-gray-tag); }
.vbv-flag-count, .vbv-flag-urgent { background: var(--color-red-dark); }
/* the server tags its chips .vbv-mono — keep it on-brand (Inter, not monospace). */
.vbv-mono { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.02em; }
/* The server now emits meta/fine as separate labelled pieces (Juan's row template):
   .vbv-row-meta  > .vbv-row-venue · .vbv-sep · .vbv-row-incl
   .vbv-row-fine  > .vbv-row-starts · .vbv-row-females · .vbv-row-team-hint
   Each optional piece carries its own separator, so hiding a piece drops its middot. */
.vbv-row-meta { display: flex; flex-direction: column; gap: 3px; }
.vbv-row-meta .vbv-sep { display: none; }       /* matches+times first ... */
.vbv-row-incl  { order: 1; font-size: var(--fs-md); color: var(--color-black); }
.vbv-row-venue { order: 2; font-size: var(--fs-body); color: var(--color-black); }  /* ... venue on its own line below */
.vbv-row-fine { font-size: var(--fs-body); color: var(--color-muted); }
.vbv-row-team-hint { display: none; }            /* drop the team-per-player clause */

/* bottom "Total" row: label left, price + tax right */
.vbv-row-flex > div:last-child {
  display: flex; align-items: baseline; gap: 6px;
  border-top: 1px solid var(--color-border); padding-top: 14px;
}
.vbv-row-flex > div:last-child::before {
  content: "Total"; margin-right: auto;
  font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: var(--fs-body); color: var(--color-black);
}
.vbv-row-price { font-family: var(--font-display); font-size: 22px; font-weight: 800; white-space: nowrap; }
.vbv-row-tax { font-size: var(--fs-xs); color: var(--color-muted); text-transform: capitalize; }
.vbv-empty { font-size: var(--fs-body); color: var(--color-muted); padding: 8px 2px; }

/* ---------- CHECKOUT (functional #vbv-* skinned like the mockup) ---------- */
.checkout { padding: 24px 16px 16px; display: flex; flex-direction: column; gap: 16px; }
.checkout-title, .arm-co-head h2 { font-size: var(--fs-section); font-weight: var(--fw-semibold); line-height: 1; font-family: var(--font-display); }
.arm-co-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stripe, .vbv-stripe-badge { width: 106px; height: 24px; }
.arm-eyebrow { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .04em; color: var(--color-muted); text-transform: uppercase; }

.vbv-fields { display: flex; flex-direction: column; gap: 12px; }
.vbv-field { display: flex; flex-direction: column; gap: 6px; }
.vbv-field input, .vbv-field select, .vbv-picker-field select {
  width: 100%; height: 48px; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding-inline: 16px; color: var(--color-black); background: var(--color-white); font-size: var(--fs-body);
}
.vbv-field input::placeholder { color: var(--color-placeholder); }
.vbv-err { font-size: var(--fs-xs); color: var(--color-red-text); }
.vbv-lead-note { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-sm); color: var(--color-muted); }
.vbv-mens-note { font-size: var(--fs-sm); color: var(--color-muted); }

.vbv-fees { display: flex; flex-direction: column; gap: 12px; }
.vbv-fee {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left;
  border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 14px 16px; background: var(--color-white);
  transition: border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.vbv-fee.vbv-selected { border: 2px solid var(--color-black); padding: 13px 15px; }
.vbv-fee-titlerow { display: inline-flex; align-items: center; gap: 8px; }
.vbv-fee-title { font-weight: var(--fw-semibold); font-size: var(--fs-md); }
.vbv-fee-note { display: block; font-size: var(--fs-sm); color: var(--color-muted); margin-top: 2px; }
.vbv-save-badge { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--color-red-text); }
.vbv-fee-amt { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); white-space: nowrap; }

.vbv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.vbv-payment { display: flex; flex-direction: column; gap: 12px; }
.vbv-payment-hint { font-size: var(--fs-sm); color: var(--color-muted); }
.vbv-pay-head h2 { font-size: var(--fs-lg); font-weight: var(--fw-semibold); font-family: var(--font-display); }
.vbv-or-row { display: flex; align-items: center; justify-content: center; font-size: var(--fs-xs); color: var(--color-muted); text-transform: uppercase; }
.vbv-err-block { font-size: var(--fs-xs); color: var(--color-red-text); }
.vbv-cta-group { display: flex; flex-direction: column; gap: 12px; }
.vbv-picker-field label { font-size: var(--fs-sm); color: var(--color-muted); margin-bottom: 6px; display: block; }
.vbv-paybtn {
  height: 48px; background: var(--color-black); color: var(--color-white); border-radius: var(--radius-md);
  font-weight: var(--fw-medium); font-size: var(--fs-md);
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.vbv-paybtn:hover:not(:disabled) { opacity: 0.9; }
.vbv-paybtn:active { transform: scale(0.98); }
.vbv-paybtn:disabled { opacity: 0.5; cursor: not-allowed; }
.vbv-post-note { font-size: var(--fs-xs); line-height: 1.3; color: var(--color-muted-strong); }
.vbv-secure { font-size: 10px; letter-spacing: .04em; color: var(--color-muted); text-transform: uppercase; }

/* order summary (#vbv-co-summary) — MSL's .checkout-summary, in this arm's
   tokens. Structure is MSL's exactly: title, season line, a two-up meta pair,
   the fee, the balance when there is one, the total under a hairline. */
.vbv-co-summary { background: var(--color-surface-gray); border-radius: var(--radius-md); padding: 20px; }
.vbv-co-title { font-size: var(--fs-section); font-weight: 800; font-family: var(--font-display); line-height: 1.2; }
.vbv-co-sub { color: var(--color-muted); font-size: var(--fs-md); margin: 6px 0 0; }
.vbv-co-where { display: grid; gap: 4px; margin-top: 20px; }
.vbv-co-dim { color: var(--color-muted); font-size: var(--fs-md); }
.vbv-co-dim:empty { display: none; }

.vbv-co-dl { margin: 32px 0 0; border-top: 1px solid var(--color-border); }
.vbv-co-dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; }
.vbv-co-dl dt, .vbv-co-dl dd { margin: 0; }
.vbv-co-dl dd { font-variant-numeric: tabular-nums; }
.vbv-co-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vbv-co-meta > div { display: grid; gap: 4px; padding: 0; }
.vbv-co-meta dt { color: var(--color-muted); font-size: var(--fs-sm); }
.vbv-co-meta dd { font-size: var(--fs-md); color: var(--color-black); }
.vbv-co-dl .vbv-co-total { font-weight: 700; border-top: 1px solid var(--color-border); }
.vbv-co-amt { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); }

/* ---------- FEATURE SECTIONS ---------- */
.feature { position: relative; margin-top: 37px; }
.feature-bg { width: 100%; height: 220px; object-fit: cover; }
.feature-bg--top { object-position: top; }
.feature-card {
  position: relative; margin-top: -80px; margin-inline: 16px; background: var(--color-white);
  padding: 32px 24px 24px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; text-align: left;
}
.feature-title { font-size: var(--fs-section); font-weight: var(--fw-semibold); line-height: 1; width: 100%; }
.feature-text { font-size: var(--fs-body); line-height: 1.2; color: var(--color-muted-strong); width: 100%; }

/* FAQ */
.faq { width: 100%; display: flex; flex-direction: column; gap: 20px; }
.faq-item { display: flex; flex-direction: column; gap: 6px; }
.faq-q { font-size: var(--fs-md); font-weight: var(--fw-semibold); color: var(--color-black); }
.faq-a { margin: 0; font-size: var(--fs-body); line-height: 1.4; color: var(--color-muted-strong); }

/* ---------- GOOGLE REVIEWS ---------- */
.reviews { margin-top: 40px; background: var(--color-surface-gray); padding-bottom: 32px; }
.reviews-title { font-size: var(--fs-section); font-weight: var(--fw-semibold); padding: 24px 16px 16px; }
.review-card { margin: 0 16px; background: var(--color-white); padding: 24px; }
.review-card, .hero-review { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.hero-review { display: none; }

/* review rotator (ported from ReviewRotator.astro) */
.review-rotator { display: flex; flex-direction: column; width: 100%; }
.review-slides { display: grid; }
.review-slide { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; opacity: 0; visibility: hidden; transition: opacity 0.4s ease; }
.review-slide.active { opacity: 1; visibility: visible; }
.review-head { display: flex; flex-direction: column; gap: 8px; }
.review-name { font-weight: 700; font-size: 16px; text-transform: uppercase; color: #181a18; }
.review-when { font-size: 12px; color: #6b6b6b; }
.review-stars { width: 96px; height: 16px; }
.review-text { font-size: 16px; line-height: 1.4; color: #181a18; }
.review-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: #c9c9cc; transform: scaleX(0); transform-origin: left; }

/* ---------- FOOTER ---------- */
.site-footer { margin-top: 48px; padding: 40px 16px; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 24px; }
.footer-logo { width: 48px; height: 48px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-body); }
.footer-heading { font-weight: var(--fw-semibold); font-size: var(--fs-lg); margin-bottom: 6px; }
.footer-contact a:hover { color: var(--color-red); }
.footer-social { display: flex; gap: 0; margin-left: -9px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; padding: 9px; color: var(--color-black); }
.footer-social svg { width: 22px; height: 22px; flex: none; }
.footer-social a:hover { color: var(--color-red); }
.footer-divider { width: 100%; border: none; border-top: 1px solid var(--color-border); margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-links a { font-size: 14px; }
.footer-links a:hover { color: var(--color-red); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-copy, .footer-sitemap { font-size: var(--fs-sm); color: var(--color-muted); }
.footer-sitemap:hover { color: var(--color-red); }

/* sticky bar exists for the #vbv-bar-* contract but the design has no bar */
.vbv-bar { display: none; }

/* =========================================================
   DESKTOP — overrides (mobile above unchanged).
   ========================================================= */
@media (min-width: 900px) {
  .screen { max-width: none; margin: 0; }

  .hero {
    position: fixed; top: 0; left: 0; width: 50vw; height: 100vh; overflow: hidden;
    display: grid; grid-template-columns: 3fr 2fr; align-content: end; align-items: stretch; gap: 0; padding: 48px;
  }
  .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
  .topbar { padding: 32px 48px; z-index: 2; }
  .brand-logo { width: 56px; height: 56px; }
  .brand-name { font-size: 24px; }
  .login-btn { font-size: 16px; padding: 14px 26px; }
  .hero-card {
    position: relative; z-index: 1; inset: auto; margin: 0; width: auto; max-width: none;
    padding: 36px; border-radius: 0; gap: 14px;
  }
  .hero-title { font-size: clamp(30px, 3.1vw, 48px); }
  .hero-sub { font-size: 16px; max-width: 520px; }
  .hero-review {
    display: flex; position: relative; z-index: 1; width: auto; padding: 32px; border-radius: 0;
    background: var(--color-white); justify-content: center;
  }

  .content { display: block; width: 50vw; margin-left: 50vw; min-height: 100vh; background: var(--color-white); padding: 48px 40px 64px; box-sizing: border-box; }
  .content > * { max-width: 440px; margin-left: 0; margin-right: 0; }
  .content .panel { width: auto; margin: 0; }
  .content .checkout { margin-top: 24px; }
  .reviews { display: none; }
  .content .site-footer { padding-left: 0; padding-right: 0; }
}


/* ---------- Checkout streamlining (MSL-style) ----------
   The ids stay in the DOM because indexv1b.js dereferences all 44 unguarded —
   these are hidden, never removed. What goes is reassurance copy that repeats
   what the UI already shows; what STAYS is anything material to what is being
   charged: both fee amounts, the SAVE badge, and the deposit's balance line.
   A checkout can be quiet without being vague about money. */

/* "Your email only. We save it first…" — the field is self-evident. */
.vbv-lead-note { display: none; }

/* "The secure payment form appears here once your contact details are in."
   The form appearing says this better than the sentence does. */
.vbv-payment-hint { display: none; }

/* Registration option — the checkout-level team/solo switch. */
.arm-regopt { margin-bottom: 16px; }
.arm-field-label,
.arm-regopt label { font-size: var(--fs-sm); color: var(--color-muted); margin-bottom: 6px; display: block; }

/* Legal line replacing the long post-payment paragraph. */
.vbv-post-note { font-size: var(--fs-xs); line-height: 1.4; color: var(--color-muted); text-align: center; }
.vbv-post-note a { text-decoration: underline; }

/* ============================================================================
   MSL CHECKOUT PARITY — same block as indexv.css, in this arm's palette.
   Source of the numbers: recrivals/msl/src/styles/global.css.
   ========================================================================== */

.vbv-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.vbv-field .vbv-field-label,
.vbv-field-label,
.arm-field-label,
.vbv-picker-field label {
  display: block; margin: 0;
  color: #000; font-size: 14px; font-weight: 500;
}

/* ---- one spacing rhythm for the whole panel ----------------------------
   MSL gets its 24px between fields from a single label margin-top on a page
   with no other spacing. This panel is a flex column, and its children carry
   their own bottom margins, so that margin stacked on top of them: 16 (panel
   gap) + 16 (field margin) + 24 (label) = 56px between the two selects, and
   40px everywhere else. Uneven, and far too airy.

   So the gap is owned in ONE place — the panel — and everything inside it
   contributes nothing: no field margins, no label top margin. 24px between
   fields, 8px from a label to its control, both matching MSL. */
.panel.checkout { gap: 24px; }
.panel.checkout > .vbv-field,
.panel.checkout > .arm-regopt,
.panel.checkout > .vbv-picker-field { margin: 0; }
.vbv-field { gap: 8px; }
.vbv-fields { gap: 24px; }   /* same rhythm as everything else */

/* MSL's text fields (.checkout-input) and its selects are NOT the same box:
   52px vs 48px, 16px vs 14px, and only the select carries the arrow. Merging
   them is what put a dropdown chevron on the email input. */
.vbv-field input {
  width: 100%; height: auto; min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #ccc; border-radius: 10px;
  background: #fff; color: #000;
  font-family: inherit; font-size: 16px;
  transition: border-color 150ms ease;
}
.vbv-field input:focus { border-color: #000; outline: none; }
.vbv-field input::placeholder { color: #707070; }

/* MSL kills the native arrow with appearance:none, which on WebKit leaves the
   box with no arrow at all — so it draws its own. Inline SVG: no request, and
   it cannot 404 and leave a bare box. */
.vbv-field select,
.vbv-picker-field select,
#arm-reg-option {
  width: 100%; height: auto; min-height: 48px;
  padding: 12px 44px 12px 16px;
  border: 1px solid #ccc; border-radius: 10px;
  background-color: #fff; color: #000; font-size: 14px;
}
.vbv-field select,
.vbv-picker-field select,
#arm-reg-option {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}

.vbv-fees.payment-options { display: block; margin: 0; padding: 0; border: 0; }
.vbv-fees.payment-options .vbv-fee {
  display: grid; grid-template-columns: 20px 1fr auto;
  gap: 8px 12px; align-items: center;
  min-height: 48px; padding: 12px 4px;
  width: auto; font-size: 14px; text-align: left; cursor: pointer;
  border: 0; border-radius: 0; background: none; box-shadow: none;
  transition: none;
}
/* The card treatment is gone, so the selected row must not re-add the 2px
   border and its compensating padding — that shifted the row by 1px on every
   change and made the whole group jitter. */
.vbv-fees.payment-options .vbv-fee.vbv-selected { border: 0; padding: 12px 4px; box-shadow: none; }
.vbv-fees.payment-options input[type="radio"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; margin: 0;
  border: 1px solid #000; border-radius: 50%; background: #fff;
}
.vbv-fees.payment-options input[type="radio"]:checked {
  background: radial-gradient(circle, #fff 0 3.5px, #000 3.5px 100%);
}
.vbv-fees.payment-options .vbv-fee-title { font-size: 14px; font-weight: var(--fw-semibold); }
.vbv-fees.payment-options .vbv-fee-amt { font-size: 14px; font-weight: 400; white-space: nowrap; }
.vbv-fees.payment-options .vbv-fee-note {
  grid-column: 2 / -1; display: block; margin: 0;
  font-size: 12px; color: var(--color-muted);
}

.vbv-paybtn {
  width: 100%; height: auto; min-height: 52px; padding: 14px 16px;
  border: 1px solid #dedede; border-radius: 10px;
  background: #dedede; color: #707070;
  font-size: 16px; font-weight: var(--fw-medium); cursor: not-allowed;
}
.vbv-paybtn.vbv-ready {
  border-color: var(--color-black); background: var(--color-black); color: var(--color-white);
  cursor: pointer;
}
.vbv-post-note { margin: 16px 0 0; padding-top: 16px; font-size: 12px; line-height: 1.4; color: #707070; text-align: center; }

/* ⚠ PHANTOM GAPS. .vbv-payment is a flex column with a gap, and two of its
   children — the Payment Element mount and the error block — are empty divs
   until Stripe mounts or something goes wrong. A zero-height flex item still
   earns its gap, so those two were adding 24px of dead air above the pay
   button on a page where nothing had gone wrong yet. :empty stops matching the
   moment Stripe puts an iframe in, so the spacing comes back with the form. */
.vbv-payment > :empty { display: none; }

/* ---- one option is not a choice ----------------------------------------
   Individual registration has a single fee (the deposit is a team thing), so
   the radio would be a dot you cannot un-pick. indexv1b.js sets this class
   whenever the second row is hidden; the input stays in the DOM and stays
   checked, and the row reclaims the 20px the dot was using. */
.vbv-fees.payment-options.vbv-fees--single .vbv-fee {
  grid-template-columns: 1fr auto;
  cursor: default;
}
.vbv-fees.payment-options.vbv-fees--single input[type="radio"] { display: none; }
/* the note spans 2/-1 in the two-column layout — with the dot gone that would
   park it under the price. */
.vbv-fees.payment-options.vbv-fees--single .vbv-fee-note { grid-column: 1 / -1; }
