/* ── The Squadron tab, the squadron page, the Squadron Buy card ─────────────
   2026-10-26. Operator: "MAKE THE SQUADRON PAGE SEXY AND FUCKING EASY AS
   SHIT TO UNDERSTAND." and "THE PRODUCT PICKER HAS NO CSS."

   Loaded by layouts/member only while Group Buy is on for the store
   (Squadrons::Tab.on?), so while it is off nothing here reaches a page.

   Cascade rules (CLAUDE.md, "A CSS rule that exists is not a rule that
   wins"): every selector names a block root under `.rally-pass`; every
   anchor rule carries `a.` and every button rule `button.` so the brand
   sheet's `.peprally a { color: accent }` (0,1,1) cannot steal the ink;
   filled controls paint `--cta-accent` (white measures 5.03:1 on
   PepRally's #C1470C; raw Ember is 3.66:1 and is used only as a fill or a
   rule, never behind text); no opacity on text; colours are the brand's
   tokens, the dark fallbacks are PepRally's own values. */

/* ── The tab's own frame ─────────────────────────────────────────────── */
.rally-pass .squad-hub { display: grid; gap: 20px; margin-bottom: 20px; }
.rally-pass .squad-hub > .rally-pass__card,
.rally-pass .squad-hub > .gb-card { margin-bottom: 0; }

.rally-pass .squad-hub .squad-hub__intro {
  padding: 28px;
  border: 1px solid var(--checkout-border, #2a2a35);
  border-radius: 14px;
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--color-accent, #e8550f) 14%, var(--color-surface, #1a1a22)) 0%, var(--color-surface, #1a1a22) 55%);
}
.rally-pass .squad-hub .squad-hub__eyebrow,
.rally-pass .gb-card .gb-card__eyebrow,
.rally-pass .squadron__status .squadron__status-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-subtle, #e2e8f0);
}
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__heading {
  margin: 0 0 14px;
  font-size: clamp(24px, 5.4vw, 34px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text, #ffffff);
}

/* The one ladder, drawn: the rank chart's rows read as rungs with a bar. */
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__lead {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-subtle, #e2e8f0);
}
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__table thead th {
  padding: 0 12px 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-quiet, #94a3b8);
}
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__table tbody th,
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__table tbody td {
  padding: 12px;
  background: var(--color-bg, #111116);
  color: var(--color-text, #ffffff);
  font-size: 15px;
  vertical-align: middle;
}
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__table tbody th {
  width: 3.2em;
  border-radius: 10px 0 0 10px;
  font-size: 22px;
  font-weight: 800;
}
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__table tbody td:last-child {
  border-radius: 0 10px 10px 0;
  font-weight: 800;
  white-space: nowrap;
}
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__meter {
  display: block;
  height: 6px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--checkout-border, #2a2a35);
  overflow: hidden;
}
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__meter-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--color-accent, #e8550f);
}
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__table tbody td.sq-chart__sub { color: var(--color-subtle, #e2e8f0); font-weight: 700; white-space: nowrap; }
/* Phone first (2026-10-26): with the subscribed-refill column the table ran
   58px past a 390px screen. Tighter cells and calmer header tracking until
   there is room; the wide spacing returns from 560px. */
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__table { table-layout: auto; }
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__table thead th { padding: 0 8px 2px; letter-spacing: 0.04em; font-size: 11px; }
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__table tbody th,
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__table tbody td { padding: 10px 8px; font-size: 14px; }
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__table tbody th { width: 2.2em; font-size: 18px; }
@media (min-width: 560px) {
  .rally-pass .squad-hub .sq-chart--ladder .sq-chart__table thead th { padding: 0 12px 2px; letter-spacing: 0.12em; }
  .rally-pass .squad-hub .sq-chart--ladder .sq-chart__table tbody th,
  .rally-pass .squad-hub .sq-chart--ladder .sq-chart__table tbody td { padding: 12px; font-size: 15px; }
  .rally-pass .squad-hub .sq-chart--ladder .sq-chart__table tbody th { width: 3.2em; font-size: 22px; }
}
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__note { margin: 12px 0 0; font-size: 14px; color: var(--color-subtle, #e2e8f0); }

/* What a subscription does to the ladder. */
.rally-pass .squad-subs {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--checkout-border, #2a2a35);
  background: var(--color-bg, #111116);
}
.rally-pass .squad-subs .squad-subs__title { margin: 0 0 8px; font-size: 16px; font-weight: 800; color: var(--color-text, #ffffff); }
.rally-pass .squad-subs .squad-subs__list { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; line-height: 1.5; color: var(--color-subtle, #e2e8f0); }
.rally-pass .squad-subs .squad-subs__list li:first-child { color: var(--color-text, #ffffff); font-weight: 700; }

/* The door from Deals to the Squadron tab. */
.rally-pass .squad-hub__door { margin: 0 0 20px; }
.rally-pass a.squad-hub__door-link {
  display: block;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--checkout-border, #2a2a35);
  background: var(--color-surface, #1a1a22);
  color: var(--color-text, #ffffff);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}
.rally-pass a.squad-hub__door-link:hover { border-color: var(--color-accent, #e8550f); }

/* Long rules fold on the compact cards (team buying on the Squadron tab). */
.rally-pass .squad-card__more { margin: 0 0 14px; }
.rally-pass .squad-card__more .squad-card__more-summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text, #ffffff);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Where the squadron stands (squadrons/_panel) ─────────────────────── */
.rally-pass .squadron__status {
  margin: 4px 0 20px;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid var(--checkout-border, #2a2a35);
  background: var(--color-bg, #111116);
}
.rally-pass .squadron__status .squadron__status-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rally-pass .squadron__status .squadron__status-badge { flex: 0 0 auto; }
.rally-pass .squadron__status .squadron__status-badge svg { display: block; width: 120px; height: auto; }
.rally-pass .squadron__status .squadron__status-figures { flex: 1 1 200px; min-width: 0; }
.rally-pass .squadron__status .squadron__stat { margin: 0; font-size: 16px; font-weight: 700; color: var(--color-subtle, #e2e8f0); }
.rally-pass .squadron__status .squadron__stat-n {
  display: inline-block;
  margin-right: 4px;
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text, #ffffff);
}
.rally-pass .squadron__status .squadron__status-rank { margin: 8px 0 0; font-size: 18px; line-height: 1.35; color: var(--color-text, #ffffff); }
.rally-pass .squadron__status .squadron__status-next { margin: 4px 0 0; font-size: 15px; line-height: 1.45; color: var(--color-text, #ffffff); }

/* The ladder as a track, this squadron's place on it. */
.rally-pass .squadron__status .squadron__track { position: relative; margin: 26px 8px 52px 4px; }
.rally-pass .squadron__status .squadron__track-rail {
  height: 8px;
  border-radius: 999px;
  background: var(--checkout-border, #2a2a35);
  overflow: hidden;
}
.rally-pass .squadron__status .squadron__track-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--color-accent, #e8550f);
}
.rally-pass .squadron__status .squadron__track-rungs { list-style: none; margin: 0; padding: 0; }
.rally-pass .squadron__status .squadron__rung {
  position: absolute;
  top: -5px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 44px;
  text-align: center;
}
.rally-pass .squadron__status .squadron__rung:last-child { transform: translateX(-70%); }
.rally-pass .squadron__status .squadron__rung-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--checkout-border, #2a2a35);
  background: var(--color-bg, #111116);
}
.rally-pass .squadron__status .squadron__rung--reached .squadron__rung-dot { border-color: var(--color-accent, #e8550f); background: var(--color-accent, #e8550f); }
.rally-pass .squadron__status .squadron__rung--next .squadron__rung-dot { border-color: var(--color-text, #ffffff); }
.rally-pass .squadron__status .squadron__rung-pct { font-size: 14px; font-weight: 800; color: var(--color-text, #ffffff); }
.rally-pass .squadron__status .squadron__rung-n { font-size: 12px; font-weight: 600; color: var(--ink-quiet, #94a3b8); white-space: nowrap; }
.rally-pass .squadron__status .squadron__rung--next .squadron__rung-n { color: var(--color-text, #ffffff); }

/* What to do next. */
.rally-pass .squadron__status .squadron__status-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.rally-pass .squadron__status a.squadron__action,
.rally-pass .squadron__status button.squadron__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--color-text, #ffffff);
  background: var(--color-surface, #1a1a22);
  color: var(--color-text, #ffffff);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.rally-pass .squadron__status button.squadron__action.squadron__action--primary {
  border-color: var(--cta-accent, #c1470c);
  background: var(--cta-accent, #c1470c);
  color: #ffffff;
}
.rally-pass .squadron__status a.squadron__action:hover,
.rally-pass .squadron__status button.squadron__action:hover { transform: translateY(-1px); }

/* The commander's rarely-used tools fold away. */
.rally-pass .squadron .squadron__tools { margin: 16px 0 0; }

/* ── The Squadron Buy card (group_buys/_deals_card) — 2026-10-26 ────────
   Operator: "the groupbuy card is SHIT … make it fucking sexy". A hero,
   the product shown, the ladder drawn as rungs (people in, rank, price
   each, % off the buy, % off subscribed refills), one big button. Phone
   first; from 900px the product and the ladder sit side by side. */
.rally-pass .gb-card {
  position: relative;
  padding: 0;
  border-radius: 18px;
  border: 1px solid var(--checkout-border, #2a2a35);
  background: var(--color-surface, #1a1a22);
  color: var(--color-text, #ffffff);
  overflow: hidden;
}
.rally-pass .gb-card .gb-card__hero {
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--checkout-border, #2a2a35);
  background:
    radial-gradient(130% 120% at 100% 0%, color-mix(in srgb, var(--color-accent, #e8550f) 26%, var(--color-surface, #1a1a22)) 0%, var(--color-surface, #1a1a22) 62%);
}
.rally-pass .gb-card .gb-card__eyebrow { margin: 0 0 10px; }
.rally-pass .gb-card .gb-card__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 7.4vw, 40px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text, #ffffff);
}
.rally-pass .gb-card .gb-card__pitch { margin: 0 0 16px; font-size: 17px; line-height: 1.45; font-weight: 600; color: var(--color-subtle, #e2e8f0); }
.rally-pass .gb-card .gb-card__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rally-pass .gb-card .gb-card__chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--checkout-border, #2a2a35);
  background: var(--color-bg, #111116);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text, #ffffff);
}
.rally-pass .gb-card .gb-card__chip strong { font-weight: 800; color: var(--color-text, #ffffff); }

.rally-pass .gb-card .gb-card__mine { margin: 0; padding: 20px 20px 0; display: grid; gap: 12px; }
.rally-pass .gb-card .gb-card__buy { padding: 14px 16px; border-radius: 12px; background: var(--color-bg, #111116); border: 1px solid var(--checkout-border, #2a2a35); }
.rally-pass .gb-card .gb-card__buy-line { margin: 0 0 8px; font-size: 15px; color: var(--color-text, #ffffff); }
.rally-pass .gb-card a.gb-card__buy-link { color: var(--color-text, #ffffff); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.rally-pass .gb-card .gb-card__form { display: grid; gap: 20px; padding: 20px; }
.rally-pass .gb-card .gb-card__grid { display: grid; gap: 22px; }
.rally-pass .gb-card .gb-card__step { display: grid; gap: 12px; align-content: start; min-width: 0; }
.rally-pass .gb-card .gb-card__step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text, #ffffff);
}
.rally-pass .gb-card .gb-card__num {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cta-accent, #c1470c);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

/* 1 — the product, shown. */
.rally-pass .gb-card .gb-card__product {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--checkout-border, #2a2a35);
  background: var(--color-bg, #111116);
}
.rally-pass .gb-card .gb-card__product-art {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 12px;
  background: var(--color-surface, #1a1a22);
  overflow: hidden;
}
.rally-pass .gb-card .gb-card__product-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rally-pass .gb-card .gb-card__product-img[hidden],
.rally-pass .gb-card .gb-card__product-mono[hidden] { display: none; }
.rally-pass .gb-card .gb-card__product-mono { font-size: 40px; font-weight: 800; color: var(--color-text, #ffffff); }
.rally-pass .gb-card .gb-card__product-text { min-width: 0; }
.rally-pass .gb-card .gb-card__product-name { margin: 0 0 4px; font-size: 18px; line-height: 1.25; font-weight: 800; overflow-wrap: break-word; color: var(--color-text, #ffffff); }
.rally-pass .gb-card .gb-card__product-list { margin: 0; font-size: 14px; font-weight: 600; color: var(--color-subtle, #e2e8f0); }
.rally-pass .gb-card .gb-card__change { margin: 2px 0 -4px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-quiet, #94a3b8); }
.rally-pass .gb-card .gb-card__select-wrap { position: relative; }
.rally-pass .gb-card .gb-card__select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--color-text, #ffffff);
  border-bottom: 2px solid var(--color-text, #ffffff);
  transform: rotate(45deg);
  pointer-events: none;
}
.rally-pass .gb-card select.gb-card__select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 52px;
  padding: 0 48px 0 16px;
  border-radius: 12px;
  border: 1px solid var(--checkout-border, #2a2a35);
  background: var(--checkout-input-bg, #22222e);
  color: var(--color-text, #ffffff);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-overflow: ellipsis;
  cursor: pointer;
}
.rally-pass .gb-card select.gb-card__select:focus-visible,
.rally-pass .gb-card input.gb-card__input:focus-visible {
  outline: 3px solid var(--color-accent, #e8550f);
  outline-offset: 2px;
}
.rally-pass .gb-card select.gb-card__select option { background: var(--color-bg, #111116); color: var(--color-text, #ffffff); }

/* 2 — the ladder, drawn. */
.rally-pass .gb-card .gb-card__rungs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rally-pass .gb-card .gb-card__rung {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--checkout-border, #2a2a35);
  background: var(--color-bg, #111116);
}
.rally-pass .gb-card .gb-card__rung--next {
  border-color: var(--color-accent, #e8550f);
  box-shadow: inset 4px 0 0 var(--color-accent, #e8550f);
}
.rally-pass .gb-card .gb-card__rung-people { display: grid; justify-items: center; line-height: 1; }
.rally-pass .gb-card .gb-card__rung-num { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--color-text, #ffffff); }
.rally-pass .gb-card .gb-card__rung-in { margin-top: 2px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-quiet, #94a3b8); }
.rally-pass .gb-card .gb-card__rung-body { display: grid; gap: 6px; min-width: 0; }
.rally-pass .gb-card .gb-card__rung-name { font-size: 15px; font-weight: 800; color: var(--color-text, #ffffff); }
.rally-pass .gb-card .gb-card__rung-flag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--cta-accent, #c1470c);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.rally-pass .gb-card .gb-card__rung-bar { display: block; height: 6px; border-radius: 999px; background: var(--checkout-border, #2a2a35); overflow: hidden; }
.rally-pass .gb-card .gb-card__rung-fill { display: block; height: 100%; border-radius: 999px; background: var(--color-accent, #e8550f); }
.rally-pass .gb-card .gb-card__rung-pct { font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--color-subtle, #e2e8f0); }
.rally-pass .gb-card .gb-card__rung-sub { color: var(--color-text, #ffffff); font-weight: 800; }
.rally-pass .gb-card .gb-card__rung-money { display: grid; justify-items: end; line-height: 1.1; }
.rally-pass .gb-card .gb-card__rung-price { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; color: var(--color-text, #ffffff); }
.rally-pass .gb-card .gb-card__rung-each { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-quiet, #94a3b8); }
.rally-pass .gb-card .gb-card__note { margin: 0; font-size: 14px; line-height: 1.45; color: var(--color-subtle, #e2e8f0); }

/* Bar widths in tenths — a class, never an inline style (strict CSP). */
.rally-pass .gb-card .gb-card__rung-fill--10,
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__meter-fill--10 { width: 10%; }
.rally-pass .gb-card .gb-card__rung-fill--20,
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__meter-fill--20 { width: 20%; }
.rally-pass .gb-card .gb-card__rung-fill--30,
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__meter-fill--30 { width: 30%; }
.rally-pass .gb-card .gb-card__rung-fill--40,
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__meter-fill--40 { width: 40%; }
.rally-pass .gb-card .gb-card__rung-fill--50,
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__meter-fill--50 { width: 50%; }
.rally-pass .gb-card .gb-card__rung-fill--60,
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__meter-fill--60 { width: 60%; }
.rally-pass .gb-card .gb-card__rung-fill--70,
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__meter-fill--70 { width: 70%; }
.rally-pass .gb-card .gb-card__rung-fill--80,
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__meter-fill--80 { width: 80%; }
.rally-pass .gb-card .gb-card__rung-fill--90,
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__meter-fill--90 { width: 90%; }
.rally-pass .gb-card .gb-card__rung-fill--100,
.rally-pass .squad-hub .sq-chart--ladder .sq-chart__meter-fill--100 { width: 100%; }

.rally-pass .gb-card .gb-card__adjust { border-top: 1px solid var(--checkout-border, #2a2a35); padding-top: 4px; }
.rally-pass .gb-card .gb-card__adjust-summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text, #ffffff);
}
.rally-pass .gb-card .gb-card__fields { display: grid; gap: 16px; padding: 4px 0 8px; }
.rally-pass .gb-card .gb-card__field { display: grid; gap: 6px; }
.rally-pass .gb-card .gb-card__field-label { font-size: 14px; font-weight: 700; color: var(--color-text, #ffffff); }
.rally-pass .gb-card .gb-card__field-row { display: flex; align-items: center; gap: 10px; }
.rally-pass .gb-card input.gb-card__input {
  width: 96px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--checkout-border, #2a2a35);
  background: var(--checkout-input-bg, #22222e);
  color: var(--color-text, #ffffff);
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}
.rally-pass .gb-card .gb-card__unit { font-size: 15px; color: var(--color-subtle, #e2e8f0); }
.rally-pass .gb-card .gb-card__help { font-size: 13px; line-height: 1.45; color: var(--ink-quiet, #94a3b8); }

.rally-pass .gb-card button.gb-card__btn {
  justify-self: stretch;
  min-height: 60px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background: var(--cta-accent, #c1470c);
  color: #ffffff;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 34px -14px var(--cta-accent, #c1470c);
}
.rally-pass .gb-card button.gb-card__btn:hover { transform: translateY(-1px); }
.rally-pass .gb-card .gb-card__fine { margin: -8px 0 0; font-size: 13px; text-align: center; color: var(--ink-quiet, #94a3b8); }

@media (min-width: 720px) {
  .rally-pass .gb-card .gb-card__hero { padding: 32px 32px 26px; }
  .rally-pass .gb-card .gb-card__mine { padding: 24px 32px 0; }
  .rally-pass .gb-card .gb-card__form { padding: 28px 32px 32px; }
  .rally-pass .gb-card button.gb-card__btn { justify-self: start; min-width: 320px; }
  .rally-pass .gb-card .gb-card__fine { text-align: left; }
  .rally-pass .squad-hub .squad-hub__intro { padding: 32px; }
}
@media (min-width: 900px) {
  .rally-pass .gb-card .gb-card__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; }
  .rally-pass .gb-card .gb-card__product { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 20px; }
  .rally-pass .gb-card .gb-card__product-art { width: 180px; height: 180px; }
  .rally-pass .gb-card .gb-card__product-mono { font-size: 72px; }
}

/* The squadron's name is the headline, not a 12px caption. */
.rally-pass .squadron[data-squadron] > .rally-pass__card-title {
  margin: 0 0 6px;
  font-size: clamp(26px, 6vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--color-text, #ffffff);
}

/* A fold says it opens: a chevron that turns. */
.rally-pass .gb-card .gb-card__adjust-summary,
.rally-pass .squad-card__more .squad-card__more-summary { list-style: none; }
.rally-pass .gb-card .gb-card__adjust-summary::-webkit-details-marker,
.rally-pass .squad-card__more .squad-card__more-summary::-webkit-details-marker { display: none; }
.rally-pass .gb-card .gb-card__adjust-summary::before,
.rally-pass .squad-card__more .squad-card__more-summary::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border-right: 2px solid var(--color-text, #ffffff);
  border-bottom: 2px solid var(--color-text, #ffffff);
  transform: rotate(-45deg);
  transition: transform 160ms ease;
}
.rally-pass .gb-card .gb-card__adjust[open] > .gb-card__adjust-summary::before,
.rally-pass .squad-card__more[open] > .squad-card__more-summary::before { transform: rotate(45deg); }

/* On the squadron's own page the page heading already names it; the
   panel's eyebrow and title stay for a screen reader only. */
.rally-pass.squadron-page .squadron[data-squadron] > .rally-pass__eyebrow,
.rally-pass.squadron-page .squadron[data-squadron] > .rally-pass__card-title {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
