@font-face {
  font-family: "DancingScriptLocal";
  src: url("assets/DancingScript-wght.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #15110c;
  --muted: #15110c;
  --line: rgba(163, 132, 70, 0.58);
  --purple: #15110c;
  --purple-dark: #15110c;
  --red: #15110c;
  --gold: #a38446;
  --green: #15110c;
  --cyan: #15110c;
  --surface: rgba(255, 253, 247, 0.9);
  --surface-strong: #fffdf7;
  --shadow: 0 24px 70px rgba(98, 72, 30, 0.12);
  --radius: 28px;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 253, 247, 0.2), rgba(255, 253, 247, 0.3)),
    url("assets/website_background.png") center / cover fixed no-repeat;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  --top-bubble-width: clamp(240px, 23.5vw, 300px);
  --top-title-size: clamp(28px, 2.8vw, 35px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  min-height: 82px;
  padding: 18px clamp(14px, 4vw, 48px) 16px;
  background: transparent;
  border-bottom: 0;
}

.brand-logo {
  flex: 0 0 auto;
  width: clamp(32px, 4.2vw, 50px);
  height: clamp(32px, 4.2vw, 50px);
  padding: 5px;
  border: 1px solid rgba(255, 253, 247, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.34);
  box-shadow: 0 10px 28px rgba(21, 17, 12, 0.14);
  backdrop-filter: blur(14px) saturate(1.18);
  object-fit: contain;
}

.header-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  order: 3;
  flex: 0 1 auto;
  min-width: 0;
}

.app-download-prompt {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
  width: fit-content;
  max-width: min(360px, calc(100vw - 28px));
  padding: 7px 10px;
  border: 1px solid rgba(255, 253, 247, 0.72);
  border-radius: 22px;
  background: rgba(255, 253, 247, 0.34);
  box-shadow: 0 10px 28px rgba(21, 17, 12, 0.12);
  backdrop-filter: blur(14px) saturate(1.18);
  color: #15110c;
  text-align: center;
}

.app-download-prompt span {
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.app-download-prompt.app-download-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.app-download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.app-download-actions a {
  display: inline-flex;
  align-items: center;
  height: 30px;
  border-radius: 7px;
  transition: transform 160ms ease, filter 160ms ease;
}

.app-download-actions a:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.app-download-actions a[data-disabled] {
  pointer-events: none;
  opacity: 0.68;
}

.app-download-actions img {
  display: block;
  width: auto;
  height: 30px;
  object-fit: contain;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 2;
  order: 2;
  flex: 0 1 auto;
  overflow: visible;
  min-width: 0;
  font-weight: 900;
}

.brand-copy {
  display: grid;
  width: fit-content;
  max-width: calc(100vw - 112px);
  min-width: 0;
}

.brand-title {
  display: block;
  width: var(--top-bubble-width);
  padding: 7px 18px 10px 18px;
  border: 1px solid rgba(255, 253, 247, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.34);
  box-shadow: 0 10px 28px rgba(21, 17, 12, 0.14);
  backdrop-filter: blur(14px) saturate(1.18);
  font-size: var(--top-title-size);
  font-family: "Parisienne", cursive;
  font-weight: 400;
  line-height: 1.05;
  white-space: nowrap;
  overflow: visible;
  color: #15110c;
}

.brand-title-initial {
  font-family: "Alex Brush", cursive;
  font-size: 1.18em;
  line-height: 0;
}

.brand-title-rest {
  font-family: "Parisienne", cursive;
}

.brand-tagline {
  display: block;
  width: 100%;
  padding: 4px 18px 0;
  color: #15110c;
  font-family: "Parisienne", cursive;
  font-size: clamp(18px, 1.9vw, 25px);
  font-weight: 400;
  line-height: 1.16;
  text-align: center;
  white-space: nowrap;
}

#refreshButton {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

#refreshButton:hover {
  transform: translateY(-1px);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255, 253, 247, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.34);
  box-shadow: 0 10px 28px rgba(21, 17, 12, 0.14);
  backdrop-filter: blur(14px) saturate(1.18);
  color: #15110c;
  font-family: "Dancing Script", cursive;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action:hover {
  transform: translateY(-1px);
}

body.registration-active .header-action {
  border-color: rgba(255, 253, 247, 0.72);
  background: rgba(255, 253, 247, 0.34);
  color: #15110c;
}

main {
  padding: 0;
}

.sponsor-strip {
  display: flex;
  align-items: center;
  order: 1;
  flex: 0 0 var(--top-bubble-width);
  align-self: flex-start;
  width: var(--top-bubble-width);
  min-width: 0;
  max-width: var(--top-bubble-width);
  height: auto;
  min-height: calc((var(--top-title-size) * 1.05) + 17px);
  margin: 0;
  padding: 7px 18px 10px 18px;
  border: 1px solid rgba(255, 253, 247, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.34);
  box-shadow: 0 10px 28px rgba(21, 17, 12, 0.12);
  backdrop-filter: blur(14px) saturate(1.18);
  color: #15110c;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.sponsor-strip[hidden],
.sponsor-strip.sponsor-hidden {
  display: none !important;
}

.sponsor-strip img {
  display: block;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: calc((var(--top-title-size) * 1.05) + 1px);
  object-fit: contain;
}

.sponsor-strip span + img {
  margin-left: 8px;
}

.sponsor-strip[role="link"] {
  cursor: pointer;
}

body.registration-active .sponsor-strip {
  height: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.google-ad-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.34);
  box-shadow: 0 10px 28px rgba(21, 17, 12, 0.12);
  color: #15110c;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  backdrop-filter: blur(14px) saturate(1.18);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.google-ad-bubble span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.registration-active .google-ad-bubble {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

body.registration-active .state-row {
  display: none !important;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100dvh;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

body.registration-active .app-shell {
  height: 0;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.leave-registration-prompt,
.destructive-registration-prompt,
.address-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(21, 17, 12, 0.2);
  opacity: 0;
  backdrop-filter: blur(10px) saturate(1.08);
  transition: opacity 180ms ease;
}

.leave-registration-prompt[hidden],
.destructive-registration-prompt[hidden] {
  display: none;
}

.leave-registration-prompt.visible,
.destructive-registration-prompt.visible,
.address-modal-overlay.visible {
  opacity: 1;
}

.leave-registration-card,
.address-modal-card {
  width: min(420px, 100%);
  padding: 24px;
  border: 1px solid rgba(255, 253, 247, 0.78);
  border-radius: 28px;
  background: rgba(255, 253, 247, 0.72);
  box-shadow:
    0 28px 80px rgba(21, 17, 12, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(18px) saturate(1.14);
  color: var(--ink);
  text-align: center;
  transform: translateY(8px) scale(0.98);
  transition: transform 180ms ease;
}

.leave-registration-prompt.visible .leave-registration-card,
.destructive-registration-prompt.visible .leave-registration-card,
.address-modal-overlay.visible .address-modal-card {
  transform: translateY(0) scale(1);
}

.destructive-card {
  border-color: rgba(229, 57, 53, 0.36);
}

.leave-registration-card h2,
.address-modal-card h2 {
  margin: 0 0 8px;
  font-family: "Parisienne", cursive;
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 400;
  line-height: 1;
}

.leave-registration-card p,
.address-modal-card p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.leave-registration-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.address-modal-card {
  display: grid;
  gap: 12px;
  width: min(460px, calc(100vw - 28px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  text-transform: uppercase;
}

.address-modal-card p {
  line-height: 1.35;
}

.address-candidate-list {
  display: grid;
  gap: 9px;
}

.address-candidate {
  width: 100%;
  min-height: 42px;
  padding: 11px 14px;
  border: 1px solid rgba(111, 55, 190, 0.42);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 239, 255, 0.66)),
    rgba(255, 255, 255, 0.58);
  box-shadow:
    0 12px 28px rgba(73, 33, 142, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
}

.address-pin-card {
  width: min(820px, calc(100vw - 28px));
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.address-pin-card h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.address-pin-card p {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.address-pin-map-wrap {
  position: relative;
  height: min(58dvh, 520px);
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(111, 55, 190, 0.42);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.address-pin-map {
  position: absolute;
  inset: 0;
}

.address-fixed-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 32px;
  height: 45px;
  transform: translate(-50%, -100%);
  pointer-events: none;
}

.address-fixed-pin .pin-svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 9px 14px rgba(78, 18, 24, 0.32));
}

.address-pin-help {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 44px;
  border: 1px solid rgba(111, 55, 190, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(246, 239, 255, 0.62)),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 26px rgba(73, 33, 142, 0.12);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  pointer-events: none;
}

.address-pin-help::before {
  position: absolute;
  left: 16px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  content: "i";
  border-radius: 999px;
  background: var(--ink);
  color: #fffdf7;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.side-panel,
.map-panel,
.metric-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.side-panel,
.map-panel {
  border-radius: var(--radius);
}

.side-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  min-height: 0;
  max-height: calc(100vh - 112px);
  padding: 12px;
  overflow: auto;
}

.panel-heading h1,
.section-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 4vw, 46px);
  line-height: 0.98;
  letter-spacing: 0;
}

.panel-heading h1 {
  font-size: clamp(24px, 3.2vw, 38px);
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-box {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(163, 132, 70, 0.58);
  border-radius: 999px;
  outline: none;
  background: #fffdf7;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.search-box input:focus {
  border-color: #a38446;
  box-shadow: 0 0 0 3px rgba(163, 132, 70, 0.12);
}

.state-row {
  position: absolute;
  top: clamp(118px, 10.5vw, 132px);
  right: 14px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  width: min(340px, calc(100% - 28px));
  padding: 6px;
  border: 1px solid rgba(163, 132, 70, 0.44);
  border-radius: 18px;
  background: #fffdf7;
  box-shadow: 0 10px 28px rgba(21, 17, 12, 0.12);
  pointer-events: auto;
  transition:
    top 360ms ease,
    right 360ms ease,
    width 360ms ease,
    padding 360ms ease,
    border-radius 360ms ease,
    background-color 240ms ease,
    box-shadow 360ms ease,
    transform 360ms ease;
}

.state-row.state-picker-expanded {
  top: clamp(132px, 22vh, 206px);
  right: 50%;
  width: min(720px, calc(100% - 28px));
  padding: clamp(12px, 2.2vw, 18px);
  border-color: rgba(163, 132, 70, 0.5);
  border-radius: 32px;
  background: rgba(255, 253, 247, 0.36);
  box-shadow: 0 22px 64px rgba(21, 17, 12, 0.18);
  transform: translateX(50%);
  backdrop-filter: blur(18px) saturate(1.2);
}

.state-row.state-picker-collapsed {
  background: #fffdf7;
  backdrop-filter: none;
  transform: none;
}

.state-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.state-group-states {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(163, 132, 70, 0.22);
}

.state-picker-collapsed .state-group {
  justify-content: flex-end;
  gap: 3px;
}

.state-picker-collapsed .state-group-states {
  padding-bottom: 3px;
}

.state-chip {
  min-height: 22px;
  padding: 0 7px;
  border: 1px solid rgba(163, 132, 70, 0.66);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.62);
  color: var(--ink);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.state-picker-expanded .state-chip {
  min-height: clamp(30px, 4vw, 38px);
  padding: 0 clamp(10px, 1.8vw, 15px);
  font-size: clamp(10px, 1.45vw, 13px);
}

.state-picker-expanded .city-chip {
  min-height: clamp(28px, 3.7vw, 34px);
  font-size: clamp(8px, 1.18vw, 11px);
}

.state-picker-collapsed .city-chip {
  min-height: 20px;
  padding: 0 6px;
  font-size: 7px;
  letter-spacing: 0.04em;
}

.state-picker-collapsed .state-chip {
  background: #fffdf7;
  backdrop-filter: none;
}

.state-chip.active {
  background: #fff9ea;
  color: var(--ink);
  border-color: #a38446;
  border-width: 2px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metrics div {
  min-width: 0;
  padding: 11px 9px;
  border: 1px solid rgba(163, 132, 70, 0.58);
  border-radius: 19px;
  background: #fffdf7;
}

.metrics span {
  display: block;
  font-size: 18px;
  font-weight: 900;
}

.metrics small {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 900;
  text-transform: uppercase;
}

.gym-detail-panel {
  display: grid;
  gap: 10px;
  min-height: 0;
  overflow: auto;
  padding-right: 1px;
}

.gym-detail-card {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.detail-hero {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(111, 55, 190, 0.46);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(246, 239, 255, 0.5)),
    rgba(255, 255, 255, 0.42);
  box-shadow:
    0 14px 34px rgba(79, 35, 150, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(1.14);
}

.detail-hero > div {
  min-width: 0;
}

.detail-hero img,
.gym-logo-fallback {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  object-fit: cover;
  background: #fffdf7;
}

.detail-logo {
  position: relative;
  width: 54px;
  height: 54px;
}

.detail-logo img,
.detail-logo .gym-logo-fallback {
  width: 54px;
  height: 54px;
}

.featured-badge {
  position: absolute;
  top: -6px;
  left: -6px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.4px solid #a38446;
  border-radius: 999px;
  background: #2f115d;
  color: #d9ad45;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
}

.gym-logo-fallback {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 900;
}

.detail-hero h2 {
  margin: 0 0 3px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  line-height: 1.12;
}

.detail-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.gym-detail-card .dialog-block strong,
.gym-detail-card .dialog-block p,
.gym-detail-card .dialog-block a,
.gym-detail-card .info-line span,
.gym-detail-card .info-line p,
.gym-detail-card .action-link,
.gym-detail-card .text-chip-wrap span,
.gym-detail-card .gym-logo-fallback {
  font-weight: 400;
}

.gym-detail-card .detail-hero h2,
.gym-detail-card .detail-hero p {
  font-weight: 900;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}

.tier-pill,
.price-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.tier-pill.premium {
  background: #fff9ea;
  color: var(--ink);
  border: 1px solid rgba(163, 132, 70, 0.58);
}

.featured-star {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  border-radius: 999px;
  background: #fff9ea;
  color: var(--ink);
  font-size: 10px;
  line-height: 1;
}

.tier-pill.standard {
  background: #fff9ea;
  color: var(--ink);
  border: 1px solid rgba(163, 132, 70, 0.58);
}

.price-pill {
  background: #fff9ea;
  color: var(--ink);
  border: 1px solid rgba(163, 132, 70, 0.58);
}

.map-panel {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.map-toolbar {
  position: relative;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.map-toolbar span,
#refreshButton {
  border: 1px solid rgba(163, 132, 70, 0.58);
  border-radius: 999px;
  background: #fffdf7;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-toolbar span {
  padding: 9px 12px;
}

#refreshButton {
  padding: 9px 13px;
  cursor: pointer;
}

.australia-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fffdf7;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.australia-map.is-panning {
  cursor: grabbing;
}

.map-stage {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(163, 132, 70, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 132, 70, 0.09) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(255, 249, 234, 0.72), transparent 28rem),
    #fffdf7;
  background-size: 56px 56px, 56px 56px, auto, auto;
  transform:
    translate(var(--map-pan-x, 0px), var(--map-pan-y, 0px))
    scale(calc(var(--map-scale, 1) * var(--map-wheel-scale, 1)))
    translate(var(--map-x, 0), var(--map-y, 0));
  transform-origin: 50% 52%;
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.australia-map.map-active .map-stage {
  background: #fffdf7;
  transform: none;
  transition: none;
}

.australia-map.map-active .map-stage::before,
.australia-map.map-active .map-watermark {
  display: none;
}

.australia-map.map-active .maplibregl-canvas {
  outline: none;
}

.australia-map.map-active .maplibregl-ctrl-logo,
.australia-map.map-active .maplibregl-ctrl-attrib {
  opacity: 0.72;
}

.map-stage::before {
  position: absolute;
  left: 14%;
  top: 18%;
  width: 72%;
  height: 68%;
  content: "";
  background: linear-gradient(135deg, #fffaf0, #fffdf7);
  border: 1px solid rgba(163, 132, 70, 0.38);
  clip-path: polygon(41% 6%, 57% 10%, 72% 21%, 82% 36%, 88% 51%, 83% 66%, 68% 76%, 50% 83%, 31% 78%, 17% 66%, 10% 49%, 15% 31%, 27% 16%);
  filter: none;
}

.australia-map[data-focus="WA"] .map-stage {
  --map-scale: 2.1;
  --map-x: 17%;
  --map-y: 3%;
}

.australia-map[data-focus="NT"] .map-stage {
  --map-scale: 2.35;
  --map-x: 0%;
  --map-y: 13%;
}

.australia-map[data-focus="SA"] .map-stage {
  --map-scale: 2.55;
  --map-x: 1%;
  --map-y: -8%;
}

.australia-map[data-focus="QLD"] .map-stage {
  --map-scale: 2.25;
  --map-x: -18%;
  --map-y: 6%;
}

.australia-map[data-focus="NSW"] .map-stage {
  --map-scale: 2.95;
  --map-x: -20%;
  --map-y: -25%;
}

.australia-map[data-focus="ACT"] .map-stage {
  --map-scale: 3.4;
  --map-x: -24%;
  --map-y: -29%;
}

.australia-map[data-focus="VIC"] .map-stage {
  --map-scale: 3.15;
  --map-x: -14%;
  --map-y: -31%;
}

.australia-map[data-focus="TAS"] .map-stage {
  --map-scale: 3.35;
  --map-x: -12%;
  --map-y: -44%;
}

.map-watermark {
  position: absolute;
  right: 34px;
  bottom: 20px;
  display: none;
  color: var(--ink);
  font-size: clamp(74px, 18vw, 190px);
  font-weight: 900;
  letter-spacing: 0;
}

.map-pin {
  position: absolute;
  z-index: 3;
  width: 14px;
  height: 14px;
  border: 1.5px solid #fffdf7;
  border-radius: 999px 999px 999px 4px;
  box-shadow: 0 7px 14px rgba(21, 17, 12, 0.2);
  cursor: pointer;
  transform: translate(-50%, -100%) rotate(-45deg);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.map-marker-shell {
  position: relative;
  width: 16px;
  height: 23px;
  pointer-events: auto;
}

.map-marker-shell.fallback-marker {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -100%);
}

.map-marker-shell.maplibregl-marker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  will-change: transform;
}

.map-marker-shell.premium {
  width: 38px;
  height: 52px;
}

.map-marker-shell .map-pin {
  position: relative;
  left: auto;
  top: auto;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  transform-origin: 50% 100%;
  transition: filter 180ms ease;
}

.map-marker-shell.premium .map-pin {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.map-marker-shell .pin-svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.pin-svg-body.standard {
  fill: url("#standard-pin-gradient");
  stroke: #fffdf7;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 5px 7px rgba(21, 17, 12, 0.22));
}

.pin-svg-body.premium {
  fill: #2f115d;
  stroke: #a38446;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 7px 10px rgba(47, 17, 93, 0.28));
}

.map-pin::after {
  position: absolute;
  inset: 4px;
  content: "";
  border-radius: 999px;
  background: #fffdf7;
}

.map-pin.standard {
  background:
    linear-gradient(145deg, #ff5a55 0%, #e53935 48%, #a91515 100%);
}

.map-pin.premium {
  width: 42px;
  height: 42px;
  border-width: 2px;
  border-color: #a38446;
  background: #2f115d;
  box-shadow: 0 9px 18px rgba(47, 17, 93, 0.28);
}

.map-pin.premium::after {
  content: none;
}

.map-marker-shell .map-pin.standard,
.map-marker-shell .map-pin.premium {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.map-marker-shell .map-pin::after {
  content: none;
}

.pin-logo {
  position: absolute;
  left: 50%;
  top: 15%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 253, 247, 0.94);
  border-radius: 999px;
  background: #fffdf7;
  transform: translateX(-50%);
  pointer-events: none;
}

.map-marker-shell.standard .pin-logo {
  top: 18%;
  width: 9px;
  height: 9px;
  border-width: 0.8px;
}

.pin-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pin-logo-fallback {
  color: #a38446;
  font-size: 12px;
  line-height: 1;
}

.pin-confetti {
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 20px;
  height: 15px;
  transform: translateX(-50%);
  pointer-events: none;
}

.pin-confetti-piece {
  position: absolute;
  display: block;
  opacity: 0.82;
  animation: pinConfettiTwinkle 1.4s ease-in-out infinite;
  transform-origin: center;
}

.pin-confetti-piece.dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
}

.pin-confetti-piece.chip {
  width: 4px;
  height: 2px;
  border-radius: 2px;
}

.pin-confetti-piece.pink {
  left: 2px;
  top: 5px;
  background: #ff4b7a;
  animation-delay: -0.12s;
}

.pin-confetti-piece.blue {
  left: 7px;
  top: 2px;
  background: #16b9ff;
  animation-delay: -0.53s;
}

.pin-confetti-piece.yellow {
  left: 13px;
  top: 3px;
  background: #ffd447;
  animation-delay: -0.95s;
}

.pin-confetti-piece.green {
  left: 16px;
  top: 8px;
  background: #53d66b;
  animation-delay: -0.31s;
}

.pin-confetti-piece.white {
  left: 5px;
  top: 10px;
  background: #fffdf7;
  animation-delay: -0.78s;
}

.pin-confetti-piece.orange {
  left: 9px;
  top: 10px;
  background: #ff8a3d;
  --confetti-angle: 26deg;
  animation-delay: -1.15s;
}

.pin-confetti-piece.purple {
  left: 12px;
  top: 12px;
  background: #9a6dff;
  --confetti-angle: -21deg;
  animation-delay: -0.67s;
}

@keyframes pinConfettiTwinkle {
  0%,
  100% {
    opacity: 0.72;
    transform: translateY(1px) scale(0.86) rotate(var(--confetti-angle, 0deg));
  }

  50% {
    opacity: 0.96;
    transform: translateY(-0.6px) scale(1.04) rotate(calc(var(--confetti-angle, 0deg) + 9deg));
  }
}

.map-pin.active {
  box-shadow:
    0 0 0 4px rgba(163, 132, 70, 0.28),
    0 10px 22px rgba(21, 17, 12, 0.24);
}

.map-gym-popup {
  position: absolute;
  z-index: 7;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  width: clamp(176px, 24vw, 230px);
  max-width: calc(100vw - 24px);
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(111, 55, 190, 0.58);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(246, 239, 255, 0.46)),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    0 18px 42px rgba(73, 33, 142, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transform: translate(-50%, calc(-100% - 54px));
  backdrop-filter: blur(22px) saturate(1.18);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.map-popup-shell {
  position: relative;
  width: 0;
  height: 0;
  pointer-events: auto;
}

.map-popup-shell .map-gym-popup {
  left: 0;
  bottom: 0;
  top: auto;
  transform: translate(-50%, calc(-100% - 16px));
}

.map-popup-shell .map-gym-popup.align-left {
  transform: translate(-12%, calc(-100% - 16px));
}

.map-popup-shell .map-gym-popup.align-right {
  transform: translate(-88%, calc(-100% - 16px));
}

.map-popup-shell .map-gym-popup.drop-below {
  transform: translate(-50%, 28px);
}

.map-popup-shell .map-gym-popup.align-left.drop-below {
  transform: translate(-12%, 28px);
}

.map-popup-shell .map-gym-popup.align-right.drop-below {
  transform: translate(-88%, 28px);
}

.map-popup-shell .map-gym-popup:hover {
  transform: translate(-50%, calc(-100% - 20px));
}

.map-popup-shell .map-gym-popup.align-left:hover {
  transform: translate(-12%, calc(-100% - 20px));
}

.map-popup-shell .map-gym-popup.align-right:hover {
  transform: translate(-88%, calc(-100% - 20px));
}

.map-popup-shell .map-gym-popup.drop-below:hover {
  transform: translate(-50%, 24px);
}

.map-popup-shell .map-gym-popup.align-left.drop-below:hover {
  transform: translate(-12%, 24px);
}

.map-popup-shell .map-gym-popup.align-right.drop-below:hover {
  transform: translate(-88%, 24px);
}

.map-gym-popup::after {
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 16px;
  height: 16px;
  content: "";
  border-right: 1px solid rgba(111, 55, 190, 0.58);
  border-bottom: 1px solid rgba(111, 55, 190, 0.58);
  background: rgba(246, 239, 255, 0.54);
  backdrop-filter: blur(18px) saturate(1.12);
  transform: translateX(-50%) rotate(45deg);
}

.map-gym-popup:hover {
  box-shadow:
    0 22px 52px rgba(73, 33, 142, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translate(-50%, calc(-100% - 58px));
}

.map-gym-popup.premium {
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  width: clamp(236px, 31vw, 300px);
  max-width: calc(100vw - 24px);
  min-height: 100px;
  padding: 10px 13px;
}

.map-gym-popup .detail-logo,
.map-gym-popup .detail-logo img,
.map-gym-popup .detail-logo .gym-logo-fallback {
  width: 46px;
  height: 46px;
}

.map-gym-popup .detail-logo img,
.map-gym-popup .detail-logo .gym-logo-fallback {
  border-radius: 15px;
}

.map-gym-popup .featured-badge {
  width: 18px;
  height: 18px;
  font-size: 10px;
}

.map-popup-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.map-popup-title,
.map-popup-address,
.map-popup-hint {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.map-popup-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.map-popup-address {
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.map-popup-hint {
  margin-top: 2px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.gym-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 44px);
  background:
    radial-gradient(circle at 50% 18%, rgba(168, 126, 255, 0.11), transparent 32rem),
    rgba(38, 20, 64, 0.08);
  opacity: 0;
  overflow: auto;
  backdrop-filter: blur(8px) saturate(1.04);
  transition: opacity 180ms ease;
}

.gym-detail-overlay[hidden] {
  display: none;
}

.gym-detail-overlay.visible {
  opacity: 1;
}

.gym-detail-overlay .gym-detail-card {
  width: min(820px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  max-height: calc(100dvh - 42px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid rgba(111, 55, 190, 0.46);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(246, 239, 255, 0.42)),
    rgba(255, 255, 255, 0.34);
  box-shadow:
    0 28px 90px rgba(73, 33, 142, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(1.18);
}

.gym-detail-close {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 2;
}

.corporate-section,
.plans-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
  margin-top: 18px;
  padding: clamp(18px, 4vw, 34px);
  border-radius: var(--radius);
}

.section-copy p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
}

.portal-card {
  align-self: stretch;
  padding: 20px;
  border-radius: 24px;
}

.portal-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.portal-card h3 {
  margin: 12px 0 6px;
  font-size: 24px;
}

.portal-card p {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  grid-column: 1 / -1;
  gap: 10px;
}

.plan-grid article {
  display: grid;
  gap: 7px;
  padding: 15px;
  border-radius: 20px;
}

.plan-grid strong {
  font-size: 13px;
}

.plan-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

footer {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 18;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(360px, calc(100vw - 28px));
  padding: 9px 13px;
  border: 1px solid rgba(255, 253, 247, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.34);
  box-shadow: 0 10px 28px rgba(21, 17, 12, 0.14);
  backdrop-filter: blur(14px) saturate(1.18);
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  pointer-events: none;
}

@media (max-width: 720px), (max-height: 520px) {
  .brand-tagline,
  .state-row {
    display: none;
  }

  .state-row.state-picker-expanded {
    top: 116px;
    right: 8px;
    display: flex;
    width: calc(100% - 16px);
    max-height: calc(100dvh - 152px);
    overflow: auto;
    padding: 10px;
    border-radius: 24px;
    transform: none;
  }

  .state-picker-expanded .state-chip {
    min-height: 28px;
    padding: 0 9px;
    font-size: 9px;
  }

  .state-picker-expanded .city-chip {
    min-height: 26px;
    font-size: 8px;
  }

  .brand-logo {
    display: none;
  }
}

@media (max-width: 360px), (max-height: 520px) {
  .header-action {
    display: none;
  }
}

@media (max-width: 720px) {
  footer {
    right: 8px;
    bottom: 8px;
    max-width: min(236px, calc(100vw - 16px));
    padding: 6px 8px;
    border-radius: 16px;
    font-size: clamp(7px, 2.1vw, 10px);
    line-height: 1.12;
  }
}

@media (max-height: 520px) {
  .site-header {
    --top-bubble-width: 260px;
    --top-title-size: 31px;
    gap: 10px;
    padding: 12px clamp(12px, 4vw, 36px) 10px;
  }

  .sponsor-strip {
    flex-basis: var(--top-bubble-width);
    max-width: var(--top-bubble-width);
    height: 51px;
    min-height: 51px;
  }

  .header-right {
    flex: 0 1 auto;
  }

  .app-download-prompt {
    max-width: min(300px, calc(100vw - 24px));
  }

  footer {
    right: 8px;
    bottom: 8px;
    max-width: min(240px, calc(100vw - 16px));
    padding: 6px 8px;
    font-size: clamp(7px, 1.45vw, 9px);
    line-height: 1.1;
  }

  .gym-detail-overlay {
    place-items: start center;
    padding: 94px 10px 10px;
  }

  .gym-detail-overlay .gym-detail-card {
    max-height: calc(100dvh - 104px);
  }

  .gym-detail-close {
    top: 54px;
    left: 12px;
  }
}


@media (max-width: 1180px) {
  .site-header {
    justify-content: space-between;
    gap: 10px;
  }

  .header-right {
    justify-content: flex-end;
  }

  .sponsor-strip {
    min-height: 42px;
  }

  .state-row {
    top: 244px;
  }
}

.gym-dialog {
  width: min(760px, calc(100vw - 24px));
  max-height: min(760px, calc(100vh - 24px));
  padding: 14px;
  border-radius: 28px;
  color: var(--ink);
}

.gym-dialog::backdrop {
  background: rgba(23, 32, 51, 0.34);
  backdrop-filter: blur(8px);
}

.dialog-close {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(111, 55, 190, 0.46);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(246, 239, 255, 0.72)),
    rgba(255, 255, 255, 0.68);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  box-shadow:
    0 14px 34px rgba(73, 33, 142, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px) saturate(1.12);
}

.dialog-hero {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.dialog-hero img {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  object-fit: cover;
}

.dialog-hero .gym-logo-fallback {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  font-size: 28px;
}

.dialog-hero h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
}

.dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.detail-grid {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.photo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 7px;
  margin-top: 0;
}

.photo-thumb {
  display: inline-flex;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.photo-strip img {
  display: block;
  width: auto;
  max-width: 92px;
  height: auto;
  max-height: 68px;
  border: 1px solid rgba(111, 55, 190, 0.42);
  border-radius: 14px;
  object-fit: contain;
  background: rgba(246, 239, 255, 0.42);
  box-shadow: 0 8px 18px rgba(73, 33, 142, 0.1);
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 72px 24px 28px;
  background: rgba(21, 17, 12, 0.72);
  opacity: 0;
  backdrop-filter: blur(10px);
  transition: opacity 180ms ease;
}

.image-viewer[hidden] {
  display: none;
}

.image-viewer.visible {
  opacity: 1;
}

.image-viewer img {
  max-width: min(920px, 100%);
  max-height: calc(100dvh - 116px);
  border: 1px solid rgba(255, 253, 247, 0.68);
  border-radius: 24px;
  background: #fffdf7;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
  object-fit: contain;
}

.image-viewer-back,
.image-viewer-nav {
  position: absolute;
  border: 1px solid rgba(255, 253, 247, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.58);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.image-viewer-back {
  top: 18px;
  left: 18px;
  min-height: 36px;
  padding: 0 16px;
  font-size: 12px;
  text-transform: uppercase;
}

.image-viewer-nav {
  top: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 26px;
  transform: translateY(-50%);
}

.image-viewer-nav.previous {
  left: 18px;
}

.image-viewer-nav.next {
  right: 18px;
}

.dialog-block {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(111, 55, 190, 0.42);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(246, 239, 255, 0.42)),
    rgba(255, 255, 255, 0.3);
  box-shadow:
    0 10px 28px rgba(73, 33, 142, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.14);
}

.dialog-block strong {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.dialog-block p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dialog-block a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.info-line {
  display: grid;
  gap: 3px;
  min-width: 0;
  margin-bottom: 10px;
}

.info-line:last-child {
  margin-bottom: 0;
}

.info-line span {
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.info-line p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.action-link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 10px;
  padding: 8px 11px;
  border: 1px solid rgba(111, 55, 190, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(246, 239, 255, 0.42)),
    rgba(255, 255, 255, 0.32);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
  backdrop-filter: blur(16px) saturate(1.12);
}

.text-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.text-chip-wrap span {
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(111, 55, 190, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(246, 239, 255, 0.42)),
    rgba(255, 255, 255, 0.32);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-word;
  backdrop-filter: blur(16px) saturate(1.12);
}

.empty-state {
  padding: 18px;
  border: 1px dashed rgba(111, 55, 190, 0.42);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 239, 255, 0.66)),
    rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.registration-shell {
  min-height: 100dvh;
  padding: 136px clamp(12px, 4vw, 48px) 28px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

body.registration-active .registration-shell {
  opacity: 1;
  transform: translateY(0);
}

.registration-shell.is-transitioning {
  pointer-events: none;
}

.registration-card {
  min-height: min(720px, calc(100dvh - 132px));
  padding: clamp(14px, 3vw, 28px);
  border: 1px solid rgba(255, 253, 247, 0.58);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.48);
  box-shadow: 0 24px 70px rgba(21, 17, 12, 0.18);
  backdrop-filter: blur(18px) saturate(1.16);
  text-transform: uppercase;
  transition:
    opacity 140ms ease,
    transform 140ms ease,
    filter 140ms ease;
}

.registration-card.registration-transition-out {
  opacity: 0;
  filter: blur(2px);
  transform: translateY(-6px) scale(0.995);
}

.registration-card.registration-transition-in {
  opacity: 0;
  filter: blur(2px);
  transform: translateY(8px) scale(0.995);
}

.registration-heading {
  margin-bottom: 14px;
}

.registration-heading.row,
.registration-heading-actions,
.registration-title-group,
.registration-toolbar,
.registration-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.registration-title-group {
  justify-content: flex-start;
}

.registration-heading h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Dancing Script", cursive;
  font-size: clamp(31px, 5vw, 54px);
  font-weight: 400;
  line-height: 1;
}

.registration-back {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(111, 55, 190, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 239, 255, 0.66)),
    rgba(255, 255, 255, 0.58);
  box-shadow:
    0 8px 20px rgba(73, 33, 142, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px) saturate(1.1);
  color: var(--ink);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.registration-step {
  display: none;
  padding: 7px 10px;
  border: 1px solid rgba(111, 55, 190, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 239, 255, 0.66)),
    rgba(255, 255, 255, 0.58);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
}

.registration-subtitle {
  display: none;
  padding: 7px 10px;
  border: 1px solid rgba(111, 55, 190, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 239, 255, 0.66)),
    rgba(255, 255, 255, 0.58);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.registration-hint {
  margin: -4px 0 14px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.registration-choice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: min(330px, 100%);
  margin: clamp(34px, 10vh, 96px) auto 0;
}

.registration-choice-grid.compact {
  width: min(260px, 100%);
}

.registration-choice,
.registration-primary,
.registration-secondary,
.registration-mini,
.registration-field,
.registration-warning,
.registration-notice,
.owner-gym-bubble,
.plan-info-card,
.summary-row {
  border: 1px solid rgba(111, 55, 190, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 239, 255, 0.66)),
    rgba(255, 255, 255, 0.58);
  box-shadow:
    0 12px 28px rgba(73, 33, 142, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px) saturate(1.12);
}

.registration-choice {
  position: relative;
  min-height: 42px;
  padding: 0 20px;
  overflow: hidden;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(10.5px, 1.1vw, 12px);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.registration-choice::before {
  position: absolute;
  inset: 1px;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.08) 44%, rgba(255, 255, 255, 0.2));
  pointer-events: none;
}

.registration-choice:hover {
  border-color: rgba(111, 55, 190, 0.6);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(246, 239, 255, 0.76)),
    rgba(255, 255, 255, 0.68);
  box-shadow:
    0 13px 30px rgba(73, 33, 142, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transform: translateY(-1px);
}

.registration-choice:active {
  transform: translateY(0);
}

.registration-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.registration-account-form {
  grid-template-columns: 1fr;
}

.registration-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 11px;
  border-radius: 20px;
}

.registration-field.full,
.registration-actions.full {
  grid-column: 1 / -1;
}

.registration-field label {
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.registration-marker {
  font-size: 0.82em;
  letter-spacing: 0;
  text-transform: uppercase;
}

.registration-marker.mandatory {
  color: #c40000;
}

.registration-marker.visible {
  color: #11813d;
}

.registration-field input,
.registration-field select,
.registration-field textarea,
.registration-readonly-value,
.plan-row input,
.plan-row select {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  border: 1px solid rgba(111, 55, 190, 0.36);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 239, 255, 0.54)),
    rgba(255, 255, 255, 0.52);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
  outline: none;
  padding: 0 10px;
  text-transform: uppercase;
}

.registration-readonly-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(21, 17, 12, 0.64);
}

.registration-readonly-value span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.registration-readonly-value b {
  flex: 0 0 auto;
  font-size: 13px;
}

.registration-field.natural-case-field input,
.registration-field.natural-case-field textarea {
  text-transform: none;
}

.registration-field textarea {
  min-height: 76px;
  padding-block: 8px;
  resize: vertical;
}

.password-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(111, 55, 190, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 239, 255, 0.52)),
    rgba(255, 255, 255, 0.46);
  color: rgba(21, 17, 12, 0.68);
  font-size: 10px;
  line-height: 1.15;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 8px 18px rgba(73, 33, 142, 0.08);
  backdrop-filter: blur(16px) saturate(1.12);
}

.password-checklist span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.password-checklist b {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(111, 55, 190, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.password-checklist span.valid {
  color: #146b3e;
}

.password-checklist span.valid b {
  border-color: rgba(20, 107, 62, 0.58);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(200, 255, 223, 0.45)),
    rgba(20, 107, 62, 0.12);
}

.password-checklist span.valid b::after {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 2px solid #146b3e;
  border-bottom: 2px solid #146b3e;
  transform: translateY(-1px) rotate(-45deg);
}

.registration-primary,
.registration-secondary,
.registration-mini {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.registration-primary.premium-action,
.registration-secondary.premium-action,
.registration-mini.premium-action,
.registration-back.premium-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  position: relative;
  border-color: rgba(72, 29, 150, 0.52);
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.74);
  box-shadow:
    0 14px 30px rgba(52, 19, 118, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.premium-action::before {
  position: absolute;
  inset: 1px;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.08) 43%, rgba(255, 255, 255, 0.18));
  pointer-events: none;
}

.premium-action .action-label {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
}

.action-gem {
  position: relative;
  z-index: 1;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.08) 22%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(145deg, #24115e, #6b2fd0 58%, #1d0d4c);
  box-shadow:
    0 7px 16px rgba(39, 17, 86, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -7px 14px rgba(18, 7, 45, 0.36);
}

.action-gem::after {
  content: "";
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.36);
}

.action-gem-new-gym::after {
  content: "+";
  font-size: 15px;
}

.action-gem-profile::after {
  content: "";
  width: 9px;
  height: 10px;
  border: 1.3px solid currentColor;
  border-radius: 2px 2px 1px 1px;
  background:
    linear-gradient(currentColor, currentColor) 2px 2px / 1.5px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 5.5px 2px / 1.5px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 2px 5px / 1.5px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 5.5px 5px / 1.5px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 3.5px 8px / 2px 2px no-repeat;
  box-shadow: 0 -2.5px 0 -1.2px currentColor;
}

.action-gem-plans::after {
  content: "";
  width: 9px;
  height: 11px;
  border: 1.3px solid currentColor;
  border-left-width: 2.4px;
  border-radius: 2px 4px 4px 2px;
  background:
    linear-gradient(currentColor, currentColor) 4px 3px / 3.8px 1.2px no-repeat,
    linear-gradient(currentColor, currentColor) 4px 6.5px / 3.8px 1.2px no-repeat;
  box-shadow: inset 1.5px 0 0 rgba(255, 255, 255, 0.32);
}

.action-gem-billing::after {
  content: "$";
  font-size: 13px;
}

.action-gem-activity-log::after {
  content: "";
  width: 11px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  background:
    linear-gradient(currentColor, currentColor) 5px 2px / 1.3px 4px no-repeat,
    linear-gradient(currentColor, currentColor) 5px 5px / 3.5px 1.3px no-repeat;
}

.action-gem-signout::after {
  content: "X";
}

.action-gem-back::after {
  content: "";
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.action-gem-up-to-date {
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.08) 22%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(145deg, #064321, #159756 58%, #042f18);
}

.action-gem-up-to-date::after {
  content: "OK";
  font-size: 7.5px;
}

.action-gem-unsaved {
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.08) 22%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(145deg, #651010, #dc2f2f 58%, #4b0909);
}

.action-gem-unsaved::after {
  content: "!";
  font-size: 14px;
}

.registration-primary {
  border-color: rgba(111, 55, 190, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 239, 255, 0.66)),
    rgba(255, 255, 255, 0.58);
}

.registration-primary.verified {
  border-color: rgba(24, 128, 70, 0.52);
  color: #146b3e;
}

.address-actions {
  justify-content: flex-end;
}

.registration-primary.small,
.registration-secondary.small {
  min-height: 32px;
}

.registration-secondary.danger {
  position: relative;
  z-index: 0;
  border-color: rgba(229, 57, 53, 0.72);
  color: #b82020;
}

.registration-secondary.danger.premium-action {
  overflow: visible;
  border-color: rgba(229, 57, 53, 0.92);
  color: #a91515;
  box-shadow:
    0 14px 30px rgba(184, 32, 32, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.registration-mini.destructive,
.registration-primary.destructive {
  border-color: rgba(229, 57, 53, 0.46);
  color: #b82020;
}

.registration-toolbar .registration-secondary.danger::before,
.registration-toolbar .registration-secondary.danger::after {
  position: absolute;
  inset: -4px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(229, 57, 53, 0.52);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: unsavedPulseWave 2.2s ease-out infinite;
}

.registration-toolbar .registration-secondary.danger::after {
  animation-delay: 1.1s;
}

.registration-secondary.success {
  border-color: rgba(24, 128, 70, 0.55);
  color: #146b3e;
}

.registration-secondary.success.premium-action {
  border-color: rgba(24, 128, 70, 0.72);
  color: #0c6135;
}

.registration-mini {
  min-height: 30px;
  padding-inline: 12px;
}

.registration-mini.support-action {
  min-width: 34px;
  padding-inline: 11px;
}

.registration-mini.support-action .support-question {
  font-size: 17px;
  line-height: 1;
}

.registration-mini.money {
  display: inline-grid;
  place-items: center;
  width: 30px;
  padding: 0;
  border-radius: 999px;
  font-size: 13px;
}

.registration-warning,
.registration-notice {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 18px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.registration-toolbar {
  margin-bottom: 12px;
  overflow: visible;
}

@keyframes unsavedPulseWave {
  0% {
    opacity: 0.58;
    transform: scale(1);
  }

  72% {
    opacity: 0;
    transform: scale(1.18, 1.46);
  }

  100% {
    opacity: 0;
    transform: scale(1.18, 1.46);
  }
}

.owner-gym-list {
  display: grid;
  gap: 9px;
}

.owner-gym-bubble {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  width: 100%;
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.owner-gym-bubble.has-change {
  border-color: rgba(229, 57, 53, 0.76);
  color: #b82020;
}

.owner-gym-bubble strong,
.owner-gym-bubble b,
.owner-gym-bubble small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-gym-bubble strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700 !important;
  line-height: 1.12;
}

.owner-gym-bubble b {
  margin-top: 1px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700 !important;
  line-height: 1.12;
}

.owner-gym-bubble small {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 400 !important;
  text-transform: uppercase;
}

.owner-tier {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.owner-tier.standard {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 239, 255, 0.66)),
    rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(111, 55, 190, 0.42);
}

.owner-tier.premium {
  background: rgba(47, 17, 93, 0.9);
  border: 1px solid #a38446;
  color: #f6d780;
}

.hours-grid,
.amenity-grid,
.delegate-list {
  display: grid;
  gap: 7px;
}

.hours-row,
.plan-row,
.delegate-adder {
  display: grid;
  grid-template-columns: 96px 56px minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
  align-items: center;
}

.plan-row {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(96px, 0.7fr) 30px;
  margin-bottom: 7px;
}

.delegate-adder {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) 38px;
}

.delegate-list {
  grid-column: 1 / -1;
}

.delegate-list span {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(111, 55, 190, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 239, 255, 0.54)),
    rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 900;
}

.delegate-list button,
.plan-row button {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.amenity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.amenity-grid label,
.hours-row label {
  font-size: 11px;
  font-weight: 400 !important;
}

.premium-check {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  cursor: pointer;
  color: var(--ink);
  text-transform: uppercase;
}

.premium-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.premium-check-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(111, 55, 190, 0.44);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 31%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 239, 255, 0.66)),
    rgba(255, 255, 255, 0.6);
  box-shadow:
    0 8px 18px rgba(73, 33, 142, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.premium-check-mark::after {
  width: 8px;
  height: 4px;
  content: "";
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
  transform: rotate(-45deg) translateY(-1px);
}

.premium-check input:checked + .premium-check-mark {
  border-color: rgba(109, 59, 210, 0.72);
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 32%),
    linear-gradient(145deg, rgba(126, 79, 218, 0.96), rgba(67, 28, 128, 0.92));
  box-shadow:
    0 9px 20px rgba(73, 33, 142, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.premium-check input:checked + .premium-check-mark::after {
  border-color: #fff;
}

.premium-check-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.closed-toggle {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 3px;
  text-align: center;
}

.closed-toggle .premium-check-text {
  max-width: 56px;
  font-size: 8px;
  line-height: 1;
}

.amenity-check {
  min-height: 32px;
  padding: 4px 6px;
  border: 1px solid rgba(111, 55, 190, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(246, 239, 255, 0.44)),
    rgba(255, 255, 255, 0.42);
}

.tier-choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tier-choice {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(111, 55, 190, 0.42);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0) 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(239, 226, 255, 0.44)),
    rgba(255, 255, 255, 0.34);
  box-shadow:
    0 18px 42px rgba(73, 33, 142, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -12px 26px rgba(111, 55, 190, 0.08);
  backdrop-filter: blur(18px) saturate(1.18);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  text-align: left;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.tier-choice::after {
  position: absolute;
  inset: 1px;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0.18));
  pointer-events: none;
}

.tier-choice:hover {
  transform: translateY(-1px);
}

.tier-choice-icon {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.08) 24%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(145deg, #24115e, #6b2fd0 58%, #1d0d4c);
  box-shadow:
    0 8px 18px rgba(39, 17, 86, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -8px 16px rgba(18, 7, 45, 0.36);
  color: #fff;
  font-size: 13px;
  font-weight: 900 !important;
}

.tier-choice-name {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  transform: translate(-8px, 2px);
  font-family: "DancingScriptLocal", "Dancing Script", cursive !important;
  font-size: 28px;
  font-weight: 700 !important;
  line-height: 1;
  text-align: center;
  text-transform: none !important;
}

.tier-choice.premium .tier-choice-icon {
  border-color: #a38446;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.08) 22%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(145deg, #1f0b4f, #4e1794 58%, #160637);
  color: #f6d780;
  font-size: 19px;
  box-shadow:
    0 8px 20px rgba(47, 17, 93, 0.34),
    0 0 0 1px rgba(246, 215, 128, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.tier-choice.selected {
  border-color: rgba(109, 59, 210, 0.58);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.08) 32%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(224, 207, 255, 0.62)),
    rgba(109, 59, 210, 0.18);
  box-shadow:
    0 20px 46px rgba(73, 33, 142, 0.22),
    0 0 0 2px rgba(109, 59, 210, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.plan-info-card {
  grid-column: 1 / -1;
  padding: 13px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 900;
}

.billing-plan-card {
  margin-top: 14px;
}

.plan-info-card strong,
.summary-row strong {
  font-weight: 800 !important;
}

.plan-info-card p {
  margin: 6px 0 0;
}

.plan-info-card small {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 10px;
  line-height: 1.35;
  opacity: 0.72;
  text-transform: uppercase;
}

.billing-adjustment-list {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.billing-adjustment-list.compact {
  gap: 6px;
  margin-top: 4px;
}

.billing-adjustment-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  opacity: 0.82;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.billing-adjustment-list.compact span {
  align-items: flex-start;
}

.billing-adjustment-list span > * {
  min-width: 0;
}

.billing-adjustment-list strong {
  min-width: 0;
}

.plan-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.plan-feature-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(111, 55, 190, 0.42);
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(246, 239, 255, 0.54)),
    rgba(255, 255, 255, 0.42);
  box-shadow:
    0 14px 32px rgba(73, 33, 142, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.14);
}

.plan-feature-card.premium {
  border-color: rgba(163, 132, 70, 0.68);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 85% 14%, rgba(246, 215, 128, 0.22), rgba(246, 215, 128, 0) 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(245, 238, 255, 0.62)),
    rgba(255, 255, 255, 0.48);
  box-shadow:
    0 18px 42px rgba(73, 33, 142, 0.16),
    0 0 0 1px rgba(246, 215, 128, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.plan-feature-title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(111, 55, 190, 0.22);
}

.plan-feature-title strong,
.plan-feature-section strong {
  color: var(--ink);
  font-weight: 800 !important;
  text-transform: uppercase;
}

.plan-feature-title strong {
  font-size: 15px;
}

.plan-feature-section {
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.plan-feature-section p,
.plan-feature-section ul {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.38;
}

.plan-feature-section ul {
  display: grid;
  gap: 3px;
  padding-left: 17px;
}

.plan-feature-section li {
  padding-left: 1px;
}

.plan-pricing-bubble {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(111, 55, 190, 0.42);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(246, 239, 255, 0.54)),
    rgba(255, 255, 255, 0.42);
  box-shadow:
    0 16px 38px rgba(73, 33, 142, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px) saturate(1.14);
}

.plan-pricing-title {
  display: grid;
  gap: 3px;
}

.plan-pricing-title strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800 !important;
  text-transform: uppercase;
}

.plan-pricing-title span {
  color: var(--ink);
  font-size: 11px;
  line-height: 1.3;
}

.plan-pricing-table {
  display: grid;
  gap: 7px;
}

.plan-pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(92px, 0.7fr) minmax(92px, 0.7fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(111, 55, 190, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.56), rgba(246, 239, 255, 0.36)),
    rgba(255, 255, 255, 0.26);
  color: var(--ink);
  font-size: 11px;
}

.plan-pricing-row span,
.plan-pricing-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-pricing-row strong {
  font-weight: 800 !important;
}

.summary-list {
  display: grid;
  gap: 9px;
}

.summary-row {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 18px;
}

.summary-row.plan-change-row {
  gap: 8px;
}

.summary-row span {
  white-space: pre-line;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-row.plan-change-row span {
  overflow-wrap: anywhere;
}

.plan-info-card.danger-copy {
  border-color: rgba(229, 57, 53, 0.62);
}

.plan-info-card.danger-copy strong,
.plan-info-card.danger-copy small {
  color: #a91515;
}

.activity-log-list {
  display: grid;
  gap: 10px;
}

.activity-log-row {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(111, 55, 190, 0.4);
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 239, 255, 0.56)),
    rgba(255, 255, 255, 0.48);
  box-shadow:
    0 12px 28px rgba(73, 33, 142, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.12);
}

.activity-log-row span,
.activity-log-row strong,
.activity-log-row small {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
}

.activity-log-row span {
  font-size: 10px;
  font-weight: 800;
  opacity: 0.76;
}

.activity-log-row strong {
  font-size: 13px;
  font-weight: 800 !important;
}

.activity-log-row small {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.82;
}

.support-info-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(111, 55, 190, 0.4);
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 239, 255, 0.56)),
    rgba(255, 255, 255, 0.48);
  box-shadow:
    0 12px 28px rgba(73, 33, 142, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.12);
}

.support-info-card strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.support-info-card .support-email {
  font-size: inherit;
  text-transform: none;
}

.support-info-card p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
}

.upload-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(111, 55, 190, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 239, 255, 0.54)),
    rgba(255, 255, 255, 0.52);
  color: var(--ink);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.upload-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-preview {
  width: 74px;
  height: 74px;
  border: 1px solid rgba(111, 55, 190, 0.36);
  border-radius: 18px;
  object-fit: cover;
}

.upload-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.upload-preview-grid img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(111, 55, 190, 0.36);
  border-radius: 14px;
  object-fit: cover;
}

.upload-file-list {
  margin: 0;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.35;
}

.photo-upload-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 8px;
}

.logo-upload-wrap,
.photo-upload-wrap {
  position: relative;
  min-width: 0;
}

.logo-upload-wrap {
  width: min(96px, 100%);
}

.photo-upload-slot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 74px;
  overflow: hidden;
  border: 1px solid rgba(111, 55, 190, 0.38);
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 239, 255, 0.54)),
    rgba(255, 255, 255, 0.52);
  box-shadow:
    0 9px 20px rgba(73, 33, 142, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.photo-upload-slot:not(.has-image) {
  aspect-ratio: 1;
}

.logo-upload-slot {
  width: 88px;
  min-height: 88px;
}

.photo-upload-wrap .photo-upload-slot.has-image {
  min-height: 0;
  padding: 5px;
}

.photo-upload-slot input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.photo-upload-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-upload-wrap .photo-upload-slot.has-image img {
  position: static;
  width: 100%;
  height: auto;
  max-height: 160px;
  border-radius: 13px;
  object-fit: contain;
}

.logo-upload-wrap .photo-upload-slot.has-image img {
  object-fit: contain;
}

.photo-upload-slot span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(111, 55, 190, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

.photo-upload-slot.has-image > span {
  opacity: 0;
  transform: scale(0.86);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.image-slot-actions {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  display: flex;
  gap: 5px;
}

.image-slot-action {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(111, 55, 190, 0.42);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 20%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(246, 239, 255, 0.7)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    0 8px 17px rgba(73, 33, 142, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

.image-slot-action.delete {
  border-color: rgba(184, 32, 32, 0.5);
  color: #b82020;
}

.image-slot-action input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.image-slot-action span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.registration-shell,
.registration-shell * {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400 !important;
}

.registration-shell input,
.registration-shell select,
.registration-shell textarea,
.registration-shell button {
  font-family: Arial, Helvetica, sans-serif;
}

.registration-heading h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400 !important;
}

.owner-gym-bubble strong,
.owner-gym-bubble b {
  font-weight: 800 !important;
}

.owner-gym-bubble small {
  font-weight: 400 !important;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
    min-height: 100dvh;
  }

  .map-panel {
    min-height: 100dvh;
  }
}

@media (max-width: 720px) {
  .site-header {
    --top-bubble-width: clamp(140px, 39vw, 190px);
    --top-title-size: clamp(14px, 4.6vw, 18px);
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px;
    min-height: 0;
    padding: 8px 8px 8px;
  }

  .brand {
    order: 2;
    gap: 6px;
    flex: 0 0 var(--top-bubble-width);
  }

  .brand-copy {
    max-width: var(--top-bubble-width);
  }

  .brand-title {
    padding: 4px 8px 6px 9px;
    width: var(--top-bubble-width);
    max-width: var(--top-bubble-width);
    font-size: var(--top-title-size);
    line-height: 1.08;
  }

  .brand-tagline {
    padding: 3px 8px 0 10px;
    font-size: clamp(12px, 4.2vw, 18px);
  }

  .brand-logo {
    width: 26px;
    height: 26px;
    padding: 3px;
  }

  .header-right {
    order: 3;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 6px;
    flex: 1 1 100%;
  }

  .app-download-prompt {
    max-width: min(270px, calc(100vw - 112px));
    padding: 6px 8px;
  }

  .app-download-prompt span {
    font-size: clamp(8px, 2.4vw, 10px);
    white-space: normal;
  }

  .app-download-actions a,
  .app-download-actions img {
    height: 24px;
  }

  .header-action {
    min-height: 30px;
    padding: 0 10px;
    font-size: 15px;
  }

  main {
    padding-inline: 0;
  }

  .sponsor-strip {
    order: 1;
    flex: 0 0 var(--top-bubble-width);
    width: var(--top-bubble-width);
    min-width: 0;
    max-width: var(--top-bubble-width);
    height: 31px;
    min-height: 31px;
    padding: 4px 8px 6px 9px;
    border-radius: 999px;
    font-size: clamp(7px, 2vw, 9px);
  }

  .state-row {
    top: 244px;
  }

  .map-panel {
    min-height: 100dvh;
  }

  .map-gym-popup {
    width: min(218px, calc(100vw - 22px));
    min-height: 48px;
    padding: 9px 10px;
    border-radius: 18px;
    transform: translate(-50%, calc(-100% - 44px));
  }

  .map-gym-popup:hover {
    transform: translate(-50%, calc(-100% - 48px));
  }

  .map-gym-popup.premium {
    grid-template-columns: 36px minmax(0, 1fr);
    width: min(268px, calc(100vw - 22px));
    min-height: 90px;
    padding: 9px 10px;
  }

  .map-gym-popup .detail-logo,
  .map-gym-popup .detail-logo img,
  .map-gym-popup .detail-logo .gym-logo-fallback {
    width: 36px;
    height: 36px;
  }

  .map-gym-popup .featured-badge {
    width: 15px;
    height: 15px;
    font-size: 8px;
  }

  .map-popup-title {
    font-size: 11.5px;
  }

  .map-popup-address {
    font-size: 9.5px;
  }

  .gym-detail-overlay {
    place-items: start center;
    padding: 118px 8px 10px;
  }

  .gym-detail-overlay .gym-detail-card {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 126px);
    padding: 10px;
    border-radius: 22px;
  }

  .gym-detail-close {
    top: 72px;
    left: 10px;
    min-height: 30px;
    padding: 0 11px;
    font-size: 10px;
  }

  .detail-hero {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
  }

  .detail-logo,
  .detail-hero img,
  .detail-hero .gym-logo-fallback,
  .detail-logo img,
  .detail-logo .gym-logo-fallback {
    width: 46px;
    height: 46px;
  }

  .detail-hero h2 {
    font-size: 13px;
  }

  .detail-hero p {
    font-size: 10px;
  }

  .dialog-block {
    padding: 10px;
    border-radius: 15px;
  }

  .dialog-block p,
  .info-line p {
    font-size: 12px;
  }

  .dialog-grid,
  .photo-strip {
    grid-template-columns: 1fr;
  }

  .registration-card {
    min-height: calc(100dvh - 238px);
    padding: 12px;
  }

  .registration-shell {
    padding: 126px 10px 14px;
  }

  .registration-choice-grid,
  .registration-form,
  .tier-choice-row,
  .amenity-grid,
  .plan-feature-grid {
    grid-template-columns: 1fr;
  }

  .password-checklist {
    grid-template-columns: 1fr;
  }

  .photo-upload-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .registration-choice-grid {
    max-width: none;
  }

  .registration-choice {
    min-height: 40px;
    font-size: 11px;
  }

  .hours-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .plan-row {
    grid-template-columns: 1fr;
  }

  .tier-choice {
    min-height: 70px;
  }

  .plan-pricing-row {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .registration-heading h1 {
    font-size: clamp(30px, 11vw, 42px);
  }
}

@media (max-width: 380px) {
  .site-header {
    --top-bubble-width: clamp(148px, 46vw, 152px);
    --top-title-size: clamp(13px, 4.3vw, 16px);
    gap: 5px;
    padding: 7px 7px 7px;
  }

  .brand {
    flex-basis: var(--top-bubble-width);
    gap: 5px;
  }

  .brand-copy,
  .brand-title {
    max-width: var(--top-bubble-width);
  }

  .brand-logo {
    width: 24px;
    height: 24px;
  }

  .brand-title {
    font-size: clamp(16px, 5.7vw, 22px);
  }

  .brand-tagline {
    font-size: clamp(11px, 3.8vw, 14px);
  }

  .sponsor-strip {
    flex-basis: var(--top-bubble-width);
    width: var(--top-bubble-width);
    min-width: 0;
    max-width: var(--top-bubble-width);
    height: 31px;
    min-height: 31px;
    padding: 4px 8px 6px 9px;
    font-size: 7px;
  }

  .header-right {
    gap: 5px;
  }

  .app-download-prompt {
    max-width: min(210px, calc(100vw - 106px));
  }

  .app-download-actions a,
  .app-download-actions img {
    height: 19px;
  }

  .state-row {
    top: 242px;
    right: 10px;
    gap: 3px;
    width: min(204px, calc(100% - 20px));
    padding: 5px;
    border-radius: 16px;
  }

  .state-chip {
    min-height: 20px;
    padding: 0 6px;
    font-size: 7px;
    letter-spacing: 0.05em;
  }

  .header-action {
    padding: 0 5px;
    white-space: nowrap;
    text-align: center;
    line-height: 1.05;
    font-size: 12px;
  }
}

@media (max-width: 980px) and (max-height: 520px) {
  main {
    padding-top: 0;
    padding-bottom: 0;
  }

  .map-panel {
    min-height: 100dvh;
  }

  .state-row {
    width: min(218px, calc(100% - 24px));
  }
}

/* Final responsive header contract: logo/title/sponsor keep their order. */
.site-header {
  --top-logo-size: clamp(24px, 3.8vw, 50px);
  --top-bubble-width: clamp(152px, 24vw, 300px);
  --top-title-size: clamp(20px, 2.75vw, 35px);
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(6px, 1.4vw, 18px);
  min-width: 0;
  padding: clamp(8px, 1.45vw, 18px) clamp(8px, 3.4vw, 48px);
}

.brand,
.sponsor-strip,
.header-right {
  order: initial;
}

.brand {
  flex: 0 1 calc(var(--top-logo-size) + var(--top-bubble-width) + clamp(6px, 1.4vw, 18px));
  gap: clamp(6px, 1.4vw, 18px);
}

.brand-logo {
  display: block;
  width: var(--top-logo-size);
  height: var(--top-logo-size);
  min-width: var(--top-logo-size);
}

.brand-copy {
  max-width: var(--top-bubble-width);
}

.brand-title {
  width: var(--top-bubble-width);
  max-width: var(--top-bubble-width);
  padding: clamp(4px, 0.55vw, 7px) clamp(9px, 1.4vw, 18px) clamp(6px, 0.78vw, 10px);
  font-size: var(--top-title-size);
}

.brand-tagline {
  padding-inline: clamp(8px, 1.4vw, 18px);
  font-size: clamp(13px, 1.9vw, 25px);
}

.sponsor-strip {
  flex: 0 1 var(--top-bubble-width);
  width: var(--top-bubble-width);
  max-width: var(--top-bubble-width);
  min-height: calc((var(--top-title-size) * 1.05) + clamp(14px, 1.45vw, 17px));
  align-self: flex-start;
  padding: clamp(4px, 0.55vw, 7px) clamp(9px, 1.4vw, 18px) clamp(6px, 0.78vw, 10px);
  font-size: clamp(7px, 1vw, 12px);
}

.header-right {
  display: grid;
  grid-template-columns: minmax(0, auto) auto;
  align-items: start;
  justify-content: end;
  justify-items: end;
  gap: 8px 10px;
  flex: 1 1 auto;
}

.app-download-prompt {
  grid-column: 1;
  max-width: min(330px, 28vw);
}

.header-action {
  grid-column: 2;
}

.state-row,
.state-row.state-picker-collapsed {
  position: static;
  grid-column: 2;
  justify-self: end;
  width: min(340px, 34vw);
  margin-top: 0;
  transform: none;
}

.state-row.state-picker-expanded {
  position: fixed;
  top: clamp(132px, 22vh, 206px);
  right: 50%;
  width: min(720px, calc(100vw - 28px));
  transform: translateX(50%);
}

@media (max-width: 1120px) {
  .site-header {
    --top-bubble-width: clamp(132px, 28vw, 240px);
    --top-title-size: clamp(18px, 3vw, 29px);
  }

  .app-download-prompt {
    display: grid;
    max-width: min(260px, 26vw);
    padding: 6px 8px;
  }

  .app-download-prompt span {
    font-size: 9px;
  }

  .app-download-actions a,
  .app-download-actions img {
    height: 24px;
  }

  .header-right {
    grid-template-columns: minmax(0, auto) auto;
  }

  .header-action,
  .state-row,
  .state-row.state-picker-collapsed {
    grid-column: 2;
  }
}

@media (max-width: 920px) {
  .header-action {
    display: none;
  }

  .app-download-prompt {
    grid-column: 1 / -1;
    max-width: min(250px, 30vw);
  }

  .state-row,
  .state-row.state-picker-collapsed {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px), (max-height: 520px) {
  .site-header {
    --top-bubble-width: clamp(118px, 34vw, 176px);
    --top-title-size: clamp(15px, 4.25vw, 23px);
    gap: 6px;
    padding: 8px;
  }

  .brand {
    flex: 0 1 calc(var(--top-logo-size) + var(--top-bubble-width) + 6px);
    gap: 6px;
  }

  .brand-tagline {
    display: none;
  }

  .header-right {
    position: fixed;
    top: 54px;
    right: 8px;
    z-index: 21;
    display: grid;
    grid-template-columns: minmax(0, auto);
    justify-items: end;
    width: min(260px, calc(100vw - 16px));
  }

  .app-download-prompt {
    display: grid;
    width: min(260px, calc(100vw - 16px));
    max-width: min(260px, calc(100vw - 16px));
    padding: 5px 7px;
  }

  .app-download-prompt span {
    font-size: clamp(7px, 2vw, 9px);
    white-space: nowrap;
  }

  .app-download-actions a,
  .app-download-actions img {
    height: 22px;
  }

  .state-row.state-picker-expanded {
    position: fixed !important;
    top: 116px !important;
    right: 8px !important;
    display: flex !important;
    width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 150px);
    overflow: auto;
    transform: none !important;
  }

  .state-row.state-picker-collapsed {
    display: none;
  }

  .sponsor-strip {
    flex: 0 1 min(26vw, 176px);
    width: min(26vw, 176px);
    max-width: min(26vw, 176px);
    min-width: 76px;
  }
}

@media (max-width: 420px) {
  .site-header {
    --top-logo-size: 24px;
    --top-bubble-width: clamp(112px, 43vw, 152px);
    --top-title-size: clamp(14px, 5vw, 18px);
    gap: 5px;
    padding: 7px;
  }

  .brand {
    flex-basis: calc(var(--top-logo-size) + var(--top-bubble-width) + 5px);
    gap: 5px;
  }

  .sponsor-strip {
    min-height: 28px;
    padding: 4px 8px 6px;
    font-size: 7px;
  }

  .header-right {
    top: 48px;
    right: 7px;
    width: min(226px, calc(100vw - 14px));
  }

  .app-download-prompt {
    width: min(226px, calc(100vw - 14px));
    max-width: min(226px, calc(100vw - 14px));
  }

  .app-download-actions a,
  .app-download-actions img {
    height: 19px;
  }

  .state-row.state-picker-expanded {
    top: 105px !important;
    right: 7px !important;
    width: calc(100vw - 14px) !important;
    padding: 9px;
  }
}

/* Locked header layout: every bubble has a fixed lane and clipped contents. */
.site-header {
  --header-pad-x: clamp(8px, 2.6vw, 42px);
  --header-pad-y: clamp(7px, 1.2vw, 16px);
  --header-gap: clamp(6px, 1vw, 14px);
  --logo-size-locked: clamp(28px, 3.4vw, 48px);
  --title-width-locked: clamp(320px, 30vw, 450px);
  --sponsor-width-locked: var(--title-width-locked);
  --download-width-locked: clamp(218px, 20vw, 300px);
  --action-width-locked: clamp(132px, 9.8vw, 164px);
  display: grid !important;
  grid-template-columns:
    minmax(0, calc(var(--logo-size-locked) + var(--title-width-locked) + var(--header-gap)))
    minmax(0, var(--sponsor-width-locked))
    minmax(0, 1fr)
    minmax(0, var(--download-width-locked))
    minmax(0, var(--action-width-locked));
  grid-template-areas: "brand sponsor spacer apps action";
  align-items: start !important;
  justify-items: stretch !important;
  gap: var(--header-gap) !important;
  min-height: 0 !important;
  padding: var(--header-pad-y) var(--header-pad-x) !important;
  overflow: visible;
}

.brand {
  grid-area: brand;
  display: grid !important;
  grid-template-columns: var(--logo-size-locked) minmax(0, var(--title-width-locked));
  align-items: start !important;
  gap: var(--header-gap) !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.brand-logo {
  display: block !important;
  width: var(--logo-size-locked) !important;
  height: var(--logo-size-locked) !important;
  min-width: 0 !important;
}

.brand-copy {
  width: var(--title-width-locked) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.brand-title,
.sponsor-strip,
.google-ad-bubble,
.app-download-prompt,
.header-action,
footer {
  min-width: 0 !important;
  overflow: hidden !important;
}

.brand-title {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: clamp(46px, 4.85vw, 66px) !important;
  padding: 7px clamp(10px, 1.2vw, 16px) 10px !important;
  font-size: clamp(24px, 2.35vw, 34px) !important;
  line-height: 1.28 !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.brand-title-initial,
.brand-title-rest {
  display: inline-block;
  min-width: 0;
  overflow: visible;
  line-height: 1.22;
  padding-block: 0.08em;
}

.brand-title-rest {
  overflow: visible;
  text-overflow: clip;
}

.brand-tagline {
  display: block !important;
  width: 100% !important;
  padding: 3px 8px 0 !important;
  overflow: hidden !important;
  font-size: clamp(15px, 1.55vw, 23px) !important;
  line-height: 1.12 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.sponsor-strip {
  grid-area: sponsor;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: clamp(46px, 4.85vw, 66px) !important;
  height: clamp(46px, 4.85vw, 66px) !important;
  padding: 4px clamp(12px, 1.35vw, 18px) !important;
  align-self: start !important;
  font-size: clamp(10px, 0.95vw, 12px) !important;
  line-height: 1.1 !important;
  text-align: center !important;
}

.google-ad-bubble {
  position: fixed !important;
  top: calc(var(--header-pad-y) + clamp(58px, 6.2vw, 82px) + 110px) !important;
  right: var(--header-pad-x) !important;
  z-index: 6;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: var(--sponsor-width-locked) !important;
  max-width: min(var(--sponsor-width-locked), calc(100vw - (var(--header-pad-x) * 2))) !important;
  min-height: clamp(46px, 4.85vw, 66px) !important;
  height: clamp(46px, 4.85vw, 66px) !important;
  padding: 4px clamp(12px, 1.35vw, 18px) !important;
  font-size: clamp(10px, 0.95vw, 12px) !important;
  line-height: 1.1 !important;
  pointer-events: auto;
}

.state-row.state-picker-expanded + .google-ad-bubble {
  display: none !important;
}

.sponsor-strip span,
.google-ad-bubble span,
.app-download-prompt span,
.header-action {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-right {
  display: contents !important;
}

.app-download-prompt {
  grid-area: apps;
  display: grid !important;
  grid-template-rows: auto auto;
  align-content: center !important;
  justify-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: clamp(48px, 4.8vw, 66px) !important;
  padding: 6px 9px !important;
  gap: 4px !important;
}

.app-download-prompt span {
  width: 100%;
  font-size: clamp(8px, 0.72vw, 10px) !important;
  line-height: 1.1 !important;
}

.app-download-actions {
  max-width: 100%;
  gap: 6px !important;
  overflow: hidden;
}

.app-download-actions a,
.app-download-actions img {
  height: clamp(21px, 2.1vw, 30px) !important;
  max-width: 100%;
}

.header-action {
  grid-area: action;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: clamp(42px, 4.5vw, 58px) !important;
  padding: 0 12px !important;
  font-size: clamp(13px, 1.1vw, 15.5px) !important;
  line-height: 1 !important;
}

.state-row,
.state-row.state-picker-collapsed {
  position: fixed !important;
  top: calc(var(--header-pad-y) + clamp(58px, 6.2vw, 82px)) !important;
  right: var(--header-pad-x) !important;
  width: min(348px, calc(100vw - (var(--header-pad-x) * 2))) !important;
  max-width: calc(100vw - (var(--header-pad-x) * 2)) !important;
  transform: none !important;
}

.state-row.state-picker-expanded {
  position: fixed !important;
  top: clamp(122px, 18vh, 190px) !important;
  right: 50% !important;
  width: min(720px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  transform: translateX(50%) !important;
}

.state-group,
.state-chip {
  min-width: 0 !important;
}

.state-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 1260px) {
  .site-header {
    --title-width-locked: clamp(286px, 27vw, 356px);
    --download-width-locked: clamp(200px, 21vw, 258px);
    --action-width-locked: 0px;
    grid-template-columns:
      minmax(0, calc(var(--logo-size-locked) + var(--title-width-locked) + var(--header-gap)))
      minmax(0, var(--sponsor-width-locked))
      minmax(0, 1fr)
      minmax(0, var(--download-width-locked));
    grid-template-areas: "brand sponsor spacer apps";
  }

  .header-action {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    --title-width-locked: clamp(252px, 38vw, 320px);
    --sponsor-width-locked: clamp(138px, 21vw, 192px);
    --download-width-locked: clamp(190px, 28vw, 230px);
    grid-template-columns:
      minmax(0, calc(var(--logo-size-locked) + var(--title-width-locked) + var(--header-gap)))
      minmax(0, var(--sponsor-width-locked))
      minmax(0, 1fr)
      minmax(0, var(--download-width-locked));
  }

  .brand-title {
    font-size: clamp(20px, 2.8vw, 26px) !important;
  }

  .brand-tagline {
    display: none !important;
  }
}

@media (max-width: 760px), (max-height: 540px) {
  .site-header {
    --logo-size-locked: 30px;
    --title-width-locked: clamp(226px, 50vw, 292px);
    --download-width-locked: clamp(166px, 42vw, 244px);
    grid-template-columns:
      minmax(0, calc(var(--logo-size-locked) + var(--title-width-locked) + var(--header-gap)))
      minmax(0, 1fr)
      minmax(0, var(--download-width-locked));
    grid-template-areas: "brand spacer apps";
  }

  .sponsor-strip {
    display: none !important;
  }

  .google-ad-bubble {
    display: none !important;
  }

  .app-download-prompt {
    min-height: 42px !important;
    padding: 5px 7px !important;
  }

  .app-download-prompt span {
    font-size: clamp(7px, 1.8vw, 9px) !important;
  }

  .app-download-actions a,
  .app-download-actions img {
    height: clamp(18px, 4.1vw, 22px) !important;
  }

  .state-row.state-picker-expanded {
    top: 96px !important;
    right: 8px !important;
    width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 112px) !important;
    overflow: auto !important;
    transform: none !important;
  }

  .state-row.state-picker-collapsed {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .site-header {
    --logo-size-locked: 26px;
    --title-width-locked: clamp(210px, 66vw, 290px);
    --download-width-locked: clamp(110px, 31vw, 158px);
    --header-gap: 5px;
  }

  .brand-title {
    min-height: 38px !important;
    padding: 5px 10px 8px !important;
    font-size: clamp(17px, 5vw, 23px) !important;
  }

  .app-download-prompt span {
    display: none !important;
  }

  .app-download-actions {
    gap: 4px !important;
  }

  .app-download-actions a,
  .app-download-actions img {
    height: clamp(17px, 4.8vw, 21px) !important;
  }

  footer {
    right: 6px !important;
    bottom: 6px !important;
    max-width: calc(100vw - 132px) !important;
    min-height: 0 !important;
    padding: 4px 7px !important;
    border-radius: 999px !important;
    font-size: clamp(6px, 1.6vw, 8px) !important;
    line-height: 1.05 !important;
    overflow: hidden !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
  }
}

@media (max-width: 420px) {
  .site-header {
    --logo-size-locked: 24px;
    --title-width-locked: clamp(196px, 72vw, 300px);
    --download-width-locked: clamp(92px, 29vw, 118px);
    padding: 6px !important;
  }

  .brand-title {
    min-height: 36px !important;
    padding-inline: 8px !important;
    font-size: clamp(16px, 4.9vw, 20px) !important;
  }

  .app-download-prompt {
    min-height: 34px !important;
    border-radius: 16px !important;
    padding: 4px !important;
  }

  .app-download-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 2px !important;
  }

  .app-download-actions a,
  .app-download-actions img {
    height: 15px !important;
  }

  footer {
    max-width: calc(100vw - 126px) !important;
    padding-inline: 5px !important;
    font-size: 6px !important;
  }
}

@media (max-width: 330px) {
  .site-header {
    --logo-size-locked: 22px;
    --title-width-locked: clamp(184px, 76vw, 260px);
    --download-width-locked: 82px;
    --header-gap: 4px;
  }

  .brand-title {
    min-height: 34px !important;
    font-size: 15px !important;
  }

  .app-download-actions a,
  .app-download-actions img {
    height: 13px !important;
  }
}

/* Keep Register your Club / Return to Map visible until the screen is genuinely tight. */
@media (max-width: 1260px) and (min-width: 981px) {
  .site-header {
    --title-width-locked: clamp(300px, 28vw, 374px);
    --sponsor-width-locked: var(--title-width-locked);
    --download-width-locked: clamp(190px, 19vw, 238px);
    --action-width-locked: clamp(124px, 9vw, 142px);
    grid-template-columns:
      minmax(0, calc(var(--logo-size-locked) + var(--title-width-locked) + var(--header-gap)))
      minmax(0, var(--sponsor-width-locked))
      minmax(0, 1fr)
      minmax(0, var(--download-width-locked))
      minmax(0, var(--action-width-locked)) !important;
    grid-template-areas: "brand sponsor spacer apps action" !important;
  }

  .header-action {
    display: inline-flex !important;
    font-size: clamp(13px, 1.2vw, 17px) !important;
    padding-inline: 8px !important;
  }
}

@media (max-width: 980px) and (min-width: 761px) {
  .site-header {
    --title-width-locked: clamp(258px, 38vw, 318px);
    --download-width-locked: clamp(176px, 25vw, 218px);
    --action-width-locked: clamp(120px, 15vw, 144px);
    grid-template-columns:
      minmax(0, calc(var(--logo-size-locked) + var(--title-width-locked) + var(--header-gap)))
      minmax(0, 1fr)
      minmax(0, var(--download-width-locked))
      minmax(0, var(--action-width-locked)) !important;
    grid-template-areas: "brand spacer apps action" !important;
  }

  .sponsor-strip {
    display: none !important;
  }

  .header-action {
    display: inline-flex !important;
    min-height: clamp(34px, 4.2vw, 48px) !important;
    padding-inline: 7px !important;
    font-size: clamp(12px, 1.65vw, 16px) !important;
  }
}

/* Smallest-screen contract: keep logo/title, sponsor, app badges, and Register/Return visible. */
@media (max-width: 760px) {
  .site-header {
    --logo-size-locked: clamp(22px, 7vw, 30px);
    --title-width-locked: min(310px, calc(100vw - (var(--header-pad-x) * 2) - var(--logo-size-locked) - var(--header-gap)));
    --download-width-locked: min(244px, calc(100vw - (var(--header-pad-x) * 2)));
    --action-width-locked: min(148px, calc((100vw - (var(--header-pad-x) * 2) - var(--header-gap)) * 0.48));
    --sponsor-width-locked: min(148px, calc((100vw - (var(--header-pad-x) * 2) - var(--header-gap)) * 0.48));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas:
      "brand brand"
      "sponsor action"
      "apps apps" !important;
    align-items: start !important;
    row-gap: 5px !important;
  }

  .brand {
    grid-template-columns: var(--logo-size-locked) minmax(0, var(--title-width-locked)) !important;
    justify-content: center !important;
  }

  .brand-copy {
    width: var(--title-width-locked) !important;
  }

  .brand-title {
    min-height: clamp(30px, 8vw, 38px) !important;
    padding: 2px 9px 5px !important;
    font-size: clamp(15px, 4.6vw, 21px) !important;
  }

  .brand-tagline,
  .google-ad-bubble {
    display: none !important;
  }

  .sponsor-strip {
    display: flex !important;
    width: 100% !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    font-size: clamp(8px, 2.15vw, 10px) !important;
  }

  .header-action {
    display: inline-flex !important;
    min-height: 32px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    font-size: clamp(11px, 3.15vw, 15px) !important;
  }

  .app-download-prompt {
    width: min(var(--download-width-locked), 100%) !important;
    justify-self: center !important;
    min-height: 34px !important;
    padding: 4px 6px !important;
    border-radius: 18px !important;
  }

  .app-download-prompt span {
    display: none !important;
  }

  .app-download-actions {
    display: flex !important;
    gap: 5px !important;
  }

  .app-download-actions a,
  .app-download-actions img {
    height: clamp(16px, 4.3vw, 22px) !important;
  }

  .state-row.state-picker-expanded {
    top: 134px !important;
    right: 8px !important;
    width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 148px) !important;
    overflow: auto !important;
    transform: none !important;
  }

  .state-row.state-picker-collapsed {
    display: none !important;
  }

  .registration-shell {
    padding-top: 150px !important;
  }
}

@media (max-width: 420px) {
  .site-header {
    --header-pad-x: 6px;
    --header-pad-y: 6px;
    --header-gap: 5px;
    --logo-size-locked: 23px;
    --download-width-locked: min(190px, calc(100vw - 12px));
    --action-width-locked: calc((100vw - 17px) * 0.48);
    --sponsor-width-locked: calc((100vw - 17px) * 0.48);
  }

  .brand-title {
    min-height: 30px !important;
    font-size: clamp(14px, 4.5vw, 17px) !important;
  }

  .sponsor-strip,
  .header-action {
    height: 30px !important;
    min-height: 30px !important;
  }

  .app-download-actions a,
  .app-download-actions img {
    height: clamp(14px, 4vw, 17px) !important;
  }

  .state-row.state-picker-expanded {
    top: 128px !important;
    max-height: calc(100dvh - 140px) !important;
  }

  .registration-shell {
    padding-top: 142px !important;
  }
}

/* Club Registration auth pages mirror the Admin Access sign-in card. */
.registration-auth-card {
  display: grid;
  gap: 13px;
  width: min(460px, calc(100vw - 24px));
  min-height: 0;
  margin: clamp(8px, 4vh, 42px) auto 0;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid rgba(111, 55, 190, 0.38);
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 239, 255, 0.56)),
    rgba(255, 255, 255, 0.48);
  box-shadow:
    0 14px 38px rgba(73, 33, 142, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.12);
}

.registration-auth-card .registration-heading {
  position: relative;
  margin: 0;
}

.registration-auth-card .registration-heading.row {
  display: block;
}

.registration-auth-card .registration-title-group {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.registration-auth-card .registration-heading h1 {
  margin: 0;
  color: var(--ink);
  font-family: "DancingScriptLocal", "Dancing Script", cursive !important;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500 !important;
  line-height: 0.95;
  text-align: left;
  text-transform: none;
}

.registration-auth-card .registration-back {
  position: static;
  justify-self: end;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(111, 55, 190, 0.38);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 239, 255, 0.56)),
    rgba(255, 255, 255, 0.48);
  box-shadow:
    0 10px 24px rgba(73, 33, 142, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.12);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 10px;
  font-weight: 900 !important;
}

.registration-auth-card .registration-back .action-gem {
  width: 19px;
  height: 19px;
}

.registration-auth-card .registration-choice-grid,
.registration-auth-card .registration-choice-grid.compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
  width: 100%;
  margin: 2px 0 0;
}

.registration-auth-card .registration-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
}

.registration-auth-card .registration-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.registration-auth-card .registration-field label {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 10px;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.registration-auth-card .registration-field input,
.registration-auth-card .registration-field select,
.registration-auth-card .registration-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(111, 55, 190, 0.38);
  border-radius: 15px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 239, 255, 0.56)),
    rgba(255, 255, 255, 0.48);
  box-shadow:
    0 14px 38px rgba(73, 33, 142, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.12);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px;
  font-weight: 800 !important;
  outline: none;
}

.registration-auth-card .registration-choice,
.registration-auth-card .registration-primary,
.registration-auth-card .registration-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(111, 55, 190, 0.38);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 239, 255, 0.56)),
    rgba(255, 255, 255, 0.48);
  box-shadow:
    0 14px 38px rgba(73, 33, 142, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.12);
  color: var(--ink);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 11px;
  font-weight: 950 !important;
  letter-spacing: 0;
  text-transform: uppercase;
}

.registration-auth-card .registration-choice::before,
.registration-auth-card .premium-action::before {
  display: none;
}

.registration-auth-card .registration-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.registration-auth-card .password-checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-color: rgba(111, 55, 190, 0.38);
  border-radius: 15px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 239, 255, 0.56)),
    rgba(255, 255, 255, 0.48);
  box-shadow:
    0 14px 38px rgba(73, 33, 142, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.12);
  font-family: Arial, Helvetica, sans-serif !important;
}

@media (max-width: 520px) {
  .registration-auth-card {
    width: min(460px, calc(100vw - 20px));
    padding: 18px;
    border-radius: 24px;
  }

  .registration-auth-card .registration-heading h1 {
    padding-right: 82px;
    font-size: clamp(34px, 12vw, 46px);
  }

  .registration-auth-card .password-checklist {
    grid-template-columns: 1fr;
  }
}

.payment-return-fallback {
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #fff;
  color: #15110c;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

body.seo-map-entry .state-row,
body.seo-map-entry .state-row.state-picker-expanded,
body.seo-map-entry .state-row.state-picker-collapsed {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.payment-return-fallback section {
  max-width: 420px;
  padding: 28px;
}

.payment-return-fallback h1 {
  margin: 0 0 10px;
  font-family: "Times New Roman", serif;
  font-weight: 400;
}

.payment-return-fallback a {
  color: #15110c;
}

footer {
  display: grid !important;
  gap: 4px !important;
  justify-items: center !important;
  width: auto !important;
  max-width: min(390px, calc(100vw - 28px)) !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

.site-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  max-width: 100%;
}

.site-legal-links a {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-legal-links a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 999px;
}

footer span {
  white-space: nowrap;
}

@media (max-width: 720px), (max-height: 520px) {
  footer {
    max-width: min(320px, calc(100vw - 16px)) !important;
    padding: 6px 8px !important;
    border-radius: 16px !important;
  }

  .site-legal-links {
    gap: 6px;
  }

  .site-legal-links a {
    font-size: clamp(7px, 2.1vw, 10px);
  }

  footer span {
    display: none;
  }
}
