/* Compact wallet card at the top of the SMS page (sms-verification.html).
   Dark/gold to match the rest of the site. Behaviour lives in sms-wallet.js. */

/* Top padding clears the fixed nav (70px desktop, 58px in the mobile app shell) plus a little air. */
.pv-wallet-wrap { max-width: 560px; margin: 0 auto; padding: 5.4rem 1rem 0; position: relative; z-index: 2; }
@media (max-width: 768px) { .pv-wallet-wrap { padding-top: 4.75rem; } }

.pv-wallet {
    padding: 0.85rem 1.1rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(201, 168, 76, 0.28);
    background: radial-gradient(120% 150% at 0% 0%, rgba(201, 168, 76, 0.15), transparent 60%), var(--bg-card, #0A1120);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    text-align: left;
}

.pv-wallet-top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.pv-wallet-label {
    display: flex; align-items: center; gap: 0.55rem;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted-light, #7A8EAE);
}
.pv-wallet-cur {
    padding: 0.12rem 0.55rem; border-radius: 100px; letter-spacing: 0.06em; font-size: 0.66rem;
    background: linear-gradient(135deg, var(--gold-light, #F0D078), var(--gold, #C9A84C));
    color: var(--ink, #04080F);
}

.pv-wallet-eye {
    width: 34px; height: 34px; flex-shrink: 0; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid var(--border, rgba(201, 168, 76, 0.14));
    background: rgba(255, 255, 255, 0.03); color: var(--gold-light, #F0D078);
    font-size: 0.85rem; cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: border-color 0.2s, background 0.2s;
}
.pv-wallet-eye:hover, .pv-wallet-eye:focus-visible { border-color: var(--gold, #C9A84C); background: rgba(201, 168, 76, 0.08); outline: none; }

.pv-wallet-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: 0.1rem; }
.pv-wallet-info { min-width: 0; }
.pv-wallet-bal {
    display: flex; align-items: baseline; gap: 0.2rem;
    font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 2.1rem; line-height: 1.1;
    color: var(--text, #EEF2FF); font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.pv-wallet-sym { color: var(--gold, #C9A84C); font-size: 1.5rem; }
.pv-wallet-sub { margin-top: 0.15rem; font-size: 0.78rem; color: var(--muted-light, #7A8EAE); }
.pv-wallet[data-state="loading"] .pv-wallet-bal { opacity: 0.55; }

.pv-wallet-fund {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.7rem 1.15rem; border: none; border-radius: 12px; cursor: pointer;
    background: linear-gradient(135deg, var(--gold-light, #F0D078), var(--gold, #C9A84C));
    color: var(--ink, #04080F); font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.85rem;
    box-shadow: 0 6px 18px rgba(201, 168, 76, 0.25);
    -webkit-tap-highlight-color: transparent; transition: transform 0.15s, filter 0.2s;
}
.pv-wallet-fund:hover { filter: brightness(1.08); transform: translateY(-1px); }
.pv-wallet-fund:active { transform: scale(0.97); }
.pv-wallet-fund:focus-visible { outline: 2px solid var(--gold-light, #F0D078); outline-offset: 2px; }

/* Narrow phones: balance on top, full-width button underneath. */
@media (max-width: 480px) {
    .pv-wallet-main { flex-direction: column; align-items: stretch; gap: 0.7rem; }
    .pv-wallet-fund { width: 100%; }
}

/* On Transactions / Deposits the card sits inside the page's own container, so no nav clearance is needed. */
.pv-wallet-wrap.pv-wallet-inline { max-width: none; padding: 0 0 1.1rem; }
/* Shop: the hero already clears the nav by itself, so tighten it when the card sits above it. */
.pv-wallet-wrap:not(.pv-wallet-inline) + .shop-hero { padding-top: 2rem; }
