/* P1056: balance-first currency cells, with a compact voucher vector. */
:root{--zk-r181-native:1429px}
html body[data-ui-profile] .zk-v9-stage,html body[data-ui-profile] .hunter-topbar.zk-v9-compact .zk-v9-stage{grid-template-columns:286px 156px 156px 124px 93px minmax(var(--zk-r181-nav-w),1fr)!important}
html body[data-ui-profile] .zk-v9-zeni-cell,html body[data-ui-profile] .zk-v9-premium-cell{width:156px!important}
html body[data-ui-profile] .zk-v9-coupon-cell{width:124px!important}
html body .zk-v9-zeni-cell>.zk-v9-shell,html body .zk-v9-premium-cell>.zk-v9-shell{display:none!important}
html body .zk-v9-cell .currency-pill,html body .p1055-coupon-wallet{position:absolute!important;inset:auto 4px auto 0!important;top:26px!important;height:58px!important;width:auto!important;padding:0!important;display:block!important;border:1px solid #394960!important;border-radius:8px!important;background:linear-gradient(160deg,#1c2940,#0c1426 70%)!important;box-shadow:inset 0 1px #788da62b,0 1px 3px #0005!important;overflow:hidden!important}
html body .zk-v9-cell .currency-pill .currency-icon{left:7px!important;top:24px!important;width:24px!important;height:24px!important;object-fit:contain!important;image-rendering:pixelated!important}
html body .zk-v9-cell .currency-pill>b,html body .p1055-coupon-wallet>b{position:absolute!important;left:35px!important;right:36px!important;top:23px!important;bottom:auto!important;width:auto!important;height:26px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;text-align:right!important;font:800 16px/26px Arial,sans-serif!important;font-variant-numeric:tabular-nums!important;white-space:nowrap!important;color:#f3f6fc!important;overflow:hidden!important;text-overflow:clip!important;text-shadow:none!important}
html body .zk-v9-cell .currency-pill:after{position:absolute;left:35px;top:9px;font:700 8px/10px Arial,sans-serif;letter-spacing:1px;color:#9caec3;pointer-events:none}
html body .zeni-currency:after{content:'ZENI'}html body .cash-token-currency:after{content:'CASH'}
html body .zk-v9-cell .currency-pill>button{position:absolute!important;top:24px!important;right:6px!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;display:block!important;border-radius:6px!important;border:1px solid #c99531!important;background:linear-gradient(#ffe18a,#dfa62c)!important;color:#4a310d!important;font:700 19px/20px Arial,sans-serif!important;text-shadow:none!important;box-shadow:inset 0 1px #fff3bf55!important;padding:0!important}
html body .zk-v9-cell .currency-pill>button:before{content:'+'!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:none!important;opacity:1!important;color:#4a310d!important;border-radius:0!important;box-shadow:none!important;font:700 19px Arial,sans-serif!important}
html body .zk-v9-cell .currency-pill>button:hover{filter:brightness(1.1)!important}
html body .p1055-coupon-wallet>b{left:35px!important;right:10px!important}
html body .p1055-coupon-wallet>small{position:absolute!important;left:35px!important;top:9px!important;padding:0!important;font:700 8px/10px Arial,sans-serif!important;letter-spacing:1px!important;color:#b8b09b!important}
html body .p1056-coupon-icon{position:absolute;left:7px;top:25px;width:24px;height:23px;filter:drop-shadow(0 1px 1px #0006)}

/* P1057: full runtime's UI30 ID rules must not push purchase controls below their cells. */
html body .hunter-topbar .zk-v9-cell .currency-pill>#zeniAddBtn,
html body .hunter-topbar .zk-v9-cell .currency-pill>#premiumAddBtn{top:24px!important;bottom:auto!important;left:auto!important;right:6px!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;margin:0!important;padding:0!important;transform:none!important;translate:none!important;border-radius:6px!important;border:1px solid #c99531!important;background:linear-gradient(#ffe18a,#dfa62c)!important;box-shadow:inset 0 1px #fff3bf55!important;font-size:0!important}
html body .hunter-topbar .zk-v9-cell .currency-pill>#zeniAddBtn:before,
html body .hunter-topbar .zk-v9-cell .currency-pill>#premiumAddBtn:before{content:'+'!important;position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:none!important;opacity:1!important;box-shadow:none!important;color:#4a310d!important;font:700 19px Arial,sans-serif!important;transform:none!important}
html body .hunter-topbar .zk-v9-cell .currency-pill>#zeniAddBtn:after,
html body .hunter-topbar .zk-v9-cell .currency-pill>#premiumAddBtn:after{content:none!important;display:none!important}

/* P1058: retain predictable numeric font metrics after the UI30 font pass. */
html body .hunter-topbar .zk-v9-cell #topZeni,
html body .hunter-topbar .zk-v9-cell #topZCurrency,
html body .hunter-topbar .zk-v9-cell #topCoupons{font:700 16px/30px Arial,sans-serif!important;font-variant-numeric:tabular-nums!important;letter-spacing:0!important;top:21px!important;height:30px!important;min-width:0!important;overflow:visible!important;white-space:nowrap!important;filter:none!important;transform:none!important;text-shadow:none!important}
