.game-module {--game-blue:#315e99;min-width:0;color:#20344b}
.game-module section,.game-profile {border-color:#dce5ef}
.game-module .primary {background:#315e99;color:white;border-color:#315e99}
.game-module fieldset {border:0;min-width:0;margin:12px 0 0;padding:0}
.game-module textarea {display:block;width:100%;min-height:120px;margin:8px 0 14px;font:13px/1.5 monospace}
.game-module label,.game-module select {max-width:100%}
.game-module details {padding:9px 0;border-bottom:1px solid #e2e8ef}
.game-module summary {cursor:pointer;font-variant-numeric:tabular-nums}
.game-module td {font-variant-numeric:tabular-nums;white-space:nowrap}
.game-module td small,.game-module td span {display:block}
.game-module .loss {color:#a4433e}
.game-kpis,.game-charts {display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
.game-kpis {grid-template-columns:repeat(4,minmax(0,1fr))}
.game-kpis>div,.game-charts figure {margin:0;padding:14px;background:#f3f7fc;border-radius:8px}
.game-kpis strong {display:block;font:600 clamp(19px,2.1vw,32px)/1.5 system-ui;font-variant-numeric:tabular-nums}
.game-charts svg {display:block;width:100%}
.game-profile a {color:#315e99}
@media(max-width:850px){.game-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.game-charts{grid-template-columns:1fr}.game-module .tools{flex-wrap:wrap}}
.game-shell .sidebar{background:#233d5b}
.game-shell .sidebar nav button.active{background:#385879}
.game-shell main{background:#f4f7fb}
.game-module h2,.game-module h3{color:#233e5f}
.game-module th{background:#f2f6fb;color:#3b516a}

.game-module .game-user-search,.game-module .game-history{margin-bottom:6px;padding:7px 0;background:transparent;border:0;box-shadow:none}
.game-module .game-history select{max-width:min(52vw,420px)}
.report-filters{padding:12px 0 14px}.report-filters .tools{margin:0}
.game-results .report-headline{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,1.8fr);padding:0;overflow:hidden;border:1px solid #ccdae8;background:white}
.report-outcome{padding:20px 24px;background:#edf3fa}
.report-outcome h2{margin:12px 0 0;font-size:15px}
.report-outcome strong{display:block;font-size:clamp(32px,3.2vw,50px);font-weight:650;line-height:1.12;letter-spacing:-.035em}
.report-outcome span,.report-outcome small,.report-headline dl small,.dist-title small{color:#516477}
.report-headline dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:18px;margin:0}
.report-headline dt{color:#516477}.report-headline dd{margin:5px 0;font-size:clamp(20px,1.8vw,30px);font-weight:650;color:#203954}
.report-headline,.dist-block{font-variant-numeric:tabular-nums}
.report-navigation,.report-switch{display:flex;align-items:center;gap:3px}
.report-navigation{border-bottom:1px solid #cbd8e6;margin:8px 0 15px;overflow-x:auto}
.report-navigation button,.report-switch button{border:0;color:#536982;background:transparent;box-shadow:none;white-space:nowrap}
.report-navigation button{padding:11px 14px;border-radius:0;border-bottom:3px solid transparent}
.report-navigation button[aria-pressed=true]{color:#214f89;border-bottom-color:#366caa;font-weight:700}
.report-switch{padding:3px;background:#eef3f8;border-radius:8px}.report-switch button{padding:5px 11px}
.report-switch button[aria-pressed=true]{background:white;color:#204c80;box-shadow:0 1px 3px #1f3e6026}
.dist-title,.dist-side header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.dist-title{margin-bottom:18px}.dist-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.dist-side{min-width:0}.dist-side header{border-top:3px solid;padding:12px 10px 10px;background:#f8f9fb}
.dist-side.debit header{border-color:#ad5a50;background:#fbf5f3}.dist-side.credit header{border-color:#498174;background:#f2f8f6}
.dist-side header h3{margin:0;color:#4c5b68;font-size:13px}.dist-side header b{font-size:clamp(21px,2vw,29px)}
.game-module .debit b,.report-outcome .debit{color:#a8483d}.game-module .credit b,.report-outcome .credit{color:#216b59}
.dist-side table{min-width:0;width:100%;table-layout:fixed}.dist-side th,.dist-side td{padding:9px 5px}
.dist-side th:first-child,.dist-side td:first-child{width:42%;white-space:normal;overflow-wrap:anywhere}
.dist-side th:nth-child(2),.dist-side td:nth-child(2){width:38%}
.dist-side th:not(:first-child),.dist-side td:not(:first-child){text-align:right}
.game-module .report-notes{margin:12px 0;color:#52667b}
.game-module fieldset>label:has(textarea){display:block}
@media(max-width:980px){.dist-grid{grid-template-columns:1fr}.report-headline dl{gap:8px;padding:12px}.game-results .report-headline{grid-template-columns:1fr 1.5fr}}
@media(max-width:700px){.game-results .report-headline{grid-template-columns:1fr}.report-headline dl{grid-template-columns:repeat(3,1fr)}.report-headline dl small{font-size:10px;overflow-wrap:anywhere}.report-navigation button{padding:9px}.dist-title{align-items:flex-start;flex-wrap:wrap}.game-history .tools label{flex-wrap:wrap}.game-module .game-history select{max-width:100%}}
.game-module .game-user-search form.tools{display:flex;flex-flow:row wrap;align-items:center;justify-content:flex-start;max-width:none;width:auto;margin:0}
.game-module .game-user-search form.tools label{display:flex;align-items:center;gap:8px}
.game-module .game-user-search form.tools input{width:145px}
.game-module .game-history .tools{margin:0}
.dist-equation{margin:0 0 15px;color:#53677b;font-variant-numeric:tabular-nums}
.dist-equation b,.dist-equation strong{color:#233e5f}
.game-module .daily-columns{display:grid;grid-template-columns:1.15fr 1fr 1fr 1.15fr minmax(74px,.95fr);align-items:center;gap:10px;text-align:right}
.daily-columns>span:first-child{text-align:left}
.game-module .daily-labels{background:#f2f6fb;color:#4a6178;padding:7px 10px;margin-top:10px;font-size:12px}
.daily-labels>span:last-child{text-align:center}
.game-module .daily-entry{padding:0}
.game-module .daily-entry>summary{padding:11px 10px;list-style:none}
.daily-entry summary::-webkit-details-marker{display:none}
.daily-entry>summary:hover,.daily-entry[open]>summary{background:#f4f8fc}
.daily-date::before{content:'▸';color:#60788f;display:inline-block;margin-right:6px}
.daily-entry[open] .daily-date::before{transform:rotate(90deg)}
.daily-columns small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.daily-loss{color:#a8483d}.daily-profit{color:#216b59}.daily-flat{color:#52667b}
.daily-plot{position:relative;height:16px}
.daily-plot i{position:absolute;left:50%;height:100%;border-left:1px solid #a9b7c6}
.daily-plot b{position:absolute;top:4px;height:8px;border-radius:2px;min-width:1px}
.daily-plot .negative{right:50%;background:#bd675e}.daily-plot .positive{left:50%;background:#4a8878}
@media(max-width:720px){
 .game-module .daily-labels{display:none}
 .game-module .daily-entry>summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"day net" "bet payout" "plot plot";gap:3px 8px}
 .daily-date{grid-area:day}.daily-net{grid-area:net}.daily-bet{grid-area:bet;text-align:left}.daily-payout{grid-area:payout}
 .daily-bet,.daily-payout{color:#50647a;font-size:12px}
 .daily-columns small{position:static;width:auto;height:auto;clip-path:none}
 .daily-plot{grid-area:plot;height:10px}.daily-plot b{top:3px;height:4px}
}
.stake-counts{display:grid;gap:6px;line-height:1.55}
.stake-counts b{font-weight:600;color:#263e58}
.game-module .stake-counts small{color:#516477;white-space:normal}
.game-module .stake-counts details{border:0;padding:0;white-space:normal}
.user-workspace{background:#f4f7fb;color:#203954}
.user-workspace .top,.user-workspace #title,.user-workspace #subtitle{display:none}
.user-workspace .shell{min-height:100vh;grid-template-columns:218px minmax(0,1fr)}
.user-workspace aside{background:#233d5b;color:white;justify-content:flex-start;border:none}
.crm-brand{display:flex;align-items:center;gap:10px;margin:0 9px 28px}.crm-brand>b{border:1px solid #a0b8aa;border-radius:6px;padding:5px 8px;font-size:23px}.crm-brand strong,.crm-brand span{display:block}.crm-brand strong{font-size:19px}.crm-brand small{font-size:12px}.crm-brand span{font-size:12px;color:#bfd6d4;margin-top:5px}
.user-workspace aside nav button{color:#d6e8ed;background:transparent}.user-workspace aside nav button.active,.user-workspace aside nav button:hover{background:#385879;color:white}.user-workspace .aside-foot{margin-top:auto;color:#c2d5df}.user-workspace .aside-foot strong{color:white}
.user-workspace main{padding:12px clamp(16px,2.4vw,36px) 44px}
#switch-user,#user-history-bar,.game-module .tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 15px}
#switch-user input{width:145px}#switch-user label{text-align:center}#user-history-bar label,.game-module .tools label{display:flex;align-items:center;gap:8px}#user-history-bar select{max-width:min(55vw,500px)}.user-workspace .primary{background:#315e99;border-color:#315e99}
.game-module .game-results>section{border:1px solid #dce5ef;background:white;border-radius:12px;padding:20px;margin:0 0 16px}.game-module .game-results>.report-headline{padding:0}.game-module .table-scroll{overflow:auto}.game-module h2{font-size:18px}.game-module small{font-size:12px}.game-module .report-navigation{justify-content:flex-start}.game-module th,.game-module td{font-size:13px;padding:10px 6px}.game-module .report-outcome small,.game-module .report-headline small{display:block}.game-module .dist-side td{white-space:normal;overflow-wrap:anywhere}.game-module .daily-loss{color:#a8483d}.game-module .daily-profit{color:#216b59}
@media(max-width:690px){.user-workspace .shell{display:block}.user-workspace .crm-brand{margin:6px 10px}.user-workspace aside nav{justify-content:flex-start}.user-workspace main{padding:16px 10px}.game-module .report-navigation{justify-content:flex-start}.game-module .report-headline dl{min-width:0}.game-module .game-results>section{padding:12px}.game-module .game-results>.report-headline{padding:0}}

.game-results > label:has(> input[type="checkbox"]){
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  margin-bottom:8px;
  cursor:pointer;
}
.game-results > label > input[type="checkbox"]{
  flex:none;
  width:16px;
  height:16px;
  min-height:0;
  margin:0;
  padding:0;
  accent-color:#315e99;
}
