html,
body {
  -ms-overflow-style: none;
  overflow-anchor: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  overflow-anchor: none;
  padding: 0;
}

html.app-booting .app-shell {
  visibility: hidden;
}

.phone-surface {
  width: 100%;
  min-height: 100vh;
  overflow-anchor: none;
  padding:
    calc(18px + env(safe-area-inset-top, 0px))
    calc(14px + env(safe-area-inset-right, 0px))
    calc(92px + env(safe-area-inset-bottom, 0px))
    calc(14px + env(safe-area-inset-left, 0px));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    rgba(8, 8, 9, 0.78);
}

.launch-splash {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: stretch;
  background: #030303;
  opacity: 1;
  transition: opacity 0.62s ease, visibility 0.62s ease;
}

.launch-splash[hidden] {
  display: none;
}

html.is-standalone-launch .launch-splash[hidden] {
  display: grid;
}

.launch-splash.is-exiting {
  opacity: 0;
  visibility: hidden;
}

.launch-splash img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.018);
  animation: splashSettle 2.35s ease both;
}

@keyframes splashSettle {
  from {
    opacity: 0.88;
    transform: scale(1.045);
  }
  to {
    opacity: 1;
    transform: scale(1.018);
  }
}

.signup-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 8%, rgba(244, 199, 107, 0.13), transparent 26%),
    radial-gradient(circle at 50% 24%, rgba(0, 229, 255, 0.07), transparent 18%),
    linear-gradient(180deg, #090b10 0%, #050608 58%, #020203 100%);
  backdrop-filter: blur(22px) saturate(1.2);
}

.signup-gate.is-visible {
  display: grid;
}

.auth-loading {
  position: fixed;
  inset: 0;
  z-index: 118;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 14%, rgba(244, 199, 107, 0.16), transparent 28%),
    radial-gradient(circle at 50% 62%, rgba(142, 231, 211, 0.08), transparent 26%),
    rgba(3, 3, 4, 0.88);
  backdrop-filter: blur(24px) saturate(1.18);
}

.auth-loading[hidden] {
  display: none;
}

.auth-loading-card {
  width: min(390px, 100%);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(244, 199, 107, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(244, 199, 107, 0.12), rgba(142, 231, 211, 0.055)),
    rgba(24, 25, 26, 0.94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.auth-loading-card .gym-loading-orbit {
  width: 48px;
  height: 48px;
}

.auth-loading-card h2 {
  margin: 6px 0 6px;
  font-size: clamp(28px, 9vw, 40px);
  line-height: 0.95;
}

.auth-loading-card p:last-child {
  margin: 0;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.35;
}

.install-wall {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 14%, rgba(244, 199, 107, 0.16), transparent 28%),
    rgba(3, 3, 4, 0.9);
  backdrop-filter: blur(24px) saturate(1.18);
}

.install-wall[hidden] {
  display: none;
}

body.install-locked {
  overflow: hidden;
}

.install-card {
  display: grid;
  gap: 14px;
  width: min(430px, 100%);
  border: 1px solid rgba(244, 199, 107, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(15, 16, 18, 0.96);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.11);
  padding: 22px;
}

.install-card img {
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

.install-card h2 {
  margin: 0;
  max-width: 18rem;
  font-size: 1.7rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.install-copy,
.install-steps {
  margin: 0;
  color: var(--soft);
  font-size: 0.96rem;
  line-height: 1.45;
}

.install-steps {
  display: grid;
  gap: 10px;
  padding: 0;
}

.install-video-action {
  margin-top: 2px;
  display: grid;
  place-items: center;
  text-decoration: none;
}

ol.install-steps {
  padding-left: 1.15rem;
}

.install-steps li::marker {
  color: var(--amber);
  font-weight: 900;
}

.portrait-guard {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  place-items: center;
  overflow: hidden;
  padding:
    calc(18px + env(safe-area-inset-top, 0px))
    calc(22px + env(safe-area-inset-right, 0px))
    calc(18px + env(safe-area-inset-bottom, 0px))
    calc(22px + env(safe-area-inset-left, 0px));
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 28%, rgba(244, 199, 107, 0.18), transparent 34%),
    radial-gradient(circle at 50% 78%, rgba(109, 245, 226, 0.1), transparent 30%),
    rgba(4, 5, 6, 0.96);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  color: var(--text);
  text-align: center;
  backdrop-filter: blur(26px) saturate(1.22);
}

.portrait-guard::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 30px;
  pointer-events: none;
}

.portrait-guard::after {
  content: "";
  position: absolute;
  top: 12%;
  left: -16%;
  width: 132%;
  height: 20%;
  background: linear-gradient(90deg, transparent, rgba(244, 199, 107, 0.16), rgba(255, 255, 255, 0.1), transparent);
  opacity: 0.68;
  rotate: -12deg;
  animation: portraitLightSweep 3.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}

.portrait-guard-scene {
  position: relative;
  display: grid;
  place-items: center;
  width: min(38vh, 210px);
  height: min(38vh, 210px);
  min-width: 148px;
  min-height: 148px;
  margin-bottom: 18px;
  isolation: isolate;
}

.portrait-orbit {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(244, 199, 107, 0.46);
  border-left-color: transparent;
  border-bottom-color: rgba(109, 245, 226, 0.3);
  border-radius: 999px;
  box-shadow: 0 0 34px rgba(244, 199, 107, 0.12);
  animation: portraitOrbitSpin 4.2s linear infinite;
}

.portrait-orbit-secondary {
  inset: 0;
  border-color: rgba(109, 245, 226, 0.16);
  border-right-color: rgba(244, 199, 107, 0.34);
  animation-duration: 6.8s;
  animation-direction: reverse;
}

.portrait-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 9px;
  width: 84px;
  min-height: 142px;
  padding: 10px 9px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 21px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(16, 17, 18, 0.98);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.58),
    0 0 46px rgba(244, 199, 107, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform-origin: 50% 56%;
  animation: portraitCardFlip 3.7s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.portrait-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
}

.portrait-card-top span:first-child {
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.portrait-card-top span:last-child {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 16px rgba(244, 199, 107, 0.68);
}

.portrait-pass {
  position: relative;
  display: grid;
  align-content: end;
  justify-items: start;
  overflow: hidden;
  min-height: 62px;
  border: 1px solid rgba(244, 199, 107, 0.28);
  border-radius: 15px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 18% 16%, rgba(244, 199, 107, 0.22), transparent 38%),
    radial-gradient(circle at 88% 82%, rgba(109, 245, 226, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(244, 199, 107, 0.13), rgba(109, 245, 226, 0.06)),
    rgba(8, 13, 12, 0.92);
  background-size: 18px 18px, 18px 18px, auto, auto, auto, auto;
  padding: 9px;
}

.portrait-pass-shine {
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -48%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  rotate: 18deg;
  animation: portraitPassShine 3.7s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.portrait-pass-status {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #a6ffb7;
  box-shadow: 0 0 16px rgba(166, 255, 183, 0.58);
}

.portrait-pass strong,
.portrait-pass small {
  position: relative;
  z-index: 1;
  display: block;
  letter-spacing: 0;
  line-height: 1;
}

.portrait-pass strong {
  max-width: 100%;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 950;
}

.portrait-pass small {
  margin-top: 3px;
  color: var(--amber);
  font-size: 0.54rem;
  font-weight: 950;
}

.portrait-card-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.portrait-card-bars span {
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.portrait-card-home {
  justify-self: center;
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.portrait-guard-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.portrait-guard-copy .eyebrow {
  margin-bottom: 8px;
}

.portrait-guard-copy h2 {
  margin: 0;
  font-size: 2.15rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.portrait-guard-copy p:last-child {
  max-width: 19rem;
  margin: 9px 0 0;
  color: var(--soft);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
}

@keyframes portraitCardFlip {
  0% {
    opacity: 0.82;
    scale: 0.86;
    rotate: 68deg;
  }
  16% {
    opacity: 1;
    scale: 0.86;
    rotate: 68deg;
  }
  45% {
    opacity: 1;
    scale: 1;
    rotate: -3deg;
  }
  58%,
  84% {
    opacity: 1;
    scale: 1;
    rotate: 0deg;
  }
  100% {
    opacity: 0.82;
    scale: 0.86;
    rotate: 68deg;
  }
}

@keyframes portraitPassShine {
  0%,
  32% {
    translate: 0 0;
    opacity: 0;
  }
  46% {
    opacity: 0.92;
  }
  70%,
  100% {
    translate: 360% 0;
    opacity: 0;
  }
}

@keyframes portraitOrbitSpin {
  to {
    rotate: 360deg;
  }
}

@keyframes portraitLightSweep {
  0%,
  48% {
    translate: -26% 0;
    opacity: 0;
  }
  62% {
    opacity: 0.68;
  }
  100% {
    translate: 26% 0;
    opacity: 0;
  }
}

@media (orientation: landscape) and (max-height: 620px) {
  .portrait-guard {
    display: grid;
  }
}

@media (orientation: landscape) and (max-height: 620px) and (hover: hover) and (pointer: fine) {
  .portrait-guard {
    display: none;
  }
}

@media (orientation: landscape) and (max-height: 380px) {
  .portrait-guard {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    text-align: left;
  }

  .portrait-guard-scene {
    width: 142px;
    height: 142px;
    min-width: 142px;
    min-height: 142px;
    margin-bottom: 0;
  }

  .portrait-guard-copy {
    justify-items: start;
  }

  .portrait-guard-copy h2 {
    font-size: 1.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portrait-guard::after,
  .portrait-orbit,
  .portrait-card,
  .portrait-pass-shine {
    animation: none;
  }

  .portrait-card {
    opacity: 1;
    scale: 1;
    rotate: 0deg;
  }
}

.inline-share-icon {
  position: relative;
  top: 0.16em;
  display: inline-block;
  width: 1.12em;
  height: 1.12em;
  margin: 0 0.12em;
  border: 0.11em solid currentColor;
  border-top: 0;
  border-radius: 0.18em;
  color: var(--text);
}

.inline-share-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.34em;
  width: 0.11em;
  height: 0.82em;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}

.inline-share-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.24em;
  width: 0.48em;
  height: 0.48em;
  border-left: 0.11em solid currentColor;
  border-top: 0.11em solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

.install-android ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.15rem;
}

.install-android li::marker {
  color: var(--amber);
  font-weight: 900;
}

.inline-dots-icon {
  position: relative;
  top: 0.18em;
  display: inline-block;
  width: 0.28em;
  height: 1.05em;
  margin: 0 0.16em;
  color: var(--text);
}

.inline-dots-icon::before {
  content: "";
  position: absolute;
  top: 0.04em;
  left: 50%;
  width: 0.22em;
  height: 0.22em;
  border-radius: 50%;
  background: currentColor;
  box-shadow:
    0 0.38em 0 currentColor,
    0 0.76em 0 currentColor;
  transform: translateX(-50%);
}

.install-android[hidden],
.install-ios[hidden] {
  display: none;
}

.signup-panel {
  width: min(560px, 100%);
  border: 1px solid rgba(244, 199, 107, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.026)),
    linear-gradient(145deg, rgba(244, 199, 107, 0.08), transparent 34%),
    rgba(15, 16, 18, 0.94);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  padding: 20px 24px 24px;
}

.signup-logo-shell {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  margin: -10px auto 10px;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 45%, rgba(244, 199, 107, 0.09), transparent 46%),
    #090b10;
}

.signup-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.03);
}

.signup-panel h1 {
  margin: 0 0 22px;
  max-width: 20rem;
  font-size: clamp(2rem, 8vw, 3.2rem);
  letter-spacing: 0;
  line-height: 0.98;
}

.signup-options {
  display: grid;
  gap: 10px;
}

.signup-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  min-height: 94px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 16px;
  text-align: left;
}

.signup-card:hover,
.signup-card:focus-visible {
  border-color: rgba(244, 199, 107, 0.62);
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.signup-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(232, 201, 120, 0.12);
  color: var(--amber);
}

.signup-ticket-icon {
  width: 25px;
  height: 19px;
  fill: rgba(244, 199, 107, 0.2);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: rotate(-8deg);
}

.signup-card strong {
  align-self: end;
  font-size: 1.02rem;
}

.signup-card small {
  align-self: start;
  line-height: 1.35;
}

.gym-register-link {
  justify-self: center;
  border: 0;
  background: transparent;
  color: var(--amber);
  font-size: 0.88rem;
  font-weight: 850;
  padding: 8px 10px 2px;
  text-decoration: underline;
  text-decoration-color: rgba(244, 199, 107, 0.38);
  text-underline-offset: 5px;
}

.login-link {
  justify-self: center;
  width: 100%;
  border: 1px solid rgba(244, 199, 107, 0.32);
  border-radius: var(--radius);
  background: rgba(244, 199, 107, 0.08);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 850;
  padding: 12px 14px;
}

.login-link:hover,
.login-link:focus-visible {
  border-color: rgba(244, 199, 107, 0.7);
  background: rgba(244, 199, 107, 0.14);
  color: #ffe39a;
  outline: none;
}

.instagram-browser-hint {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: 12px;
  z-index: 74;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: start;
  gap: 6px;
  width: min(332px, calc(100vw - 28px));
  pointer-events: none;
  color: var(--text);
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.42));
}

.instagram-browser-hint[hidden] {
  display: none;
}

.instagram-browser-arrow {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: block;
  width: 52px;
  height: 56px;
  margin-top: 0;
  overflow: visible;
  animation: instagramArrowNudge 1050ms ease-in-out infinite;
}

.instagram-browser-arrow::before {
  content: "";
  position: absolute;
  right: 14px;
  top: 0;
  width: 20px;
  height: 20px;
  border-top: 4px solid var(--amber);
  border-left: 4px solid var(--amber);
  border-radius: 3px;
  transform: rotate(45deg);
}

.instagram-browser-arrow::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 17px;
  width: 4px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(var(--amber), rgba(244, 199, 107, 0));
  transform-origin: top center;
}

.instagram-browser-hint div {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  border: 1px solid rgba(244, 199, 107, 0.36);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(244, 199, 107, 0.2), rgba(244, 199, 107, 0.06)),
    rgba(9, 10, 11, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px) saturate(1.2);
  padding: 10px 12px;
}

.instagram-browser-hint strong,
.instagram-browser-hint span {
  display: block;
}

.instagram-browser-hint strong {
  color: var(--amber);
  font-size: 0.86rem;
  line-height: 1.1;
}

.instagram-browser-hint div span {
  margin-top: 4px;
  color: var(--soft);
  font-size: 0.72rem;
  line-height: 1.28;
}

@keyframes instagramArrowNudge {
  0%,
  100% {
    transform: translate3d(0, 7px, 0);
  }

  50% {
    transform: translate3d(0, -1px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .instagram-browser-arrow {
    animation: none;
    transform: translate3d(0, 2px, 0);
  }
}

.instagram-access-prompt {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 5, 6, 0.68);
  backdrop-filter: blur(18px) saturate(1.2);
}

.instagram-access-prompt[hidden] {
  display: none;
}

.instagram-access-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.instagram-access-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(320px, calc(100vw - 40px));
  border: 1px solid rgba(244, 199, 107, 0.38);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(244, 199, 107, 0.18), rgba(244, 199, 107, 0.06)),
    rgba(12, 13, 14, 0.96);
  box-shadow:
    0 26px 72px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  padding: 18px;
  text-align: center;
}

.instagram-access-card strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.28;
}

.gym-register-link:hover,
.gym-register-link:focus-visible {
  color: #ffe39a;
  outline: none;
  text-decoration-color: currentColor;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 18px;
}

.topbar-title {
  flex: 1;
  min-width: 0;
}

.topbar-left-actions,
.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-left-actions {
  flex: 0 0 auto;
}

.topbar h1,
.section-heading h2,
.panel-header h2 {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 760;
  letter-spacing: 0;
}

.topbar > div {
  min-width: 0;
}

.topbar h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.icon-button,
.avatar-button,
.icon-submit,
.language-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.language-button {
  grid-template-columns: 1fr;
  gap: 1px;
  color: var(--soft);
  font-size: 0.92rem;
}

.language-button strong {
  color: var(--amber);
  font-size: 0.56rem;
  line-height: 1;
}

.logout-button {
  position: relative;
  color: var(--soft);
}

.logout-button::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 27px;
  height: 24px;
  background: currentColor;
  opacity: 0.9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 12.5c0-5 3.4-8.2 8.7-8.2h3.1' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M7 12.5c0 5 3.4 8.2 8.7 8.2h9.5' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M21.5 13.1 27.5 20.7 21.5 26' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 12.5c0-5 3.4-8.2 8.7-8.2h3.1' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M7 12.5c0 5 3.4 8.2 8.7 8.2h9.5' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M21.5 13.1 27.5 20.7 21.5 26' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.logout-button span {
  display: none;
}

.notification-bell {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 25px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  padding: 0;
}

.notification-bell-icon {
  display: block;
  width: 25px;
  height: 25px;
  background: currentColor;
  opacity: 0.86;
  transform-origin: 50% 6%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 22a2.7 2.7 0 0 0 2.58-1.9H9.42A2.7 2.7 0 0 0 12 22Zm7.1-5.6-1.45-1.67V10.3c0-3.05-1.63-5.6-4.45-6.28V3.4a1.2 1.2 0 1 0-2.4 0v.62c-2.82.68-4.45 3.22-4.45 6.28v4.43L4.9 16.4a1.15 1.15 0 0 0 .87 1.9h12.46a1.15 1.15 0 0 0 .87-1.9Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 22a2.7 2.7 0 0 0 2.58-1.9H9.42A2.7 2.7 0 0 0 12 22Zm7.1-5.6-1.45-1.67V10.3c0-3.05-1.63-5.6-4.45-6.28V3.4a1.2 1.2 0 1 0-2.4 0v.62c-2.82.68-4.45 3.22-4.45 6.28v4.43L4.9 16.4a1.15 1.15 0 0 0 .87 1.9h12.46a1.15 1.15 0 0 0 .87-1.9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.notification-bell.is-ringing .notification-bell-icon {
  animation: bellRingOnce 0.52s cubic-bezier(0.2, 0.82, 0.22, 1) both;
}

@keyframes bellRingOnce {
  0%,
  100% {
    transform: rotate(0deg);
  }
  12% {
    transform: rotate(18deg);
  }
  25% {
    transform: rotate(-16deg);
  }
  38% {
    transform: rotate(12deg);
  }
  52% {
    transform: rotate(-9deg);
  }
  68% {
    transform: rotate(5deg);
  }
  82% {
    transform: rotate(-2deg);
  }
}

.notification-bell-dot {
  position: absolute;
  top: 8px;
  right: -3px;
  width: 8px;
  height: 8px;
  border: 2px solid #111214;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(244, 199, 107, 0.42);
}

.notification-bell[hidden],
.notification-bell-dot[hidden] {
  display: none;
}

.notification-bell:focus-visible {
  outline: 2px solid rgba(244, 199, 107, 0.58);
  outline-offset: 3px;
}

.notification-bell:active .notification-bell-icon {
  transform: translateY(1px) scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
  .notification-bell.is-ringing .notification-bell-icon {
    animation: none;
  }
}

.avatar-button {
  overflow: hidden;
  padding: 0;
  font-size: 0.76rem;
  font-weight: 800;
}

.avatar-button.has-photo {
  background: transparent;
}

.avatar-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-layout {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.primary-column {
  display: grid;
  min-width: 0;
  gap: 16px;
  overflow-anchor: none;
}

.pass-card {
  position: relative;
  --pass-hero-transition: 0.74s cubic-bezier(0.18, 0.78, 0.18, 1);
  --pass-text-transition: 0.68s cubic-bezier(0.18, 0.78, 0.18, 1);
  --pass-hero-edge: 22px;
  --pass-content-edge: var(--pass-hero-edge);
  --pass-hero-height: 260px;
  --pass-metrics-bottom: 18px;
  width: 100%;
  min-width: 0;
  height: var(--pass-hero-height);
  min-height: 0;
  overflow: hidden;
  overflow-anchor: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 3% 3%, rgba(244, 199, 107, 0.22), transparent 29%),
    radial-gradient(circle at 94% 92%, rgba(142, 231, 211, 0.12), transparent 34%),
    linear-gradient(128deg, rgba(41, 43, 35, 0.92) 0%, rgba(25, 29, 26, 0.96) 37%, rgba(11, 25, 23, 0.96) 100%);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(142, 231, 211, 0.1);
  contain: layout paint;
  isolation: isolate;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition:
    height var(--pass-hero-transition),
    border-color 0.22s ease;
}

.pass-card.is-gym-pass {
  --pass-hero-edge: 22px;
  --pass-hero-height: 258px;
  --pass-metrics-bottom: 26px;
  border-color: rgba(232, 201, 120, 0.34);
  background:
    radial-gradient(circle at 3% 3%, rgba(244, 199, 107, 0.24), transparent 30%),
    radial-gradient(circle at 94% 92%, rgba(142, 231, 211, 0.13), transparent 34%),
    linear-gradient(128deg, rgba(43, 41, 31, 0.94) 0%, rgba(25, 29, 26, 0.96) 36%, rgba(11, 25, 23, 0.96) 100%);
}

.pass-card.is-compact {
  --pass-hero-edge: 22px;
  --pass-hero-height: 148px;
  --pass-metrics-bottom: 16px;
}

.pass-card.is-gym-pass.is-compact {
  --pass-hero-height: 158px;
}

.pass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-position: 0 -1px;
  background-size: 38px 38px;
  opacity: 0.82;
  pointer-events: none;
}

.pass-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -196px;
  top: 32px;
  width: 438px;
  height: 438px;
  border: 9px solid rgba(235, 241, 235, 0.12);
  border-radius: 999px;
  background:
    radial-gradient(circle at 76% 50%, rgba(6, 17, 16, 0.92) 0 42%, rgba(255, 255, 255, 0.09) 42.4% 44.2%, transparent 44.7%),
    radial-gradient(circle at 18% 58%, rgba(255, 255, 255, 0.105) 0 39%, transparent 39.6%);
  opacity: 0.86;
  transform: rotate(-11deg);
  pointer-events: none;
}

.pass-orbit {
  position: absolute;
  z-index: 1;
  right: -132px;
  top: -2px;
  width: 392px;
  height: 392px;
  opacity: 0.45;
  transform: rotate(-5deg);
  transition:
    opacity 0.38s ease,
    transform var(--pass-hero-transition);
}

.pass-orbit canvas {
  width: 100%;
  height: 100%;
}

.pass-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  padding: var(--pass-content-edge);
  pointer-events: none;
}

.status-row,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 7px 10px;
}

.status-row {
  pointer-events: auto;
  width: fit-content;
  justify-content: flex-start;
  max-width: calc(100% - 10px);
  min-height: 42px;
  background: rgba(255, 255, 255, 0.082);
  border-color: rgba(255, 255, 255, 0.19);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 16px 34px rgba(0, 0, 0, 0.16);
  padding: 6px 7px 6px 12px;
  transition:
    transform var(--pass-hero-transition),
    opacity 0.3s ease;
}

#passPlan {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-refresh-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(232, 201, 120, 0.22);
  border-top-color: var(--amber);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(232, 201, 120, 0.2);
  animation: profileRefreshSpin 0.82s linear infinite;
}

.profile-refresh-spinner[hidden] {
  display: none;
}

@keyframes profileRefreshSpin {
  to {
    transform: rotate(360deg);
  }
}

.pill.is-live-pool {
  border-color: rgba(185, 245, 184, 0.28);
  background: rgba(185, 245, 184, 0.09);
  color: var(--green);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.plan-button {
  pointer-events: auto;
  flex: 0 0 auto;
  border: 1px solid rgba(232, 201, 120, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(244, 199, 107, 0.2), rgba(244, 199, 107, 0.08));
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 900;
  margin-left: 6px;
  min-height: 30px;
  padding: 6px 11px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

.plan-button[hidden] {
  display: none;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(185, 245, 184, 0.72);
}

.pass-label {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 17rem;
  margin: 24px 0 0;
  color: var(--text);
  font-size: 1.64rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  transform-origin: left top;
  transform: translateZ(0);
  transition:
    opacity var(--pass-text-transition),
    visibility 0s linear 0s,
    transform var(--pass-text-transition);
  will-change: opacity, transform;
}

.pass-label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.34rem;
  border: 1px solid rgba(255, 235, 173, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(135deg, #ffe899 0%, #e7b849 52%, #c99a2e 100%);
  color: #0b0a08;
  font-size: 0.58em;
  font-weight: 950;
  line-height: 1;
  padding: 0.28em 0.64em 0.3em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 8px 18px rgba(232, 184, 73, 0.16);
}

.pass-card.is-gym-pass .pass-label {
  display: none;
}

.pass-card.is-gym-pass .member-id {
  margin-top: 22px;
}

.pass-card.is-gym-pass .member-id strong {
  max-width: 18rem;
  font-size: 1.56rem;
  font-weight: 820;
  line-height: 1.05;
}

.pass-card.is-gym-pass .pass-metrics div {
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.member-id {
  display: grid;
  gap: 5px;
  margin-top: 2px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  transform-origin: left top;
  transform: translateZ(0);
  transition:
    opacity var(--pass-text-transition),
    visibility 0s linear 0s,
    transform var(--pass-text-transition);
  will-change: opacity, transform;
}

.member-id strong {
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.04;
  text-transform: none;
}

.partner-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font: inherit;
  letter-spacing: inherit;
  margin-top: 1px;
  text-transform: uppercase;
}

.partner-status[hidden] {
  display: none !important;
}

.partner-status-check {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 0.86em;
  height: 0.86em;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(185, 245, 184, 0.34);
}

.partner-status-check::after {
  content: "";
  width: 0.36em;
  height: 0.2em;
  margin-top: -0.05em;
  border-bottom: 0.12em solid #07120d;
  border-left: 0.12em solid #07120d;
  transform: rotate(-45deg);
}

.pass-metrics,
.owner-stats,
.owner-user-summary,
.waiver-status-row,
.formula-strip,
.pulse-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pass-metrics {
  position: absolute;
  right: var(--pass-hero-edge);
  bottom: var(--pass-metrics-bottom);
  left: var(--pass-hero-edge);
  transition: transform var(--pass-hero-transition);
}

.pass-card.is-compact .pass-orbit {
  opacity: 0.34;
  transform: translateY(-52px) scale(0.82) rotate(-5deg);
}

.pass-card.is-compact .pass-label,
.pass-card.is-compact .member-id {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -5px, 0);
  transition:
    opacity 0.48s cubic-bezier(0.22, 0.72, 0.22, 1),
    visibility 0s linear 0.5s,
    transform 0.62s cubic-bezier(0.18, 0.78, 0.18, 1);
  visibility: hidden;
}

.pass-card.is-compact .pass-metrics {
  transform: none;
}

.pass-card.is-compact .pass-metrics div {
  min-height: 52px;
  padding: 7px 8px;
}

.pass-card.is-compact .pass-metrics span {
  font-size: 0.82rem;
}

.pass-card.is-compact .pass-metrics small {
  font-size: 0.61rem;
}

.pass-metrics div,
.owner-stats div,
.owner-user-summary div,
.waiver-status-row div,
.formula-strip div,
.pulse-footer div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(3, 5, 5, 0.18);
  padding: 10px 11px;
}

.pass-metrics div {
  transition: none;
  min-height: 58px;
  background: rgba(4, 7, 7, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.072);
}

.pass-metrics span,
.owner-stats span,
.owner-user-summary span,
.waiver-status-row span,
.formula-strip strong,
.pulse-footer span {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

small,
.formula-strip span {
  color: var(--muted);
  font-size: 0.7rem;
}

.pass-metrics span,
.pass-metrics small {
  transition: none;
}

.pass-metrics span {
  font-size: 0.98rem;
}

.pass-metrics small {
  font-size: 0.64rem;
}

.mode-tabs {
  position: fixed;
  left: var(--mode-tabs-rest-inset);
  right: var(--mode-tabs-rest-inset);
  bottom: 16px;
  z-index: 10;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background-color: rgba(10, 10, 11, 0.22);
  padding: 7px;
  backdrop-filter: blur(16px) saturate(1.45);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  isolation: isolate;
  --mode-tabs-rest-inset: 30px;
  --mode-tabs-bounce-y: 0px;
  --mode-tabs-bounce-scale: 1;
  transform: translate3d(0, var(--mode-tabs-bounce-y), 0) scale(var(--mode-tabs-bounce-scale));
  transform-origin: bottom center;
  transition:
    transform 0.48s cubic-bezier(0.2, 0.86, 0.2, 1),
    background-color 0.48s ease,
    border-color 0.48s ease,
    box-shadow 0.48s ease;
  will-change: transform;
}

.mode-tabs::before,
.mode-tabs::after {
  content: "";
  position: absolute;
  top: var(--tab-indicator-y, 7px);
  left: 0;
  z-index: 0;
  width: var(--tab-indicator-width, 0px);
  height: var(--tab-indicator-height, 54px);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(232, 201, 120, 0.1), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--tab-indicator-x, 0px), 0, 0);
  transition:
    transform 0.66s cubic-bezier(0.2, 0.86, 0.2, 1),
    width 0.66s cubic-bezier(0.2, 0.86, 0.2, 1),
    height 0.28s ease,
    top 0.28s ease,
    opacity 0.2s ease;
  will-change: transform, width;
}

.mode-tabs::after {
  background: linear-gradient(135deg, rgba(255, 220, 132, 0.15), rgba(255, 255, 255, 0.075));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 16px rgba(244, 199, 107, 0.12);
  filter: brightness(1.14) saturate(1.04);
  opacity: 0;
  transition:
    transform 0.66s cubic-bezier(0.2, 0.86, 0.2, 1),
    width 0.66s cubic-bezier(0.2, 0.86, 0.2, 1),
    height 0.28s ease,
    top 0.28s ease,
    opacity 0.36s ease-out;
}

.mode-tabs.is-tab-indicator-ready::before {
  opacity: 1;
}

.mode-tabs.is-tab-indicator-gliding::after {
  opacity: 1;
}

.mode-tabs.is-scroll-compact {
  border-color: rgba(255, 255, 255, 0.1);
  background-color: rgba(10, 10, 11, 0.16);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  --mode-tabs-bounce-y: 5px;
  --mode-tabs-bounce-scale: 0.78;
}

.mode-tabs.role-member {
  grid-template-columns: repeat(5, 1fr);
}

.mode-tabs.role-gym {
  grid-template-columns: repeat(4, 1fr);
}

.tab {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr;
  align-content: center;
  justify-items: center;
  gap: 0;
  place-items: center;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.tab > span:last-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.tab-icon {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  color: currentColor;
  font-size: 1.7rem;
  line-height: 1;
}

.tab[data-view="member"] .tab-icon {
  font-size: 1.95rem;
  transform: translateY(0.01em);
}

.scanner-status-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  margin: 0 0.08rem;
  color: var(--gold);
  vertical-align: -0.32rem;
}

.scanner-status-tab-icon svg {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
}

.scanner-status-tab-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4.2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.tab-icon-review {
  font-size: 1.42rem;
  transform: translateY(0.06em);
}

.tab-ticket-icon {
  width: 1.62rem;
  height: 1.22rem;
  fill: rgba(244, 199, 107, 0.16);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: rotate(-45deg);
  transform-origin: center;
}

.promo-tab.has-promo-alert .tab-ticket-icon {
  animation: promo-ticket-shake 1.8s ease-in-out infinite;
}

@keyframes promo-ticket-shake {
  0%,
  50%,
  100% {
    color: rgba(242, 247, 245, 0.9);
    fill: rgba(244, 199, 107, 0.16);
    transform: translate3d(0, 0, 0) rotate(-45deg) scale(1);
  }

  7% {
    color: var(--amber);
    fill: rgba(244, 199, 107, 0.38);
    transform: translate3d(-2px, -1px, 0) rotate(-56deg) scale(1.08);
  }

  14% {
    color: var(--gold);
    fill: rgba(244, 199, 107, 0.46);
    transform: translate3d(2px, 1px, 0) rotate(-34deg) scale(1.1);
  }

  21% {
    color: var(--amber);
    fill: rgba(244, 199, 107, 0.36);
    transform: translate3d(-1.5px, 0, 0) rotate(-54deg) scale(1.06);
  }

  28% {
    color: rgba(242, 247, 245, 0.96);
    fill: rgba(244, 199, 107, 0.24);
    transform: translate3d(1px, -0.5px, 0) rotate(-37deg) scale(1.04);
  }

  35% {
    transform: translate3d(-0.5px, 0, 0) rotate(-49deg) scale(1.02);
  }

  42% {
    transform: translate3d(0.5px, 0, 0) rotate(-41deg) scale(1.01);
  }
}

.tab-dot {
  display: none;
}

.tab.is-active {
  color: var(--text);
}

.tab[hidden],
.view[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .mode-tabs::before,
  .mode-tabs::after {
    transition: none;
  }
}

.view {
  display: none;
  min-width: 0;
  gap: 12px;
  overflow-anchor: none;
}

.view.is-active {
  display: grid;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.heading-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.member-network-actions {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.gym-filter-control {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--soft);
  background: rgba(142, 231, 211, 0);
  box-shadow: 0 0 0 rgba(142, 231, 211, 0);
  transition:
    border-color 520ms ease,
    background-color 520ms ease,
    box-shadow 520ms ease,
    color 520ms ease;
}

.gym-filter-control:focus-within {
  border-color: rgba(142, 231, 211, 0.36);
  background: rgba(142, 231, 211, 0.08);
  box-shadow: 0 0 0 1px rgba(142, 231, 211, 0.12), 0 0 18px rgba(142, 231, 211, 0.1);
}

.gym-filter-control.is-filtered {
  color: var(--amber);
}

.gym-filter-control.is-filtered:focus-within {
  border-color: rgba(244, 199, 107, 0.36);
  background: rgba(244, 199, 107, 0.08);
  box-shadow: 0 0 0 1px rgba(244, 199, 107, 0.12), 0 0 18px rgba(244, 199, 107, 0.1);
}

.gym-filter-icon {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 26px;
}

.gym-filter-icon span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.gym-filter-icon span:nth-child(1) {
  width: 24px;
}

.gym-filter-icon span:nth-child(2) {
  width: 18px;
}

.gym-filter-icon span:nth-child(3) {
  width: 12px;
}

.gym-filter-control select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.export-action {
  border: 1px solid rgba(142, 231, 211, 0.32);
  border-radius: 999px;
  background: rgba(142, 231, 211, 0.1);
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 850;
  padding: 7px 10px;
}

.gym-list,
.recent-list,
.owner-user-list,
.waiver-completion-list,
.split-list,
.promo-list,
.promo-reward-list {
  display: grid;
  gap: 10px;
}

.gym-card,
.checkin-card,
.owner-user-card,
.waiver-completion-card,
.split-card,
.promo-card,
.promo-reward-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.gym-card {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  color: var(--text);
  text-align: left;
}

.gym-card.has-active-promo {
  border-color: rgba(142, 231, 211, 0.42);
  background:
    linear-gradient(135deg, rgba(142, 231, 211, 0.1), rgba(232, 201, 120, 0.06)),
    var(--surface);
}

.gym-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: #06100d;
  font-weight: 900;
}

.gym-mark.has-photo {
  background-position: center;
  background-size: cover;
  color: transparent;
}

.gym-title,
.user-visit-meta,
.waiver-completion-meta,
.split-title {
  min-width: 0;
}

.split-name-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.gym-name-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.gym-title strong,
.user-visit-meta strong,
.waiver-completion-meta strong,
.split-title strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.split-name-line strong {
  min-width: 0;
}

.gym-name-line strong {
  min-width: 0;
}

.gym-title span,
.checkin-card span,
.user-visit-meta span,
.waiver-completion-meta span,
.split-title span {
  color: var(--muted);
  font-size: 0.78rem;
}

.gym-title span {
  display: block;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.waiver-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  border: 1px solid rgba(232, 154, 135, 0.28);
  border-radius: 999px;
  background: rgba(232, 154, 135, 0.08);
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 8px;
}

.waiver-mini span {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--coral);
  color: #11100d;
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
}

.waiver-mini.is-signed {
  border-color: rgba(185, 245, 184, 0.32);
  background: rgba(185, 245, 184, 0.1);
  color: var(--green);
}

.waiver-mini.is-signed span {
  background: var(--green);
}

.waiver-mini.is-loading {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--soft);
}

.waiver-mini.is-loading span {
  background: rgba(255, 255, 255, 0.14);
  color: var(--soft);
}

.owner-access-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.access-mini {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(244, 199, 107, 0.3);
  border-radius: 999px;
  background: rgba(244, 199, 107, 0.1);
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 8px;
}

.access-mini.is-recovery {
  border-color: rgba(142, 231, 211, 0.32);
  background: rgba(142, 231, 211, 0.1);
  color: var(--aqua);
}

.access-mini.is-reviewed {
  border-color: rgba(185, 245, 184, 0.34);
  background: rgba(185, 245, 184, 0.1);
  color: var(--green);
}

.access-mini.is-duplicate,
.admin-scan-tag.is-duplicate {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.admin-scan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 5px;
}

.admin-scan-tags small {
  margin-top: 0;
}

.admin-scan-tag {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 850;
}

.gym-action {
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  padding: 10px 11px;
}

.gym-card.has-fixed-action .gym-action {
  width: auto;
  max-width: none;
  white-space: nowrap;
}

html[data-translated="true"] .gym-card:not(.has-fixed-action) .gym-action {
  max-width: min(240px, 100%);
  overflow-wrap: anywhere;
  white-space: normal;
}

.scanner-frame,
.owner-code,
.desktop-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.reception-ready-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f2df9a, #caa760);
  color: #11100d;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow:
    0 14px 34px rgba(202, 167, 96, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.reception-ready-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 76px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(232, 201, 120, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 16, 15, 0.96), rgba(25, 28, 26, 0.92)),
    rgba(0, 0, 0, 0.72);
  padding: 14px;
  text-align: left;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  z-index: 2;
}

.owner-code.is-armed .reception-ready-panel {
  display: none;
}

.reception-ready-action.is-armed {
  border: 1px solid rgba(185, 245, 184, 0.44);
  background:
    linear-gradient(135deg, rgba(185, 245, 184, 0.18), rgba(142, 231, 211, 0.1)),
    rgba(255, 255, 255, 0.06);
  color: var(--green);
}

.scanner-frame {
  min-height: 280px;
}

#scanVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.scanner-frame.is-camera-on #scanVideo {
  opacity: 1;
}

.scanner-frame.is-camera-on .scanner-copy {
  display: none;
}

.scanner-frame.is-success {
  border-color: rgba(142, 231, 211, 0.58);
  box-shadow:
    0 0 0 1px rgba(142, 231, 211, 0.12),
    0 18px 70px rgba(142, 231, 211, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.scanner-frame.is-success.is-duplicate {
  border-color: rgba(255, 107, 120, 0.58);
  box-shadow:
    0 0 0 1px rgba(255, 107, 120, 0.16),
    0 18px 70px rgba(255, 107, 120, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.scanner-frame.is-success .scan-grid {
  border-color: rgba(142, 231, 211, 0.72);
  box-shadow: 0 0 42px rgba(142, 231, 211, 0.18), inset 0 0 30px rgba(142, 231, 211, 0.08);
  animation: successGrid 1.15s ease both;
}

.scanner-frame.is-success.is-duplicate .scan-grid {
  border-color: rgba(255, 107, 120, 0.72);
  box-shadow: 0 0 42px rgba(255, 107, 120, 0.2), inset 0 0 30px rgba(255, 107, 120, 0.1);
}

.scanner-frame.is-camera-on .scan-grid {
  opacity: 0.38;
}

.scan-grid {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(232, 201, 120, 0.72);
  background:
    linear-gradient(90deg, rgba(232, 201, 120, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(232, 201, 120, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: 0 0 30px rgba(232, 201, 120, 0.12), inset 0 0 30px rgba(232, 201, 120, 0.06);
}

.scanner-copy {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(7, 7, 8, 0.62);
  color: var(--text);
  padding: 13px;
  backdrop-filter: blur(16px);
}

.scan-kicker {
  color: var(--amber);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scanner-copy strong {
  overflow-wrap: anywhere;
  font-size: 1.2rem;
  line-height: 1.1;
}

.scanner-copy span {
  color: var(--soft);
  font-size: 0.84rem;
}

.scanner-copy .scan-kicker {
  color: var(--amber);
  font-size: 0.66rem;
}

.scanner-success {
  position: absolute;
  inset: 18px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(142, 231, 211, 0.26);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 20%, rgba(142, 231, 211, 0.2), transparent 28%),
    rgba(7, 7, 8, 0.7);
  text-align: center;
  backdrop-filter: blur(18px);
  animation: successPanel 0.72s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.scanner-success.is-duplicate {
  border-color: rgba(255, 107, 120, 0.36);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 107, 120, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(255, 107, 120, 0.16), transparent 44%),
    rgba(7, 7, 8, 0.76);
}

.scanner-success[hidden] {
  display: none;
}

.scanner-success strong {
  max-width: 92%;
  overflow-wrap: anywhere;
  font-size: 1.32rem;
  line-height: 1.1;
}

.scanner-success small {
  max-width: 18rem;
  color: var(--soft);
  font-size: 0.78rem;
  line-height: 1.35;
}

.success-mark {
  position: relative;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(142, 231, 211, 0.58);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(142, 231, 211, 0.26), rgba(232, 201, 120, 0.13)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 42px rgba(142, 231, 211, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.scanner-success.is-duplicate .success-mark {
  border-color: rgba(255, 107, 120, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 107, 120, 0.26), rgba(232, 201, 120, 0.1)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 42px rgba(255, 107, 120, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.success-mark::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(142, 231, 211, 0.22);
  border-radius: inherit;
  animation: successRing 1.1s ease-out both;
}

.scanner-success.is-duplicate .success-mark::before {
  border-color: rgba(255, 107, 120, 0.24);
}

.success-mark::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 17px;
  width: 17px;
  height: 10px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
  transform-origin: center;
}

.scanner-success.is-duplicate .success-mark::after {
  content: "!";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  border: 0;
  color: #ff8a94;
  font-size: 1.65rem;
  font-weight: 950;
  line-height: 1;
  transform: none;
}

@keyframes successPanel {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes successRing {
  from {
    opacity: 0.8;
    transform: scale(0.78);
  }
  to {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes successGrid {
  0% {
    opacity: 0.28;
    transform: scale(0.98);
  }
  48% {
    opacity: 0.72;
  }
  100% {
    opacity: 0.38;
    transform: scale(1);
  }
}

.control-row,
.input-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.primary-action,
.ghost-action {
  min-height: 48px;
  border-radius: var(--radius);
  font-weight: 800;
}

.primary-action {
  border: 0;
  background: linear-gradient(135deg, #f2df9a, #caa760);
  color: #11100d;
}

.ghost-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
}

.scan-history-more {
  width: 100%;
  margin-top: 10px;
}

.manual-form,
.select-label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.manual-form[hidden] {
  display: none;
}

.location-display {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  padding: 13px 14px;
}

.location-display strong {
  overflow: hidden;
  color: var(--text);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-display span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
  font-size: 16px;
  outline: none;
  padding: 0 12px;
  touch-action: manipulation;
}

input,
select {
  min-height: 48px;
}

textarea {
  min-height: 150px;
  padding: 12px;
  resize: vertical;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(232, 201, 120, 0.72);
  box-shadow: 0 0 0 4px rgba(232, 201, 120, 0.1);
}

.country-autocomplete {
  position: relative;
}

.country-suggestions {
  position: absolute;
  z-index: 25;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  display: grid;
  overflow: hidden;
  max-height: 218px;
  border: 1px solid rgba(232, 201, 120, 0.36);
  border-radius: 16px;
  background: rgba(28, 29, 29, 0.98);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
}

.country-suggestions[hidden] {
  display: none;
}

.country-suggestion {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: left;
  padding: 0 12px;
}

.country-suggestion:last-child {
  border-bottom: 0;
}

.country-suggestion:focus,
.country-suggestion:hover {
  background: rgba(232, 201, 120, 0.12);
  outline: none;
}

.country-suggestion-flag {
  font-size: 1.15rem;
}

.country-suggestion-code {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

input[readonly] {
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
  cursor: default;
}

input[readonly]:focus {
  border-color: var(--line);
  box-shadow: none;
}

.locked-profile-value {
  display: flex;
  align-items: center;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
  font-size: 16px;
  padding: 0 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 10px;
}

.facility-tag {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 850;
  padding: 8px 11px;
}

.facility-tag.is-selected {
  border-color: rgba(244, 199, 107, 0.72);
  background: rgba(244, 199, 107, 0.16);
  color: var(--amber);
}

.facility-tag.is-selected.is-extra {
  border-color: rgba(142, 231, 211, 0.72);
  background: rgba(142, 231, 211, 0.14);
  color: var(--aqua);
}

.facility-tag:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.tag-helper {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.checkin-card {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.owner-user-summary {
  grid-template-columns: repeat(2, 1fr);
}

.owner-user-card {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  color: var(--text);
  text-align: left;
}

.user-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(232, 201, 120, 0.22), rgba(255, 255, 255, 0.06));
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit-value {
  text-align: right;
}

.visit-value strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
}

.visit-value small {
  display: block;
}

.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  padding: 16px;
}

.compact-heading {
  align-items: center;
}

.compact-heading h2 {
  font-size: 1rem;
}

.promo-card {
  background:
    linear-gradient(135deg, rgba(142, 231, 211, 0.08), rgba(232, 201, 120, 0.045)),
    var(--surface);
}

.promo-card.is-closed {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.promo-card-head,
.promo-member-row,
.promo-reward-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.promo-card-head h3,
.promo-reward-card strong {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.promo-card-head span,
.promo-member-row span,
.promo-reward-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.promo-countdown {
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.promo-card.is-closed .promo-countdown {
  color: var(--amber);
}

.promo-leaderboard {
  display: grid;
  gap: 6px;
}

.promo-leaderboard-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  padding: 9px 14px;
}

.promo-leaderboard-loading span {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold, var(--amber, #f4c76b));
  box-shadow: 0 0 14px rgba(244, 199, 107, 0.24);
  opacity: 0.26;
  animation: promoDotFade 1.15s ease-in-out infinite;
}

.promo-leaderboard-loading span:nth-child(2) {
  animation-delay: 0.14s;
}

.promo-leaderboard-loading span:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes promoDotFade {
  0%,
  100% {
    opacity: 0.18;
    transform: translateX(0);
  }

  38% {
    opacity: 0.95;
    transform: translateX(3px);
  }
}

.promo-leader {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 9px 10px;
}

.promo-leader b {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(232, 201, 120, 0.14);
  color: var(--gold);
  font-size: 0.72rem;
}

.promo-leader strong {
  color: var(--text);
  font-size: 0.86rem;
}

.promo-member-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.promo-member-row strong {
  color: var(--text);
  font-size: 0.9rem;
}

.promo-rewards-panel {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.promo-reward-card {
  gap: 12px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.promo-reward-card > div {
  position: relative;
  z-index: 2;
}

.promo-reward-shine {
  position: absolute;
  inset: -42% -78%;
  z-index: 3;
  background:
    linear-gradient(
      118deg,
      transparent 42%,
      rgba(255, 255, 255, 0.08) 46%,
      rgba(255, 236, 178, 0.62) 48.5%,
      rgba(255, 255, 255, 0.9) 50%,
      rgba(244, 199, 107, 0.54) 51.5%,
      rgba(255, 255, 255, 0.08) 54%,
      transparent 58%
    );
  filter:
    blur(0.2px)
    drop-shadow(0 0 14px rgba(244, 199, 107, 0.42));
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-52%) rotate(0.001deg);
  transform-origin: center;
}

.promo-reward-card.is-shine-sweeping .promo-reward-shine {
  animation: promoRewardGlassShine 1.85s cubic-bezier(0.22, 0.76, 0.24, 1) 0.18s forwards;
}

@keyframes promoRewardGlassShine {
  0% {
    opacity: 0;
    transform: translateX(-54%) rotate(0.001deg);
  }

  16% {
    opacity: 0.78;
  }

  58% {
    opacity: 0.92;
  }

  100% {
    opacity: 0;
    transform: translateX(54%) rotate(0.001deg);
  }
}

.promo-reward-card.is-queued {
  background: rgba(255, 255, 255, 0.045);
}

.promo-reward-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 3.1rem;
}

.promo-reward-meta em {
  color: var(--aqua);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.promo-reward-ticket-icon {
  width: 2.05rem;
  height: 1.55rem;
  fill: rgba(244, 199, 107, 0.18);
  stroke: var(--gold, var(--amber, #f4c76b));
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  filter: drop-shadow(0 0 10px rgba(244, 199, 107, 0.22));
  transform: rotate(-45deg);
  transform-origin: center;
}

.promo-reward-card.is-queued .promo-reward-meta em {
  color: var(--muted);
}

.review-reward-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 199, 107, 0.08), rgba(142, 231, 211, 0.04)),
    var(--surface);
  padding: 20px;
}

.review-reward-card[hidden],
.review-reward-card.is-hidden {
  display: none;
}

.review-reward-card h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 6vw, 2.35rem);
  line-height: 0.96;
}

.review-reward-card p {
  margin: 0;
  color: var(--muted);
}

.review-reward-card .eyebrow {
  color: var(--gold);
}

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

.review-gym-list.is-empty {
  grid-template-columns: 1fr;
}

.review-gym-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 184px;
  align-content: space-between;
  justify-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    radial-gradient(150px 110px at 18% 12%, rgba(244, 199, 107, 0.16), transparent 64%),
    radial-gradient(160px 120px at 90% 16%, rgba(142, 231, 211, 0.1), transparent 62%),
    linear-gradient(145deg, rgba(244, 199, 107, 0.085), rgba(142, 231, 211, 0.055) 58%, rgba(255, 255, 255, 0.024)),
    rgba(13, 15, 15, 0.86);
  background-size:
    32px 32px,
    32px 32px,
    auto,
    auto,
    auto,
    auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -36px 70px rgba(0, 0, 0, 0.16);
  padding: 12px 9px;
}

.review-gym-main {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 9px;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.review-gym-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: clamp(70px, 20vw, 88px);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 199, 107, 0.28);
  border-radius: 17px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(244, 199, 107, 0.16), rgba(142, 231, 211, 0.08)),
    rgba(10, 10, 10, 0.86);
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
}

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

.review-gym-main strong,
.review-gym-main span,
.review-gym-main small {
  display: block;
  min-width: 0;
}

.review-gym-main strong {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.review-gym-main small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.review-gym-actions {
  display: grid;
  width: 100%;
  justify-items: center;
}

.review-status {
  display: none;
}

.review-action {
  display: grid;
  grid-auto-flow: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(244, 199, 107, 0.38);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(244, 199, 107, 0.14), rgba(244, 199, 107, 0.055));
  color: var(--amber);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  padding: 6px 8px;
}

.review-action:not(:disabled) {
  cursor: pointer;
}

.review-action-icon {
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  font-size: 0.72rem;
  line-height: 1;
}

.review-gift-icon {
  position: relative;
  display: block;
  width: 0.9em;
  height: 0.72em;
  border: 0.12em solid currentColor;
  border-radius: 0.14em;
  background:
    linear-gradient(currentColor, currentColor) 50% 0 / 0.12em 100% no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 0.12em no-repeat;
  box-sizing: border-box;
}

.review-gift-icon::before,
.review-gift-icon::after {
  content: "";
  position: absolute;
  top: -0.36em;
  width: 0.34em;
  height: 0.28em;
  border: 0.11em solid currentColor;
  box-sizing: border-box;
}

.review-gift-icon::before {
  right: 50%;
  border-radius: 0.34em 0.34em 0.08em 0.34em;
  transform: rotate(24deg);
  transform-origin: right bottom;
}

.review-gift-icon::after {
  left: 50%;
  border-radius: 0.34em 0.34em 0.34em 0.08em;
  transform: rotate(-24deg);
  transform-origin: left bottom;
}

.review-action-icon .review-gift-icon {
  font-size: 0.72rem;
}

.review-action.is-pending,
.review-action.is-available {
  border-color: rgba(142, 231, 211, 0.44);
  background: rgba(142, 231, 211, 0.12);
  color: #8ee7d3;
}

.review-action.is-used {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}

.review-action:disabled {
  cursor: default;
}

.review-confirm-card {
  width: min(430px, 100%);
}

.balance-bonus-card {
  width: min(430px, 100%);
}

.email-verify-card {
  width: min(430px, 100%);
}

.email-quality-card {
  width: min(430px, 100%);
}

.review-confirm-copy {
  margin: 0;
  color: var(--soft);
  font-size: 0.96rem;
  line-height: 1.45;
}

.email-quality-copy,
.email-verify-copy,
.balance-bonus-copy {
  margin: 0;
  color: var(--soft);
  font-size: 0.96rem;
  line-height: 1.45;
}

.email-quality-panel,
.email-verify-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  align-items: center;
  border: 1px solid rgba(142, 231, 211, 0.24);
  border-radius: var(--radius);
  background: rgba(142, 231, 211, 0.06);
  padding: 14px;
}

.email-quality-panel {
  grid-template-columns: 1fr;
  border-color: rgba(244, 199, 107, 0.28);
  background:
    linear-gradient(135deg, rgba(244, 199, 107, 0.12), rgba(142, 231, 211, 0.055)),
    rgba(255, 255, 255, 0.045);
}

.email-quality-panel span,
.email-verify-panel span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.email-quality-panel strong,
.email-verify-panel strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.96rem;
}

.email-quality-suggestion {
  display: grid;
  gap: 6px;
  width: 100%;
  min-height: 62px;
  border: 1px solid rgba(142, 231, 211, 0.32);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(142, 231, 211, 0.16), rgba(244, 199, 107, 0.06)),
    rgba(142, 231, 211, 0.065);
  color: var(--text);
  font: inherit;
  text-align: left;
  padding: 12px 14px;
}

.email-quality-suggestion[hidden] {
  display: none;
}

.email-quality-suggestion span {
  color: #8ee7d3;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.email-quality-suggestion strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.96rem;
}

.email-quality-suggestion:focus-visible,
.email-quality-suggestion:hover {
  border-color: rgba(142, 231, 211, 0.58);
  box-shadow: 0 0 0 3px rgba(142, 231, 211, 0.12);
  outline: 0;
}

.inline-edit-action {
  border: 0;
  background: transparent;
  color: var(--amber);
  font: inherit;
  font-weight: 850;
  padding: 4px 0 4px 8px;
}

.email-verify-edit,
.email-code-panel {
  display: grid;
  gap: 12px;
}

.email-verify-edit[hidden],
.email-code-panel[hidden],
.email-verify-actions button[hidden] {
  display: none;
}

.email-verify-field {
  display: grid;
  gap: 8px;
}

.email-verify-field span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.email-verify-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
  font: inherit;
  padding: 0 14px;
}

.email-code-entry {
  position: relative;
  min-height: 58px;
  border-radius: calc(var(--radius) + 4px);
}

.email-code-entry input {
  position: absolute;
  inset: 0;
  z-index: 3;
  min-height: 58px;
  border: 0;
  background: transparent;
  color: transparent;
  -webkit-text-fill-color: transparent;
  caret-color: transparent;
  font-size: 16px;
  opacity: 1;
  padding: 0;
  user-select: text;
  -webkit-user-select: text;
}

.email-code-entry input::selection {
  background: transparent;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.email-code-boxes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.email-code-box {
  display: grid;
  place-items: center;
  aspect-ratio: 0.82;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.28rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.email-code-box.is-active {
  border-color: rgba(232, 201, 120, 0.72);
  box-shadow:
    0 0 0 3px rgba(232, 201, 120, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.email-code-box.is-filled {
  border-color: rgba(142, 231, 211, 0.38);
  background:
    linear-gradient(180deg, rgba(142, 231, 211, 0.18), rgba(142, 231, 211, 0.065)),
    rgba(255, 255, 255, 0.07);
}

.email-code-entry.is-complete .email-code-box {
  transform: translateY(-1px);
}

.email-code-entry.is-error .email-code-box {
  border-color: rgba(255, 194, 182, 0.72);
  animation: emailCodeShake 240ms ease;
}

.email-code-paste {
  justify-self: center;
  min-height: 38px;
  border: 1px solid rgba(232, 201, 120, 0.32);
  border-radius: 999px;
  background: rgba(232, 201, 120, 0.1);
  color: var(--amber);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  padding: 0 16px;
}

.email-code-paste:focus-visible,
.email-code-paste:hover {
  border-color: rgba(232, 201, 120, 0.64);
  box-shadow: 0 0 0 3px rgba(232, 201, 120, 0.12);
  outline: 0;
}

.email-verify-field input:focus {
  border-color: rgba(232, 201, 120, 0.58);
  box-shadow: 0 0 0 3px rgba(232, 201, 120, 0.12);
  outline: 0;
}

.email-code-entry input:focus {
  border: 0;
  box-shadow: none;
  outline: 0;
}

.email-code-entry:focus-within .email-code-box.is-active,
.email-code-entry:focus-within .email-code-box:last-child.is-filled {
  border-color: rgba(232, 201, 120, 0.72);
  box-shadow:
    0 0 0 3px rgba(232, 201, 120, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

@keyframes emailCodeShake {
  0%,
  100% {
    transform: translateX(0);
  }
  35% {
    transform: translateX(-4px);
  }
  70% {
    transform: translateX(4px);
  }
}

.email-verify-status {
  min-height: 1.2em;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.email-verify-status.is-success {
  color: var(--green);
}

.email-verify-status.is-error {
  color: #ffc2b6;
}

.email-verify-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.email-verify-actions > .primary-action:only-child,
.email-verify-actions:has(.primary-action[hidden]) > .primary-action:not([hidden]) {
  grid-column: 1 / -1;
}

.balance-bonus-progress {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(142, 231, 211, 0.24);
  border-radius: var(--radius);
  background: rgba(142, 231, 211, 0.06);
  padding: 14px;
}

.balance-bonus-progress strong {
  color: var(--text);
  font-size: 0.94rem;
}

.review-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.review-confirm-actions button[hidden] {
  display: none;
}

.review-confirm-actions:has(button[hidden] + button[hidden]) {
  display: none;
}

.gym-loading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 199, 107, 0.08), rgba(255, 255, 255, 0.035)),
    var(--surface);
  padding: 18px;
}

.gym-loading-orbit {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(244, 199, 107, 0.22);
  border-top-color: var(--amber);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(244, 199, 107, 0.08);
  animation: loadingSpin 0.9s linear infinite;
}

.gym-loading-line {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
}

.gym-loading-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(244, 199, 107, 0.28), transparent);
  animation: loadingSweep 1.25s ease-in-out infinite;
}

.gym-loading-line.is-short {
  width: 58%;
}

@keyframes loadingSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loadingSweep {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

.compact-heading {
  margin-top: 8px;
}

.upload-zone {
  display: grid;
  min-width: 0;
  gap: 4px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  padding: 14px;
}

.upload-zone span {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.upload-zone strong {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: var(--text);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-zone input {
  min-width: 0;
  max-width: 100%;
  min-height: auto;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 0 0;
}

.compact-upload {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

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

.compact-upload::after {
  width: max-content;
  margin-top: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(244, 199, 107, 0.42);
  border-radius: 999px;
  background: rgba(244, 199, 107, 0.09);
  color: var(--amber);
  content: attr(data-action-label);
  font-size: 0.72rem;
  font-weight: 800;
}

.waiver-completion-card {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  color: var(--text);
  text-align: left;
}

.show-all-button {
  display: none;
}

.show-all-button.is-visible {
  display: block;
}

.waiver-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(185, 245, 184, 0.32);
  border-radius: 999px;
  background: rgba(185, 245, 184, 0.1);
  color: var(--green);
  font-weight: 900;
}

.waiver-prompt {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 16px;
  background: rgba(5, 5, 6, 0.78);
  backdrop-filter: blur(22px) saturate(1.2);
}

.waiver-prompt.is-visible {
  display: grid;
}

.waiver-prompt-card,
.sheet-card {
  display: grid;
  gap: 14px;
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(16, 17, 18, 0.96);
  box-shadow: var(--shadow);
  padding: 20px;
}

.waiver-prompt-card h2 {
  margin: 0;
  font-size: 1.4rem;
}

.waiver-prompt-body {
  max-height: 230px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  color: var(--soft);
  line-height: 1.5;
  padding: 14px;
  white-space: pre-wrap;
}

.waiver-pdf-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.waiver-pdf-note a,
.inline-pdf-button,
.waiver-pdf-link {
  display: inline-block;
  width: auto;
  max-width: 100%;
  border: 0;
  background: transparent;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
  font-family: inherit;
  padding: 0;
  overflow-wrap: anywhere;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.check-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: var(--soft);
  font-size: 0.9rem;
}

.check-row input {
  width: 20px;
  min-height: 20px;
  margin: 0;
  accent-color: var(--amber);
}

.profile-sheet,
.user-detail-sheet,
.waiver-pdf-sheet,
.photo-crop-sheet,
.all-waivers-sheet,
.gym-detail-sheet,
.review-confirm-sheet,
.balance-bonus-sheet,
.duplicate-scan-warning-sheet,
.plan-sheet,
.email-verify-sheet,
.email-quality-sheet,
.export-report-sheet,
.payout-sheet,
.payout-history-sheet,
.achievements-sheet,
.language-sheet,
.notifications-sheet,
.logout-confirm-sheet,
.auth-sheet,
.desktop-mobile-sheet,
.gym-application-sheet,
.admin-gym-edit-sheet,
.application-thanks-sheet {
  position: fixed;
  inset: 0;
  z-index: 62;
  display: none;
  align-items: end;
  justify-items: center;
  padding: 16px;
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: blur(22px) saturate(1.2);
}

.profile-sheet,
.all-waivers-sheet {
  z-index: 62;
}

.email-verify-sheet.is-code-mode {
  align-items: center;
}

.email-verify-sheet.is-keyboard-active {
  align-items: start;
  padding-top: calc(24px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--keyboard-inset, 0px));
}

.email-verify-sheet.is-keyboard-active .email-verify-card {
  max-height: calc(100dvh - 40px - env(safe-area-inset-top, 0px));
}

.gym-application-sheet {
  align-items: start;
  padding:
    calc(14px + env(safe-area-inset-top, 0px))
    16px
    calc(18px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.gym-application-sheet .sheet-card {
  max-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overscroll-behavior: contain;
}

.profile-sheet {
  align-items: center;
  padding:
    calc(22px + env(safe-area-inset-top, 0px))
    16px
    calc(22px + env(safe-area-inset-bottom, 0px));
}

.user-detail-sheet {
  z-index: 64;
}

.waiver-pdf-sheet {
  z-index: 65;
}

.photo-crop-sheet {
  z-index: 66;
}

.email-quality-sheet {
  z-index: 67;
}

.profile-sheet.is-visible,
.user-detail-sheet.is-visible,
.waiver-pdf-sheet.is-visible,
.photo-crop-sheet.is-visible,
.all-waivers-sheet.is-visible,
.gym-detail-sheet.is-visible,
.review-confirm-sheet.is-visible,
.balance-bonus-sheet.is-visible,
.duplicate-scan-warning-sheet.is-visible,
.plan-sheet.is-visible,
.email-verify-sheet.is-visible,
.email-quality-sheet.is-visible,
.export-report-sheet.is-visible,
.payout-sheet.is-visible,
.payout-history-sheet.is-visible,
.achievements-sheet.is-visible,
.language-sheet.is-visible,
.notifications-sheet.is-visible,
.logout-confirm-sheet.is-visible,
.auth-sheet.is-visible,
.desktop-mobile-sheet.is-visible,
.gym-application-sheet.is-visible,
.admin-gym-edit-sheet.is-visible,
.application-thanks-sheet.is-visible {
  display: grid;
}

.sheet-card {
  max-height: min(680px, calc(100vh - 32px));
  animation: sheetIn 180ms ease-out;
}

.duplicate-scan-warning-sheet {
  z-index: 68;
  align-items: center;
}

.duplicate-scan-warning-card {
  border-color: rgba(255, 107, 120, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 107, 120, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(16, 17, 18, 0.98);
}

.duplicate-scan-warning-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 107, 120, 0.42);
  border-radius: 999px;
  background: rgba(255, 107, 120, 0.14);
  color: #ff8a94;
  font-size: 1.3rem;
  font-weight: 950;
}

.duplicate-scan-warning-copy {
  margin: 0;
  color: var(--soft);
  line-height: 1.5;
}

.profile-sheet .sheet-card {
  max-height: min(680px, calc(100dvh - 44px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)));
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.profile-sheet .sheet-card::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.photo-crop-card {
  width: min(420px, 100%);
  gap: 18px;
}

.waiver-pdf-card {
  width: min(760px, 100%);
  gap: 14px;
}

.logout-confirm-card {
  width: min(430px, 100%);
}

.notifications-card {
  width: min(460px, 100%);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.notifications-card::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

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

.notification-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(9, 10, 11, 0.62);
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.notification-card:focus-visible {
  outline: 2px solid rgba(244, 199, 107, 0.65);
  outline-offset: 3px;
}

.notification-card:not(.is-passive):active {
  transform: scale(0.992);
}

.notification-card.is-passive {
  cursor: default;
}

.notification-card.is-unread {
  border-color: rgba(244, 199, 107, 0.32);
  background:
    linear-gradient(135deg, rgba(244, 199, 107, 0.1), rgba(255, 255, 255, 0.028)),
    rgba(13, 13, 12, 0.74);
}

.notification-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(244, 199, 107, 0.28);
  border-radius: 999px;
  background: rgba(244, 199, 107, 0.09);
  color: var(--amber);
  font-size: 0.88rem;
  font-weight: 900;
}

.notification-symbol {
  display: block;
  width: 19px;
  height: 19px;
  background: currentColor;
}

.notification-symbol.is-ticket {
  width: 20px;
  height: 16px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6 4.5h20c.9 0 1.5.7 1.5 1.5v4.2a2.4 2.4 0 0 0 0 3.6V18c0 .8-.6 1.5-1.5 1.5H6c-.9 0-1.5-.7-1.5-1.5v-4.2a2.4 2.4 0 0 0 0-3.6V6c0-.8.6-1.5 1.5-1.5Zm13 3v9h2v-9h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6 4.5h20c.9 0 1.5.7 1.5 1.5v4.2a2.4 2.4 0 0 0 0 3.6V18c0 .8-.6 1.5-1.5 1.5H6c-.9 0-1.5-.7-1.5-1.5v-4.2a2.4 2.4 0 0 0 0-3.6V6c0-.8.6-1.5 1.5-1.5Zm13 3v9h2v-9h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.notification-symbol.is-trophy {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 4h10v3h3v2a5 5 0 0 1-4.1 4.9A5.2 5.2 0 0 1 13 16v2h3v2H8v-2h3v-2a5.2 5.2 0 0 1-2.9-2.1A5 5 0 0 1 4 9V7h3V4Zm0 5H6a3 3 0 0 0 1.6 2.6A6 6 0 0 1 7 9Zm10 0c0 .9-.2 1.8-.6 2.6A3 3 0 0 0 18 9h-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 4h10v3h3v2a5 5 0 0 1-4.1 4.9A5.2 5.2 0 0 1 13 16v2h3v2H8v-2h3v-2a5.2 5.2 0 0 1-2.9-2.1A5 5 0 0 1 4 9V7h3V4Zm0 5H6a3 3 0 0 0 1.6 2.6A6 6 0 0 1 7 9Zm10 0c0 .9-.2 1.8-.6 2.6A3 3 0 0 0 18 9h-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.notification-symbol.is-star {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='m12 2.8 2.7 5.6 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9L12 2.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='m12 2.8 2.7 5.6 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9L12 2.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.notification-symbol.is-check {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9.4 16.6 4.9 12l-1.8 1.8 6.3 6.2L21.2 8.2 19.4 6.4 9.4 16.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9.4 16.6 4.9 12l-1.8 1.8 6.3 6.2L21.2 8.2 19.4 6.4 9.4 16.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.notification-symbol.is-alert {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2 22 20H2L12 2Zm-1 6v6h2V8h-2Zm0 8v2h2v-2h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2 22 20H2L12 2Zm-1 6v6h2V8h-2Zm0 8v2h2v-2h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.notification-symbol.is-clock {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 5v5l4 2-.9 1.8-5.1-2.6V7h2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 5v5l4 2-.9 1.8-5.1-2.6V7h2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.notification-symbol.is-gift {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7.2 3C5.4 3 4 4.4 4 6.1c0 .7.2 1.3.6 1.9H3v5h2v8h14v-8h2V8h-1.6c.4-.6.6-1.2.6-1.9C20 4.4 18.6 3 16.8 3c-1.9 0-3.3 1.4-4.8 3.4C10.5 4.4 9.1 3 7.2 3ZM7 6.1c0-.6.5-1.1 1.2-1.1.8 0 1.5.7 2.3 2H8.2C7.5 7 7 6.6 7 6.1Zm8.8-1.1c.7 0 1.2.5 1.2 1.1 0 .5-.5.9-1.2.9h-2.3c.8-1.3 1.5-2 2.3-2ZM5 10h6v2H5v-2Zm8 0h6v2h-6v-2Zm-6 4h4v5H7v-5Zm6 0h4v5h-4v-5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7.2 3C5.4 3 4 4.4 4 6.1c0 .7.2 1.3.6 1.9H3v5h2v8h14v-8h2V8h-1.6c.4-.6.6-1.2.6-1.9C20 4.4 18.6 3 16.8 3c-1.9 0-3.3 1.4-4.8 3.4C10.5 4.4 9.1 3 7.2 3ZM7 6.1c0-.6.5-1.1 1.2-1.1.8 0 1.5.7 2.3 2H8.2C7.5 7 7 6.6 7 6.1Zm8.8-1.1c.7 0 1.2.5 1.2 1.1 0 .5-.5.9-1.2.9h-2.3c.8-1.3 1.5-2 2.3-2ZM5 10h6v2H5v-2Zm8 0h6v2h-6v-2Zm-6 4h4v5H7v-5Zm6 0h4v5h-4v-5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.notification-symbol.is-dumbbell {
  width: 21px;
  height: 15px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 28 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M1 7h3V5h3v4h14V5h3v2h3v6h-3v2h-3v-4H7v4H4v-2H1V7Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 28 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M1 7h3V5h3v4h14V5h3v2h3v6h-3v2h-3v-4H7v4H4v-2H1V7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.notification-symbol.is-plus {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M11 4h2v7h7v2h-7v7h-2v-7H4v-2h7V4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M11 4h2v7h7v2h-7v7h-2v-7H4v-2h7V4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.notification-symbol.is-update {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M13 3v10.2l3.6-3.6L18 11l-6 6-6-6 1.4-1.4 3.6 3.6V3h2ZM5 19h14v2H5v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M13 3v10.2l3.6-3.6L18 11l-6 6-6-6 1.4-1.4 3.6 3.6V3h2ZM5 19h14v2H5v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.notification-card.is-promo .notification-mark {
  border-color: rgba(142, 231, 211, 0.34);
  background: rgba(142, 231, 211, 0.1);
  color: #8ee7d3;
}

.notification-card.is-pass .notification-mark {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: var(--soft);
}

.notification-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.notification-copy strong {
  min-width: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.2;
}

.notification-copy p {
  margin: 0;
  color: var(--soft);
  font-size: 0.85rem;
  line-height: 1.38;
}

.notification-copy span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.notification-empty {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
}

.notification-empty strong {
  color: var(--text);
  font-size: 1rem;
}

.notification-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.confirm-actions .ghost-action,
.confirm-actions .danger-action {
  min-height: 50px;
}

.pdf-viewer-shell {
  height: min(72dvh, 620px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.pdf-viewer-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.crop-stage {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(244, 199, 107, 0.34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 199, 107, 0.09), transparent 58%),
    rgba(255, 255, 255, 0.05);
  cursor: grab;
  touch-action: none;
}

.crop-stage:active {
  cursor: grabbing;
}

.crop-stage img {
  position: absolute;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
  will-change: left, top, width, height;
}

.crop-frame {
  position: absolute;
  inset: 11%;
  border: 2px solid rgba(244, 199, 107, 0.8);
  border-radius: 999px;
  box-shadow:
    0 0 0 999px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(244, 199, 107, 0.18);
  pointer-events: none;
}

.crop-control {
  display: grid;
  gap: 10px;
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.crop-control input {
  width: 100%;
  min-height: 28px;
  accent-color: var(--amber);
}

.sheet-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.sheet-top h2 {
  margin: 0;
  font-size: 1.5rem;
}

.sheet-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
}

.desktop-mobile-card {
  justify-items: center;
  text-align: center;
}

.desktop-mobile-card .sheet-top {
  width: 100%;
  text-align: left;
}

.desktop-mobile-sheet.is-desktop-gate {
  z-index: 120;
  align-items: start;
  min-height: 100dvh;
  padding: clamp(16px, 3vw, 34px);
  overflow-y: auto;
  background:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    radial-gradient(circle at 82% 12%, rgba(244, 199, 107, 0.18), transparent 30%),
    radial-gradient(circle at 20% 92%, rgba(119, 227, 207, 0.11), transparent 32%),
    #030404;
  background-size:
    78px 78px,
    78px 78px,
    auto,
    auto,
    auto;
  backdrop-filter: none;
}

.desktop-mobile-sheet.is-desktop-gate .desktop-mobile-card {
  width: min(980px, 100%);
  max-height: none;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025) 56%),
    radial-gradient(circle at 82% 18%, rgba(244, 199, 107, 0.13), transparent 36%),
    rgba(16, 16, 15, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 36px 120px rgba(0, 0, 0, 0.58);
}

.desktop-mobile-sheet.is-desktop-gate .sheet-top {
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.desktop-mobile-sheet.is-desktop-gate .sheet-close {
  display: none;
}

.desktop-mobile-sheet.is-desktop-gate .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-bottom: 14px;
  padding: 7px 14px;
  border: 1px solid rgba(244, 199, 107, 0.34);
  border-radius: 999px;
  background: rgba(244, 199, 107, 0.08);
  color: #f3c86d;
  letter-spacing: 0.15em;
}

.desktop-mobile-sheet.is-desktop-gate .sheet-top h2 {
  max-width: 760px;
  color: var(--text);
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.desktop-mobile-sheet.is-desktop-gate .desktop-mobile-copy {
  max-width: 34rem;
  color: rgba(247, 241, 229, 0.74);
  font-size: clamp(0.9rem, 1.12vw, 1.03rem);
}

.desktop-mobile-sheet.is-desktop-gate .desktop-mobile-url {
  margin-top: 2px;
  border-color: rgba(244, 199, 107, 0.3);
  background: rgba(7, 7, 6, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.desktop-qr-shell {
  display: grid;
  place-items: center;
  width: min(300px, 100%);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 199, 107, 0.36);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 199, 107, 0.18), transparent 46%),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 22px 64px rgba(0, 0, 0, 0.42);
  padding: 18px;
}

.desktop-qr-shell canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
}

.desktop-mobile-copy {
  margin: 0;
  max-width: 25rem;
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.desktop-mobile-url {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid rgba(244, 199, 107, 0.24);
  border-radius: 999px;
  background: rgba(244, 199, 107, 0.08);
  color: #f6d47a;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 12px;
}

.desktop-mobile-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
}

.desktop-mobile-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 241, 229, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.desktop-mobile-sheet.is-desktop-gate .desktop-qr-shell {
  width: min(300px, 86vw, 40vh);
  margin: clamp(14px, 1.8vw, 22px) 0 8px;
  border-radius: 34px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(244, 199, 107, 0.22), transparent 48%),
    rgba(255, 255, 255, 0.055);
  background-size:
    42px 42px,
    42px 42px,
    auto,
    auto;
  padding: clamp(18px, 2.4vw, 26px);
}

.desktop-mobile-sheet.is-desktop-gate .desktop-qr-shell canvas {
  border-radius: 22px;
}

body.desktop-app-gated {
  overflow: hidden;
}

body.desktop-app-gated .signup-gate,
body.desktop-app-gated .install-wall,
body.desktop-app-gated .app-shell,
body.desktop-app-gated .launch-splash {
  display: none !important;
}

.profile-photo-row,
.detail-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.profile-photo,
.detail-photo {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 76px;
  height: 76px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(232, 201, 120, 0.22), rgba(142, 231, 211, 0.12));
  color: var(--amber);
  font-weight: 900;
}

.profile-photo img,
.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.profile-fields.is-hidden {
  display: none;
}

.package-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border: 1px solid rgba(232, 201, 120, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(232, 201, 120, 0.12), rgba(142, 231, 211, 0.055)),
    rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.package-panel div {
  min-width: 0;
}

.package-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.package-panel strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
  line-height: 1.18;
}

.package-panel p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.danger-action {
  grid-column: 1 / -1;
  width: 100%;
  border: 1px solid rgba(232, 154, 135, 0.4);
  border-radius: var(--radius);
  background: rgba(232, 154, 135, 0.1);
  color: #ffc2b6;
  font-weight: 850;
  padding: 12px 14px;
}

.danger-action[hidden] {
  display: none;
}

.schedule-panel {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.schedule-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.schedule-heading span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.schedule-heading strong {
  display: block;
  margin-top: 4px;
  font-size: 0.94rem;
}

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

.day-grid label {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.day-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.day-grid label:has(input:checked) {
  border-color: rgba(232, 201, 120, 0.56);
  background: rgba(232, 201, 120, 0.14);
  color: var(--text);
}

.time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.time-grid .manual-form {
  min-width: 0;
}

.time-grid input {
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  max-width: 100%;
  padding-inline: 8px;
  text-align: center;
}

.detail-hero strong {
  display: block;
  font-size: 1.2rem;
}

.detail-hero span {
  color: var(--muted);
  font-size: 0.86rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.detail-grid div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 12px;
}

.detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.detail-grid strong {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 4px;
}

.detail-payout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border: 1px solid rgba(244, 199, 107, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 199, 107, 0.12), rgba(142, 231, 211, 0.08)),
    rgba(255, 255, 255, 0.045);
  padding: 12px;
}

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

.detail-payout span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.detail-payout strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 1.12rem;
}

.detail-payout p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--soft);
  font-size: 0.78rem;
  line-height: 1.35;
}

.all-waivers-card {
  width: min(620px, 100%);
}

.gym-detail-card {
  width: min(560px, 100%);
}

.plan-card {
  width: min(500px, 100%);
}

.export-report-card {
  width: min(1040px, 100%);
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
}

.report-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.export-report-body {
  margin-top: 14px;
  border-radius: var(--radius);
  background: #fff;
  color: #151515;
  padding: 18px;
}

.report-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid #151515;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.report-header h1 {
  margin: 0;
  color: #151515;
  font-size: 1.45rem;
}

.report-header p,
.report-footer,
.report-summary span,
.report-table span {
  color: #666;
}

.report-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.report-summary div {
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 10px;
}

.report-summary span,
.report-table span {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
}

.report-summary strong {
  display: block;
  color: #151515;
  font-size: 1.1rem;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
}

.report-table th {
  background: #151515;
  color: #fff;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.report-table th,
.report-table td {
  border: 1px solid #d9d9d9;
  padding: 8px;
  vertical-align: top;
}

.report-table tr:nth-child(even) td {
  background: #f7f7f7;
}

.empty-report {
  padding: 22px;
  text-align: center;
}

.report-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.68rem;
}

.plan-options {
  display: grid;
  gap: 10px;
}

.plan-option {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 14px;
  text-align: left;
}

.plan-option.is-active {
  border-color: rgba(232, 201, 120, 0.58);
  background: rgba(232, 201, 120, 0.12);
}

.plan-option span {
  color: var(--soft);
  font-weight: 800;
}

.plan-option span b {
  color: var(--amber);
  font-size: 0.86em;
  font-weight: 500;
}

.plan-option strong {
  font-size: 1.2rem;
}

.plan-option small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.plan-option em {
  grid-column: 1 / -1;
  width: fit-content;
  margin-top: 6px;
  border: 1px solid rgba(185, 245, 184, 0.28);
  border-radius: 999px;
  background: rgba(185, 245, 184, 0.1);
  color: var(--green);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  padding: 5px 8px;
}

@keyframes sheetIn {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.owner-code {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
}

#ownerCode {
  width: min(260px, 100%);
  height: auto;
  border-radius: var(--radius);
  background: #ecfff9;
}

.code-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.owner-stats {
  grid-template-columns: repeat(2, 1fr);
}

.formula-strip {
  grid-template-columns: repeat(3, 1fr);
}

.formula-strip.is-member-split {
  grid-template-columns: repeat(2, 1fr);
}

.payout-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid rgba(232, 201, 120, 0.48);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(232, 201, 120, 0.22), rgba(142, 231, 211, 0.1)),
    rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 900;
  padding: 12px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.payout-action.is-complete {
  border-color: rgba(185, 245, 184, 0.42);
  background:
    linear-gradient(135deg, rgba(185, 245, 184, 0.18), rgba(142, 231, 211, 0.1)),
    rgba(255, 255, 255, 0.06);
  color: var(--green);
}

.payout-action[hidden] {
  display: none;
}

.achievements-action {
  justify-self: stretch;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    radial-gradient(180px 72px at 18% 10%, rgba(244, 199, 107, 0.2), transparent 66%),
    radial-gradient(180px 80px at 92% 18%, rgba(142, 231, 211, 0.12), transparent 64%),
    linear-gradient(145deg, rgba(244, 199, 107, 0.13), rgba(142, 231, 211, 0.07) 58%, rgba(255, 255, 255, 0.025)),
    rgba(13, 15, 15, 0.88);
  background-size:
    26px 26px,
    26px 26px,
    auto,
    auto,
    auto,
    auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -26px 58px rgba(0, 0, 0, 0.16);
}

.monthly-payout-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(185, 245, 184, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(185, 245, 184, 0.1), rgba(142, 231, 211, 0.06)),
    rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 13px 14px;
  text-align: left;
}

.monthly-payout-card[hidden] {
  display: none;
}

.monthly-payout-card span,
.monthly-payout-card small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.monthly-payout-card strong {
  color: var(--green);
  font-size: 1.15rem;
  font-weight: 950;
}

.monthly-payout-card small {
  grid-column: 1 / -1;
  font-weight: 650;
}

.payout-card {
  width: min(520px, 100%);
}

.payout-history-card {
  width: min(560px, 100%);
}

.achievements-card {
  width: min(560px, 100%);
}

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

.achievement-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(232, 201, 120, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(232, 201, 120, 0.12), rgba(142, 231, 211, 0.055)),
    rgba(255, 255, 255, 0.045);
  padding: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.achievement-card.is-locked {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(142, 231, 211, 0.025)),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  filter: grayscale(0.9) saturate(0.45);
  opacity: 0.52;
}

.achievement-card.is-complete {
  opacity: 1;
  filter: none;
}

.achievement-check {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--amber);
  color: #171717;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(232, 201, 120, 0.22);
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.achievement-card.is-complete .achievement-check {
  opacity: 1;
  transform: scale(1);
}

.achievement-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(232, 201, 120, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(232, 201, 120, 0.24), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.055);
  color: var(--amber);
}

.achievement-icon.is-gym {
  border-color: rgba(142, 231, 211, 0.36);
  background:
    linear-gradient(135deg, rgba(142, 231, 211, 0.2), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.055);
  color: var(--aqua);
}

.achievement-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.achievement-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.2;
}

.achievement-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.35;
}

.achievement-progress {
  --achievement-progress: 0%;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 34px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(232, 201, 120, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.achievement-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--achievement-progress);
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(232, 201, 120, 0.9), rgba(142, 231, 211, 0.82));
  transition: none;
}

.achievement-progress.is-progress-animating .achievement-progress-fill {
  transition: width 920ms cubic-bezier(0.18, 0.82, 0.24, 1);
}

.achievement-progress-sections {
  display: none;
}

.achievement-progress strong {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.34);
}

.free-visit-summary {
  margin: 0;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.achievement-reward-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.free-visit-summary[hidden],
.achievement-reward-note[hidden] {
  display: none;
}

.payout-history-list {
  display: grid;
  gap: 10px;
}

.payout-history-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 13px 14px;
}

.payout-history-row.is-live {
  border-color: rgba(185, 245, 184, 0.24);
  background: rgba(185, 245, 184, 0.075);
}

.payout-history-row strong,
.payout-history-row span {
  display: block;
}

.payout-history-row > div:last-child {
  text-align: right;
}

.payout-history-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.payout-history-row > div:last-child strong {
  color: var(--green);
}

.language-card {
  width: min(520px, 100%);
}

.auth-card {
  width: min(540px, 100%);
}

.auth-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.auth-language-button {
  width: 38px;
  height: 38px;
  border-radius: 999px;
}

.auth-language-button strong {
  font-size: 0.52rem;
}

.password-control {
  position: relative;
  display: block;
  width: 100%;
}

.password-control input {
  width: 100%;
  padding-right: 58px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--soft);
  transform: translateY(-50%);
}

.password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--text);
}

.password-toggle:focus-visible {
  outline: 2px solid rgba(244, 199, 107, 0.34);
  outline-offset: 3px;
}

.thanks-copy {
  margin: 0;
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.form-error {
  position: relative;
  display: none;
  margin: 0;
  border: 1px solid rgba(232, 154, 135, 0.34);
  border-radius: var(--radius);
  background: rgba(232, 154, 135, 0.1);
  color: #ffc2b6;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.35;
  padding: 11px 12px;
}

.form-error.is-visible {
  display: block;
}

.form-error.has-action {
  display: none;
}

.form-error.has-action.is-visible {
  display: block;
}

.auth-reset-link {
  min-height: 32px;
  margin: -5px 0 -5px 2px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffe2dc;
  font: inherit;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-reset-link:focus-visible {
  outline: 2px solid rgba(255, 226, 220, 0.72);
  outline-offset: 3px;
}

.auth-reset-link:disabled {
  opacity: 0.68;
}

.form-error.is-visible.is-success {
  display: flex;
  align-items: center;
  gap: 10px;
  border-color: rgba(104, 214, 145, 0.42);
  background: rgba(104, 214, 145, 0.12);
  color: #baf4ca;
}

.form-error.is-success::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(104, 214, 145, 0.22);
  box-shadow: inset 0 0 0 1px rgba(104, 214, 145, 0.45);
}

.form-error.is-success::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 4px;
  margin-left: 4px;
  margin-top: -2px;
  border-bottom: 2px solid #baf4ca;
  border-left: 2px solid #baf4ca;
  transform: rotate(-45deg);
}

.language-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.language-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 10px 12px;
  text-align: left;
}

.language-option strong {
  display: block;
  font-size: 0.86rem;
}

.language-option small {
  color: var(--muted);
}

.language-option.is-active {
  border-color: rgba(244, 199, 107, 0.58);
  background: rgba(244, 199, 107, 0.12);
}

.language-option em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.split-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.split-card {
  gap: 10px;
}

.split-card.is-bonus-gym {
  cursor: pointer;
  border-color: rgba(142, 231, 211, 0.42);
  background:
    linear-gradient(135deg, rgba(142, 231, 211, 0.1), rgba(232, 201, 120, 0.06)),
    var(--surface);
}

.split-card.is-owner-gym {
  border-color: rgba(232, 201, 120, 0.42);
  background:
    linear-gradient(135deg, rgba(232, 201, 120, 0.1), rgba(255, 255, 255, 0.04)),
    var(--surface);
}

.balance-bonus-tag {
  flex: 0 0 auto;
  border: 1px solid rgba(142, 231, 211, 0.46);
  border-radius: 999px;
  background: rgba(142, 231, 211, 0.12);
  color: var(--aqua);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  padding: 5px 8px;
  text-transform: uppercase;
}

.gym-promo-tag {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(142, 231, 211, 0.38);
  border-radius: 999px;
  background: rgba(142, 231, 211, 0.1);
  color: var(--aqua);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  padding: 3px 6px;
  text-transform: uppercase;
}

.balance-bonus-inline {
  display: block;
  margin-top: 4px;
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 850;
}

.split-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.split-card-activity {
  display: grid;
  gap: 2px;
  justify-self: end;
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.16;
  text-align: right;
  white-space: nowrap;
}

.split-card-activity span {
  color: rgba(142, 231, 211, 0.82);
  font-size: 0.68rem;
  text-transform: capitalize;
}

.split-card-activity strong {
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 950;
}

.meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--aqua));
}

#balanceBonusProgressBar {
  transition: none;
}

.balance-bonus-progress.is-progress-animating #balanceBonusProgressBar {
  transition: width 920ms cubic-bezier(0.18, 0.82, 0.24, 1);
}

.split-allocation-meter .split-allocation-fill {
  transition: width 920ms cubic-bezier(0.18, 0.82, 0.24, 1);
}

@media (prefers-reduced-motion: reduce) {
  .promo-reward-card.is-shine-sweeping .promo-reward-shine {
    animation: none;
    opacity: 0;
  }

  .achievement-progress.is-progress-animating .achievement-progress-fill,
  .balance-bonus-progress.is-progress-animating #balanceBonusProgressBar,
  .split-allocation-meter .split-allocation-fill {
    transition: none;
  }
}

.desktop-panel {
  display: none;
}

.toast {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 88px;
  z-index: 20;
  transform: translateY(18px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(9, 13, 14, 0.94);
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  padding: 13px 14px;
  transition: 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.scan-ready-banner {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  left: 14px;
  right: 14px;
  z-index: 98;
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid rgba(244, 199, 107, 0.5);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(242, 223, 154, 0.98), rgba(202, 167, 96, 0.96)),
    rgba(15, 16, 15, 0.94);
  color: #11100d;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42), 0 0 28px rgba(244, 199, 107, 0.2);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0;
  text-align: center;
  transform: translateY(calc(-100% - 24px));
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.scan-ready-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.scan-ready-banner[hidden] {
  display: none;
}

.update-prompt {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  z-index: 95;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(244, 199, 107, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 199, 107, 0.16), rgba(109, 245, 226, 0.08)),
    rgba(13, 14, 15, 0.96);
  box-shadow: var(--shadow);
  padding: 12px;
  backdrop-filter: blur(18px) saturate(1.18);
}

.update-prompt[hidden] {
  display: none;
}

.update-prompt span {
  display: block;
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.update-prompt strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 0.92rem;
}

.update-prompt button {
  min-height: 44px;
  border: 1px solid rgba(244, 199, 107, 0.48);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(244, 199, 107, 0.14), rgba(244, 199, 107, 0.04)),
    rgba(10, 11, 11, 0.7);
  color: var(--amber);
  font-weight: 900;
  padding: 0 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

@media (min-width: 760px) {
  .signup-gate {
    padding: 22px;
    overflow: auto;
  }

  .signup-panel {
    width: min(460px, calc(100vw - 44px));
    max-height: calc(100vh - 44px);
    overflow: auto;
    padding: 16px 20px 20px;
  }

  .signup-logo-shell {
    height: clamp(150px, 24vh, 205px);
    aspect-ratio: auto;
    margin: -6px auto 12px;
  }

  .signup-panel h1 {
    max-width: 18rem;
    margin-bottom: 18px;
    font-size: clamp(2.05rem, 3.2vw, 2.65rem);
  }

  .signup-options {
    gap: 9px;
  }

  .signup-card {
    min-height: 76px;
    padding: 12px 14px;
  }

  .signup-icon {
    width: 40px;
    height: 40px;
  }

  .login-link {
    padding: 10px 14px;
  }

  .gym-register-link {
    padding-top: 7px;
  }

  .app-shell {
    display: grid;
    place-items: center;
    padding: 34px;
  }

  .phone-surface {
    width: min(1180px, 100%);
    min-height: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
  }

  .grid-layout {
    grid-template-columns: minmax(360px, 470px) 1fr;
    align-items: start;
  }

  .mode-tabs {
    position: static;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .mode-tabs.is-scroll-compact {
    transform: none;
  }

  .desktop-panel {
    display: grid;
    gap: 16px;
    min-height: 640px;
    padding: 20px;
  }

  #pulseCanvas {
    width: 100%;
    height: auto;
    min-height: 360px;
  }

  .toast {
    left: 50%;
    right: auto;
    bottom: 28px;
    width: min(420px, calc(100% - 28px));
    transform: translate(-50%, 18px);
  }

  .toast.is-visible {
    transform: translate(-50%, 0);
  }
}

@media (min-width: 760px) and (max-height: 820px) {
  .signup-panel {
    width: min(420px, calc(100vw - 36px));
    padding: 14px 18px 18px;
  }

  .signup-logo-shell {
    height: clamp(120px, 20vh, 160px);
    margin-bottom: 10px;
  }

  .signup-panel h1 {
    max-width: 15.5rem;
    margin-bottom: 14px;
    font-size: clamp(1.75rem, 3vw, 2.15rem);
  }

  .signup-card {
    min-height: 68px;
    padding: 10px 12px;
  }

  .signup-card strong {
    font-size: 0.96rem;
  }

  .signup-card small {
    font-size: 0.78rem;
  }

  .signup-icon {
    width: 36px;
    height: 36px;
  }

  .login-link {
    padding: 9px 12px;
    font-size: 0.86rem;
  }
}

@media (max-width: 370px) {
  .pass-card {
    --pass-hero-edge: 18px;
    --pass-content-edge: 18px;
  }

  .pass-card.is-compact {
    --pass-hero-edge: 14px;
    --pass-content-edge: 18px;
  }

  .pass-label {
    max-width: 12rem;
    font-size: 1.42rem;
  }

  .pass-metrics,
  .formula-strip {
    grid-template-columns: 1fr;
  }

  .time-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  html[data-translated="true"] .gym-card:not(.has-fixed-action) {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  html[data-translated="true"] .gym-card:not(.has-fixed-action) .gym-action {
    grid-column: 2;
    width: 100%;
    min-height: 44px;
  }

  .review-confirm-actions {
    grid-template-columns: 1fr;
  }

  .schedule-panel .time-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .schedule-panel .time-grid input {
    width: calc(100% - 10px);
    justify-self: start;
  }
}
