/* ═══ Optum Personal Pay (Dec 2026) — screens rebuilt on Optum's Digital Prepaid Card Flow ═══
   Optum Financial look from their Figma: white screens, soft top gradients on
   status screens, navy pill buttons, Enterprise Sans, the light "Workers Comp Card". */
:root {
  --navy: #002677; --navy-2: #0c3592; --navy-soft: #eef2fb;
  --orange: #ff612b; --orange-soft: #fff1eb; --orange-line: #ffd2bf;
  --blue: #2350c8;
  --ink: #222; --ink-2: #444; --ink-3: #6d6e73; --line: #e4e6eb; --paper: #f5f6f8;
  --green: #127a3e; --green-dk: #0b6b14; --green-soft: #e7f5ed; --red: #c8102e;
  --card-cream: #f7f4ee; --card-blue: #d9eff7;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 430px; height: 932px; overflow: hidden; background: #fff; font-family: var(--font-sans); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input { font-family: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; text-align: inherit; }
.ms { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; font-feature-settings: 'liga'; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; display: inline-block; }
.ms.fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.blue { color: var(--blue); }
.center { text-align: center; }

.phone { position: relative; width: 430px; height: 932px; overflow: hidden; background: #fff; }
.status-bar { position: absolute; top: 0; left: 0; right: 0; height: 50px; z-index: 90; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 40px; font-size: 16px; font-weight: 700; pointer-events: none; }
.sb-icons { display: flex; gap: 5px; align-items: center; }
.sb-icons .ms { font-size: 18px; }
.sb-icons .batt { transform: rotate(90deg); font-size: 20px; }

/* ── Screens ── */
.screen { position: absolute; inset: 0; display: none; flex-direction: column; padding-top: 50px; background: #fff; }
.screen.on { display: flex; animation: scrIn 0.38s cubic-bezier(0.16,1,0.3,1) both; }
@keyframes scrIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.screen.on.quiet { animation: none; }
.screen.grad-blue { background: linear-gradient(180deg, #e6eefc 0%, #fff 34%); }
.screen.grad-green { background: linear-gradient(180deg, #e5fbe0 0%, #fff 36%); }
.scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.pad { padding: 0 20px 24px; }

/* ── Buttons ── */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border-radius: 999px; font-size: 17px; font-weight: 700; transition: transform 0.08s, background 0.15s, opacity 0.15s; }
.btn:active { transform: scale(0.985); }
.btn.navy { background: var(--navy); color: #fff; }
.btn.navy:hover { background: var(--navy-2); }
.btn.navy:disabled { background: #eceef2; color: #8d9097; cursor: default; }
.btn.navy:disabled:active { transform: none; }
.btn.reject { border: 1.5px solid var(--red); color: var(--red); background: #fff; }
.btn.text-link { color: var(--blue); font-size: 16px; height: 44px; margin-top: 6px; }
.inline-link { color: var(--blue); font-size: inherit; line-height: inherit; display: inline; text-align: left; }
.foot-actions { padding: 14px 20px 34px; display: flex; flex-direction: column; gap: 18px; flex-shrink: 0; }

/* ── Headers ── */
.of-head { height: 50px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 3px; }
.of-head img { height: 19px; display: block; position: relative; top: 2px; }
.of-head span { font-size: 21px; color: #555; line-height: 1; }
.of-head sup { font-size: 9px; color: #555; align-self: flex-start; margin-top: 12px; }
.pay-head { height: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.payer { display: flex; align-items: center; gap: 2px; font-size: 21px; font-weight: 700; }
.payer .ms { font-size: 22px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #ffb48f, var(--orange)); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.avatar.lg { width: 52px; height: 52px; font-size: 19px; }
.bar-head { min-height: 58px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 0 16px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); position: relative; z-index: 2; }
.bar-head p { font-size: 19px; font-weight: 700; line-height: 1.3; padding: 10px 0; }
.bar-head .back { font-size: 24px; }
.bar-head.plain { box-shadow: none; background: transparent; }
.tab-title { font-size: 22px; font-weight: 700; margin: 8px 0 18px; }

/* ── Claim ── */
.claim-from { text-align: center; font-size: 18px; color: var(--ink-2); margin-top: 20px; }
.claim-payer { text-align: center; font-size: 21px; font-weight: 700; margin-top: 16px; }
.claim-card { margin-top: 22px; border-radius: 10px; box-shadow: 0 1px 10px rgba(0,0,0,0.09); padding: 20px 16px 22px; background: #fff; }
.cc-amt { font-size: 21px; font-weight: 700; }
.cc-date { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.pill { display: inline-block; margin-top: 14px; padding: 5px 9px; border-radius: 4px; font-size: 12.5px; font-weight: 700; }
.pill.pending { background: #fff6dc; color: #4a3b00; }
.pill.paid { background: var(--green-soft); color: var(--green); }
.cc-rule { height: 1px; background: var(--line); margin: 16px -16px; }
.cc-rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 5px 0; }
.cc-rows dt { color: var(--ink-3); }
.cc-rows dd { color: var(--ink); text-align: right; }
.cc-note-l { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }
.cc-note { font-size: 13.5px; line-height: 1.4; margin-top: 3px; }
.cc-link { display: flex; align-items: center; gap: 2px; color: var(--blue); font-weight: 700; font-size: 14.5px; margin-top: 18px; }
.cc-link .ms { font-size: 20px; }
.progress { list-style: none; padding: 2px 4px 10px; }
.progress li { position: relative; padding: 0 0 22px 30px; }
.progress li::before { content: 'check'; font-family: 'Material Symbols Rounded'; font-size: 13px; color: #fff; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: #444; display: flex; align-items: center; justify-content: center; }
.progress li:not(:last-child)::after { content: ''; position: absolute; left: 8.5px; top: 22px; bottom: 2px; border-left: 1.5px dotted #888; }
.progress li:last-child::before { background: #9a9a9a; }
.progress b { display: block; font-size: 15.5px; font-weight: 400; }
.progress small { font-size: 12px; color: var(--ink-3); }

/* ── Status screens ── */
.status-mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 260px 30px 0; text-align: center; }
.status-mid p { font-size: 19px; font-weight: 700; line-height: 1.3; margin-top: 44px; }
.status-mid .amt { color: var(--blue); }
.spinner { width: 66px; height: 66px; border-radius: 50%; border: 7px solid #e8ecf5; border-top-color: #2f5fd0; border-right-color: #2f5fd0; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.okmark { width: 64px; height: 64px; border-radius: 50%; background: var(--green-dk); box-shadow: 0 0 0 5px #c9cfc9; display: inline-flex; align-items: center; justify-content: center; color: #fff; animation: pop 0.45s cubic-bezier(0.34,1.56,0.64,1) both; }
.okmark .ms { font-size: 40px; font-variation-settings: 'FILL' 0, 'wght' 700, 'GRAD' 0, 'opsz' 40; }
.okmark.sm { width: 28px; height: 28px; box-shadow: none; }
.okmark.sm .ms { font-size: 19px; }
@keyframes pop { from { transform: scale(0.5); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Receive ── */
.receive { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 140px 24px 0; }
.receive-illus { width: 135px; mix-blend-mode: multiply; }
.receive-h { font-size: 19px; font-weight: 700; text-align: center; line-height: 1.3; margin: 30px 0 28px; }

/* ── Sheets ── */
.scrim { position: absolute; inset: 0; z-index: 60; background: rgba(40,44,54,0.42); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 61; background: #fff; border-radius: 22px 22px 0 0; padding: 10px 16px 34px; transform: translateY(105%); transition: transform 0.38s cubic-bezier(0.16,1,0.3,1); box-shadow: 0 -10px 40px rgba(0,0,0,0.12); }
.sheet.on { transform: none; }
.grabber { width: 48px; height: 4px; border-radius: 3px; background: #d5d7dc; margin: 0 auto 18px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 16px; }
.sheet-head.top { align-items: flex-start; margin-top: 18px; }
.sheet-head p { font-size: 19px; font-weight: 700; line-height: 1.3; }
.sheet-head .x { font-size: 24px; color: var(--ink); }
.sheet-sub { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; margin-bottom: 22px; }
.method { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 16px 16px 18px; border-radius: 10px; box-shadow: 0 1px 6px rgba(0,0,0,0.12); background: #fff; text-align: left; }
.method + .method, #cardMethod + .method { margin-top: 14px; }
.method.card-m { display: block; position: relative; cursor: pointer; }
.method.card-m.has-chip { margin-top: 8px; padding-top: 20px; }
.m-row { display: flex; align-items: center; gap: 12px; }
.m-row img { width: 36px; }
.method img { width: 36px; height: auto; }
.m-txt { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.m-txt > b { font-size: 16px; font-weight: 400; }
.m-txt small { font-size: 13.5px; color: var(--ink-3); }
.m-txt small b { color: var(--ink); }
.chev { color: var(--ink-2); }
.fine { font-size: 12px; color: var(--ink-2); line-height: 1.4; margin-top: 22px; }
.set-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 2px; font-size: 16px; }
.set-row + .set-row { border-top: 1px solid var(--line); }
.set-row > span:nth-child(2) { flex: 1; }

/* ── Payout intercept (Kigo addition): four options, picked from the presenter shell ── */
.intercept { padding-bottom: 30px; }
.ix-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); text-align: center; }
.ix-h2 { font-size: 23px; font-weight: 700; text-align: center; margin-top: 4px; }
.ix-sub { text-align: center; font-size: 14.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.4; }
.ix-compare { display: flex; flex-direction: column; gap: 14px; margin: 22px 0 22px; }
.ix-opt { cursor: pointer; position: relative; display: block; width: 100%; padding: 16px; border-radius: 10px; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,0.12); text-align: left; border: 2px solid transparent; transition: border-color 0.15s; }
.ix-opt.on { border-color: var(--navy); }
.ix-row { display: flex; align-items: center; gap: 12px; }
.ix-row img { width: 34px; }
.ix-txt { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ix-txt > b { font-size: 16px; font-weight: 400; }
.ix-txt small { font-size: 13.5px; color: var(--ink-3); }
.ix-txt small b { color: var(--ink); }
.ix-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #9a9da5; flex-shrink: 0; position: relative; }
.ix-opt.on .ix-radio { border-color: var(--navy); }
.ix-opt.on .ix-radio::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--navy); }
.ix-chip { position: absolute; top: -10px; left: 14px; font-size: 10px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; background: var(--navy); color: #fff; padding: 4px 8px; border-radius: 999px; }
.ix-opt.has-chip { margin-top: 6px; padding-top: 20px; }
.ix-value { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.ix-value .ms { font-size: 17px; color: var(--orange); }
.ix-value b { color: var(--ink); }
.ix-none { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.ix-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.ix-tile { border-radius: 8px; overflow: hidden; background: var(--paper); position: relative; }
.ix-tile .im { height: 58px; position: relative; }
.ix-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ix-tile img.contain { object-fit: contain; padding: 6px; background: #e3f4fb; }
.ix-near { position: absolute; left: 4px; top: 4px; z-index: 1; font-size: 8.5px; font-weight: 800; letter-spacing: 0.3px; text-transform: uppercase; background: var(--orange); color: #fff; padding: 2px 5px; border-radius: 999px; }
.ix-tile p { font-size: 10.5px; font-weight: 700; color: #c2410c; padding: 5px 6px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ix-tiles.locked .im img { filter: blur(7px) saturate(0.6); transform: scale(1.15); }
.ix-tiles.locked .ix-tile p { color: var(--ink-3); filter: blur(3px); }
.ix-tiles.locked .ix-tile::after { content: 'lock'; font-family: 'Material Symbols Rounded'; font-variation-settings: 'FILL' 1; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.ix-peek-btn { display: inline-flex; align-items: center; gap: 2px; margin-top: 10px; color: var(--blue); font-size: 13.5px; font-weight: 700; }
.ix-peek-btn .ms { font-size: 18px; transition: transform 0.2s; }
.ix-peek.open .ix-peek-btn .ms { transform: rotate(180deg); }
.ix-peek .ix-tiles { display: none; }
.ix-peek.open .ix-tiles { display: grid; animation: arriveUp 0.35s ease both; }

/* ── ACH / check sent ── */
.sent { padding-top: 80px; display: flex; flex-direction: column; align-items: center; }
.sent-h { font-size: 22px; font-weight: 700; margin-top: 26px; }
.sent-sub { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.45; max-width: 340px; }
.kv-card { margin-top: 26px; border-radius: 10px; box-shadow: 0 1px 8px rgba(0,0,0,0.1); text-align: left; width: 100%; }
.kv-card div { display: flex; justify-content: space-between; padding: 14px 16px; font-size: 14.5px; }
.kv-card div + div { border-top: 1px solid var(--line); }
.kv-card span { color: var(--ink-3); }

/* ── Disclosures ── */
.disc { padding: 16px 18px 34px; }
.disc h3 { font-size: 15px; font-weight: 700; margin: 22px 0 14px; }
.disc h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.disc > p { font-family: var(--font-serif); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin-bottom: 16px; text-align: justify; }
.disc .fine { margin: 6px 0 22px; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.35; margin-bottom: 18px; cursor: pointer; }
.chk input { appearance: none; width: 18px; height: 18px; border: 1.5px solid #555; border-radius: 3px; flex-shrink: 0; margin-top: 1px; display: grid; place-content: center; cursor: pointer; background: #fff; }
.chk input:checked { background: var(--blue); border-color: var(--blue); }
.chk input:checked::after { content: 'check'; font-family: 'Material Symbols Rounded'; color: #fff; font-size: 15px; font-variation-settings: 'wght' 700; }
.doc-body { font-size: 15px; color: var(--ink-2); margin-top: 22px; }

/* ── Optum Workers Comp card art ── */
.ocard { position: relative; width: 100%; aspect-ratio: 1.6; border-radius: 6px; overflow: hidden; background: var(--card-cream); color: #222; font-size: 13px; container-type: inline-size; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.ocard::before, .ocard::after { content: ''; position: absolute; border-radius: 50%; background: var(--card-blue); }
.ocard::before { width: 56%; aspect-ratio: 1; right: -12%; top: -32%; }
.ocard::after { width: 58%; aspect-ratio: 1; right: -16%; bottom: -36%; }
.ocard > * { position: absolute; z-index: 1; }
.oc-logo { left: 5%; top: 7%; height: 12%; }
.oc-type { right: 5%; top: 8%; font-size: 3.4cqw; font-weight: 700; text-align: right; line-height: 1.15; }
.oc-name { left: 5%; top: 34%; font-size: 4.4cqw; font-weight: 700; }
.oc-num { left: 5%; top: 45%; font-size: 4.6cqw; font-weight: 700; letter-spacing: 0.3px; }
.oc-exp { left: 5%; top: 56%; font-size: 4.4cqw; font-weight: 700; display: flex; gap: 9cqw; }
.oc-fine { left: 5%; top: 70%; font-size: 2.3cqw; line-height: 1.7; }
.oc-debit { right: 5%; bottom: 23%; font-size: 3.3cqw; font-weight: 700; }
.oc-visa { right: 5%; bottom: 7%; font-size: 9.5cqw; font-weight: 900; font-style: italic; letter-spacing: -0.5px; color: #1a1f71; font-family: Arial, Helvetica, sans-serif; line-height: 1; }
.oc-lock { left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 40px; color: #222; display: none; }
.locked .ocard > :not(.oc-lock) { opacity: 0.3; }
.locked .ocard .oc-lock { display: block; }

/* ── Loading ── */
.loading-body { flex: 1; display: flex; flex-direction: column; align-items: center; padding-top: 30px; }
.bolt { font-size: 40px; color: #f5b335; animation: boltPulse 1s ease-in-out infinite; }
@keyframes boltPulse { 50% { transform: scale(1.15); } }
.ld-h { font-size: 22px; margin-top: 8px; }
.ld-sub { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.ld-stage { position: relative; width: 300px; height: 340px; margin-top: 40px; }
.ld-phone { position: absolute; left: 50%; top: 0; width: 160px; height: 340px; transform: translateX(-50%); border: 2px solid #d9dbe0; border-radius: 22px; background: #fff; }
.ld-phone::after { content: ''; position: absolute; left: 50%; bottom: 12px; width: 64px; height: 2px; margin-left: -32px; background: #b7b9bf; border-radius: 2px; }
.ld-card { position: absolute; left: 0; right: 0; top: 80px; animation: ldCard 2.2s cubic-bezier(0.16,1,0.3,1) both; }
@keyframes ldCard { from { transform: translateY(150px) scale(0.6); opacity: 0; } 50% { opacity: 1; } to { transform: none; opacity: 1; } }

/* ── Ready ── */
.ready-body { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 34px 20px 0; }
.ready-h { font-size: 21px; margin-top: 12px; }
.ready-card { width: 100%; margin-top: 24px; }
.wallets { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; }
.wallet { display: flex; align-items: center; gap: 10px; background: #000; color: #fff; height: 52px; padding: 0 18px 0 12px; border-radius: 10px; min-width: 176px; }
.wallet img { width: 34px; }
.wallet span { display: flex; flex-direction: column; font-size: 18px; line-height: 1.1; text-align: left; }
.wallet small { font-size: 12px; }
.wallet + .wallet { border-radius: 999px; border: 1px solid #747775; }

/* ── Card home ── */
.home-scroll { padding: 4px 20px 24px; }
.home-card { width: 100%; cursor: pointer; }
.lock-note { display: none; margin: -2px 12px 0; padding: 10px 14px; border-radius: 0 0 10px 10px; background: #eef0f3; font-size: 13px; line-height: 1.35; }
.locked .lock-note { display: block; }
.home-actions { display: flex; justify-content: center; gap: 44px; margin-top: 20px; }
.home-actions button { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14.5px; }
.home-actions .unlock { display: none; }
.locked .home-actions .unlock { display: flex; }
.locked .home-actions { gap: 34px; }
.circ { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.home-offers { margin: 24px -20px 0; padding: 16px 20px 0; background: linear-gradient(180deg, var(--navy-soft) 0%, rgba(238,242,251,0) 100%); }
.ho-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ho-title { font-size: 17px; font-weight: 700; }
.ho-sub { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--navy); font-weight: 700; margin-top: 3px; }
.ho-sub .ms { font-size: 15px; color: var(--orange); }
.ho-head .inline-link { font-size: 14px; font-weight: 700; margin-top: 2px; white-space: nowrap; flex-shrink: 0; }
.rt-head { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.rt-head p { font-size: 19px; font-weight: 700; }
.bal { font-size: 14px; background: #eef0f3; border-radius: 4px; padding: 3px 7px; }
.rt-row { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 16px; text-align: left; }
.rt-row b { display: block; font-size: 15px; font-weight: 400; }
.rt-row small { font-size: 12.5px; color: var(--ink-3); }
.pos { color: var(--green); font-weight: 700; font-size: 16px; }

/* View details */
.reveal { position: absolute; inset: 0; z-index: 70; background: rgba(60,62,68,0.72); display: flex; flex-direction: column; align-items: center; padding: 170px 20px 0; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.reveal.on { opacity: 1; pointer-events: auto; }
.reveal-card { width: 100%; cursor: pointer; }
.copy-btn { display: flex; align-items: center; gap: 8px; margin-top: 22px; background: #fff; color: var(--blue); font-weight: 700; font-size: 15px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--blue); }
.copy-btn .ms { font-size: 18px; }
.reveal-hint { display: flex; align-items: center; gap: 4px; color: #fff; font-size: 16px; margin-top: 18px; text-align: center; }
.reveal-x { margin-top: auto; margin-bottom: 70px; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #222; font-size: 22px; display: flex; align-items: center; justify-content: center; }

/* ── Transaction ── */
.tx-top { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px 0 34px; text-align: center; }
.tx-top .okmark { width: 36px; height: 36px; margin-bottom: 12px; }
.tx-top p { font-size: 18px; }
.tx-top b { font-size: 34px; font-weight: 700; }
.tx-top small { font-size: 14px; color: var(--ink-2); }
.sec-h { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.kv > div { display: flex; justify-content: space-between; gap: 18px; font-size: 14.5px; padding: 9px 0; }
.kv dt { color: var(--ink-2); }
.kv dd { text-align: right; display: flex; align-items: center; gap: 4px; }
.kv .copy { font-size: 15px; color: var(--blue); }
.help-row { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 22px; padding: 18px 16px; border-radius: 8px; box-shadow: 0 1px 6px rgba(0,0,0,0.12); font-size: 15px; }

/* ── Account, agreements, contact ── */
.acct-id { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.acct-id b { display: block; font-size: 17px; }
.acct-id small { font-size: 13px; color: var(--ink-3); }
.list button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 2px; border-bottom: 1px solid var(--line); text-align: left; }
.list button > .ms:first-child { font-size: 24px; color: var(--navy); }
.list button > span:nth-child(2) { flex: 1; }
.list b { display: block; font-size: 15.5px; font-weight: 400; }
.list small { font-size: 12.5px; color: var(--ink-3); }
.list.flat button { padding: 18px 2px; font-size: 15.5px; }
.contact { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact .tab-title { align-self: flex-start; }
.contact img { width: 150px; margin: 30px 0 34px; }
.contact p { font-size: 14.5px; line-height: 1.45; margin-bottom: 18px; }
.contact .call { display: flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; font-size: 16px; margin-top: 12px; }
.contact .copy-r { font-size: 12px; color: var(--ink-3); margin-top: 24px; }

/* ── Tab bar: Claims | Card | Offers | Account ── */
.tabbar { flex-shrink: 0; height: 86px; border-top: 1px solid var(--line); display: flex; padding-bottom: 22px; background: #fff; }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12.5px; color: var(--ink-3); position: relative; }
.tab .ms { font-size: 25px; }
.tab.on { color: var(--navy); font-weight: 700; }
.tab.on::before { content: ''; position: absolute; top: -1px; left: 24%; right: 24%; height: 3px; background: var(--orange); border-radius: 0 0 3px 3px; }
.tab.on .ms { font-variation-settings: 'FILL' 1; }

/* ── SDK offer cards (welcome bundle) ── */
.h-scroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 12px -20px 0; padding: 2px 20px 18px; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll::after { content: ''; flex: 0 0 8px; }
.oc { width: 151px; flex-shrink: 0; display: flex; flex-direction: column; position: relative; cursor: pointer; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.oc-img { height: 108px; border-radius: 15px 15px 0 0; overflow: hidden; position: relative; background: var(--paper); }
.oc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oc-img img.contain { object-fit: contain; padding: 12px; background: #e3f4fb; }
.oc-badge { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 9px; font-weight: 800; letter-spacing: 0.5px; padding: 4px 8px; border-radius: 999px; background: var(--orange); color: #fff; }
.oc-body { padding: 24px 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.oc-brand { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-title { font-size: 14px; font-weight: 600; line-height: 19px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.oc-val { font-size: 12px; font-weight: 800; color: var(--orange); margin-top: 4px; }
.fav { position: absolute; top: 88px; left: 50%; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid #e9e9e9; box-shadow: 0 6px 13px rgba(40,20,10,0.12); display: flex; align-items: center; justify-content: center; z-index: 3; padding: 0; line-height: 0; }
.fav svg { width: 18px; height: 18px; display: block; margin-top: 1px; }
.fav.liked svg path { fill: var(--orange); stroke: var(--orange); }
.fav.pop { animation: favPop 0.35s ease; }
@keyframes favPop { 0% { transform: translateX(-50%) scale(1); } 40% { transform: translateX(-50%) scale(1.25); } 100% { transform: translateX(-50%) scale(1); } }

/* ── Offers tab: the Optum Offers program, embedded above the tab bar ── */
#s-offers { padding-top: 0; }
.offers-frame { flex: 1; min-height: 0; width: 100%; border: 0; display: block; background: #3d3c38; }
.phone.dark-top .status-bar { color: #fff; }

/* ── Offer details: Optum Offers details page in a modal sheet ── */
.od-scrim { position: absolute; inset: 0; z-index: 79; background: rgba(10,14,30,0.45); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.od-scrim.on { opacity: 1; pointer-events: auto; }
.od-layer { position: absolute; left: 0; right: 0; bottom: 0; top: 64px; z-index: 80; background: #fff; border-radius: 22px 22px 0 0; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 -10px 40px rgba(0,0,0,0.18); transform: translateY(105%); transition: transform 0.38s cubic-bezier(0.16,1,0.3,1); }
.od-layer.on { transform: none; }
.od-top { position: relative; height: 50px; flex-shrink: 0; }
.od-layer .grabber { margin: 10px auto 0; }
.od-x { position: absolute; top: 10px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); color: var(--ink-2); font-size: 20px; display: flex; align-items: center; justify-content: center; }
.od-layer iframe { flex: 1; min-height: 0; width: 100%; border: 0; display: block; }

.toast { position: absolute; left: 50%; bottom: 110px; transform: translate(-50%, 20px); z-index: 95; background: #222; color: #fff; font-size: 14px; padding: 10px 16px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; white-space: nowrap; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ── Loading → ready → card home: one continuous motion ── */
#s-loading .pay-head, #s-ready .pay-head, #s-home .pay-head { view-transition-name: pp-head; }
#s-loading .tabbar, #s-ready .tabbar, #s-home .tabbar { view-transition-name: pp-tabs; }
.ld-card, .ready-card, .home-card { view-transition-name: pp-card; }
::view-transition-group(pp-card) { animation-duration: 0.75s; animation-timing-function: cubic-bezier(0.65, 0, 0.25, 1); }
::view-transition-old(pp-card) { animation: none; opacity: 0; }
::view-transition-new(pp-card) { animation: none; }
::view-transition-old(root) { animation: vtOut 0.3s ease both; }
::view-transition-new(root) { animation: vtIn 0.45s 0.3s ease both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
#s-home.arrive .wallets, #s-home.arrive .home-actions, #s-home.arrive .home-offers, #s-home.arrive .rt-head, #s-home.arrive .rt-row { animation: arriveUp 0.55s cubic-bezier(0.16,1,0.3,1) both; }
#s-home.arrive .home-actions { animation-delay: 0.5s; }
#s-home.arrive .home-offers { animation-delay: 0.62s; }
#s-home.arrive .rt-head, #s-home.arrive .rt-row { animation-delay: 0.74s; }
@keyframes arriveUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Options board: render the final state with no entrance motion */
.still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }
