/* G164 W084 member charge/refund + approval alert */
.br163-money-grid{align-items:stretch}.br163-member-money{min-width:0}.br163-member-list{width:100%;min-height:210px;max-height:300px;padding:6px;background:#021323;color:#d8f7ff;border:1px solid #1f6884;border-radius:6px;overflow:auto}.br163-member-list option{padding:6px 8px;border-bottom:1px solid #12384b}.br163-member-list option:checked{background:#075c72;color:#fff}.br163-member-summary{margin:6px 0 10px;color:#7fe8c8;font-size:12px}.br163-request-actions{display:flex;gap:6px;flex-wrap:wrap}.br163-request-member{display:flex;gap:4px;align-items:center;white-space:nowrap}.br163-seed-alert{position:fixed;z-index:24000;left:50%;top:54px;transform:translateX(-50%);width:min(720px,calc(100vw - 36px));padding:10px 12px;border:1px solid #f0ae2b;border-radius:10px;background:linear-gradient(180deg,#092438f5,#031420f7);box-shadow:0 18px 55px #000b,0 0 22px #ffb31f33;color:#eafaff;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center}.br163-seed-alert-head{grid-column:1;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.br163-seed-alert-head strong{color:#ffc34d;font-size:15px}.br163-seed-alert-head span{color:#89dff2;font-size:12px}.br163-seed-alert-info{grid-column:1;display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px}.br163-seed-alert-info b{color:#fff}.br163-seed-alert-info span{color:#b8dbe7}.br163-seed-alert-actions{grid-column:2;grid-row:1/3;display:flex;gap:6px;align-items:center}.br163-seed-alert-actions button{white-space:nowrap;min-height:34px}.br163-seed-alert-actions button.primary{background:#0a8f77;border-color:#43d9b7;color:#fff}@media(max-width:900px){.br163-seed-alert{grid-template-columns:1fr;top:48px}.br163-seed-alert-actions{grid-column:1;grid-row:auto;justify-content:flex-end}.br163-member-list{min-height:170px}}


/* G165 W085 - full-width member money lists and top controls */
.br165-money-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;width:100%!important;align-items:stretch!important}
.br165-member-money{width:100%!important;max-width:none!important;min-width:0!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:14px!important}
.br165-member-money>h2{margin:0!important}
.br165-money-controls{display:grid!important;grid-template-columns:minmax(150px,.75fr) minmax(250px,1.3fr) auto!important;gap:10px!important;align-items:end!important;width:100%!important}
.br165-money-controls label{margin:0!important;min-width:0!important}
.br165-money-controls input,.br165-money-controls select{width:100%!important;min-width:0!important;box-sizing:border-box!important}
.br165-money-controls label:nth-child(2){display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
.br165-money-controls button{height:38px!important;min-width:150px!important;align-self:end!important;white-space:nowrap!important}
.br165-member-list-label{display:block!important;width:100%!important;margin:0!important}
.br165-member-list{display:block!important;width:100%!important;max-width:none!important;min-height:290px!important;max-height:420px!important;box-sizing:border-box!important;overflow:auto!important}
.br165-member-list option{white-space:nowrap!important;padding:7px 10px!important}
.br165-member-summary{min-height:18px!important;margin:0!important;color:#7fe8c8!important}
@media(max-width:1000px){.br165-money-controls{grid-template-columns:1fr 1fr!important}.br165-money-controls button{grid-column:1/-1;width:100%!important}.br165-member-list{min-height:230px!important}}


/* G167 W087 unified member seed table + one-line member management actions */
.br166-member-money{width:100%;overflow:auto;border:1px solid #28536d;border-radius:8px;background:#061827;padding:10px;box-sizing:border-box}
.br166-member-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:920px}
.br166-member-table th,.br166-member-table td{border-bottom:1px solid #24445a;border-right:1px solid #17384e;padding:10px 12px;text-align:left;vertical-align:middle}
.br166-member-table th:last-child,.br166-member-table td:last-child{border-right:0}.br166-member-table th{color:#7eeaff;background:#0b2638;font-size:13px}.br166-member-table td{color:#e8f7ff;font-size:13px}.br166-member-table th:nth-child(1){width:24%}.br166-member-table th:nth-child(2){width:14%}.br166-member-table th:nth-child(3){width:17%}.br166-member-table th:nth-child(4){width:15%}.br166-member-table th:nth-child(5){width:14%}.br166-member-table th:nth-child(6){width:16%}
.br166-money-amount,.br166-money-note{width:100%;min-width:110px}.br166-money-actions{display:flex;gap:6px;white-space:nowrap}.br166-money-actions button{min-width:58px}
.br134-manage-actions{display:flex!important;flex-wrap:nowrap!important;gap:5px!important;align-items:center!important;white-space:nowrap!important}.br134-edit-actions{display:contents!important}.br134-manage-actions button{white-space:nowrap!important;min-width:auto!important;padding:6px 8px!important}

/* G173 W093 tournament admin + game records */
.br173-jackpot-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:10px 0 16px}.br173-jackpot-grid article{border:1px solid #285b73;border-radius:8px;padding:11px 12px;background:#071a29}.br173-jackpot-grid small{display:block;color:#7de9ff;font-size:11px}.br173-jackpot-grid b{display:block;margin-top:5px;color:#ffca59;font-size:19px}.br173-tour-settings{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px;padding:14px;border:1px solid #27566d;border-radius:9px;background:#061725;margin:12px 0 18px}.br173-tour-settings h2,.br173-tour-settings p{grid-column:1/-1}.br173-tour-settings label{display:grid;gap:6px;font-size:12px;color:#9cdaec}.br173-tour-settings input,.br173-tour-settings select{width:100%;box-sizing:border-box}.br173-tour-settings button{align-self:end}@media(max-width:1100px){.br173-jackpot-grid{grid-template-columns:repeat(2,1fr)}.br173-tour-settings{grid-template-columns:repeat(2,1fr)}}

/* G174 W094 tournament free-seed display */
.br173-jackpot-grid article span{display:block;margin-top:5px;color:#70e8cc;font-size:12px;font-weight:800}


/* G176 W096 tournament rounds, winner popup, compact game-record filters */
.br176-event-list{display:grid;gap:12px}.br176-event-card{border:1px solid #285b73;border-radius:10px;background:#061725;padding:12px}.br176-event-top{display:grid;grid-template-columns:minmax(180px,1fr) minmax(160px,.8fr) minmax(160px,.8fr) auto;gap:10px;align-items:center;color:#dff8ff}.br176-event-top strong{color:#74e9d0;font-size:15px}.br176-event-top b{color:#ffc35b}.br176-round-grid{display:grid;grid-template-columns:repeat(10,minmax(72px,1fr));gap:6px;margin-top:10px;overflow:auto}.br176-round{min-width:72px;border:1px solid #28536d;border-radius:7px;padding:7px 5px;text-align:center;background:#071b29}.br176-round b,.br176-round small,.br176-round span{display:block}.br176-round b{color:#8ceaff;font-size:12px}.br176-round small{color:#c9dce5;font-size:10px;margin:3px 0}.br176-round span{font-size:10px}.br176-round.done{border-color:#48b995}.br176-round.done span{color:#67e8bd}.br176-round.live{border-color:#ffbd45;box-shadow:0 0 14px #ffb12c33}.br176-round.live span{color:#ffc75f}.br176-round.wait{opacity:.72}.br176-winner-dialog{width:min(720px,88vw);border:1px solid #3a7692;border-radius:12px;background:#061522;color:#e8f8ff;padding:0}.br176-winner-dialog::backdrop{background:#000a}.br176-winner-box{padding:16px}.br176-winner-box header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.br176-winner-box header button{min-width:38px}.br176-winner-box table{width:100%;border-collapse:collapse}.br176-winner-box th,.br176-winner-box td{padding:9px;border-bottom:1px solid #23485d;text-align:left}.br176-record-filters{display:grid;grid-template-columns:180px 180px auto;gap:10px;align-items:end;max-width:520px}.br176-record-filters label{display:grid;gap:5px;font-size:11px;color:#8fd9ea}.br176-record-filters button{height:38px;min-width:90px}.br176-round-count{color:#ffb344;font-weight:900}.br176-total{color:#ffd574}.br176-pager{display:flex;gap:10px;justify-content:center;align-items:center;margin:12px 0}@media(max-width:1100px){.br176-event-top{grid-template-columns:1fr 1fr}.br176-round-grid{grid-template-columns:repeat(5,minmax(72px,1fr))}}

/* G177 W097 - game record layout only */
#cards.br177-record-cards{display:grid!important;grid-template-columns:repeat(11,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important}
#cards.br177-record-cards>.card{min-width:0!important;min-height:96px!important;padding:12px 14px!important;box-sizing:border-box!important;overflow:visible!important}
#cards.br177-record-cards>.card:nth-child(-n+5){grid-column:span 2!important}
#cards.br177-record-cards>.card:nth-child(6){grid-column:span 1!important;padding-left:9px!important;padding-right:9px!important}
#cards.br177-record-cards>.card:nth-child(7),#cards.br177-record-cards>.card:nth-child(8),#cards.br177-record-cards>.card:nth-child(9){grid-column:span 3!important}
#cards.br177-record-cards>.card:nth-child(10){grid-column:span 2!important}
#cards.br177-record-cards>.card strong{white-space:nowrap!important;font-size:clamp(15px,1.35vw,24px)!important;line-height:1.15!important;letter-spacing:-.45px!important}
#cards.br177-record-cards>.card:nth-child(6) strong,#cards.br177-record-cards>.card:nth-child(10) strong{font-size:18px!important}
.br177-record-filters{display:grid!important;grid-template-columns:150px 105px 150px 105px auto!important;gap:8px!important;align-items:end!important;max-width:650px!important;margin:4px 0 10px!important}
.br177-record-filters label{display:grid!important;gap:5px!important;font-size:11px!important;color:#8fd9ea!important}.br177-record-filters input{width:100%!important;box-sizing:border-box!important}.br177-record-filters button{height:38px!important;min-width:96px!important}
.br177-record-note{display:flex!important;gap:7px!important;align-items:center!important;flex-wrap:wrap!important}.br177-round-count{color:#ffad42!important;font-weight:900!important}.br177-total{color:#ffd36f!important;font-weight:900!important}
.br177-round-groups{display:grid!important;gap:14px!important;margin-top:8px!important}.br177-round-box{border:1px solid #2c617a!important;border-radius:9px!important;background:#061624!important;padding:10px!important;overflow:auto!important}.br177-round-head{display:flex!important;align-items:center!important;gap:14px!important;padding:3px 4px 10px!important;border-bottom:1px solid #23495d!important}.br177-round-head strong{font-size:17px!important}.br177-round-head span{color:#b8d9e7!important;font-size:12px!important}.br177-round-box .table-wrap{margin-top:9px!important}.br177-round-box table{min-width:1000px!important}
@media(max-width:1150px){#cards.br177-record-cards{grid-template-columns:repeat(6,minmax(0,1fr))!important}#cards.br177-record-cards>.card{grid-column:span 2!important}#cards.br177-record-cards>.card:nth-child(6),#cards.br177-record-cards>.card:nth-child(10){grid-column:span 1!important}.br177-record-filters{grid-template-columns:1fr 1fr!important;max-width:none!important}.br177-record-filters button{grid-column:1/-1!important}}

/* G177 W097 - AI store/control stability and compact member rows */
.br177-ai-idline{display:flex!important;align-items:center!important;gap:5px!important;white-space:nowrap!important;min-width:0!important;font-size:11px!important}.br177-ai-idline .br-id-link{padding:4px 6px!important;min-width:0!important;font-size:11px!important}.br177-ai-wl{display:inline-flex!important;gap:4px!important;white-space:nowrap!important}.br177-ai-actions{display:flex!important;flex-wrap:nowrap!important;gap:5px!important;justify-content:center!important;align-items:center!important;white-space:nowrap!important}.br177-ai-actions button{font-size:10px!important;padding:5px 7px!important;min-width:60px!important;min-height:28px!important;white-space:nowrap!important}.br-ai .br-table table{table-layout:auto!important}.br-ai .br-table th,.br-ai .br-table td{vertical-align:middle!important;white-space:nowrap!important}.br177-ai-day-filter{display:flex!important;align-items:end!important;gap:8px!important;margin:8px 0 12px!important}.br177-ai-day-filter label{display:grid!important;gap:5px!important}.br177-ai-day-filter input{width:170px!important}.br177-ai-total{margin-top:10px!important;color:#9bdff0!important;font-weight:800!important}.br177-ai-settlement .br-table{overflow:auto!important}

/* G177 W097 - tournament admin: unlimited participants, 10 separate rounds */
.br176-event-card{overflow:hidden!important}.br176-round-grid{grid-template-columns:repeat(10,minmax(76px,1fr))!important}.br176-event-top button{white-space:nowrap!important}.br176-event-top b{white-space:nowrap!important}

/* G178 W098: requested AI layout and compact winner dialog */
.br178-room-picker{display:grid;gap:8px;margin:8px 0 12px}.br178-room-picker>strong{font-size:16px;color:#e7f8ff}.br178-room-picker .br-room-buttons{display:flex;flex-wrap:wrap;gap:8px}.br178-room-picker .br-room-buttons button{min-width:115px}
.br177-ai-settlement .br-table{overflow-x:visible!important}.br177-ai-settlement table{width:100%!important;min-width:0!important;table-layout:fixed!important}.br177-ai-settlement th,.br177-ai-settlement td{font-size:clamp(9px,.75vw,13px)!important;padding:7px 4px!important;white-space:normal!important;overflow-wrap:anywhere!important}.br177-ai-settlement th:first-child,.br177-ai-settlement td:first-child{width:5%!important}
.br178-ai-total-box{margin-top:15px;padding:14px 16px;border:1px solid #3a718a;border-radius:10px;background:#0b2234}.br178-ai-total-box>strong{display:block;font-size:16px;color:#9ceafb}.br178-ai-total-box .br177-ai-total{margin:8px 0 0!important;line-height:1.6}
.br176-winner-dialog{width:min(1050px,calc(100vw - 28px))!important;max-width:none!important;max-height:calc(100vh - 24px)!important;box-sizing:border-box!important}.br176-winner-box{padding:12px 18px!important}.br176-winner-box header{margin-bottom:4px!important}.br176-winner-box p{margin:3px 0 8px!important}.br176-winner-box th,.br176-winner-box td{padding:5px 8px!important;line-height:1.25!important;font-size:clamp(12px,.9vw,15px)!important}

/* G181 W101: current tournament only; grouped past results */
.br181-history-dialog{width:min(1120px,calc(100vw - 28px));max-height:calc(100vh - 28px);box-sizing:border-box;border:1px solid #39738b;border-radius:10px;background:#091824;color:#e8f8ff;padding:0}
.br181-history-dialog::backdrop{background:#000a}.br181-history-content{padding:15px;max-height:calc(100vh - 60px);overflow-y:auto;overflow-x:hidden}.br181-history-content>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.br181-history-group{border:1px solid #315d75;border-radius:9px;padding:12px;margin:10px 0}.br181-history-group h3{margin:0 0 10px;color:#96ead9}.br181-event-card{min-width:0}
