/* Cup pages: what used to be inline style="" attributes (CSP style-src has no 'unsafe-inline'). */
.cup-hidden { display: none; }
.cup-list-more.cup-hidden, .list-group.cup-hidden { display: none; }
.cup-pointer { cursor: pointer; }
.cup-w-1 { width: 1%; }
.cup-mw-140 { max-width: 140px; }
.cup-mw-260 { max-width: 260px; }
.cup-mw-280 { max-width: 280px; }
.cup-mw-320 { max-width: 320px; }
.cup-mw-360 { max-width: 360px; }
.cup-mw-420 { max-width: 420px; }
.cup-mw-640 { max-width: 640px; }
.cup-race-date-col { width: 40px; }
.cup-race-day-size { font-size: 1.25rem; }
.cup-race-sub-size { font-size: 0.7rem; }
.badge.cup-distance-badge { font-size: 0.7rem; vertical-align: middle; }
.table-responsive.cup-scroll-60vh { max-height: 60vh; overflow-y: auto; }
.list-group.cup-suggestions { max-height: 220px; overflow-y: auto; display: none; }
.reg-window.cup-reg-window-start { justify-content: flex-start; }

/* The registration banners (cup/regBanners.leaf): the cup page's tabs and a feed post's page (cup-feed.css). */
.reg-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border: 1px solid var(--color-panel-border); border-radius: var(--radius-card);
  background: var(--color-panel);
  padding: 16px 20px; margin-bottom: 16px;
}
.reg-banner-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.reg-banner-title { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.reg-banner-note { font-size: 12.5px; color: var(--color-text-muted); }
/* The cup's name in the banner is the link to the cup's own page (the owner, 2026-10-29): no underline, one on hover
   (CUP-FIXES-2026-10-29.md, step 1). */
.reg-banner-title a { color: inherit; text-decoration: none; }
.reg-banner-title a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* The dark card (cup-reg-banner, variant C, the owner 2026-11-03): an open registration or a fee owed, above the cup
   page's tabs and in a feed post. It keeps the head band's tokens, dark in both modes, so its amber is the dark set's
   cup colour in both. On a phone the button takes the card's width, so the card never reads as one more tab. */
.reg-banner--ink {
  --reg-card-accent: #fbbf24;
  background: var(--color-head-bg); color: var(--color-head-text); border-color: var(--color-head-bg);
  padding: 20px 22px; margin: 4px 0 18px;
}
[data-theme-mode="dark"] .reg-banner--ink { border-color: var(--color-border-strong); }
.reg-banner-eyebrow {
  display: inline-flex; align-items: center; gap: 7px; color: var(--reg-card-accent);
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.reg-banner--ink .reg-banner-title { font-size: 18px; }
.reg-banner-facts { display: flex; flex-wrap: wrap; column-gap: 14px; font-size: 13px; opacity: .78; }
.reg-banner-facts span + span::before { content: "·"; margin-right: 14px; }
.reg-banner-inknote { font-size: 13.5px; line-height: 1.45; opacity: .78; }
.reg-banner--ink .reg-banner-cta {
  --bs-btn-bg: var(--color-head-button-bg); --bs-btn-color: var(--color-head-button-text);
  --bs-btn-border-color: var(--color-head-button-bg);
  --bs-btn-hover-bg: var(--color-head-button-hover-bg); --bs-btn-hover-color: var(--color-head-button-text);
  --bs-btn-hover-border-color: var(--color-head-button-hover-bg);
  --bs-btn-active-bg: var(--color-head-button-hover-bg); --bs-btn-active-color: var(--color-head-button-text);
  --bs-btn-active-border-color: var(--color-head-button-hover-bg);
  font-weight: 600; border-radius: var(--radius-pill); padding: 9px 20px; white-space: nowrap;
}
.reg-banner-cta i { margin-left: 4px; }
/* The link to «Моя регистрация» among the card's facts. */
.reg-banner-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* A warning's eyebrow (the fee owed): a sentence with its sign, not capitals. */
.reg-banner--ink-warn .reg-banner-eyebrow { text-transform: none; letter-spacing: 0; font-size: 13.5px; gap: 8px; }
/* «You are registered» (cup-registered-card, variant A): the green eyebrow, and the facts one to a line when both the
   person and the club are in. */
.reg-banner--ink .reg-done-eyebrow, .reg-banner--ink .reg-done-eyebrow i { color: #4ade80; }
.reg-banner--ink .reg-banner-facts--lines { flex-direction: column; gap: 2px; }
.reg-banner--ink .reg-banner-facts--lines span + span::before { content: none; }
/* The club manager's warning lines (cup-manager-warning): one per club, set off from the card's facts by a rule. */
.reg-banner--ink .reg-warn-lines { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--color-head-text) 18%, transparent); }
.reg-banner--ink .reg-warn-line { display: block; padding-left: 24px; text-indent: -24px; font-size: 14px;
  color: color-mix(in srgb, var(--reg-card-accent) 45%, var(--color-head-text)); }
.reg-banner--ink .reg-warn-line i { color: var(--reg-card-accent); display: inline-block; width: 24px; text-indent: 0; }
.reg-banner--ink .reg-warn-line a { color: var(--color-head-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 575.98px) {
  .reg-banner--ink { flex-direction: column; align-items: stretch; }
  .reg-banner--ink .reg-banner-cta { width: 100%; padding: 11px 20px; font-size: 16px; }
}
