.credits-balance-chip{border-radius:var(--r-sm);border:1px solid var(--border-subtle);background:var(--bg-panel);height:32px;color:var(--text-primary);cursor:pointer;font:inherit;font-size:var(--text-md);transition:border-color var(--t-fast) ease, background-color var(--t-fast) ease, color var(--t-fast) ease;align-items:center;gap:.4rem;padding:0 .7rem;font-weight:500;line-height:1;display:inline-flex}.credits-balance-chip:focus-visible{border-color:var(--border-strong);background:var(--bg-elevated,var(--bg-panel));color:var(--text-primary);outline:none}@media (hover:hover){.credits-balance-chip:hover{border-color:var(--border-strong);background:var(--bg-elevated,var(--bg-panel));color:var(--text-primary)}}.credits-balance-chip[aria-disabled=true]{cursor:progress;opacity:.7}.credits-balance-chip-icon{color:var(--accent,var(--text-primary));justify-content:center;align-items:center;display:inline-flex}.credits-balance-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.credits-balance-chip-skeleton{border-radius:var(--r-sm);background:linear-gradient(90deg, var(--bg-panel) 0%, var(--bg-elevated,var(--border-subtle)) 50%, var(--bg-panel) 100%);background-size:200% 100%;width:88px;height:32px;animation:1.4s ease-in-out infinite credits-balance-skeleton;display:inline-block}@keyframes credits-balance-skeleton{0%{background-position:200% 0}to{background-position:-200% 0}}.credits-balance-popover{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:var(--r-menu);min-width:240px;font-size:var(--text-md);color:var(--text-primary);flex-direction:column;gap:.65rem;padding:.85rem;display:flex;box-shadow:0 12px 36px #0000002e}.credits-balance-popover-layer{z-index:90}.credits-balance-popover-row{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.credits-balance-popover-row span:first-child{color:var(--text-muted)}.credits-balance-popover-row strong{font-variant-numeric:tabular-nums;font-weight:600}.credits-balance-popover-row.is-frozen strong{color:var(--accent-warning,var(--text-muted));font-weight:500;font-size:var(--text-base)}.credits-balance-popover-divider{background:var(--border-subtle);height:1px}.credits-balance-popover-meta{font-size:var(--text-sm);color:var(--text-muted)}.credits-exhausted-overlay{z-index:60;background:#0000008c;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.credits-exhausted-card{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:8px;flex-direction:column;gap:.85rem;width:100%;max-width:420px;padding:1.25rem;display:flex;box-shadow:0 18px 50px #00000059}.credits-exhausted-card h3{font-size:var(--text-title);color:var(--text-primary);margin:0;font-weight:600}.credits-exhausted-body{font-size:var(--text-md);color:var(--text-secondary,var(--text-muted));margin:0;line-height:1.45}.credits-exhausted-actions{flex-direction:column;gap:.5rem;display:flex}.credits-exhausted-error{font-size:var(--text-base);color:var(--accent-danger,#c0392b);margin:0}.pack-buy-button{background:var(--accent,#1f7ae0);color:var(--bg-panel);font:inherit;font-weight:600;font-size:var(--text-md);cursor:pointer;transition:background-color var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease, opacity var(--t-fast) ease, transform var(--t-fast) ease;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:.4rem;padding:.6rem 1rem;display:inline-flex}.pack-buy-button:active:not(:disabled){opacity:.88;transform:scale(.97)}.pack-buy-button:disabled{cursor:progress;opacity:.7}.pack-buy-button.is-secondary{background:var(--bg-panel);color:var(--text-primary);border-color:var(--border-subtle)}@media (hover:hover){.pack-buy-button.is-secondary:hover:not(:disabled){border-color:var(--border-strong)}}html[data-native-app-chrome=true] .credits-balance-popover{border:1px solid var(--native-titanium-border);background:color-mix(in srgb, var(--bg-panel-elevated) 78%, transparent);box-shadow:inset 0 1px 0 var(--native-titanium-highlight), 0 20px 52px #00000052;-webkit-backdrop-filter:blur(28px)saturate(170%);backdrop-filter:blur(28px)saturate(170%);border-radius:18px}html[data-native-app-chrome=true] .credits-balance-chip,html[data-native-app-chrome=true] .pack-buy-button.is-secondary{border-color:var(--native-titanium-border);box-shadow:inset 0 1px 0 var(--native-titanium-highlight);border-radius:12px}.credit-ledger{flex-direction:column;gap:.85rem;display:flex}.credit-ledger-empty{text-align:center;color:var(--text-muted);font-size:var(--text-md);border:1px dashed var(--border-subtle);border-radius:var(--r-md);padding:1.5rem}.credit-ledger-list{flex-direction:column;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.credit-ledger-row{border:1px solid var(--border-subtle);border-radius:var(--r-sm);font-size:var(--text-md);grid-template-columns:minmax(0,1.4fr) minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);align-items:baseline;gap:.6rem;padding:.55rem .7rem;display:grid}.credit-ledger-row-date{color:var(--text-muted);font-variant-numeric:tabular-nums}.credit-ledger-row-reason{color:var(--text-primary)}.credit-ledger-row-amount{font-variant-numeric:tabular-nums;text-align:right;font-weight:600}.credit-ledger-row-amount.is-positive{color:var(--accent-success,#1d8348)}.credit-ledger-row-amount.is-negative{color:var(--accent-danger,#c0392b)}.credit-ledger-row-balance{text-align:right;font-size:var(--text-sm);color:var(--text-muted);font-variant-numeric:tabular-nums}.credit-ledger-load-more{border:1px solid var(--border-subtle);background:var(--bg-panel);color:var(--text-primary);font:inherit;font-size:var(--text-md);border-radius:var(--r-sm);cursor:pointer;align-self:center;padding:.45rem 1rem}.credit-ledger-load-more:disabled{cursor:progress;opacity:.7}@media (width<=720px){.credit-ledger-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"reason amount""date balance"}.credit-ledger-row-reason{grid-area:reason}.credit-ledger-row-amount{grid-area:amount}.credit-ledger-row-date{grid-area:date}.credit-ledger-row-balance{grid-area:balance}}.credits-exhausted-card{text-align:center;align-items:center;position:relative}.credits-exhausted-close{background:color-mix(in srgb, var(--text-primary) 8%, transparent);width:32px;height:32px;color:var(--text-secondary,var(--text-muted));cursor:pointer;border:0;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;top:12px;right:12px}.credits-exhausted-gauge{border:3px solid color-mix(in srgb, var(--text-primary) 16%, transparent);width:72px;height:72px;color:var(--text-primary);font-variant-numeric:tabular-nums;border-radius:999px;place-items:center;margin-top:8px;font-size:30px;font-weight:300;display:grid}.credits-exhausted-card h3{font-size:20px}.credits-exhausted-actions{gap:10px;width:100%;margin-top:4px}html .credits-exhausted-card .pack-buy-button{background:var(--text-primary);height:52px;color:var(--bg-app);box-shadow:none;border:0;border-radius:999px;padding:0 20px;font-size:17px}html .credits-exhausted-card .pack-buy-button.is-secondary{background:color-mix(in srgb, var(--text-primary) 10%, transparent);color:var(--text-primary)}html[data-native-app-chrome=true] .credits-exhausted-overlay{align-items:flex-end;padding:0;animation:.32s both credits-sheet-dim}html[data-native-app-chrome=true] .credits-exhausted-card{max-width:none;padding:28px 20px calc(20px + env(safe-area-inset-bottom));background:var(--bg-app);-webkit-backdrop-filter:none;backdrop-filter:none;border:0;border-radius:28px 28px 0 0;animation:.42s cubic-bezier(.32,.72,0,1) both credits-sheet-rise;box-shadow:0 -18px 44px #00000047}@keyframes credits-sheet-dim{0%{background-color:#0000}}@keyframes credits-sheet-rise{0%{transform:translateY(100%)}}@media (prefers-reduced-motion:reduce){html[data-native-app-chrome=true] .credits-exhausted-overlay,html[data-native-app-chrome=true] .credits-exhausted-card,.credits-balance-chip-skeleton{animation:none}.pack-buy-button:active:not(:disabled){transform:none}}
