.hub-dialog{width:min(1150px,calc(100vw - 24px));max-height:88dvh;box-sizing:border-box;padding:20px;border:1px solid #604582;border-radius:18px;background:#100b21;color:#f1ebff}.hub-dialog::backdrop{background:#05030bd9}
.hub-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.hub-heading h2{margin:0}.hub-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.hub-tools label{display:flex;align-items:center;gap:7px;font-size:13px}.hub-tools input[type=checkbox]{width:17px;height:17px}.hub-tools input:not([type=checkbox]),.hub-tools select,#hubAdminExtra input:not([type=checkbox]),#hubAdminExtra select,#hubAdminExtra textarea{max-width:100%;min-width:0;box-sizing:border-box;background:#1d1430;border:1px solid #54406e;border-radius:9px;padding:10px;color:#eee8ff;font:inherit}
.hub-note{font-size:12px;line-height:1.5;color:#b2a5c9}.hub-error{font-size:13px;color:#ffacb9;line-height:1.5}.hub-scroll{max-height:58dvh;overflow:auto}.hub-table{width:100%;border-collapse:collapse;font-size:13px}.hub-table th,.hub-table td{text-align:left;padding:12px 10px;border-bottom:1px solid #37244f;vertical-align:top;font-variant-numeric:tabular-nums}.hub-table th{position:sticky;top:0;background:#241633;z-index:1}.hub-table small,.hub-error-row small{display:block;margin-top:5px;font-size:11px;color:#a89abf}.hub-table td:not(:first-child){white-space:nowrap}.hub-plus{color:#49e6aa}.hub-minus{color:#ff929d}
.hub-dialog pre{background:#090512;border:1px solid #322044;border-radius:10px;padding:12px;max-height:40dvh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.hub-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hub-facts small{display:block;color:#ae9ec9;margin-bottom:5px}.hub-facts code{overflow-wrap:anywhere}.hub-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.hub-kpis>div{background:linear-gradient(#211732,#151022);border:1px solid #49305f;border-radius:14px;padding:16px;min-width:0}.hub-kpis small{display:block;color:#b7a8ce;font-size:12px}.hub-kpis b{display:block;font-size:clamp(16px,1.8vw,25px);margin-top:6px;overflow-wrap:anywhere}.hub-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hub-game-stat{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #37294a;font-size:13px}.hub-game-stat span{color:#c1b0d8}.hub-profile{margin:20px 0}.hub-resume{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:14px;border:1px solid #6b4c98;border-radius:14px;margin:15px 0;background:#211331}.hub-resume .btn{font-size:13px}.hub-error-row{display:flex;justify-content:space-between;gap:10px;padding:12px;background:#21142c;margin:8px 0;border-radius:10px;font-size:13px;overflow-wrap:anywhere}
#hubAdminExtra label{display:grid;gap:5px;font-size:13px;margin:8px 0}#hubAdminExtra label:has(input[type=checkbox]){display:flex;align-items:center}#hubAdminExtra form{display:grid;gap:8px}.hub-reward-row{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:8px}.hub-support-log{max-height:350px;overflow:auto;min-height:90px}.hub-support-log .cm small,.chat .cm small{display:block;color:#ab9abd;font-size:10px;margin-bottom:5px}.chat .cm{white-space:normal;overflow-wrap:anywhere}.chat .chat-q{gap:6px;flex-wrap:wrap}.chat .chat-q select{min-width:0;max-width:100%;width:100%;padding:8px;background:#1c1330;border:1px solid #51406b;border-radius:8px;color:#e9dfff;font:inherit}.chat .chat-m{min-height:140px}.chat{max-height:min(680px,calc(100dvh - 90px));display:flex;flex-direction:column}.chat[hidden]{display:none}.chat .chat-m{overflow:auto;flex:1}.chat .chat-i{flex:none}.chat .chat-h small{white-space:normal}
.qp-fair{margin-top:12px;min-width:0}.qp-fair small{display:block;font-size:11px;color:#aac9d6}.qp-fair code{display:block;font-size:10px;word-break:break-all;color:#7be3c3;margin-top:5px}.hub-dialog button,.chat button{touch-action:manipulation}
@container(min-width:900px){.quick-poker{grid-template-areas:'head head' 'pay outcome' 'pay hand' 'pay controls' 'fair fair' 'rules rules';grid-template-rows:auto auto minmax(0,1fr) auto auto auto}.qp-fair{grid-area:fair;margin-top:4px}}
@media(max-width:700px){.hub-dialog{padding:12px}.hub-columns{grid-template-columns:1fr}.hub-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hub-kpis>div{padding:12px}.hub-heading h2{font-size:22px}.hub-tools{gap:8px}.hub-tools label,.hub-tools input:not([type=checkbox]),.hub-tools select{max-width:100%;width:100%}.hub-tools button{min-height:44px}.hub-facts{grid-template-columns:1fr}.hub-table th,.hub-table td{padding:10px 8px}.hub-resume{padding:10px}.hub-resume .btn{width:100%;min-height:44px}.hub-game-stat{flex-wrap:wrap}.chat{max-height:calc(100dvh - 100px)}.hub-reward-row{gap:5px}}
