/* One guest card. Existing payment dialogs and receipt polling stay intact. */
body[data-session-state="member"] .paper-shell { min-height: 100%; height: auto; overflow: visible; padding-bottom: 94px; }
body[data-member-view="card"] .hero-copy, body[data-member-view="card"] .member-view-nav,
body[data-member-view="card"] .identity-block__status, body[data-member-view="card"] .identity-block__divider { display: none; }
body[data-member-view="card"] .identity-block { margin: 12px 0 20px; padding: 0; border: 0; }
body[data-member-view="card"] .identity-handle { display: none; }
body[data-member-view="card"] .masthead { margin-bottom: 12px; }
body[data-member-view="card"] .brand-mark--masthead { width: 68px; height: 80px; }
#memberAccountPanel { overflow: visible; flex: none; }
#memberAccountPanel > * { order: initial !important; }
.unified-card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.unified-card-heading h1 { margin: 0; font-size: clamp(24px, 6vw, 32px); letter-spacing: -.035em; }
.unified-card-heading span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.unified-card-qr { display: grid; place-items: center; width: min(100%, 300px); aspect-ratio: 1; margin: 0 auto; padding: 0; overflow: hidden; border: 4px solid #fa231d; border-radius: 24px; background: #fff; color: #151515; cursor: pointer; }
.unified-card-qr img { display: block; width: 100%; height: auto; }
.unified-card-qr img[hidden] { display: none; }
.unified-card-qr span { padding: 24px; font-size: 14px; }
.unified-qr-hint { text-align: center; color: var(--muted); font-size: 13px; line-height: 1.5; margin: 12px 0 20px; }
#memberAccountPanel .pay-brand, #memberAccountPanel .pay-steps, #payCardQrButton { display: none !important; }
#memberAccountPanel #clubCreditStatement { margin: 0; border: 0; border-radius: 20px; box-shadow: 0 0 0 1px rgb(255 255 255 / 8%); }
#memberAccountPanel .pay-deposit-copy { order: 4 !important; font-size: 13px; line-height: 1.5; color: var(--muted); margin: 16px 0; }
#memberAccountPanel .club-credit-actions { order: 3 !important; margin: 12px 0 0; }
#memberAccountPanel #clubCreditPaymentButton { order: 3 !important; }
#memberAccountPanel .account-site-button, #memberAccountPanel #credentialActions, #memberAccountPanel #openWalletDesignButton { order: 5 !important; }
#memberAccountPanel #openWalletDesignButton { width: 100%; min-height: 44px; margin-top: 8px; }
.unified-passes { order: 6; display: grid; gap: 12px; margin-top: 20px; }
.unified-passes article { padding: 18px; border-radius: 18px; background: var(--paper-raised); box-shadow: 0 0 0 1px var(--line); }
.unified-passes strong { display: block; font-size: 16px; }
.unified-passes p { font-size: 13px; line-height: 1.5; color: var(--muted); }
.unified-passes a { display: block; padding: 12px; min-height: 44px; border-radius: 12px; background: #fa231d; color: #fff; text-align: center; text-decoration: none; font-size: 12px; font-weight: 750; }
.unified-card-nav { position: fixed; z-index: 20; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; padding: 18px 12px calc(18px + env(safe-area-inset-bottom)); background: var(--paper); box-shadow: 0 -1px 0 var(--line); }
.unified-card-nav a, .unified-card-nav span { font-size: 12px; font-weight: 750; text-align: center; text-decoration: none; color: var(--muted); }
.unified-card-nav > [aria-current="page"] { color: #fa231d; }
.unified-card-nav > a > span, .unified-card-nav > span > span { color: inherit; }
body[data-dialog-open="true"] .unified-card-nav { visibility: hidden; }

/* Preserve the approved animated ID-card material, with the same cashier QR. */
body[data-member-view="card"] .unified-card-heading { display: none; }
body[data-member-view="card"] .member-card-stage { aspect-ratio: 1.3; min-height: 250px; margin: 0; }
body[data-member-view="card"] .member-card { grid-template-columns: minmax(0, 1fr) minmax(110px, 40%); grid-template-rows: minmax(56px, 1fr) auto auto 1px auto; grid-template-areas: "brand club" "balance qr" "identity qr" "rule rule" "code date"; gap: 10px 12px; }
body[data-member-view="card"] .member-card__brand { width: 80px; min-height: 64px; }
body[data-member-view="card"] .member-card__club { font-size: 10px; }
body[data-member-view="card"] .member-card > .member-card__qr { align-self: center; width: 100%; max-width: 180px; border-width: 4px; }
.member-card__balance { grid-area: balance; min-width: 0; }
.member-card__balance span { display: block; color: rgb(255 255 255 / 62%); font-size: 11px; }
.member-card__balance strong { display: block; margin-top: 4px; color: #fff; font-size: clamp(27px, 7vw, 46px); line-height: 1.1; font-weight: 750; letter-spacing: -.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
body[data-member-view="card"] .member-card__identity strong { font-size: clamp(14px, 4vw, 20px); }
body[data-member-view="card"] .member-card__identity span { font-size: 12px; }
body[data-member-view="card"] #clubCreditStatement > .value-statement__heading,
body[data-member-view="card"] #clubCreditStatement > .value-statement__row { display: none; }
body[data-member-view="card"] #clubCreditStatement { margin-top: 8px; }
body[data-profile-state="new"] .member-card__balance, body[data-profile-state="incomplete"] .member-card__balance { display: none; }

.member-card[data-card-design="B"] .member-card__balance strong, .member-card[data-card-design="D"] .member-card__balance strong { color: #0e1012; }
.member-card[data-card-design="B"] .member-card__balance span, .member-card[data-card-design="D"] .member-card__balance span { color: rgb(14 16 18 / 72%); }
.member-card[data-balance-size="long"] .member-card__balance strong { font-size: clamp(20px, 5vw, 28px); }
.member-card__balance[data-split="true"] strong { font-size: clamp(17px, 5vw, 26px); }
.member-card__bonus { margin-top: 10px; }
.member-card__balance strong.is-balance-note { font-size: 12px; line-height: 1.25; white-space: normal; letter-spacing: 0; }
body[data-member-view="card"] .member-card-stage[data-split-balances="true"] { min-height: 290px; }
