/* Native Category Blocking components, with only single-category embed sizing. */
.gambling-widget-frame{display:block;width:100%;height:510px;border:0;border-radius:30px;background:transparent;color-scheme:light dark}
.gambling-widget-loading{font:16px/1.5 Roboto,Arial,sans-serif;text-align:center}
html.dashboard-gambling-embed{background:var(--surface-1,#c54d4e)}
.gambling-widget-document{margin:0;padding:0;font:16px/1.45 Roboto,Arial,sans-serif;color:#fff;background:transparent!important;box-sizing:border-box}
.gambling-widget-document *{box-sizing:border-box}
.gambling-widget-document .cb-category-shell{width:100%;min-height:0;align-items:stretch;padding:28px 30px;background:var(--surface-1,#c54d4e)}
.gambling-widget-document .cb-category-header{justify-content:space-between;gap:18px;margin-bottom:14px}
.gambling-widget-document .cb-category-header h2{flex:1;min-width:0;font-size:32px;line-height:1.12;text-align:left;overflow-wrap:anywhere}
.gambling-widget-document .cb-category-counter{width:52px;height:52px;flex:0 0 52px;font-size:25px;border-width:2px}
.gw-selection-note{margin:0 0 18px;font-size:14px;color:rgba(255,255,255,.88)}
.gambling-widget-document .cb-category-row{width:100%;padding:14px 15px;gap:12px;min-height:84px;margin-bottom:22px}
.gambling-widget-document .cb-row-icon{width:32px;height:32px;flex-basis:32px}
.gambling-widget-document .cb-row-icon svg{width:30px;height:30px}
.gambling-widget-document .cb-row-info{min-width:0;flex:1}
.gambling-widget-document .cb-row-info h3{font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.gambling-widget-document .cb-row-info>span{font-size:13px}
.gambling-widget-document .cb-row-controls{gap:5px;margin-left:auto}
.gambling-widget-document .cb-row-action{width:44px;height:44px;flex:0 0 44px}
.gambling-widget-document .cb-row-action svg{width:20px;height:20px}
.gambling-widget-document .cb-switch{flex:0 0 58px;min-width:58px;min-height:44px;align-items:center;justify-content:center}
.gw-field-label,.gw-search-label{display:block;font-size:14px;font-weight:700;margin:0 0 8px}
.gw-input,.gw-search{display:block;width:100%;border:1px solid #e1e1e1;border-radius:11px;background:#fff;color:#333;padding:12px 14px;font:400 15px/1.45 Roboto,Arial,sans-serif;caret-color:#333}
.gw-input{min-height:68px;max-height:220px;resize:vertical}
.gw-search{height:46px}
.gw-input:focus-visible,.gw-search:focus-visible,.gw-button:focus-visible,.gw-disable:focus-visible,.gw-list-button:focus-visible,.gw-install:focus-visible{outline:3px solid #fff;outline-offset:3px}
.gw-input::placeholder,.gw-search::placeholder{color:#969696}
.gw-help{font-size:12px;line-height:1.5;color:rgba(255,255,255,.82);margin:8px 0 18px}
.gw-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 18px;width:100%;margin-top:auto;padding-top:18px}
.gw-settings{display:inline;margin:0;font:inherit;font-weight:700;color:#fff;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.gw-settings:focus-visible{outline:3px solid #fff;outline-offset:4px;border-radius:3px}
.gw-actions .gw-button{flex:0 1 auto;width:auto;min-width:0;min-height:50px;margin:0;overflow-wrap:anywhere}
.gw-disable{display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;min-width:0;min-height:50px;margin:0 0 0 auto;padding:12px 18px;border:1px solid rgba(255,255,255,.45);border-radius:12px;background:rgba(255,255,255,.04);color:#fff;font:700 15px/1.4 Roboto,Arial,sans-serif;text-align:center;cursor:pointer;overflow-wrap:anywhere}
.gw-disable:hover{background:rgba(255,255,255,.13)}
.gw-disable:disabled{opacity:.65;cursor:wait}
#gambling-input-hint{margin-bottom:0}
.gw-button{display:flex;justify-content:center;align-items:center;min-height:50px;width:100%;margin:10px 0 0;padding:12px 18px;border:0;border-radius:12px;background:#fff;color:#333;font:900 15px/1.4 Roboto,Arial,sans-serif;text-decoration:none;cursor:pointer;text-align:center;box-shadow:0 10px 20px #3d101025}
.gw-button:hover{background:#f7f7f7}
.gw-install{display:inline-block;margin-top:10px;color:#fff;font:700 14px/1.5 Roboto,Arial,sans-serif;text-decoration:underline;text-underline-offset:3px}
.gw-button:disabled{opacity:.65;cursor:wait}
.gw-button[data-state="active"]:disabled{opacity:.55;cursor:not-allowed;color:#174b2d;background:#e2f5e8;border-color:#a8d9b9;box-shadow:none}
.gw-status{margin:12px 0 0;padding:14px 16px;border:1px solid rgba(255,255,255,.3);border-radius:12px;background:rgba(61,16,16,.16);font-size:14px;overflow-wrap:anywhere}
.gw-status:empty{display:none}
.gw-status[data-state="active"]{border-color:#b1e9c0}
.gw-status[data-state="error"]{border-color:#ffe0b4}
.gw-status p{margin:0 0 8px}.gw-status p:last-child{margin-bottom:0}
.gw-editor{margin:0 0 20px;padding:16px;border:1px solid rgba(255,255,255,.24);border-radius:16px;background:rgba(61,16,16,.1)}
.gw-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.gw-editor-heading>strong{min-width:0;overflow-wrap:anywhere}
.gw-domain-list{max-height:260px;max-height:min(260px,50svh);overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;margin-top:12px;scrollbar-color:#ff9294 #a94243;scrollbar-width:thin}
.gambling-widget-document .gw-domain-list .cb-domain-row{min-height:44px;gap:10px;padding:9px 2px;border-bottom:1px solid rgba(255,255,255,.16);font-size:14px}
.gw-domain-list strong{flex:1 1 0;min-width:0;font-size:14px;overflow-wrap:anywhere}
.gw-domain-state{min-width:0;max-width:46%;flex:0 0 auto;font-size:11px;line-height:1.4;color:rgba(255,255,255,.75);text-align:right;overflow-wrap:anywhere}
.gw-list-button{margin-top:12px;padding:9px 12px;border:1px solid rgba(255,255,255,.4);border-radius:9px;background:transparent;color:#fff;font:700 13px/1.4 Roboto,Arial,sans-serif;cursor:pointer}
.gw-card [hidden]{display:none!important}
html[data-theme="dark"] .gambling-widget-document .cb-category-shell{background:#2c3036}
html[data-theme="dark"] .gambling-widget-document .cb-category-row{background:#343941;border-color:#48515c}
html[data-theme="dark"] .gambling-widget-document .cb-category-row.is-active,html[data-theme="dark"] .gambling-widget-document .cb-category-row:hover{background:#424a54}
html[data-theme="dark"] .gambling-widget-document .cb-switch-track{background:#181c22}
html[data-theme="dark"] .gambling-widget-document .cb-switch-track span{background:#66717e}
html[data-theme="dark"] .gambling-widget-document .cb-switch input:checked+.cb-switch-track{background:#f4f5f6}
html[data-theme="dark"] .gambling-widget-document .cb-switch input:checked+.cb-switch-track span{background:#343941}
html[data-theme="dark"] .gambling-widget-document .gw-editor,html[data-theme="dark"] .gambling-widget-document .gw-status{background:#24282e}
html[data-theme="dark"] .gambling-widget-document .gw-domain-list{scrollbar-color:#7d8793 #1b1e23}
/* These queries use the iframe width; coarse pointers also cover wider tablet embeds. */
@media(max-width:560px){
 .gambling-widget-document .cb-category-shell{padding:22px 20px}
 .gambling-widget-document .cb-category-header{gap:12px}
 .gambling-widget-document .cb-category-header h2{font-size:24px;line-height:1.2}
 .gambling-widget-document .cb-category-counter{width:46px;height:46px;flex:0 0 46px;font-size:23px}
 .gambling-widget-document .cb-category-row{flex-wrap:wrap;gap:10px}
 .gambling-widget-document .cb-row-info{flex-basis:calc(100% - 46px)}
 .gambling-widget-document .cb-row-info h3{white-space:normal}
 .gambling-widget-document .cb-row-controls{margin-left:42px}
 .gw-actions{flex-direction:column;align-items:stretch;gap:14px}
 .gw-actions .gw-button,.gw-actions .gw-disable{flex:none;width:100%;margin:0}
}
@media(max-width:560px),(any-pointer:coarse){
 .gw-input,.gw-search{font-size:16px}
 .gw-help{font-size:14px}
 button.gw-settings{display:inline-flex;align-items:center;min-height:44px;max-width:100%;font-size:14px}
 .gw-domain-list strong{font-size:15px}
 .gw-domain-state{font-size:13px}
 .gw-list-button{min-height:44px;font-size:14px}
 .gw-install{display:inline-flex;align-items:center;min-height:44px;max-width:100%;overflow-wrap:anywhere}
}
@media(max-width:360px){
 .gambling-widget-document .cb-category-shell{padding:20px 16px}
 .gambling-widget-document .cb-category-row{padding:12px}
}
@media(prefers-reduced-motion:reduce){.gambling-widget-document .cb-category-row,.gambling-widget-document .cb-row-action{transition:none}}

/* The existing hint link also controls the optional password form. */
button.gw-settings{padding:0;border:0;background:none;color:inherit;cursor:pointer;text-align:left;appearance:none}
button.gw-settings::after{content:"";display:inline-block;width:5px;height:5px;margin:0 2px 2px 7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);vertical-align:middle}
button.gw-settings[aria-expanded="true"]::after{transform:rotate(225deg);margin-bottom:-1px}
button.gw-settings:disabled{cursor:wait;opacity:.65}
.gw-button[data-state="dashboard"]{background:#fff;color:#333}
