/* Shared payment framing; retain the native popup artwork and fonts. */
#hv-wallet-overlay .hv-wallet-popup-header { position:relative; padding-right:12%; gap:12px; }
#hv-payment-history-toggle { margin-left:auto; flex:0 0 auto; padding:7px 12px; border:1px solid #a1844b; border-radius:6px; background:linear-gradient(#423020,#211610); color:#f8e9bf; font:inherit; font-size:15px; cursor:pointer; }
#hv-wallet-overlay .hv-content { display:block; min-height:0; overflow:auto; overscroll-behavior:contain; }
#hv-wallet-overlay .hv-withdraw-form { width:min(800px,100%); margin:0 auto; padding:4px 0; }
#hv-wallet-overlay .hv-withdraw-form .hv-form-row { grid-template-columns:155px minmax(0,1fr); min-height:42px; margin:8px 0; gap:14px; }
#hv-wallet-overlay .hv-withdraw-form .hv-input { height:42px; min-height:42px; font-size:17px; width:100%; min-width:0; }
#hv-wallet-overlay .hv-withdraw-form .hv-label { font-size:17px; }
#hv-wallet-overlay .hv-withdraw-form .hv-submit { min-height:42px; height:auto; margin:12px auto 0; padding:9px 24px; font-size:18px; }
#hv-wallet-overlay .hv-status:empty { display:none; }
#hv-wallet-overlay .hv-note { margin:10px 0 0; font-size:13px; line-height:1.4; }
#hv-wallet-overlay .hv-crypto-grid { display:grid; grid-template-columns:minmax(0,1fr) 1px minmax(0,1.12fr); gap:20px; align-items:start; width:100%; margin:auto; }
#hv-wallet-overlay .hv-crypto-grid > * { min-width:0; }
#hv-wallet-overlay .hv-crypto-grid .hv-divider { align-self:stretch; }
#hv-wallet-overlay .hv-crypto-grid .hv-form-row,
#hv-wallet-overlay .hv-crypto-grid .hv-info-row { display:grid; grid-template-columns:112px minmax(0,1fr); gap:10px; min-height:36px; margin:8px 0; align-items:center; }
#hv-wallet-overlay .hv-crypto-grid .hv-label,
#hv-wallet-overlay .hv-crypto-grid .hv-value { font-size:15px; overflow-wrap:anywhere; }
#hv-wallet-overlay .hv-crypto-grid .hv-input { width:100%; min-width:0; height:40px; min-height:40px; font-size:15px; padding:8px 10px; }
#hv-wallet-overlay .hv-crypto-grid .hv-rate-card { padding:10px; margin:0 0 10px; font-size:15px; line-height:1.4; }
#hv-wallet-overlay .hv-crypto-grid .hv-qr,
#hv-wallet-overlay .hv-crypto-grid .hv-qr-empty { width:128px; height:128px; min-height:0; margin:12px auto 0; box-sizing:border-box; }
#hv-wallet-overlay .hv-crypto-grid .hv-submit { width:100%; min-width:0; min-height:42px; margin:12px 0 0; padding:9px; font-size:16px; }
#hv-event-overlay .hv-event-tabs:empty { display:none; }
#hv-event-overlay .hv-event-hourly { min-height:100%; height:auto; box-sizing:border-box; padding:16px 24px; }
#hv-event-overlay .hv-event-hourly p { max-width:650px; margin:9px auto; line-height:1.5; }
#hv-event-overlay .hv-event-hourly h3 { margin:8px 0 12px; }
#hv-wallet-overlay .hv-payment-history { display:flex; flex-direction:column; gap:10px; min-height:100%; font-size:15px; }
#hv-wallet-overlay .hv-payment-history-tools { display:flex; align-items:center; justify-content:space-between; gap:12px; color:#d7c7a5; }
#hv-wallet-overlay .hv-payment-history button { background:#392519; border:1px solid #957c4c; border-radius:5px; padding:7px 12px; font:inherit; color:#fae6b5; cursor:pointer; }
#hv-wallet-overlay .hv-payment-history button:disabled { opacity:.45; cursor:default; }
#hv-wallet-overlay .hv-payment-table-wrap { overflow:auto; }
#hv-wallet-overlay .hv-payment-history table { border-collapse:collapse; width:100%; text-align:left; }
#hv-wallet-overlay .hv-payment-history th { background:#382114; color:#f6daa0; white-space:nowrap; }
#hv-wallet-overlay .hv-payment-history th,
#hv-wallet-overlay .hv-payment-history td { padding:10px; border-bottom:1px solid #705a354d; vertical-align:middle; }
#hv-wallet-overlay .hv-payment-history small { display:block; margin-top:3px; color:#c9ba9a; }
#hv-wallet-overlay .hv-payment-state { white-space:nowrap; color:#f4c87b; }
#hv-wallet-overlay .hv-payment-state[data-state="approved"] { color:#9bddac; }
#hv-wallet-overlay .hv-payment-state[data-state="rejected"],
#hv-wallet-overlay .hv-payment-state[data-state="failed"] { color:#ffb2a2; }
#hv-wallet-overlay .hv-payment-pagination { display:flex; justify-content:center; align-items:center; gap:16px; margin-top:auto; }
#hv-wallet-overlay .hv-payment-empty { text-align:center; padding:32px 12px; }
/* The mobile lobby rotates its UI root. Size against that root, not physical vh. */
html.hv-virtual-landscape #hv-wallet-overlay .hv-modal { width:min(96%,1000px); height:94%; max-height:94%; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-wallet-popup-header { flex:0 0 44px; min-height:44px; padding-right:90px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-modal-title { font-size:20px; }
html.hv-virtual-landscape #hv-payment-history-toggle { font-size:12px; padding:6px 10px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-modal-head { flex:0 0 33px; height:33px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-content { margin:4px 4% 2.5%; padding:6px 12px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-withdraw-form { width:min(710px,100%); padding:0; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-withdraw-form .hv-form-row { min-height:30px; margin:5px 0; grid-template-columns:126px minmax(0,1fr); gap:10px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-withdraw-form .hv-input { height:32px; min-height:32px; padding:5px 10px; font-size:14px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-withdraw-form .hv-label { font-size:14px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-withdraw-form .hv-submit { min-height:33px; margin-top:7px; padding:6px 18px; font-size:15px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-note { font-size:11px; margin-top:6px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-crypto-grid { grid-template-columns:minmax(0,1fr) 1px minmax(0,1.15fr); gap:14px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-crypto-grid .hv-form-row,
html.hv-virtual-landscape #hv-wallet-overlay .hv-crypto-grid .hv-info-row { grid-template-columns:91px minmax(0,1fr); min-height:28px; margin:5px 0; gap:8px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-crypto-grid .hv-label,
html.hv-virtual-landscape #hv-wallet-overlay .hv-crypto-grid .hv-value { font-size:13px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-crypto-grid .hv-input { min-height:32px; height:32px; font-size:13px; padding:5px 8px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-crypto-grid .hv-rate-card { padding:7px; margin-bottom:6px; font-size:13px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-crypto-grid .hv-qr,
html.hv-virtual-landscape #hv-wallet-overlay .hv-crypto-grid .hv-qr-empty { width:90px; height:90px; margin-top:6px; font-size:12px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-crypto-grid .hv-submit { min-height:34px; padding:6px; margin-top:7px; font-size:14px; }
html.hv-virtual-landscape #hv-event-overlay .hv-event-popup { width:min(90%,1010px); height:86%; max-height:86%; padding:49px 17px 13px; }
html.hv-virtual-landscape #hv-event-overlay .hv-event-layout { grid-template-columns:minmax(150px,23%) minmax(0,1fr); gap:12px; }
html.hv-virtual-landscape #hv-event-overlay .hv-event-nav button { min-height:42px; flex:0 0 42px; font-size:12px; padding:4px 8px; }
html.hv-virtual-landscape #hv-event-overlay .hv-event-nav button img { width:32px; height:32px; flex-basis:32px; }
html.hv-virtual-landscape #hv-event-overlay .hv-event-hourly { padding:8px 18px; font-size:14px; }
html.hv-virtual-landscape #hv-event-overlay .hv-event-hourly h3 { font-size:22px; margin:5px 0 7px; }
html.hv-virtual-landscape #hv-event-overlay .hv-event-hourly > img { width:50px; height:50px; }
html.hv-virtual-landscape #hv-event-overlay .hv-event-hourly p { margin:5px auto; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-payment-history { font-size:12px; gap:6px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-payment-history th,
html.hv-virtual-landscape #hv-wallet-overlay .hv-payment-history td { padding:6px 8px; }
/* Override the existing withdrawal-specific mobile frame rules as well. */
html.hv-virtual-landscape #hv-wallet-overlay.is-withdraw .hv-modal-head { flex:0 0 33px; height:33px; }
html.hv-virtual-landscape #hv-wallet-overlay.is-withdraw .hv-content { margin:4px 4% 2.5%; padding:6px 12px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-withdraw-form .hv-form-row { min-height:28px; margin:3px 0; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-withdraw-form .hv-input { height:28px; min-height:28px; padding:3px 10px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-withdraw-form .hv-submit { height:30px; min-height:30px; margin-top:5px; padding:4px 18px; }
html.hv-virtual-landscape #hv-wallet-overlay .hv-withdraw-form .hv-note { font-size:10px; line-height:1.25; margin-top:5px; }
