/* Reservebai homepage, "Club Green". Loads after design-refresh.css; every rule
   is scoped under body.cg so it wins over the older layers without !important. */

:root {
  --cg-navy-deep: #0b1c3f;
  --cg-navy-ink: #0f2553;
  --cg-footer-navy: #091631;
  --cg-club-green: #177a31;
  --cg-court-green: #1e9a3e;
  --cg-verified: #1b6a35;
  --cg-wash: #e8f4ec;
  --cg-lime: #e1f36b;
  --cg-paper: #fbfcfe;
  --cg-field: #f0f1f4;
  --cg-tray: #e7e9ee;
  --cg-line: #dbdee4;
  --cg-line-soft: #e3e6eb;
  --cg-control: #c9ced8;
  --cg-hover: #eef0f4;
  --cg-muted: #4b5463;
  --cg-placeholder: #616875;
  --cg-on-dark: #c4cad4;
  --cg-rust: #8b3e2d;
  --cg-rust-wash: #fff1ec;
  --cg-shadow-control: 0 1px 2px rgba(11, 28, 63, 0.06);
  --cg-shadow-card: 0 10px 24px rgba(11, 28, 63, 0.05);
  --cg-shadow-raised: 0 24px 60px rgba(11, 28, 63, 0.08);
}

body.cg {
  margin: 0;
  background: var(--cg-field);
  color: var(--cg-navy-ink);
  font: 15px/1.5 "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.cg ::selection {
  background: var(--cg-lime);
  color: var(--cg-navy-deep);
}

.cg :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #93b16d;
  outline-offset: 3px;
}

.cg .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cg .cg-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

.cg .cg-section {
  padding: 110px 0;
}

.cg [data-reveal] {
  will-change: opacity, transform;
}

/* ---- Type ---- */
.cg h1,
.cg h2,
.cg h3 {
  margin: 0;
  color: inherit;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
}

.cg h2 {
  font-size: 64px;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.cg h2 em {
  color: var(--cg-court-green);
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.cg .cg-eyebrow {
  margin: 0 0 16px;
  color: var(--cg-club-green);
  font: 700 13px "DM Sans", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.cg .cg-eyebrow-lime {
  color: var(--cg-lime);
}

.cg .cg-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 36px;
}

.cg .cg-heading-note {
  max-width: 340px;
  margin: 0;
  color: var(--cg-muted);
  line-height: 1.6;
}

/* ---- Pill CTA with arrow circle ---- */
.cg .cg-pill {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  margin: 0;
  padding: 0 9px 0 24px;
  border: 0;
  border-radius: 999px;
  font: 700 15px "DM Sans", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.cg .cg-pill .cg-pill-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.cg .cg-pill:hover:not(:disabled) {
  transform: translateY(-1px);
}

.cg .cg-pill:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cg .cg-pill-navy {
  background: var(--cg-navy-deep);
  color: #ffffff;
}

.cg .cg-pill-navy .cg-pill-arrow {
  background: var(--cg-lime);
  color: var(--cg-navy-deep);
}

.cg .cg-pill-navy:hover:not(:disabled) {
  background: #1a2d52;
  color: #ffffff;
}

.cg .cg-pill-lime {
  background: var(--cg-lime);
  color: var(--cg-navy-deep);
  box-shadow: 0 14px 30px rgba(11, 28, 63, 0.28);
}

.cg .cg-pill-lime .cg-pill-arrow {
  background: var(--cg-navy-deep);
  color: var(--cg-lime);
}

.cg .cg-pill-lime:hover:not(:disabled) {
  background: #ebf88f;
  color: var(--cg-navy-deep);
}

.cg .cg-pill-header {
  min-height: 42px;
  gap: 12px;
  padding: 0 7px 0 18px;
  font-size: 14px;
  font-weight: 600;
}

.cg .cg-pill-header .cg-pill-arrow {
  flex-basis: 28px;
  width: 28px;
  height: 28px;
  font-size: 14px;
}

.cg .cg-pill-sm {
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-size: 14px;
}

.cg .cg-ghost-pill {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.cg .cg-ghost-pill:hover {
  color: var(--cg-lime);
  border-color: var(--cg-lime);
}

.cg .cg-outline-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--cg-control);
  border-radius: 999px;
  background: transparent;
  color: var(--cg-navy-ink);
  font: 700 14px "DM Sans", sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.cg .cg-outline-pill:hover {
  background: var(--cg-hover);
}

.cg .cg-outline-pill-dark {
  min-height: 40px;
  padding: 0 16px;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 600;
}

.cg .cg-outline-pill-dark:hover {
  border-color: var(--cg-lime);
  background: transparent;
  color: var(--cg-lime);
}

.cg .cg-text-link {
  display: inline-flex;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.cg .cg-text-link span {
  color: var(--cg-lime);
}

.cg .cg-text-link:hover {
  color: var(--cg-lime);
}

/* ---- State stamp ---- */
.cg .cg-stamp,
.cg .booking-status {
  display: inline-block;
  padding: 3px 8px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: var(--cg-navy-ink);
  font: 700 12px/1.2 "DM Sans", sans-serif;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

/* ---- Header ---- */
.cg .site-header {
  display: block;
  position: sticky;
  top: 0;
  z-index: 20;
  height: auto;
  padding: 0;
  border-bottom: 1px solid #e1e4e8;
  background: rgba(251, 252, 254, 0.9);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.cg .cg-header-row {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1360px;
  height: 72px;
  margin: 0 auto;
  padding: 0 40px;
}

.cg .site-header .brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--cg-navy-ink);
  font: 700 16px "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.cg .site-header .brand-logo {
  width: 36px !important;
  height: 36px !important;
  border: 0;
  border-radius: 50% !important;
  box-shadow: 0 4px 12px rgba(13, 33, 73, 0.14);
}

.cg .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.cg .header-login-button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--cg-navy-ink);
  font: 600 14px "DM Sans", sans-serif;
}

.cg .header-login-button:hover {
  background: var(--cg-hover);
}

/* ---- Hero ---- */
.cg .cg-hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  color: #ffffff;
}

.cg .cg-hero-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--cg-club-green);
}

.cg .cg-hero-decor > * {
  position: absolute;
}

.cg .cg-hero-glow {
  inset: -10% -10% 0 -10%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.2), transparent 55%),
    radial-gradient(ellipse at 50% 120%, rgba(11, 28, 63, 0.55), transparent 60%);
}

.cg .cg-hero-court-wrap {
  top: 30%;
  left: 50%;
  width: 1300px;
  height: 900px;
  margin-left: -650px;
}

.cg .cg-hero-court-lines {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(255, 255, 255, 0.2);
  transform: perspective(1200px) rotateX(58deg);
  transform-origin: top;
}

.cg .cg-hero-court-lines span {
  position: absolute;
}

.cg .cg-line-center {
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.cg .cg-line-service {
  left: 0;
  right: 0;
  border-top: 3px solid rgba(255, 255, 255, 0.2);
}

.cg .cg-line-service-a {
  top: 34%;
}

.cg .cg-line-service-b {
  top: 66%;
}

.cg .cg-line-net {
  top: 50%;
  left: 0;
  right: 0;
  height: 10px;
  margin-top: -5px;
  background: rgba(11, 28, 63, 0.4);
}

.cg .cg-float-ball-lg {
  top: 12%;
  left: 9%;
}

.cg .cg-float-ball-sm {
  top: 40%;
  right: 8%;
}

.cg .cg-float-paddle-left {
  top: 44%;
  left: 3%;
}

.cg .cg-float-paddle-left .cg-paddle {
  transform: rotate(-28deg);
}

.cg .cg-float-paddle-right {
  top: 10%;
  right: 4%;
}

.cg .cg-float-paddle-right .cg-paddle {
  transform: rotate(22deg) scale(0.82);
}

/* Pickleball: base sphere plus eight holes and an inset shade. */
.cg .cg-ball {
  --hole: 4px;
  display: block;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 14%, rgba(70, 92, 0, 0.55) 0 var(--hole), transparent calc(var(--hole) + 0.6px)),
    radial-gradient(circle at 80% 28%, rgba(70, 92, 0, 0.55) 0 var(--hole), transparent calc(var(--hole) + 0.6px)),
    radial-gradient(circle at 86% 60%, rgba(70, 92, 0, 0.55) 0 var(--hole), transparent calc(var(--hole) + 0.6px)),
    radial-gradient(circle at 66% 84%, rgba(70, 92, 0, 0.55) 0 var(--hole), transparent calc(var(--hole) + 0.6px)),
    radial-gradient(circle at 34% 84%, rgba(70, 92, 0, 0.55) 0 var(--hole), transparent calc(var(--hole) + 0.6px)),
    radial-gradient(circle at 14% 60%, rgba(70, 92, 0, 0.55) 0 var(--hole), transparent calc(var(--hole) + 0.6px)),
    radial-gradient(circle at 20% 28%, rgba(70, 92, 0, 0.55) 0 var(--hole), transparent calc(var(--hole) + 0.6px)),
    radial-gradient(circle at 50% 50%, rgba(70, 92, 0, 0.55) 0 var(--hole), transparent calc(var(--hole) + 0.6px)),
    radial-gradient(circle at 34% 28%, #f6fdb8, #d6ec2a 55%, #a9c218 100%);
  box-shadow: inset -5px -7px 12px rgba(80, 100, 0, 0.35), 0 18px 30px rgba(11, 28, 63, 0.3);
}

.cg .cg-ball-96 {
  --hole: 5px;
  width: 96px;
  height: 96px;
}

.cg .cg-ball-46 {
  --hole: 3px;
  width: 46px;
  height: 46px;
}

/* Branded paddle (option 2a). */
.cg .cg-paddle {
  position: relative;
  display: block;
  width: 150px;
  height: 260px;
}

.cg .cg-paddle > span {
  position: absolute;
}

.cg .cg-paddle-face {
  top: 0;
  left: 0;
  width: 150px;
  height: 172px;
  box-sizing: border-box;
  border: 5px solid var(--cg-lime);
  border-radius: 70px 70px 58px 58px;
  background: var(--cg-navy-deep);
  box-shadow: inset -14px -18px 30px rgba(0, 0, 0, 0.25), 0 30px 50px rgba(11, 28, 63, 0.35);
}

.cg .cg-paddle-face img {
  position: absolute;
  top: 25px;
  left: 50%;
  width: 76px;
  height: 76px;
  margin-left: -38px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(225, 243, 107, 0.25);
}

.cg .cg-paddle-face b {
  position: absolute;
  bottom: 17px;
  left: 0;
  right: 0;
  color: var(--cg-lime);
  font: 700 11px "Space Grotesk", sans-serif;
  letter-spacing: 0.14em;
  text-align: center;
}

.cg .cg-paddle-throat {
  top: 166px;
  left: 58px;
  width: 34px;
  height: 20px;
  border-radius: 4px;
  background: var(--cg-lime);
}

.cg .cg-paddle-grip {
  top: 182px;
  left: 60px;
  width: 30px;
  height: 74px;
  border-radius: 4px;
  background: repeating-linear-gradient(160deg, #fbfcfe 0 9px, #d0d5de 9px 11px);
}

.cg .cg-paddle-cap {
  top: 250px;
  left: 56px;
  width: 38px;
  height: 10px;
  border-radius: 5px;
  background: var(--cg-lime);
}

.cg .cg-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(48px, 9vh, 110px) 32px 48px;
  text-align: center;
}

.cg .cg-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.cg .cg-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cg-lime);
  animation: cg-pulse 1.6s infinite;
}

@keyframes cg-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 243, 107, 0.55);
  }
  100% {
    box-shadow: 0 0 0 9px rgba(225, 243, 107, 0);
  }
}

.cg .cg-hero h1 {
  margin: 0;
  color: #ffffff;
  font: 600 clamp(56px, 8vw, 120px) / 0.92 "Space Grotesk", sans-serif;
  letter-spacing: -0.06em;
  text-shadow: 0 2px 24px rgba(11, 28, 63, 0.25);
  text-wrap: balance;
}

.cg .cg-hero h1 em {
  color: var(--cg-lime);
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.cg .cg-hero-text {
  max-width: 540px;
  margin: 28px auto 36px;
  color: var(--cg-wash);
  font-size: 18px;
  line-height: 1.65;
  text-wrap: pretty;
}

.cg .cg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

/* Live availability card, overlapping into the benefits strip. */
.cg .cg-hero-card-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  margin: auto auto -150px;
  padding: 0 32px;
  box-sizing: border-box;
}

.cg .cg-hero-card-wrap::before {
  content: "";
  position: absolute;
  inset: 16px 48px -16px;
  border-radius: 24px;
  background: rgba(11, 28, 63, 0.4);
  filter: blur(2px);
}

.cg .cg-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--cg-paper);
  color: var(--cg-navy-ink);
  box-shadow: 0 40px 90px rgba(11, 28, 63, 0.4);
}

.cg .cg-hero-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--cg-line-soft);
}

.cg .cg-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cg-club-green);
  font-size: 13px;
  font-weight: 700;
}

.cg .cg-hero-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cg-court-green);
  box-shadow: 0 0 0 3px rgba(30, 154, 62, 0.18);
}

.cg .cg-hero-status.is-closed {
  color: var(--cg-muted);
}

.cg .cg-hero-status.is-closed::before {
  background: var(--cg-muted);
  box-shadow: none;
}

.cg .cg-hero-date {
  font: 600 22px "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.cg .cg-hero-venue {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cg-hover);
  font-size: 13px;
  font-weight: 600;
}

.cg .cg-hero-venue:empty {
  display: none;
}

.cg .cg-hero-courts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cg .cg-hero-loading {
  margin: 0;
  padding: 26px;
  color: var(--cg-muted);
}

.cg .cg-hero-court {
  padding: 20px 26px 24px;
  border-right: 1px solid var(--cg-line-soft);
}

.cg .cg-hero-court:last-child {
  border-right: 0;
}

.cg .cg-hero-court-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.cg .cg-hero-court-head strong {
  font: 600 18px "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.cg .cg-hero-court-head span {
  color: var(--cg-muted);
  font-size: 13px;
}

.cg .cg-hero-court-head b {
  color: var(--cg-navy-ink);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.cg .cg-hero-court > small {
  display: block;
  margin-top: 2px;
  color: var(--cg-muted);
  font-size: 13px;
}

.cg .cg-hero-slots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.cg .cg-hero-slot {
  height: 38px;
  padding: 0 13px;
  border: 1px solid var(--cg-control);
  border-radius: 10px;
  background: #ffffff;
  color: var(--cg-navy-ink);
  font: 600 14px "DM Sans", sans-serif;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.cg .cg-hero-slot:hover {
  border-color: var(--cg-navy-ink);
}

.cg .cg-hero-slot.is-selected {
  border-color: var(--cg-navy-ink);
  background: var(--cg-navy-ink);
  color: var(--cg-lime);
}

.cg .cg-hero-more,
.cg .cg-hero-none {
  color: var(--cg-muted);
  font-size: 13px;
  font-weight: 600;
}

.cg .cg-hero-foot {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--cg-navy-deep);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.cg .cg-hero-foot span {
  color: var(--cg-lime);
}

.cg .cg-hero-foot:hover {
  color: var(--cg-lime);
}

/* ---- Benefits strip ---- */
.cg .cg-benefits {
  padding-top: 190px;
  background: var(--cg-navy-deep);
  color: #ffffff;
}

.cg .cg-benefits-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cg .cg-benefits article {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 30px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.cg .cg-benefits article > span {
  color: var(--cg-lime);
  font: 700 14px "Space Grotesk", sans-serif;
}

.cg .cg-benefits strong {
  display: block;
  font: 600 17px "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.cg .cg-benefits small {
  display: block;
  color: var(--cg-on-dark);
  font-size: 14px;
}

/* ---- Booking ---- */
.cg .cg-booking {
  padding-bottom: 90px;
}

.cg .cg-tray {
  padding: 10px;
  border: 1px solid var(--cg-line);
  border-radius: 28px;
  background: var(--cg-tray);
}

.cg .cg-date-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 18px;
}

.cg .cg-date-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
}

.cg .cg-date-step {
  width: 44px;
  height: 56px;
  border: 1px solid var(--cg-control);
  border-radius: 14px;
  background: var(--cg-paper);
  color: var(--cg-navy-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--cg-shadow-control);
}

.cg .cg-date-step:hover:not(:disabled) {
  border-color: var(--cg-navy-ink);
}

.cg .cg-date-step:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cg .cg-date-anchor {
  position: relative;
}

.cg .cg-date-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
  height: 56px;
  padding: 0 16px 0 8px;
  border: 1px solid var(--cg-control);
  border-radius: 14px;
  background: var(--cg-paper);
  color: var(--cg-navy-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--cg-shadow-control);
}

.cg .cg-date-trigger:hover {
  border-color: var(--cg-navy-ink);
}

.cg .cg-date-tile {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--cg-navy-deep);
  color: var(--cg-lime);
  font: 700 17px "Space Grotesk", sans-serif;
  font-variant-numeric: tabular-nums;
}

.cg .cg-date-text {
  display: grid;
  flex: 1;
}

.cg .cg-date-text small {
  color: var(--cg-muted);
  font-size: 12px;
  font-weight: 600;
}

.cg .cg-date-text strong {
  font-size: 15px;
  font-weight: 700;
}

.cg .cg-date-caret {
  color: var(--cg-navy-ink);
  font-size: 11px;
}

.cg .cg-date-chips {
  display: flex;
  gap: 8px;
}

.cg .cg-date-chips button {
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--cg-control);
  border-radius: 999px;
  background: var(--cg-paper);
  color: var(--cg-navy-ink);
  font: 600 14px "DM Sans", sans-serif;
  cursor: pointer;
}

.cg .cg-date-chips button:hover:not(:disabled) {
  background: var(--cg-hover);
}

.cg .cg-date-chips button.is-active {
  border-color: var(--cg-navy-deep);
  background: var(--cg-navy-deep);
  color: #ffffff;
}

.cg .cg-date-chips button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Calendar popover */
.cg .cg-calendar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 29;
}

.cg .cg-calendar {
  position: absolute;
  top: 64px;
  left: 0;
  z-index: 30;
  width: 360px;
  padding: 18px;
  box-sizing: border-box;
  border-radius: 20px;
  background: var(--cg-paper);
  box-shadow: 0 30px 60px rgba(11, 28, 63, 0.22);
}

.cg .cg-calendar[hidden] {
  display: none;
}

.cg .cg-cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cg .cg-cal-head strong {
  font: 600 17px "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.cg .cg-cal-head button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--cg-control);
  border-radius: 10px;
  background: #ffffff;
  color: var(--cg-navy-ink);
  font-size: 18px;
  cursor: pointer;
}

.cg .cg-cal-head button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cg .cg-cal-weekdays,
.cg .cg-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cg .cg-cal-weekdays span {
  padding: 4px 0;
  color: var(--cg-muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.cg .cg-cal-day {
  position: relative;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  color: var(--cg-navy-ink);
  font: 600 14px "DM Sans", sans-serif;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  box-shadow: var(--cg-shadow-control);
}

.cg .cg-cal-day i {
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--cg-court-green);
}

.cg .cg-cal-day.is-today {
  box-shadow: inset 0 0 0 1px var(--cg-navy-ink);
}

.cg .cg-cal-day.is-selected {
  background: var(--cg-navy-deep);
  color: var(--cg-lime);
  box-shadow: 0 6px 14px rgba(11, 28, 63, 0.25);
}

.cg .cg-cal-day.is-selected i {
  background: var(--cg-lime);
}

.cg .cg-cal-day:hover:not(:disabled):not(.is-selected) {
  background: var(--cg-hover);
}

.cg .cg-cal-day:disabled {
  background: transparent;
  color: #b3b8c2;
  box-shadow: none;
  cursor: default;
}

.cg .cg-cal-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 0;
  color: var(--cg-muted);
  font-size: 12px;
}

.cg .cg-cal-foot span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cg .cg-cal-foot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cg-court-green);
}

/* Venue pill */
.cg .cg-venue-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--cg-control);
  border-radius: 14px;
  background: var(--cg-paper);
  box-shadow: var(--cg-shadow-control);
}

.cg .cg-venue-pill[hidden] {
  display: none;
}

.cg .cg-venue-pill label {
  color: var(--cg-muted);
  font-size: 14px;
  font-weight: 500;
}

.cg .cg-venue-pill select {
  min-height: 40px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--cg-navy-ink);
  font: 700 14px "DM Sans", sans-serif;
  cursor: pointer;
}

.cg .cg-venue-pill .venue-directions {
  color: var(--cg-club-green);
  font-size: 13px;
  font-weight: 700;
}

.cg .cg-booking-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.cg .cg-court-column {
  flex: 1 1 560px;
  min-width: 0;
}

.cg .court-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
}

/* Court card */
.cg .cg-court {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--cg-line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--cg-shadow-card);
}

.cg .cg-court[hidden] {
  display: none;
}

.cg .cg-court.has-photo {
  grid-template-columns: 180px 1fr;
}

.cg .cg-court-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cg .cg-court-body {
  padding: 22px 24px;
}

.cg .cg-court-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.cg .cg-court-head h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.cg .cg-court-head p {
  margin: 4px 0 0;
  color: var(--cg-muted);
  font-size: 14px;
}

.cg .cg-court-head .court-venue {
  color: var(--cg-club-green);
  font-weight: 700;
  text-decoration: none;
}

.cg .cg-court-head .court-venue:hover {
  text-decoration: underline;
}

.cg .cg-court-price {
  display: grid;
  justify-items: end;
  text-align: right;
}

.cg .cg-court-price strong {
  font: 600 22px "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.cg .cg-court-price small {
  color: var(--cg-muted);
  font-size: 13px;
  white-space: nowrap;
}

.cg .court-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 8px;
}

.cg .court-times .time-btn {
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--cg-control);
  border-radius: 10px;
  background: #ffffff;
  color: var(--cg-navy-ink);
  font: 600 14px "DM Sans", sans-serif;
  font-variant-numeric: tabular-nums;
  box-shadow: var(--cg-shadow-control);
  cursor: pointer;
}

.cg .court-times .time-btn:hover:not(:disabled) {
  border-color: var(--cg-navy-ink);
}

.cg .court-times .time-btn.selected {
  border-color: var(--cg-navy-ink);
  background: var(--cg-navy-ink);
  color: var(--cg-lime);
  box-shadow: 0 6px 14px rgba(11, 28, 63, 0.25);
}

.cg .court-times .time-btn.is-too-soon,
.cg .court-times .time-btn.is-booked {
  border-color: var(--cg-hover);
  background: var(--cg-hover);
  color: #9aa0aa;
  box-shadow: none;
  cursor: not-allowed;
}

.cg .court-times .time-btn.is-booked {
  text-decoration: line-through;
}

.cg .court-times .time-btn.selection-limit-reached {
  opacity: 0.5;
  cursor: not-allowed;
}

.cg .courts-loading,
.cg .court-load-error {
  padding: 26px;
  border-radius: 20px;
  background: #ffffff;
  color: var(--cg-muted);
}

.cg .cg-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 12px 14px 6px;
  color: var(--cg-muted);
  font-size: 13px;
  list-style: none;
}

.cg .cg-legend li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.cg .cg-legend i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.cg .cg-legend-open {
  border: 1px solid var(--cg-control);
  background: #ffffff;
}

.cg .cg-legend-selected {
  background: var(--cg-navy-ink);
}

.cg .cg-legend-booked {
  background: #e4e6eb;
}

/* Summary card */
.cg .cg-summary {
  position: sticky;
  top: 88px;
  flex: 1 0 340px;
  max-width: 400px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: var(--cg-navy-deep);
  color: #ffffff;
  box-shadow: 0 30px 60px rgba(11, 28, 63, 0.25);
  opacity: 1;
  transform: none;
}

.cg .cg-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cg .cg-summary-head h3 {
  font: 700 14px "DM Sans", sans-serif;
  letter-spacing: 0;
}

.cg .cg-summary-head span {
  color: var(--cg-lime);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cg .cg-summary-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 36px 24px 28px;
  text-align: center;
}

.cg .cg-summary-plus {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  border: 1.5px dashed var(--cg-lime);
  border-radius: 50%;
  color: var(--cg-lime);
  font-size: 22px;
}

.cg .cg-summary-empty strong {
  font: 600 18px "Space Grotesk", sans-serif;
}

.cg .cg-summary-empty p {
  max-width: 240px;
  margin: 0;
  color: #aab3c2;
  font-size: 14px;
}

.cg .cg-summary-rows {
  margin: 0;
  padding: 0 24px;
  list-style: none;
}

.cg .cg-summary-row {
  display: grid;
  grid-template-columns: 1fr auto 28px;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cg .cg-summary-row strong {
  display: block;
  font: 600 16px "Space Grotesk", sans-serif;
}

.cg .cg-summary-row span {
  color: #aab3c2;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.cg .cg-summary-price {
  font-variant-numeric: tabular-nums;
}

.cg .cg-summary-remove {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.cg .cg-summary-remove:hover {
  border-color: var(--cg-lime);
  color: var(--cg-lime);
}

.cg .cg-summary-fees {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 18px 24px;
}

.cg .cg-summary-fees div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--cg-on-dark);
  font-size: 14px;
}

.cg .cg-summary-fees dt small {
  color: #aab3c2;
}

.cg .cg-summary-fees dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.cg .cg-summary-total {
  align-items: baseline;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cg .cg-summary-total dt {
  color: #ffffff;
  font-weight: 700;
}

.cg .cg-summary-total dd {
  color: #ffffff;
  font: 600 30px "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.cg .cg-summary .cg-pill {
  display: flex;
  width: calc(100% - 48px);
  margin: 4px 24px 0;
  box-sizing: border-box;
}

.cg .cg-summary-policy {
  margin: 0;
  padding: 16px 24px 22px;
  color: #aab3c2;
  font-size: 12px;
  line-height: 1.55;
}

/* ---- My bookings ---- */
.cg .cg-my-bookings {
  margin-top: 40px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--cg-line);
  border-radius: 24px;
  background: var(--cg-paper);
  box-shadow: var(--cg-shadow-raised);
}

.cg .cg-my-bookings[hidden] {
  display: none;
}

.cg .cg-my-bookings .bookings-header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 32px;
  border: 0;
  background: var(--cg-club-green);
  color: #ffffff;
  overflow: hidden;
}

.cg .cg-my-bookings .bookings-header::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 70px;
  border-left: 2px solid rgba(255, 255, 255, 0.18);
}

.cg .cg-my-bookings .bookings-header > * {
  position: relative;
}

.cg .cg-my-bookings h3 {
  color: #ffffff;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.cg .cg-my-bookings .bookings-intro {
  margin: 8px 0 0;
  color: var(--cg-wash);
}

.cg .next-booking-summary {
  display: grid;
  gap: 2px;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--cg-paper);
  color: var(--cg-navy-ink);
  box-shadow: var(--cg-shadow-raised);
}

.cg .next-booking-summary[hidden] {
  display: none;
}

.cg .next-booking-summary span {
  color: var(--cg-muted);
  font-size: 12px;
  font-weight: 600;
}

.cg .next-booking-summary strong {
  font: 600 18px "Space Grotesk", sans-serif;
}

.cg .next-booking-summary small {
  color: var(--cg-muted);
  font-size: 13px;
}

.cg .cg-my-bookings-body {
  padding: 24px 32px 32px;
}

.cg .bookings-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.cg .bookings-summary {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--cg-hover);
}

.cg .bookings-summary:empty {
  display: none;
}

.cg .summary-filter {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--cg-navy-ink);
  font: 600 14px "DM Sans", sans-serif;
  cursor: pointer;
}

.cg .summary-filter strong {
  margin-left: 4px;
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}

.cg .summary-filter[aria-pressed="true"] {
  background: var(--cg-navy-ink);
  color: #ffffff;
}

.cg .book-another-link {
  color: var(--cg-club-green);
  font-weight: 700;
  text-decoration: none;
}

.cg .bookings-grid {
  display: grid;
  gap: 10px;
}

.cg .booking-history {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--cg-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: none;
}

.cg .booking-date-tile,
.cg .cg-date-tile-wash {
  display: grid;
  place-items: center;
  align-content: center;
  width: 72px;
  height: 64px;
  border-radius: 14px;
  background: var(--cg-wash);
  color: var(--cg-verified);
}

.cg .booking-date-tile span,
.cg .cg-date-tile-wash span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cg .booking-date-tile strong,
.cg .cg-date-tile-wash strong {
  font: 700 24px/1 "Space Grotesk", sans-serif;
}

.cg .booking-card-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cg .booking-card-heading h4 {
  margin: 0;
  font: 600 18px "Space Grotesk", sans-serif;
}

.cg .booking-confirmed .booking-status {
  color: var(--cg-navy-ink);
}

.cg .booking-reserved .booking-status {
  color: var(--cg-muted);
}

.cg .booking-cancelled .booking-status,
.cg .booking-expired .booking-status {
  color: var(--cg-rust);
}

.cg [class*="booking-refund-pending"] .booking-status,
.cg [class*="booking-refund-approved"] .booking-status {
  background: var(--cg-rust-wash);
}

.cg .booking-schedule {
  display: flex;
  gap: 10px;
  margin: 4px 0;
  color: var(--cg-muted);
  font-size: 14px;
}

.cg .booking-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  color: var(--cg-muted);
  font-size: 13px;
}

.cg .booking-facts small {
  margin-right: 4px;
}

.cg .booking-action {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.cg .booking-action button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d0d5de;
  border-radius: 10px;
  background: #f4f5f8;
  color: var(--cg-navy-ink);
  font: 600 14px "DM Sans", sans-serif;
  cursor: pointer;
}

.cg .booking-action button:hover {
  border-color: var(--cg-navy-ink);
}

.cg .booking-action .cancel-booking,
.cg .booking-action .cancel-pending-payment {
  border-color: var(--cg-rust);
  background: transparent;
  color: var(--cg-rust);
}

.cg .booking-action small {
  max-width: 240px;
  color: var(--cg-muted);
  font-size: 12px;
  text-align: right;
}

.cg .pending-payment-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cg .bookings-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 36px 20px;
  border: 1px dashed var(--cg-control);
  border-radius: 16px;
  color: var(--cg-muted);
  text-align: center;
}

.cg .bookings-empty h4 {
  margin: 0;
  color: var(--cg-navy-ink);
  font: 600 18px "Space Grotesk", sans-serif;
}

.cg .bookings-empty p {
  margin: 0;
}

.cg .bookings-empty a {
  color: var(--cg-club-green);
  font-weight: 700;
}

.cg .booking-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  color: var(--cg-muted);
}

.cg .booking-pagination[hidden] {
  display: none;
}

.cg .booking-pagination button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d0d5de;
  border-radius: 10px;
  background: #ffffff;
  color: var(--cg-navy-ink);
  font: 600 14px "DM Sans", sans-serif;
  cursor: pointer;
}

/* ---- Club ---- */
.cg .cg-club {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--cg-navy-ink);
  color: #ffffff;
}

.cg .cg-club::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 243, 107, 0.16), transparent 70%);
}

.cg .cg-club .cg-container {
  position: relative;
}

.cg .cg-club-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 40px;
}

.cg .cg-club h2 {
  font-size: 72px;
  line-height: 0.96;
}

.cg .cg-club h2 em {
  color: var(--cg-lime);
}

.cg .cg-club-intro p {
  max-width: 460px;
  margin: 0 0 26px;
  color: var(--cg-on-dark);
  font-size: 17px;
  line-height: 1.7;
}

.cg .cg-club-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 64px;
}

.cg .cg-club-features article {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.cg .cg-club-features article:nth-child(2) {
  transition-delay: 0.1s;
}

.cg .cg-club-features article:nth-child(3) {
  transition-delay: 0.2s;
}

.cg .cg-feature-photo {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.cg .cg-feature-body {
  padding: 24px 26px 28px;
}

.cg .cg-feature-body span {
  color: var(--cg-lime);
  font: 700 13px "Space Grotesk", sans-serif;
}

.cg .cg-feature-body h3 {
  margin: 10px 0 8px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.cg .cg-feature-body p {
  margin: 0;
  color: var(--cg-on-dark);
  font-size: 15px;
  line-height: 1.6;
}

/* ---- Locate ---- */
.cg .cg-locate-map-wrap {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--cg-line);
  border-radius: 28px;
  background: #e4e7ec;
  box-shadow: 0 20px 50px rgba(11, 28, 63, 0.08);
}

.cg .locate-map {
  position: absolute;
  inset: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
}

/* Google's own place card sits at the iframe's top left; shift it out of view behind the edge. */
.cg .locate-map iframe {
  position: absolute;
  top: -120px;
  left: 0;
  width: 100%;
  height: calc(100% + 120px);
  border: 0;
}

.cg .locate-map-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
  color: var(--cg-muted);
}

.cg .locate-venues {
  position: absolute;
  top: 28px;
  left: 28px;
  max-height: calc(100% - 56px);
  display: grid;
  align-content: start;
  gap: 12px;
  width: 380px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.cg .locate-venue {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 28px;
  box-sizing: border-box;
  border: 0;
  border-radius: 20px;
  background: var(--cg-paper);
  box-shadow: 0 24px 50px rgba(11, 28, 63, 0.18);
}

.cg .cg-open-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cg-wash);
  color: var(--cg-verified);
  font-size: 12px;
  font-weight: 700;
}

.cg .cg-open-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cg-court-green);
}

.cg .cg-venue-name {
  margin-top: 14px;
  font: 600 26px "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.cg .cg-venue-address {
  margin-top: 4px;
  color: var(--cg-muted);
  font-size: 15px;
}

.cg .cg-venue-courts {
  margin: 22px 0;
  padding: 0;
  border-top: 1px solid var(--cg-line-soft);
  list-style: none;
}

.cg .cg-venue-courts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cg-line-soft);
  font-size: 14px;
}

.cg .cg-venue-courts small {
  margin-left: 6px;
  color: var(--cg-muted);
  font-size: 14px;
}

.cg .cg-venue-courts small::before {
  content: "· ";
}

.cg .cg-venue-courts b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cg .locate-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.cg .locate-actions > * {
  flex: 1;
}

/* ---- FAQ ---- */
.cg .cg-faq {
  padding: 120px 0;
  border-top: 1px solid #e1e4e8;
  border-bottom: 1px solid #e1e4e8;
  background: var(--cg-paper);
}

.cg .cg-faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
}

.cg .cg-faq-sub {
  max-width: 280px;
  margin: 22px 0 0;
  color: var(--cg-muted);
  line-height: 1.6;
}

.cg .cg-faq-tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 22px;
  padding: 4px;
  border-radius: 999px;
  background: var(--cg-hover);
}

.cg .cg-faq-tabs button {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--cg-navy-ink);
  font: 600 14px "DM Sans", sans-serif;
  cursor: pointer;
}

.cg .cg-faq-tabs button span {
  margin-left: 4px;
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}

.cg .cg-faq-tabs button[aria-selected="true"] {
  background: var(--cg-navy-ink);
  color: #ffffff;
}

.cg .cg-faq-list {
  display: grid;
  gap: 10px;
}

.cg .cg-faq-list[hidden] {
  display: none;
}

.cg .cg-faq-list details {
  margin: 0;
  border: 1px solid #e1e4e8;
  border-radius: 16px;
  background: #f6f7f9;
  transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.cg .cg-faq-list details[open] {
  border-color: var(--cg-control);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(11, 28, 63, 0.07);
}

.cg .cg-faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  color: var(--cg-navy-ink);
  font: 600 18px "DM Sans", sans-serif;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.cg .cg-faq-list summary::-webkit-details-marker {
  display: none;
}

.cg .cg-faq-list summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--cg-control);
  border-radius: 50%;
  color: var(--cg-navy-ink);
  font-size: 18px;
  font-weight: 500;
}

.cg .cg-faq-list details[open] summary::after {
  content: "−";
  border-color: var(--cg-navy-ink);
  background: var(--cg-navy-ink);
  color: var(--cg-lime);
}

.cg .cg-faq-list details p {
  max-width: 640px;
  margin: 0;
  padding: 0 70px 22px 22px;
  color: var(--cg-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---- Contact ---- */
.cg .cg-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  border: 1px solid var(--cg-line);
  border-radius: 28px;
  background: var(--cg-paper);
  box-shadow: var(--cg-shadow-raised);
}

.cg .cg-contact-intro {
  padding: 56px;
  border-right: 1px solid var(--cg-line);
  background: var(--cg-hover);
}

.cg .cg-contact-intro h2 {
  font-size: 54px;
  line-height: 1;
}

.cg .cg-contact-intro > p {
  max-width: 400px;
  margin: 22px 0 36px;
  color: var(--cg-muted);
  line-height: 1.7;
}

.cg .cg-contact-rows {
  display: grid;
  gap: 10px;
}

.cg .cg-contact-rows a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--cg-line);
  border-radius: 14px;
  background: var(--cg-paper);
  color: var(--cg-navy-ink);
  text-decoration: none;
}

.cg .cg-contact-rows a:hover {
  border-color: #9da4b0;
}

.cg .cg-contact-key {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--cg-navy-ink);
  color: var(--cg-lime);
  font: 700 12px "Space Grotesk", sans-serif;
}

.cg .cg-contact-rows small {
  display: block;
  color: var(--cg-muted);
  font-size: 12px;
  font-weight: 600;
}

.cg .cg-contact-rows strong {
  font-size: 15px;
  overflow-wrap: anywhere;
}

.cg .cg-contact-form {
  display: grid;
  gap: 18px;
  align-content: start;
  margin: 0;
  padding: 56px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cg .cg-contact-form .contact-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---- Shared form fields (contact and dialogs) ---- */
.cg :is(.cg-contact-form, .cg-dialog) label {
  display: grid;
  gap: 8px;
  color: var(--cg-navy-ink);
  font: 600 13px "DM Sans", sans-serif;
}

.cg :is(.cg-contact-form, .cg-dialog) :is(input:not([type="hidden"]), select, textarea) {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 0 14px;
  box-sizing: border-box;
  border: 1px solid #cfd3db;
  border-radius: 12px;
  background: #ffffff;
  color: var(--cg-navy-ink);
  font: 500 15px "DM Sans", sans-serif;
}

.cg :is(.cg-contact-form, .cg-dialog) textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.cg :is(.cg-contact-form, .cg-dialog) ::placeholder {
  color: var(--cg-placeholder);
}

.cg :is(.cg-contact-form, .cg-dialog) :is(input, select, textarea):focus {
  border-color: var(--cg-navy-ink);
}

.cg .cg-contact-form .cg-pill,
.cg .cg-dialog-body .cg-pill {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

.cg .contact-form-status:empty,
.cg .cg-dialog .auth-error:empty {
  display: none;
}

/* ---- Footer ---- */
.cg .cg-footer {
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--cg-footer-navy);
  color: #aab3c2;
}

.cg .cg-footer-cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  padding: 40px 44px;
  border-radius: 0 0 28px 28px;
  background: var(--cg-club-green);
  color: #ffffff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.cg .cg-footer-cta > * {
  position: relative;
}

.cg .cg-footer-cta .cg-footer-cta-line-v {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 34%;
  border-left: 3px solid rgba(255, 255, 255, 0.16);
}

.cg .cg-footer-cta .cg-footer-cta-line-h {
  position: absolute;
  left: 66%;
  right: 0;
  top: 50%;
  border-top: 3px solid rgba(255, 255, 255, 0.16);
}

.cg .cg-footer-cta-kicker {
  color: var(--cg-lime);
  font-size: 13px;
  font-weight: 700;
}

.cg .cg-footer-cta strong {
  display: block;
  margin-top: 6px;
  font: 600 clamp(28px, 3vw, 40px) / 1.1 "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.cg .cg-footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 48px 40px;
  padding: 72px 0 56px;
}

.cg .cg-footer-brand {
  min-width: 220px;
}

.cg .cg-footer .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font: 700 17px "Space Grotesk", sans-serif;
  text-decoration: none;
}

.cg .cg-footer .brand-logo {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
}

.cg .cg-footer-brand p {
  margin: 18px 0 0;
  color: var(--cg-line-soft);
  font: 500 22px/1.3 "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.cg .cg-footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 13px;
}

.cg .cg-footer-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cg-lime);
  box-shadow: 0 0 0 4px rgba(225, 243, 107, 0.12);
}

.cg .cg-footer-col {
  display: grid;
  gap: 12px;
  align-content: start;
  font-size: 14px;
}

.cg .cg-footer-col > span {
  margin-bottom: 4px;
  color: var(--cg-lime);
  font-size: 12px;
  font-weight: 700;
}

.cg .cg-footer-col a:not(.cg-outline-pill) {
  color: var(--cg-on-dark);
  text-decoration: none;
}

.cg .cg-footer-col a:not(.cg-outline-pill):hover {
  color: #ffffff;
}

.cg .cg-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.cg .cg-footer-bottom a:not(.cg-outline-pill) {
  color: var(--cg-on-dark);
  font-weight: 600;
}

.cg .cg-footer-bottom a:not(.cg-outline-pill):hover {
  color: #ffffff;
}

/* ---- Dialogs: one shell with a green header ---- */
.cg .modal-backdrop {
  z-index: 50;
  background: rgba(7, 18, 41, 0.63);
  backdrop-filter: blur(5px);
}

.cg .modal.cg-dialog {
  max-width: 440px;
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-radius: 22px;
  background: var(--cg-paper);
  box-shadow: 0 30px 70px rgba(7, 19, 42, 0.35);
}

.cg .cg-dialog-head {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 26px 70px 24px 30px;
  border: 0;
  background: var(--cg-club-green);
  color: #ffffff;
}

.cg .cg-dialog-head::before,
.cg .cg-dialog-head::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.cg .cg-dialog-head::before {
  top: 0;
  bottom: 0;
  right: 70px;
  border-left: 2px solid rgba(255, 255, 255, 0.18);
}

.cg .cg-dialog-head::after {
  top: 62%;
  right: 0;
  width: 70px;
  border-top: 2px solid rgba(255, 255, 255, 0.18);
}

.cg .cg-dialog-head .cg-eyebrow {
  margin-bottom: 10px;
}

.cg .cg-dialog-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.cg .cg-dialog-head .modal-copy {
  margin: 10px 0 0;
  color: var(--cg-wash);
  font-size: 14px;
  line-height: 1.55;
}

.cg .cg-dialog-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
}

.cg .cg-dialog-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.cg .cg-dialog-body {
  display: grid;
  gap: 14px;
  padding: 24px 30px 30px;
}

.cg .cg-dialog-body form {
  display: grid;
  gap: 14px;
  margin: 0;
}

.cg .cg-dialog .switch-auth {
  margin: 0;
  color: var(--cg-navy-ink);
  font: 600 14px "DM Sans", sans-serif;
  text-decoration: none;
}

.cg .cg-dialog .switch-auth:hover {
  color: var(--cg-club-green);
  text-decoration: underline;
}

.cg .cg-dialog .cg-center-link {
  justify-self: center;
  display: block;
  margin: 0 auto;
}

.cg .cg-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: -6px;
}

.cg .cg-dialog .cg-inline-link {
  display: inline;
  padding: 0;
  color: var(--cg-club-green);
  font-size: 13px;
}

.cg .cg-field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cg .cg-dialog .required-note {
  margin: 0;
  color: var(--cg-muted);
  font-size: 12px;
}

.cg .cg-segmented {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 4px;
  border-radius: 999px;
  background: var(--cg-hover);
}

.cg .cg-segmented .auth-tab {
  flex: 1;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: transparent;
  color: var(--cg-muted);
  font: 600 14px "DM Sans", sans-serif;
}

.cg .cg-segmented .auth-tab.is-active {
  background: #ffffff;
  color: var(--cg-navy-ink);
  box-shadow: var(--cg-shadow-control);
}

.cg .cg-pw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -4px 0 0;
  padding: 0;
  list-style: none;
}

.cg .cg-pw-chips li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cg-hover);
  color: var(--cg-muted);
  font-size: 12px;
  font-weight: 600;
}

.cg .cg-pw-chips li.is-met {
  background: var(--cg-wash);
  color: var(--cg-verified);
}

.cg .cg-pw-chips li.is-met::before {
  content: "✓ ";
}

.cg .cg-dialog .password-requirements {
  margin: 0;
  color: var(--cg-muted);
  font-size: 12px;
}

.cg .cg-dialog .turnstile-field {
  min-height: 65px;
  margin: 0;
}

.cg .cg-dialog .auth-error {
  min-height: 0;
  margin: 0;
  font-size: 13px;
}

.cg .cg-dialog-fine {
  margin: 0;
  color: var(--cg-muted);
  font-size: 12px;
  text-align: center;
}

.cg #bookingForm .form-status:empty {
  display: none;
}

.cg .cg-payment-window {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 16px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--cg-navy-deep);
  color: #ffffff;
}

.cg .cg-payment-window div {
  display: grid;
}

.cg .cg-payment-window strong {
  color: #ffffff;
  font-size: 14px;
}

.cg .cg-payment-window span {
  color: #aab3c2;
  font-size: 13px;
}

.cg .cg-payment-window time {
  color: var(--cg-lime);
  font: 600 26px "Space Grotesk", sans-serif;
  font-variant-numeric: tabular-nums;
}

.cg .cg-payment-window.is-expired time {
  color: #f3b8a8;
}

.cg .cg-line-items {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--cg-line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--cg-navy-ink);
}

.cg .cg-line-items .modal-booking-row,
.cg .cg-line-items .modal-booking-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--cg-line-soft);
  font-size: 14px;
}

.cg .cg-line-items .modal-booking-row > span {
  display: grid;
}

.cg .cg-line-items .modal-booking-row small {
  color: var(--cg-muted);
  font-size: 13px;
}

.cg .cg-line-items strong {
  font-variant-numeric: tabular-nums;
}

.cg .cg-line-items .modal-booking-total {
  border-bottom: 0;
  background: var(--cg-wash);
}

.cg .cg-line-items .modal-booking-total strong {
  font: 600 22px "Space Grotesk", sans-serif;
}

.cg .cg-line-items .modal-booking-user {
  margin: 0;
  padding: 10px 16px;
  border-top: 1px solid var(--cg-line-soft);
  color: var(--cg-muted);
  font-size: 13px;
}

/* Cancel booking */
.cg .cg-cancel-booking {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--cg-line);
  border-radius: 16px;
  background: #ffffff;
}

.cg .cg-cancel-booking .cg-date-tile-wash {
  width: 56px;
  height: 56px;
}

.cg .cg-cancel-booking-text {
  display: grid;
}

.cg .cg-cancel-booking-text strong {
  font: 600 17px "Space Grotesk", sans-serif;
}

.cg .cg-cancel-booking-text small {
  color: var(--cg-muted);
  font-size: 13px;
}

.cg .cg-cancel-refund,
.cg .cg-cancel-refund > div {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.cg .refund-breakdown {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--cg-line);
  border-radius: 14px;
  background: #ffffff;
}

.cg .refund-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--cg-line-soft);
  font-size: 14px;
}

.cg .refund-breakdown dt {
  color: var(--cg-muted);
}

.cg .refund-breakdown dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cg .refund-breakdown .refund-total {
  border-bottom: 0;
  background: var(--cg-wash);
}

.cg .refund-breakdown .refund-total dt,
.cg .refund-breakdown .refund-total dd {
  color: var(--cg-navy-deep);
  font: 600 18px "Space Grotesk", sans-serif;
}

.cg .refund-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--cg-rust-wash);
  color: var(--cg-rust);
  font-size: 13px;
  line-height: 1.5;
}

.cg .refund-note.refund-note-calm {
  background: var(--cg-hover);
  color: var(--cg-muted);
}

.cg .cg-dialog-actions {
  display: grid;
  gap: 10px;
  margin: 0;
}

.cg .cg-dialog-actions .cg-pill {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

.cg .cg-rust-pill {
  width: 100%;
  min-height: 50px;
  border: 1.5px solid var(--cg-rust);
  border-radius: 999px;
  background: transparent;
  color: var(--cg-rust);
  font: 700 15px "DM Sans", sans-serif;
  cursor: pointer;
}

.cg .cg-rust-pill:hover {
  background: var(--cg-rust-wash);
}

.cg .cg-rust-pill:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Profile header keeps its avatar beside the title. */
.cg .profile-account-header.cg-dialog-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cg .profile-account-header .profile-avatar {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cg-navy-deep);
  color: var(--cg-lime);
  box-shadow: none;
}

.cg .profile-account-modal {
  max-width: 560px;
}

.cg .profile-fields {
  display: grid;
  gap: 14px;
}

/* "Change password" sits under "Save changes" as the secondary action, same width. */
.cg .cg-dialog .profile-account-form .switch-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--cg-control);
  border-radius: 999px;
  background: #ffffff;
  color: var(--cg-navy-ink);
  cursor: pointer;
}

.cg .cg-dialog .profile-account-form .switch-auth:hover {
  border-color: var(--cg-navy-ink);
  background: var(--cg-hover);
  color: var(--cg-navy-ink);
  text-decoration: none;
}

.cg .profile-field span strong {
  display: block;
  font-size: 13px;
}

.cg .profile-field span small {
  display: block;
  color: var(--cg-muted);
  font-size: 12px;
  font-weight: 500;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .cg h2 {
    font-size: 52px;
  }

  .cg .cg-club h2 {
    font-size: 58px;
  }

  .cg .cg-faq-grid {
    gap: 56px;
  }

  .cg .cg-float-paddle-left,
  .cg .cg-float-paddle-right {
    opacity: 0.55;
  }
}

@media (max-width: 900px) {
  .cg .cg-hero-court {
    border-right: 0;
    border-bottom: 1px solid var(--cg-line-soft);
  }

  .cg .cg-club-intro,
  .cg .cg-faq-grid,
  .cg .cg-contact-panel {
    grid-template-columns: 1fr;
  }

  .cg .cg-club-features {
    grid-template-columns: 1fr;
  }

  .cg .cg-contact-intro {
    border-right: 0;
    border-bottom: 1px solid var(--cg-line);
  }
}

@media (max-width: 800px) {
  .cg .cg-container,
  .cg .cg-header-row {
    padding: 0 20px;
  }

  .cg .cg-header-row {
    gap: 12px;
    height: 64px;
  }

  .cg .header-actions {
    display: flex;
  }

  .cg .cg-pill-header {
    display: none;
  }

  .cg .cg-section,
  .cg .cg-club,
  .cg .cg-faq {
    padding: 80px 0;
  }

  .cg .cg-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cg .cg-summary {
    position: static;
    flex-basis: 100%;
    max-width: none;
  }

  .cg .cg-court.has-photo {
    grid-template-columns: 1fr;
  }

  .cg .cg-court-photo {
    display: none;
  }

  .cg .cg-float-paddle-left,
  .cg .cg-float-paddle-right {
    display: none;
  }

  .cg .cg-locate-map-wrap {
    display: grid;
    min-height: 0;
    overflow: visible;
    border: 0;
    background: none;
    box-shadow: none;
  }

  .cg .locate-map {
    position: relative;
    height: 320px;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--cg-line);
    border-radius: 24px;
  }

  .cg .locate-venues {
    position: static;
    width: auto;
    margin-top: 12px;
    overflow: visible;
  }

  .cg .cg-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .cg h2,
  .cg .cg-club h2 {
    font-size: 42px;
  }

  .cg .cg-contact-intro h2 {
    font-size: 40px;
  }

  .cg .cg-hero-copy {
    padding: 44px 20px 40px;
  }

  .cg .cg-hero-text {
    font-size: 16px;
  }

  .cg .cg-hero-card-wrap {
    padding: 0 14px;
  }

  .cg .cg-hero-card-wrap::before {
    inset: 16px 24px -16px;
  }

  .cg .cg-hero-card-head {
    padding: 16px 18px;
  }

  .cg .cg-hero-court {
    padding: 16px 18px 18px;
  }

  .cg .cg-hero-court-wrap {
    width: 700px;
    margin-left: -350px;
  }

  .cg .cg-float-ball-lg {
    left: -14px;
    transform: scale(0.7);
  }

  .cg .cg-tray {
    padding: 6px;
    border-radius: 22px;
  }

  .cg .cg-date-row {
    padding: 8px 6px 12px;
  }

  .cg .cg-date-anchor {
    flex: 1 1 0;
    min-width: 0;
  }

  .cg .cg-date-trigger {
    width: 100%;
    min-width: 0;
  }

  .cg .cg-date-text strong {
    font-size: 14px;
  }

  .cg .cg-date-chips {
    width: 100%;
  }

  .cg .cg-date-chips button {
    flex: 1;
  }

  .cg .cg-calendar {
    position: fixed;
    top: auto;
    bottom: 12px;
    left: 12px;
    right: 12px;
    width: auto;
  }

  .cg .cg-venue-pill {
    width: 100%;
  }

  .cg .cg-court-body {
    padding: 18px 16px;
  }

  .cg .cg-court-head {
    flex-direction: column;
    gap: 8px;
  }

  .cg .cg-court-price {
    justify-items: start;
    text-align: left;
  }

  .cg .court-times {
    grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
  }

  .cg .cg-contact-intro,
  .cg .cg-contact-form {
    padding: 32px 20px;
  }

  .cg .cg-contact-form .contact-field-row,
  .cg .cg-field-pair {
    grid-template-columns: 1fr;
  }

  .cg .cg-footer-cta {
    padding: 32px 24px;
  }

  .cg .cg-faq-tabs {
    display: flex;
    width: 100%;
    box-sizing: border-box;
  }

  .cg .cg-faq-tabs button {
    flex: 1;
    padding: 0 8px;
  }

  .cg .cg-faq-list summary {
    font-size: 16px;
  }

  .cg .cg-faq-list details p {
    padding-right: 22px;
  }

  .cg .booking-history {
    grid-template-columns: 56px 1fr;
  }

  .cg .booking-date-tile {
    width: 56px;
  }

  .cg .booking-action {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .cg .booking-action small {
    text-align: left;
  }

  .cg .cg-my-bookings .bookings-header,
  .cg .cg-my-bookings-body {
    padding: 24px 18px;
  }

  .cg .cg-dialog-head {
    padding: 22px 64px 20px 22px;
  }

  .cg .cg-dialog-body {
    padding: 20px 22px 24px;
  }

  .cg .locate-venue {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cg .cg-pulse-dot {
    animation: none;
  }

  .cg .cg-pill {
    transition: none;
  }
}

/* ---- My bookings: override the older dark-panel styling in booking.css ---- */
.cg .cg-my-bookings .bookings-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.cg .cg-my-bookings .booking-history {
  grid-template-columns: 72px minmax(0, 1fr) auto;
  border-color: var(--cg-line);
  background: #ffffff;
  box-shadow: none;
  color: var(--cg-muted);
  font-size: 14px;
}

.cg .cg-my-bookings .booking-history::before {
  display: none;
}

.cg .cg-my-bookings .booking-history:hover {
  border-color: var(--cg-control);
}

.cg .cg-my-bookings .booking-date-tile {
  border: 0;
  background: var(--cg-wash);
}

.cg .cg-my-bookings .booking-date-tile span,
.cg .cg-my-bookings .booking-history .booking-date-tile strong {
  color: var(--cg-verified);
}

.cg .cg-my-bookings .booking-history h4,
.cg .cg-my-bookings .booking-history strong {
  color: var(--cg-navy-ink);
}

.cg .cg-my-bookings .booking-schedule strong {
  padding: 0;
  border-radius: 0;
  background: none;
  font-variant-numeric: tabular-nums;
}

.cg .cg-my-bookings .booking-facts {
  margin-top: 4px;
}

.cg .cg-my-bookings .booking-facts > span {
  display: inline;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
}

.cg .cg-my-bookings .booking-facts small {
  color: var(--cg-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.cg .cg-my-bookings .booking-facts strong {
  font-size: 13px;
}

.cg .cg-my-bookings .booking-action button span {
  color: inherit;
}

.cg .cg-my-bookings .next-booking-summary {
  border: 0;
  background: var(--cg-paper);
}

.cg .cg-my-bookings .next-booking-summary span,
.cg .cg-my-bookings .next-booking-summary small {
  color: var(--cg-muted);
  letter-spacing: 0;
  text-transform: none;
}

.cg .cg-my-bookings .next-booking-summary strong {
  color: var(--cg-navy-ink);
}

.cg .cg-my-bookings .book-another-link,
.cg .cg-my-bookings .book-another-link:hover {
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--cg-club-green);
}

.cg .cg-my-bookings .bookings-summary .summary-filter {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--cg-navy-ink);
}

.cg .cg-my-bookings .bookings-summary .summary-filter[aria-pressed="true"] {
  background: var(--cg-navy-ink);
  color: #ffffff;
}

.cg .cg-my-bookings .bookings-summary .summary-filter::before,
.cg .cg-my-bookings .bookings-summary .summary-filter::after {
  content: none;
}

.cg .cg-my-bookings .bookings-summary strong {
  color: inherit;
}

@media (max-width: 620px) {
  .cg .cg-my-bookings .booking-history {
    grid-template-columns: 56px minmax(0, 1fr);
  }
}

.cg .cancel-payment-dialog .cg-dialog-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* Lime text on club green: a touch lighter than the lime token so 13px labels clear 4.5:1. */
.cg .cg-dialog-head .cg-eyebrow,
.cg .cg-my-bookings .bookings-header .cg-eyebrow,
.cg .cg-footer-cta-kicker {
  color: #eef9a0;
}

.cg .header-login-button.is-signed-in {
  border: 1px solid var(--cg-line);
  background: var(--cg-paper);
  box-shadow: var(--cg-shadow-control);
}

/* Dialog fields: label text and its required mark stay on one line; [hidden] always wins. */
.cg .cg-dialog label {
  display: block;
}

.cg .cg-dialog label > :is(input, select, textarea) {
  display: block;
  margin-top: 8px;
}

.cg .cg-dialog [hidden],
.cg .cg-contact-form [hidden] {
  display: none;
}

.cg .cg-dialog-head {
  padding-right: 96px;
}

/* Account menu: section links sit under a divider, below the account items. */
.cg .account-menu-item.account-menu-divider {
  margin-top: 6px;
  border-top: 1px solid var(--cg-line-soft);
}

.cg .account-menu a.account-menu-item {
  text-decoration: none;
}

/* Small phones: the Cloudflare check is a fixed 300px wide, so give dialogs a
   little more inner width; it was clipped at 375px and below. */
@media (max-width: 400px) {
  .cg .modal-backdrop {
    padding: 12px;
  }

  .cg .cg-dialog-head {
    padding-left: 18px;
  }

  .cg .cg-dialog-body {
    padding-inline: 18px;
  }
}

/* Policy line under the sign-up button. */
.cg .cg-agree-note {
  margin: 0;
  color: var(--cg-muted);
  font-size: 13px;
  line-height: 1.5;
}

.cg .cg-agree-note a {
  color: var(--cg-club-green);
}

/* Cookie notice: a small card pinned to the bottom, above the booking bar, below dialogs. */
.cg .cg-cookie-notice {
  position: fixed;
  z-index: 40;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 460px;
  padding: 14px 14px 14px 18px;
  border: 1px solid var(--cg-line);
  border-radius: 18px;
  background: var(--cg-paper);
  box-shadow: var(--cg-shadow-raised);
}

.cg .cg-cookie-notice[hidden] {
  display: none;
}

.cg .cg-cookie-notice p {
  margin: 0;
  color: var(--cg-navy-ink);
  font-size: 14px;
  line-height: 1.5;
}

.cg .cg-cookie-notice a {
  color: var(--cg-club-green);
  font-weight: 600;
}

.cg .cg-cookie-notice .cg-pill {
  flex: none;
}

@media (max-width: 560px) {
  .cg .cg-cookie-notice {
    right: 12px;
    left: 12px;
    bottom: 12px;
    max-width: none;
  }
}

/* Delete account: a quiet destructive link under Change password, and its dialog. */
.cg .cg-dialog .profile-account-form .delete-account-link {
  justify-self: center;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--cg-rust);
  font: 600 14px "DM Sans", sans-serif;
  cursor: pointer;
}

.cg .cg-dialog .profile-account-form .delete-account-link:hover {
  text-decoration: underline;
}

.cg .delete-account-facts {
  margin: 0;
  padding: 14px 18px 14px 34px;
  border-radius: 14px;
  background: var(--cg-rust-wash);
  color: var(--cg-navy-ink);
  font-size: 14px;
  line-height: 1.5;
}

.cg .delete-account-facts li + li {
  margin-top: 6px;
}

/* Plain-text labels in these dialogs need room between the text and the field's focus ring;
   the shared field rule above resets the margin. */
.cg .cg-dialog :is(#passwordForm, #deleteAccountForm) label > input {
  margin-top: 10px;
}
