.access-share-dialog,.access-create-dialog,.movement-receipt-dialog{box-sizing:border-box;width:min(620px,calc(100vw - 28px))!important;max-height:calc(100dvh - 28px)!important;border:1px solid #b877ac!important;border-radius:16px!important;background:linear-gradient(140deg,#302039,#190f25)!important;color:#fcf4ff!important;padding:18px!important;overflow:auto}
.access-close{float:right;width:44px;min-height:44px!important;padding:0!important;font-size:22px!important;background:#412348!important;border:1px solid #95618f!important;color:#fff!important;border-radius:9px}
.access-share-dialog h2,.access-create-dialog h2,.movement-receipt-dialog h2{margin:8px 45px 8px 0!important;font-size:18px!important}.access-person{font-size:12px!important;color:#dbc8e5!important}
.access-tabs,.access-actions{display:flex;gap:7px;margin:9px 0}.access-tabs button,.access-actions>*{flex:1;min-height:44px!important;padding:8px!important;border-radius:9px!important;font-size:12px!important;text-align:center;box-sizing:border-box}.access-tabs button{border:1px solid #96618c!important;background:#3a2442!important;color:#fff!important}.access-tabs [aria-pressed=true]{background:#7a3266!important;border-color:#e69acb!important}
.access-share-dialog label{display:flex!important;flex-direction:column!important;gap:5px!important;margin:0!important;font-size:12px!important}.access-share-dialog textarea{width:100%!important;height:270px!important;min-height:90px!important;resize:none!important;box-sizing:border-box;padding:10px!important;font:16px/1.4 system-ui!important;background:#170f21!important;border:1px solid #895b93!important;color:#f8edff!important;border-radius:9px!important}
.access-preview{height:290px;padding:12px;background:#24162e;border:1px solid #684571;border-radius:10px;overflow:auto;overflow-wrap:anywhere;font:14px/1.4 system-ui}.access-preview p{margin:0!important;min-height:7px;font:inherit!important;color:inherit!important}.access-preview strong{font-weight:750}
.access-share-dialog [hidden],.access-create-dialog [hidden]{display:none!important}.access-privacy{font-size:11px!important;line-height:1.35!important;color:#d9c1e4!important;margin:9px 0!important}.access-whatsapp{display:flex;align-items:center;justify-content:center;background:#245e4c;color:#fff!important;border:1px solid #63a68b;text-decoration:none}.access-copy{background:#77305f!important;border:1px solid #ba79a2!important;color:#fff!important}.access-forget{min-height:44px!important;width:100%;font-size:11px!important;background:transparent!important;border:1px solid #815286!important;color:#ead5f1!important}.access-feedback{min-height:18px;margin:6px 0!important;font-size:11px!important;color:#ffe5a4!important}
.movement-record h3{font-size:24px;margin:12px 0;color:#ffe19a}.movement-record small{display:block;overflow-wrap:anywhere;font-size:11px;color:#d4bddf}.movement-record button{min-height:44px;margin-top:12px}.movement-balance-change{padding:12px;background:#1c1226;border:1px solid #76517f;border-radius:10px;font-size:17px!important;color:#fff!important;font-weight:700}.access-create-dialog label{display:grid;gap:4px;margin:9px 0}.access-create-dialog input{font-size:16px!important;min-height:44px!important;width:100%;box-sizing:border-box}.access-create-dialog form>button{min-height:44px}
html[data-owner-view] .live-account .live-last-load{font-size:9px!important;line-height:1.2!important;color:#c4adc9!important;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-owner-view] .live-account .live-identity strong{line-height:1.15!important}.live-last-load:empty{display:none!important}
html[data-owner-view=mobile] .live-load-hint{font-size:10px!important}html[data-owner-view=mobile] .live-load-hint::after{display:none!important}
html[data-owner-view=mobile] .access-share-dialog{width:362px!important;max-width:calc(100vw - 28px)!important}.access-share-dialog .access-whatsapp:focus-visible,.access-share-dialog button:focus-visible{outline:2px solid #ffd1ef;outline-offset:2px}
html.owner-device-preview .access-share-dialog,html.owner-device-preview .access-create-dialog,html.owner-device-preview .movement-receipt-dialog{width:362px!important;max-height:816px!important;transform:scale(var(--owner-device-scale,1));transform-origin:center}
@media(max-width:600px){.access-share-dialog,.access-create-dialog,.movement-receipt-dialog{padding:13px!important}.access-share-dialog textarea{height:calc(100dvh - 390px)!important;max-height:300px!important;min-height:100px!important}.access-preview{height:calc(100dvh - 370px);max-height:330px;min-height:100px}}
@media(max-height:620px){.access-share-dialog textarea,.access-preview{height:130px!important}.access-privacy{font-size:10px!important}.access-tabs,.access-actions{margin:5px 0}}
#agent-create-player,#player-share-access{min-height:44px!important;font-size:12px!important;padding:8px 10px!important}

html.owner-device-preview::before{content:attr(data-owner-device-label)!important}
html.owner-device-preview body.owner-live:not(.is-signed-out){width:var(--owner-device-width,390px)!important;max-width:var(--owner-device-width,390px)!important;height:var(--owner-device-height,844px)!important;min-height:var(--owner-device-height,844px)!important;max-height:var(--owner-device-height,844px)!important;margin-left:calc(var(--owner-device-width,390px) / -2)!important}
html.owner-device-preview[data-owner-view=mobile] .owner-live .live-dialog,html.owner-device-preview[data-owner-view=mobile] .access-share-dialog,html.owner-device-preview[data-owner-view=mobile] .access-create-dialog,html.owner-device-preview[data-owner-view=mobile] .movement-receipt-dialog{width:calc(var(--owner-device-width,390px) - 28px)!important;max-width:calc(var(--owner-device-width,390px) - 28px)!important;max-height:calc(var(--owner-device-height,844px) - 28px)!important}

.access-share-dialog>.access-close,.access-create-dialog>.access-close,.movement-receipt-dialog>.access-close{position:absolute!important;top:9px!important;right:9px!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;display:flex!important;align-items:center;justify-content:center;float:none!important}
.access-page-control{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-top:6px;font-size:11px}.access-page-control button{min-height:38px!important;width:44px!important;min-width:44px!important;padding:5px!important}.access-share-dialog .access-preview{overflow:hidden!important}
html.owner-device-preview[data-owner-view=mobile] .access-share-dialog textarea{height:clamp(100px,calc(var(--owner-device-height,844px) - 420px),270px)!important}
html.owner-device-preview[data-owner-view=mobile] .access-preview{height:clamp(110px,calc(var(--owner-device-height,844px) - 450px),290px)!important}

html[data-owner-view=mobile] .owner-live>header>img{width:53px!important;min-width:53px!important;max-width:53px!important;height:39px!important;min-height:39px!important;max-height:39px!important}
html[data-owner-view=mobile] .owner-live>header>div:not(#owner-currency-host){overflow:hidden;min-width:0}
html[data-owner-view=mobile] .owner-live>header>div>b,html[data-owner-view=mobile] .owner-live>header>div>small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:0!important}
html[data-owner-compact=true] .owner-live>header{gap:5px!important}
html[data-owner-compact=true] .owner-live>header>img{width:44px!important;min-width:44px!important;max-width:44px!important;height:36px!important;min-height:36px!important;max-height:36px!important}
html[data-owner-compact=true] .owner-live>header>div>b{font-size:12px!important}html[data-owner-compact=true] .owner-live>header>div>small{font-size:9px!important}

#money-main[aria-busy=true]{opacity:.55;cursor:progress}
.owner-live .live-profile-dialog{width:min(480px,calc(100vw - 28px));padding:18px!important;border-radius:16px;background:linear-gradient(145deg,#2d1c38,#171020);box-shadow:0 20px 65px #05020899}
.live-profile-dialog h2{font-size:18px!important;line-height:1.2;margin:0 42px 3px 0!important;padding:0!important}
.live-profile-dialog .live-profile-id{font-size:11px;color:#c5afd0;margin:0 40px 12px 0!important}
.live-profile-dialog .live-profile-balance{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-color:#79548666;background:#100c19}
.live-profile-dialog .live-profile-balance strong{font-size:20px;margin:0;line-height:1.2}
.live-profile-dialog .live-data{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:10px 0!important}
.live-profile-dialog .profile-metric{min-width:0;padding:7px 9px;background:#ffffff04;border:1px solid #ffffff0a;border-radius:8px}
.live-profile-dialog .profile-metric dt{font-size:11px;line-height:1.25;color:#bfaec9;margin-bottom:3px}
.live-profile-dialog .profile-metric dd{font-size:12px;line-height:1.3;text-align:left;color:#f4eaf8;margin:0;overflow-wrap:anywhere}
.live-profile-dialog .profile-wide{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px}
.live-profile-dialog .profile-wide dt{margin:0}.live-profile-dialog .profile-wide dd{text-align:right}
.live-profile-dialog .live-profile-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0 8px}
.owner-live .live-profile-dialog .live-profile-actions button{min-height:38px!important;padding:7px 9px!important;font-size:12px!important;line-height:1.2!important;border-radius:8px}
.live-profile-dialog #profile-players{grid-column:1/-1}.live-profile-dialog details{font-size:12px;margin:0}.live-profile-dialog summary{padding:6px 0;cursor:pointer}
html[data-owner-view=mobile] .owner-live .live-profile-dialog .live-profile-actions button{min-height:44px!important}
html[data-owner-view=mobile] .live-profile-dialog{padding:14px!important}
@media(max-height:650px){.live-profile-dialog .profile-metric{padding:5px 8px}.live-profile-dialog .live-data{gap:4px!important;margin:7px 0!important}}
html[data-owner-view=pc] .owner-live .live-profile-dialog{width:min(540px,calc(100vw - 28px));padding:16px!important}
html[data-owner-view=pc] .live-profile-dialog .profile-metric{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px}
html[data-owner-view=pc] .live-profile-dialog .profile-metric dt{margin:0;font-size:11px}
html[data-owner-view=pc] .live-profile-dialog .profile-metric dd{text-align:right;font-size:12px}
html[data-owner-view=pc] .live-profile-dialog .live-profile-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
html[data-owner-view=pc] .live-profile-dialog #profile-players{grid-column:auto}

/* Four manual fields; visual viewport keeps the form reachable above mobile keyboards. */
dialog.player-create-compact{position:fixed!important;inset:auto!important;top:calc(var(--player-view-top,0px) + var(--player-view-height,100dvh)/2)!important;left:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;width:min(370px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:calc(var(--player-view-height,100dvh) - 20px)!important;overflow:auto!important;box-sizing:border-box;padding:16px!important;border:1px solid #b04ac4!important;border-radius:16px!important;background:linear-gradient(145deg,#21132d,#130d1c)!important;box-shadow:0 18px 60px #0009!important;color:#fff!important;overscroll-behavior:contain;scroll-padding:12px}
dialog.player-create-compact::backdrop{background:#08050dbb;backdrop-filter:blur(3px)}
dialog.player-create-compact h2{margin:0 44px 12px 0!important;font:700 20px/1.3 system-ui,sans-serif!important}
dialog.player-create-compact .access-close{top:8px!important;right:8px!important;background:transparent!important;border:0!important;color:#eec9f5!important;font-size:26px!important}
dialog.player-create-compact form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;margin:0!important}
dialog.player-create-compact .player-field-wrap{min-width:0;margin:0!important}
dialog.player-create-compact .player-field{display:flex;align-items:center;min-height:46px;background:#291b35;border:1px solid #674372;border-radius:10px;overflow:hidden;padding:0 10px;gap:9px}
dialog.player-create-compact .player-field:focus-within{border-color:#ed40d5;box-shadow:0 0 0 2px #ed40d522}
dialog.player-create-compact .player-field:has([aria-invalid=true]){border-color:#ff879d}
dialog.player-create-compact .player-field>svg{width:19px;height:19px;flex:none;color:#c9acd8}
dialog.player-create-compact .player-field input{flex:1;min-width:0;width:100%!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;color:#fff!important;font:400 16px/1.3 system-ui,sans-serif!important}
dialog.player-create-compact input::placeholder{color:#cab6d3;opacity:1}
dialog.player-create-compact .player-password-toggle{display:grid;place-items:center;flex:none;width:44px;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0 -9px 0 0!important;padding:9px!important;border:0!important;background:transparent!important;color:#e7bde9!important}
dialog.player-create-compact .player-password-toggle svg{width:22px;height:22px}
dialog.player-create-compact .player-phone>span{font:600 14px/1 system-ui,sans-serif;color:#e2c5ee;border-right:1px solid #76557d;padding-right:9px;white-space:nowrap}
dialog.player-create-compact .player-field-error{display:block;font:12px/1.3 system-ui,sans-serif;color:#ffa3b4;margin:4px 2px 0;overflow-wrap:anywhere}
dialog.player-create-compact .player-field-error[hidden]{display:none!important}
dialog.player-create-compact .access-feedback{margin:0!important;min-height:0!important;font:12px/1.4 system-ui,sans-serif!important}
dialog.player-create-compact .access-feedback:empty{display:none}
dialog.player-create-compact .player-create-submit{height:46px;min-height:46px!important;width:100%;padding:8px!important;margin:3px 0 0!important;border:1px solid #ff60e4!important;border-radius:10px!important;background:linear-gradient(100deg,#ed009d,#bd00de)!important;color:#fff!important;font:700 16px/1.2 system-ui,sans-serif!important}
dialog.player-create-compact button:disabled{opacity:.65;cursor:wait}
