/* EVB Rewards — /account/. Sits on top of /store/store.css and its tokens. */

.acct { padding: 44px 0 72px; }
@media (min-width: 900px) { .acct { padding: 64px 0 96px; } }

.acct-skel { max-width: 1040px; margin: 0 auto; height: 460px; }

/* ---------------------------------------------------------------- signed out */

.acct-hero {
  display: grid; gap: 36px; align-items: center;
  max-width: 1080px; margin: 0 auto;
}
@media (min-width: 900px) { .acct-hero { grid-template-columns: 1.05fr 1fr; gap: 64px; } }

.acct-title {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: clamp(30px, 5vw, 46px); line-height: 1.05; letter-spacing: -0.02em;
  color: var(--evb-ink); margin: 0 0 16px;
}
.acct-title em { font-style: normal; color: var(--evb-orange); }
.acct-lede {
  font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.6;
  color: var(--evb-body); margin: 0 0 28px; max-width: 46ch;
}
.acct-lede strong { color: var(--evb-ink); }

.acct-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.acct-perk { display: flex; gap: 14px; align-items: flex-start; }
.acct-perk-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff; color: var(--evb-orange);
  box-shadow: var(--evb-shadow); border: 1px solid var(--evb-line-soft);
}
.acct-perk-icon svg { width: 20px; height: 20px; }
.acct-perk b {
  display: block; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 800;
  color: var(--evb-ink); margin: 2px 0 2px;
}
.acct-perk span { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--evb-muted); line-height: 1.5; }

/* The sign-in card */
.acct-card {
  background: #fff; border-radius: 22px; padding: 30px 24px;
  box-shadow: var(--evb-shadow-lg); border: 1px solid var(--evb-line-soft);
  position: relative; overflow: hidden;
}
@media (min-width: 600px) { .acct-card { padding: 38px 36px; } }
.acct-card-title {
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 22px;
  color: var(--evb-ink); margin: 0 0 6px; letter-spacing: -0.01em;
}
.acct-card-sub { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--evb-muted); margin: 0 0 24px; line-height: 1.55; }
.acct-card-sub b { color: var(--evb-ink); font-weight: 600; word-break: break-all; }

.acct-label {
  display: block; font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--evb-ink); margin: 0 0 8px;
}
.acct-label small { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--evb-faint); font-size: 12px; }
.acct-input {
  width: 100%; box-sizing: border-box;
  font-family: 'Inter', sans-serif; font-size: 16px; color: var(--evb-ink);
  padding: 15px 16px; min-height: 54px;
  background: #fff; border: 1.5px solid var(--evb-line); border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.acct-input:focus { outline: none; border-color: var(--evb-orange); box-shadow: 0 0 0 4px var(--evb-orange-soft); }
.acct-input[aria-invalid="true"] { border-color: var(--evb-red); }
.acct-field + .acct-field { margin-top: 16px; }

.acct-btn { width: 100%; margin-top: 18px; font-size: 12px; }
.acct-btn[disabled] { opacity: 0.6; cursor: wait; }
.acct-btn .acct-spin {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.45); border-top-color: #fff;
  animation: acct-spin 0.7s linear infinite;
}
@keyframes acct-spin { to { transform: rotate(360deg); } }

.acct-fine { font-family: 'Inter', sans-serif; font-size: 12.5px; color: var(--evb-faint); margin: 16px 0 0; line-height: 1.5; text-align: center; }

.acct-error {
  margin: 14px 0 0; padding: 11px 14px; border-radius: 10px;
  background: rgba(194, 38, 27, 0.07); color: var(--evb-red);
  font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 500; line-height: 1.45;
}
.acct-error:empty { display: none; }

/* 6-digit code: one real input under six painted boxes, so paste, iOS
   one-time-code autofill and backspace all behave natively. */
.acct-code { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (min-width: 420px) { .acct-code { gap: 10px; } }
.acct-code-box {
  height: 60px; border-radius: 12px; border: 1.5px solid var(--evb-line);
  display: grid; place-items: center; background: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 26px; color: var(--evb-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.acct-code-box.is-filled { border-color: var(--evb-ink); }
.acct-code-box.is-active { border-color: var(--evb-orange); box-shadow: 0 0 0 4px var(--evb-orange-soft); }
.acct-code.is-bad .acct-code-box { border-color: var(--evb-red); animation: acct-shake 0.35s ease; }
@keyframes acct-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.acct-code-input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; border: 0; padding: 0; font-size: 16px; color: transparent; caret-color: transparent;
  letter-spacing: 3em;
}

.acct-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.acct-link {
  background: none; border: none; padding: 4px 0; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--evb-orange-dark);
  text-decoration: underline; text-underline-offset: 3px;
}
.acct-link:disabled { color: var(--evb-faint); cursor: default; text-decoration: none; }

.acct-check {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 14px; color: var(--evb-body); line-height: 1.45;
}
.acct-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--evb-orange); flex-shrink: 0; }

.acct-welcome-badge {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 0 18px;
  display: grid; place-items: center; color: var(--evb-orange);
  background: var(--evb-ink);
}
.acct-welcome-badge svg { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- dashboard */

/* Material 3, in EVB orange. White containers with large corners on the
   cream page, no borders or shadows; a warm neutral (--a-s1) for anything
   set inside one; tonal colour only where it means something — prizes you
   can use, an order on its way, a badge you've earned. Headings are words
   only. Motion: the page fades in once, the ring fills, rows open. */

.acct-dash {
  --a-s1: #f4f0eb; --a-s2: #ebe6e0; --a-dim: #5f5a54;
  --a-pri: var(--evb-orange); --a-pri-ink: var(--evb-orange-deep); --a-pri-c: #ffdcc6; --a-on-pri-c: #7a3000;
  max-width: 640px; margin: 0 auto; font-variant-numeric: tabular-nums;
  animation: acct-in 0.45s ease both;
}
@keyframes acct-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.acct-dash > * + * { margin-top: 12px; }
.acct-dash > .acct-dash-head + * { margin-top: 0; }

.acct-dash-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.acct-hi { margin: 0; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(26px, 5vw, 34px); line-height: 1.1; letter-spacing: -0.025em; color: var(--evb-ink); }

.acct-textbtn {
  background: none; border: none; padding: 6px 2px; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: var(--evb-muted);
  transition: color 0.15s ease, background 0.15s ease;
}
.acct-textbtn:hover { color: var(--evb-ink); }
.acct-textbtn:focus-visible { outline: 2px solid var(--a-pri); outline-offset: 2px; border-radius: 6px; }
.acct-dash-head .acct-textbtn { padding: 9px 16px; border-radius: 99px; background: #fff; color: var(--evb-ink); font-size: 13.5px; }
.acct-dash-head .acct-textbtn:hover { background: var(--a-s2); }

/* Containers */
.acct-tier, .acct-points, .acct-prizes, .acct-visit, .acct-qr, .acct-live, .acct-section, .acct-bonus, .acct-locked, .acct-idnotice {
  border-radius: 28px; background: #fff;
}
.acct-section { padding: 22px 20px 16px; }
@media (min-width: 600px) { .acct-section { padding: 26px 28px 20px; } }
.acct-section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.acct-section-head .acct-section-title { margin: 0; }
.acct-section-title {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -0.015em; color: var(--evb-ink);
}
.acct-section-title .acct-textbtn { margin-left: auto; color: var(--a-pri-ink); }
.acct-section-title .acct-textbtn:hover { color: var(--evb-ink); }

/* Member level: a tonal card in the level's colour, the bar running along
   the whole ladder under the level names. */
.acct-tier {
  --t-c: #f6e1d0; --t-on: #4f2a0e; --t-dim: rgba(79,42,14,0.7); --t-fill: #8a4a1c; --t-track: rgba(79,42,14,0.14);
  display: grid; gap: 14px 20px; align-items: center; padding: 20px 22px; background: var(--t-c); color: var(--t-on);
}
@media (min-width: 600px) { .acct-tier { grid-template-columns: 1fr minmax(0, 250px); padding: 22px 28px; } }
.acct-tier--silver { --t-c: #e3e6ea; --t-on: #2a3039; --t-dim: rgba(42,48,57,0.68); --t-fill: #4d5562; --t-track: rgba(42,48,57,0.13); }
.acct-tier--gold { --t-c: #f6e7ad; --t-on: #3f3000; --t-dim: rgba(63,48,0,0.7); --t-fill: #6e5400; --t-track: rgba(63,48,0,0.13); }
.acct-tier--black { --t-c: #262422; --t-on: #fff; --t-dim: rgba(255,255,255,0.66); --t-fill: var(--evb-orange); --t-track: rgba(255,255,255,0.16); }
.acct-tier-main { min-width: 0; }
.acct-tier-name { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.acct-tier-sub { margin: 3px 0 0; font-family: 'Inter', sans-serif; font-size: 13px; color: var(--t-dim); }
.acct-tier-next { font-family: 'Inter', sans-serif; }
.acct-tier-steps { list-style: none; margin: 0 0 8px; padding: 0; display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; color: var(--t-dim); }
.acct-tier-steps .is-now { color: var(--t-on); font-weight: 700; }
.acct-tier-bar { display: flex; gap: 4px; height: 6px; }
.acct-tier-bar i { display: block; width: var(--p); border-radius: 99px; background: var(--t-fill); }
.acct-tier-bar::after { content: ''; flex: 1; border-radius: 99px; background: var(--t-track); }
.acct-tier-next small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--t-dim); }
.acct-tier-next small b { color: var(--t-on); font-weight: 700; }

/* Balance: the number, what it gets you, and a ring toward the next prize. */
.acct-points { display: flex; align-items: center; gap: 20px; padding: 24px 22px; }
@media (min-width: 600px) { .acct-points { padding: 28px 30px; gap: 28px; } }
.acct-points-main { flex: 1; min-width: 0; }
.acct-points-label { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: var(--a-dim); }
.acct-points-num {
  margin: 4px 0 0; font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--evb-ink);
  font-size: clamp(52px, 13vw, 72px); line-height: 1; letter-spacing: -0.04em;
}
.acct-points-ready {
  display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--a-on-pri-c); background: var(--a-pri-c);
}
.acct-points-sub { margin: 12px 0 0; font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.55; color: var(--a-dim); }
.acct-points-sub b { color: var(--evb-ink); font-weight: 600; }
/* "Your points expire on Dec 25" (panel 0077). Red once it's close. */
.acct-points-expire {
  display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0;
  font-family: 'Inter', sans-serif; font-size: 13px; line-height: 1.5; color: var(--a-dim);
}
.acct-points-expire svg { flex-shrink: 0; width: 15px; height: 15px; margin-top: 2px; }
.acct-points-expire b { color: var(--evb-ink); font-weight: 600; }
.acct-points-expire.is-soon, .acct-points-expire.is-soon b { color: var(--evb-red); }

.acct-ring { position: relative; flex-shrink: 0; width: 116px; height: 116px; }
@media (min-width: 600px) { .acct-ring { width: 136px; height: 136px; } }
@media (max-width: 380px) { .acct-ring { width: 100px; height: 100px; } }
.acct-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.acct-ring circle { fill: none; stroke-width: 9; }
.acct-ring-track { stroke: var(--a-s1); }
.acct-ring-fill {
  stroke: var(--a-pri); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.2s cubic-bezier(.2,.7,.2,1);
}
.acct-ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.acct-ring-text b { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--evb-ink); }
@media (min-width: 600px) { .acct-ring-text b { font-size: 17px; } }
@media (max-width: 380px) { .acct-ring-text b { font-size: 13.5px; } }
.acct-ring-text small { margin-top: 1px; font-family: 'Inter', sans-serif; font-size: 11px; color: var(--a-dim); }

/* Prizes: a road to the top prize, then a ticket for each. Tickets you can
   use are solid orange — the boldest thing on the page; the next one up is
   outlined; the rest are neutral. */
.acct-prizes { padding: 22px 18px 18px; }
@media (min-width: 600px) { .acct-prizes { padding: 26px 28px 24px; } }
.acct-prizes-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px; }
.acct-prizes-title { flex: 1; min-width: 0; }
.acct-prizes-title h2 { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -0.015em; color: var(--evb-ink); }
.acct-prizes-title p { margin: 3px 0 0; font-family: 'Inter', sans-serif; font-size: 13px; line-height: 1.45; color: var(--a-dim); }
.acct-prizes-count { flex-shrink: 0; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; color: var(--a-dim); white-space: nowrap; }

/* The road: padded at both ends so the first and last labels fit. */
.acct-prize-road { position: relative; height: 64px; margin: 0 22px 16px; }
.acct-prize-track { position: absolute; left: 0; right: 0; top: 32px; height: 6px; border-radius: 99px; background: var(--a-s1); }
.acct-prize-track i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: var(--a-pri); }
.acct-prize-stop { position: absolute; top: 27px; left: var(--at); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.acct-prize-stop i { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px var(--a-s2); color: #fff; }
.acct-prize-stop.is-ready i { background: var(--a-pri); box-shadow: 0 0 0 3px #fff; }
.acct-prize-stop i svg { width: 10px; height: 10px; }
.acct-prize-stop small { font-family: 'Inter', sans-serif; font-size: 11.5px; font-weight: 600; white-space: nowrap; color: var(--a-dim); }
.acct-prize-stop.is-ready small { color: var(--a-pri-ink); }
.acct-prize-you {
  position: absolute; top: 0; left: var(--at); transform: translateX(-50%); padding: 3px 9px; border-radius: 8px; white-space: nowrap;
  font-family: 'Inter', sans-serif; font-size: 11.5px; font-weight: 500; color: #fff; background: var(--evb-ink);
}
.acct-prize-you b { font-weight: 700; }
.acct-prize-you::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; background: inherit; transform: rotate(45deg); border-radius: 1px; }
/* Near either end the pin hangs inward, its point still on the spot. */
.acct-prize-you.is-end { transform: translateX(calc(-100% + 14px)); }
.acct-prize-you.is-end::after { left: auto; right: 10px; margin-left: 0; }
.acct-prize-you.is-start { transform: translateX(-14px); }
.acct-prize-you.is-start::after { left: 10px; margin-left: 0; }

.acct-prize-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 600px) { .acct-prize-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.acct-prize {
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 160px; padding: 14px 14px 12px;
  border-radius: 20px; background: var(--a-s1); color: var(--a-dim); font-family: 'Inter', sans-serif;
}
.acct-prize-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 14px; }
.acct-prize-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--a-dim); }
.acct-prize-icon svg { width: 17px; height: 17px; }
.acct-prize-flag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 8px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.acct-prize-flag svg { width: 12px; height: 12px; }
.acct-prize-flag--lock { padding: 0; color: #9a948c; }
.acct-prize-flag--lock svg { width: 15px; height: 15px; }
.acct-prize-value { display: flex; flex-direction: column; margin-bottom: 14px; }
.acct-prize-value b { font-family: 'Montserrat', sans-serif; font-size: 32px; font-weight: 800; line-height: 0.95; letter-spacing: -0.035em; color: var(--evb-ink); }
.acct-prize-value small { margin-top: 5px; font-size: 13px; font-weight: 600; line-height: 1.25; }
/* Below the perforation: a dashed line with a notch cut from each side. */
.acct-prize-foot {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 6px;
  margin: auto -14px 0; padding: 10px 14px 0; border-top: 2px dashed rgba(0,0,0,0.12);
}
.acct-prize-foot::before, .acct-prize-foot::after { content: ''; position: absolute; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.acct-prize-foot::before { left: -8px; }
.acct-prize-foot::after { right: -8px; }
.acct-prize-pts { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; }
.acct-prize-pts svg { width: 13px; height: 13px; }
.acct-prize-state { font-size: 12px; font-weight: 500; }
.acct-prize.is-locked .acct-prize-value b { color: #8a847d; }
.acct-prize.is-next { background: #fff; box-shadow: inset 0 0 0 2px var(--a-pri); }
.acct-prize.is-next .acct-prize-icon { background: var(--a-pri-c); color: var(--a-on-pri-c); }
.acct-prize.is-next .acct-prize-flag { color: #fff; background: var(--a-pri); }
.acct-prize.is-next .acct-prize-foot { border-top-color: rgba(249,115,22,0.35); }
.acct-prize.is-next .acct-prize-foot::before, .acct-prize.is-next .acct-prize-foot::after { box-shadow: inset 0 0 0 2px var(--a-pri); }
.acct-prize.is-ready { background: var(--a-pri); color: #fff; }
.acct-prize.is-ready .acct-prize-icon { background: rgba(255,255,255,0.22); color: #fff; }
.acct-prize.is-ready .acct-prize-flag { background: #fff; color: var(--a-pri-ink); }
.acct-prize.is-ready .acct-prize-value b { color: #fff; }
.acct-prize.is-ready .acct-prize-foot { border-top-color: rgba(255,255,255,0.5); }
@media (max-width: 599px) {
  .acct-prize { min-height: 150px; padding: 12px 12px 11px; }
  .acct-prize-foot { margin: auto -12px 0; padding: 9px 12px 0; }
  .acct-prize-value b { font-size: 28px; }
  .acct-prize-road { margin: 0 18px 14px; }
  .acct-prize-stop small { font-size: 10.5px; }
}

/* Under the tickets once one is ready: off to the store. */
.acct-prize-go {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-top: 12px; padding: 10px 10px 10px 18px; border-radius: 20px; text-decoration: none;
  font-family: 'Inter', sans-serif; background: var(--a-s1);
}
.acct-prize-go span { font-size: 14px; font-weight: 600; color: var(--evb-ink); }
.acct-prize-go b {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 99px;
  font-size: 13.5px; font-weight: 700; color: #fff; background: var(--a-pri); transition: background 0.15s ease;
}
.acct-prize-go b svg { width: 14px; height: 14px; }
.acct-prize-go:hover b { background: var(--evb-orange-dark); }
.acct-prize-go:focus-visible { outline: 2px solid var(--a-pri); outline-offset: 2px; }

/* Visit the shop: the storefront, small. */
.acct-visit { display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; text-decoration: none; color: inherit; }
.acct-visit-img { flex-shrink: 0; width: 96px; height: 72px; object-fit: cover; border-radius: 16px; }
.acct-visit-text { flex: 1; min-width: 0; font-family: 'Inter', sans-serif; }
.acct-visit-text b { display: block; font-size: 15px; font-weight: 600; color: var(--evb-ink); }
.acct-visit-text > span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--a-dim); }
.acct-visit-text strong { color: var(--evb-ink); font-weight: 600; }
.acct-visit-addr { display: inline-flex !important; align-items: center; gap: 5px; }
.acct-visit-addr svg { width: 14px; height: 14px; }
.acct-visit-go { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--a-s1); color: var(--evb-ink); transition: background 0.15s ease; }
.acct-visit-go svg { width: 15px; height: 15px; }
.acct-visit:hover .acct-visit-go { background: var(--a-s2); }
.acct-visit:focus-visible { outline: 2px solid var(--a-pri); outline-offset: 2px; }
@media (max-width: 420px) { .acct-visit-img { width: 76px; height: 64px; } .acct-visit-go { display: none; } }

/* Shown at the counter: staff scan it to add points for the visit. The code
   stays black on white so any scanner reads it. */
.acct-qr { display: flex; align-items: center; gap: 20px; padding: 16px 22px 16px 16px; font-family: 'Inter', sans-serif; }
.acct-qr-code {
  flex-shrink: 0; width: 132px; height: 132px; padding: 6px; border-radius: 16px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--evb-line-soft); display: grid; place-items: center;
}
.acct-qr-code svg { display: block; width: 100%; height: 100%; }
.acct-qr-code.is-missing { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 800; color: var(--evb-ink); }
.acct-qr-text { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.acct-qr-label { font-size: 13px; font-weight: 600; color: var(--a-pri-ink); }
.acct-qr-text b { font-size: 15px; font-weight: 600; color: var(--evb-ink); }
.acct-qr-text > span:not(.acct-qr-label):not(.acct-qr-num) { font-size: 13px; line-height: 1.45; color: var(--a-dim); }
.acct-qr-num { margin-top: 4px; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 800; letter-spacing: 0.04em; color: var(--evb-ink); }
@media (max-width: 460px) {
  .acct-qr { flex-direction: column; align-items: stretch; text-align: center; padding: 20px 18px; }
  .acct-qr-code { width: 200px; height: 200px; margin: 0 auto; }
}

/* Happening now: an order on its way, a buy-back that's open. */
.acct-live { padding: 22px 20px 8px; }
@media (min-width: 600px) { .acct-live { padding: 26px 28px 10px; } }
.acct-live .acct-section-title { margin-bottom: 6px; }
.acct-live-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.acct-live-row + .acct-live-row { border-top: 1px solid var(--evb-line-soft); }
.acct-live-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--a-s1); color: var(--a-dim); }
.acct-live-icon svg { width: 18px; height: 18px; }
.acct-live-icon.is-go { background: #c4eed0; color: #0d5223; }
.acct-live-icon.is-hold { background: var(--a-pri-c); color: var(--a-on-pri-c); }
.acct-live-main { flex: 1; min-width: 0; }
.acct-live-main b { display: block; font-family: 'Inter', sans-serif; font-size: 14.5px; font-weight: 600; color: var(--evb-ink); }
.acct-live-main span { display: block; margin-top: 2px; font-family: 'Inter', sans-serif; font-size: 13px; color: var(--a-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-live-btn {
  flex-shrink: 0; padding: 8px 16px; border-radius: 99px; background: var(--a-s1); text-decoration: none;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--evb-ink); transition: background 0.15s ease;
}
.acct-live-btn:hover { background: var(--a-s2); }

/* This week's deals: up to four pieces, photo first, the price drop in a
   tonal chip. They fade up one after another when they arrive. */
.acct-deals-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.acct-deals-ends {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 99px;
  background: var(--a-pri-c); color: var(--a-on-pri-c); font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.acct-deals-ends svg { width: 15px; height: 15px; }
.acct-deal-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
@media (min-width: 600px) { .acct-deal-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.acct-deal { min-width: 0; animation: acct-deal-in 0.5s calc(var(--i) * 70ms) cubic-bezier(.2,.7,.2,1) both; }
@keyframes acct-deal-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.acct-deal a { display: block; text-decoration: none; color: inherit; border-radius: 20px; outline: none; }
.acct-deal a:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--a-pri); }
.acct-deal-img { position: relative; display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--a-s1); }
.acct-deal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s cubic-bezier(.2,.7,.2,1); }
.acct-deal a:hover .acct-deal-img img { transform: scale(1.04); }
.acct-deal-pct {
  position: absolute; top: 8px; left: 8px; padding: 4px 10px; border-radius: 99px; background: var(--a-pri); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.01em;
}
.acct-deal-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; padding: 0 2px;
  font-family: 'Inter', sans-serif; font-size: 13.5px; line-height: 1.35; font-weight: 500; color: var(--evb-ink);
}
.acct-deal-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-top: 4px; padding: 0 2px; font-family: 'Inter', sans-serif; }
.acct-deal-price b { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; color: var(--a-pri-ink); }
.acct-deal-price s { font-size: 12.5px; color: var(--a-dim); }
.acct-deals-all {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 10px 18px; border-radius: 99px; background: var(--a-s1);
  text-decoration: none; font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--evb-ink); transition: background 0.15s ease;
}
.acct-deals-all:hover { background: var(--a-s2); }
.acct-deals-all svg { width: 16px; height: 16px; }
@media (max-width: 420px) { .acct-deals-head { flex-direction: column; gap: 10px; } }
@media (prefers-reduced-motion: reduce) {
  .acct-deal { animation: none; }
  .acct-deal-img img { transition: none; }
}

/* History filter: a white pill slides under the active choice. */
.acct-seg { position: relative; display: inline-flex; padding: 4px; background: var(--a-s1); border-radius: 99px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.acct-seg::-webkit-scrollbar { display: none; }
.acct-seg-pill {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 99px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), width 0.35s cubic-bezier(.2,.7,.2,1);
}
.acct-seg-btn {
  position: relative; z-index: 1; background: none; border: none; cursor: pointer; white-space: nowrap;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--a-dim);
  padding: 7px 13px; border-radius: 99px; transition: color 0.15s ease;
}
.acct-seg-btn:hover, .acct-seg-btn[aria-selected="true"] { color: var(--evb-ink); }
.acct-seg-btn:focus-visible { outline: 2px solid var(--a-pri); outline-offset: 1px; }

/* History rows */
.acct-list { list-style: none; margin: 0; padding: 0; }
.acct-row { border-top: 1px solid var(--evb-line-soft); }
.acct-row:first-child { border-top: none; }
.acct-row-head {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 10px; margin: 0 -10px; box-sizing: content-box;
  background: none; border: none; border-radius: 16px; cursor: pointer; text-align: left; font: inherit; color: inherit;
  transition: background 0.15s ease;
}
.acct-row-head:hover, .acct-row.is-open .acct-row-head { background: var(--a-s1); }
.acct-row-head:focus-visible { outline: 2px solid var(--a-pri); outline-offset: 2px; }
.acct-row-main { flex: 1; min-width: 0; }
.acct-row-main b { display: block; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14.5px; color: var(--evb-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-row-main > span { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 3px; font-family: 'Inter', sans-serif; font-size: 12.5px; color: var(--a-dim); }
.acct-row-amt { flex-shrink: 0; text-align: right; }
.acct-row-amt b { display: block; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14.5px; color: var(--evb-ink); }
.acct-row-amt b.is-struck { text-decoration: line-through; color: var(--evb-faint); }
.acct-row-amt span { display: block; margin-top: 3px; font-family: 'Inter', sans-serif; font-size: 12px; color: var(--a-dim); }
.acct-row-amt span.is-pts { color: var(--a-pri-ink); font-weight: 600; }
.acct-row-chev { flex-shrink: 0; width: 8px; height: 8px; margin: 0 4px 0 2px; border-right: 1.5px solid var(--a-dim); border-bottom: 1.5px solid var(--a-dim); transform: rotate(45deg) translateY(-2px); transition: transform 0.3s cubic-bezier(.2,.7,.2,1); }
.acct-row.is-open .acct-row-chev { transform: rotate(225deg) translateY(-2px); }
.acct-row.is-muted .acct-row-main b, .acct-row.is-muted .acct-thumb { opacity: 0.55; }
@media (max-width: 480px) {
  .acct-row-head { gap: 12px; }
  .acct-row-main b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
  .acct-row-main > span { font-size: 12px; }
  .acct-row-amt b { font-size: 14px; }
  .acct-row-chev { margin: 0; }
}

/* Order status chips */
.acct-chip { display: inline-block; font-size: 11.5px; font-weight: 600; line-height: 1; padding: 4px 7px; border-radius: 6px; background: var(--a-s1); color: var(--a-dim); }
.acct-chip--shipped, .acct-chip--ready_for_pickup { background: #c4eed0; color: #0d5223; }
.acct-chip--cancelled { background: #ffdad6; color: #8c1d18; }
.acct-chip--hold { background: var(--a-pri-c); color: var(--a-on-pri-c); }

/* History thumbnails: the photo in a circle, what kind of entry in a badge. */
.acct-thumb { position: relative; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--a-s1); display: grid; place-items: center; }
.acct-thumb > img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.acct-thumb > img.is-cutout { object-fit: contain; padding: 5px; box-sizing: border-box; background: #fff; box-shadow: inset 0 0 0 1px var(--evb-line-soft); }
.acct-thumb.is-blank { color: var(--evb-ink); }
.acct-thumb.is-blank > svg { width: 18px; height: 18px; }
.acct-thumb-badge { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--evb-ink); color: #fff; box-shadow: 0 0 0 2px #fff; }
.acct-thumb-badge svg { width: 11px; height: 11px; stroke-width: 2.2; }
.acct-thumb.is-blank .acct-thumb-badge { display: none; }
@media (max-width: 480px) { .acct-thumb { width: 40px; height: 40px; } }

/* Opening a row: height animates through a 0fr → 1fr grid row. */
.acct-row-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(.2,.7,.2,1); }
.acct-row.is-open .acct-row-body { grid-template-rows: 1fr; }
.acct-row-inner { overflow: hidden; min-height: 0; padding-left: 58px; opacity: 0; transition: opacity 0.3s ease; }
.acct-row.is-open .acct-row-inner { opacity: 1; transition-delay: 0.08s; }
.acct-row-inner > :last-child { margin-bottom: 18px; }
@media (max-width: 480px) { .acct-row-inner { padding-left: 0; } }

.acct-d-label { margin: 8px 0 6px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--evb-ink); }
.acct-lines { list-style: none; margin: 0 0 6px; padding: 0; }
.acct-lines li { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--evb-body); }
.acct-line-thumb { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--a-s1); overflow: hidden; display: grid; place-items: center; }
.acct-line-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acct-line-thumb img.is-cutout { object-fit: contain; padding: 3px; box-sizing: border-box; background: #fff; }
.acct-line-thumb.is-blank { color: var(--evb-faint); }
.acct-line-thumb.is-blank svg { width: 16px; height: 16px; }
.acct-line-thumb:empty { display: none; }
.acct-line-name { flex: 1; min-width: 0; }
.acct-line-name small { color: var(--a-dim); }
.acct-line-amt { flex-shrink: 0; color: var(--evb-ink); font-weight: 500; }
.acct-sums { margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--evb-line); }
.acct-sums div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-family: 'Inter', sans-serif; font-size: 13px; color: var(--a-dim); }
.acct-sums dt, .acct-sums dd { margin: 0; }
.acct-sums div.is-total { margin-top: 4px; color: var(--evb-ink); font-weight: 600; font-size: 14px; }
.acct-d-note { margin: 12px 0 0; padding: 12px 14px; border-radius: 16px; background: var(--a-s1); font-family: 'Inter', sans-serif; font-size: 13px; line-height: 1.5; color: var(--evb-body); }
.acct-d-note a { color: var(--evb-ink); font-weight: 600; }
.acct-d-meta { margin: 12px 0 0; font-family: 'Inter', sans-serif; font-size: 12px; color: var(--a-dim); }

/* Order progress: four dots on a line that fills to where the order is. */
.acct-steps-track { --at: 0; position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 8px 0 14px; padding: 0; }
.acct-steps-track::before, .acct-steps-track::after { content: ''; position: absolute; top: 5px; left: 12.5%; height: 2px; border-radius: 2px; }
.acct-steps-track::before { right: 12.5%; background: var(--evb-line); }
.acct-steps-track::after { width: calc(75% * var(--at) / 3); background: var(--a-pri); transform-origin: left; animation: acct-grow 0.9s 0.15s cubic-bezier(.2,.7,.2,1) both; }
@keyframes acct-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.acct-steps-track li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; font-family: 'Inter', sans-serif; }
.acct-steps-track li span { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--evb-line); box-sizing: border-box; }
.acct-steps-track li.is-done span { background: var(--a-pri); border-color: var(--a-pri); }
.acct-steps-track li.is-now span { box-shadow: 0 0 0 4px rgba(249,115,22,0.2); }
.acct-steps-track b { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--evb-faint); }
.acct-steps-track li.is-done b { color: var(--evb-ink); }
.acct-steps-track small { margin-top: 2px; font-size: 11px; color: var(--evb-faint); }
.acct-track { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; padding: 12px 14px; border-radius: 16px; background: var(--a-s1); font-family: 'Inter', sans-serif; font-size: 13px; color: var(--evb-body); }
.acct-track code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--evb-ink); word-break: break-all; }
.acct-track a { font-weight: 600; color: var(--a-pri-ink); white-space: nowrap; }

.acct-more { display: block; width: 100%; margin-top: 4px; padding: 12px 0 6px; background: none; border: none; border-top: 1px solid var(--evb-line-soft); cursor: pointer; font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--evb-ink); }
.acct-none { margin: 0; padding: 22px 0 14px; text-align: center; font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--a-dim); }
.acct-empty { text-align: center; padding: 14px 8px 12px; }
.acct-empty p { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--a-dim); line-height: 1.6; margin: 0 auto 18px; max-width: 42ch; }

/* How it works: a real sequence, so the steps are numbered. */
.acct-steps { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 16px; }
@media (min-width: 600px) { .acct-steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.acct-steps li { font-family: 'Inter', sans-serif; font-size: 13.5px; line-height: 1.55; color: var(--a-dim); }
.acct-steps li > span:last-child { display: block; }
.acct-steps b { display: block; margin-bottom: 2px; font-family: 'Montserrat', sans-serif; font-size: 14.5px; font-weight: 700; color: var(--evb-ink); }
.acct-step-n {
  display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; border-radius: 50%;
  background: var(--a-pri-c); color: var(--a-on-pri-c); font: 800 13px/1 'Montserrat', sans-serif;
}
@media (max-width: 599px) {
  .acct-steps li:has(.acct-step-n) { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; align-items: start; }
  .acct-step-n { grid-row: span 2; margin-bottom: 0; }
}

.acct-foot-note { font-family: 'Inter', sans-serif; font-size: 12.5px; color: var(--evb-faint); text-align: center; margin-top: 26px !important; }
.acct-foot-note a { color: var(--evb-muted); }

/* Flat buttons, a plain pulse for loading instead of the store's shimmer. */
.acct .evb-btn--primary { background: var(--evb-ink); color: #fff; box-shadow: none; transition: background 0.2s ease, transform 0.2s ease; }
.acct .evb-btn--primary::before { display: none; }
.acct .evb-btn--primary:hover:not(:disabled) { background: #000; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.14); }
.acct .evb-btn--primary:active:not(:disabled) { transform: none; box-shadow: none; }
.acct .acct-skel { background: #ebe6de; animation: acct-pulse 1.4s ease-in-out infinite; border-radius: 28px; }
@keyframes acct-pulse { 50% { opacity: 0.55; } }

.acct-preview-tag {
  display: inline-block; margin-bottom: 14px; padding: 5px 10px; border-radius: 8px;
  background: var(--evb-ink); color: #fff; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
}

.acct-fade { animation: acct-in 0.35s ease both; }
.acct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .acct-dash, .acct-fade, .acct-steps-track::after, .acct .acct-skel, .acct-code.is-bad .acct-code-box { animation: none; }
  .acct-row-body, .acct-row-inner, .acct-seg-pill, .acct-ring-fill { transition: none; }
}

/* ---------------------------------------------------------------- locked */

/* An account Rewards hasn't opened to yet (panel 0072): one card in the
   points card's place. */
.acct-locked { display: flex; align-items: flex-start; gap: 18px; padding: 24px 22px; }
@media (min-width: 600px) { .acct-locked { padding: 30px 32px; gap: 22px; } }
.acct-locked-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--a-pri-c); color: var(--a-on-pri-c);
}
.acct-locked-icon svg { width: 22px; height: 22px; }
.acct-locked-title { margin: 2px 0 6px; font-family: 'Montserrat', sans-serif; font-size: clamp(18px, 4.6vw, 22px); font-weight: 800; letter-spacing: -0.02em; color: var(--evb-ink); }
.acct-locked-text { margin: 0; font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.6; color: var(--a-dim); }
.acct-locked-text b { color: var(--evb-ink); font-weight: 600; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- accents and motion */

/* Flat orange accents only (no gradients, as on the rest of the page), and
   motion that plays once and then stays put: the intro rises in, the
   underline draws itself, the tags settle and then barely bob. All of it
   stops for prefers-reduced-motion. */

.acct { overflow-x: hidden; overflow-x: clip; }

/* Background: two outline rings and two sparkles behind the intro. */
.acct-intro { position: relative; }
.acct-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.acct-intro > *:not(.acct-deco) { position: relative; z-index: 1; }
/* "orb", not "ring": .acct-ring is the points ring on the account page. */
.acct-orb { position: absolute; border-radius: 50%; border: 1.5px solid rgba(249,115,22,0.16); }
.acct-orb--a { width: 240px; height: 240px; left: -110px; top: -80px; animation: acct-drift 16s ease-in-out infinite alternate; }
.acct-orb--b { width: 84px; height: 84px; right: 4%; top: -18px; border-style: dashed; border-color: rgba(249,115,22,0.3); animation: acct-spin 45s linear infinite; }
.acct-spark { position: absolute; color: var(--evb-orange); animation: acct-twinkle 3.4s ease-in-out infinite; }
.acct-spark svg { display: block; width: 100%; height: 100%; }
.acct-spark--a { width: 22px; height: 22px; right: 10%; top: 86px; }
.acct-spark--b { width: 14px; height: 14px; left: -24px; top: 58%; animation-delay: 1.6s; }
@media (max-width: 899px) { .acct-orb--a { left: -150px; } .acct-spark--b { left: auto; right: 2%; top: auto; bottom: -6px; } }

/* Headline: "Get rewarded." gets a hand-drawn underline. */
.acct-word { display: inline-block; }
.acct-title em { position: relative; display: inline-block; }
.acct-squiggle { position: absolute; left: -2%; bottom: -12px; width: 104%; height: 16px; overflow: visible; }
.acct-squiggle path {
  fill: none; stroke: var(--evb-orange); stroke-width: 4; stroke-linecap: round; opacity: 0.6;
  vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 0;
}

/* The entrance, once. */
@keyframes acct-rise-lg { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes acct-draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
.acct-intro--play .acct-word,
.acct-intro--play .acct-lede,
.acct-intro--play .acct-perk {
  animation: acct-rise-lg 0.75s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}
.acct-intro--play .acct-squiggle path { animation: acct-draw 1.1s 0.7s cubic-bezier(.6,.1,.2,1) both; }

/* Perks: soft orange circles that tip on hover. */
.acct-perk-icon {
  border-radius: 50%; background: var(--evb-orange-soft); border-color: transparent; box-shadow: none;
  color: var(--evb-orange-dark); transition: transform 0.35s cubic-bezier(.2,1.4,.4,1);
}
.acct-perk:hover .acct-perk-icon { transform: rotate(-10deg) scale(1.08); }

/* Sign-in card: an orange bar slides across the top; two tags float by it. */
.acct-card-stage { position: relative; }
.acct-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--evb-orange);
  transform-origin: left; animation: acct-bar 0.9s 0.35s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes acct-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.acct-float {
  --r: 0deg;
  position: absolute; z-index: 2; pointer-events: none;
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px 8px 11px; border-radius: 99px;
  background: #fff; border: 1px solid var(--evb-line-soft); box-shadow: 0 8px 22px rgba(0,0,0,0.09);
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 800; color: var(--evb-ink); white-space: nowrap;
  transform: rotate(var(--r));
  animation: acct-float-in 0.6s 0.75s cubic-bezier(.2,1.3,.4,1) both, acct-bob 5s 1.4s ease-in-out infinite;
}
.acct-float svg { width: 14px; height: 14px; color: var(--evb-orange); }
.acct-float--pts { --r: 5deg; top: -17px; right: 26px; }
.acct-float--off { --r: -4deg; bottom: -17px; left: 26px; animation-delay: 0.9s, 2.4s; }
@keyframes acct-float-in { from { opacity: 0; transform: translateY(10px) scale(0.85) rotate(var(--r)); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes acct-bob { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-6px) rotate(var(--r)); } }

/* Buttons that move you on get an arrow that nudges forward. */
.acct-btn--go::after { content: '\2192'; display: inline-block; margin-left: 8px; font-size: 15px; line-height: 1; transition: transform 0.25s ease; }
.acct-btn--go:hover:not(:disabled)::after { transform: translateX(4px); }
.acct-btn--go:disabled::after { display: none; }

/* Code boxes pop as each digit lands. */
.acct-code-box.is-filled { animation: acct-pop 0.24s cubic-bezier(.2,1.5,.4,1); }
@keyframes acct-pop { from { transform: scale(0.86); } to { transform: none; } }

/* Welcome and on-the-list badge bounces in; its icon twinkles. */
.acct-welcome-badge { animation: acct-badge 0.7s cubic-bezier(.2,1.5,.4,1) both; }
.acct-welcome-badge svg { animation: acct-twinkle 3.4s 0.8s ease-in-out infinite; }
@keyframes acct-badge { from { opacity: 0; transform: scale(0.5) rotate(-14deg); } to { opacity: 1; transform: none; } }

/* Locked screen: the clock breathes, the coming features pop in. */
.acct-locked-icon { position: relative; }
.acct-locked-icon::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--evb-orange); opacity: 0; animation: acct-ping 2.8s ease-out infinite;
}
@keyframes acct-pop-in { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }

@keyframes acct-drift { from { transform: translate(0, 0); } to { transform: translate(22px, 16px); } }
@keyframes acct-spin { to { transform: rotate(360deg); } }
@keyframes acct-twinkle { 0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(20deg); } }

@media (prefers-reduced-motion: reduce) {
  .acct-orb, .acct-spark, .acct-card::after, .acct-float,
  .acct-code-box.is-filled, .acct-welcome-badge, .acct-welcome-badge svg, .acct-locked-icon::after,
  .acct-intro--play .acct-word,
  .acct-intro--play .acct-lede, .acct-intro--play .acct-perk, .acct-intro--play .acct-squiggle path { animation: none; }
  .acct-perk-icon, .acct-btn--go::after { transition: none; }
}
.acct-title { margin-bottom: 28px; }
/* On phones the site's chat bubble sits bottom-left; keep the tag clear of it. */
@media (max-width: 599px) { .acct-float--off { left: auto; right: 26px; } }

/* ---------------------------------------------------------------- sign-up steps */

/* Photo, name, birthday, ID, done — one question per screen. On phones the
   steps take the whole screen (over the site's header, chat bubble and
   bottom buttons) with the button at the thumb; on bigger screens they're a
   card in the page. Flat colors only, like the rest of the account page. */
.acct-ob {
  max-width: 520px; margin: 0 auto; background: #fff; border-radius: 24px;
  border: 1px solid var(--evb-line-soft); box-shadow: var(--evb-shadow-lg);
  padding: 22px 32px 30px; position: relative; overflow: hidden;
}
.acct-ob::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--evb-orange); }

.acct-ob-top { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 12px; min-height: 40px; }
.acct-ob-back, .acct-ob-back-space { width: 40px; height: 40px; }
.acct-ob-back {
  display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--evb-line); background: #fff;
  color: var(--evb-ink); cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease;
}
.acct-ob-back:hover { border-color: var(--evb-ink); transform: translateX(-2px); }
.acct-ob-back svg { width: 18px; height: 18px; }
.acct-ob-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.acct-ob-progress span { height: 4px; border-radius: 99px; background: var(--evb-cream); position: relative; overflow: hidden; }
.acct-ob-progress span::after { content: ''; position: absolute; inset: 0; background: var(--evb-orange); transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
.acct-ob-progress span.is-done::after, .acct-ob-progress span.is-now::after { transform: scaleX(1); }
.acct-ob-progress span.is-now::after { animation: acct-bar 0.6s cubic-bezier(.2,.7,.2,1) both; }
.acct-ob-count { justify-self: end; font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 600; color: var(--evb-faint); font-variant-numeric: tabular-nums; }

.acct-ob-body { padding-top: 26px; }
.acct-ob-in-next { animation: acct-ob-next 0.45s cubic-bezier(.2,.7,.2,1) both; }
.acct-ob-in-back { animation: acct-ob-back 0.45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes acct-ob-next { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes acct-ob-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

.acct-ob-eyebrow { margin: 0 0 8px; font-family: 'Montserrat', sans-serif; font-size: 10.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--evb-orange-deep); }
.acct-ob-title { margin: 0 0 8px; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(26px, 6.4vw, 32px); line-height: 1.1; letter-spacing: -0.025em; color: var(--evb-ink); }
.acct-ob-sub { margin: 0 0 24px; font-family: 'Inter', sans-serif; font-size: 15px; line-height: 1.55; color: var(--evb-muted); }
.acct-ob-input { font-size: 17px; min-height: 58px; }
.acct-ob-age { min-height: 22px; margin: 10px 0 0; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 800; color: var(--evb-orange-deep); }

/* Profile photo */
.acct-ob-avatar {
  width: 132px; height: 132px; margin: 4px auto 24px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: var(--evb-orange-soft); color: var(--evb-orange-dark);
  border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--evb-orange-line), 0 10px 26px rgba(0,0,0,0.08);
}
.acct-ob-avatar svg { width: 52px; height: 52px; stroke-width: 1.4; }
.acct-ob-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acct-ob-avatar.is-set { animation: acct-badge 0.5s cubic-bezier(.2,1.5,.4,1) both; box-shadow: 0 0 0 2px var(--evb-orange), 0 10px 26px rgba(0,0,0,0.1); }

/* Camera / library pickers: big, thumb-sized tiles */
.acct-ob-pickers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acct-ob-pick {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 92px; padding: 14px 10px; border-radius: 16px; cursor: pointer; text-align: center;
  background: #fff; border: 1.5px solid var(--evb-line);
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: var(--evb-ink);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.acct-ob-pick svg { width: 24px; height: 24px; color: var(--evb-orange); }
.acct-ob-pick:hover { border-color: var(--evb-ink); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.acct-ob-pick:focus-within { outline: 2px solid var(--evb-orange); outline-offset: 2px; }
.acct-ob-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.acct-ob-pick--main { background: var(--evb-orange-soft); border-color: var(--evb-orange-line); }

/* ID frame: a card-shaped window with corner marks */
.acct-ob-idframe {
  position: relative; aspect-ratio: 1.586; margin: 0 0 16px; border-radius: 18px;
  background: var(--evb-cream); display: grid; place-items: center; overflow: hidden;
}
.acct-ob-idframe.is-set { background: #111; }
.acct-ob-idimg { width: 100%; height: 100%; object-fit: contain; display: block; animation: acct-rise 0.4s ease both; }
.acct-ob-idhint { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--evb-muted); font-family: 'Inter', sans-serif; font-size: 13.5px; }
.acct-ob-idhint svg { width: 46px; height: 46px; color: var(--evb-orange); stroke-width: 1.4; animation: acct-twinkle-soft 2.6s ease-in-out infinite; }
.acct-ob-idhint b { font-weight: 600; color: var(--evb-ink); }
@keyframes acct-twinkle-soft { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.06); opacity: 1; } }
.acct-ob-corner { position: absolute; width: 26px; height: 26px; border: 3px solid var(--evb-orange); z-index: 1; pointer-events: none; }
.acct-ob-corner--tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.acct-ob-corner--tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.acct-ob-corner--bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.acct-ob-corner--br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.acct-ob-tips { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.acct-ob-tips li { position: relative; padding-left: 22px; font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--evb-body); }
.acct-ob-tips li::before { content: ''; position: absolute; left: 3px; top: 5px; width: 9px; height: 5px; border-left: 2px solid var(--evb-green); border-bottom: 2px solid var(--evb-green); transform: rotate(-45deg); }
.acct-ob-private { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; font-family: 'Inter', sans-serif; font-size: 12.5px; line-height: 1.5; color: var(--evb-muted); }
.acct-ob-private svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; color: var(--evb-green); }

.acct-ob-actions { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.acct-ob-actions .acct-btn { margin-top: 0; min-height: 56px; font-size: 12.5px; }
.acct-ob-skip { color: var(--evb-muted); text-decoration: none; padding: 12px; }

/* Done */
.acct-ob-done { text-align: center; padding-top: 6px; }
.acct-ob-done .acct-check { justify-content: center; text-align: left; margin: 0 auto; max-width: 340px; }
.acct-ob-check { display: block; width: 84px; height: 84px; margin: 0 auto 20px; }
.acct-ob-check svg { width: 100%; height: 100%; }
.acct-ob-check circle { fill: var(--evb-orange-soft); stroke: var(--evb-orange); stroke-width: 2.5; stroke-dasharray: 160; animation: acct-ob-circle 0.7s ease-out both; }
.acct-ob-check path { fill: none; stroke: var(--evb-orange-deep); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; animation: acct-ob-tick 0.45s 0.55s ease-out both; }
@keyframes acct-ob-circle { from { stroke-dashoffset: 160; } to { stroke-dashoffset: 0; } }
@keyframes acct-ob-tick { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }

/* Phones: the steps take the whole screen; the button sits at the bottom. */
@media (max-width: 699px) {
  html.acct-ob-open, html.acct-ob-open body { overflow: hidden; }
  .acct-ob {
    position: fixed; inset: 0; z-index: 2147483000; max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none;
    display: flex; flex-direction: column;
    padding: calc(14px + env(safe-area-inset-top)) 20px calc(16px + env(safe-area-inset-bottom));
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .acct-ob::before { display: none; }
  .acct-ob-body { flex: 1; display: flex; flex-direction: column; padding-top: 28px; }
  .acct-ob-actions { margin-top: auto; padding-top: 22px; }
  .acct-ob-done { margin: auto 0; }
}

/* Header photo on the account page */
.acct-hi { display: flex; align-items: center; gap: 14px; }
.acct-hi-avatar {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: var(--evb-ink); color: #fff;
  font-size: 18px; letter-spacing: 0;
}
.acct-hi-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* A rejected ID */
.acct-idnotice {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; padding: 16px 18px;
  background: #fff; border: 1px solid rgba(194,38,27,0.25); border-radius: 16px;
}
.acct-idnotice-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(194,38,27,0.07); color: var(--evb-red); }
.acct-idnotice-icon svg { width: 20px; height: 20px; }
.acct-idnotice div { flex: 1; min-width: 180px; font-family: 'Inter', sans-serif; }
.acct-idnotice b { display: block; font-size: 14.5px; color: var(--evb-ink); }
.acct-idnotice span { font-size: 13px; color: var(--evb-muted); }

@media (prefers-reduced-motion: reduce) {
  .acct-ob-in-next, .acct-ob-in-back, .acct-ob-avatar.is-set, .acct-ob-idimg, .acct-ob-idhint svg,
  .acct-ob-check circle, .acct-ob-check path, .acct-ob-progress span.is-now::after { animation: none; }
  .acct-ob-progress span::after, .acct-ob-pick, .acct-ob-back { transition: none; }
}

/* ID step: the name the ID has to match (0073). */
.acct-ob-match {
  display: flex; flex-direction: column; gap: 2px; margin: -8px 0 18px; padding: 12px 14px;
  border-radius: 12px; background: var(--evb-orange-soft); border: 1px solid var(--evb-orange-line);
  font-family: 'Inter', sans-serif;
}
.acct-ob-match span { font-size: 12.5px; color: var(--evb-body); }
.acct-ob-match b { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 800; color: var(--evb-ink); overflow-wrap: anywhere; }
.acct-ob-match .acct-link { align-self: flex-start; margin-top: 4px; padding: 0; font-size: 12.5px; }

/* Sign-up: the address read off the ID (panel 0075). */
.acct-ob-addr {
  display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 6px; padding: 16px 18px;
  border-radius: 14px; background: var(--evb-orange-soft); border: 1px solid var(--evb-orange-line);
}
.acct-ob-addr svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--evb-orange-deep); }
.acct-ob-addr p { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--evb-ink); overflow-wrap: anywhere; }
.acct-ob-addr.is-loading { justify-content: center; padding: 28px; }
.acct-ob-warn { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff7ed; border: 1px solid #fed7aa; font-family: 'Inter', sans-serif; font-size: 12.5px; line-height: 1.5; color: #9a3412; }

/* ---------------------------------------------------------------- level, stats, badges, bonuses */

.acct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* "A friend invited you" on the sign-in page (0080). */
.acct-invited {
  display: flex; align-items: flex-start; gap: 12px; max-width: 560px; margin: 0 0 18px; padding: 14px 16px;
  border-radius: 16px; background: linear-gradient(135deg, #eef3ff, #f5f8ff); border: 1px solid rgba(37, 99, 235, 0.18);
  font-family: 'Inter', sans-serif; color: var(--evb-body);
}
.acct-invited-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; background: #2563eb; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}
.acct-invited-icon svg { width: 19px; height: 19px; }
.acct-invited-text { display: grid; gap: 4px; min-width: 0; }
.acct-invited-text b { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 800; line-height: 1.25; color: #1d4ed8; }
.acct-invited-text span { font-size: 13.5px; line-height: 1.5; }
.acct-invited-text strong { color: var(--evb-ink); }
.acct-invited-text small { font-size: 12px; line-height: 1.45; color: var(--evb-muted); }

/* Badges, in Google's Material 3 manner: a tonal shape per group (cookie,
   clover, flower…) with a Material Symbols glyph. Earned: the badge's
   container colour with a filled glyph in its dark tone. Locked: a neutral
   shape with an outlined grey glyph. Flat — no gloss, no shadows. */
.acct-badges-count { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; color: var(--evb-muted); white-space: nowrap; }
.acct-badges { list-style: none; margin: 10px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 8px; }
@media (min-width: 600px) { .acct-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.acct-badge {
  --c: #ffdcc6; --o: #7a3000;
  display: flex; flex-direction: column; align-items: center; text-align: center; font-family: 'Inter', sans-serif; min-width: 0;
}
.acct-badge--green { --c: #c4eed0; --o: #0d5223; }
.acct-badge--blue { --c: #d3e3fd; --o: #0842a0; }
.acct-badge--teal { --c: #bdf0e8; --o: #00504a; }
.acct-badge--pink { --c: #ffd8e8; --o: #8a1c50; }
.acct-badge--violet { --c: #e9ddff; --o: #4f378b; }
.acct-badge--amber { --c: #ffe08b; --o: #5b4300; }
.acct-badge--gold { --c: #f3e3a8; --o: #5a4500; }
.acct-badge--red { --c: #ffdad6; --o: #8c1d18; }
.acct-badge--silver { --c: #e1e3e8; --o: #3f4450; }
.acct-badge--black { --c: #2b2b2b; --o: #ffd9a8; }
.acct-badge-icon { position: relative; width: 64px; height: 64px; margin-bottom: 10px; display: grid; place-items: center; }
.acct-badge-icon svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #ece8e3; }
.acct-badge.is-earned .acct-badge-icon svg { fill: var(--c); }
.acct-sym {
  position: relative; display: block; width: 28px; height: 28px; overflow: hidden;
  font-family: 'Material Symbols Rounded'; font-style: normal; font-weight: 500; font-size: 28px; line-height: 1;
  white-space: nowrap; letter-spacing: normal; text-transform: none; direction: ltr; -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24; color: #9a948c;
}
.acct-badge.is-earned .acct-sym { font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; color: var(--o); }
.acct-badge b { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--evb-ink); }
.acct-badge:not(.is-earned) b { color: #5f5a54; }
.acct-badge > b + span { margin-top: 3px; font-size: 11.5px; line-height: 1.4; color: var(--evb-muted); }
/* How far along a locked badge is: a Material linear progress bar. */
.acct-badge-prog { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-top: 8px; }
.acct-badge-bar { display: flex; gap: 3px; width: 100%; max-width: 84px; height: 4px; }
.acct-badge-bar i { display: block; height: 100%; border-radius: 99px; background: var(--o); }
.acct-badge-bar::after { content: ''; flex: 1; border-radius: 99px; background: var(--c); }
.acct-badge--black .acct-badge-bar i { background: #2b2b2b; }
.acct-badge--black .acct-badge-bar::after { background: #dedad5; }
.acct-badge-prog small { font-size: 11px; font-weight: 600; color: var(--evb-muted); font-variant-numeric: tabular-nums; }
.acct-badge-go {
  margin-top: 8px; padding: 7px 14px; border: 0; border-radius: 99px; background: var(--evb-ink); color: #fff;
  font: 600 12px 'Inter', sans-serif; cursor: pointer;
}
.acct-badge-go:hover { background: #000; }
.acct-badge-go:focus-visible { outline: 2px solid var(--evb-orange); outline-offset: 2px; }
.acct-badges-meter { display: flex; gap: 4px; height: 4px; margin: 4px 0 20px; }
.acct-badges-meter i { display: block; height: 100%; width: var(--p); border-radius: 99px; background: var(--evb-orange); }
.acct-badges-meter::after { content: ''; flex: 1; border-radius: 99px; background: #ece8e3; }
.acct-badges-sub {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 4px;
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: var(--evb-ink);
}
.acct-badges-sub span { font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 500; color: var(--evb-muted); }
.acct-badges-next { margin-bottom: 22px; padding: 16px 14px 4px; border-radius: 24px; background: #f4f0eb; }
.acct-badges-next .acct-badge:not(.is-earned) .acct-badge-icon svg { fill: #fff; }
.acct-badges--next { margin-bottom: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acct-badges-group + .acct-badges-group { margin-top: 22px; }
.acct-badges-more { margin: 0 0 8px; text-align: center; font-family: 'Inter', sans-serif; font-size: 12.5px; color: var(--evb-muted); }
.acct-badges-toggle {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 8px; padding: 12px 16px;
  border: 0; border-radius: 99px; background: #f4f0eb; color: var(--evb-ink);
  font: 600 13.5px 'Inter', sans-serif; cursor: pointer; transition: background 0.15s;
}
.acct-badges-toggle:hover { background: #ebe6e0; }
.acct-badges-toggle:focus-visible { outline: 2px solid var(--evb-orange); outline-offset: 2px; }
.acct-badges-toggle svg { width: 16px; height: 16px; transform: rotate(-90deg); transition: transform 0.2s; }
.acct-badges-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.acct-badges-all[hidden], .acct-badges-short[hidden] { display: none; }

/* Birthday points and the invite link (0080): two white cards, each with
   its icon in a tonal circle. In the birthday month the birthday card fills
   in pink. */
.acct-bonuses { display: grid; gap: 12px; }
@media (min-width: 600px) { .acct-bonuses { grid-template-columns: 1fr 1.4fr; } }
.acct-bonus { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-content: start; padding: 20px; font-family: 'Inter', sans-serif; }
.acct-bonus-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #ffd8e8; color: #8a1c50; }
.acct-bonus--invite .acct-bonus-icon { background: #d3e3fd; color: #0842a0; }
.acct-bonus-icon svg { width: 21px; height: 21px; }
.acct-bonus--birthday.is-now { background: #ffd8e8; }
.acct-bonus--birthday.is-now .acct-bonus-icon { background: #fff; }
.acct-bonus-text { min-width: 0; }
.acct-bonus-text b { display: block; font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; color: var(--evb-ink); }
.acct-bonus-text span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--a-dim); }
.acct-bonus-text strong { color: var(--evb-ink); font-weight: 600; }
.acct-invite { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.acct-invite-link {
  flex: 1 1 220px; min-width: 0; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px;
  border-radius: 14px; background: var(--a-s1); color: var(--a-dim);
}
.acct-invite-link:focus-within { box-shadow: inset 0 0 0 2px var(--a-pri); }
.acct-invite-link svg { flex-shrink: 0; width: 16px; height: 16px; }
/* 16px so phones don't zoom in when it's tapped. */
.acct-invite-link input {
  flex: 1; min-width: 0; border: 0; outline: 0; padding: 0; background: none;
  font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 500; color: var(--evb-ink); text-overflow: ellipsis;
}
.acct-invite-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; padding: 0 22px;
  border: 0; border-radius: 99px; cursor: pointer; background: var(--evb-ink); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; transition: background 0.15s ease;
}
.acct-invite-btn:hover { background: #000; }
.acct-invite-btn:focus-visible { outline: 2px solid var(--a-pri); outline-offset: 2px; }
.acct-invite-btn.is-done { background: var(--evb-green); }
.acct-invite-btn--share { background: var(--a-s1); color: var(--evb-ink); }
.acct-invite-btn--share:hover { background: var(--a-s2); }
.acct-invite-btn svg { width: 15px; height: 15px; }
.acct-invite-stats, .acct-invite-note { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.5; color: var(--a-dim); }
.acct-invite-stats { display: flex; align-items: center; gap: 7px; }
.acct-invite-stats svg { flex-shrink: 0; width: 15px; height: 15px; }
.acct-invite-stats b { color: var(--evb-ink); }

/* The birthday card: pink, with the cake in a scalloped badge that turns
   slowly and a little confetti drifting beside it, the words underneath. In the birthday
   month it gets a shade deeper. All of it stops for reduced motion. */
.acct-bonus--birthday { position: relative; overflow: hidden; isolation: isolate; grid-template-columns: 1fr; gap: 14px; background: #fff0f6; }
.acct-bonus--birthday.is-now { background: #ffd8e8; }
.acct-bonus--birthday .acct-bonus-text { position: relative; z-index: 1; }
.acct-bonus--birthday .acct-bonus-text strong { color: #8a1c50; }
.acct-bday-art { position: relative; z-index: 1; width: 72px; height: 72px; display: grid; place-items: center; }
.acct-bday-art svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #ffc4dc; animation: acct-spin 36s linear infinite; }
.acct-bonus--birthday.is-now .acct-bday-art svg { fill: #ff9ec5; }
.acct-bday-art .acct-sym {
  width: 34px; height: 34px; font-size: 34px; color: #8a1c50;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  animation: acct-bday-bob 3.2s ease-in-out infinite;
}
@keyframes acct-bday-bob { 50% { transform: translateY(-3px) rotate(-4deg); } }
.acct-bonus-text .acct-bday-chip {
  display: inline-block; margin-top: 12px; padding: 5px 10px; border-radius: 8px;
  background: #fff; color: #8a1c50; font-size: 12.5px; font-weight: 600; line-height: 1.3;
}
.acct-bonus--birthday.is-now .acct-bday-chip { background: #8a1c50; color: #fff; }
.acct-bday-confetti { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.acct-bday-confetti i {
  position: absolute; display: block; width: 7px; height: 7px; border-radius: 50%; opacity: 0.75;
  animation: acct-confetti 5s ease-in-out infinite alternate;
}
.acct-bday-confetti i:nth-child(1) { top: 26px; left: 110px; background: #f472b6; }
.acct-bday-confetti i:nth-child(2) { top: 52px; left: 142px; width: 11px; height: 4px; border-radius: 2px; background: #fb923c; animation-duration: 6.2s; animation-delay: -1.2s; }
.acct-bday-confetti i:nth-child(3) { top: 20px; left: 172px; width: 5px; height: 5px; background: #facc15; animation-duration: 4.4s; animation-delay: -2s; }
.acct-bday-confetti i:nth-child(4) { top: 76px; left: 116px; width: 10px; height: 4px; border-radius: 2px; background: #60a5fa; animation-duration: 5.6s; animation-delay: -0.6s; }
.acct-bday-confetti i:nth-child(5) { top: 42px; left: 204px; width: 6px; height: 6px; background: #a78bfa; animation-duration: 6.8s; animation-delay: -3s; }
.acct-bday-confetti i:nth-child(6) { top: 78px; left: 182px; width: 4px; height: 9px; border-radius: 2px; background: #34d399; animation-duration: 4.8s; animation-delay: -1.8s; }
@keyframes acct-confetti { from { transform: translateY(0) rotate(0); } to { transform: translateY(-7px) rotate(40deg); } }
.acct-bonus--birthday.is-now .acct-bday-confetti i { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .acct-bday-art svg, .acct-bday-art .acct-sym, .acct-bday-confetti i { animation: none; }
}
