/*
 * Capital Pinball website. Built from the "Website v3" design in Claude Design.
 * Colors come from tokens.css (a copy of web-admin's design-system tokens, so the
 * site and the app share one palette). The site is dark only, like the design.
 *
 * Layout switches at two widths, matching the design:
 *   760px   narrow (phone) layout below, wide above
 *   1120px  full nav bar above, menu button below
 */

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/nunito-sans-variable.woff2') format('woff2');
}

:root {
  --cp-bg: var(--ds-global-color-purple900);
  --cp-bg-deep: #230832;
  --cp-surface: var(--ds-global-color-purple800);
  --cp-surface-2: var(--ds-global-color-purple700);
  --cp-gold: #FAC508;
  --cp-gold-hover: #FFD652;
  --cp-on-gold: #2B0B3E;
  --cp-lilac: #BE86DF;
  --cp-text: #fff;
  --cp-text-body: var(--ds-global-color-purple50);
  --cp-text-2: var(--ds-global-color-purple100);
  --cp-text-3: var(--ds-global-color-purple200);
  --cp-line: rgba(217, 184, 236, .16);
  --cp-line-strong: rgba(217, 184, 236, .22);
  --cp-line-input: rgba(217, 184, 236, .3);
  --cp-gold-tint: rgba(250, 197, 8, .08);
  --cp-gold-line: rgba(250, 197, 8, .35);

  --cp-cat-tournament: var(--cp-gold);
  --cp-cat-league: #BE86DF;
  --cp-cat-open: var(--ds-color-statusSuccessText);
  --cp-cat-social: var(--ds-color-statusInfoText);
  --cp-cat-community: #E5A5F6;
  --cp-cat-club: #FFD652;

  --cp-pad-x: 40px;
  --cp-sec-pad: 88px;
  --cp-page-top: 64px;
  --cp-hero-pad: 88px;
  --cp-h1: 68px;
  --cp-page-h1: 56px;
  --cp-h2: 36px;
  --cp-max: 1200px;
}

@media (max-width: 759px) {
  :root {
    --cp-pad-x: 20px;
    --cp-sec-pad: 56px;
    --cp-page-top: 36px;
    --cp-hero-pad: 40px;
    --cp-h1: 42px;
    --cp-page-h1: 38px;
    --cp-h2: 28px;
  }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--cp-bg);
  color: var(--cp-text);
  font-family: var(--ds-global-font-familyBody);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--cp-gold); text-decoration: none; }
a:hover { color: #FFE38A; text-decoration: underline; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cp-gold); outline-offset: 2px; }
.cp-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.cp-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--cp-gold); color: var(--cp-on-gold); font-weight: 800; }
.cp-skip:focus { left: 8px; }
[hidden] { display: none !important; }

.cp-wrap { max-width: var(--cp-max); margin: 0 auto; padding-left: var(--cp-pad-x); padding-right: var(--cp-pad-x); }
.cp-wrap--narrow { max-width: 800px; }
.cp-wrap--article { max-width: 760px; }
.cp-wrap--league { max-width: 960px; }
.cp-section { padding-top: var(--cp-sec-pad); padding-bottom: var(--cp-sec-pad); }
.cp-section--flush-top { padding-top: 0; }
.cp-section--tight-top { padding-top: 16px; }
.cp-section--gap-bottom { padding-bottom: 48px; }
.cp-band { border-top: 1px solid rgba(217, 184, 236, .14); border-bottom: 1px solid rgba(217, 184, 236, .14); background: rgba(60, 15, 82, .45); }
.cp-hero-bg { background: radial-gradient(ellipse 80% 100% at 20% 0%, #6F1F98 0%, #3C0F52 48%, #2B0B3E 100%); }

/* ------------------------------------------------------------------ type */
.cp-eyebrow { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cp-gold); }
.cp-eyebrow--muted { color: var(--cp-text-3); }
.cp-label { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cp-text-3); }
.cp-h1 { margin: 0; font-size: var(--cp-h1); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.cp-page-h1 { margin: 8px 0 0; font-size: var(--cp-page-h1); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.cp-h2 { margin: 8px 0 0; font-size: var(--cp-h2); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.cp-h3 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 800; }
.cp-lede { margin: 12px 0 0; max-width: 40em; font-size: 18px; line-height: 1.55; color: var(--cp-text-2); text-wrap: pretty; }
.cp-muted { color: var(--cp-text-2); }
.cp-faint { color: var(--cp-text-3); }
.cp-small { font-size: 14px; line-height: 1.55; }
.cp-note { margin: 28px 0 0; max-width: 46em; font-size: 14px; line-height: 1.55; color: var(--cp-text-3); }
.cp-price { margin: 0; font-size: 40px; line-height: 1; font-weight: 800; }
.cp-price small { font-size: 17px; font-weight: 700; color: var(--cp-text-2); }
.cp-price--xl { font-size: 52px; }
.cp-price--xl small { font-size: 18px; }

.cp-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
/* A section heading fills the row before it wraps, rather than balancing into two
   half-width lines on a phone. */
.cp-section-head > div { flex: 1 1 auto; min-width: 0; }
.cp-section-head .cp-h2 { text-wrap: pretty; }
.cp-page-head { padding-top: var(--cp-page-top); padding-bottom: 16px; }

/* ------------------------------------------------------------------ buttons */
.cp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 10px;
  font-size: 17px; font-weight: 800; line-height: 1.1; text-decoration: none; white-space: nowrap;
  cursor: pointer;
}
.cp-btn:hover { text-decoration: none; }
.cp-btn--gold { background: var(--cp-gold); color: var(--cp-on-gold); }
.cp-btn--gold:hover { background: var(--cp-gold-hover); color: var(--cp-on-gold); }
.cp-btn--outline { border: 1.5px solid var(--cp-lilac); background: transparent; color: #fff; }
.cp-btn--outline:hover { background: rgba(190, 134, 223, .14); color: #fff; }
.cp-btn--gold-outline { border: 1.5px solid rgba(250, 197, 8, .6); background: transparent; color: var(--cp-gold); }
.cp-btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.cp-btn--md { min-height: 48px; padding: 0 20px; font-size: 16px; }
.cp-btn--block { display: flex; width: 100%; }
.cp-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cp-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--cp-gold); font-size: 16px; font-weight: 800; }
.cp-link--muted { color: var(--cp-text-2); }
.cp-link--sm { min-height: 40px; padding: 0; font-size: 15px; }
.cp-back { display: inline-flex; align-items: center; min-height: 40px; color: var(--cp-text-2); font-size: 15px; font-weight: 800; }
.cp-back:hover { color: #fff; }

.cp-chip {
  min-height: 40px; padding: 0 14px; border: 1.5px solid var(--cp-line-input); border-radius: 999px;
  background: transparent; color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap;
}
.cp-chip[aria-pressed="true"] { border-color: var(--cp-gold); background: var(--cp-gold); color: var(--cp-on-gold); }
.cp-chip--sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 759px) {
  .cp-chips--scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--cp-pad-x)); padding: 0 var(--cp-pad-x) 2px; scrollbar-width: none; }
  .cp-chips--scroll::-webkit-scrollbar { display: none; }
}

.cp-pill { display: inline-block; align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.cp-pill--live { background: rgba(34, 197, 94, .16); color: var(--ds-color-statusSuccessText); }
.cp-pill--idle { background: rgba(217, 184, 236, .14); color: var(--cp-text-2); }
.cp-pill--gold { background: var(--cp-gold); color: var(--cp-on-gold); }
.cp-pill--sm { padding: 2px 8px; font-size: 11px; }

/* ------------------------------------------------------------------ cards */
.cp-card { min-width: 0; padding: 28px; border-radius: 20px; background: var(--cp-surface); border: 1px solid rgba(217, 184, 236, .2); }
.cp-card--md { padding: 22px; border-radius: 16px; }
.cp-card--sm { padding: 20px; border-radius: 16px; }
.cp-card--plain { background: transparent; }
.cp-card--feature { background: linear-gradient(160deg, #6F1F98, #3C0F52); border-color: var(--cp-lilac); }
.cp-card--gold { background: var(--cp-gold-tint); border-color: var(--cp-gold-line); }
.cp-card--stack { display: flex; flex-direction: column; gap: 12px; }
.cp-card--link { color: #fff; text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.cp-card--link:hover { border-color: var(--cp-lilac); color: #fff; text-decoration: none; }
.cp-card .cp-btn, .cp-card .cp-push { margin-top: auto; align-self: flex-start; }

.cp-grid { display: grid; gap: 16px; }
.cp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cp-grid--hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cp-grid--mem { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.cp-grid--fill-180 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.cp-grid--fill-200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cp-grid--fill-210 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.cp-grid--fill-220 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cp-grid--fill-240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cp-grid--fill-240f { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cp-grid--fill-280 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cp-grid--fill-300 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cp-grid--services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 999px) { .cp-grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) {
  .cp-grid--2, .cp-grid--hero, .cp-grid--mem, .cp-grid--services { grid-template-columns: minmax(0, 1fr); }
}

.cp-check { display: flex; gap: 12px; font-size: 16px; line-height: 1.45; }
.cp-check::before { content: "\2713"; flex: none; color: var(--cp-gold); font-weight: 800; }
.cp-checks { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }

.cp-step-num { width: 36px; height: 36px; border-radius: 999px; background: var(--cp-gold); color: var(--cp-on-gold); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; flex: none; }
.cp-step-num--sm { width: 32px; height: 32px; font-size: 15px; }
.cp-card-title { font-size: 18px; font-weight: 800; }
.cp-card-text { font-size: 15px; line-height: 1.55; color: var(--cp-text-2); }

/* ------------------------------------------------------------------ header */
.cp-header { position: sticky; top: 0; z-index: 30; background: rgba(43, 11, 62, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--cp-line); }
.admin-bar .cp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cp-header { top: 46px; } }
.cp-header__bar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cp-brand { flex: none; display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.cp-brand:hover { color: #fff; text-decoration: none; }
.cp-brand img { height: 44px; width: auto; display: block; }
.cp-brand span { font-size: 18px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.cp-nav { display: flex; align-items: center; gap: 4px; }
.cp-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.cp-nav a:hover { background: rgba(217, 184, 236, .12); color: #fff; }
.cp-nav a[aria-current="page"] { color: var(--cp-gold); background: rgba(250, 197, 8, .1); }
.cp-header__cta { flex: none; }
.cp-menu-btn { display: none; min-width: 44px; min-height: 44px; align-items: center; gap: 8px; padding: 0 14px; border: 1.5px solid rgba(217, 184, 236, .4); border-radius: 10px; background: transparent; color: #fff; font-size: 15px; font-weight: 700; }
.cp-menu-btn svg { width: 20px; height: 20px; }
.cp-menu { display: none; padding: 8px var(--cp-pad-x) 24px; flex-direction: column; gap: 2px; border-top: 1px solid var(--cp-line); }
.cp-menu a { display: flex; align-items: center; min-height: 52px; padding: 0 4px; border-bottom: 1px solid rgba(217, 184, 236, .1); color: #fff; font-size: 20px; font-weight: 800; text-decoration: none; }
.cp-menu a[aria-current="page"] { color: var(--cp-gold); }
.cp-menu .cp-btn { margin-top: 16px; border-bottom: 0; justify-content: center; font-size: 17px; color: var(--cp-on-gold); }
@media (max-width: 1119px) {
  .cp-nav, .cp-header__cta { display: none; }
  .cp-menu-btn { display: flex; }
  .cp-header.is-open .cp-menu { display: flex; }
}

/* ------------------------------------------------------------------ home */
.cp-hero { padding-top: var(--cp-hero-pad); padding-bottom: var(--cp-hero-pad); }
.cp-hero__copy { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cp-hero__copy .cp-lede { margin: 0; max-width: 34em; font-size: 19px; color: var(--ds-global-color-purple100); }
.cp-hero__copy .cp-btn-row { margin-top: 6px; }
.cp-next { min-width: 0; border-radius: 20px; overflow: hidden; background: var(--cp-surface); border: 1px solid var(--cp-line-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.cp-next__art { position: relative; padding: 22px 24px 24px; background-size: cover; background-position: center; }
.cp-next__title { margin: 10px 0 0; font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.cp-next__blurb { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--cp-text-2); text-wrap: pretty; }
.cp-next__body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px; border-top: 1px solid var(--cp-line); }
.cp-next__facts { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cp-fact { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.35; }
.cp-fact span:first-child { font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cp-text-3); }
.cp-fact span:last-child { font-weight: 700; text-wrap: pretty; }
.cp-next__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 24px 22px; border-top: 1px solid var(--cp-line); }
.cp-next__foot .cp-btn { min-height: 48px; padding: 0 22px; font-size: 16px; }

.cp-strip { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.cp-strip > div { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.cp-strip b { font-weight: 800; color: var(--cp-text-3); }
.cp-strip span { font-weight: 700; }

/* ------------------------------------------------------------------ date tiles */
.cp-date { flex: none; width: 64px; height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; background: var(--cp-surface); border: 1px solid var(--cp-line-strong); line-height: 1.05; }
.cp-date__dow { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--cp-gold); text-transform: uppercase; }
.cp-date__day { font-size: 26px; font-weight: 800; }
.cp-date__mon { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--cp-text-3); text-transform: uppercase; }
.cp-date--sm { width: 56px; height: 56px; }
.cp-date--sm .cp-date__day { font-size: 22px; }
.cp-date--sm .cp-date__dow { font-size: 10px; }
.cp-date--gold { width: 72px; height: 76px; border-radius: 14px; background: var(--cp-gold); border: 0; color: var(--cp-on-gold); }
.cp-date--gold .cp-date__dow, .cp-date--gold .cp-date__mon { color: var(--cp-on-gold); font-size: 12px; }
.cp-date--gold .cp-date__day { font-size: 32px; line-height: 1; }
.cp-date--aside { width: 72px; height: 72px; }
.cp-date--aside .cp-date__day { font-size: 30px; }
.cp-date--past { background: transparent; border-color: rgba(217, 184, 236, .18); }
.cp-date--past .cp-date__mon { font-size: 10px; }
.cp-date--past .cp-date__day { font-size: 22px; color: var(--cp-text-2); }

/* ------------------------------------------------------------------ event rows */
.cp-rows { display: flex; flex-direction: column; }
.cp-row { border-top: 1px solid var(--cp-line); }
.cp-row__link { width: 100%; min-width: 0; display: flex; align-items: center; gap: 16px; padding: 14px 0; color: #fff; text-align: left; text-decoration: none; }
.cp-row__link:hover { background: rgba(217, 184, 236, .05); color: #fff; text-decoration: none; }
.cp-row__main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cp-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; font-weight: 700; color: var(--cp-text-3); }
.cp-row__title { font-size: 19px; line-height: 1.25; font-weight: 800; text-wrap: pretty; }
.cp-row__title--sm { font-size: 17px; }
.cp-row__sub { font-size: 14px; color: var(--cp-text-2); }
.cp-row__chev { flex: none; font-size: 22px; font-weight: 800; color: var(--cp-text-3); }
.cp-row--past { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.cp-row--past .cp-row__title { font-size: 17px; color: var(--cp-text-body); }
.cp-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cp-cat, var(--cp-cat-social)); }
.cp-cat::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.cp-cat--lg { font-size: 13px; letter-spacing: .14em; gap: 8px; }
.cp-cat--lg::before { width: 9px; height: 9px; }
[data-cat="tournament"] { --cp-cat: var(--cp-cat-tournament); }
[data-cat="league"] { --cp-cat: var(--cp-cat-league); }
[data-cat="open"] { --cp-cat: var(--cp-cat-open); }
[data-cat="social"] { --cp-cat: var(--cp-cat-social); }
[data-cat="community"] { --cp-cat: var(--cp-cat-community); }
[data-cat="club"] { --cp-cat: var(--cp-cat-club); }
.cp-cancelled .cp-row__title { text-decoration: line-through; color: var(--cp-text-3); }
.cp-going { font-weight: 700; color: var(--cp-text-3); }
.cp-group-label { margin: 0 0 6px; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cp-text-3); }
.cp-empty { margin: 0; padding: 16px 0; border-top: 1px solid var(--cp-line); font-size: 16px; color: var(--cp-text-2); }

/* ------------------------------------------------------------------ events page */
.cp-toolbar { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; margin-top: 28px; }
.cp-toolbar .cp-chips { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.cp-seg { flex: none; display: flex; padding: 3px; border-radius: 12px; background: var(--cp-surface); border: 1px solid rgba(217, 184, 236, .2); }
.cp-seg button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--cp-text-3); font-size: 14px; font-weight: 800; }
.cp-seg button[aria-pressed="true"] { background: #6F1F98; color: #fff; }
@media (max-width: 759px) {
  .cp-toolbar { margin-top: 20px; }
  .cp-toolbar .cp-chips { margin-left: calc(-1 * var(--cp-pad-x)); padding-left: var(--cp-pad-x); }
  .cp-seg button { padding: 0 12px; }
}
.cp-events-list { padding-top: 8px; display: flex; flex-direction: column; gap: 32px; }

.cp-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cp-cal__title { margin: 0; font-size: 24px; font-weight: 800; }
.cp-icon-btn { min-width: 44px; min-height: 44px; border: 1.5px solid var(--cp-line-input); border-radius: 10px; background: transparent; color: #fff; font-size: 18px; font-weight: 800; }
.cp-icon-btn:disabled { opacity: .35; cursor: default; }
.cp-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cp-cal__dow { padding: 6px 4px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-align: center; color: var(--cp-text-3); }
.cp-cal__cell { min-width: 0; min-height: 112px; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 6px; border: 1.5px solid rgba(217, 184, 236, .14); border-radius: 10px; background: var(--cp-surface); color: #fff; text-align: left; }
.cp-cal__cell--blank { visibility: hidden; }
.cp-cal__cell--past { opacity: .45; }
.cp-cal__cell[aria-pressed="true"] { border-color: var(--cp-gold); background: rgba(250, 197, 8, .12); }
.cp-cal__num { font-size: 14px; font-weight: 800; }
.cp-cal__cell--today .cp-cal__num { color: var(--cp-gold); }
.cp-cal__item { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; line-height: 1.25; color: var(--cp-text-2); overflow: hidden; white-space: nowrap; }
.cp-cal__item::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 999px; background: var(--cp-cat); }
.cp-cal__item span { overflow: hidden; text-overflow: ellipsis; }
.cp-cal__more { font-size: 12px; font-weight: 800; color: var(--cp-text-3); }
.cp-cal__dots { display: none; flex-wrap: wrap; gap: 3px; }
.cp-cal__dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--cp-cat); }
@media (max-width: 759px) {
  .cp-cal__cell { min-height: 52px; }
  .cp-cal__item, .cp-cal__more { display: none; }
  .cp-cal__dots { display: flex; }
}
.cp-cal__day { margin-top: 28px; }

/* ------------------------------------------------------------------ event detail */
.cp-event-hero { background-size: cover; background-position: center; }
.cp-event-hero .cp-wrap { padding-top: 28px; padding-bottom: 40px; }
@media (max-width: 759px) { .cp-event-hero .cp-wrap { padding-top: 20px; } }
.cp-event-hero .cp-cat { display: flex; width: fit-content; margin: 24px 0 0; }
.cp-event-hero h1 { margin: 10px 0 0; max-width: 18em; font-size: var(--cp-page-h1); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.cp-event-hero h1.cp-event-hero__long { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.08; max-width: 22em; }
.cp-cat__extra { color: var(--cp-text-2); }
.cp-event-when { margin: 14px 0 0; font-size: 20px; font-weight: 700; color: var(--cp-text-2); }
.cp-detail { padding-top: 16px; padding-bottom: var(--cp-sec-pad); display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.cp-detail__main { min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.cp-detail__main .cp-eyebrow { margin-bottom: 10px; }
.cp-aside { min-width: 0; position: sticky; top: 96px; padding: 24px; border-radius: 20px; background: var(--cp-surface); border: 1px solid var(--cp-line-strong); display: flex; flex-direction: column; gap: 18px; }
.cp-aside__when { display: flex; align-items: center; gap: 16px; }
.cp-aside__time { margin: 0; font-size: 18px; font-weight: 800; }
.cp-aside__price { margin: 4px 0 0; font-size: 15px; color: var(--cp-text-2); }
.cp-aside__btns { display: flex; flex-direction: column; gap: 10px; }
.cp-aside__btns .cp-btn--outline { min-height: 48px; font-size: 16px; }
.cp-aside__note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--cp-text-3); }
.cp-cap { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; color: var(--cp-text-2); }
.cp-cap__bar { height: 8px; border-radius: 999px; background: rgba(217, 184, 236, .14); overflow: hidden; }
.cp-cap__bar span { display: block; height: 100%; background: var(--cp-gold); }
@media (max-width: 759px) {
  .cp-detail { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cp-aside { position: static; order: -1; padding: 20px; }
}
.cp-table { border: 1px solid rgba(217, 184, 236, .2); border-radius: 16px; overflow: hidden; }
.cp-table__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 18px; border-top: 1px solid rgba(217, 184, 236, .12); }
.cp-table__row:first-child { border-top: 0; }
.cp-table__row span:first-child { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cp-text-3); padding-top: 3px; }
.cp-table__row span:last-child { font-size: 16px; line-height: 1.45; font-weight: 700; }
@media (max-width: 759px) { .cp-table__row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 16px; } }
.cp-featured { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px 20px; align-items: center; padding: 16px; border-radius: 16px; background: var(--cp-surface); border: 1px solid rgba(217, 184, 236, .2); }
.cp-featured__img { aspect-ratio: 1 / 1; border-radius: 12px; background: var(--cp-surface-2) center / cover no-repeat; }
.cp-featured__name { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 800; }
@media (max-width: 759px) { .cp-featured { grid-template-columns: minmax(0, 1fr); } }

/* Event descriptions come from the app's event series templates, written for
   the old white theme with inline colors and backgrounds. Neutralize those so
   the text reads on the dark page. */
.cp-prose--event [style] { background: none !important; background-color: transparent !important; color: inherit !important; border-color: var(--cp-line) !important; box-shadow: none !important; }
.cp-prose--event h1, .cp-prose--event h2, .cp-prose--event h3 { font-size: 22px !important; text-align: left !important; }
.cp-prose--event div[style] { padding: 0 !important; margin-bottom: 18px !important; text-align: left !important; }

/* ------------------------------------------------------------------ prose (WordPress content) */
.cp-prose { font-size: 18px; line-height: 1.65; color: var(--cp-text-body); }
.cp-prose > * { margin-top: 0; margin-bottom: 16px; }
.cp-prose h2 { margin: 36px 0 12px; font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.cp-prose h3 { margin: 28px 0 10px; font-size: 21px; line-height: 1.25; font-weight: 800; color: #fff; }
.cp-prose h4 { margin: 24px 0 8px; font-size: 18px; font-weight: 800; color: #fff; }
.cp-prose strong { color: #fff; }
.cp-prose a { font-weight: 700; }
.cp-prose ul, .cp-prose ol { padding-left: 1.3em; }
.cp-prose li { margin-bottom: 8px; }
.cp-prose li::marker { color: var(--cp-gold); }
.cp-prose hr { border: 0; border-top: 1px solid var(--cp-line); margin: 32px 0; }
.cp-prose img { border-radius: 12px; }
.cp-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.cp-prose th, .cp-prose td { padding: 10px 12px; border-top: 1px solid var(--cp-line); text-align: left; }
.cp-prose blockquote { margin: 0 0 16px; padding: 4px 0 4px 18px; border-left: 3px solid var(--cp-gold); }
.cp-prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px; background: var(--cp-gold) !important; color: var(--cp-on-gold) !important; font-size: 15px !important; font-weight: 800; text-decoration: none; }
.cp-prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cp-prose > *:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ home blocks */
.cp-post-card { min-width: 0; display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 16px; border: 1px solid rgba(217, 184, 236, .2); background: var(--cp-surface); color: #fff; text-decoration: none; }
.cp-post-card:hover { border-color: var(--cp-lilac); color: #fff; text-decoration: none; }
.cp-post-card__img { display: block; aspect-ratio: 16 / 9; background: #53166F center / cover no-repeat; }
.cp-post-card__img--logo { background-size: auto 70%; }
.cp-post-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.cp-post-card__date { font-size: 13px; font-weight: 800; color: var(--cp-text-3); }
.cp-post-card__title { font-size: 19px; line-height: 1.25; font-weight: 800; text-wrap: pretty; }
.cp-post-card__excerpt { font-size: 15px; line-height: 1.5; color: var(--cp-text-2); text-wrap: pretty; }
.cp-post-card__more { margin-top: 4px; font-size: 14px; font-weight: 800; color: var(--cp-gold); }

.cp-league-card { min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid rgba(217, 184, 236, .2); border-radius: 16px; background: var(--cp-surface); color: #fff; text-decoration: none; }
.cp-league-card:hover { border-color: var(--cp-lilac); color: #fff; text-decoration: none; }
.cp-league-card__name { font-size: 19px; line-height: 1.2; font-weight: 800; }
.cp-league-card__when { font-size: 14px; line-height: 1.45; color: var(--cp-text-2); }

.cp-arrivals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cp-arrival { min-width: 0; overflow: hidden; border-radius: 12px; border: 1px solid rgba(217, 184, 236, .18); background: var(--cp-surface); color: #fff; text-decoration: none; }
.cp-arrival:hover { border-color: var(--cp-lilac); color: #fff; text-decoration: none; }
.cp-arrival__img { aspect-ratio: 4 / 3; background: var(--cp-surface-2) center / cover no-repeat; }
.cp-arrival__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; }
.cp-arrival__name { font-size: 14px; line-height: 1.25; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-arrival__added { font-size: 12px; font-weight: 700; color: var(--cp-text-3); }

.cp-standings { border: 1px solid rgba(217, 184, 236, .2); border-radius: 16px; overflow: hidden; }
.cp-standing { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 14px 18px; border-top: 1px solid rgba(217, 184, 236, .12); }
.cp-standing:first-child { border-top: 0; background: rgba(250, 197, 8, .1); }
.cp-standing:nth-child(2), .cp-standing:nth-child(3) { background: rgba(250, 197, 8, .04); }
.cp-standing__rank { font-size: 20px; font-weight: 800; color: var(--cp-text-3); font-variant-numeric: tabular-nums; }
.cp-standing:nth-child(-n+3) .cp-standing__rank { color: var(--cp-gold); }
.cp-standing__name { font-size: 17px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-standing__events { font-size: 13px; color: var(--cp-text-3); white-space: nowrap; }
.cp-standing__pts { min-width: 44px; text-align: right; font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cp-standings-cta { display: flex; flex-direction: column; gap: 12px; }

/* ------------------------------------------------------------------ leagues */
.cp-leagues { padding-top: 8px; padding-bottom: var(--cp-sec-pad); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); grid-auto-rows: 1fr; gap: 12px; }
.cp-league-row { min-width: 0; height: 100%; display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--cp-surface); border: 1px solid rgba(217, 184, 236, .2); color: #fff; text-decoration: none; }
.cp-league-row:hover { border-color: var(--cp-lilac); color: #fff; text-decoration: none; }
.cp-league-row__img { width: 88px; height: 88px; border-radius: 12px; overflow: hidden; background: var(--cp-bg); }
.cp-league-row__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-league-row__main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cp-league-row__name { margin-top: 2px; font-size: 19px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.cp-league-row__when { font-size: 13px; line-height: 1.4; color: var(--cp-text-3); }
.cp-league-row__next { font-size: 13px; font-weight: 800; color: var(--cp-gold); }
.cp-league-row__chev { font-size: 22px; font-weight: 800; color: var(--cp-lilac); }

.cp-league { padding-top: var(--cp-page-top); padding-bottom: var(--cp-sec-pad); display: flex; flex-direction: column; gap: 20px; }
.cp-league__head { display: flex; flex-direction: column; gap: 10px; }
.cp-league__head .cp-page-h1 { margin: 0; }
.cp-league__head .cp-pill { align-self: flex-start; margin-top: 14px; }
/* The header (picture, title, blurb) is its own band; the page below starts close under it. */
.cp-league-hero + .cp-league { padding-top: 8px; }
.cp-league-hero .cp-league__blurb { color: var(--cp-text-1, #fff); opacity: .9; }
.cp-league__when { margin: 0; font-size: 16px; font-weight: 700; color: var(--cp-text-3); }
.cp-league__blurb { margin: 4px 0 0; max-width: 40em; font-size: 17px; line-height: 1.6; color: var(--cp-text-2); text-wrap: pretty; }
.cp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; padding: 16px; border-radius: 14px; background: var(--cp-surface); border: 1px solid var(--cp-line); }
.cp-facts .cp-fact span:last-child { font-size: 15px; line-height: 1.4; }
/* On a phone the facts stack. Side by side, a long value ("Silverball Seance, Sat,
   Oct 24, 12:00 PM") squeezes into half the width on wider phones. */
@media (max-width: 759px) { .cp-facts { grid-template-columns: minmax(0, 1fr); } }
.cp-mini-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cp-mini-head h2 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cp-gold); }
.cp-mini-head span, .cp-mini-head a { font-size: 13px; font-weight: 700; }
.cp-mini-head span { color: var(--cp-text-3); }
.cp-sched { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 6px; }
.cp-sched__item { min-width: 0; min-height: 44px; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px; border: 1.5px solid var(--cp-line); border-radius: 10px; background: transparent; color: #fff; text-decoration: none; }
a.cp-sched__item:hover { border-color: var(--cp-lilac); color: #fff; text-decoration: none; }
.cp-sched__date { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
/* Wraps rather than cutting off the time ("7:00 to 10:0...") on a phone. */
.cp-sched__title { min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.cp-sched__pill { padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 800; }
.cp-sched__item--done { opacity: .62; }
.cp-sched__item--done .cp-sched__pill { background: rgba(217, 184, 236, .14); color: var(--cp-text-2); }
.cp-sched__item--next { border-color: var(--cp-gold); background: rgba(250, 197, 8, .08); }
.cp-sched__item--next .cp-sched__date { color: var(--cp-gold); }
.cp-sched__item--next .cp-sched__pill { background: var(--cp-gold); color: var(--cp-on-gold); }
.cp-sched__item--up .cp-sched__pill { color: #D9B8EC; }

/* ------------------------------------------------------------------ games */
.cp-tabs { display: flex; gap: 6px; margin-top: 28px; border-bottom: 1px solid rgba(217, 184, 236, .18); }
.cp-tab { min-width: 0; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 2px 8px; padding: 8px 14px; margin-bottom: -1px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--cp-text-3); }
.cp-tab b { font-size: 17px; font-weight: 800; white-space: nowrap; }
.cp-tab span { font-size: 13px; font-weight: 700; color: var(--cp-text-3); white-space: nowrap; }
.cp-tab[aria-selected="true"] { border-bottom-color: var(--cp-gold); color: #fff; }
@media (max-width: 759px) { .cp-tab { flex: 1 1 0; flex-direction: column; } }
.cp-search { flex: 1 1 260px; min-width: 0; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--cp-line-input); border-radius: 10px; background: var(--cp-surface); color: #fff; font-size: 16px; }
.cp-search::placeholder, .cp-input::placeholder { color: var(--cp-text-3); }
.cp-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cp-filters .cp-chips { flex: 0 1 auto; min-width: 0; }
@media (max-width: 759px) { .cp-filters .cp-chips { flex: 1 1 100%; } }
.cp-count-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 16px; }
.cp-count { font-size: 15px; font-weight: 700; color: var(--cp-text-2); }
.cp-sorts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--cp-text-3); }
.cp-sorts > span { margin-right: 4px; }
.cp-sorts button { min-height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--cp-text-3); font-size: 14px; font-weight: 800; white-space: nowrap; }
.cp-sorts button[aria-pressed="true"] { background: rgba(217, 184, 236, .16); color: #fff; }
.cp-pins { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
@media (max-width: 759px) { .cp-pins { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.cp-pin { min-width: 0; overflow: hidden; border-radius: 14px; border: 1px solid rgba(217, 184, 236, .2); background: var(--cp-surface); color: #fff; text-decoration: none; display: block; }
.cp-pin:hover { border-color: var(--cp-lilac); color: #fff; text-decoration: none; }
.cp-pin__img { position: relative; aspect-ratio: 4 / 3; background: var(--cp-surface-2) center / cover no-repeat; overflow: hidden; }
.cp-pin__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp-pin__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; font-size: 18px; font-weight: 800; color: var(--cp-text-3); }
.cp-pin__badge { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--cp-gold); color: var(--cp-on-gold); font-size: 12px; font-weight: 800; }
.cp-pin__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.cp-pin__name { font-size: 16px; line-height: 1.25; font-weight: 800; text-wrap: pretty; }
.cp-pin__meta { font-size: 13px; color: var(--cp-text-3); }
.cp-pin__down { font-size: 13px; font-weight: 700; color: var(--ds-color-statusErrorText); }
.cp-pin__repin { align-self: flex-start; margin-top: 4px; padding: 3px 9px; border: 1.5px solid var(--cp-gold); border-radius: 999px; color: var(--cp-gold); font-size: 12px; font-weight: 800; }
.cp-boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
@media (max-width: 759px) { .cp-boards { grid-template-columns: minmax(0, 1fr); } }
.cp-board { min-width: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--cp-line); background: var(--cp-surface); color: #fff; text-decoration: none; }
.cp-board:hover { border-color: var(--cp-lilac); color: #fff; text-decoration: none; }
.cp-board__img { width: 64px; height: 64px; border-radius: 9px; overflow: hidden; background: var(--cp-surface-2) center / cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: var(--cp-text-3); }
.cp-board__main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cp-board__name { font-size: 16px; font-weight: 800; line-height: 1.25; }
.cp-board__meta { font-size: 13px; color: var(--cp-text-2); }
.cp-board__type { align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: rgba(190, 134, 223, .16); color: #D9B8EC; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.cp-bg-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px 28px; margin-top: 18px; }
.cp-bg-filters > div { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cp-more { display: flex; justify-content: center; margin-top: 20px; }
.cp-filter-btn { display: none; }
@media (max-width: 759px) {
  .cp-filter-btn { display: inline-flex; flex: none; }
  .cp-bg-filters { gap: 14px; margin-top: 14px; }
  .cp-bg-filters:not(.is-open) { display: none; }
}

/* ------------------------------------------------------------------ forms */
.cp-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cp-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 800; }
.cp-field .cp-optional { font-weight: 600; color: var(--cp-text-3); }
.cp-field .cp-hint { font-size: 13px; font-weight: 600; color: var(--cp-text-3); }
.cp-input { min-height: 48px; padding: 0 14px; border: 1.5px solid var(--cp-line-input); border-radius: 10px; background: var(--cp-surface); color: #fff; font-size: 16px; font-weight: 400; }
textarea.cp-input { padding: 12px 14px; resize: vertical; }
.cp-input--deep { background: var(--cp-bg); }
.cp-form { display: flex; flex-direction: column; gap: 12px; }
.cp-form .cp-btn { align-self: flex-start; margin-top: 4px; }
.cp-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cp-success { margin: 0; padding: 18px 20px; border-radius: 12px; background: var(--ds-color-statusSuccessBg); border: 1px solid var(--ds-color-statusSuccessAccent); font-size: 16px; font-weight: 700; }
.cp-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--ds-color-statusErrorBg); border: 1px solid var(--ds-color-statusErrorText); font-size: 15px; font-weight: 700; }
.cp-btn[disabled] { opacity: .6; cursor: wait; }

/* ------------------------------------------------------------------ faq */
.cp-faq { border-top: 1px solid var(--cp-line); }
.cp-faq summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; }
.cp-faq summary::-webkit-details-marker { display: none; }
.cp-faq summary::after { content: "+"; flex: none; font-size: 22px; color: var(--cp-gold); }
.cp-faq[open] summary::after { content: "\2212"; }
.cp-faq p { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--cp-text-2); text-wrap: pretty; }

/* ------------------------------------------------------------------ visit, rules, repair */
.cp-hours__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-top: 1px solid rgba(217, 184, 236, .14); }
.cp-hours__row b { display: block; font-size: 17px; font-weight: 800; }
.cp-hours__row span { display: block; font-size: 15px; font-weight: 700; color: var(--cp-text-2); }
.cp-hours__row .cp-btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
.cp-address { margin: 0; font-size: 22px; line-height: 1.35; font-weight: 800; }
.cp-map { flex: 1; min-height: 220px; border: 0; border-radius: 14px; width: 100%; background: var(--cp-surface-2); }

.cp-rules { padding-top: 16px; padding-bottom: var(--cp-sec-pad); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: start; }
.cp-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; }
.cp-toc a { display: block; padding: 8px 0; font-size: 15px; font-weight: 700; color: #fff; }
.cp-rules__main { min-width: 0; display: flex; flex-direction: column; gap: 44px; }
.cp-rules .cp-prose h2 { scroll-margin-top: 96px; }
.cp-rules .cp-prose ul { list-style: none; padding: 0; margin-top: 14px; }
.cp-rules .cp-prose ul li { position: relative; margin: 0; padding: 14px 0 14px 22px; border-top: 1px solid rgba(217, 184, 236, .14); font-size: 17px; line-height: 1.55; }
.cp-rules .cp-prose ul li::before { content: ""; position: absolute; left: 0; top: 23px; width: 8px; height: 8px; border-radius: 999px; background: var(--cp-gold); }
.cp-rules .cp-prose hr { display: none; }
@media (max-width: 759px) {
  .cp-rules { grid-template-columns: minmax(0, 1fr); }
  .cp-toc { display: none; }
}
.cp-short .cp-check { font-size: 17px; font-weight: 700; }

.cp-repin-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); overflow: hidden; border-radius: 16px; border: 1px solid rgba(217, 184, 236, .2); background: var(--cp-surface); }
.cp-repin-card__img { min-height: 220px; background: #53166F center / cover no-repeat; }
.cp-repin-card__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 759px) { .cp-repin-card { grid-template-columns: minmax(0, 1fr); } .cp-repin-card__body { padding: 20px; } }
.cp-article { display: flex; flex-direction: column; gap: 40px; }
.cp-article h2 { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.cp-article p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--cp-text-body); text-wrap: pretty; }
.cp-article > div { display: flex; flex-direction: column; gap: 12px; }

.cp-quote { margin: 0; padding: 26px; border-radius: 16px; border: 1px solid rgba(217, 184, 236, .2); display: flex; flex-direction: column; gap: 14px; }
.cp-quote blockquote { margin: 0; font-size: 18px; line-height: 1.55; font-weight: 700; text-wrap: pretty; }
.cp-quote figcaption { font-size: 14px; font-weight: 800; color: var(--cp-text-3); }
.cp-inline-list p { margin: 0; padding: 12px 0; border-top: 1px solid rgba(217, 184, 236, .14); font-size: 15px; line-height: 1.55; color: var(--cp-text-body); }
.cp-inline-list strong { color: #fff; }

.cp-group-card { min-width: 0; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--cp-surface); border: 1px solid rgba(217, 184, 236, .2); }
.cp-group-card__img { aspect-ratio: 2 / 1; background-color: var(--cp-surface-2); background-size: cover; background-position: center; }
.cp-group-card__body { flex: 1; padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.cp-group-card__when { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cp-text-3); }
.cp-group-card__body .cp-link { align-self: flex-start; margin-top: auto; padding-top: 10px; padding-left: 0; font-size: 15px; }

.cp-photo { min-width: 0; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--cp-surface); }
.cp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-photo--empty { border: 1.5px dashed rgba(217, 184, 236, .35); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--cp-text-3); }

/* ------------------------------------------------------------------ keep in touch, footer */
.cp-touch { border-top: 1px solid var(--cp-line); background: radial-gradient(ellipse 70% 120% at 85% 100%, #53166F 0%, #2B0B3E 70%); }
.cp-touch__grid { padding-top: var(--cp-sec-pad); padding-bottom: var(--cp-sec-pad); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 32px 48px; align-items: start; }
@media (max-width: 759px) { .cp-touch__grid { grid-template-columns: minmax(0, 1fr); } }
.cp-touch__intro { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cp-touch__intro .cp-h2 { margin: 0; }
.cp-touch__intro p { margin: 0; max-width: 30em; font-size: 16px; line-height: 1.6; color: var(--cp-text-2); }
.cp-social { min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; background: var(--cp-surface); border: 1px solid var(--cp-line-strong); color: #fff; text-decoration: none; }
.cp-social:hover { border-color: var(--cp-gold); color: #fff; text-decoration: none; }
.cp-social b { font-size: 20px; font-weight: 800; }
.cp-social span { font-size: 14px; line-height: 1.45; color: var(--cp-text-2); }
.cp-social em { margin-top: 6px; font-style: normal; font-size: 14px; font-weight: 800; color: var(--cp-gold); }
.cp-span-all { grid-column: 1 / -1; }
.cp-newsletter { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.cp-newsletter form { display: flex; flex-wrap: wrap; gap: 10px; }
.cp-newsletter .cp-input { flex: 1 1 220px; min-width: 0; }
.cp-newsletter .cp-btn { flex: none; min-height: 48px; padding: 0 22px; font-size: 16px; }
.cp-newsletter .cp-done { margin: 0; font-size: 15px; font-weight: 700; color: var(--ds-color-statusSuccessText); }

.cp-footer { border-top: 1px solid var(--cp-line); background: var(--cp-bg-deep); }
.cp-footer__grid { padding-top: 48px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.cp-footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
.cp-footer__col .cp-label { margin-bottom: 4px; letter-spacing: .14em; }
.cp-footer__col a { font-weight: 700; }
.cp-footer__nav a { color: #fff; min-height: 32px; display: inline-flex; align-items: center; }
.cp-footer__nav { gap: 2px; }
.cp-footer__legal { padding-top: 16px; padding-bottom: 28px; border-top: 1px solid rgba(217, 184, 236, .1); font-size: 13px; color: var(--cp-text-3); }

/* ------------------------------------------------------------------ RSVP sheet */
.cp-sheet { position: fixed; inset: 0; z-index: 50; background: rgba(10, 2, 16, .7); display: flex; align-items: center; justify-content: center; padding: 24px; }
.cp-sheet__panel { width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; padding: 24px; border-radius: 20px; background: var(--cp-surface); border: 1px solid rgba(217, 184, 236, .3); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 759px) {
  .cp-sheet { align-items: flex-end; padding: 0; }
  .cp-sheet__panel { border-radius: 20px 20px 0 0; }
}
.cp-sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cp-sheet__title { margin: 8px 0 0; font-size: 24px; line-height: 1.2; font-weight: 800; }
.cp-sheet__when { margin: 6px 0 0; font-size: 16px; color: var(--cp-text-2); }
.cp-sheet__close { flex: none; width: 44px; height: 44px; border: 1.5px solid var(--cp-line-input); border-radius: 999px; background: transparent; color: #fff; font-size: 20px; line-height: 1; }
.cp-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cp-choice button { min-height: 52px; border: 1.5px solid var(--cp-line-input); border-radius: 12px; background: transparent; color: #fff; font-size: 16px; font-weight: 800; }
.cp-choice button[aria-pressed="true"] { border-color: var(--cp-gold); background: var(--cp-gold); color: var(--cp-on-gold); }
.cp-or { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--cp-text-3); }
.cp-or::before, .cp-or::after { content: ""; flex: 1; height: 1px; background: rgba(217, 184, 236, .2); }
.cp-sheet__info { margin: 0; padding: 12px 14px; border-radius: 10px; background: rgba(217, 184, 236, .1); font-size: 14px; line-height: 1.5; color: var(--cp-text-body); }
.cp-sheet__split { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cp-cal-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cp-cal-links a { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1.5px solid var(--cp-line-input); border-radius: 10px; color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; }
.cp-cal-links a:hover { border-color: var(--cp-gold); color: #fff; text-decoration: none; }
body.cp-sheet-open { overflow: hidden; }
.cp-post-hero { width: 100%; aspect-ratio: 16 / 9; margin-top: 28px; border-radius: 16px; background: #53166F center / cover no-repeat; }

/* PinGolf targets on machine pages (cp-admin/pingolf-scores, drawn by cp-live). */
.cp-golf { margin: 28px 0; padding: 20px 22px; border-radius: 16px; background: var(--cp-surface); border: 1px solid rgba(217, 184, 236, .2); }
.cp-golf__title { margin: 0 0 12px !important; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cp-gold); }
/* Billion-point targets don't fit two to a row on a phone, so the columns wrap. */
.cp-golf__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 20px; }
.cp-golf__item { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cp-golf__item span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cp-text-3); }
.cp-golf__item b { font-size: clamp(22px, 6vw, 28px); line-height: 1.1; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* A cancelled event stays on the calendar, clearly marked, so people who planned around it find out. */
.cp-pill--cancelled { margin: 14px 0 0; background: var(--ds-color-statusErrorBg); color: var(--ds-color-statusErrorText); border: 1px solid var(--ds-color-statusErrorText); letter-spacing: .08em; text-transform: uppercase; }
.cp-event-hero--cancelled h1 { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--ds-color-statusErrorText); }
.cp-event-hero--cancelled .cp-event-when { color: var(--cp-text-3); }

/* Event hosts, filled in from the app's live feed. */
.cp-aside__host { margin: 4px 0 0; font-size: 14px; font-weight: 700; color: var(--cp-text-2); }
.cp-hosts { display: flex; flex-direction: column; gap: 10px; }
.cp-host { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border-radius: 16px; background: var(--cp-surface); border: 1px solid rgba(217, 184, 236, .2); }
.cp-host__mono { position: relative; overflow: hidden; flex: none; width: 48px; height: 48px; border-radius: 999px; background: #6F1F98; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; }
.cp-host__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp-host__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.cp-host__name { margin: 0; font-size: 18px; font-weight: 800; }
.cp-host__bio { margin: 0; font-size: 15px; line-height: 1.55; color: var(--cp-text-2); text-wrap: pretty; }

/* Featured game or book with no picture of its own on the site. */
.cp-featured--noimg .cp-featured { grid-template-columns: minmax(0, 1fr); }
