@font-face{font-family:'Workspace SC';src:url('/workspace/assets/noto-sans-sc.woff2') format('woff2');font-display:swap;unicode-range:U+2E80-9FFF,U+F900-FAFF,U+FF00-FFEF}
body{padding-bottom:95px!important}.ga4-bar{position:fixed;inset:auto 0 0;z-index:9000;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px max(18px,calc((100vw - 1180px)/2));background:#12162bf5;border-top:1px solid #ffffff24;color:#fff;box-shadow:0 -8px 30px #0003;font:13px/1.5 system-ui,'Workspace SC',sans-serif}.ga4-bar-brand{display:flex;align-items:center;gap:10px}.ga4-bar-brand img{max-width:55px;max-height:35px;object-fit:contain}.ga4-bar-brand strong{display:block}.ga4-bar-brand small{font-size:10px;color:#aeb9d6}.ga4-bar button,.ga4-panel button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:7px;background:#8c5ce7;padding:10px 15px;color:#fff;font:700 12px/1.4 system-ui,'Workspace SC',sans-serif;cursor:pointer;min-height:40px}.ga4-bar button:disabled,.ga4-panel button:disabled{opacity:.5}.ga4-bar-actions{display:flex;gap:8px}.ga4-bar .ga4-quiet{background:#ffffff10}.ga4-panel{max-width:570px;width:calc(100% - 24px);max-height:90vh;overflow:auto;padding:25px;border:1px solid #dfe2ed;border-radius:15px;background:#fff;color:#272d43;font:14px/1.7 system-ui,'Workspace SC',sans-serif;box-shadow:0 30px 100px #0005}.ga4-panel::backdrop{background:#060b21aa}.ga4-panel h2{font-size:24px;letter-spacing:-.025em;margin:0 0 12px;color:#21273b}.ga4-panel p{color:#68728a;font-size:13px}.ga4-panel label{display:block;margin:12px 0;font-size:12px;color:#596379}.ga4-panel input:not([type=checkbox]),.ga4-panel select{display:block;width:100%;padding:11px;border:1px solid #d8deea;border-radius:7px;margin-top:5px;background:#fff;color:#252d43;font:14px system-ui}.ga4-panel input[type=checkbox]{width:16px;min-height:16px;display:inline-block;margin:0 8px 0 0}.ga4-panel .ga4-row{display:flex;gap:10px;align-items:center;justify-content:space-between}.ga4-status{padding:10px 13px;background:#f3eefb;border-radius:7px;color:#8059af;font-size:12px}.ga4-status.error{background:#fff0f2;color:#b15368}.ga4-code{display:block;background:#f1f3fa;padding:12px;border-radius:7px;font:12px/1.5 ui-monospace,monospace;overflow-wrap:anywhere;color:#212840}.ga4-qr{text-align:center;background:white;padding:15px}.ga4-qr img{display:inline-block}.ga4-mode{font-size:10px;letter-spacing:.1em;color:#b797f0;font-weight:800}.ga4-native-preview{display:none!important}.ga4-client .rail>section,.ga4-client details:has(#knobs){display:none!important}.ga4-client .brand em{display:none}.ga4-client .result-note{display:none}.ga4-panel a{color:#8552dc}.ga4-panel table{font-size:12px;width:100%;border-collapse:collapse}.ga4-panel td,.ga4-panel th{padding:9px;text-align:left;border-bottom:1px solid #e9edf3}.ga4-header-logo{max-width:120px;max-height:45px;object-fit:contain}.ga4-brand-name{color:inherit!important}
@media(max-width:600px){body{padding-bottom:120px!important}.ga4-bar{display:block;padding:10px 12px}.ga4-bar-brand{justify-content:center;margin-bottom:7px}.ga4-bar-brand small{font-size:9px}.ga4-bar-actions{justify-content:center}.ga4-bar button{padding:9px 12px;min-height:36px}.ga4-panel{padding:20px}}

.ga4-client[data-ga4-mode=live] .seg,.ga4-client[data-ga4-mode=live] #avatars{display:none!important}

.ga4-client .tabs{display:none!important}.ga4-client{font-family:system-ui,'Workspace SC',sans-serif!important}

.ga4-bar button:not(.ga4-quiet),.ga4-panel button:not(.ga4-close){background:var(--ga4-brand,#8c5ce7)}

.ga4-bar-actions{flex-wrap:wrap}.ga4-bar #ga4-cta{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ga4-client:not([data-ga4-mode=showcase]) .campaign-use,.ga4-client:not([data-ga4-mode=showcase]) .use-caption,.ga4-client:not([data-ga4-mode=showcase]) .next-step,.ga4-client:not([data-ga4-mode=showcase]) .result-copy>a.micro{display:none!important}

/* Managed game pages use the server-backed result and reward controls. */
body[data-ga4-mode] .panels,body[data-ga4-mode] .entry,body[data-ga4-mode] .rank-msg,body[data-ga4-mode] .ticket,body[data-ga4-mode] .reward{display:none!important}
#ga4-end-result{margin-top:8px;flex-shrink:0}
