/* Reference 29555: wallet stays in the header, details open at the bottom. */
.agent .agent-header .header-actions{margin-left:auto;display:flex;align-items:center;gap:8px;flex-shrink:0}
.agent .agent-header .header-actions>.icon-button:first-child{display:inline-flex;align-items:center;justify-content:center}
.agent .agent-header .header-actions>.icon-button{min-width:40px;min-height:40px}
.agent .modal-backdrop:has(>.dialog-balance){align-items:flex-end;padding:0}
.agent .dialog.dialog-balance.bottom-sheet{width:100%;max-width:640px;margin:0 auto;border-radius:18px 18px 0 0;padding-bottom:max(18px,env(safe-area-inset-bottom));height:auto;max-height:85dvh}
.agent .dialog-balance .dialog-title{position:relative;display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 48px;border-bottom:1px solid #f0eff4}
.agent .dialog-balance .dialog-title h2{font-size:15px;margin:0;text-align:center}
.agent .dialog-balance .dialog-title>button{position:absolute;right:8px;top:4px}
.agent .dialog-balance>.balance-summary{background:#f8f7fb;margin:10px 14px 0;padding:12px;border-radius:3px}
.agent .dialog-balance .balance-summary h3{color:#3199a4;font-size:14px;margin:0 0 10px}
.agent .dialog-balance .balance-summary>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.agent .dialog-balance .balance-summary label{font-size:11px;color:#7b7b88;margin-bottom:4px}
.agent .dialog-balance .balance-summary b{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.agent .dialog-balance .balance-summary span:nth-child(2){text-align:center}
.agent .dialog-balance .balance-summary span:nth-child(3){text-align:right}
@media(max-width:360px){.agent .agent-header{gap:4px;padding-left:6px;padding-right:6px}.agent .agent-header .header-actions{gap:3px}.agent .agent-header .create-button{margin-left:auto;padding:0 7px}}
/* Keep the reference's aligned reel grid and controls at any display density. */
.slot-machine .machine-reels{image-rendering:auto;touch-action:manipulation}
.slot-machine .machine-background{image-rendering:auto;pointer-events:none}
.slot-machine .hot-meter,.slot-machine .stars-balance,.slot-machine .hot-bet,.slot-machine .stars-bet{font-variant-numeric:tabular-nums}
