:root {
  color-scheme: light;
  --paper: #f5f5f3;
  --ink: #20201f;
  --sub: #71716e;
  --green: #292928;
  --lime: #ead8bd;
  --tint: #f1f1ee;
  --line: #e6e6e1;
  --shell: 560px;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  min-height: 100%;
}
body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
button,
input,
select {
  font: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #9b794a;
  outline-offset: 3px;
}
button:not(:disabled):active {
  transform: translateY(1px);
}
a {
  color: var(--green);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(25px, 5.5vw, 31px);
  line-height: 1.24;
  letter-spacing: -0.035em;
}
h2 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 16px;
  line-height: 1.4;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.icon,
.chevron {
  width: 21px;
  height: 21px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chevron {
  width: 13px;
  height: 13px;
}

.shell {
  max-width: var(--shell);
  margin: auto;
  padding: env(safe-area-inset-top, 0px) 18px 0;
}
.app-header,
.brand,
.header-actions,
.heading-with-icon,
.section-heading {
  display: flex;
  align-items: center;
}
.app-header {
  justify-content: space-between;
  min-height: 74px;
  gap: 12px;
}
.brand {
  gap: 10px;
}
.brand strong {
  display: block;
  font-size: 19px;
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.brand div > span {
  display: block;
  color: var(--sub);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.header-actions {
  gap: 5px;
}
.mode-tag {
  padding: 3px 8px;
  border: 1px solid #ddceba;
  border-radius: 20px;
  background: #f3ede4;
  color: #786044;
  font-size: 11px;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  border-radius: 50%;
}
.icon-button:hover {
  background: #ededeb;
}
main {
  padding-bottom: calc(98px + env(safe-area-inset-bottom, 0px));
}
.screen > * + * {
  margin-top: 15px;
}
.kicker,
.pass-label {
  font-size: 10px;
  font-weight: 740;
  line-height: 1.4;
  letter-spacing: 0.14em;
}
.kicker {
  color: #81817b;
}
.notice {
  border-radius: 12px;
  padding: 11px 14px;
  margin-bottom: 12px;
  background: #fff2d9;
  border: 1px solid #e7d29e;
  color: #65471c;
  overflow-wrap: anywhere;
}

.member-pass {
  position: relative;
  min-height: 181px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 22px;
  padding: 20px 21px;
  background: linear-gradient(120deg, #242321, #161616 72%, #2d2c29);
  color: #fff;
}
.pass-content {
  max-width: 83%;
  overflow-wrap: anywhere;
}
.pass-label {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #ddcbb0;
  letter-spacing: 0.18em;
}
.pass-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--lime);
  transform: rotate(-12deg);
}
.member-pass h1 {
  margin-top: 8px;
  font-size: 25px;
}
.member-pass p {
  color: #c7c7c2;
  margin-top: 4px;
  font-size: 13px;
}
.balance-value {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 8px;
}
.balance-value strong {
  color: var(--lime);
  font-size: clamp(39px, 10.2vw, 51px);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.balance-value b {
  font-size: 14px;
  font-weight: 580;
}
#balance small {
  display: block;
  color: #c5c5bf;
  font-size: 11px;
  margin-top: 5px;
}
.login-button {
  margin: 15px 9px 0 0;
  padding: 9px 17px;
  border-radius: 11px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 700;
}
.pass-link {
  padding: 6px 0;
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 12px;
}
.pass-link:focus-visible,
.login-button:focus-visible {
  outline-color: var(--lime);
}
.member-pass:has(#demo-claim-login:not([hidden])) .pass-content {
  max-width: 100%;
}

.panel,
.quick-grid,
.profile-head {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.section-heading {
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.heading-with-icon {
  gap: 10px;
}
.icon-tile,
.quick-icon,
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  width: 37px;
  height: 37px;
  background: var(--tint);
  color: #484844;
}
.text-link,
.call-link {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  min-height: 44px;
  padding: 0;
  color: #4b4b46;
  font-size: 13px;
  font-weight: 650;
}
.text-link:hover,
.call-link:hover {
  text-decoration: underline;
}
input,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #d5d5d0;
  border-radius: 11px;
  background: #fafaf8;
  color: var(--ink);
  min-height: 46px;
  padding: 9px 12px;
}
select {
  text-overflow: ellipsis;
}
.store-picker {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 11px;
  background: #f5f5f2;
  border-radius: 11px;
}
.store-picker .icon {
  width: 17px;
  height: 17px;
  color: #787870;
}
.store-picker span {
  color: var(--sub);
  font-size: 12px;
  white-space: nowrap;
}
.store-picker strong {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}
.store-address {
  margin: 8px 2px 14px;
  color: var(--sub);
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.member-pass.has-deck {
  padding-bottom: 11px;
}
.has-deck .pass-content {
  max-width: calc(100% - 47px);
}
.member-pass:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
#deck-rail {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-58%);
  display: grid;
  justify-items: center;
  gap: 0;
  border: 1px solid #ffffff38;
  background: #2c2c2ced;
  border-radius: 24px;
}
#deck-rail button {
  display: grid;
  place-items: center;
  padding: 0;
  width: 42px;
  height: 40px;
}
#deck-rail button:disabled {
  opacity: 0.32;
}
#deck-rail button:focus-visible,
#deck-caption button:focus-visible {
  outline-color: var(--lime);
}
#previous-card svg {
  transform: rotate(-90deg);
}
#next-card svg {
  transform: rotate(90deg);
}
#deck-count {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  color: #e5e1da;
}
#deck-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  position: relative;
  margin-top: 12px;
  min-height: 37px;
  border-top: 1px solid #ffffff32;
}
#deck-caption span,
#deck-caption button {
  font-size: 11px;
  color: #c5c2bc;
}
#deck-caption button {
  padding: 0 2px;
  min-height: 36px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#balance #wallet-equity {
  color: var(--lime);
}
.screen > .other-stores {
  margin: 3px 5px -6px;
}
.other-stores summary {
  font-size: 13px;
  color: var(--green);
}
#other-store-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  padding: 8px 0 12px;
}
#other-store-list button {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  text-align: left;
}
#other-store-list button strong, #other-store-list button span {
  display: block;
  overflow-wrap: anywhere;
}
#other-store-list button span {
  margin-top: 4px;
  color: var(--sub);
  font-size: 12px;
  line-height: 1.6;
}
.purchase-tabs {
  margin: 14px 0 9px;
}
.tabs button[aria-pressed="true"] {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 4px #0000000c;
}
#annual-offer {
  margin-top: 10px;
  padding: 15px;
  border: 1px solid #ddd5c9;
  border-radius: 14px;
  background: linear-gradient(120deg, #f1eade, #faf8f4);
}
#annual-offer > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 5px 0;
}
#annual-offer p,
#annual-offer small {
  color: var(--sub);
  font-size: 12px;
}
#annual-offer small {
  display: block;
  margin-top: 8px;
}
#records-shop {
  margin: 0 0 8px;
}
.opening-benefits,
#pending-promotion-awards {
  padding: 14px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--tint);
}
.opening-benefits h3,
#pending-promotion-awards h3 {
  margin: 0 0 8px;
  font-size: 15px;
}
.opening-benefits p,
#pending-promotion-awards p {
  margin: 5px 0;
  font-size: 13px;
  line-height: 1.5;
}
.opening-benefits input {
  margin-top: 4px;
}
#referrer-error {
  color: #973d28;
}
#home-trial {
  margin-top: 9px;
}
#trial-price {
  white-space: nowrap;
}
#referral-profile .store-picker {
  margin-top: 8px;
}
.door-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 13px 0;
  font-size: 13px;
  color: #62625c;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #858574;
}
.primary,
.secondary,
.quiet,
.compact {
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 12px;
  font-weight: 690;
}
.primary {
  color: #20201f;
  background: var(--lime);
}
.primary:hover:not(:disabled),
.login-button:hover:not(:disabled) {
  background: #efdfc8;
}
.secondary,
.quiet {
  color: var(--green);
  background: var(--tint);
}
.secondary:hover:not(:disabled),
.quiet:hover:not(:disabled) {
  background: #e8e8e3;
}
.primary:disabled,
.secondary:disabled,
.login-button:disabled {
  background: #ecece8;
  color: #868680;
}
.wide {
  width: 100%;
  min-height: 48px;
}
.footnote {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 9px;
  color: var(--sub);
  font-size: 11px;
}
.footnote .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
}
.section-title {
  margin: 20px 2px 10px;
  font-size: 17px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 11px 5px;
}
.quick-grid button {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 64px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 630;
}
.quick-grid button:hover {
  background: #f4f4f1;
}
.quick-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #eeeee9;
}
.quick-grid button:nth-child(2) .quick-icon {
  background: #eeeee9;
  color: #55554e;
}
.quick-grid button:nth-child(3) .quick-icon {
  background: #eeeee9;
  color: #55554e;
}
.quick-icon .icon {
  width: 19px;
  height: 19px;
}

.page-title {
  margin: 3px 3px 18px;
}
.page-title h1,
.claim-panel h1 {
  margin: 6px 0;
}
.page-title p,
.guest-prompt p,
.help-panel p,
.profile-head p {
  font-size: 13px;
  color: var(--sub);
}
.guest-prompt .icon-tile {
  margin-bottom: 10px;
}
.guest-prompt p {
  margin: 8px 0 14px;
}
.form-panel label:not(.consent):not(.package-option),
#recover-form label,
#register-form label {
  display: block;
  margin: 13px 0 5px;
  font-size: 13px;
  font-weight: 650;
}
.form-panel .wide,
#recover-form .wide,
#register-form .wide {
  margin-top: 13px;
}
#package-choices {
  min-width: 0;
  margin: 13px 0 0;
  padding: 0;
  border: 0;
}
#package-choices legend {
  margin: 0 0 6px;
  padding: 0;
  font-size: 13px;
  font-weight: 650;
}
#package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.package-option {
  position: relative;
  display: flex;
  cursor: pointer;
}
.package-option:only-child {
  grid-column: 1 / -1;
}
.package-option input {
  position: absolute;
  right: 9px;
  top: 12px;
  width: 15px;
  height: 15px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--green);
}
.package-info {
  display: grid;
  align-content: space-between;
  gap: 6px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.package-info span {
  padding-right: 17px;
}
.package-info strong {
  font-variant-numeric: tabular-nums;
  font-size: 17px;
}
.package-option input:checked + .package-info {
  border-color: var(--green);
  background: var(--tint);
  color: var(--green);
}
.package-option input:focus-visible + .package-info {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}
#package-choices:disabled .package-option {
  cursor: default;
  opacity: 0.7;
}
#no-packages {
  margin-top: 14px;
  color: var(--sub);
  font-size: 13px;
}
.terms {
  margin-top: 14px;
  padding: 0 2px;
  border-top: 1px solid var(--line);
}
summary {
  display: list-item;
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
  font-weight: 630;
}
.terms summary,
.consent {
  font-size: 13px;
}
#terms-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--sub);
}
.consent {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--sub);
}
.consent input {
  min-height: 0;
  width: 17px;
  height: 17px;
  margin: 0;
  padding: 0;
  accent-color: #292928;
}
.profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(110deg, #f1f1ed, #fafaf8);
}
.profile-head h1 {
  font-size: 26px;
  overflow-wrap: anywhere;
}
.avatar {
  width: 49px;
  height: 49px;
  border-radius: 16px;
  color: #e1d0b7;
  background: var(--green);
}
.avatar .icon {
  width: 26px;
  height: 26px;
}
.accounts-panel h2 {
  margin-bottom: 14px;
}
.tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 12px;
  background: #f1f1ee;
}
.tabs button {
  flex: 1;
  min-width: 0;
  padding: 4px;
  border-radius: 9px;
  color: var(--sub);
  font-size: 12px;
  font-weight: 640;
}
.tabs .active {
  color: var(--ink);
  background: white;
  box-shadow: 0 1px 4px #0000000c;
}
#records {
  margin-top: 9px;
  color: var(--sub);
  font-size: 13px;
}
.row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid #edede9;
  overflow-wrap: anywhere;
}
.row:last-child {
  border: 0;
}
.row > div {
  flex: 1;
  min-width: 0;
}
.row strong {
  color: var(--ink);
  text-align: right;
}
.row small {
  display: block;
  color: var(--sub);
}
.row .quiet {
  padding: 5px 9px;
  font-size: 12px;
}
.row.order-row { flex-wrap: wrap; }
.row.order-row > .order-actions {
  flex: 0 0 100%;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.row .order-actions .quiet { min-height: 42px; }
.help-panel .heading-with-icon {
  align-items: center;
}
.help-panel p {
  margin-top: 3px;
}
.help-panel > .hint,
.help-panel > .call-link {
  margin-left: 47px;
}
.help-panel > .hint {
  display: block;
  margin-top: 8px;
}
.hint {
  font-size: 13px;
  color: var(--sub);
}
.logout {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafaf8;
  color: var(--sub);
}

#recover-form {
  margin: 20px 0;
}
#recover-form h2 {
  margin: 0 0 4px;
}
.recover-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.demo-hint,
.recover-result {
  margin: 8px 0 0;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--tint);
  color: var(--green);
  font-size: 13px;
  overflow-wrap: anywhere;
}
#recover-unavailable {
  margin: 16px 0;
}
.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--tint);
  border: 1px dashed #cacac1;
  border-radius: 11px;
  margin: 10px 0 3px;
  padding: 9px 10px;
}
.code-box small {
  display: block;
  color: var(--sub);
  font-size: 11px;
}
#claim-code {
  display: block;
  overflow-wrap: anywhere;
  font:
    700 clamp(15px, 4.1vw, 22px) / 1.35 ui-monospace,
    Consolas,
    monospace;
  letter-spacing: 0.02em;
}
.compact {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  font-size: 12px;
  color: var(--green);
}
.compact .icon {
  width: 15px;
  height: 15px;
}
#manual-claim #check-claim {
  margin: 10px 0;
}
.new-member {
  border-top: 1px solid var(--line);
}
#register-form {
  padding-bottom: 5px;
}

.bottom-nav {
  position: fixed;
  z-index: 5;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  width: min(100%, var(--shell));
  padding: 6px 9px calc(5px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #e4e4de;
  background: #fafaf8;
}
.bottom-nav button {
  flex: 1;
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 48px;
  padding: 4px;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 610;
  color: #85857e;
}
.bottom-nav button .icon {
  width: 22px;
  height: 22px;
}
.bottom-nav button[aria-current="page"] {
  color: #222220;
  font-weight: 780;
}
.bottom-nav button[aria-current="page"] .icon {
  background: #eaeae4;
  width: 46px;
  padding: 1px 11px;
  border-radius: 16px;
}
dialog {
  width: min(340px, calc(100vw - 36px));
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
}
dialog p {
  margin: 10px 0 17px;
  color: var(--sub);
}
dialog div {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
dialog::backdrop {
  background: #17171577;
}

@media (min-width: 700px) {
  body {
    background: #e9e9e5;
  }
  .shell {
    min-height: 100vh;
    padding-inline: 26px;
    background: var(--paper);
    border-inline: 1px solid var(--line);
  }
  .app-header {
    min-height: 82px;
  }
  .member-pass {
    padding: 23px 26px;
    min-height: 195px;
  }
  .panel {
    padding: 21px 23px;
  }
  .bottom-nav {
    border-inline: 1px solid var(--line);
  }
}
@media (max-width: 355px) {
  .shell {
    padding-inline: 13px;
  }
  .app-header {
    min-height: 64px;
  }
  .panel {
    padding: 15px;
  }
  .member-pass {
    padding: 17px;
  }
  .section-heading {
    gap: 5px;
  }
  .heading-with-icon {
    gap: 7px;
  }
  .tabs button {
    padding: 3px 2px;
  }
}

/* GREY GYM — monochrome brand, warm metal details, mobile member services. */
body {
  -webkit-font-smoothing: antialiased;
}
.app-header {
  min-height: 78px;
  gap: 8px;
}
.brand {
  min-width: 0;
}
.brand-wordmark {
  display: block;
  width: 183px;
  max-width: 100%;
  height: auto;
  filter: invert(1);
  mix-blend-mode: multiply;
}
.header-actions { flex-shrink: 0; }
.icon-button {
  background: #fff;
  border: 1px solid var(--line);
}
.mode-tag {
  margin-right: 3px;
  padding: 3px 6px;
  font-size: 10px;
  white-space: nowrap;
}
.welcome-strip {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 94px;
  margin: 0 2px 8px;
  isolation: isolate;
  background: var(--paper);
}
.welcome-strip > div { padding: 3px 70px 5px 0; }
.eyebrow {
  display: block;
  color: #89857e;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: 0.13em;
}
.welcome-strip h2 {
  margin: 4px 0 5px;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: -0.04em;
}
.welcome-strip p {
  font-size: 11px;
  color: var(--sub);
}
.welcome-strip img {
  position: absolute;
  right: 0;
  top: 0;
  width: 94px;
  height: 94px;
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.screen > .member-pass { margin-top: 0; }
.member-pass {
  min-height: 209px;
  border: 1px solid #393835;
  border-radius: 23px;
  padding: 22px;
  box-shadow: 0 9px 22px #22221e14;
}
.member-pass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(125deg, #ffffff09, transparent 45%);
  z-index: -1;
}
.pass-emblem {
  position: absolute;
  right: -33px;
  top: -3px;
  width: 235px;
  height: 235px;
  object-fit: cover;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.065;
  transform: rotate(-16deg);
  pointer-events: none;
  z-index: -1;
}
.pass-label { font-size: 9px; }
.pass-dot {
  border-radius: 50%;
  width: 5px;
  height: 5px;
}
.member-pass h1 {
  margin-top: 12px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.member-pass p { font-size: 12px; }
.balance-value { margin-top: 17px; }
.balance-value strong {
  color: #faf9f5;
  font-size: clamp(44px, 12vw, 58px);
  font-weight: 650;
  letter-spacing: -0.055em;
}
.balance-value b { color: #d7d2c8; font-size: 12px; }
#balance small { font-size: 10px; line-height: 1.6; margin-top: 7px; }
#deck-caption { margin-top: 15px; }
#deck-caption span, #deck-caption button { font-size: 10px; }
#deck-rail {
  right: 13px;
  border-color: #ffffff1c;
  background: #ffffff08;
}
.login-button {
  margin-top: 22px;
  background: #eee9e0;
  border-radius: 10px;
  padding-inline: 22px;
  font-size: 13px;
}
.pass-link { margin-left: 2px; color: #ded9d1; }
.panel { border-color: #e8e8e3; box-shadow: 0 2px 6px #20202002; }
.section-heading h2, .heading-with-icon h2 { font-size: 18px; }
#access-panel .icon-tile { width: 32px; height: 32px; background: #f1f1ed; }
#access-panel .section-heading { margin-bottom: 6px; }
.store-picker { background: #f6f6f3; border: 1px solid #eeeee8; font-size: 13px; }
.door-status { font-size: 12px; margin: 14px 1px; }
.status-dot { box-shadow: 0 0 0 3px #eeeee7; }
.primary {
  background: #252523;
  color: #fff;
  font-weight: 650;
}
.primary:hover:not(:disabled) { background: #3a3a36; }
.primary:disabled { color: #8a8a81; background: #e9e9e3; }
#door {
  min-height: 54px;
  font-size: 16px;
  letter-spacing: 0.05em;
}
#door::after { content: " →"; margin-left: 12px; font-weight: 400; }
#door:disabled::after { opacity: 0.5; }
.footnote { font-size: 10px; line-height: 1.6; margin-top: 11px; }
.experience-panel {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 143px;
  padding: 18px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #e4dfd6;
  background: #f1eee7;
  isolation: isolate;
}
.experience-copy { max-width: 74%; }
.experience-copy { position: relative; z-index: 1; }
.experience-panel.status-only { min-height: 0; padding: 12px 16px; background: #f0f0eb; border-color: var(--line); }
.experience-panel.status-only .experience-copy { max-width: 100%; }
.experience-panel.status-only .eyebrow,
.experience-panel.status-only h2,
.experience-panel.status-only .experience-copy > p:not(#home-trial-status),
.experience-panel.status-only img { display: none; }
.experience-panel.status-only #home-trial-status { font-size: 11px; line-height: 1.6; }
.experience-panel h2 { font-size: 17px; margin: 4px 0; line-height: 1.4; }
.experience-panel p { font-size: 10px; color: #797369; }
.experience-panel img {
  position: absolute;
  right: -57px;
  top: 12px;
  width: 200px;
  height: 130px;
  object-fit: cover;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
#home-trial.experience-link {
  min-height: 36px;
  margin: 7px 0 0;
  padding: 6px 10px;
  border: 1px solid #c7bfb2;
  border-radius: 8px;
  background: #f7f4ed;
  font-size: 11px;
  font-weight: 650;
}
#home-trial.experience-link:disabled { opacity: 0.55; }
.section-title { font-size: 15px; margin: 21px 2px 10px; }
.quick-grid { border-color: #e8e8e3; padding: 13px 5px; }
.quick-grid button { font-size: 12px; gap: 9px; min-height: 73px; }
.quick-grid button + button { border-left: 1px solid #eeeee9; border-radius: 0; }
.quick-icon { width: 35px; height: 35px; background: #f0f0eb; }
.brand-signoff {
  text-align: center;
  margin: 24px 0 0;
  color: #b0afa7;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.brand-signoff span { margin-left: 9px; font-size: 10px; font-weight: 400; letter-spacing: 0.07em; }
.page-title { position: relative; padding: 14px 0 12px; isolation: isolate; }
.page-title h1 { font-size: 29px; margin: 8px 0; }
.page-title p { font-size: 12px; }
.title-emblem {
  position: absolute;
  width: 79px;
  height: 79px;
  object-fit: contain;
  right: 4px;
  top: 8px;
  mix-blend-mode: multiply;
  opacity: 0.08;
  pointer-events: none;
  transform: rotate(-12deg);
  z-index: -1;
}
.package-info { padding: 16px 13px; gap: 16px; min-height: 114px; }
.package-option:last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
.package-info strong { font-size: 24px; letter-spacing: -0.04em; }
.package-info span { font-size: 12px; line-height: 1.55; }
.package-option input { top: 17px; right: 12px; }
.package-option input:checked + .package-info { background: #f5f1e9; border-color: #9e8c70; color: #3e3528; }
#annual-offer { padding: 20px 17px; }
#annual-price { font-size: 29px; letter-spacing: -0.04em; color: #443c31; }
.tabs { padding: 4px; }
.tabs button { min-height: 39px; }
.profile-head { padding: 23px 18px; gap: 15px; background: #fff; }
.profile-head > div:last-child { min-width: 0; }
.profile-head h1 { font-size: 24px; margin: 6px 0 4px; }
.profile-head p { font-size: 12px; }
.avatar { width: 68px; height: 68px; border-radius: 50%; background: #f4f4f1; overflow: hidden; }
.avatar img { width: 90px; height: 90px; object-fit: cover; mix-blend-mode: multiply; }
.accounts-panel .section-heading h2 { margin-bottom: 0; }
.accounts-panel .row { padding-block: 16px; }
.bottom-nav {
  padding-top: 9px;
  padding-bottom: calc(9px + env(safe-area-inset-bottom, 0px));
  background: #fffffff5;
  backdrop-filter: blur(16px);
  box-shadow: 0 -4px 16px #1e1e1a04;
}
.bottom-nav button { gap: 6px; }
.bottom-nav button[aria-current="page"] .icon { color: #fff; background: #272724; }
@media (min-width: 700px) {
  .shell { padding-inline: 28px; }
  .welcome-strip { min-height: 104px; }
  .welcome-strip h2 { font-size: 23px; }
  .welcome-strip img { width: 104px; height: 104px; right: 5px; }
  .member-pass { padding: 25px; min-height: 230px; }
  .pass-emblem { right: -13px; width: 260px; height: 260px; }
  .experience-panel img { right: -21px; width: 232px; }
}
@media (max-width: 374px) {
  .brand-wordmark { width: 158px; }
  .welcome-strip h2 { font-size: 18px; }
  .welcome-strip > div { padding-right: 60px; }
  .welcome-strip img { width: 88px; height: 88px; top: 4px; }
  .member-pass { padding-inline: 18px; }
  .member-pass h1 { font-size: 23px; }
  .experience-panel h2 { font-size: 15px; }
  .experience-panel img { right: -68px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.flow-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 10px;
}
.flow-heading > span { font-size: 11px; color: var(--sub); }
.back-link { gap: 6px; flex-shrink: 0; font-size: 14px; }
.back-link .chevron { transform: rotate(180deg); }
.recovery-screen > .claim-panel { margin-top: 0; }
.recovery-footer { color: var(--sub); font-size: 11px; text-align: center; padding: 0 9px; }
.feedback {
  position: fixed;
  z-index: 10;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-start;
  width: min(calc(100% - 28px), calc(var(--shell) - 36px));
  border: 1px solid #e7d29e;
  border-radius: 13px;
  background: #fff6e5;
  box-shadow: 0 7px 26px #2420171c;
  color: #65471c;
}
.feedback .notice {
  flex: 1;
  min-width: 0;
  max-height: 35vh;
  overflow: auto;
  padding: 12px 0 12px 14px;
  margin: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
}
#dismiss-notice { width: 44px; min-width: 44px; font-size: 23px; font-weight: 400; }

/* Card discovery keeps shop choice separate from an existing card's recharge. */
.card-shop-back { margin: 3px 0 17px; }
.card-shop { margin-top: 19px; }
.card-shop > h3 { font-size: 17px; }
.card-shop-intro { margin-top: 7px; color: var(--sub); font-size: 11px; line-height: 1.7; }
.shop-annual-card {
  display: block; width: 100%; margin: 18px 0 22px; padding: 18px;
  border: 1px solid #c9b99e; border-radius: 16px; background: #f2eee6;
  color: #443b2f; text-align: left;
}
.shop-annual-card .kicker { color: #8a7759; font-size: 9px; letter-spacing: .16em; }
.shop-annual-main { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 8px 0; }
.shop-annual-main > strong { font-size: 17px; font-weight: 700; }
#shop-annual-price { flex-shrink: 0; font-size: 17px; letter-spacing: -.03em; }
.shop-annual-state { display: block; font-size: 11px; line-height: 1.6; }
.shop-annual-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; margin-top: 12px; border-top: 1px solid #dcd3c4; font-size: 10px; line-height: 1.6; color: #7e715d; }
.shop-annual-foot > span { flex-shrink: 0; font-size: 18px; }
.card-shop-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card-shop-heading h3 { font-size: 16px; }
.card-shop-heading > span { color: #999990; font-size: 8px; letter-spacing: .14em; }
.card-shop-list { display: grid; gap: 9px; margin-top: 13px; }
.shop-card {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px; align-items: center; min-height: 86px; padding: 14px 12px;
  border: 1px solid #e7e7e2; border-radius: 13px; background: #fafaf8; text-align: left;
}
.shop-card:hover:not(:disabled) { background: #f2f2ec; border-color: #cdcdc2; }
.shop-card:disabled { opacity: .65; }
.shop-card-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.shop-card-copy strong { font-size: 13px; line-height: 1.5; font-weight: 650; overflow-wrap: anywhere; }
.shop-card-copy > span { color: #85857a; font-size: 10px; line-height: 1.65; overflow-wrap: anywhere; }
.shop-card-meta { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 9px; max-width: 94px; }
.shop-card-meta > span { font-size: 10px; line-height: 1.5; color: #84847b; text-align: right; }
.shop-card-meta .badge { display: inline-block; border-radius: 5px; padding: 3px 6px; background: #e9e9e2; color: #68685c; white-space: normal; }
.shop-card-meta strong { color: #3a3a32; font-size: 11px; line-height: 1.4; white-space: nowrap; }
#card-purchase-dialog {
  width: min(480px, calc(100vw - 40px)); max-height: calc(100dvh - 48px);
  padding: 0; overflow: hidden; overscroll-behavior: contain; background: #fbfbf8;
}
#card-purchase-dialog[open] { display: flex; flex-direction: column; }
#card-purchase-dialog::backdrop { background: #18191466; animation: card-shade-in 280ms ease-out both; }
#card-purchase-dialog.sheet-closing::backdrop { animation: card-shade-out 220ms ease-out both; }
@keyframes card-shade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes card-shade-out { from { opacity: 1; } to { opacity: 0; } }
#card-purchase-dialog.sheet-dragging { user-select: none; -webkit-user-select: none; }
#card-purchase-dialog .card-sheet-chrome { position: relative; flex: 0 0 48px; height: 48px; }
#card-purchase-dialog .card-sheet-content {
  overflow-y: auto; min-height: 0; padding: 0 25px 20px; overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch; touch-action: pan-y pinch-zoom;
}
.card-sheet-handle { display: none; }
#card-purchase-back {
  position: absolute; right: 9px; top: 3px; width: 44px; height: 44px;
  padding: 0; border-radius: 50%; color: #77786d; font-size: 28px; font-weight: 300; line-height: 1;
}
#card-purchase-back:hover { background: #eeeee7; }
#card-purchase-dialog h2 { font-size: 24px; margin-top: 7px; }
#card-purchase-dialog div { display: block; }
#card-purchase-dialog .card-purchase-store { color: var(--ink); font-weight: 650; font-size: 14px; margin: 18px 0 4px; }
#card-purchase-dialog .card-purchase-address { font-size: 11px; line-height: 1.7; margin: 0 0 17px; overflow-wrap: anywhere; }
#card-purchase-dialog #card-purchase-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opening-choice {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  min-width: 0; min-height: 112px; padding: 16px 13px; gap: 10px; border-radius: 13px;
  background: #292927; color: #fff; text-align: left; border: 1px solid #292927;
}
.opening-choice strong { font-size: 19px; line-height: 1.4; letter-spacing: -.03em; }
.opening-choice > span { font-size: 11px; line-height: 1.65; color: #e3e3d9; overflow-wrap: anywhere; }
.opening-choice:hover:not(:disabled) { background: #41413a; }
.opening-choice:disabled { opacity: .5; }
.card-group-preview {
  display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 5px; margin-top: 11px;
  padding: 16px; border: 1px dashed #d5d5cc; border-radius: 13px; background: #f0f0ea;
  color: #939388; text-align: left; cursor: default;
}
.group-preview-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.group-preview-head strong { font-size: 22px; font-weight: 650; }
.group-preview-head small { font-size: 11px; font-weight: 400; }
.group-preview-head b { padding: 3px 6px; border: 1px solid #d5d5cc; border-radius: 5px; font-size: 10px; font-weight: 500; }
.group-preview-title { font-size: 13px; }
.card-group-preview > span:last-child { font-size: 11px; }
.card-group-preview:not(:disabled) { border-style: solid; border-color: #bcbba8; color: #4b4d3d; background: #eeefe4; cursor: pointer; }
.card-group-preview:not(:disabled):hover { background: #e5e8d8; }
.group-list-heading, .group-status-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.group-list-heading { margin-top: 20px; font-size: 13px; }
.group-open-list { display: grid; gap: 8px; }
.group-open-list button { text-align: left; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; white-space: normal; }
.group-code-row { display: flex; align-items: center; gap: 10px; margin: 15px 0; padding: 10px; background: #ffffffa6; border: 1px solid #dcded1; border-radius: 10px; }
#group-status-code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 11px; }
#group-copy { flex-shrink: 0; }
#group-offer input { width: 100%; min-width: 0; font-size: 12px; }
#group-status-panel { margin: 16px 0; }
#my-group-link { margin-top: 12px; }
#card-purchase-dialog .card-purchase-note { margin: 12px 0 2px; font-size: 10px; line-height: 1.7; color: #89897e; }
@media (max-width: 699px) {
  #card-purchase-dialog {
    position: fixed; inset: auto 0 0; width: 100%; max-width: var(--shell); margin: 0 auto;
    max-height: calc(92dvh - env(safe-area-inset-top, 0px)); border-radius: 24px 24px 0 0;
    border-bottom: 0;
  }
  #card-purchase-dialog .card-sheet-content { padding: 0 22px calc(22px + env(safe-area-inset-bottom, 0px)); }
  .card-sheet-handle { display: flex; position: absolute; inset: 0 56px; align-items: center; justify-content: center; touch-action: none; cursor: grab; }
  .card-sheet-handle span { width: 34px; height: 4px; border-radius: 3px; background: #c9cabe; pointer-events: none; }
  .sheet-dragging .card-sheet-handle { cursor: grabbing; }
  .card-sheet-handle:active { transform: none !important; }
}
@media (max-width: 374px) {
  .shop-annual-card { padding: 14px; }
  .shop-annual-main { gap: 6px; }
  .shop-annual-main > strong, #shop-annual-price { font-size: 15px; }
  .shop-card { gap: 9px; padding: 12px 10px; }
  .shop-card-meta { max-width: 78px; }
  #card-purchase-dialog .card-sheet-content { padding-inline: 18px; }
}
