:root {
  --app-bg: #070909;
  --app-surface: #101515;
  --app-surface-2: #151c1b;
  --app-line: rgba(255, 255, 255, .09);
  --app-text: #f7fbfa;
  --app-muted: #8d9c99;
  --app-accent: #31dbc5;
  --app-accent-strong: #19bea9;
  --app-accent-dark: #0e6f65;
  --app-ocean: #08779b;
  --app-ocean-dark: #023b4d;
  --app-copper: #b6530c;
  --app-gold: #a98619;
  --app-graphite: #3a3c3b;
  --app-black: #07100f;
}

.member-app-body {
  background:
    radial-gradient(circle at 50% -12rem, rgba(49, 219, 197, .13), transparent 31rem),
    var(--app-bg);
  color: var(--app-text);
}

.member-app-body .member-topbar,
.member-app-body .member-shell {
  width: min(760px, calc(100% - 28px));
}

.member-app-body .member-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 72px;
  border-bottom-color: rgba(255, 255, 255, .07);
  background: rgba(7, 9, 9, .83);
  backdrop-filter: blur(18px);
}

.member-app-body .member-brand img {
  width: 38px;
  height: 38px;
}

.member-app-body .member-brand strong {
  letter-spacing: 1.7px;
}

.member-app-body .member-brand small {
  color: var(--app-accent);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1.35px;
}

.member-profile-button,
.profile-avatar-large {
  display: grid;
  place-items: center;
  border: 1px solid rgba(49, 219, 197, .34);
  background: linear-gradient(145deg, rgba(49, 219, 197, .23), rgba(49, 219, 197, .06));
  color: #dffffa;
  font-weight: 950;
}

.member-profile-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.member-app-body .member-shell {
  padding: 34px 0 126px;
}

.member-app-page {
  display: grid;
  gap: 26px;
}

.member-app-body a:focus-visible,
.member-app-body button:focus-visible,
.member-app-body summary:focus-visible {
  outline: 3px solid rgba(49, 219, 197, .72);
  outline-offset: 3px;
}

.member-app-page .member-eyebrow {
  color: var(--app-accent);
  letter-spacing: 1.8px;
}

.member-app-page .category-drink {
  --reward-accent: var(--app-copper);
  --reward-soft: rgba(182, 83, 12, .15);
}

.member-app-page .category-entry {
  --reward-accent: var(--app-ocean);
  --reward-soft: rgba(8, 119, 155, .17);
}

.member-app-page .category-card {
  --reward-accent: var(--app-gold);
  --reward-soft: rgba(169, 134, 25, .16);
}

.member-app-page .category-profile {
  --reward-accent: #aeb3b1;
  --reward-soft: rgba(174, 179, 177, .12);
}

.member-app-page .category-protection {
  --reward-accent: #b86b3f;
  --reward-soft: rgba(184, 107, 63, .14);
}

.member-app-page .category-club {
  --reward-accent: var(--app-accent);
  --reward-soft: rgba(49, 219, 197, .12);
}

.app-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.app-page-heading h1 {
  margin-bottom: 8px;
  font-size: clamp(34px, 8vw, 54px);
  letter-spacing: -2.2px;
}

.app-page-heading p:last-child {
  margin-bottom: 0;
}

.home-heading {
  justify-content: center;
  padding: 4px 2px 0;
  text-align: center;
}

.jc-wallet-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: clamp(24px, 6vw, 34px);
  border: 1px solid rgba(144, 255, 238, .24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 95% 10%, rgba(205, 255, 247, .42), transparent 30%),
    radial-gradient(circle at 76% 85%, rgba(0, 50, 46, .24), transparent 36%),
    linear-gradient(135deg, #43e0cc 0%, #21c9b4 54%, #139b8e 100%);
  box-shadow: 0 25px 70px rgba(9, 94, 84, .25);
  color: #06100f;
}

.jc-wallet-card::before,
.jc-wallet-card::after {
  position: absolute;
  border: 1px solid rgba(5, 47, 43, .14);
  border-radius: 50%;
  content: "";
}

.jc-wallet-card::before {
  width: 290px;
  height: 290px;
  right: -115px;
  bottom: -175px;
  box-shadow: 0 0 0 34px rgba(5, 47, 43, .055), 0 0 0 72px rgba(5, 47, 43, .04);
}

.jc-wallet-card::after {
  width: 90px;
  height: 90px;
  right: 35px;
  top: 40px;
  opacity: .32;
}

.jc-wallet-top,
.jc-wallet-bottom,
.jc-wallet-balance {
  position: relative;
  z-index: 1;
}

.jc-wallet-top,
.jc-wallet-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.jc-wallet-top > span:first-child {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 2.4px;
}

.jc-wallet-chip {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(6, 42, 38, .19);
  border-radius: 50%;
  background: rgba(226, 255, 250, .27);
  font-size: 12px;
  font-weight: 950;
}

.jc-wallet-balance {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 25px 0 28px;
}

.jc-wallet-balance strong {
  font-size: clamp(58px, 14vw, 82px);
  line-height: .82;
  letter-spacing: -5px;
}

.jc-wallet-balance small {
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 1.4px;
}

.jc-wallet-bottom p {
  max-width: 410px;
  margin: 0;
  color: rgba(3, 31, 28, .72);
  font-size: 13px;
  font-weight: 700;
}

.jc-wallet-bottom a {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 14px 17px;
  border-radius: 14px;
  background: #07100f;
  color: #d9fff8;
  font-size: 13px;
  font-weight: 900;
}

.account-nudge,
.active-card-preview {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 13px 16px;
  border: 1px solid var(--app-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
}

.account-nudge-icon,
.active-card-suit {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(49, 219, 197, .12);
  color: var(--app-accent);
  font-size: 19px;
}

.active-card-preview .active-card-suit {
  background: var(--reward-soft, rgba(49, 219, 197, .12));
  color: var(--reward-accent, var(--app-accent));
}

.account-nudge span:nth-child(2),
.active-card-preview span:nth-child(2) {
  display: grid;
}

.account-nudge small,
.active-card-preview small {
  margin-top: 2px;
  color: var(--app-muted);
  font-size: 12px;
}

.account-nudge > span:last-child,
.active-card-preview > span:last-child {
  color: var(--app-accent);
  font-size: 25px;
}

.home-section,
.profile-section,
.vault-section {
  min-width: 0;
  margin-top: 4px;
}

.app-section-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
}

.app-section-head > div {
  flex: 1 1 auto;
  padding-right: 64px;
  padding-left: 64px;
  text-align: center;
}

.app-section-head h2,
.app-section-head p {
  margin-bottom: 0;
}

.app-section-head h2 {
  font-size: clamp(22px, 5vw, 29px);
  letter-spacing: -.8px;
}

.app-section-head > a {
  position: absolute;
  right: 0;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 12px 0 10px 12px;
  color: var(--app-accent);
  font-size: 13px;
  font-weight: 850;
}

.app-section-head > span {
  position: absolute;
  right: 0;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(49, 219, 197, .1);
  color: var(--app-accent);
  font-size: 13px;
  font-weight: 900;
}

.quiz-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(104px, .46fr) 1.54fr;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid var(--app-line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 8% 17%, rgba(49, 219, 197, .15), transparent 34%),
    linear-gradient(145deg, #121918, #090d0d);
}

.quiz-feature-card::after {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, .045);
  border-radius: 19px;
  content: "";
  pointer-events: none;
}

.quiz-feature-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 12px),
    rgba(49, 219, 197, .05);
  color: var(--app-accent);
  font-size: clamp(28px, 6vw, 46px);
  font-weight: 950;
  letter-spacing: -5px;
}

.quiz-feature-art i {
  margin: 0 4px;
  color: rgba(49, 219, 197, .38);
  font-style: normal;
}

.quiz-feature-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px;
}

.status-row,
.campaign-card-top,
.campaign-rewards {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.status-row {
  width: 100%;
  margin-bottom: 6px;
}

.status-row > small {
  color: #687471;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}

.live-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(49, 219, 197, .11);
  color: var(--app-accent);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.live-status.active::before {
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--app-accent);
  box-shadow: 0 0 0 4px rgba(49, 219, 197, .1);
  content: "";
}

.live-status.upcoming {
  background: rgba(8, 119, 155, .16);
  color: #74d2ee;
}

.quiz-feature-copy h3 {
  margin-bottom: 4px;
  font-size: clamp(19px, 4vw, 25px);
  line-height: 1.05;
  letter-spacing: -1px;
}

.quiz-feature-copy > p {
  margin-bottom: 3px;
  color: var(--app-muted);
  font-size: 13px;
}

.member-countdown {
  display: block;
  margin: 2px 0 5px;
  color: var(--app-accent);
  font-size: 13px;
}

.quiz-feature-prize,
.quiz-feature-hint,
.quiz-feature-seated {
  margin: 2px 0;
  font-size: 12px;
  line-height: 1.25;
}

.quiz-feature-prize {
  color: #f4f7f6;
}

.quiz-feature-actions {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.app-secondary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 14px;
  border: 1px solid rgba(116, 210, 238, .35);
  color: #74d2ee;
  font-size: 13px;
  font-weight: 700;
}

.app-primary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 8px;
  border-radius: 14px;
  background: var(--app-accent);
  color: #06100f;
  font-size: 14px;
  font-weight: 950;
}

.smart-empty {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 130px;
  padding: 24px;
  border-color: var(--app-line);
  background: var(--app-surface);
}

.smart-empty > span {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: rgba(49, 219, 197, .1);
  color: var(--app-accent);
  font-size: 24px;
}

.smart-empty h3,
.smart-empty p {
  margin-bottom: 0;
}

.smart-empty p {
  margin-top: 5px;
  color: var(--app-muted);
  font-size: 13px;
}

.smart-empty.compact {
  min-width: 320px;
}

.quiz-empty {
  justify-content: center;
  min-height: 92px;
  border-color: rgba(8, 119, 155, .2);
  background: linear-gradient(135deg, rgba(8, 119, 155, .1), rgba(255, 255, 255, .025));
  text-align: center;
}

.quiz-empty h3 {
  color: #dce9e7;
  font-size: 16px;
}

.home-reward-rail {
  display: grid;
  grid-auto-columns: minmax(190px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  margin: 0 -4px;
  padding: 0 4px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-reward-rail::-webkit-scrollbar {
  display: none;
}

.home-reward-card {
  min-height: 260px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--app-line);
  border-radius: 22px;
  background: var(--app-surface);
  scroll-snap-align: start;
}

.reward-visual {
  display: grid;
  place-items: center;
  height: 116px;
  margin-bottom: 15px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .13), transparent 30%),
    linear-gradient(145deg, #18312e, #0e1d1b);
}

.reward-visual[class*="category-"] {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .13), transparent 30%),
    linear-gradient(145deg, var(--reward-soft), #0e1716);
}

.reward-visual span {
  color: var(--reward-accent, var(--app-accent));
  font-size: 44px;
  font-weight: 950;
}

.reward-animation,
.reward-animation-lottie,
.reward-animation dotlottie-wc,
.reward-animation-lottie dotlottie-wc {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reward-animation-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.home-reward-animation {
  width: 104px;
  height: 104px;
}

.active-card-animation {
  width: 38px;
  height: 38px;
}

.home-reward-card > p {
  margin-bottom: 3px;
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.home-reward-card h3 {
  min-height: 42px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.25;
}

.home-reward-card strong,
.home-reward-card small {
  display: block;
}

.home-reward-card strong {
  color: #fff;
  font-size: 18px;
}

.home-reward-card small {
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 11px;
}

.home-reward-card.affordable {
  border-color: rgba(49, 219, 197, .36);
  box-shadow: inset 0 0 0 1px rgba(49, 219, 197, .06);
}

.home-reward-card.affordable small {
  color: var(--app-accent);
}

.active-card-preview-list {
  display: grid;
  gap: 9px;
}

.stat-chip-grid,
.profile-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat-chip-grid article,
.profile-metric-grid article {
  min-width: 0;
  min-height: 84px;
  padding: 12px;
  border: 1px solid var(--app-line);
  border-radius: 20px;
  background: var(--app-surface);
}

.stat-chip-grid small,
.stat-chip-grid span,
.profile-metric-grid small,
.profile-metric-grid span {
  display: block;
  overflow: hidden;
  color: var(--app-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-chip-grid strong,
.profile-metric-grid strong {
  display: block;
  margin: 8px 0 3px;
  color: var(--app-accent);
  font-size: clamp(24px, 5vw, 32px);
  line-height: 1;
  letter-spacing: -1.5px;
}

.profile-settings-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  margin-top: 10px;
  padding: 0 4px;
  color: var(--app-muted);
  font-size: 13px;
  font-weight: 750;
}

.profile-settings-link span {
  color: var(--app-accent);
}

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

.campaign-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--app-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 95% 0, rgba(49, 219, 197, .12), transparent 35%),
    var(--app-surface);
}

.campaign-card.upcoming {
  border-color: rgba(8, 119, 155, .24);
  background:
    radial-gradient(circle at 95% 0, rgba(8, 119, 155, .18), transparent 38%),
    var(--app-surface);
}

.campaign-card.upcoming .campaign-card-symbol {
  border-color: rgba(8, 119, 155, .3);
  background: rgba(8, 119, 155, .13);
  color: #74d2ee;
}

.campaign-card-symbol {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0;
  border: 1px solid rgba(49, 219, 197, .2);
  border-radius: 18px;
  background: rgba(49, 219, 197, .08);
  color: var(--app-accent);
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -1px;
}

.campaign-card h2 {
  min-height: 0;
  margin: 2px 0 3px;
  font-size: 18px;
  line-height: 1.1;
}

.campaign-played {
  color: var(--app-muted);
  font-size: 11px;
}

.campaign-time {
  min-height: 0;
  margin: 0;
  color: var(--app-muted);
  font-size: 11px;
}

.campaign-rewards {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 5px 0 0;
}

.campaign-rewards span {
  padding: 4px 6px;
  border-radius: 9px;
  background: rgba(49, 219, 197, .08);
  color: #a9dcd5;
  font-size: 8px;
  font-weight: 800;
}

.campaign-card-top {
  min-height: 28px;
  margin-bottom: 8px;
}

.campaign-card-body {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.campaign-card-copy {
  min-width: 0;
}

.campaign-card-copy .member-eyebrow {
  margin-bottom: 0;
  font-size: 8px;
}

.campaign-card > .app-primary-action {
  margin-top: 9px;
}

.vault-page-heading {
  align-items: center;
}

.vault-page-heading > div:first-child {
  flex: 1 1 auto;
  text-align: center;
}

.mini-balance {
  display: grid;
  min-width: 144px;
  padding: 14px 17px;
  border: 1px solid rgba(49, 219, 197, .27);
  border-radius: 18px;
  background: rgba(49, 219, 197, .08);
}

.mini-balance > span {
  color: var(--app-muted);
  font-size: 11px;
}

.mini-balance strong {
  margin-top: 3px;
  color: var(--app-accent);
  font-size: 27px;
}

.mini-balance small {
  font-size: 12px;
}

.member-app-page .vault-section {
  margin-top: 0;
}

.member-app-page .vault-catalog-grid,
.member-app-page .vault-active-grid {
  gap: 12px;
}

.member-app-page .vault-catalog-card,
.member-app-page .jack-card,
.member-app-page .account-panel,
.member-app-page .account-details {
  border-color: var(--app-line);
  background-color: var(--app-surface);
}

.member-app-page .vault-catalog-card {
  scroll-margin-top: 90px;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  padding: 13px;
  background:
    radial-gradient(circle at 100% 0, rgba(49, 219, 197, .1), transparent 42%),
    var(--app-surface);
}

.member-app-page .vault-card-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  font-size: 19px;
}

.vault-card-animation {
  width: 38px;
  height: 38px;
}

.member-app-page .vault-card-copy h3 {
  margin: 1px 0 4px;
  font-size: 16px;
}

.member-app-page .vault-card-copy p:not(.member-eyebrow) {
  min-height: 0;
  margin-bottom: 5px;
  font-size: 11px;
  line-height: 1.35;
}

.member-app-page .vault-card-copy small {
  font-size: 9px;
}

.member-app-page .vault-buy-button {
  min-height: 38px;
  font-size: 12px;
}

.member-app-page .vault-card-mark {
  border-color: var(--reward-soft, rgba(49, 219, 197, .2));
  background: var(--reward-soft, rgba(49, 219, 197, .08));
  color: var(--reward-accent, var(--app-accent));
}

.member-app-page .vault-buy-button {
  border-color: var(--app-accent);
  background: var(--app-accent);
  color: #06100f;
}

.member-app-page .vault-buy-button:disabled {
  border-color: var(--app-line);
  background: rgba(255, 255, 255, .045);
  color: #687572;
}

.member-app-page .jack-card {
  scroll-margin-top: 90px;
  min-height: 186px;
  padding: 13px;
  background:
    radial-gradient(circle at 95% 5%, var(--reward-soft, rgba(49, 219, 197, .28)), transparent 38%),
    linear-gradient(135deg, #17211f, #0b100f 68%);
}

.member-app-page .jack-card-top small {
  color: var(--reward-accent, var(--app-accent));
}

.member-app-page .jack-card-top {
  margin-bottom: 9px;
  font-size: 9px;
}

.member-app-page .jack-card-main > div {
  flex: 1 1 auto;
  min-width: 0;
}

.member-app-page .jack-card-main h3 {
  margin: 3px 0 8px;
  font-size: 18px;
}

.member-app-page .jack-card-main .jack-card-qr {
  width: 72px;
  height: 72px;
  padding: 5px;
}

.jack-card-media {
  display: grid;
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  place-items: center;
}

.jack-card-animation {
  width: 74px;
  height: 74px;
}

.jack-card-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.jack-card-label-row .member-eyebrow {
  margin: 0;
  font-size: 8px;
}

.reward-activate-button {
  min-width: 108px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--reward-accent, var(--app-accent));
  border-radius: 14px;
  background: var(--reward-accent, var(--app-accent));
  color: #07100f;
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  cursor: pointer;
}

.reward-activation-code {
  display: inline-block;
  padding: 9px 13px 9px 19px;
  border: 1px solid var(--reward-soft, rgba(49, 219, 197, .2));
  border-radius: 13px;
  background: var(--reward-soft, rgba(49, 219, 197, .1));
  color: var(--reward-accent, var(--app-accent));
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 7px;
  line-height: 1;
}

.reward-activation-timer {
  display: block;
  width: fit-content;
  margin-top: 9px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.jack-card.awaiting-activation .jack-card-main {
  align-items: flex-start;
}

.jack-card.awaiting-activation > p {
  max-width: 100%;
}

.member-app-page .jack-card > p,
.member-app-page .jack-card > small {
  max-width: calc(100% - 90px);
  margin: 8px 0 3px;
  font-size: 10px;
  line-height: 1.35;
}

.member-app-page .jack-card > small {
  margin-top: 0;
}

.member-app-page .jack-card.awaiting-activation > p,
.member-app-page .jack-card.awaiting-activation > small {
  max-width: 100%;
}

.profile-heading {
  align-items: center;
  justify-content: flex-start;
}

.profile-avatar-large {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 28px;
  font-size: 34px;
}

.profile-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-metric-grid article {
  padding: 16px;
}

.profile-metric-grid strong {
  font-size: 32px;
}

.profile-panel {
  padding: 24px;
}

.member-app-page .profile-data div {
  border-color: var(--app-line);
  background: #0b100f;
}

.account-details {
  overflow: hidden;
  padding: 0 22px;
  background: var(--app-surface);
}

.account-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.account-details > summary::-webkit-details-marker {
  display: none;
}

.account-details > summary::after {
  color: var(--app-accent);
  content: "+";
  font-size: 22px;
}

.account-details[open] > summary::after {
  content: "−";
}

.account-details > summary span {
  margin-left: auto;
  margin-right: 14px;
  color: var(--app-muted);
  font-size: 12px;
}

.account-details .member-history,
.account-details .consent-list {
  margin: 0;
  padding: 0 0 18px;
  border-top: 1px solid var(--app-line);
}

.account-details .member-history article,
.account-details .consent-list p {
  border-bottom-color: var(--app-line);
}

.profile-logout button {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 92, 111, .25);
  border-radius: 15px;
  background: rgba(228, 45, 69, .07);
  color: #ff8a99;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.member-bottom-nav {
  position: fixed;
  z-index: 50;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(760px, 100%);
  min-height: 76px;
  margin: 0 auto;
  padding: 7px max(10px, env(safe-area-inset-right)) max(7px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  border: 1px solid rgba(255, 255, 255, .09);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: rgba(13, 18, 17, .94);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, .38);
  backdrop-filter: blur(22px);
}

.member-bottom-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  min-height: 58px;
  border-radius: 16px;
  color: #71807d;
  font-size: 10px;
  font-weight: 800;
}

.member-bottom-nav svg {
  width: 23px;
  height: 23px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.member-bottom-nav a.active {
  background: rgba(205, 157, 54, .09);
  color: #e8c86f;
}

.member-bottom-nav a.active svg {
  color: #f2d47c;
  filter: drop-shadow(0 0 7px rgba(228, 181, 70, .38));
  animation: member-nav-gold-shimmer 2.4s ease-in-out infinite;
}

.member-bottom-nav i {
  position: absolute;
  top: 2px;
  left: calc(50% + 8px);
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 2px solid #0d1211;
  border-radius: 999px;
  background: var(--app-accent);
  color: #06100f;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
}

.member-bottom-nav .member-hj-nav {
  gap: 0;
  overflow: visible;
  background: transparent;
}

.member-bottom-nav .member-hj-nav.active {
  background: transparent;
  color: #e8c86f;
}

.member-hj-shield {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 66px;
  margin-top: -28px;
  margin-bottom: 1px;
  clip-path: polygon(50% 0, 94% 17%, 84% 72%, 50% 100%, 16% 72%, 6% 17%);
  background: linear-gradient(145deg, #62eee0, #087b87 68%, #065060);
  filter: drop-shadow(0 10px 15px rgba(0, 145, 154, .28));
}

.member-hj-shield::before {
  content: "";
  position: absolute;
  inset: 3px;
  clip-path: inherit;
  background: linear-gradient(160deg, #132d2b, #07100f 72%);
}

.member-hj-shield b {
  position: relative;
  z-index: 1;
  color: #79eee2;
  font-size: 21px;
  font-style: italic;
  font-weight: 1000;
  letter-spacing: -2px;
  text-shadow: 0 0 14px rgba(90, 237, 223, .25);
  transform: skew(-7deg);
}

.member-hj-nav.active .member-hj-shield {
  background: linear-gradient(120deg, #9b691d, #fff2a8, #d0a43d 55%, #fff7c8, #9b691d);
  background-size: 240% 240%;
  filter: drop-shadow(0 10px 17px rgba(209, 163, 59, .25));
  animation: member-shield-gold-shimmer 3s ease-in-out infinite;
}

.member-hj-nav.active .member-hj-shield b {
  color: #fff0a8;
  text-shadow: 0 0 14px rgba(239, 194, 83, .4);
}

.rating-hub-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 118px;
  padding: 17px 19px;
  overflow: hidden;
  border: 1px solid rgba(49, 219, 197, .2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(48, 218, 197, .2), transparent 32%),
    radial-gradient(circle at 94% 100%, rgba(195, 137, 65, .17), transparent 38%),
    linear-gradient(135deg, #10201e, #090f0e 72%);
}

.rating-hub-hero > div:last-child {
  flex: 1 1 auto;
  text-align: center;
}

.rating-hub-hero h1 {
  margin: 0;
  font-size: clamp(26px, 6vw, 36px);
}

.rating-hub-hero p:last-child {
  margin: 8px 0 0;
}

.hj-hero-mark {
  position: relative;
  display: grid;
  flex: 0 0 64px;
  place-items: center;
  width: 64px;
  height: 70px;
  clip-path: polygon(50% 0, 94% 17%, 84% 72%, 50% 100%, 16% 72%, 6% 17%);
  background: linear-gradient(145deg, #73f0e4, #078291 64%, #d09e40);
  filter: drop-shadow(0 18px 24px rgba(0, 138, 149, .22));
}

.hj-hero-mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  clip-path: inherit;
  background: linear-gradient(160deg, #183c38, #07100f 75%);
}

.hj-hero-mark span {
  position: relative;
  z-index: 1;
  color: #7cf0e5;
  font-size: 23px;
  font-style: italic;
  font-weight: 1000;
  letter-spacing: -3px;
  transform: skew(-7deg);
}

.rating-section-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--app-line);
  border-radius: 17px;
  background: #0a100f;
}

.rating-section-tabs a {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--app-muted);
  font-size: 13px;
  font-weight: 900;
}

.rating-section-tabs a.active {
  background: linear-gradient(135deg, rgba(0, 118, 134, .52), rgba(26, 93, 88, .54));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(100, 232, 220, .18);
}

.rating-overview-card,
.club-rating-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 28px;
  border: 1px solid rgba(83, 167, 221, .22);
  border-radius: 25px;
  background:
    radial-gradient(circle at 96% 14%, rgba(52, 141, 203, .2), transparent 34%),
    linear-gradient(135deg, #101c23, #09100f 70%);
}

.rating-overview-card {
  min-height: 78px;
  gap: 8px;
  padding: 4px 6px 4px 15px;
  border-radius: 20px;
}

.club-rating-summary {
  padding: 17px 19px;
  border-radius: 22px;
}

.rating-overview-card .member-eyebrow {
  margin: 0;
  font-size: 18px;
  line-height: .94;
  letter-spacing: -.5px;
}

.rating-overview-copy {
  display: grid;
}

.rating-overview-copy > span,
.club-rating-summary > div > span {
  margin-top: 8px;
  color: var(--app-muted);
  font-size: 12px;
}

.rating-overview-copy > span {
  margin-top: 5px;
  font-size: 9px;
}

.rating-progress-ring {
  display: grid;
  flex: 0 0 68px;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: conic-gradient(#54cce1 calc(var(--rating-progress) * 1%), rgba(255, 255, 255, .07) 0);
}

.rating-progress-ring::before {
  content: "";
  grid-area: 1 / 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #0d1518;
}

.rating-progress-ring span {
  z-index: 1;
  grid-area: 1 / 1;
  font-size: 17px;
  font-weight: 950;
}

.quiz-stat-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.quiz-stat-board article,
.my-club-rank {
  display: grid;
  gap: 4px;
  min-height: 84px;
  padding: 12px;
  border: 1px solid var(--app-line);
  border-radius: 20px;
  background: linear-gradient(145deg, #101a18, #090e0d);
}

.quiz-stat-board small,
.quiz-stat-board span,
.my-club-rank small,
.my-club-rank span {
  color: var(--app-muted);
  font-size: 10px;
}

.quiz-stat-board strong,
.my-club-rank strong {
  align-self: end;
  font-size: 22px;
}

.rating-history-section,
.jackside-rating-section {
  display: grid;
  gap: 13px;
}

.jackside-rating-note {
  margin: -3px 0 2px;
  padding: 13px 15px;
  border: 1px solid rgba(83, 167, 221, .16);
  border-radius: 15px;
  background: rgba(26, 71, 94, .12);
  color: var(--app-muted);
  font-size: 11px;
  line-height: 1.55;
}

.jackside-leaderboard .leaderboard-points {
  color: #64d9d0;
  font-size: 22px;
}

.jackside-leaderboard article.podium-1 {
  border-color: rgba(238, 194, 83, .55);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 231, 139, .2), transparent 34%),
    linear-gradient(135deg, rgba(126, 87, 22, .42), #17150e 72%);
  box-shadow: inset 0 0 28px rgba(218, 167, 45, .06);
}

.jackside-leaderboard article.podium-2 {
  border-color: rgba(197, 208, 215, .42);
  background:
    radial-gradient(circle at 92% 12%, rgba(235, 242, 245, .14), transparent 34%),
    linear-gradient(135deg, rgba(103, 117, 126, .34), #111617 72%);
  box-shadow: inset 0 0 28px rgba(201, 216, 222, .05);
}

.jackside-leaderboard article.podium-3 {
  border-color: rgba(202, 128, 72, .5);
  background:
    radial-gradient(circle at 92% 12%, rgba(224, 151, 95, .16), transparent 34%),
    linear-gradient(135deg, rgba(114, 59, 29, .38), #17110e 72%);
  box-shadow: inset 0 0 28px rgba(202, 117, 57, .05);
}

.jackside-leaderboard article.podium-1 .leaderboard-place,
.jackside-leaderboard article.podium-1 .leaderboard-points {
  color: #f4d77d;
}

.jackside-leaderboard article.podium-2 .leaderboard-place,
.jackside-leaderboard article.podium-2 .leaderboard-points {
  color: #d9e1e5;
}

.jackside-leaderboard article.podium-3 .leaderboard-place,
.jackside-leaderboard article.podium-3 .leaderboard-points {
  color: #dfa06e;
}

.jackside-leaderboard article.is-you {
  outline: 2px solid rgba(83, 230, 214, .62);
  outline-offset: -3px;
}

.jackside-leaderboard article.is-calibrating {
  opacity: .82;
}

.leaderboard-calibration {
  display: grid;
  gap: 2px;
  color: #b7c4c1;
  font-size: 11px;
  text-align: right;
}

.leaderboard-calibration small {
  color: var(--app-muted);
  font-size: 8px;
  font-weight: 700;
}

.quiz-performance-list,
.club-leaderboard {
  display: grid;
  gap: 8px;
}

.quiz-performance-list > article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 11px 18px;
  padding: 16px 18px;
  border: 1px solid var(--app-line);
  border-radius: 18px;
  background: linear-gradient(145deg, #0e1816, #080d0c);
}

.quiz-performance-main,
.quiz-performance-score {
  display: grid;
  gap: 4px;
}

.quiz-performance-main small,
.quiz-performance-score span {
  color: var(--app-muted);
  font-size: 10px;
}

.quiz-performance-score {
  text-align: right;
}

.quiz-performance-bar {
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
}

.quiz-performance-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #158b98, #55d7c9);
}

.club-rating-summary > div h2 {
  margin: 0;
}

.my-club-rank {
  flex: 0 0 170px;
  min-height: 75px;
  border-color: rgba(207, 164, 62, .28);
  background: linear-gradient(145deg, rgba(142, 98, 33, .18), #0b0f0e);
}

.my-club-rank strong {
  color: #e3bc60;
}

.club-leaderboard article {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 16px;
  border: 1px solid var(--app-line);
  border-radius: 17px;
  background: linear-gradient(145deg, #0e1715, #080d0c);
}

.club-leaderboard article.is-you {
  border-color: rgba(66, 218, 201, .42);
  background: linear-gradient(145deg, rgba(18, 90, 83, .36), #090e0d);
}

.club-leaderboard article.podium {
  border-color: rgba(213, 169, 66, .22);
}

.leaderboard-place {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  color: var(--app-muted);
  font-weight: 950;
}

.podium .leaderboard-place {
  background: rgba(213, 169, 66, .14);
  color: #e9c56d;
}

.leaderboard-player {
  display: grid;
  gap: 2px;
}

.leaderboard-player small,
.leaderboard-points small {
  color: var(--app-muted);
  font-size: 9px;
}

.leaderboard-points {
  color: #dbe4e1;
  font-size: 15px;
  text-align: right;
}

@media (max-width: 680px) {
  .member-app-body .member-topbar,
  .member-app-body .member-shell {
    width: min(100% - 24px, 760px);
  }

  .member-app-body .member-shell {
    padding-top: 25px;
  }

  .member-app-page {
    gap: 24px;
  }

  .app-page-heading h1 {
    font-size: 36px;
  }

  .jc-wallet-card {
    min-height: 235px;
    border-radius: 25px;
  }

  .jc-wallet-bottom {
    align-items: flex-end;
  }

  .jc-wallet-bottom p {
    max-width: 54%;
  }

  .quiz-feature-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .quiz-feature-art {
    min-height: 100%;
  }

  .quiz-feature-copy {
    padding: 12px 14px;
  }

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

  .stat-chip-grid article {
    padding: 10px 9px;
    border-radius: 17px;
  }

  .stat-chip-grid small,
  .stat-chip-grid span {
    font-size: 9px;
  }

  .campaign-list,
  .member-app-page .vault-catalog-grid,
  .member-app-page .vault-active-grid {
    grid-template-columns: 1fr;
  }

  .campaign-card h2 {
    min-height: 0;
  }

  .vault-page-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .mini-balance {
    grid-template-columns: 1fr auto;
    align-items: center;
    min-width: 0;
  }

  .profile-heading {
    align-items: center;
    flex-direction: row;
  }

  .profile-avatar-large {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
    border-radius: 23px;
    font-size: 28px;
  }

  .profile-heading h1 {
    font-size: 30px;
  }

  .profile-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-data {
    grid-template-columns: 1fr;
  }

  .member-history article {
    grid-template-columns: 1fr auto;
  }

  .member-history article > span:last-child {
    display: none;
  }

  .rating-hub-hero {
    align-items: flex-start;
    gap: 16px;
    min-height: 108px;
    padding: 14px 15px;
  }

  .hj-hero-mark {
    flex-basis: 54px;
    width: 54px;
    height: 59px;
  }

  .hj-hero-mark span {
    font-size: 20px;
  }

  .rating-hub-hero h1 {
    font-size: 25px;
  }

  .rating-hub-hero p:last-child {
    font-size: 11px;
  }

  .quiz-stat-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .club-rating-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .my-club-rank {
    flex-basis: auto;
  }
}

@media (max-width: 420px) {
  .jc-wallet-card {
    padding: 23px 20px;
  }

  .jc-wallet-balance strong {
    font-size: 60px;
  }

  .jc-wallet-bottom p {
    max-width: 50%;
    font-size: 11px;
  }

  .jc-wallet-bottom a {
    padding-right: 13px;
    padding-left: 13px;
    font-size: 11px;
  }

  .home-reward-rail {
    grid-auto-columns: minmax(175px, 70vw);
  }

  .app-section-head > a {
    font-size: 11px;
  }

  .member-bottom-nav a {
    font-size: 9px;
  }

  .member-hj-shield {
    width: 56px;
    height: 60px;
    margin-top: -24px;
  }

  .rating-overview-card {
    padding: 4px 6px 4px 12px;
  }

  .rating-progress-ring {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
  }

  .rating-progress-ring::before {
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .member-bottom-nav a,
  .app-primary-action,
  .home-reward-card,
  .account-nudge {
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
  }

  .app-primary-action:hover,
  .home-reward-card:hover,
  .account-nudge:hover {
    transform: translateY(-2px);
  }
}

@keyframes member-nav-gold-shimmer {
  0%, 100% {
    color: #b9832e;
    filter: drop-shadow(0 0 4px rgba(207, 154, 47, .22));
  }
  50% {
    color: #fff1ad;
    filter: drop-shadow(0 0 9px rgba(245, 205, 103, .58));
  }
}

@keyframes member-shield-gold-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .member-bottom-nav a.active svg,
  .member-hj-nav.active .member-hj-shield {
    animation: none;
  }
}
