*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#f3f5fa;color:#172033}.wrap{max-width:560px;margin:auto;padding:14px 14px 94px}.top{position:sticky;top:0;background:rgba(255,255,255,.96);z-index:10;border-bottom:1px solid #e7eaf1}.top .wrap{padding:11px 14px;display:flex;align-items:center;justify-content:space-between}.brand{font-weight:900;font-size:20px}.tiny,.muted{color:#6d778c;font-size:12px}.pill{background:#eef2ff;padding:8px 12px;border-radius:999px;font-weight:900}.card{background:#fff;border:1px solid #e5e8ef;border-radius:20px;padding:16px;margin:12px 0;box-shadow:0 8px 26px rgba(20,35,70,.055)}h1,h2,h3{margin:4px 0 12px}.round{display:flex;justify-content:space-between;gap:10px;align-items:center}.status{font-size:12px;font-weight:900;padding:6px 9px;border-radius:999px}.open{color:#087f5b;background:#e8fff5}.closed{color:#c92a2a;background:#fff0f0}.grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:14px 0}.num{border:1px solid #dfe3ed;background:#fff;border-radius:14px;padding:13px 0;text-align:center;font-weight:900;font-size:15px;cursor:pointer}.num.sel{background:#172033;color:#fff;border-color:#172033;transform:scale(.97)}.field{width:100%;padding:13px;border:1px solid #dfe3ed;border-radius:12px;font-size:15px;background:#fff}.btn,.btnlink{border:0;background:#172033;color:#fff;padding:13px 16px;border-radius:12px;font-weight:900;width:100%;cursor:pointer;text-decoration:none;display:block;text-align:center;margin-top:10px}.btn.danger{background:#c92a2a}.row{display:flex;gap:8px}.row>*{flex:1}.msg{padding:11px 13px;border-radius:12px;background:#e8fff5;color:#087f5b;margin:10px 0}.err{background:#fff0f0;color:#c92a2a}.entry{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef0f5;padding:11px 0}.nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e7eaf1;z-index:20}.navin{max-width:560px;margin:auto;display:flex}.nav a{flex:1;text-align:center;padding:10px 3px;text-decoration:none;color:#7a8497;font-size:11px}.nav a.active{color:#172033;font-weight:900}.nav b{display:block;font-size:18px;margin-bottom:2px}.notice{font-size:12px;background:#fff8db;border:1px solid #ffe58f;padding:10px;border-radius:12px;margin:10px 0}a{color:inherit}.balance-card{background:#172033;color:#fff;padding:18px;border-radius:20px;margin:8px 0 14px}.balance-card span{font-size:12px;opacity:.75}.balance-card strong{display:block;font-size:32px;margin:3px 0 8px}.balance-card a{font-size:13px;font-weight:800}.result-ball{width:56px;height:56px;border-radius:50%;background:#172033;color:#fff;display:grid;place-items:center;font-size:24px;font-weight:900;margin-top:12px}.calc{background:#f4f6fb;border-radius:12px;padding:10px 12px;font-size:13px;margin:10px 0}.mybets{background:#f7f8fb;padding:12px;border-radius:14px;margin:14px 0}.mybets>a{display:flex;justify-content:space-between;padding:8px 0;border-top:1px solid #e7eaf1;text-decoration:none}.choice{border:1px solid #dfe3ed;padding:11px;border-radius:12px;font-size:13px}.tag{font-size:10px;padding:5px 7px;border-radius:999px;background:#eef1f6}.tag.approved,.tag.won{background:#e8fff5;color:#087f5b}.tag.rejected,.tag.lost{background:#fff0f0;color:#c92a2a}.tag.pending{background:#fff8db;color:#9a6700}.positive{color:#087f5b;font-weight:900}.negative{color:#c92a2a;font-weight:900}.right{text-align:right}.avatar{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#172033;color:#fff;font-size:24px;font-weight:900}.balance-line{display:flex;justify-content:space-between;padding:14px 0;border-top:1px solid #edf0f5}.auth-wrap{max-width:430px;margin:7vh auto;padding:18px;text-align:center}.auth-wrap .card{text-align:left}.logo-mark{width:64px;height:64px;border-radius:18px;background:#172033;color:#fff;display:grid;place-items:center;font-size:22px;font-weight:900;margin:0 auto 12px}.center{text-align:center}.admin-shell{max-width:1180px;margin:auto;padding:18px}.admin-head{display:flex;justify-content:space-between;align-items:center}.admin-head span{font-size:12px;color:#6d778c}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.stats>div{background:#fff;border:1px solid #e5e8ef;border-radius:16px;padding:14px}.stats span{display:block;color:#6d778c;font-size:12px}.stats b{font-size:22px}.admin-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:14px}.request-box{border-top:1px solid #edf0f5;padding:13px 0}.request-box form{margin-top:8px}.result-mini{font-weight:900;margin-top:8px}@media(max-width:760px){.stats{grid-template-columns:1fr 1fr}.admin-grid{grid-template-columns:1fr}.admin-shell{padding:12px}.row{flex-wrap:wrap}.row>*{min-width:120px}}@media(max-width:370px){.grid{gap:5px}.num{padding:11px 0}.wrap{padding-left:10px;padding-right:10px}}

/* Alexa Global compact mobile play board */
.play-body{background:#f3f5fa;overflow-x:hidden}.play-top{height:48px;max-width:560px;margin:auto;padding:5px 8px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:5px;background:#fff;border-bottom:1px solid #e7eaf1;position:sticky;top:0;z-index:30}.play-back{width:32px;height:32px;display:grid;place-items:center;text-decoration:none;font-size:30px;line-height:1;font-weight:500}.play-title{min-width:0;line-height:1.05}.play-title b{font-size:14px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.play-title span{font-size:9.5px;color:#6d778c}.play-balance{font-size:11px;font-weight:900;background:#eef2ff;padding:7px 8px;border-radius:999px;white-space:nowrap}.play-shell{width:100%;max-width:560px;margin:auto;padding:6px 7px 12px}.play-summary{height:34px;background:#fff;border:1px solid #e5e8ef;border-radius:10px;padding:4px 7px;display:flex;align-items:center;gap:10px;font-size:9.5px;margin-bottom:5px}.play-summary span{display:flex;align-items:center;gap:3px;color:#6d778c}.play-summary b{color:#172033;font-size:12px}.play-summary .live-dot,.play-summary .lock-dot{margin-left:auto;font-weight:900;font-size:9px;padding:4px 6px;border-radius:999px}.play-summary .live-dot{color:#087f5b;background:#e8fff5}.play-summary .lock-dot{color:#c92a2a;background:#fff0f0}.number-board{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px;width:100%;background:#fff;border:1px solid #e5e8ef;border-radius:12px;padding:5px;box-shadow:0 5px 16px rgba(20,35,70,.04)}.board-num{aspect-ratio:1/1;min-width:0;padding:0;border:1px solid #dfe3ed;border-radius:6px;background:#fff;color:#172033;font-size:clamp(9px,2.8vw,13px);font-weight:900;line-height:1;cursor:pointer;display:grid;place-items:center;-webkit-tap-highlight-color:transparent}.board-num:active{transform:scale(.93)}.board-num.placed{background:#16a36a;color:#fff;border-color:#118b59;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}.board-num:disabled{opacity:.68;cursor:default}.board-legend{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px 3px 0;font-size:9px;color:#6d778c}.board-legend span{display:flex;align-items:center;gap:4px}.legend-green{width:9px;height:9px;border-radius:3px;background:#16a36a;display:inline-block}.play-msg{font-size:10.5px;padding:7px 9px;border-radius:9px;margin-bottom:5px;transition:.25s}.play-msg.ok{background:#e8fff5;color:#087f5b}.play-msg.bad{background:#fff0f0;color:#c92a2a}.play-msg.hide{opacity:0;height:0;padding-top:0;padding-bottom:0;margin:0;overflow:hidden}.bet-modal{display:none;position:fixed;inset:0;z-index:100;align-items:flex-end;justify-content:center}.bet-modal.show{display:flex}.modal-scrim{position:absolute;inset:0;border:0;background:rgba(15,23,42,.46);width:100%;height:100%;padding:0}.bet-sheet{position:relative;width:min(100%,560px);background:#fff;border-radius:18px 18px 0 0;padding:12px 14px 16px;box-shadow:0 -8px 30px rgba(0,0,0,.15)}.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.sheet-head small{display:block;color:#6d778c;font-size:10px}.sheet-head strong{font-size:24px}.sheet-x{border:0;background:#eef1f6;width:34px;height:34px;border-radius:50%;font-size:24px;line-height:1}.amount-label{display:block;font-size:11px;font-weight:800;margin-bottom:6px}.preset-row{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-bottom:7px}.preset{border:1px solid #dfe3ed;background:#f7f8fb;border-radius:9px;padding:9px 2px;font-weight:900;color:#172033}.modal-amount{width:100%;border:2px solid #dfe3ed;border-radius:11px;padding:11px 12px;font-size:18px;font-weight:900;outline:none}.modal-amount:focus{border-color:#172033}.sheet-note{font-size:10px;color:#6d778c;margin-top:6px;min-height:26px}.sheet-save{margin-top:7px}.play-body .btn{padding:12px}
@media(max-width:370px){.play-shell{padding-left:4px;padding-right:4px}.number-board{gap:2px;padding:4px;border-radius:9px}.board-num{border-radius:4px;font-size:9px}.play-summary{gap:6px;padding-left:5px;padding-right:5px}.board-legend{font-size:8px}.play-top{padding-left:4px;padding-right:4px}.play-balance{font-size:10px;padding:6px}.play-title b{font-size:13px}}
@media(min-width:561px){.board-num{font-size:14px}.number-board{gap:5px;padding:7px}.play-shell{padding-top:9px}}

/* Compact countdown + placed bets + quick manage popup */
.countdown-bar{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:5px}.count-chip{min-width:0;background:#172033;color:#fff;border-radius:9px;padding:6px 8px;display:flex;align-items:center;justify-content:space-between;gap:6px}.count-chip.result{background:#30394d}.count-chip span{font-size:8.5px;opacity:.75;white-space:nowrap}.count-chip b{font-size:12px;letter-spacing:.3px;white-space:nowrap}.count-chip.ended{background:#697386}.placed-section{margin-top:7px;background:#fff;border:1px solid #e5e8ef;border-radius:11px;padding:7px}.placed-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}.placed-head b{font-size:11px}.placed-head span{font-size:8.5px;color:#6d778c}.placed-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.placed-box{min-width:0;border:1px solid #bfe8d3;background:#edfff5;color:#087f5b;border-radius:7px;padding:5px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;cursor:pointer;-webkit-tap-highlight-color:transparent}.placed-box strong{font-size:10px;line-height:1}.placed-box span{font-size:8.5px;font-weight:900;line-height:1.1;max-width:100%;overflow:hidden;text-overflow:ellipsis}.placed-box:disabled{opacity:.72}.mini-sheet{width:min(calc(100% - 24px),360px);border-radius:15px;padding:10px 11px 12px;margin:auto;align-self:center}.bet-modal{align-items:center}.sheet-head.compact{margin-bottom:7px}.sheet-head.compact strong{font-size:19px}.sheet-head.compact .sheet-x{width:29px;height:29px;font-size:20px}.popup-pane[hidden]{display:none!important}.compact-presets{gap:4px;margin-bottom:5px}.compact-presets .preset{padding:7px 1px;border-radius:7px;font-size:11px}.compact-amount{padding:8px 10px;font-size:15px;border-radius:9px}.compact-save{padding:9px!important;margin-top:6px!important;font-size:12px}.manage-current{text-align:center;background:#f5f7fb;border-radius:9px;padding:7px;margin-bottom:7px}.manage-current span,.manage-current small{font-size:8.5px;color:#6d778c}.manage-current b{display:block;font-size:22px;line-height:1.05}.manage-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px}.quick-form{margin:0}.quick-action{width:100%;height:48px;border:0;border-radius:9px;font-size:22px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:3px;cursor:pointer}.quick-action small{font-size:9px;font-weight:900}.quick-action.minus{background:#fff4e6;color:#b75b00}.quick-action.plus{background:#e8fff5;color:#087f5b}.quick-action.remove{background:#fff0f0;color:#c92a2a}.manage-note{text-align:center;color:#6d778c;font-size:8.5px;margin-top:6px}@media(max-width:370px){.count-chip{padding:5px 6px}.count-chip span{font-size:7.5px}.count-chip b{font-size:10.5px}.placed-grid{gap:3px}.placed-box{padding:4px 1px}.mini-sheet{width:calc(100% - 16px)}}

/* Compact v3 bet cards + unified manage UI */
.countdown-bar.compact-one-row{display:flex;align-items:center;justify-content:center;gap:8px;background:#172033;color:#fff;border-radius:8px;padding:5px 9px;margin-bottom:5px;min-height:28px}.compact-one-row .count-item{display:flex;align-items:center;gap:5px;min-width:0}.compact-one-row .count-item span{font-size:8px;opacity:.72;white-space:nowrap}.compact-one-row .count-item b{font-size:10.5px;letter-spacing:.2px;white-space:nowrap}.compact-one-row .count-sep{width:1px;height:13px;background:rgba(255,255,255,.22);flex:0 0 1px}.placed-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.placed-box{background:#16a36a!important;border-color:#118b59!important;color:#fff!important;min-height:29px;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:2px!important;padding:5px 4px!important}.placed-box strong{font-size:11px!important;font-weight:900!important;line-height:1!important}.placed-box span{font-size:9px!important;font-weight:500!important;line-height:1!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap}.manage-current-line{display:flex;align-items:center;justify-content:space-between;background:#f5f7fb;border:1px solid #e5e8ef;border-radius:9px;padding:8px 10px;margin-bottom:7px}.manage-current-line span{font-size:10px;color:#6d778c;font-weight:700}.manage-current-line b{font-size:17px;color:#172033}.manage-current-line em{font-style:normal}.adjust-row{display:grid;grid-template-columns:43px 1fr 43px;gap:6px;align-items:stretch}.adjust-btn{border:0;border-radius:9px;font-size:24px;font-weight:900;min-height:48px}.adjust-btn.minus{background:#fff4e6;color:#b75b00}.adjust-btn.plus{background:#e8fff5;color:#087f5b}.adjust-amount{border:2px solid #dfe3ed;border-radius:9px;padding:4px 8px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;align-items:center;column-gap:3px;min-width:0}.adjust-amount small{grid-column:1/3;font-size:7.5px;color:#6d778c;line-height:1}.adjust-amount span{font-size:15px;font-weight:900}.adjust-amount input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:17px;font-weight:900;padding:0;color:#172033}.manage-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:5px}.manage-presets button{border:1px solid #dfe3ed;background:#f7f8fb;color:#172033;border-radius:7px;padding:6px 1px;font-size:9px;font-weight:800}.remove-form{margin:6px 0 0}.remove-bet-btn{width:100%;border:1px solid #ffc9c9;background:#fff0f0;color:#c92a2a;border-radius:8px;padding:8px;font-size:10px;font-weight:900}.manage-note{margin-top:5px;font-size:8px}.mini-sheet{padding-bottom:10px}.sheet-head.compact{margin-bottom:6px}@media(max-width:370px){.compact-one-row{gap:6px!important;padding-left:6px!important;padding-right:6px!important}.compact-one-row .count-item{gap:3px}.compact-one-row .count-item span{font-size:7.2px}.compact-one-row .count-item b{font-size:9.5px}.placed-grid{gap:3px}.placed-box strong{font-size:10px!important}.placed-box span{font-size:8px!important}.adjust-row{grid-template-columns:39px 1fr 39px;gap:4px}.adjust-btn{min-height:44px}}

/* Compact v4 — professional edit-only bet management */
.edit-bet-title{font-size:12px;font-weight:900;color:#172033;margin:0 0 7px}.edit-amount-label{display:block;font-size:9px;font-weight:800;color:#6d778c;margin:2px 0 4px}.edit-amount-field{display:flex;align-items:center;border:2px solid #dfe3ed;border-radius:9px;padding:0 10px;background:#fff;min-height:43px}.edit-amount-field:focus-within{border-color:#172033}.edit-amount-field span{font-size:16px;font-weight:900;color:#172033;margin-right:4px}.edit-amount-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:17px;font-weight:900;color:#172033;padding:8px 0}.edit-save{margin-top:7px!important}.remove-bet-btn{background:#fff!important;border:1px solid #ffbcbc!important;color:#c92a2a!important}.manage-note{line-height:1.3}.placed-box,.board-num.placed{background:#16a36a!important;border-color:#118b59!important;color:#fff!important}

/* Compact v5 — one unified bet card for new and existing numbers */
.unified-bet-sheet{width:min(calc(100% - 18px),390px);padding:11px 12px 12px;border-radius:16px}
.unified-head{margin-bottom:8px!important}.unified-head small{font-size:9px}.unified-head strong{font-size:14px!important}
.number-amount-row{display:grid;grid-template-columns:minmax(84px,.75fr) minmax(0,1.7fr);gap:6px;margin-bottom:7px}
.number-field-like,.amount-field-like{min-width:0;border:2px solid #dfe3ed;border-radius:10px;background:#fff;min-height:52px;padding:6px 9px;display:flex;flex-direction:column;justify-content:center}
.number-field-like{background:#f7f8fb}.number-field-like small,.amount-field-like small{font-size:8px;color:#6d778c;font-weight:700;line-height:1;margin-bottom:4px}.number-field-like b{font-size:19px;line-height:1;color:#172033}
.amount-field-like:focus-within{border-color:#172033}.amount-input-line{display:flex;align-items:center;min-width:0;gap:3px}.amount-input-line b{font-size:17px;color:#172033}.amount-input-line input{width:100%;min-width:0;border:0;outline:0;background:transparent;padding:0;font-size:19px;line-height:1.15;font-weight:900;color:#172033}
.rupee-presets{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin-bottom:6px}.rupee-presets .preset{padding:8px 1px!important;font-size:10.5px!important;font-weight:900!important;white-space:nowrap}
.unified-save{margin-top:0!important;font-size:12px!important;padding:10px!important}.unified-remove{margin-top:6px!important}.unified-remove[hidden]{display:none!important}.unified-remove .remove-bet-btn{padding:8px!important;font-size:9.5px!important}
@media(max-width:360px){.number-amount-row{grid-template-columns:78px minmax(0,1fr);gap:4px}.number-field-like,.amount-field-like{padding-left:7px;padding-right:7px;min-height:48px}.number-field-like b,.amount-input-line input{font-size:17px}.amount-input-line b{font-size:15px}.rupee-presets{gap:3px}.rupee-presets .preset{font-size:9.5px!important;padding:7px 0!important}}


/* v6: keep unified bet popup as bottom sheet + improve number readability */
.bet-modal{align-items:flex-end!important;}
.bet-sheet,
.mini-sheet{
  align-self:flex-end!important;
  margin:0 auto!important;
  width:min(100%,560px)!important;
  border-radius:20px 20px 0 0!important;
  padding-bottom:max(14px,env(safe-area-inset-bottom))!important;
}
.board-num{
  font-size:clamp(12px,3.6vw,16px)!important;
  font-weight:900!important;
}
@media(max-width:360px){
  .board-num{font-size:clamp(11px,3.45vw,14px)!important;}
}


/* v8 mobile layout: upper play area fixed; only placed bets scroll */
.play-body{
  height:100dvh;
  overflow:hidden!important;
}
.play-top{
  position:relative!important;
  top:auto!important;
  flex:0 0 auto;
}
.play-shell{
  height:calc(100dvh - 48px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding-bottom:6px!important;
  min-height:0;
}
.countdown-bar,
.number-board,
.board-legend,
.play-msg{
  flex:0 0 auto;
}
.placed-section{
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  margin-top:5px!important;
}
.placed-head{
  flex:0 0 auto;
}
.placed-grid{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  align-content:start;
  padding-right:2px;
}
.placed-box strong,
.placed-box span,
.placed-box span b{
  font-weight:900!important;
}
.placed-box span{
  font-size:9.5px!important;
}
.compact-one-row .bet-close-status{
  min-width:74px;
  justify-content:center;
}
.compact-one-row .bet-close-status b{
  font-size:11px!important;
}
@supports not (height:100dvh){
  .play-body{height:100vh}
  .play-shell{height:calc(100vh - 48px)}
}

/* v10 sessions/history/admin */
.today-title{display:flex;align-items:center;justify-content:space-between;margin:10px 0 8px}
.today-title div{display:flex;flex-direction:column}.today-title b{font-size:16px}.today-title span{font-size:11px;color:#7b8496}
.history-shortcut{font-size:11px;font-weight:800;text-decoration:none}
.session-card{padding:12px!important}.session-main{min-width:0}.session-times{display:flex;gap:8px;flex-wrap:wrap;margin-top:5px;font-size:10px;color:#7b8496}
.session-status{font-size:9px!important;white-space:nowrap}.session-status.upcoming{background:#eef1f7;color:#596274}.session-status.resulted{background:#ebe8ff;color:#5d4ccc}
.session-result-line{display:flex;justify-content:space-between;align-items:center;margin:9px 0;padding:8px 10px;border-radius:10px;background:#f3f6fb}.session-result-line b{font-size:18px}
.session-open-link{margin-top:8px}
.closed-result-strip{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:9px;background:#eefaf3;font-size:11px}.closed-result-strip b{font-size:16px}.closed-result-strip strong{margin-left:auto}.closed-result-strip.pending{background:#f4f5f8}
.board-num.result-number{outline:2px solid #6b59d3;outline-offset:-2px}
.read-only-note{background:#f5f6f8!important;color:#687084!important;border-color:#e2e5ea!important}
.placed-box.won em,.history-bet-chip.won em{font-style:normal;font-size:9px;font-weight:900;margin-left:3px}
.history-wrap{padding-bottom:80px}.calendar-bar{display:grid;grid-template-columns:42px 1fr 42px;gap:8px;align-items:end;margin:10px 0}
.calendar-arrow{height:42px;display:grid;place-items:center;border:1px solid #e0e4eb;border-radius:12px;text-decoration:none;font-size:28px;font-weight:700}
.calendar-form label{display:block;font-size:10px;font-weight:800;color:#737c8f;margin-bottom:4px}.calendar-form input{width:100%;height:42px;border:1px solid #e0e4eb;border-radius:12px;padding:0 10px;font-size:14px;background:#fff}
.history-day-summary{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:7px;margin-bottom:9px}.history-day-summary div{background:#fff;border:1px solid #e4e6ec;border-radius:12px;padding:9px}.history-day-summary span{display:block;font-size:9px;color:#7c8596}.history-day-summary b{font-size:12px}
.history-session-card{background:#fff;border:1px solid #e1e4ea;border-radius:14px;padding:10px;margin-bottom:9px}.history-session-head{display:flex;justify-content:space-between;gap:10px}.history-session-head>div:first-child{display:flex;flex-direction:column}.history-session-head span{font-size:10px;color:#788195}.history-result{text-align:right}.history-result b{display:block;font-size:17px}
.history-totals{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:6px;align-items:center;margin:8px 0}.history-totals span{background:#f6f7f9;border-radius:9px;padding:6px}.history-totals small{display:block;font-size:8px;color:#7d8695}.history-totals b{font-size:11px}.history-totals a{font-size:9px;font-weight:900;text-decoration:none}
.history-bet-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.history-bet-chip{display:flex;align-items:center;justify-content:center;gap:2px;padding:8px 4px;border-radius:9px;background:#edf9f2;border:1px solid #bde8cf;font-size:10px}.history-bet-chip strong{font-size:12px}.history-bet-chip span{font-weight:800}
.history-bet-chip.won{background:#dff7e8}.history-bet-chip.lost{background:#f4f5f7;border-color:#e1e3e8}
.history-no-bets,.empty-history{font-size:11px;color:#7a8395;padding:12px}
.admin-session-title{display:flex;justify-content:space-between;align-items:end;gap:10px}.admin-session-title h3{margin:0}.admin-session-title p{margin:2px 0 0;font-size:11px;color:#7a8395}.admin-date{max-width:150px}
.admin-session-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}.admin-session-box{border:1px solid #e1e4ea;border-radius:12px;padding:10px}.admin-session-no{font-size:10px;font-weight:900;margin-bottom:7px}
.admin-session-box label{display:block;font-size:10px;font-weight:800;margin-bottom:7px}.admin-time-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.admin-time-grid label{margin:0}.admin-save-session{width:100%;margin-top:7px}.admin-result-area{margin-top:9px;padding-top:9px;border-top:1px solid #eceef2}.admin-result-form{display:flex;gap:6px}.auto-result-note{padding:7px;border-radius:8px;background:#f3f6fb}
@media(max-width:760px){.admin-session-grid{grid-template-columns:1fr}.admin-time-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:360px){.history-bet-grid{grid-template-columns:repeat(3,1fr)}.history-totals{grid-template-columns:repeat(3,1fr)}.history-totals a{grid-column:1/-1;text-align:right}}

/* v11 admin control panel */
.admin-nav{display:flex;gap:6px;overflow-x:auto;padding:8px 0 12px;white-space:nowrap}.admin-nav a{padding:8px 11px;border:1px solid #e2e5eb;border-radius:10px;text-decoration:none;font-size:11px;font-weight:800;background:#fff}.admin-nav a.active{background:#172033;color:#fff;border-color:#172033}
.admin-filter-card{padding:9px!important}.admin-filter-row{display:flex;gap:7px;align-items:end;flex-wrap:wrap}.admin-filter-row .field{min-width:140px}.admin-filter-row label{font-size:9px;font-weight:800}
.admin-user-list{display:grid;gap:8px}.admin-user-card{background:#fff;border:1px solid #e2e5eb;border-radius:13px;padding:10px}.admin-user-head{display:flex;justify-content:space-between;gap:10px}.admin-user-head>div{display:flex;flex-direction:column}.admin-user-head span{font-size:10px;color:#7a8394}.admin-user-head strong{font-size:13px;text-align:right}.admin-user-head em{font-style:normal;font-size:8px;font-weight:900;text-align:right}.admin-user-head em.active{color:#0e9854}.admin-user-head em.blocked{color:#c73636}
.admin-user-stats{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:5px;margin:8px 0}.admin-user-stats span{background:#f5f6f8;border-radius:8px;padding:6px}.admin-user-stats small{display:block;font-size:8px;color:#7a8394}.admin-user-stats b{font-size:10px}.admin-user-stats a{display:flex;align-items:center;font-size:9px;font-weight:900;text-decoration:none}
.admin-user-card details{border-top:1px solid #eceef2;padding-top:7px;margin-top:7px}.admin-user-card summary{font-size:10px;font-weight:900;cursor:pointer}.admin-edit-grid{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:6px;align-items:end;margin-top:7px}.admin-edit-grid label{font-size:9px;font-weight:800}
.admin-table-scroll{overflow:auto}.admin-table{width:100%;border-collapse:collapse;font-size:10px;white-space:nowrap}.admin-table th,.admin-table td{padding:8px;border-bottom:1px solid #eceef2;text-align:left}.admin-table th{font-size:8px;text-transform:uppercase;color:#7a8394}.admin-table td small{display:block;color:#7a8394}.admin-table a{text-decoration:none;font-weight:800}
.admin-credit-card{background:#fff;border:1px solid #e2e5eb;border-radius:12px;padding:10px;margin-bottom:8px}.admin-credit-card>div:first-child{display:flex;flex-direction:column}.admin-credit-card span{font-size:9px;color:#7a8394}.admin-credit-main{display:flex;justify-content:space-between;gap:8px;margin:7px 0}.admin-credit-main em{font-style:normal;font-size:8px;font-weight:900}.admin-credit-main em.pending{color:#a06a00}.admin-credit-main em.approved{color:#098c4d}.admin-credit-main em.rejected{color:#c83636}
@media(max-width:620px){.admin-edit-grid{grid-template-columns:1fr 1fr}.admin-edit-grid .btn{grid-column:1/-1}.admin-user-stats{grid-template-columns:repeat(3,1fr)}.admin-user-stats a{grid-column:1/-1;justify-content:flex-end}.admin-filter-row>*{flex:1 1 140px}.admin-filter-row .btn{flex:0 0 auto}}


/* v12: preset-first mobile amount selection */
.preset.selected{
  outline:2px solid currentColor;
  outline-offset:-2px;
  font-weight:900!important;
}

/* v13 professional analytics dashboard */
.pro-admin{max-width:1400px!important}.pro-admin-head{margin-bottom:0!important}
.dash-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:end;margin:4px 0 8px;flex-wrap:wrap}
.dash-range-tabs{display:flex;gap:5px;overflow-x:auto;white-space:nowrap;padding-bottom:2px}
.dash-range-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 11px;border:1px solid #e0e4eb;border-radius:9px;background:#fff;text-decoration:none;font-size:10px;font-weight:900;color:#596275}
.dash-range-tabs a.active{background:#172033;color:#fff;border-color:#172033}
.dash-custom-range{display:flex;gap:5px;align-items:end;flex-wrap:wrap}.dash-custom-range label{font-size:8px;font-weight:900;color:#727c8e}.dash-custom-range .field{min-width:126px}
.dash-period-label{display:flex;align-items:center;gap:6px;font-size:9px;color:#7c8596;margin-bottom:8px}.dash-period-label b{color:#2d3545}
.pro-stat-grid{display:grid;grid-template-columns:repeat(7,minmax(130px,1fr));gap:7px;margin-bottom:9px}
.pro-stat-grid article{background:#fff;border:1px solid #e2e5eb;border-radius:12px;padding:10px;min-width:0}.pro-stat-grid span{display:block;font-size:9px;font-weight:800;color:#788193}.pro-stat-grid b{display:block;font-size:18px;line-height:1.1;margin:5px 0;overflow:hidden;text-overflow:ellipsis}.pro-stat-grid small{font-size:8px;color:#8b93a1}.pro-stat-grid .positive-card b{color:#07874c}.pro-stat-grid .negative-card b{color:#c53b3b}
.pro-section{padding:11px!important;margin-bottom:9px!important}.pro-section-head{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-bottom:9px}.pro-section-head h3{margin:0;font-size:14px}.pro-section-head p{margin:2px 0 0;font-size:9px;color:#7b8495}.pro-section-head>a{font-size:9px;font-weight:900;text-decoration:none}.date-chip{font-size:9px;font-weight:900;padding:6px 8px;border-radius:8px;background:#f4f5f8}
.today-session-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.session-monitor-card{border:1px solid #e2e5eb;border-radius:12px;padding:9px;background:#fff}.session-monitor-top{display:flex;justify-content:space-between;gap:7px}.session-monitor-top>div{display:flex;flex-direction:column;min-width:0}.session-monitor-top b{font-size:12px}.session-monitor-top span{font-size:8px;color:#7d8595;margin-top:2px}.session-monitor-top em{font-style:normal;font-size:8px;font-weight:900;white-space:nowrap}
.session-monitor-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:8px 0}.session-monitor-metrics span,.number-insights span{background:#f5f6f8;border-radius:8px;padding:6px;min-width:0}.session-monitor-metrics small,.number-insights small{display:block;font-size:7px;color:#7b8495}.session-monitor-metrics b{font-size:10px}
.number-insights{display:grid;grid-template-columns:1fr 1fr;gap:4px}.number-insights b{display:block;font-size:9px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.session-analysis-link{display:block;text-align:right;margin-top:7px;font-size:8px;font-weight:900;text-decoration:none}
.round-picker .field{min-width:150px}.number-analysis-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:7px}.number-analysis-summary>div{border:1px solid #e4e7ed;border-radius:10px;padding:8px}.number-analysis-summary span{font-size:8px;color:#798294}.number-analysis-summary b{display:block;font-size:16px;margin:2px 0}.number-analysis-summary small{font-size:8px;color:#838b99}
.number-analytics-grid{display:grid;grid-template-columns:repeat(20,minmax(34px,1fr));gap:3px}.number-analytics-cell{min-width:0;text-align:center;border:1px solid #dbe5df;background:#f2fbf6;border-radius:7px;padding:5px 2px}.number-analytics-cell.zero{background:#f5f6f8;border-color:#e3e5ea}.number-analytics-cell b{display:block;font-size:10px}.number-analytics-cell span{display:block;font-size:7px;font-weight:900;overflow:hidden;text-overflow:ellipsis}.number-analytics-cell small{display:block;font-size:6px;color:#7f8795}
.pro-table td.positive{color:#07874c;font-weight:900}.pro-table td.negative{color:#c43b3b;font-weight:900}.compact-request{margin-bottom:6px}
@media(max-width:1100px){.pro-stat-grid{grid-template-columns:repeat(4,1fr)}.number-analytics-grid{grid-template-columns:repeat(10,1fr)}}
@media(max-width:760px){.pro-stat-grid{grid-template-columns:repeat(2,1fr)}.today-session-grid{grid-template-columns:1fr}.session-monitor-metrics{grid-template-columns:repeat(4,1fr)}.number-analytics-grid{grid-template-columns:repeat(10,1fr)}.dash-custom-range{width:100%}.dash-custom-range label{flex:1}.dash-custom-range .field{width:100%;min-width:0}.pro-section-head{align-items:flex-start}}
@media(max-width:360px){.pro-stat-grid{grid-template-columns:repeat(2,1fr)}.number-analytics-grid{grid-template-columns:repeat(10,1fr)}.session-monitor-metrics{grid-template-columns:repeat(2,1fr)}.number-analysis-summary{grid-template-columns:1fr 1fr}.number-analysis-summary>div:last-child{grid-column:1/-1}}

/* v14 full responsive admin rebuild */
:root{--ag-bg:#f4f6f9;--ag-panel:#fff;--ag-text:#172033;--ag-muted:#718096;--ag-border:#e2e8f0;--ag-soft:#f7f9fc;--ag-dark:#111827}
body:has(.admin-shell){background:var(--ag-bg)!important;color:var(--ag-text)!important;overflow-x:hidden}
.admin-shell{max-width:none!important;width:auto!important;margin:0 0 0 244px!important;padding:22px 24px 40px!important;min-height:100vh!important}.admin-shell.pro-admin{max-width:none!important}
.ag-sidebar{position:fixed;inset:0 auto 0 0;width:244px;z-index:60;display:flex;flex-direction:column;padding:18px 14px;background:var(--ag-dark);color:#fff}.ag-side-brand{display:flex;align-items:center;gap:11px;padding:4px 6px 18px;border-bottom:1px solid rgba(255,255,255,.09)}.ag-logo{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#fff;color:var(--ag-dark);font-weight:950;font-size:13px}.ag-side-brand strong{display:block;font-size:14px}.ag-side-brand span{display:block;font-size:9px;color:#aab4c5;margin-top:2px}.ag-side-nav{display:grid;gap:5px;padding:16px 0}.ag-side-nav a{display:flex;align-items:center;gap:10px;min-height:42px;padding:9px 11px;border-radius:10px;text-decoration:none;color:#cbd5e1;font-size:12px;font-weight:800}.ag-side-nav a i{width:22px;text-align:center;font-style:normal;font-size:15px}.ag-side-nav a.active,.ag-side-nav a:hover{background:rgba(255,255,255,.11);color:#fff}.ag-side-nav a.active{box-shadow:inset 3px 0 0 #fff}.ag-side-foot{margin-top:auto;padding:12px 7px 2px;border-top:1px solid rgba(255,255,255,.09);display:grid;gap:8px}.ag-side-foot span{font-size:9px;color:#94a3b8}.ag-side-foot a{font-size:11px;font-weight:850;color:#fff;text-decoration:none}.admin-nav{display:none!important}
.admin-head{min-height:58px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:0 0 14px!important;padding:0!important}.admin-head h2{margin:0!important;font-size:24px!important;line-height:1.15!important}.admin-head span{display:block!important;margin-top:4px!important;font-size:11px!important;color:var(--ag-muted)!important}.ag-head-badge{padding:7px 10px;border:1px solid var(--ag-border);border-radius:9px;background:#fff;font-size:10px;font-weight:850}
.admin-shell .card,.admin-session-panel.card,.pro-section{background:#fff!important;border:1px solid var(--ag-border)!important;border-radius:14px!important;box-shadow:0 3px 12px rgba(15,23,42,.035)!important}.dash-toolbar{display:flex!important;justify-content:space-between!important;gap:10px!important;align-items:end!important;flex-wrap:wrap!important;background:#fff!important;border:1px solid var(--ag-border)!important;border-radius:13px!important;padding:9px!important;margin:0 0 10px!important}.dash-range-tabs{display:flex!important;gap:5px!important;overflow-x:auto!important;white-space:nowrap!important;flex:1 1 auto}.dash-range-tabs a{min-height:35px!important;padding:0 12px!important;font-size:10px!important;border-radius:8px!important}.dash-custom-range{display:grid!important;grid-template-columns:145px 145px auto!important;gap:6px!important;align-items:end!important}.dash-custom-range .field{height:35px!important;min-width:0!important;padding:6px 8px!important;font-size:11px!important}.dash-custom-range .btn{height:35px!important;width:auto!important;margin:0!important;padding:0 13px!important}
.pro-stat-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:0 0 12px!important}.pro-stat-grid article{min-height:104px!important;padding:14px!important;border:1px solid var(--ag-border)!important;border-radius:13px!important;background:#fff!important;display:flex!important;flex-direction:column!important;justify-content:center!important}.pro-stat-grid span{font-size:10px!important}.pro-stat-grid b{font-size:24px!important;margin:6px 0 4px!important}.pro-stat-grid small{font-size:9px!important}.pro-section{padding:14px!important;margin:0 0 12px!important}.pro-section-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:9px!important;margin-bottom:12px!important}.pro-section-head h3{font-size:15px!important}.pro-section-head p{font-size:10px!important}
.today-session-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.session-monitor-card{min-width:0!important;padding:12px!important;border:1px solid var(--ag-border)!important;border-radius:12px!important;background:var(--ag-soft)!important}.session-monitor-metrics{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:6px!important}.session-monitor-metrics span,.number-insights span{padding:8px!important;background:#fff!important;border:1px solid #edf0f4!important}.number-insights{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}.number-analysis-summary{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important}.number-analytics-grid{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:5px!important}.number-analytics-cell{padding:7px 3px!important}
.admin-table-scroll{width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.admin-table{width:100%!important;min-width:760px!important;border-collapse:separate!important;border-spacing:0!important;font-size:11px!important}.admin-table th{background:#f8fafc!important;font-size:9px!important;padding:10px!important}.admin-table td{padding:10px!important}.admin-session-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.admin-session-box{min-width:0!important;padding:12px!important;background:var(--ag-soft)!important}.admin-time-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.admin-session-box .field{height:38px!important;padding:7px 9px!important;font-size:12px!important}.admin-user-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.admin-user-card{padding:13px!important}.admin-filter-row{display:flex!important;gap:7px!important;align-items:end!important;flex-wrap:wrap!important}.admin-filter-row .field{height:39px!important}.admin-filter-row .btn{width:auto!important;height:39px!important;margin:0!important}.admin-edit-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) auto!important;gap:7px!important}.admin-edit-grid .btn{width:auto!important;margin:0!important}.field{border-color:#dfe5ec!important}.btn{border-radius:9px!important}
@media(max-width:1180px){.admin-shell{margin-left:210px!important;padding:18px!important}.ag-sidebar{width:210px!important}.pro-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.today-session-grid,.admin-session-grid{grid-template-columns:1fr 1fr!important}.admin-user-list{grid-template-columns:1fr!important}}
@media(max-width:900px){.admin-shell{margin-left:78px!important;padding:16px!important}.ag-sidebar{width:78px!important;padding:14px 9px!important}.ag-side-brand{justify-content:center!important}.ag-side-brand>div:last-child,.ag-side-nav a span,.ag-side-foot span{display:none!important}.ag-side-nav a{justify-content:center!important;padding:9px 6px!important}.ag-side-nav a i{width:auto!important;font-size:17px!important}.ag-side-foot{text-align:center!important}.pro-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.today-session-grid,.admin-session-grid{grid-template-columns:1fr!important}}
@media(max-width:640px){body:has(.admin-shell){padding-bottom:66px!important}.admin-shell{margin-left:0!important;padding:12px 10px 80px!important}.ag-sidebar{inset:auto 0 0 0!important;width:100%!important;height:62px!important;padding:5px 8px max(5px,env(safe-area-inset-bottom))!important;display:block!important}.ag-side-brand,.ag-side-foot{display:none!important}.ag-side-nav{height:100%!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:2px!important;padding:0!important}.ag-side-nav a{min-height:48px!important;padding:4px 2px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:1px!important;font-size:8px!important}.ag-side-nav a i{font-size:15px!important}.ag-side-nav a span{display:block!important;font-size:8px!important}.ag-side-nav a.active{box-shadow:none!important}.admin-head{min-height:46px!important;margin-bottom:8px!important}.admin-head h2{font-size:18px!important}.admin-head span{font-size:9px!important}.dash-range-tabs{width:100%!important}.dash-custom-range{width:100%!important;grid-template-columns:1fr 1fr!important}.dash-custom-range .btn{grid-column:1/-1!important;width:100%!important}.pro-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.pro-stat-grid article{min-height:88px!important;padding:10px!important}.pro-stat-grid b{font-size:19px!important}.today-session-grid{grid-template-columns:1fr!important}.session-monitor-metrics{grid-template-columns:repeat(2,1fr)!important}.number-analysis-summary{grid-template-columns:repeat(3,1fr)!important}.number-analytics-grid{grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:3px!important}.admin-session-grid{grid-template-columns:1fr!important}.admin-time-grid{grid-template-columns:repeat(3,1fr)!important}.admin-user-list{grid-template-columns:1fr!important}.admin-edit-grid{grid-template-columns:1fr 1fr!important}.admin-edit-grid .btn{grid-column:1/-1!important;width:100%!important}.admin-filter-row .btn{flex:1 1 100%!important;width:100%!important}.admin-table{min-width:720px!important}}
@media(max-width:380px){.admin-time-grid{grid-template-columns:1fr!important}.number-analysis-summary{grid-template-columns:1fr 1fr!important}.number-analysis-summary>div:last-child{grid-column:1/-1!important}}

/* v15 users table + sessions */
.user-table-card{padding:0!important;overflow:hidden}.user-pro-table{min-width:1080px!important}.user-name-link{font-weight:900!important;color:var(--ag-text)!important}.user-status-pill{display:inline-flex;padding:4px 7px;border-radius:99px;font-size:8px;font-weight:900}.user-status-pill.active{background:#e9f8ef;color:#087843}.user-status-pill.blocked{background:#fff0f1;color:#b8323c}.user-row-actions{display:flex;gap:4px;align-items:center;white-space:nowrap}.user-row-actions form{margin:0}.row-action{border:1px solid #dfe4eb;background:#fff;color:#293244;border-radius:7px;padding:6px 8px;font-size:8px;font-weight:900;text-decoration:none;cursor:pointer}.enter-user-action{background:#172033;color:#fff;border-color:#172033}
.admin-modal[hidden]{display:none!important}.admin-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:16px}.admin-modal-scrim{position:absolute;inset:0;border:0;background:rgba(15,23,42,.55)}.admin-modal-card{position:relative;width:min(430px,100%);background:#fff;border-radius:15px;padding:14px;box-shadow:0 20px 60px rgba(15,23,42,.2)}.admin-modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.admin-modal-close{width:32px;height:32px;border:1px solid #e1e5eb;background:#fff;border-radius:8px;font-size:18px}.admin-modal-card form{display:grid;gap:8px}.admin-modal-card label{font-size:9px;font-weight:900}.admin-modal-card .field{width:100%;margin-top:4px}
.admin-preview-bar{position:sticky;top:0;z-index:90;display:flex;align-items:center;justify-content:center;gap:8px;padding:7px 10px;background:#111827;color:#fff;font-size:10px}.admin-preview-bar a{color:#fff;border:1px solid rgba(255,255,255,.35);border-radius:7px;padding:4px 7px;text-decoration:none;font-weight:900}
.session-date-picker{min-width:155px;height:39px}.session-pro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.session-pro-card{padding:13px!important}.session-pro-head{display:flex;justify-content:space-between;gap:8px}.session-pro-head span{font-size:8px;font-weight:900;color:var(--ag-muted)}.session-pro-head h3{margin:2px 0 0;font-size:15px}.session-pro-head>b{font-size:8px}.session-pro-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:10px 0}.session-pro-kpis div{background:var(--ag-soft);border-radius:8px;padding:7px}.session-pro-kpis span{display:block;font-size:7px;color:var(--ag-muted)}.session-pro-kpis b{font-size:11px}.session-settings-form{display:grid;gap:7px}.session-settings-form>label,.session-settings-form .admin-time-grid label{font-size:8px;font-weight:900}.session-settings-form .field{margin-top:3px}.session-result-control{margin-top:10px;padding-top:10px;border-top:1px solid #e8ecf1}.session-result-control form{display:flex;gap:6px}.session-result-control .btn{width:auto!important;margin:0!important}
@media(max-width:1180px){.session-pro-grid{grid-template-columns:1fr 1fr!important}}
@media(max-width:900px){.session-pro-grid{grid-template-columns:1fr!important}}
@media(max-width:640px){.ag-side-nav{grid-template-columns:repeat(6,1fr)!important}.user-pro-table{min-width:1040px!important}.session-pro-grid{grid-template-columns:1fr!important}}

/* v16 Sessions settings-only + dedicated Results page */
.session-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.session-settings-card{padding:16px!important}.session-settings-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:14px}.session-settings-head span{font-size:8px;font-weight:900;color:var(--ag-muted)}.session-settings-head h3{margin:3px 0 0;font-size:17px}.session-settings-head>b{font-size:8px}
.session-settings-only-form{display:grid;gap:10px}.session-settings-only-form label{font-size:9px;font-weight:900}.session-settings-only-form .field{width:100%;margin-top:4px;height:42px}.session-time-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.session-settings-only-form .btn{min-height:42px}
.result-session-list{display:grid;gap:14px}.result-pro-card{padding:16px!important}.result-pro-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.result-pro-head>div:first-child span{font-size:8px;font-weight:900;color:var(--ag-muted)}.result-pro-head h3{margin:3px 0 2px;font-size:18px}.result-pro-head p{margin:0;font-size:9px;color:var(--ag-muted)}
.result-pro-state{text-align:right}.result-pro-state b{display:block;font-size:22px}.result-pro-state span{font-size:7px;font-weight:900;color:var(--ag-muted)}
.result-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:14px 0}.result-kpi-grid>div{background:var(--ag-soft);border:1px solid #edf0f4;border-radius:10px;padding:10px;min-width:0}.result-kpi-grid span{display:block;font-size:8px;color:var(--ag-muted)}.result-kpi-grid b{display:block;font-size:15px;margin-top:4px}.result-kpi-grid small{font-size:7px;color:var(--ag-muted)}
.zero-number-panel,.result-number-table-wrap,.result-action-panel{border-top:1px solid #e8ecf1;padding-top:12px;margin-top:12px}.zero-number-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:8px}.zero-number-head b{font-size:11px}.zero-number-head span{font-size:8px;color:var(--ag-muted)}
.zero-number-grid{display:flex;flex-wrap:wrap;gap:4px}.zero-number-grid span{min-width:28px;height:28px;display:grid;place-items:center;background:#f4f6f8;border:1px solid #e2e6eb;border-radius:7px;font-size:9px;font-weight:900}.zero-number-grid em{font-size:9px;color:var(--ag-muted)}
.result-final-box{display:flex;align-items:center;gap:10px;background:#edf9f2;border-radius:10px;padding:10px}.result-final-box span{font-size:9px}.result-final-box b{font-size:22px}.result-final-box small{margin-left:auto;font-size:8px}
.result-manual-form{display:grid;grid-template-columns:minmax(160px,260px) auto;gap:8px;align-items:end}.result-manual-form label{font-size:9px;font-weight:900}.result-manual-form .field{margin-top:4px}.result-manual-form .btn{width:auto!important;margin:0!important;height:39px}
@media(max-width:1100px){.session-settings-grid{grid-template-columns:1fr 1fr}.result-kpi-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.session-settings-grid{grid-template-columns:1fr}.result-kpi-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.ag-side-nav{grid-template-columns:repeat(7,1fr)!important}.session-time-row{grid-template-columns:1fr 1fr 1fr}.result-pro-card{padding:11px!important}.result-kpi-grid{grid-template-columns:repeat(2,1fr)}.result-manual-form{grid-template-columns:1fr}.result-manual-form .btn{width:100%!important}}
@media(max-width:380px){.session-time-row{grid-template-columns:1fr}.result-kpi-grid{grid-template-columns:1fr 1fr}}

/* v17 results filtering */
.result-filter-bar{padding:11px!important;margin-bottom:12px!important}
.result-filter-form{display:grid;grid-template-columns:minmax(160px,220px) minmax(180px,260px) auto;gap:8px;align-items:end}
.result-filter-form label{font-size:9px;font-weight:900}.result-filter-form .field{width:100%;height:40px;margin-top:4px}.result-filter-form .btn{height:40px;width:auto!important;margin:0!important}
.quick-session-tabs{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px;padding-top:9px;border-top:1px solid #e9edf2}.quick-session-tabs a{padding:6px 9px;border:1px solid #e1e5eb;border-radius:8px;background:#fff;text-decoration:none;font-size:8px;font-weight:900}
.zero-number-panel{display:none!important}
@media(max-width:700px){.result-filter-form{grid-template-columns:1fr 1fr}.result-filter-form .btn{grid-column:1/-1;width:100%!important}}
@media(max-width:420px){.result-filter-form{grid-template-columns:1fr}}

/* v18 live exposure analytics */
.admin-live-cta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important}.admin-live-cta>div span{font-size:8px;font-weight:900;color:var(--ag-muted)}.admin-live-cta h3{margin:3px 0 2px;font-size:15px}.admin-live-cta p{margin:0;font-size:9px;color:var(--ag-muted)}.admin-live-cta .btnlink{white-space:nowrap}
.live-exposure-panel{margin-top:14px;padding-top:14px;border-top:1px solid #e8ecf1}.live-exposure-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.live-exposure-head>div:first-child b{display:block;font-size:12px}.live-exposure-head>div:first-child span{display:block;font-size:8px;color:var(--ag-muted);margin-top:2px}
.live-refresh-status{display:flex;align-items:center;gap:5px;white-space:nowrap}.live-refresh-status i{width:8px;height:8px;border-radius:50%;background:#94a3b8}.live-refresh-status i.on{background:#0b8f55;box-shadow:0 0 0 3px rgba(11,143,85,.11)}.live-refresh-status span{font-size:8px;font-weight:900}.live-refresh-status small{font-size:7px;color:var(--ag-muted)}
.exposure-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:10px}.exposure-summary-grid>div{padding:10px;background:var(--ag-soft);border:1px solid #edf0f4;border-radius:10px}.exposure-summary-grid span{display:block;font-size:8px;color:var(--ag-muted)}.exposure-summary-grid b{display:block;font-size:15px;margin-top:3px}
.exposure-table-scroll{max-height:420px;overflow:auto;border:1px solid #e5e9ef;border-radius:10px}.exposure-table{min-width:760px!important;margin:0!important}.exposure-table thead th{position:sticky!important;top:0!important;z-index:2!important}.exposure-table td.positive{color:#07874c;font-weight:900}.exposure-table td.negative{color:#c43b3b;font-weight:900}.exposure-note{margin-top:7px;font-size:8px;color:var(--ag-muted)}
@media(max-width:760px){.admin-live-cta{align-items:flex-start!important;flex-direction:column!important}.admin-live-cta .btnlink{width:100%;text-align:center}.exposure-summary-grid{grid-template-columns:1fr 1fr}.live-exposure-head{align-items:flex-start}}

/* v19 session header exposure cards + view more */
.session-exposure-header{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:12px 0}
.session-exposure-header>div{padding:10px;border:1px solid #e5e9ef;border-radius:10px;background:#f8fafc;min-width:0}
.session-exposure-header span{display:block;font-size:8px;color:var(--ag-muted);font-weight:800}
.session-exposure-header b{display:block;font-size:16px;margin:4px 0 2px;overflow:hidden;text-overflow:ellipsis}
.session-exposure-header small{display:block;font-size:7px;color:var(--ag-muted)}
.session-exposure-header>div.safe b{color:#07874c}.session-exposure-header>div.risk b{color:#c43b3b}
.exposure-view-toggle-row{margin:10px 0 0}.exposure-view-toggle-row.secondary-toggle{margin-top:8px}
.exposure-view-toggle{width:100%;min-height:38px;border:1px solid #dfe5ec;background:#fff;border-radius:9px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;font-weight:900;color:#263044;cursor:pointer}
.exposure-view-toggle i{font-style:normal;font-size:13px}
.exposure-detail-wrap[hidden]{display:none!important}.exposure-detail-wrap{margin-top:8px}
@media(max-width:760px){.session-exposure-header{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.session-exposure-header{grid-template-columns:1fr 1fr}.session-exposure-header b{font-size:14px}}

/* v20 full session add/edit/remove manager */
.session-manager-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:12px!important;margin-bottom:12px!important}
.session-manager-top>div span{display:block;font-size:8px;font-weight:900;color:var(--ag-muted)}.session-manager-top>div b{display:block;font-size:20px;margin:2px 0}.session-manager-top>div small{font-size:8px;color:var(--ag-muted)}.session-manager-top .btn{width:auto!important;margin:0!important}
.session-form-actions{display:flex;gap:6px}.session-form-actions .btn{width:100%!important}
.remove-session-form{margin-top:9px;padding-top:9px;border-top:1px solid #e8ecf1}.remove-session-btn{width:100%;min-height:36px;border:1px solid #f0cbd0;background:#fff6f7;color:#b9303a;border-radius:8px;font-size:9px;font-weight:900;cursor:pointer}
.session-add-modal{width:min(560px,100%)!important}.session-add-modal form{display:grid;gap:9px}.session-add-modal label{font-size:9px;font-weight:900}.session-add-modal .field{margin-top:4px;width:100%}.empty-session-state{padding:18px!important;text-align:center;font-size:10px;color:var(--ag-muted)}
@media(max-width:640px){.session-manager-top{align-items:flex-start!important}.session-manager-top .btn{max-width:160px!important}}

/* v21 unlimited / overlapping session support */
.unlimited-session-top>div b{font-size:22px}
.unlimited-session-grid{align-items:start}
.session-mini-time{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 10px}
.session-mini-time span{padding:5px 7px;border:1px solid #e5e9ef;border-radius:7px;background:#f8fafc;font-size:8px;font-weight:800}
.session-state-badge{font-size:8px!important;padding:5px 7px;border-radius:999px;background:#eef2f6}
.session-state-badge.live{color:#07874c;background:#eaf8f1}.session-state-badge.resulted{color:#3557a8;background:#eef3ff}.session-state-badge.closed{color:#7a4750;background:#fff1f2}.session-state-badge.upcoming{color:#765f13;background:#fff8df}
.session-overlap-note{padding:8px 9px;border-radius:8px;background:#f6f8fb;border:1px solid #e7ebf0;font-size:8px;color:var(--ag-muted)}
.dynamic-session-tabs{overflow-x:auto;display:flex!important;flex-wrap:nowrap!important;padding-bottom:3px}
.dynamic-session-tabs a{white-space:nowrap;flex:0 0 auto}
@media(max-width:640px){.unlimited-session-top{flex-direction:column!important}.unlimited-session-top .btn{max-width:none!important;width:100%!important}}

/* v22 permanent session deletion */
.remove-session-btn{background:#fff1f2!important;border-color:#efc1c7!important;color:#b4232f!important}
.remove-session-btn:hover{background:#ffe7ea!important}

/* v23 beautiful direct-bet user home */
.home-bet-body{margin:0;background:#f1f4f8;color:#172033;overflow-x:hidden;padding-bottom:70px}
.home-app-header{position:sticky;top:0;z-index:40;max-width:620px;margin:auto;min-height:60px;padding:9px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:rgba(255,255,255,.96);border-bottom:1px solid #e6eaf0;backdrop-filter:blur(12px)}
.home-brand-block{display:flex;align-items:center;gap:8px;min-width:0}.home-logo-mark{width:38px;height:38px;border-radius:12px;background:#172033;color:#fff;display:grid;place-items:center;font-size:18px;font-weight:900;box-shadow:0 6px 16px rgba(23,32,51,.16)}.home-brand-block>div:last-child{min-width:0}.home-brand-block b{display:block;font-size:14px;line-height:1.1}.home-brand-block span{display:block;font-size:8.5px;color:#788195;margin-top:3px}
.home-wallet-chip{text-decoration:none;text-align:right;background:#f4f6fb;border:1px solid #e4e8ef;border-radius:12px;padding:7px 9px;white-space:nowrap}.home-wallet-chip small{display:block;font-size:7.5px;color:#7a8497}.home-wallet-chip b{display:block;font-size:11px;margin-top:1px}
.home-bet-shell{width:100%;max-width:620px;margin:auto;padding:8px 8px 16px}.home-flash{margin:0 0 7px!important}
.live-session-switcher{margin-bottom:7px}.switcher-label{display:flex;align-items:center;justify-content:space-between;padding:0 3px 5px}.switcher-label b{font-size:10px}.switcher-label span{font-size:8px;color:#7b8496}.live-session-tabs{display:flex;gap:5px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.live-session-tabs::-webkit-scrollbar{display:none}.live-session-tabs a{flex:0 0 auto;min-width:108px;padding:7px 8px;border:1px solid #e1e6ed;border-radius:10px;background:#fff;text-decoration:none;display:grid;grid-template-columns:7px 1fr;column-gap:5px;align-items:center}.live-session-tabs a i{width:7px;height:7px;border-radius:50%;background:#19a365}.live-session-tabs a span{font-size:9px;font-weight:900;max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-session-tabs a small{grid-column:2;font-size:7px;color:#7b8496}.live-session-tabs a.active{background:#172033;color:#fff;border-color:#172033}.live-session-tabs a.active small{color:#cbd1dc}
.home-live-hero{background:linear-gradient(135deg,#172033,#29354d);color:#fff;border-radius:17px;padding:13px 14px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;box-shadow:0 10px 24px rgba(23,32,51,.14)}.home-live-main{min-width:0}.live-kicker{display:flex;align-items:center;gap:5px;font-size:8px;font-weight:900;letter-spacing:.6px;color:#baf4d3}.live-kicker i,.home-live-pill i{width:7px;height:7px;border-radius:50%;background:#24c878;box-shadow:0 0 0 3px rgba(36,200,120,.13)}.home-live-hero h1{font-size:21px;line-height:1.1;margin:5px 0 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-session-times{display:flex;gap:12px}.home-session-times span{display:flex;flex-direction:column;gap:2px}.home-session-times small{font-size:7px;color:#aeb8ca;text-transform:uppercase}.home-session-times b{font-size:9px}.home-multiplier{flex:0 0 auto;text-align:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:8px 10px}.home-multiplier small{display:block;font-size:7px;color:#c6cede}.home-multiplier b{display:block;font-size:18px;margin-top:1px}
.home-countdown-strip{display:grid;grid-template-columns:1fr 1px 1fr;gap:10px;align-items:center;margin-top:7px;background:#fff;border:1px solid #e5e9ef;border-radius:12px;padding:8px 10px}.home-countdown-strip>i{height:25px;background:#e8ebf0}.home-countdown-strip>div{text-align:center}.home-countdown-strip span{display:block;font-size:7.5px;color:#7b8496;text-transform:uppercase}.home-countdown-strip b{display:block;font-size:13px;margin-top:2px;font-variant-numeric:tabular-nums}
.home-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:7px}.home-mini-stats>div{background:#fff;border:1px solid #e5e9ef;border-radius:10px;padding:7px 8px}.home-mini-stats span{display:block;font-size:7px;color:#7b8496}.home-mini-stats b{display:block;font-size:12px;margin-top:2px}
.home-board-card{margin-top:7px;background:#fff;border:1px solid #e4e8ee;border-radius:15px;padding:8px;box-shadow:0 7px 18px rgba(25,36,58,.035)}.home-board-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:1px 2px 7px}.home-board-head>div b{display:block;font-size:12px}.home-board-head>div span{display:block;font-size:8px;color:#7b8496;margin-top:2px}.home-live-pill{display:flex;align-items:center;gap:5px;border-radius:999px;background:#ecfff5;color:#087f5b;padding:5px 7px;font-size:7.5px;font-weight:900}.home-number-board{border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;gap:4px!important}.home-number-board .board-num{border-radius:7px!important;background:#f8f9fb}.home-number-board .board-num.placed{background:#16a36a!important}.home-board-legend{padding-top:7px!important}
.home-placed-section{margin-top:7px!important;border-radius:14px!important;padding:8px!important}.home-placed-section .placed-grid{max-height:130px;overflow-y:auto;align-content:start}
.home-bet-sheet{box-shadow:0 -12px 36px rgba(0,0,0,.19)!important}
.home-no-live{margin-top:22px;text-align:center;background:#fff;border:1px solid #e5e9ef;border-radius:20px;padding:25px 16px}.home-no-live-icon{width:58px;height:58px;border-radius:18px;background:#f0f3f8;display:grid;place-items:center;margin:0 auto 12px;font-size:27px}.home-no-live>span{font-size:8px;font-weight:900;letter-spacing:.7px;color:#7b8496}.home-no-live h1{font-size:19px;line-height:1.25;margin:6px auto 7px;max-width:330px}.home-no-live p{font-size:10px;color:#7b8496;margin:0 0 12px}.next-session-card{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;background:#f6f8fb;border-radius:12px;padding:10px;margin:10px 0}.next-session-card b{display:block;font-size:11px}.next-session-card span{display:block;font-size:8px;color:#7b8496;margin-top:2px}.next-session-card strong{font-size:13px;font-variant-numeric:tabular-nums}.home-history-button{display:block;text-decoration:none;background:#172033;color:#fff;border-radius:11px;padding:11px;font-size:10px;font-weight:900}
.home-bottom-nav .navin{max-width:620px}
@media(max-width:380px){.home-app-header{padding-left:7px;padding-right:7px}.home-bet-shell{padding-left:5px;padding-right:5px}.home-logo-mark{width:35px;height:35px}.home-live-hero{padding:11px}.home-live-hero h1{font-size:18px}.home-session-times{gap:8px}.home-session-times b{font-size:8px}.home-multiplier{padding:7px}.home-number-board{gap:3px!important}.home-number-board .board-num{border-radius:5px!important;font-size:9px}.home-mini-stats>div{padding:6px}.home-countdown-strip{gap:6px;padding-left:6px;padding-right:6px}}
@media(min-width:621px){.home-bet-body{background:#e9edf3}.home-bet-shell{padding-top:12px}.home-board-card{padding:11px}.home-number-board{gap:6px!important}.home-number-board .board-num{font-size:14px}}

/* v24 simplified direct-bet home */
.home-live-hero{align-items:stretch!important}
.home-live-main{display:flex;flex-direction:column;justify-content:center}
.home-live-main h1{margin-top:0!important}
.home-close-countdown{
  flex:0 0 auto;
  min-width:116px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  padding:9px 10px;
}
.home-close-countdown small{
  display:block;
  font-size:7px;
  color:#c9d2df;
  font-weight:900;
  letter-spacing:.35px;
  white-space:nowrap;
}
.home-close-countdown b{
  display:block;
  margin-top:4px;
  font-size:17px;
  line-height:1;
  font-weight:900;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.home-countdown-strip{display:none!important}
.live-kicker{display:none!important}
.home-multiplier{display:none!important}

/* Restored compact scrolling placed-bet data */
.home-placed-section{
  padding:0!important;
  overflow:hidden;
}
.home-placed-section .sticky-placed-head{
  margin:0!important;
  padding:9px 9px 7px;
  background:#fff;
  border-bottom:1px solid #edf0f4;
}
.sticky-placed-head>div{min-width:0}
.sticky-placed-head>div b{display:block}
.sticky-placed-head>div small{
  display:block;
  margin-top:2px;
  font-size:7.5px;
  color:#7b8496;
}
.home-placed-scroll{
  max-height:142px!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch;
  align-content:start;
  padding:7px!important;
  scrollbar-width:thin;
}
.home-placed-scroll .placed-box{
  min-height:43px;
}
.home-placed-scroll .placed-box strong{
  font-size:10px!important;
}
.home-placed-scroll .placed-box span{
  font-size:8.5px!important;
}

@media(max-width:380px){
  .home-close-countdown{min-width:102px;padding:8px 7px}
  .home-close-countdown b{font-size:15px}
  .home-session-times{gap:7px}
}

/* v26 selected-number yellow blink */
.home-number-board .board-num.selecting{
  background:#ffd84d!important;
  color:#172033!important;
  border-color:#e5b900!important;
  box-shadow:0 0 0 2px rgba(229,185,0,.18)!important;
  animation:agSelectedBlink .72s ease-in-out infinite alternate;
}
@keyframes agSelectedBlink{
  from{background:#ffe681;box-shadow:0 0 0 2px rgba(229,185,0,.12)}
  to{background:#ffc928;box-shadow:0 0 0 4px rgba(255,201,40,.24)}
}
@media (prefers-reduced-motion:reduce){
  .home-number-board .board-num.selecting{animation:none!important;background:#ffd84d!important}
}

/* v27 five-item footer */
.five-user-nav .navin{grid-template-columns:repeat(5,minmax(0,1fr))!important;max-width:620px}
.five-user-nav a{min-width:0!important;padding-left:1px!important;padding-right:1px!important;font-size:8px!important;white-space:nowrap}
.five-user-nav a b{font-size:18px!important;margin-bottom:2px}
.wallet-action-card h3{margin-bottom:3px}
@media(max-width:380px){.five-user-nav a{font-size:7px!important}.five-user-nav a b{font-size:16px!important}}

/* v28 legacy payment simulation */
.legacy-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.legacy-settings-grid>section label,.legacy-payout-card label{display:block;font-size:9px;font-weight:900;margin-top:8px}.legacy-settings-grid .field,.legacy-payout-card .field{margin-top:4px}.legacy-setting-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.legacy-setting-head h3{margin:0}.legacy-setting-head label{margin:0!important;font-size:8px!important}.legacy-qr-box{margin-top:9px;min-height:110px;border:2px dashed #cfd5df;border-radius:12px;display:grid;place-items:center;text-align:center;background:#f8fafc}.legacy-qr-box b{font-size:18px}.legacy-qr-box span{display:block;font-size:8px;color:#7b8496}
.legacy-method-grid{display:grid;gap:7px;margin:10px 0}.legacy-method{display:grid;grid-template-columns:22px 1fr;column-gap:7px;align-items:center;border:1px solid #dfe4eb;border-radius:11px;padding:9px;background:#fff;cursor:pointer}.legacy-method input{grid-row:1/4}.legacy-method b{font-size:10px}.legacy-method span{font-size:8px;color:#6f788a;margin-top:2px}.legacy-method em{font-style:normal;font-size:8px;font-weight:900;margin-top:5px;padding:12px;border:1px dashed #cfd5df;border-radius:8px;text-align:center;background:#f7f9fb}.legacy-method.disabled{opacity:.48;cursor:not-allowed}.legacy-bank-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media(max-width:900px){.legacy-settings-grid{grid-template-columns:1fr 1fr}}@media(max-width:640px){.legacy-settings-grid{grid-template-columns:1fr}.legacy-bank-fields{grid-template-columns:1fr}}

/* v29 simple dropdown method flow */
.wallet-method-label{display:block;font-size:9px;font-weight:900;margin-top:10px}
.wallet-method-label .field{margin-top:4px}
.selected-method-details{margin-top:8px}
.method-detail-card{border:1px solid #dfe4eb;border-radius:11px;background:#f8fafc;padding:10px}
.method-detail-card[hidden]{display:none!important}
.method-detail-card>span{display:block;font-size:8px;color:#747e90;font-weight:900;text-transform:uppercase}
.method-detail-card>b{display:block;font-size:14px;margin-top:4px;word-break:break-all}
.method-detail-card>small{display:block;font-size:7.5px;color:#7b8496;margin-top:4px}
.legacy-qr-placeholder{min-height:118px;margin-top:7px;border:2px dashed #ccd3dd;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff}
.legacy-qr-placeholder b{font-size:19px}.legacy-qr-placeholder small{font-size:8px;color:#7b8496;margin-top:3px}
.method-bank-lines{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:7px}
.method-bank-lines p{margin:0;background:#fff;border:1px solid #e5e9ef;border-radius:8px;padding:7px}
.method-bank-lines small{display:block;font-size:7px;color:#7b8496}
.method-bank-lines b{display:block;font-size:9px;margin-top:2px;word-break:break-word}
.wallet-empty-method{margin-top:8px;padding:9px;border-radius:9px;background:#fff8db;border:1px solid #ffe58f;font-size:9px}
.wallet-profile-link{margin-top:7px!important}
@media(max-width:420px){.method-bank-lines{grid-template-columns:1fr}}

/* v30 unified user pages */
.user-page-body{margin:0;background:#f1f4f8;color:#172033;padding-bottom:72px}
.user-page-header{position:sticky;top:0;z-index:40;width:100%;max-width:620px;margin:auto;min-height:60px;padding:8px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:7px;background:rgba(255,255,255,.97);border-bottom:1px solid #e5e9ef;backdrop-filter:blur(12px)}
.user-page-back{width:36px;height:36px;border-radius:11px;background:#f2f4f8;display:grid;place-items:center;text-decoration:none;font-size:27px;line-height:1}
.user-page-title{min-width:0}.user-page-title b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-page-title span{display:block;font-size:8px;color:#768095;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-page-balance{text-align:right;text-decoration:none;background:#f4f6fb;border:1px solid #e4e8ef;border-radius:11px;padding:6px 8px;white-space:nowrap}.user-page-balance small{display:block;font-size:7px;color:#7a8497}.user-page-balance b{display:block;font-size:10px;margin-top:1px}
.user-page-shell{width:100%;max-width:620px;margin:auto;padding:8px}
.user-page-shell>.notice{margin-top:0}
.compact-data-card{padding:11px!important;margin:0 0 8px!important}.compact-data-card h3{margin:0 0 3px;font-size:13px}.compact-data-card>.muted{margin:2px 0 8px;font-size:9px}
.wallet-page-shell{max-width:620px}.wallet-action-card{max-width:none}.wallet-action-card form>p{margin:7px 0}.wallet-action-card .btn{margin-top:8px}
.wallet-utility-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0 0 8px}.wallet-utility-row>a{display:flex;flex-direction:column;gap:2px;text-decoration:none;background:#fff;border:1px solid #e3e7ed;border-radius:11px;padding:9px}.wallet-utility-row b{font-size:10px}.wallet-utility-row span{font-size:7.5px;color:#768095}
.profile-card-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:8px;align-items:start}.profile-main-card,.profile-security-card,.profile-transactions-card{min-width:0}.legacy-payout-card{min-width:0;grid-row:span 2}.profile-main-card .avatar{width:50px;height:50px;font-size:19px}.profile-main-card h2{font-size:16px;margin:8px 0 2px}.profile-main-card p{font-size:9px;margin:3px 0}.profile-main-card .balance-line{padding:9px 0;margin-top:5px}.profile-security-card .notice{margin:0 0 7px;font-size:8px}.profile-security-card .btnlink,.profile-transactions-card .btnlink{margin-top:7px;padding:10px}.secondary-btnlink{background:#f2f4f8!important;color:#172033!important;border:1px solid #e1e5eb}
.legacy-payout-card form{display:grid;gap:6px}.legacy-payout-card label{margin-top:0!important}.legacy-bank-fields{gap:6px!important}
.transaction-filter-tabs{display:flex;gap:5px;overflow-x:auto;margin-bottom:8px;scrollbar-width:none}.transaction-filter-tabs::-webkit-scrollbar{display:none}.transaction-filter-tabs a{flex:0 0 auto;padding:7px 9px;border:1px solid #e0e5eb;border-radius:9px;background:#fff;text-decoration:none;font-size:8px;font-weight:900}.transaction-filter-tabs a.active{background:#172033;color:#fff;border-color:#172033}
.compact-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.compact-card-head>div h3{margin:0}.compact-card-head>div span{font-size:7.5px;color:#7b8496}.compact-card-head>b{font-size:12px;background:#f2f4f8;border-radius:999px;padding:4px 7px}
.transaction-list{display:grid}.transaction-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-top:1px solid #edf0f4}.transaction-row:first-child{border-top:0}.transaction-row-main{min-width:0}.transaction-row-main>b{display:block;font-size:9.5px}.transaction-row-main>span{display:block;font-size:7.5px;color:#7b8496;margin-top:2px}.transaction-row-main>small{display:block;font-size:7px;color:#8b93a1;margin-top:2px;max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.transaction-row>strong{flex:0 0 auto;font-size:9px}.empty-transaction{margin:6px 0!important}
@media(min-width:760px){.wallet-page-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.55fr);gap:8px;align-items:start}.wallet-page-shell>.notice,.wallet-page-shell>.msg{grid-column:1/-1}.wallet-page-shell>.wallet-action-card{grid-column:1}.wallet-page-shell>.wallet-utility-row{grid-column:2;grid-row:2;grid-template-columns:1fr}}
@media(max-width:520px){.profile-card-grid{grid-template-columns:1fr}.legacy-payout-card{grid-row:auto}.wallet-utility-row{grid-template-columns:1fr}.user-page-title span{max-width:180px}}

/* v31 recent request blocks + full transaction center */
.wallet-page-shell{display:block!important}.wallet-action-card,.wallet-recent-card{width:100%;max-width:100%}.wallet-recent-card{margin-top:8px!important}.wallet-recent-list .transaction-row{padding:8px 0}
.transaction-range-card{background:#fff;border:1px solid #e2e7ed;border-radius:13px;padding:8px;margin-bottom:8px}.transaction-range-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.transaction-range-tabs a{min-width:0;text-align:center;text-decoration:none;font-size:7.5px;font-weight:900;padding:7px 2px;border-radius:8px;background:#f3f5f8;color:#5d6678;white-space:nowrap}.transaction-range-tabs a.active{background:#172033;color:#fff}.range-caption{text-align:right;font-size:7px;color:#7c8595;margin-top:6px}
.custom-range-form{display:grid;grid-template-columns:1fr 1fr auto;gap:5px;align-items:end;margin-top:7px}.custom-range-form label{font-size:7px;font-weight:900}.custom-range-form .field{margin-top:3px;padding:8px}.custom-range-form .btn{padding:9px 12px;margin:0}
.transaction-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:8px}.transaction-summary-grid article{min-width:0;background:#fff;border:1px solid #e2e7ed;border-radius:11px;padding:9px}.transaction-summary-grid span{display:block;font-size:7px;color:#798294;font-weight:900;text-transform:uppercase}.transaction-summary-grid b{display:block;font-size:14px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.transaction-summary-grid small{display:block;font-size:6.5px;color:#8b93a1;margin-top:2px}
.transaction-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:3px}.transaction-toolbar h3{margin:0}.transaction-toolbar>div span{font-size:7px;color:#7d8697}.transaction-toolbar form{width:148px}.transaction-toolbar select{padding:7px;font-size:8px}
.full-transaction-list{display:grid}.full-transaction-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;border-top:1px solid #edf0f4;padding:8px 0}.full-transaction-row:first-child{border-top:0}.tx-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:#f1f4f8;font-size:14px;font-weight:900}.tx-copy{min-width:0}.tx-copy b{display:block;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-copy span{display:block;font-size:7.5px;color:#727c8f;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-copy small{display:block;font-size:6.5px;color:#9aa1ad;margin-top:2px}.tx-value{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:3px}.tx-value strong{font-size:10px}.tx-value .tag{font-style:normal;font-size:6px;padding:3px 5px}.transaction-empty-state{text-align:center;padding:25px 10px}.transaction-empty-state b{display:block;font-size:11px}.transaction-empty-state span{display:block;font-size:8px;color:#7c8594;margin-top:3px}
@media(min-width:700px){.transaction-summary-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.transactions-page-shell{max-width:760px}.user-page-header:has(+ .transactions-page-shell){max-width:760px}}
@media(max-width:460px){.transaction-range-tabs{grid-template-columns:repeat(3,1fr)}.transaction-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.custom-range-form{grid-template-columns:1fr 1fr}.custom-range-form .btn{grid-column:1/-1}.transaction-toolbar{align-items:flex-end}.transaction-toolbar form{width:132px}}

/* v32 closed session keeps the exact open-session dashboard layout */
.home-live-pill.closed{background:#fff4c9!important;color:#7b6210!important;border-color:#f0dd8b!important}
.home-live-pill.closed i{background:#d9ad18!important;box-shadow:none!important;animation:none!important}
.home-close-countdown.result-countdown{background:#677083!important}
.home-number-board .board-num:disabled{opacity:1!important;cursor:default!important;pointer-events:none!important}
.home-number-board .board-num.placed:disabled{opacity:1!important}
.home-placed-section .placed-box:disabled{opacity:1!important;cursor:default!important;pointer-events:none!important}

/* v33 compact fixed Add Creditds form */
.deposit-form-row{display:grid;grid-template-columns:1fr 1fr;gap:7px;align-items:start}.deposit-form-row .wallet-method-label{margin-top:0}.deposit-primary-row{margin-top:8px}.fixed-payment-details{margin:7px 0}.fixed-payment-details:empty{display:none}.compact-legacy-qr{min-height:82px!important}.deposit-proof-row{margin-top:7px}.legacy-upload-field small{display:block;font-size:6.5px;color:#8790a0;margin-top:3px}.file-field{padding:7px!important;font-size:7px!important;background:#fff}.wallet-submit-btn{width:100%;margin-top:9px!important}
.wallet-recent-card{overflow:hidden}.wallet-recent-list{max-height:210px;overflow-y:auto;overscroll-behavior:contain;padding-right:2px;scrollbar-width:thin}.wallet-recent-list::-webkit-scrollbar{width:4px}.wallet-recent-list::-webkit-scrollbar-thumb{background:#cfd5df;border-radius:999px}.wallet-recent-card .compact-card-head{position:sticky;top:0;background:#fff;z-index:2;padding-bottom:4px;margin-bottom:0}
.admin-legacy-proof{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:6px 0;padding:7px;background:#f6f8fb;border:1px solid #e5e9ef;border-radius:8px;font-size:8px}.admin-legacy-proof a{font-weight:900}
@media(max-width:430px){.deposit-form-row{grid-template-columns:1fr 1fr;gap:5px}.deposit-form-row .field{min-width:0;font-size:8px;padding-left:7px;padding-right:7px}.legacy-upload-field small{font-size:6px}}

/* v34 larger mobile typography + matching Add Creditds / Withdraw / Profile layouts */
.user-page-header{min-height:66px!important;padding:9px 10px!important}
.user-page-back{width:40px!important;height:40px!important;font-size:30px!important}
.user-page-title b{font-size:17px!important;line-height:1.15!important}
.user-page-title span{font-size:10.5px!important;line-height:1.2!important;margin-top:3px!important}
.user-page-balance{padding:7px 10px!important}
.user-page-balance small{font-size:9px!important}
.user-page-balance b{font-size:12px!important}
.user-page-shell{padding:9px!important}
.user-page-shell .notice{font-size:11px!important;line-height:1.4!important;padding:10px 11px!important}
.user-page-shell .msg{font-size:12px!important}
.compact-data-card{padding:12px!important;border-radius:15px!important}
.compact-data-card h3{font-size:15px!important;margin-bottom:4px!important}
.compact-data-card>.muted,.wallet-action-card>.muted{font-size:11px!important;line-height:1.35!important}
.wallet-method-label,.legacy-payout-card label{font-size:11.5px!important;line-height:1.25!important}
.wallet-method-label .field,.legacy-payout-card .field,.profile-details-form .field{margin-top:5px!important}
.user-page-shell .field{font-size:13px!important;min-height:43px!important;padding:10px 11px!important}
.user-page-shell select.field{font-size:13px!important}
.user-page-shell .btn,.user-page-shell .btnlink{font-size:13px!important;min-height:43px!important;padding:11px 13px!important}
.method-detail-card{padding:11px!important}
.method-detail-card>span{font-size:10px!important}
.method-detail-card>b{font-size:15px!important}
.method-detail-card>small{font-size:9px!important}
.method-bank-lines small{font-size:9px!important}
.method-bank-lines b{font-size:11.5px!important}
.legacy-upload-field small{font-size:9px!important}
.file-field{font-size:11px!important}
.compact-card-head>div h3{font-size:15px!important}
.compact-card-head>div span{font-size:10px!important}
.compact-card-head>b{font-size:11px!important}
.transaction-row-main>b{font-size:12px!important}
.transaction-row-main>span{font-size:10px!important}
.transaction-row-main>small{font-size:9.5px!important}
.transaction-row>strong{font-size:10px!important}
.tag{font-size:9px!important;padding:5px 7px!important}

/* Withdraw mirrors Add Creditds */
.withdraw-primary-row{margin-top:8px}
.withdraw-secondary-row{margin-top:8px;align-items:stretch}
.withdraw-profile-shortcut{border:1px solid #dfe4eb;border-radius:11px;background:#f8fafc;padding:9px 10px;display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:43px}
.withdraw-profile-shortcut span{font-size:10px;color:#7a8496;font-weight:800}
.withdraw-profile-shortcut a{font-size:11.5px;font-weight:900;text-decoration:none}

/* Profile mirrors same fixed row system */
.profile-page-shell{max-width:620px!important}
.profile-overview-card{margin-bottom:8px!important}
.profile-overview-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.profile-person{display:flex;align-items:center;gap:10px;min-width:0}
.profile-person .avatar{width:48px!important;height:48px!important;font-size:19px!important;flex:0 0 auto}
.profile-person h2{font-size:16px!important;margin:0 0 3px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-person p{font-size:11px!important;margin:0!important;color:#748095}
.profile-credit-box{flex:0 0 auto;text-align:right;background:#f3f5fa;border:1px solid #e3e7ed;border-radius:11px;padding:8px 10px}
.profile-credit-box span{display:block;font-size:9px;color:#7b8495}
.profile-credit-box b{display:block;font-size:13px;margin-top:2px}
.profile-payment-card{margin-bottom:8px!important}
.profile-details-form{display:grid;gap:7px}
.profile-form-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.profile-action-cell{border:1px solid #dfe4eb;border-radius:11px;background:#f8fafc;padding:8px 9px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.profile-action-cell span{font-size:10px;color:#758094;line-height:1.25}
.profile-action-cell .btn{width:auto!important;min-width:115px;margin:0!important}
.profile-shortcut-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.profile-shortcut-card{margin:0!important;display:flex;align-items:center;justify-content:space-between;gap:8px;text-decoration:none!important}
.profile-shortcut-card div{min-width:0}.profile-shortcut-card b{display:block;font-size:13px}.profile-shortcut-card span{display:block;font-size:10px;color:#778194;margin-top:2px}.profile-shortcut-card>strong{font-size:24px;font-weight:500}
.logout-card{background:#fff!important}

/* Bigger bottom navigation */
.five-user-nav a{font-size:9px!important;padding-top:8px!important;padding-bottom:8px!important}
.five-user-nav a b{font-size:19px!important}

/* Transaction page readability */
.transaction-range-tabs a{font-size:9px!important;padding:8px 3px!important}
.range-caption{font-size:9px!important}
.transaction-summary-grid span{font-size:9px!important}
.transaction-summary-grid b{font-size:15px!important}
.transaction-summary-grid small{font-size:8px!important}
.transaction-toolbar>div span{font-size:9px!important}
.transaction-toolbar select{font-size:11px!important}
.tx-copy b{font-size:11.5px!important}.tx-copy span{font-size:9.5px!important}.tx-copy small{font-size:8.5px!important}.tx-value strong{font-size:11px!important}

@media(max-width:430px){
  .user-page-title span{max-width:190px!important}
  .deposit-form-row,.profile-form-row{grid-template-columns:1fr 1fr!important;gap:6px!important}
  .user-page-shell .field{font-size:12px!important;padding:9px!important}
  .wallet-method-label,.legacy-payout-card label{font-size:11px!important}
  .profile-action-cell{padding:7px}
  .profile-action-cell span{font-size:9px}
  .profile-action-cell .btn{min-width:105px!important;font-size:11px!important}
}
@media(max-width:350px){
  .deposit-form-row,.profile-form-row{grid-template-columns:1fr!important}
  .profile-shortcut-row{grid-template-columns:1fr!important}
  .profile-overview-row{align-items:flex-start}
  .profile-credit-box{padding:7px}
}

/* v35 one user header everywhere: matches Bet History */
.unified-user-top{position:sticky;top:0;background:rgba(255,255,255,.96);z-index:45;border-bottom:1px solid #e7eaf1}
.unified-user-top .unified-user-top-wrap{max-width:560px!important;padding:11px 14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
.unified-user-top .brand{font-weight:900!important;font-size:20px!important;line-height:1.1!important;margin:0!important}
.unified-user-top .tiny{font-size:12px!important;color:#6d778c!important;line-height:1.25!important;margin-top:3px!important}
.unified-user-top .pill{background:#eef2ff!important;padding:8px 12px!important;border-radius:999px!important;font-weight:900!important;font-size:14px!important;white-space:nowrap!important}
.user-unified-wrap{max-width:560px!important;margin:auto!important;padding:14px 14px 94px!important}
.transactions-page-shell.user-unified-wrap{max-width:560px!important}
.profile-page-shell.user-unified-wrap,.wallet-page-shell.user-unified-wrap{max-width:560px!important}
.home-bet-body>.unified-user-top .unified-user-top-wrap{max-width:560px!important}
.play-body>.unified-user-top .unified-user-top-wrap{max-width:560px!important}
.user-page-header,.user-page-back{display:none!important}
@media(max-width:370px){
  .unified-user-top .unified-user-top-wrap{padding:10px!important}
  .unified-user-top .brand{font-size:18px!important}
  .unified-user-top .tiny{font-size:11px!important}
  .unified-user-top .pill{font-size:13px!important;padding:7px 10px!important}
  .user-unified-wrap{padding-left:10px!important;padding-right:10px!important}
}

/* v36 rupee-prefixed credit presentation */
.unified-user-top .pill,
.home-wallet-chip b,
.user-page-balance b,
.profile-credit-box b,
.transaction-summary-grid b,
.tx-value strong,
.transaction-row-main>b,
.history-day-summary b,
.history-totals b,
.history-bet-chip span,
.history-bet-chip em,
.home-placed-section .placed-box span,
.home-placed-section .placed-box b,
.play-balance,
.placed-box b,
.closed-result-strip strong{font-weight:900!important}

/* v37 larger unified header credit card + clean rupee/value spacing */
.unified-user-top .pill{
  min-width:112px!important;
  min-height:42px!important;
  padding:10px 15px!important;
  border-radius:14px!important;
  font-size:16px!important;
  font-weight:900!important;
  line-height:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  letter-spacing:.1px!important;
}
.home-wallet-chip,
.user-page-balance{
  min-width:112px!important;
  padding:9px 13px!important;
  border-radius:14px!important;
}
.home-wallet-chip small,
.user-page-balance small{
  font-size:10px!important;
}
.home-wallet-chip b,
.user-page-balance b{
  font-size:15px!important;
  font-weight:900!important;
}
@media(max-width:370px){
  .unified-user-top .pill{
    min-width:102px!important;
    min-height:40px!important;
    padding:9px 12px!important;
    font-size:15px!important;
  }
}

/* v38 production-style visual refresh */
:root{
  --ag-primary:#4338ca;
  --ag-primary2:#6d5dfc;
  --ag-cyan:#06b6d4;
  --ag-green:#16a36a;
  --ag-orange:#f59e0b;
  --ag-red:#ef4444;
  --ag-ink:#172033;
  --ag-soft:#f4f6fb;
  --ag-line:#e4e8f1;
}
body.user-page-body,.history-body,.home-bet-body,.play-body{background:linear-gradient(180deg,#f7f8ff 0,#f2f5fb 48%,#eef2f8 100%)!important}
.unified-user-top{
  background:rgba(255,255,255,.97)!important;
  border-bottom:1px solid #e6e9f2!important;
  box-shadow:0 5px 18px rgba(27,39,78,.06)!important;
}
.unified-user-top .unified-user-top-wrap{min-height:64px!important}
.unified-user-top .brand{
  font-size:21px!important;
  letter-spacing:-.35px!important;
  color:#172033!important;
}
.unified-user-top .tiny{display:none!important}
.unified-user-top .pill{
  color:#fff!important;
  background:linear-gradient(135deg,var(--ag-primary),var(--ag-primary2))!important;
  border:0!important;
  box-shadow:0 7px 18px rgba(67,56,202,.24)!important;
}
.user-unified-wrap .card,.history-session-card,.home-board-card,.placed-section,.transaction-range-card,.transaction-summary-grid article{
  border-color:#e7e9f1!important;
  box-shadow:0 9px 25px rgba(30,41,78,.065)!important;
}
.user-unified-wrap .field{
  border:1.5px solid #dde2ed!important;
  background:#fbfcff!important;
  transition:border-color .18s,box-shadow .18s,background .18s!important;
}
.user-unified-wrap .field:focus{
  border-color:var(--ag-primary2)!important;
  background:#fff!important;
  outline:none!important;
  box-shadow:0 0 0 3px rgba(109,93,252,.10)!important;
}
.user-unified-wrap .btn,.user-unified-wrap .btnlink{
  background:linear-gradient(135deg,var(--ag-primary),var(--ag-primary2))!important;
  box-shadow:0 7px 16px rgba(67,56,202,.18)!important;
}
.wallet-action-card{border-top:4px solid var(--ag-primary2)!important}
.wallet-recent-card{border-top:4px solid var(--ag-cyan)!important}
.profile-overview-card{border-top:4px solid var(--ag-primary2)!important}
.profile-payment-card{border-top:4px solid var(--ag-green)!important}
.profile-credit-box{
  background:linear-gradient(135deg,#eef2ff,#f4f1ff)!important;
  border-color:#dcdcff!important;
}
.method-detail-card{
  border:1px solid #e1e5ef!important;
  background:linear-gradient(145deg,#fbfcff,#f5f7ff)!important;
  border-radius:13px!important;
}
.notice{
  background:#fff8e6!important;
  border-color:#f6d889!important;
  color:#765313!important;
  font-weight:750!important;
}
.msg{font-weight:800!important}

/* Modern bottom navigation */
.home-bottom-nav{
  bottom:0!important;
  background:rgba(255,255,255,.97)!important;
  border-top:1px solid #e1e5ee!important;
  box-shadow:0 -9px 28px rgba(24,35,70,.10)!important;
  padding-bottom:max(5px,env(safe-area-inset-bottom))!important;
}
.home-bottom-nav .navin{
  max-width:560px!important;
  padding:6px 7px!important;
  gap:4px!important;
}
.home-bottom-nav a{
  min-width:0!important;
  border-radius:13px!important;
  padding:7px 2px 6px!important;
  color:#7b8497!important;
  font-size:10px!important;
  font-weight:750!important;
  transition:.18s ease!important;
}
.home-bottom-nav a b{
  width:28px!important;
  height:25px!important;
  margin:0 auto 2px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  font-size:18px!important;
}
.home-bottom-nav a.active{
  color:var(--ag-primary)!important;
  background:#eeefff!important;
  font-weight:900!important;
}
.home-bottom-nav a.active b{
  color:#fff!important;
  background:linear-gradient(135deg,var(--ag-primary),var(--ag-primary2))!important;
  box-shadow:0 5px 11px rgba(67,56,202,.22)!important;
}
.home-bottom-nav a:nth-child(2).active{color:#087f5b!important;background:#eafbf4!important}
.home-bottom-nav a:nth-child(2).active b{background:linear-gradient(135deg,#0c9b66,#20b779)!important}
.home-bottom-nav a:nth-child(3).active{color:#b66b00!important;background:#fff6df!important}
.home-bottom-nav a:nth-child(3).active b{background:linear-gradient(135deg,#e89b13,#f6b82f)!important}
.home-bottom-nav a:nth-child(4).active{color:#075f9d!important;background:#eaf6ff!important}
.home-bottom-nav a:nth-child(4).active b{background:linear-gradient(135deg,#0284c7,#22a7e8)!important}
.home-bottom-nav a:nth-child(5).active{color:#7c3aed!important;background:#f3edff!important}
.home-bottom-nav a:nth-child(5).active b{background:linear-gradient(135deg,#7c3aed,#9b5cf6)!important}

/* Form instruction labels */
.wallet-method-label,.profile-details-form label{font-weight:850!important;color:#2a3448!important}
.wallet-method-label .field::placeholder,.profile-details-form .field::placeholder{color:#9aa3b3!important;opacity:1!important}

/* Admin cards refreshed */
.admin-shell .card{border-color:#e3e7f0!important;box-shadow:0 8px 22px rgba(26,39,75,.06)!important}
.admin-shell .btn{background:linear-gradient(135deg,var(--ag-primary),var(--ag-primary2))!important}
.ag-side-nav a.active{background:linear-gradient(135deg,#eef0ff,#f4f1ff)!important;color:var(--ag-primary)!important}

@media(max-width:370px){
  .unified-user-top .brand{font-size:19px!important}
  .home-bottom-nav a{font-size:9px!important}
  .home-bottom-nav a b{font-size:17px!important}
}

/* v39 cleaner UI + stronger app shell */
.unified-user-top{
  background:linear-gradient(135deg,#111827 0%,#1f2937 52%,#312e81 100%)!important;
  border-bottom:0!important;
  box-shadow:0 7px 22px rgba(17,24,39,.18)!important;
}
.unified-user-top .brand{
  color:#fff!important;
}
.unified-user-top .pill{
  background:rgba(255,255,255,.14)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:none!important;
  backdrop-filter:blur(8px)!important;
}
.unified-user-top .unified-user-top-wrap{
  min-height:68px!important;
}

/* Cleaner cards: less explanatory text, stronger hierarchy */
.wallet-action-card>h3,
.wallet-recent-card h3,
.profile-payment-card h3,
.transaction-activity-card h3{
  margin-bottom:10px!important;
}
.wallet-action-card>.muted,
.compact-card-head span,
.profile-shortcut-card span,
.legacy-upload-field small,
.range-caption{
  display:none!important;
}
.profile-action-cell{
  justify-content:flex-end!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
}
.profile-action-cell .btn{
  width:100%!important;
  min-width:0!important;
}
.withdraw-profile-shortcut{
  align-items:center!important;
  text-align:center!important;
  justify-content:center!important;
}
.withdraw-profile-shortcut a{
  color:#4338ca!important;
}

/* Footer becomes a distinct dark app bar */
.home-bottom-nav{
  background:linear-gradient(135deg,#111827,#1f2937)!important;
  border-top:0!important;
  box-shadow:0 -8px 24px rgba(17,24,39,.18)!important;
}
.home-bottom-nav .navin{
  padding:7px 7px 6px!important;
}
.home-bottom-nav a{
  color:#aeb7c7!important;
  background:transparent!important;
}
.home-bottom-nav a b{
  color:#cbd5e1!important;
}
.home-bottom-nav a.active{
  color:#fff!important;
  background:rgba(255,255,255,.09)!important;
}
.home-bottom-nav a.active b{
  background:#fff!important;
  color:#312e81!important;
  box-shadow:none!important;
}
.home-bottom-nav a:nth-child(2).active,
.home-bottom-nav a:nth-child(3).active,
.home-bottom-nav a:nth-child(4).active,
.home-bottom-nav a:nth-child(5).active{
  color:#fff!important;
  background:rgba(255,255,255,.09)!important;
}
.home-bottom-nav a:nth-child(2).active b,
.home-bottom-nav a:nth-child(3).active b,
.home-bottom-nav a:nth-child(4).active b,
.home-bottom-nav a:nth-child(5).active b{
  background:#fff!important;
  color:#312e81!important;
}

/* Tighten shortcut cards */
.profile-shortcut-card{
  min-height:70px!important;
}
.profile-shortcut-card b{
  font-size:14px!important;
}
.profile-shortcut-card>strong{
  color:#4338ca!important;
}

/* Make upload control visually cleaner */
.file-field{
  min-height:43px!important;
  padding:7px!important;
}
.file-field::file-selector-button{
  border:0!important;
  background:#eef0ff!important;
  color:#4338ca!important;
  font-weight:800!important;
  border-radius:9px!important;
  padding:8px 10px!important;
  margin-right:8px!important;
}

/* Trim bottom spacing now that cards are cleaner */
.user-unified-wrap{
  padding-top:12px!important;
}

/* v40 premium auth + settings + support */
:root{--premium-a:#0b132b;--premium-b:#1c2541;--premium-c:#5b21b6;--premium-d:#7c3aed;--premium-gold:#f4c66a}
.auth-premium-body{min-height:100vh;margin:0;background:
radial-gradient(circle at 15% 10%,rgba(124,58,237,.30),transparent 32%),
radial-gradient(circle at 90% 20%,rgba(14,165,233,.20),transparent 30%),
linear-gradient(155deg,#080d1c,#111a35 54%,#1c1450);color:#172033}
.auth-premium-shell{width:min(100%,460px);margin:auto;padding:36px 17px 28px}
.auth-brand{text-align:center;color:#fff;margin-bottom:18px}.auth-brand h1{font-size:26px;margin:10px 0 0;letter-spacing:-.5px}
.auth-brand-mark,.auth-brand img{width:72px;height:72px;border-radius:22px;margin:auto;display:grid;place-items:center;background:linear-gradient(135deg,#7c3aed,#3b82f6);color:#fff;font-size:24px;font-weight:950;box-shadow:0 14px 34px rgba(0,0,0,.25);object-fit:cover}
.auth-premium-card{background:rgba(255,255,255,.97);border:1px solid rgba(255,255,255,.65);border-radius:26px;padding:20px;box-shadow:0 22px 60px rgba(3,8,28,.32)}
.auth-card-title h2{font-size:22px;margin:0 0 16px}.auth-form{display:grid;gap:12px}.auth-form label{font-size:12px;font-weight:900;color:#303a50}
.auth-form .field{margin-top:6px;min-height:48px;border-radius:14px;background:#f8faff;border:1.5px solid #e0e5f0;font-size:14px}
.auth-form .field:focus{outline:none;border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.11);background:#fff}
.auth-two-col{display:grid;grid-template-columns:1fr 1fr;gap:9px}.auth-main-btn{min-height:50px!important;border-radius:15px!important;background:linear-gradient(135deg,#5b21b6,#7c3aed 55%,#2563eb)!important;font-size:15px!important;box-shadow:0 12px 24px rgba(91,33,182,.24)!important}
.auth-switch{text-align:center;font-size:12px;color:#6d778c;margin-top:15px}.auth-switch a{color:#5b21b6;font-weight:900}
.auth-support-link{display:block;margin:10px auto 0;border:0;background:transparent;color:#475569;font-weight:900;font-size:12px;text-decoration:underline;cursor:pointer}
.captcha-row{display:grid;grid-template-columns:118px 1fr;gap:8px;align-items:end}.captcha-code{height:48px;border-radius:14px;display:grid;place-items:center;background:repeating-linear-gradient(135deg,#171f38,#171f38 8px,#222c4c 8px,#222c4c 16px);color:#fff;font-weight:950;font-size:20px;letter-spacing:4px;user-select:none}
.support-modal[hidden]{display:none!important}.support-modal{position:fixed;inset:0;z-index:200;display:grid;place-items:end center}.support-modal-scrim{position:absolute;inset:0;border:0;background:rgba(5,10,25,.58)}.support-modal-card{position:relative;width:min(100%,480px);background:#fff;border-radius:24px 24px 0 0;padding:17px 17px calc(17px + env(safe-area-inset-bottom));box-shadow:0 -18px 50px rgba(0,0,0,.22)}
.support-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.support-modal-head b{font-size:18px}.support-modal-head button{width:34px;height:34px;border:0;border-radius:50%;font-size:23px;background:#eef1f7}
.support-contact-row{display:flex;gap:7px;margin-bottom:12px}.support-contact-row:empty{display:none}.support-contact-row a{flex:1;text-align:center;text-decoration:none;padding:10px 7px;border-radius:11px;background:#eef0ff;color:#4c1d95;font-weight:900;font-size:12px}
.support-form{display:grid;gap:9px}.support-form label{font-size:11px;font-weight:900}.support-textarea{min-height:92px;resize:vertical}
.modal-open{overflow:hidden}
.profile-support-card{border:1px solid #e5e8ef;cursor:pointer;text-align:left;width:auto;font-family:inherit}
.settings-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.settings-grid .card{margin:0}.settings-card label{display:block;font-size:12px;font-weight:850;margin:10px 0}.setting-toggle{display:flex!important;align-items:center;justify-content:space-between}.setting-toggle input{width:20px;height:20px}.settings-save{grid-column:1/-1}
.admin-logo-preview{display:flex;align-items:center;gap:12px;margin-top:10px}.admin-logo-preview img{width:64px;height:64px;object-fit:cover;border-radius:15px}.admin-logo-preview label{margin:0!important}
.support-filter-tabs{display:flex;gap:7px}.support-filter-tabs a{text-decoration:none;padding:8px 12px;border-radius:10px;font-weight:850;font-size:12px;background:#f0f2f7}.support-filter-tabs a.active{background:#172033;color:#fff}
.support-admin-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.support-ticket-card{margin:0}.support-ticket-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.support-ticket-head b{font-size:14px}.support-ticket-head span{display:block;font-size:10px;color:#7a8497;margin-top:3px}.support-ticket-card p{font-size:12px;line-height:1.5}.support-admin-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:end}
.unified-brand-line{display:flex;align-items:center;gap:9px}.header-site-logo{width:34px;height:34px;border-radius:10px;object-fit:cover}
/* premium logged-in chrome */
.unified-user-top{background:linear-gradient(125deg,#0f172a,#1e293b 58%,#3b1d77)!important}
.home-bottom-nav{background:linear-gradient(125deg,#0f172a,#172033 58%,#28164e)!important}
.home-bottom-nav a.active{background:rgba(244,198,106,.13)!important;color:#f9e3a8!important}
.home-bottom-nav a.active b{background:linear-gradient(135deg,#f4c66a,#fff0b0)!important;color:#24143f!important}
@media(max-width:760px){.settings-grid{grid-template-columns:1fr}.support-admin-list{grid-template-columns:1fr}}
@media(max-width:360px){.auth-two-col{grid-template-columns:1fr}.captcha-row{grid-template-columns:105px 1fr}.auth-premium-shell{padding-left:12px;padding-right:12px}}

.support-recent{margin-top:15px;padding-top:13px;border-top:1px solid #e7eaf1}.support-recent>b{font-size:13px}.support-recent-item{padding:9px 0;border-bottom:1px solid #edf0f5}.support-recent-item>div{display:flex;align-items:center;gap:7px}.support-recent-item strong{font-size:11px}.support-recent-item span{font-size:9px;color:#7c8596}.support-recent-item em{margin-left:auto;font-style:normal;font-size:8px;font-weight:900;padding:4px 6px;border-radius:999px;background:#fff5d8;color:#986700}.support-recent-item em.closed{background:#e8fff5;color:#087f5b}.support-recent-item p{font-size:10px;margin:6px 0;color:#4b5567}.support-recent-item small{display:block;background:#f3f5fb;border-radius:9px;padding:7px;font-size:10px;color:#344055}

/* v41 Bet History cleanup */
.history-day-summary-clean{
  grid-template-columns:repeat(2,1fr)!important;
}
.history-day-summary-clean>div{
  text-align:center!important;
}

/* v42 Bet History four-box summary */
.history-day-summary-four{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:6px!important;
}
.history-day-summary-four>div{
  min-width:0!important;
  text-align:center!important;
}
.history-day-summary-four span{
  font-size:9px!important;
}
.history-day-summary-four b{
  font-size:12px!important;
  white-space:nowrap!important;
}
@media(max-width:350px){
  .history-day-summary-four{gap:4px!important}
  .history-day-summary-four span{font-size:8px!important}
  .history-day-summary-four b{font-size:11px!important}
}

/* v43 shared slim 4-box data component */
.app-slim-data-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:5px!important;
  width:100%!important;
}
.app-slim-box{
  min-width:0!important;
  min-height:44px!important;
  margin:0!important;
  padding:6px 4px!important;
  border:1px solid #e4e8f0!important;
  border-radius:9px!important;
  background:#f7f8fb!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.app-slim-box small{
  display:block!important;
  margin:0 0 2px!important;
  font-size:7.5px!important;
  line-height:1.05!important;
  color:#7b8495!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
.app-slim-box b{
  display:block!important;
  margin:0!important;
  max-width:100%!important;
  font-size:10.5px!important;
  line-height:1.1!important;
  font-weight:900!important;
  color:#172033!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.app-slim-box b.positive{color:#087f5b!important}
.app-slim-link{
  background:#eef0ff!important;
  border-color:#dcdfff!important;
}
.app-slim-link small,.app-slim-link b{color:#4338ca!important}

/* Bet History uses exactly the same box sizes in summary + session rows */
.history-day-summary{
  margin:0 0 8px!important;
}
.history-totals{
  margin:8px 0!important;
  align-items:stretch!important;
}
.history-totals .app-slim-box{
  padding:6px 3px!important;
}
.history-totals a.app-slim-link{
  font-size:inherit!important;
  font-weight:inherit!important;
}

/* Home/Dashboard session data now uses the same slim boxes */
.home-slim-session-card{
  display:block!important;
  padding:9px!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#172033!important;
  border:1px solid #e4e8f0!important;
  box-shadow:0 7px 20px rgba(30,41,78,.07)!important;
}
.home-slim-session-title{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  margin-bottom:7px!important;
}
.home-slim-session-title h1{
  min-width:0!important;
  margin:0!important;
  font-size:14px!important;
  line-height:1.1!important;
  color:#172033!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.home-slim-session-title .home-live-pill{
  flex:0 0 auto!important;
}
.home-session-data-grid .app-slim-box{
  min-height:42px!important;
  background:#f7f8fb!important;
}
.home-session-data-grid .app-slim-countdown{
  background:#172033!important;
  border-color:#172033!important;
}
.home-session-data-grid .app-slim-countdown small{
  color:#b9c3d3!important;
}
.home-session-data-grid .app-slim-countdown b{
  color:#fff!important;
  font-variant-numeric:tabular-nums!important;
}
.home-slim-session-card .home-live-pill{
  color:#087f5b!important;
  background:#e8fff5!important;
  padding:5px 7px!important;
  border-radius:999px!important;
  font-size:8px!important;
  font-weight:900!important;
}
.home-slim-session-card .home-live-pill.closed{
  color:#c92a2a!important;
  background:#fff0f0!important;
}
.home-slim-session-card .home-live-pill i{
  width:6px!important;
  height:6px!important;
}
@media(max-width:350px){
  .app-slim-data-grid{gap:3px!important}
  .app-slim-box{min-height:41px!important;padding:5px 2px!important}
  .app-slim-box small{font-size:7px!important}
  .app-slim-box b{font-size:9.5px!important}
}

/* v44 slim history data + dashboard bet cards */
.history-totals.app-slim-data-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.history-totals.app-slim-data-grid>*{
  grid-column:auto!important;
  min-width:0!important;
}
.history-totals .app-slim-box{
  min-height:40px!important;
  height:40px!important;
  padding:5px 3px!important;
}

/* History placed-number data: always 4 compact cards per row */
.history-bet-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:4px!important;
}
.history-bet-chip{
  min-width:0!important;
  min-height:32px!important;
  height:32px!important;
  padding:4px 2px!important;
  border-radius:8px!important;
  gap:2px!important;
  white-space:nowrap!important;
}
.history-bet-chip strong{
  font-size:10.5px!important;
  line-height:1!important;
}
.history-bet-chip span{
  font-size:8.5px!important;
  line-height:1!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.history-bet-chip em{
  font-size:8px!important;
  line-height:1!important;
}

/* Home Your Bets matches the slim View Session placed-bet cards */
.home-placed-scroll{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-rows:34px!important;
  gap:4px!important;
  max-height:148px!important;
  padding:7px!important;
  align-content:start!important;
}
.home-placed-scroll .placed-box{
  min-height:34px!important;
  height:34px!important;
  max-height:34px!important;
  padding:4px 3px!important;
  border-radius:8px!important;
  flex:none!important;
}
.home-placed-scroll .placed-box strong{
  font-size:10px!important;
  line-height:1!important;
}
.home-placed-scroll .placed-box span{
  font-size:8.5px!important;
  line-height:1!important;
}
.home-placed-section{
  flex:none!important;
  min-height:0!important;
}
@media(max-width:360px){
  .history-bet-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .history-totals.app-slim-data-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .history-totals.app-slim-data-grid>*{
    grid-column:auto!important;
  }
  .home-placed-scroll{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-auto-rows:32px!important;
  }
  .home-placed-scroll .placed-box{
    min-height:32px!important;
    height:32px!important;
    max-height:32px!important;
  }
}

/* v45 Home Your Bets light mint cards */
.home-placed-scroll .placed-box{
  background:#edf9f2!important;
  border:1px solid #bde8cf!important;
  color:#172033!important;
  box-shadow:none!important;
}
.home-placed-scroll .placed-box strong,
.home-placed-scroll .placed-box span,
.home-placed-scroll .placed-box span b{
  color:#172033!important;
  font-weight:900!important;
}
.home-placed-scroll .placed-box:active{
  background:#e2f6eb!important;
  border-color:#a8ddbd!important;
}
.home-placed-scroll .placed-box.won{
  background:#dff7e8!important;
  border-color:#a9dfbf!important;
}
.home-placed-scroll .placed-box.lost{
  background:#f4f5f7!important;
  border-color:#e1e3e8!important;
  color:#172033!important;
}

/* v47 all-session Home selector + lifecycle states */
.home-session-hub-card{
  background:#fff;
  border:1px solid #e3e7ef;
  border-radius:15px;
  padding:9px;
  box-shadow:0 7px 20px rgba(30,41,78,.06);
}
.home-session-hub-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:7px;
  padding:0 2px;
}
.home-session-hub-head>b{font-size:13px}
.home-session-hub-head>span{font-size:8px;color:#7b8495;font-weight:800}
.home-session-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;
  max-height:126px;
  overflow-y:auto;
  padding-right:1px;
  scrollbar-width:thin;
}
.home-session-select-card{
  min-width:0;
  min-height:49px;
  border:1px solid #e1e5ed;
  border-radius:10px;
  padding:6px 7px;
  text-decoration:none;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:5px;
  background:#f8f9fc;
}
.home-session-select-card>div{min-width:0}
.home-session-select-card b{
  display:block;
  font-size:9.5px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.home-session-select-card small{
  display:block;
  margin-top:2px;
  font-size:7px;
  color:#7c8595;
  white-space:nowrap;
}
.home-session-select-card>span{
  font-size:6.5px;
  line-height:1.05;
  font-weight:950;
  text-align:center;
  border-radius:999px;
  padding:5px 6px;
  white-space:nowrap;
}
.home-session-select-card.state-open{background:#effbf5;border-color:#b9e9cf}
.home-session-select-card.state-open>span{background:#d8f7e7;color:#087f5b}
.home-session-select-card.state-waiting{background:#fff9e7;border-color:#f0d98d}
.home-session-select-card.state-waiting>span{background:#ffefb5;color:#936300}
.home-session-select-card.state-closed{background:#fff3f3;border-color:#f2c5c5}
.home-session-select-card.state-closed>span{background:#ffe0e0;color:#c92a2a}
.home-session-select-card.state-upcoming{background:#f1f6ff;border-color:#cddcf5}
.home-session-select-card.state-upcoming>span{background:#e2ecff;color:#315ea8}
.home-session-select-card.selected{
  box-shadow:inset 0 0 0 2px currentColor;
}
.home-session-select-card.state-open.selected{color:#087f5b}
.home-session-select-card.state-waiting.selected{color:#936300}
.home-session-select-card.state-closed.selected{color:#c92a2a}
.home-session-select-card.state-upcoming.selected{color:#315ea8}
.home-session-select-card.selected b{color:#172033}

.home-selected-session{
  margin-top:7px;
  padding-top:7px;
  border-top:1px solid #edf0f5;
}
.home-selected-session .home-slim-session-title{margin-bottom:6px!important}
.home-session-state-pill{
  flex:0 0 auto;
  border-radius:999px;
  padding:5px 7px;
  font-size:7px;
  font-weight:950;
  white-space:nowrap;
}
.home-session-state-pill.state-open{background:#dcf8e9;color:#087f5b}
.home-session-state-pill.state-waiting{background:#ffefb5;color:#936300}
.home-session-state-pill.state-closed{background:#ffe0e0;color:#c92a2a}
.home-session-state-pill.state-upcoming{background:#e2ecff;color:#315ea8}

.home-session-data-grid .app-slim-countdown.state-open{
  background:#087f5b!important;border-color:#087f5b!important;
}
.home-session-data-grid .app-slim-countdown.state-waiting{
  background:#f3b61f!important;border-color:#e9a900!important;
}
.home-session-data-grid .app-slim-countdown.state-upcoming{
  background:#315ea8!important;border-color:#315ea8!important;
}
.home-session-data-grid .app-slim-countdown.state-closed{
  background:#c92a2a!important;border-color:#c92a2a!important;
}
.home-session-data-grid .app-slim-countdown.state-open small,
.home-session-data-grid .app-slim-countdown.state-waiting small,
.home-session-data-grid .app-slim-countdown.state-upcoming small,
.home-session-data-grid .app-slim-countdown.state-closed small{color:rgba(255,255,255,.78)!important}
.home-session-data-grid .app-slim-countdown.state-open b,
.home-session-data-grid .app-slim-countdown.state-waiting b,
.home-session-data-grid .app-slim-countdown.state-upcoming b,
.home-session-data-grid .app-slim-countdown.state-closed b{color:#fff!important}

.home-board-head .home-live-pill.state-open{background:#e8fff5!important;color:#087f5b!important}
.home-board-head .home-live-pill.state-waiting{background:#fff4cf!important;color:#936300!important}
.home-board-head .home-live-pill.state-closed{background:#fff0f0!important;color:#c92a2a!important}
.home-board-head .home-live-pill.state-upcoming{background:#edf4ff!important;color:#315ea8!important}
.home-board-head .home-live-pill.state-waiting i{background:#f3b61f!important;box-shadow:0 0 0 3px rgba(243,182,31,.14)!important}
.home-board-head .home-live-pill.state-closed i{background:#e14b4b!important;box-shadow:0 0 0 3px rgba(225,75,75,.12)!important}
.home-board-head .home-live-pill.state-upcoming i{background:#4c7bc7!important;box-shadow:0 0 0 3px rgba(76,123,199,.12)!important}

@media(max-width:360px){
  .home-session-card-grid{gap:4px}
  .home-session-select-card{padding:5px;min-height:46px}
  .home-session-select-card b{font-size:9px}
  .home-session-select-card>span{font-size:6px;padding:4px}
}

/* v48 managed session cards — all session information inside each card */
.managed-session-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  max-height:292px!important;
  overflow-y:auto!important;
  padding:1px!important;
  align-items:stretch!important;
}
.managed-session-card{
  display:block!important;
  min-height:128px!important;
  padding:8px!important;
  border-radius:12px!important;
  text-decoration:none!important;
  position:relative!important;
}
.managed-session-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:5px!important;
  margin-bottom:7px!important;
}
.managed-session-head>b{
  min-width:0!important;
  font-size:10.5px!important;
  line-height:1.1!important;
  color:#172033!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.managed-session-head>span{
  flex:0 0 auto!important;
  font-size:6.5px!important;
  line-height:1!important;
  font-weight:950!important;
  padding:5px 6px!important;
  border-radius:999px!important;
  white-space:nowrap!important;
}
.managed-session-card.state-open .managed-session-head>span{background:#d8f7e7!important;color:#087f5b!important}
.managed-session-card.state-waiting .managed-session-head>span{background:#ffefb5!important;color:#936300!important}
.managed-session-card.state-closed .managed-session-head>span{background:#ffe0e0!important;color:#c92a2a!important}
.managed-session-card.state-upcoming .managed-session-head>span{background:#e2ecff!important;color:#315ea8!important}

.managed-session-times{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:4px!important;
}
.managed-session-times>div{
  min-width:0!important;
  min-height:39px!important;
  padding:5px 2px!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.72)!important;
  border:1px solid rgba(213,219,230,.9)!important;
  text-align:center!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.managed-session-times small{
  font-size:6.5px!important;
  line-height:1!important;
  color:#7a8495!important;
  font-weight:850!important;
}
.managed-session-times b{
  margin-top:3px!important;
  font-size:8.5px!important;
  line-height:1!important;
  color:#172033!important;
  font-weight:900!important;
  white-space:nowrap!important;
}

.managed-session-foot{
  min-height:31px!important;
  margin-top:5px!important;
  border-radius:8px!important;
  padding:5px 7px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:5px!important;
}
.managed-session-foot small{
  font-size:6.5px!important;
  line-height:1!important;
  font-weight:900!important;
  text-transform:uppercase!important;
}
.managed-session-foot b{
  font-size:10px!important;
  line-height:1!important;
  font-weight:950!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
}
.managed-session-card.state-open .managed-session-foot{background:#087f5b!important;color:#fff!important}
.managed-session-card.state-waiting .managed-session-foot{background:#f3b61f!important;color:#3e2a00!important}
.managed-session-card.state-upcoming .managed-session-foot{background:#315ea8!important;color:#fff!important}
.managed-session-card.state-closed .managed-session-foot{background:#c92a2a!important;color:#fff!important}

.managed-session-card.selected{
  box-shadow:0 0 0 2px currentColor,0 7px 18px rgba(25,36,58,.08)!important;
}
.managed-session-card.state-open.selected{color:#087f5b!important}
.managed-session-card.state-waiting.selected{color:#a56e00!important}
.managed-session-card.state-closed.selected{color:#c92a2a!important}
.managed-session-card.state-upcoming.selected{color:#315ea8!important}

/* No separate selected-session information area below the cards */
.home-selected-session{display:none!important}

@media(max-width:360px){
  .managed-session-grid{gap:5px!important}
  .managed-session-card{min-height:120px!important;padding:6px!important}
  .managed-session-head>b{font-size:9.5px!important}
  .managed-session-head>span{font-size:5.8px!important;padding:4px 5px!important}
  .managed-session-times{gap:3px!important}
  .managed-session-times>div{min-height:36px!important;padding:4px 1px!important}
  .managed-session-times small{font-size:6px!important}
  .managed-session-times b{font-size:7.8px!important}
  .managed-session-foot{min-height:29px!important;padding:5px!important}
  .managed-session-foot small{font-size:6px!important}
  .managed-session-foot b{font-size:9px!important}
}

/* v49 extra-compact Home session cards */
.managed-session-grid{
  max-height:230px!important;
  gap:6px!important;
}
.compact-managed-session{
  min-height:82px!important;
  padding:7px!important;
  border-radius:11px!important;
}
.compact-session-head{
  margin-bottom:5px!important;
  min-height:23px!important;
}
.compact-session-head>b{
  font-size:10px!important;
}
.session-state-inline{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  padding:0!important;
  background:transparent!important;
  border-radius:0!important;
}
.session-state-inline em{
  font-style:normal!important;
  font-size:5.9px!important;
  line-height:1!important;
  font-weight:950!important;
  border-radius:999px!important;
  padding:4px 5px!important;
  white-space:nowrap!important;
}
.session-state-inline strong{
  font-size:8.7px!important;
  line-height:1!important;
  font-weight:950!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
}
.compact-managed-session.state-open .session-state-inline em{background:#d8f7e7!important;color:#087f5b!important}
.compact-managed-session.state-open .session-state-inline strong{color:#087f5b!important}
.compact-managed-session.state-upcoming .session-state-inline em{background:#e2ecff!important;color:#315ea8!important}
.compact-managed-session.state-upcoming .session-state-inline strong{color:#315ea8!important}
.compact-managed-session.state-waiting .session-state-inline em{background:#ffefb5!important;color:#936300!important}
.compact-managed-session.state-waiting .session-state-inline strong{color:#936300!important}
.compact-managed-session.state-closed .session-state-inline em{background:#ffe0e0!important;color:#c92a2a!important}
.compact-managed-session.state-closed .session-state-inline strong{color:#c92a2a!important}

.compact-session-times{
  gap:3px!important;
}
.compact-session-times>div{
  min-height:32px!important;
  height:32px!important;
  padding:3px 1px!important;
  border-radius:7px!important;
}
.compact-session-times small{
  font-size:5.8px!important;
}
.compact-session-times b{
  margin-top:2px!important;
  font-size:7.8px!important;
}

/* old separate countdown bar is no longer used */
.compact-managed-session .managed-session-foot{
  display:none!important;
}

@media(max-width:360px){
  .compact-managed-session{
    min-height:76px!important;
    padding:6px!important;
  }
  .compact-session-head>b{font-size:9.3px!important}
  .session-state-inline{gap:3px!important}
  .session-state-inline em{font-size:5.3px!important;padding:3px 4px!important}
  .session-state-inline strong{font-size:7.8px!important}
  .compact-session-times>div{min-height:29px!important;height:29px!important}
  .compact-session-times small{font-size:5.2px!important}
  .compact-session-times b{font-size:7.2px!important}
}

/* v50 horizontal session rail — ~2 cards visible */
.managed-session-grid{
  display:flex!important;
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  max-height:none!important;
  gap:6px!important;
  padding:1px 1px 5px!important;
  scroll-snap-type:x proximity!important;
  overscroll-behavior-x:contain!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:none!important;
}
.managed-session-grid::-webkit-scrollbar{display:none!important}

.compact-managed-session{
  flex:0 0 calc(50% - 3px)!important;
  width:calc(50% - 3px)!important;
  min-width:calc(50% - 3px)!important;
  min-height:68px!important;
  height:auto!important;
  padding:6px!important;
  border-radius:10px!important;
  scroll-snap-align:start!important;
}

/* Open green, upcoming yellow, waiting yellow, closed red */
.compact-managed-session.state-open{
  background:#effbf5!important;
  border-color:#a8dfc2!important;
}
.compact-managed-session.state-upcoming{
  background:#fff8df!important;
  border-color:#efd589!important;
}
.compact-managed-session.state-waiting{
  background:#fff5cf!important;
  border-color:#e9c75d!important;
}
.compact-managed-session.state-closed{
  background:#fff0f0!important;
  border-color:#efbcbc!important;
}

.compact-managed-session.state-open.selected{
  color:#087f5b!important;
  box-shadow:inset 0 0 0 2px #159463!important;
}
.compact-managed-session.state-upcoming.selected,
.compact-managed-session.state-waiting.selected{
  color:#946600!important;
  box-shadow:inset 0 0 0 2px #d7a91f!important;
}
.compact-managed-session.state-closed.selected{
  color:#c92a2a!important;
  box-shadow:inset 0 0 0 2px #dc4d4d!important;
}

.compact-session-head{
  min-height:18px!important;
  margin-bottom:4px!important;
}
.compact-session-head>b{
  font-size:9.5px!important;
}
.session-state-inline em{
  font-size:5.3px!important;
  padding:3px 4px!important;
}
.session-state-inline strong{
  font-size:7.8px!important;
}

/* Upcoming/waiting are yellow rather than blue */
.compact-managed-session.state-upcoming .session-state-inline em{
  background:#ffefb5!important;
  color:#936300!important;
}
.compact-managed-session.state-upcoming .session-state-inline strong{
  color:#936300!important;
}

.compact-session-times{
  gap:3px!important;
}
.compact-session-times>div{
  min-height:27px!important;
  height:27px!important;
  padding:2px 1px!important;
  border-radius:6px!important;
}
.compact-session-times small{
  font-size:5.2px!important;
}
.compact-session-times b{
  margin-top:1px!important;
  font-size:7.1px!important;
}

/* Hide old unused footer completely */
.compact-managed-session .managed-session-foot{display:none!important}

@media(max-width:360px){
  .compact-managed-session{
    flex-basis:calc(50% - 3px)!important;
    width:calc(50% - 3px)!important;
    min-width:calc(50% - 3px)!important;
    min-height:64px!important;
    padding:5px!important;
  }
  .compact-session-head>b{font-size:8.8px!important}
  .session-state-inline em{font-size:4.9px!important}
  .session-state-inline strong{font-size:7.2px!important}
  .compact-session-times>div{min-height:25px!important;height:25px!important}
  .compact-session-times b{font-size:6.7px!important}
}

/* v51 home cleanup */
.home-session-hub-head{display:none!important}
.home-session-hub-card{padding-top:10px!important}
.home-board-card{padding-bottom:10px!important}
.home-board-head{margin-bottom:8px!important}
.home-number-board{margin-bottom:0!important}

/* v51 Home cleanup */
.home-session-hub-card{padding-top:8px!important;padding-bottom:8px!important}
.home-board-head{padding-bottom:6px!important}
.home-board-head>div b{font-size:13px!important;font-weight:900!important}
.home-board-legend{display:none!important}

/* v52 declared result + winner feedback */
.compact-managed-session.result-declared{
  background:#fff3f3!important;
  border-color:#efbcbc!important;
}
.compact-managed-session.result-declared .session-state-inline em{
  background:#ffe0e0!important;
  color:#c92a2a!important;
}
.compact-managed-session.result-declared .session-state-inline strong{
  color:#c92a2a!important;
  font-size:9px!important;
}
.compact-managed-session.result-declared.selected{
  color:#c92a2a!important;
  box-shadow:inset 0 0 0 2px #dc4d4d!important;
}

.home-board-head .home-live-pill.state-result{
  background:#fff4cc!important;
  color:#8a6100!important;
  border:1px solid #f0d26d!important;
}
.home-board-head .home-live-pill.state-result i{
  background:#e4ad16!important;
  box-shadow:0 0 0 3px rgba(228,173,22,.16)!important;
}

/* Declared winning number is always gold */
.home-number-board .board-num.result-gold,
.home-number-board .board-num.result-gold:disabled{
  opacity:1!important;
  background:linear-gradient(145deg,#ffe895,#f0b91e)!important;
  border-color:#d89b00!important;
  color:#422f00!important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.52),
    0 0 0 2px rgba(240,185,30,.18),
    0 5px 14px rgba(217,155,0,.22)!important;
  position:relative!important;
  z-index:2!important;
}
.home-number-board .board-num.result-gold::after{
  content:'★';
  position:absolute;
  top:2px;
  right:3px;
  font-size:7px;
  line-height:1;
  color:#7b5400;
}
.home-number-board .board-num.user-winner-number{
  animation:agWinnerGold 1s ease-in-out infinite alternate!important;
}
@keyframes agWinnerGold{
  from{
    transform:scale(1);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 0 0 2px rgba(240,185,30,.18),0 4px 12px rgba(217,155,0,.20);
  }
  to{
    transform:scale(.95);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.7),0 0 0 4px rgba(255,207,61,.34),0 7px 18px rgba(217,155,0,.32);
  }
}

/* Result feedback */
.result-feedback{
  margin-top:7px;
  border-radius:13px;
  padding:9px 11px;
  display:flex;
  align-items:center;
  gap:9px;
  border:1px solid;
  box-shadow:0 6px 16px rgba(30,41,78,.06);
}
.result-feedback-icon{
  width:36px;
  height:36px;
  flex:0 0 36px;
  border-radius:11px;
  display:grid;
  place-items:center;
  font-size:18px;
  font-weight:950;
}
.result-feedback small{
  display:block;
  font-size:7px;
  font-weight:900;
  letter-spacing:.25px;
}
.result-feedback b{
  display:block;
  margin-top:1px;
  font-size:13px;
  line-height:1.05;
  font-weight:950;
}
.result-feedback span{
  display:block;
  margin-top:2px;
  font-size:9px;
  font-weight:850;
}
.result-feedback-winner{
  background:linear-gradient(135deg,#fff8d9,#fff0a6)!important;
  border-color:#e7c756!important;
  color:#5e4300!important;
}
.result-feedback-winner .result-feedback-icon{
  background:linear-gradient(145deg,#ffd85e,#e9aa0c);
  color:#4b3200;
  box-shadow:0 4px 12px rgba(221,161,0,.22);
}
.result-feedback-lost{
  background:linear-gradient(135deg,#f7f7fb,#f0f2f7)!important;
  border-color:#dfe3eb!important;
  color:#596275!important;
}
.result-feedback-lost .result-feedback-icon{
  background:#e8ebf2;
  color:#697386;
}

/* Winning bet card becomes gold after result */
.home-placed-scroll .placed-box.won{
  background:linear-gradient(145deg,#fff4bd,#f2c84e)!important;
  border-color:#d7aa21!important;
  color:#4d3700!important;
  box-shadow:0 3px 9px rgba(204,151,0,.14)!important;
}
.home-placed-scroll .placed-box.won strong,
.home-placed-scroll .placed-box.won span,
.home-placed-scroll .placed-box.won span b{
  color:#4d3700!important;
}
.home-placed-scroll .placed-box.lost{
  background:#f4f5f7!important;
  border-color:#e1e3e8!important;
  color:#596275!important;
}
@media (prefers-reduced-motion:reduce){
  .home-number-board .board-num.user-winner-number{animation:none!important}
}

/* v53 closed/resulted placed-number colors */
.home-bet-body .home-number-board .board-num.placed:disabled{
  opacity:1!important;
  background:#edf9f2!important;
  border-color:#bde8cf!important;
  color:#172033!important;
  box-shadow:none!important;
}

/* Result number must remain gold even if it was also a placed number */
.home-bet-body .home-number-board .board-num.result-gold,
.home-bet-body .home-number-board .board-num.result-gold:disabled{
  background:linear-gradient(145deg,#ffe895,#f0b91e)!important;
  border-color:#d89b00!important;
  color:#422f00!important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.52),
    0 0 0 2px rgba(240,185,30,.18),
    0 5px 14px rgba(217,155,0,.22)!important;
}

/* v54 stronger light-green visibility for closed/resulted placed bets */
.home-bet-body .home-number-board .board-num.placed:disabled{
  opacity:1!important;
  background:#dff6e9!important;
  border-color:#9fd9b8!important;
  color:#172033!important;
  box-shadow:inset 0 0 0 1px rgba(22,163,106,.06)!important;
}

/* Match Home Your Bets cards to the same light-green tone */
.home-placed-scroll .placed-box,
.home-placed-scroll .placed-box:disabled{
  opacity:1!important;
  background:#dff6e9!important;
  border-color:#9fd9b8!important;
  color:#172033!important;
  box-shadow:none!important;
}
.home-placed-scroll .placed-box strong,
.home-placed-scroll .placed-box span,
.home-placed-scroll .placed-box span b{
  color:#172033!important;
  font-weight:900!important;
}

/* Settled losing bets keep same light-green identity for easy recognition */
.home-placed-scroll .placed-box.lost{
  background:#dff6e9!important;
  border-color:#9fd9b8!important;
  color:#172033!important;
}

/* Winning cards stay gold */
.home-placed-scroll .placed-box.won{
  background:linear-gradient(145deg,#fff4bd,#f2c84e)!important;
  border-color:#d7aa21!important;
  color:#4d3700!important;
}
.home-placed-scroll .placed-box.won strong,
.home-placed-scroll .placed-box.won span,
.home-placed-scroll .placed-box.won span b{
  color:#4d3700!important;
}

/* Gold result number remains unchanged and wins priority */
.home-bet-body .home-number-board .board-num.result-gold,
.home-bet-body .home-number-board .board-num.result-gold:disabled{
  background:linear-gradient(145deg,#ffe895,#f0b91e)!important;
  border-color:#d89b00!important;
  color:#422f00!important;
}

/* v55 one bet-field format and consistent states across user app */
.bet-equals{
  display:inline-block!important;
  margin:0 3px!important;
  font-weight:900!important;
  color:inherit!important;
}
.bet-money{
  display:inline-block!important;
  font-weight:900!important;
  color:inherit!important;
  white-space:nowrap!important;
}

/* Standard bet chip/card layout: NUMBER = ₹ VALUE */
.home-placed-scroll .placed-box,
.play-body .placed-grid .placed-box,
.history-bet-chip{
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
}

/* Open placed bets = solid green */
.play-body .placed-grid .placed-box:not(.closed-bet-card):not(.won),
.home-bet-body .home-placed-scroll .placed-box:not(:disabled):not(.won){
  background:#16a36a!important;
  border-color:#118b59!important;
  color:#fff!important;
}
.play-body .placed-grid .placed-box:not(.closed-bet-card):not(.won) strong,
.play-body .placed-grid .placed-box:not(.closed-bet-card):not(.won) .bet-equals,
.play-body .placed-grid .placed-box:not(.closed-bet-card):not(.won) .bet-money{
  color:#fff!important;
}

/* Closed/resulted placed bets = same readable light green everywhere */
.home-bet-body .home-number-board .board-num.placed:disabled,
.play-body .unified-session-board .board-num.placed-closed,
.play-body .placed-grid .placed-box.closed-bet-card:not(.won),
.home-placed-scroll .placed-box:disabled:not(.won),
.history-bet-chip:not(.won){
  opacity:1!important;
  background:#dff6e9!important;
  border-color:#9fd9b8!important;
  color:#172033!important;
  box-shadow:none!important;
}
.play-body .placed-grid .placed-box.closed-bet-card:not(.won) strong,
.play-body .placed-grid .placed-box.closed-bet-card:not(.won) .bet-equals,
.play-body .placed-grid .placed-box.closed-bet-card:not(.won) .bet-money,
.history-bet-chip:not(.won) strong,
.history-bet-chip:not(.won) .bet-equals,
.history-bet-chip:not(.won) .bet-money{
  color:#172033!important;
}

/* Winning bet entry = gold everywhere */
.home-placed-scroll .placed-box.won,
.play-body .placed-grid .placed-box.won,
.history-bet-chip.won{
  background:linear-gradient(145deg,#fff4bd,#f2c84e)!important;
  border-color:#d7aa21!important;
  color:#4d3700!important;
  box-shadow:0 3px 9px rgba(204,151,0,.14)!important;
}
.home-placed-scroll .placed-box.won *,
.play-body .placed-grid .placed-box.won *,
.history-bet-chip.won *{
  color:#4d3700!important;
}

/* Result number = same gold winning-number style Home + View Session */
.home-bet-body .home-number-board .board-num.result-gold,
.home-bet-body .home-number-board .board-num.result-gold:disabled,
.play-body .unified-session-board .board-num.result-gold{
  opacity:1!important;
  background:linear-gradient(145deg,#ffe895,#f0b91e)!important;
  border-color:#d89b00!important;
  color:#422f00!important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.52),
    0 0 0 2px rgba(240,185,30,.18),
    0 5px 14px rgba(217,155,0,.22)!important;
  position:relative!important;
  z-index:2!important;
}
.play-body .unified-session-board .board-num.result-gold::after,
.home-bet-body .home-number-board .board-num.result-gold::after{
  content:'★';
  position:absolute;
  top:2px;
  right:3px;
  font-size:7px;
  line-height:1;
  color:#7b5400;
}

/* Same selected result treatment on View Session */
.play-body .unified-session-board .board-num.user-winner-number{
  animation:agWinnerGold 1s ease-in-out infinite alternate!important;
}

/* Result strip matches app's result/gold language */
.unified-result-strip{
  background:#fff7d5!important;
  border:1px solid #ead06d!important;
  color:#604700!important;
}
.unified-result-strip b,
.unified-result-strip strong{
  color:#604700!important;
}

/* Better Luck card removed in markup */
.result-feedback-lost{display:none!important}

/* v56 upcoming-session professional state */
.home-board-stage{
  position:relative;
}
.home-number-board.upcoming-board{
  opacity:.34!important;
  filter:saturate(.65)!important;
}
.upcoming-board-message{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:18px;
  border-radius:12px;
  background:rgba(247,249,253,.82);
  backdrop-filter:blur(1.5px);
  z-index:4;
}
.upcoming-clock-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#fff1b8;
  color:#9a6800;
  font-size:23px;
  font-weight:900;
  box-shadow:0 5px 14px rgba(154,104,0,.10);
}
.upcoming-board-message small{
  display:block;
  margin-top:9px;
  font-size:8px;
  letter-spacing:.45px;
  color:#936300;
  font-weight:950;
}
.upcoming-board-message b{
  display:block;
  margin-top:3px;
  font-size:21px;
  color:#172033;
  font-weight:950;
  font-variant-numeric:tabular-nums;
}
.upcoming-board-message span{
  display:block;
  max-width:280px;
  margin-top:5px;
  font-size:9px;
  line-height:1.35;
  color:#697386;
  font-weight:700;
}

.upcoming-bet-info{
  margin-top:7px;
  border:1px solid #efd88e;
  background:linear-gradient(135deg,#fffaf0,#fff5cf);
  border-radius:13px;
  padding:10px 11px;
  display:flex;
  align-items:center;
  gap:9px;
  box-shadow:0 6px 16px rgba(115,84,0,.055);
}
.upcoming-bet-alarm{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#f2c64e;
  color:#4d3700;
  font-size:21px;
  font-weight:900;
}
.upcoming-bet-copy{
  min-width:0;
}
.upcoming-bet-copy small{
  display:block;
  font-size:7px;
  line-height:1;
  color:#906400;
  font-weight:950;
  letter-spacing:.35px;
}
.upcoming-bet-copy b{
  display:block;
  margin-top:3px;
  font-size:12px;
  line-height:1.2;
  color:#172033;
  font-weight:950;
}
.upcoming-bet-copy b span{
  color:#936300;
  font-variant-numeric:tabular-nums;
}
.upcoming-bet-copy p{
  margin:3px 0 0;
  font-size:8.5px;
  line-height:1.35;
  color:#697386;
}

/* v57 upcoming session: visible board + real watch countdown in lower card */
.home-number-board .board-num:disabled{
  opacity:1!important;
}

/* Disable old overlay styling from v56 */
.home-number-board.upcoming-board{
  opacity:1!important;
  filter:none!important;
}
.upcoming-board-message{
  display:none!important;
}
.upcoming-bet-info{
  display:none!important;
}

.upcoming-watch-card{
  margin-top:7px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #e1e5ed!important;
  background:#fff!important;
  border-radius:14px!important;
  box-shadow:0 7px 18px rgba(25,36,58,.045)!important;
}
.upcoming-watch-head{
  margin:0!important;
  padding:9px 10px 7px!important;
  border-bottom:1px solid #edf0f4!important;
}
.upcoming-watch-head>b{
  font-size:11px!important;
  font-weight:900!important;
  color:#172033!important;
}
.upcoming-watch-head>span{
  font-size:8px!important;
  color:#7b8496!important;
}

.upcoming-watch-body{
  display:grid;
  grid-template-columns:108px 1fr;
  align-items:center;
  gap:12px;
  padding:11px;
}
.watch-face{
  width:100px;
  height:66px;
  margin:auto;
  position:relative;
  border-radius:18px;
  background:linear-gradient(145deg,#151c2c,#26324b);
  border:4px solid #303c58;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 8px 18px rgba(22,30,47,.16);
  display:grid;
  place-items:center;
}
.watch-crown{
  position:absolute;
  right:-8px;
  top:21px;
  width:7px;
  height:20px;
  border-radius:0 5px 5px 0;
  background:#39455f;
}
.watch-screen{
  text-align:center;
  color:#fff;
}
.watch-screen small{
  display:block;
  font-size:6.5px;
  line-height:1;
  letter-spacing:.7px;
  font-weight:900;
  color:#f5d77c;
}
.watch-screen b{
  display:block;
  margin-top:5px;
  font-size:17px;
  line-height:1;
  letter-spacing:.8px;
  font-weight:950;
  font-variant-numeric:tabular-nums;
}
.watch-message{
  min-width:0;
}
.watch-message b{
  display:block;
  font-size:11px;
  line-height:1.2;
  font-weight:900;
  color:#172033;
}
.watch-message span{
  display:block;
  margin-top:4px;
  font-size:8.5px;
  line-height:1.4;
  color:#697386;
}

@media(max-width:360px){
  .upcoming-watch-body{
    grid-template-columns:92px 1fr;
    gap:9px;
    padding:9px;
  }
  .watch-face{
    width:86px;
    height:58px;
    border-radius:15px;
  }
  .watch-screen b{font-size:15px}
  .watch-message b{font-size:10px}
  .watch-message span{font-size:8px}
}

/* v58 upcoming countdown inside selected number-card header */
.upcoming-number-pill{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  padding:5px 7px!important;
  background:#fff3c4!important;
  border:1px solid #efd46f!important;
  color:#8b6200!important;
}
.upcoming-number-pill>b{
  font-size:7px!important;
  line-height:1!important;
  font-weight:950!important;
}
.upcoming-number-pill>strong{
  font-size:9px!important;
  line-height:1!important;
  font-weight:950!important;
  font-variant-numeric:tabular-nums!important;
  color:#6f4e00!important;
  padding-left:5px!important;
  border-left:1px solid rgba(139,98,0,.22)!important;
}
.upcoming-number-pill i{
  background:#e6b522!important;
  box-shadow:0 0 0 3px rgba(230,181,34,.14)!important;
}
@media(max-width:360px){
  .upcoming-number-pill{
    gap:4px!important;
    padding:4px 6px!important;
  }
  .upcoming-number-pill>b{font-size:6.4px!important}
  .upcoming-number-pill>strong{font-size:8.3px!important;padding-left:4px!important}
}

/* v59 View Session metadata */
.session-detail-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:4px;
  margin-bottom:5px;
}
.session-detail-box{
  min-width:0;
  min-height:43px;
  padding:6px 3px;
  border:1px solid #e1e5ed;
  border-radius:9px;
  background:#f7f8fb;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.session-detail-box small{
  display:block;
  font-size:7px;
  line-height:1;
  color:#7b8495;
  font-weight:850;
  white-space:nowrap;
}
.session-detail-box b{
  display:block;
  max-width:100%;
  margin-top:3px;
  font-size:9px;
  line-height:1.1;
  color:#172033;
  font-weight:950;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.session-detail-box.has-result{
  background:#fff4c8;
  border-color:#ead06d;
}
.session-detail-box.has-result small,
.session-detail-box.has-result b{
  color:#765400;
}
@media(max-width:360px){
  .session-detail-grid{gap:3px}
  .session-detail-box{min-height:40px;padding:5px 2px}
  .session-detail-box small{font-size:6.4px}
  .session-detail-box b{font-size:8.2px}
}

/* v60 Home scroll clearance + softer Your Bets */
.home-bet-shell{
  padding-bottom:190px!important;
}

/* Softer medium green than number-board selected cells */
.home-bet-body .home-placed-scroll .placed-box:not(.won),
.home-bet-body .home-placed-scroll .placed-box:disabled:not(.won),
.home-bet-body .home-placed-scroll .placed-box.lost{
  opacity:1!important;
  background:#55b98a!important;
  border-color:#45a979!important;
  color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)!important;
}
.home-bet-body .home-placed-scroll .placed-box:not(.won) strong,
.home-bet-body .home-placed-scroll .placed-box:not(.won) .bet-equals,
.home-bet-body .home-placed-scroll .placed-box:not(.won) .bet-money,
.home-bet-body .home-placed-scroll .placed-box:not(.won) span,
.home-bet-body .home-placed-scroll .placed-box:not(.won) span b{
  color:#fff!important;
  font-weight:900!important;
}

/* Winner stays gold */
.home-bet-body .home-placed-scroll .placed-box.won{
  background:linear-gradient(145deg,#fff4bd,#f2c84e)!important;
  border-color:#d7aa21!important;
  color:#4d3700!important;
}
.home-bet-body .home-placed-scroll .placed-box.won *{
  color:#4d3700!important;
}

/* v61 Home viewport fit: full number board + Your Bets uses remaining space */
.home-bet-shell{
  padding-bottom:88px!important;
}

/* Stop unnecessary page travel after the useful Home content */
.home-bet-body{
  min-height:100%;
}
.home-bet-shell{
  min-height:0!important;
}

/* Your Bets fills available lower area instead of leaving a large empty gap */
.home-placed-section{
  min-height:190px!important;
  max-height:calc(100dvh - 1060px)!important;
  margin-bottom:4px!important;
  display:flex!important;
  flex-direction:column!important;
}
.home-placed-section .placed-head{
  flex:0 0 auto!important;
}
.home-placed-scroll{
  flex:1 1 auto!important;
  min-height:150px!important;
  max-height:none!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  align-content:start!important;
}

/* On normal phone heights, use the free area above bottom navigation */
@media (min-height:700px){
  .home-placed-section{
    max-height:320px!important;
  }
}
@media (min-height:850px){
  .home-placed-section{
    max-height:390px!important;
  }
}

/* Compact spacing so the complete 1–100 card can sit fully above Your Bets */
.home-board-card{
  margin-bottom:7px!important;
}
.home-placed-section{
  margin-top:0!important;
}

/* Robust lower-card sizing */
.home-placed-section{
  max-height:320px!important;
}
@media(max-height:760px){
  .home-placed-section{max-height:210px!important;min-height:150px!important}
}
@media(min-height:900px){
  .home-placed-section{max-height:360px!important;min-height:210px!important}
}

/* v62 Home fixed number board: page stays locked, only lower data scrolls */
html:has(body.home-bet-body){
  height:100%;
  overflow:hidden;
}
body.home-bet-body{
  height:100dvh!important;
  min-height:100dvh!important;
  padding-bottom:0!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.home-bet-body>.unified-user-top{
  flex:0 0 auto!important;
}
.home-bet-shell{
  flex:1 1 auto!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  padding:7px 8px calc(72px + env(safe-area-inset-bottom))!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.home-bet-shell>.home-flash,
.home-bet-shell>.home-session-hub-card,
.home-bet-shell>.home-board-card,
.home-bet-shell>.result-feedback{
  flex:0 0 auto!important;
}

/* Keep the complete 1-100 board visible. Cell height follows both screen width and free viewport height. */
.home-board-card{
  min-height:0!important;
  margin-top:6px!important;
  margin-bottom:6px!important;
  padding:7px 8px 8px!important;
  overflow:hidden!important;
}
.home-board-head{
  margin-bottom:5px!important;
  padding:0 2px 5px!important;
}
.home-number-board{
  flex:none!important;
  overflow:visible!important;
  grid-auto-rows:clamp(20px,min(calc((100vw - 52px)/10),calc((100dvh - 420px)/10)),42px)!important;
}
.home-number-board .board-num{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  aspect-ratio:auto!important;
}

/* The lower card takes only the remaining viewport space; its header stays fixed and only its data scrolls. */
.home-placed-section{
  flex:1 1 0!important;
  min-height:0!important;
  max-height:none!important;
  height:auto!important;
  margin-top:0!important;
  margin-bottom:0!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.home-placed-section .placed-head{
  flex:0 0 auto!important;
}
.home-placed-scroll{
  flex:1 1 0!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain!important;
  -webkit-overflow-scrolling:touch!important;
}

/* Upcoming info is also confined to the free lower area instead of pushing the number board/page. */
.home-bet-shell>.upcoming-watch-card{
  flex:1 1 0!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
}
.home-bet-shell>.upcoming-watch-card .upcoming-watch-body{
  min-height:0!important;
  overflow-y:auto!important;
}

/* Very short phones: preserve all 100 numbers and give the lower panel the leftover space. */
@media(max-height:700px){
  .home-bet-shell{
    padding-top:5px!important;
    padding-bottom:calc(66px + env(safe-area-inset-bottom))!important;
  }
  .home-session-hub-card{
    padding-top:6px!important;
    padding-bottom:6px!important;
  }
  .compact-managed-session{
    min-height:58px!important;
    padding:4px!important;
  }
  .compact-session-head{
    min-height:15px!important;
    margin-bottom:2px!important;
  }
  .compact-session-times>div{
    min-height:22px!important;
    height:22px!important;
  }
  .home-board-card{
    margin-top:4px!important;
    margin-bottom:4px!important;
    padding-top:5px!important;
    padding-bottom:6px!important;
  }
  .home-board-head{
    margin-bottom:3px!important;
    padding-bottom:3px!important;
  }
}


/* v63 compact premium app chrome + slimmer bet cards */
:root{
  --ag-v63-navy:#0d1528;
  --ag-v63-navy2:#18233d;
  --ag-v63-violet:#39206e;
  --ag-v63-gold:#f6cc72;
  --ag-v63-green:#0fa66b;
  --ag-v63-surface:#ffffff;
}

/* Shorter, cleaner premium header */
.unified-user-top{
  background:linear-gradient(118deg,var(--ag-v63-navy) 0%,var(--ag-v63-navy2) 62%,var(--ag-v63-violet) 100%)!important;
  box-shadow:0 6px 18px rgba(13,21,40,.16)!important;
}
.unified-user-top .unified-user-top-wrap{
  min-height:54px!important;
  padding:6px 12px!important;
}
.unified-user-top .brand{
  font-size:18px!important;
  letter-spacing:-.28px!important;
}
.unified-brand-line{gap:7px!important}
.header-site-logo{
  width:30px!important;
  height:30px!important;
  border-radius:9px!important;
}
.unified-user-top .pill{
  min-width:96px!important;
  min-height:36px!important;
  padding:8px 12px!important;
  border-radius:12px!important;
  font-size:14px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.17),rgba(255,255,255,.11))!important;
  border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}

/* Premium surface treatment without increasing vertical size */
.home-session-hub-card,.home-board-card,.home-placed-section{
  border-color:#e2e7f0!important;
  box-shadow:0 8px 22px rgba(30,42,73,.065)!important;
}
.home-session-hub-card{
  background:linear-gradient(180deg,#ffffff,#fbfcff)!important;
}
.home-board-card{
  background:linear-gradient(180deg,#ffffff,#fdfdff)!important;
}
.home-number-board .board-num{
  border-color:#dce2eb!important;
  background:linear-gradient(180deg,#fbfcfe,#f6f8fb)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
}
.home-number-board .board-num.placed:not(.result-gold){
  background:linear-gradient(145deg,#12aa70,#07975f)!important;
  border-color:#078a57!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.26),0 2px 5px rgba(7,151,95,.15)!important;
}

/* Your Bets: shorter boxes, same readable typography */
.home-placed-scroll{
  grid-auto-rows:29px!important;
  gap:4px!important;
  padding:6px!important;
}
.home-placed-scroll .placed-box{
  min-height:29px!important;
  height:29px!important;
  max-height:29px!important;
  padding:2px 4px!important;
  border-radius:8px!important;
}
.home-placed-scroll .placed-box strong{
  font-size:10px!important;
}
.home-placed-scroll .placed-box span{
  font-size:8.5px!important;
}
.home-placed-section .placed-head{
  min-height:35px!important;
  margin-bottom:2px!important;
  padding:2px 2px 5px!important;
}
.home-placed-section .placed-head b{font-size:12px!important}
.home-placed-section .placed-head span{font-size:9px!important}

/* Compact premium bottom menu with proper vector icons */
.home-bottom-nav{
  background:linear-gradient(120deg,#0c1426,#151f36 64%,#251441)!important;
  box-shadow:0 -7px 22px rgba(9,15,30,.19)!important;
  padding-bottom:max(3px,env(safe-area-inset-bottom))!important;
}
.home-bottom-nav .navin{
  min-height:56px!important;
  padding:4px 7px 3px!important;
  gap:3px!important;
}
.home-bottom-nav a{
  min-height:48px!important;
  padding:4px 1px 3px!important;
  border-radius:11px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:760!important;
}
.home-bottom-nav a .nav-icon{
  width:24px!important;
  height:24px!important;
  margin:0!important;
  padding:3px!important;
  border-radius:8px!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#cbd4e4!important;
}
.home-bottom-nav a .nav-icon svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.home-bottom-nav a span{display:block!important;white-space:nowrap!important}
.home-bottom-nav a.active{
  background:rgba(246,204,114,.10)!important;
  color:#f9e5ad!important;
}
.home-bottom-nav a.active .nav-icon{
  color:#25163f!important;
  background:linear-gradient(145deg,#ffe3a0,#f3c765)!important;
  box-shadow:0 3px 9px rgba(246,204,114,.20)!important;
}

/* Home viewport reserve follows the slimmer menu/header */
.home-bet-shell{
  padding-bottom:calc(62px + env(safe-area-inset-bottom))!important;
}
.home-number-board{
  grid-auto-rows:clamp(20px,min(calc((100vw - 52px)/10),calc((100dvh - 382px)/10)),42px)!important;
}

@media(max-width:370px){
  .unified-user-top .unified-user-top-wrap{min-height:50px!important;padding:5px 9px!important}
  .unified-user-top .brand{font-size:17px!important}
  .unified-user-top .pill{min-width:88px!important;min-height:34px!important;font-size:13px!important;padding:7px 9px!important}
  .home-bottom-nav .navin{min-height:53px!important;padding-left:4px!important;padding-right:4px!important}
  .home-bottom-nav a{min-height:45px!important;font-size:8.5px!important}
  .home-bottom-nav a .nav-icon{width:23px!important;height:23px!important}
  .home-placed-scroll{grid-auto-rows:28px!important;gap:3px!important}
  .home-placed-scroll .placed-box{min-height:28px!important;height:28px!important;max-height:28px!important}
}

/* v65 manual payment gateway */
.payment-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start;margin-top:12px}
.payment-setting-card{margin:0!important;min-width:0}
.payment-setting-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.payment-setting-head h3{margin:0 0 3px;font-size:15px}.payment-setting-head span{display:block;font-size:9px;color:#7a8497;line-height:1.35}
.payment-field-label{display:block;font-size:10px;font-weight:900;color:#303a50;margin-top:9px}.payment-field-label .field{margin-top:5px}
.admin-switch{position:relative;width:42px;height:24px;flex:0 0 42px}.admin-switch input{position:absolute;opacity:0;pointer-events:none}.admin-switch i{display:block;width:42px;height:24px;border-radius:999px;background:#d9dee8;position:relative;transition:.18s}.admin-switch i:after{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:#fff;top:3px;left:3px;box-shadow:0 2px 6px rgba(20,30,50,.18);transition:.18s}.admin-switch input:checked+i{background:#16a36a}.admin-switch input:checked+i:after{transform:translateX(18px)}
.payment-bank-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.admin-payment-qr-preview{margin-top:10px;display:grid;grid-template-columns:105px 1fr;gap:12px;align-items:center;border:1px solid #e2e7ef;background:#f8fafc;border-radius:13px;padding:10px}.admin-payment-qr-preview img{width:105px;height:105px;object-fit:contain;background:#fff;border:1px solid #e1e5ec;border-radius:10px;padding:5px}.admin-payment-qr-preview b{display:block;font-size:11px}.admin-payment-qr-preview label{display:block;margin-top:8px!important;font-size:9px!important;color:#b4232f}
.admin-payment-qr-empty{margin-top:10px;min-height:105px;border:2px dashed #d5dae4;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#fafbfe}.admin-payment-qr-empty b{font-size:12px}.admin-payment-qr-empty span{font-size:9px;color:#7a8497;margin-top:3px}
.payment-settings-save{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px}.payment-settings-save .btn,.payment-settings-save .btnlink{margin:0!important;min-height:43px}

.payment-user-card .compact-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.payment-manual-badge{display:inline-flex!important;align-items:center;justify-content:center!important;padding:5px 8px;border-radius:999px;background:#eef0ff;color:#4338ca!important;font-size:8px!important;font-weight:950;letter-spacing:.45px}
.manual-payment-form{display:grid;gap:8px}.payment-upload-field small{display:block!important;margin-top:4px!important;font-size:8px!important;color:#7a8497!important}.payment-note-field span{font-weight:600;color:#8a93a4}
.payment-qr-user{text-align:center}.payment-qr-user>span{display:block;text-align:left}.payment-qr-user img,.withdrawal-qr-method .saved-payout-qr{display:block;width:min(190px,70%);aspect-ratio:1/1;object-fit:contain;margin:9px auto;background:#fff;border:1px solid #e0e5ed;border-radius:12px;padding:7px;box-shadow:0 5px 14px rgba(30,41,70,.07)}.payment-qr-user small,.withdrawal-qr-method small{display:block;font-size:9px!important;color:#6f7889!important;line-height:1.4!important;margin:5px 0!important}.withdrawal-qr-method .file-field{margin-top:8px!important}.payment-info-note{border:1px solid #d7e5ff;background:#f2f7ff;color:#38527a;border-radius:10px;padding:8px 10px;font-size:9px;line-height:1.4;font-weight:750}.payment-request-row .transaction-row-main small{display:block}.payment-request-row .tag{align-self:flex-start}

.payout-details-card{min-width:0}.payout-details-form{display:grid;gap:8px}.payout-qr-editor{display:grid;grid-template-columns:1fr 130px;gap:10px;border:1px solid #e2e6ee;background:#f8fafc;border-radius:13px;padding:10px;align-items:center}.payout-qr-copy b{display:block;font-size:12px}.payout-qr-copy>span{display:block;font-size:9px;color:#778194;margin:3px 0 8px}.payout-qr-copy small{display:block;font-size:8px;color:#7a8497;margin-top:4px}.payout-qr-preview{text-align:center}.payout-qr-preview img{width:110px;height:110px;object-fit:contain;border-radius:11px;background:#fff;border:1px solid #e1e5ec;padding:5px}.payout-qr-preview label{display:block;font-size:8px;margin-top:5px;color:#b4232f}.payout-qr-empty{width:110px;height:110px;margin:auto;border:2px dashed #d5dae4;border-radius:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#7c8596}.payout-qr-empty b{font-size:22px}.payout-qr-empty span{font-size:8px}

.payment-review-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.payment-review-stats a{text-decoration:none;background:#fff;border:1px solid #e3e7ef;border-radius:12px;padding:11px;box-shadow:0 6px 18px rgba(30,41,70,.045)}.payment-review-stats span{display:block;font-size:8px;color:#7a8497;font-weight:850}.payment-review-stats b{display:block;font-size:20px;margin-top:3px;color:#172033}
.payment-filter-card{margin:0 0 10px!important}.payment-filter-card .admin-filter-row{display:grid!important;grid-template-columns:1fr 1fr auto auto!important;gap:7px!important;align-items:center!important}.payment-filter-card .btn,.payment-filter-card .btnlink{margin:0!important;white-space:nowrap!important}
.admin-payment-request-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-payment-request-card{background:#fff;border:1px solid #e1e6ee;border-radius:15px;padding:12px;box-shadow:0 8px 22px rgba(30,41,70,.055);min-width:0}.admin-payment-request-card.status-pending{border-top:4px solid #f3b52b}.admin-payment-request-card.status-approved{border-top:4px solid #16a36a}.admin-payment-request-card.status-rejected{border-top:4px solid #df4b55}
.admin-payment-request-head{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}.admin-payment-request-head>div{min-width:0}.admin-payment-request-head b{display:block;font-size:13px}.admin-payment-request-head span{display:block;font-size:8px;color:#7a8497;margin-top:3px}.admin-payment-request-head em{font-style:normal;font-size:7px;font-weight:950;padding:5px 7px;border-radius:999px}.admin-payment-request-head em.pending{background:#fff6d8;color:#916400}.admin-payment-request-head em.approved{background:#e7f8ef;color:#087a4e}.admin-payment-request-head em.rejected{background:#fff0f1;color:#b52d37}
.admin-payment-amount-row{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.admin-payment-amount-row>div{background:#f7f9fc;border:1px solid #e7ebf1;border-radius:10px;padding:9px}.admin-payment-amount-row small{display:block;font-size:7px;color:#7d8798;font-weight:900}.admin-payment-amount-row strong{display:block;font-size:18px;margin-top:2px}.admin-payment-amount-row b{display:block;font-size:10px;margin-top:4px}
.admin-payment-meta{display:grid;gap:5px;margin-top:8px}.admin-payment-meta p{margin:0;background:#fafbfc;border:1px solid #e8ebf0;border-radius:9px;padding:7px}.admin-payment-meta small{display:block;font-size:7px;color:#808999}.admin-payment-meta b{display:block;font-size:9px;margin-top:2px;word-break:break-word}
.admin-payment-proof-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.admin-payment-proof-card{text-decoration:none;background:#f7f9fc;border:1px solid #e2e7ef;border-radius:10px;padding:7px;display:grid;grid-template-columns:64px 1fr;grid-template-rows:auto auto;column-gap:8px;align-items:center}.admin-payment-proof-card img{width:64px;height:64px;grid-row:1/3;object-fit:cover;border-radius:8px;background:#fff;border:1px solid #dfe4eb}.admin-payment-proof-card span{font-size:8px;color:#7a8497}.admin-payment-proof-card b{font-size:9px;color:#4338ca}
.admin-payment-review-form{margin-top:9px;padding-top:9px;border-top:1px solid #e8ebf1}.admin-payment-review-form label{font-size:9px;font-weight:900}.admin-payment-review-form .field{margin-top:4px}.admin-payment-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}.admin-payment-actions .btn{margin:0!important}.payment-approve-btn{background:#138d5e!important}.payment-reject-btn{background:#c94049!important}.admin-reviewed-note{margin-top:8px;padding:8px;border-radius:9px;background:#f6f8fb}.admin-reviewed-note small{display:block;font-size:7px;color:#7b8496}.admin-reviewed-note b{display:block;font-size:9px;margin-top:2px}.empty-payment-review{text-align:center!important;grid-column:1/-1}.empty-payment-review b{display:block}.empty-payment-review span{display:block;font-size:9px;color:#7a8497;margin-top:3px}

@media(max-width:900px){.payment-settings-grid{grid-template-columns:1fr 1fr}.payment-setting-card:last-of-type{grid-column:1/-1}.admin-payment-request-list{grid-template-columns:1fr}.payment-review-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.payment-settings-grid{grid-template-columns:1fr}.payment-setting-card:last-of-type{grid-column:auto}.payment-bank-grid{grid-template-columns:1fr 1fr}.payment-settings-save{grid-template-columns:1fr}.payment-filter-card .admin-filter-row{grid-template-columns:1fr 1fr!important}.payment-filter-card .btn,.payment-filter-card .btnlink{width:100%!important;text-align:center}.admin-payment-proof-grid{grid-template-columns:1fr}.payout-qr-editor{grid-template-columns:1fr 120px}}
@media(max-width:430px){.payment-bank-grid{grid-template-columns:1fr}.payment-review-stats{grid-template-columns:1fr 1fr}.payment-review-stats a{padding:9px}.payment-review-stats b{font-size:17px}.admin-payment-amount-row{grid-template-columns:1fr 1fr}.admin-payment-proof-card{grid-template-columns:56px 1fr}.admin-payment-proof-card img{width:56px;height:56px}.payout-qr-editor{grid-template-columns:1fr}.payout-qr-preview,.payout-qr-empty{justify-self:center}.payment-qr-user img,.withdrawal-qr-method .saved-payout-qr{width:min(170px,78%)}}

/* v66 professional Profile hub + focused profile subpages */
.profile-pro-body,.profile-subpage-body{background:linear-gradient(180deg,#f7f8fd 0%,#f0f3f9 100%)!important}
.profile-pro-shell,.profile-subpage-shell{padding-top:12px!important}
.profile-pro-hero{display:flex;align-items:center;gap:11px;background:linear-gradient(135deg,#172033,#24314e 70%,#39206e);color:#fff;border-radius:18px;padding:13px 14px;margin:0 0 10px;box-shadow:0 10px 25px rgba(23,32,51,.14)}
.profile-pro-avatar{width:44px;height:44px;flex:0 0 44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#ffe7ad,#efc566);color:#392b11;font-size:18px;font-weight:950;box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}
.profile-pro-hero-copy{min-width:0;flex:1}.profile-pro-hero-copy small{display:block;font-size:8px;letter-spacing:.9px;color:#bdc7db;font-weight:900}.profile-pro-hero-copy b{display:block;margin-top:2px;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-pro-verified{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#e9fff4;color:#078a56;font-size:13px;font-weight:950}
.profile-pro-menu{background:#fff;border:1px solid #e4e8ef;border-radius:19px;overflow:hidden;box-shadow:0 9px 26px rgba(28,39,70,.065)}
.profile-pro-item{width:100%;min-height:58px;padding:8px 13px;display:grid;grid-template-columns:34px minmax(0,1fr) 22px;align-items:center;gap:10px;border:0;border-bottom:1px solid #edf0f5;background:#fff;text-decoration:none;color:#172033;font:inherit;text-align:left;cursor:pointer}
.profile-pro-item:last-child{border-bottom:0}.profile-pro-item:active{background:#f7f8fb}.profile-pro-item b{font-size:13px;font-weight:880}.profile-pro-item i{font-style:normal;font-size:25px;line-height:1;color:#9aa3b3;text-align:right;font-weight:350}
.profile-pro-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#f3f5fa;color:#34415b}.profile-pro-icon svg,.profile-section-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.profile-pro-item:nth-child(2) .profile-pro-icon{background:#eaf9f2;color:#098656}.profile-pro-item:nth-child(3) .profile-pro-icon{background:#eef2ff;color:#5141bd}.profile-pro-item:nth-child(4) .profile-pro-icon{background:#eaf7ff;color:#1574a8}.profile-pro-item:nth-child(5) .profile-pro-icon{background:#fff4df;color:#a76405}.profile-pro-item:nth-child(6) .profile-pro-icon{background:#f2ecff;color:#7542b6}.profile-pro-logout .profile-pro-icon{background:#fff0f1!important;color:#c13f4a!important}.profile-pro-logout b{color:#b83440}
.profile-confirm[hidden]{display:none!important}.profile-confirm{position:fixed;inset:0;z-index:250;display:grid;place-items:center;padding:18px}.profile-confirm-scrim{position:absolute;inset:0;border:0;background:rgba(10,16,29,.55)}.profile-confirm-card{position:relative;width:min(100%,340px);background:#fff;border-radius:20px;padding:20px;text-align:center;box-shadow:0 24px 60px rgba(0,0,0,.24)}.profile-confirm-icon{width:48px;height:48px;border-radius:15px;margin:0 auto 10px;display:grid;place-items:center;background:#fff0f1;color:#bc3541;font-size:22px;font-weight:900}.profile-confirm-card h3{font-size:19px;margin:0 0 6px}.profile-confirm-card p{margin:0;color:#707b8d;font-size:11px;line-height:1.45}.profile-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.profile-confirm-actions button,.profile-confirm-actions a{min-height:42px;border:0;border-radius:11px;display:grid;place-items:center;font:inherit;font-size:12px;font-weight:900;text-decoration:none}.profile-confirm-actions button{background:#f1f3f7;color:#273247}.profile-confirm-actions a{background:#c6424e;color:#fff}
.profile-back{width:34px;height:34px;flex:0 0 34px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.16);color:#fff;text-decoration:none;font-size:27px;line-height:1}.profile-subpage-brand{flex:1;min-width:0}.profile-subpage-body .unified-user-top-wrap{gap:9px!important}.profile-subpage-body .unified-user-top .brand{font-size:17px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-subpage-body .unified-user-top .pill{min-width:76px!important}
.profile-detail-card{background:#fff;border:1px solid #e4e8ef;border-radius:18px;padding:15px;margin-bottom:10px;box-shadow:0 9px 25px rgba(28,39,70,.06)}.profile-detail-avatar{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;margin:1px auto 9px;background:linear-gradient(145deg,#172033,#39206e);color:#fff;font-size:23px;font-weight:950}.profile-detail-title{text-align:center;margin-bottom:14px}.profile-detail-title small,.profile-section-heading small{font-size:8px;letter-spacing:.8px;color:#8a94a5;font-weight:900}.profile-detail-title h2,.profile-section-heading h2{margin:2px 0 0;font-size:17px}.profile-detail-list{border:1px solid #e7eaf0;border-radius:13px;overflow:hidden}.profile-detail-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:9px 11px;border-bottom:1px solid #edf0f4}.profile-detail-list>div:last-child{border-bottom:0}.profile-detail-list span{font-size:10px;color:#7a8495}.profile-detail-list b{font-size:11.5px;text-align:right;overflow-wrap:anywhere}
.profile-balance-card{padding:19px 16px;border-radius:19px;background:linear-gradient(135deg,#172033,#273652 65%,#432475);color:#fff;box-shadow:0 12px 28px rgba(23,32,51,.17)}.profile-balance-card small{font-size:8px;letter-spacing:.9px;color:#c8d0df;font-weight:900}.profile-balance-card strong{display:block;font-size:31px;line-height:1.1;margin:7px 0 4px}.profile-balance-card span{font-size:9.5px;color:#cbd3e1}.profile-balance-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:9px 0}.profile-balance-stats>div{background:#fff;border:1px solid #e4e8ef;border-radius:14px;padding:11px;box-shadow:0 6px 17px rgba(28,39,70,.04)}.profile-balance-stats span{display:block;font-size:9px;color:#7b8597}.profile-balance-stats b{display:block;margin-top:4px;font-size:13px}.profile-balance-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-balance-actions a{min-height:44px;border-radius:12px;display:grid;place-items:center;text-decoration:none;background:#172033;color:#fff;font-size:12px;font-weight:900}.profile-balance-actions a:last-child{background:#fff;color:#172033;border:1px solid #dfe4ec}.profile-wide-link{display:flex;justify-content:space-between;align-items:center;margin-top:9px;padding:13px 14px;background:#fff;border:1px solid #e3e7ee;border-radius:13px;text-decoration:none;font-size:12px;font-weight:900}.profile-wide-link span{font-size:22px;color:#8b95a5}
.profile-section-icon{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:#fff4df;color:#a76405;margin-bottom:9px}.profile-security-pro-card h2{font-size:18px;margin:0 0 4px}.profile-security-pro-card>p{font-size:10.5px;color:#7a8496;line-height:1.45;margin:0 0 13px}.profile-pro-form{display:grid;gap:10px}.profile-pro-form label{display:block;font-size:10px;font-weight:900;color:#303a4f}.profile-pro-form .field{width:100%;margin-top:5px;min-height:45px;border:1.5px solid #dfe4ec;border-radius:12px;background:#fbfcfe;padding:10px 11px;font-size:12px;outline:none}.profile-pro-form .field:focus{background:#fff;border-color:#4b3faf;box-shadow:0 0 0 3px rgba(75,63,175,.09)}.pin-field{font-size:19px!important;letter-spacing:7px!important;font-weight:900!important}.profile-primary-btn{min-height:45px!important;margin:2px 0 0!important;border-radius:12px!important;background:linear-gradient(135deg,#172033,#39206e)!important;font-size:12px!important}.profile-page-msg{margin-top:0!important}
.profile-section-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:12px}.payout-pro-form{gap:9px}.payout-pro-qr{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:10px;padding:10px;border:1px solid #e4e8ef;border-radius:13px;background:#f8fafc}.payout-pro-qr-copy b{display:block;font-size:12px}.payout-pro-qr-copy span{display:block;font-size:9px;color:#7c8799;margin:2px 0 6px}.payout-pro-qr-copy small{display:block;font-size:8px;color:#8b95a5;margin-top:3px}.payout-pro-preview,.payout-pro-empty{width:92px;height:92px;border-radius:11px;background:#fff;border:1px solid #dde3eb;display:grid;place-items:center;overflow:hidden}.payout-pro-preview{height:auto;min-height:92px;padding:5px}.payout-pro-preview img{width:78px;height:78px;object-fit:contain;border-radius:7px}.payout-pro-preview label{display:flex!important;align-items:center;gap:4px;font-size:8px!important;color:#6d778c!important}.payout-pro-empty{font-size:18px;color:#9ba4b4;font-weight:900}.profile-pro-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.support-pro-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:11px}.support-pro-quick a{min-height:38px;border-radius:10px;display:grid;place-items:center;background:#f1f3f8;color:#27334a;text-decoration:none;font-size:10px;font-weight:900}.support-pro-textarea{min-height:105px!important;resize:vertical}.support-ticket-list{padding-bottom:7px}.support-pro-ticket{padding:10px 0;border-top:1px solid #edf0f4}.support-pro-ticket:first-of-type{border-top:0}.support-pro-ticket>div{display:flex;align-items:center;gap:7px}.support-pro-ticket>div b{font-size:10px}.support-pro-ticket>div span{font-size:8px;color:#8b94a4}.support-pro-ticket>div em{margin-left:auto;font-style:normal;font-size:7.5px;font-weight:900;padding:4px 6px;border-radius:999px;background:#fff5d9;color:#9c6900}.support-pro-ticket>div em.closed{background:#e8fff4;color:#087d50}.support-pro-ticket p{font-size:10.5px;line-height:1.45;color:#354055;margin:7px 0}.support-pro-ticket>small{display:block;padding:8px;border-radius:10px;background:#f2f5f9;font-size:9.5px;line-height:1.4;color:#49566c}.support-pro-ticket>small b{display:block;margin-bottom:3px}.profile-empty-state{padding:15px;text-align:center;border-radius:12px;background:#f7f8fb;color:#8993a4;font-size:10px}
@media(max-width:370px){.profile-pro-item{min-height:54px;padding-left:10px;padding-right:10px}.profile-pro-item b{font-size:12px}.profile-pro-form-grid{grid-template-columns:1fr}.payout-pro-qr{grid-template-columns:1fr 82px}.payout-pro-preview,.payout-pro-empty{width:82px}.payout-pro-preview img{width:68px;height:68px}.support-pro-quick{grid-template-columns:1fr 1fr}.support-pro-quick a:last-child:nth-child(3){grid-column:1/-1}}

/* v67 universal user header + slide-out navigation */
.user-app-header{z-index:120!important}
.user-app-header .user-app-header-wrap{
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  min-height:56px!important;
  padding:6px 11px!important;
}
.user-menu-toggle{
  width:36px;height:36px;border:1px solid rgba(255,255,255,.16);border-radius:10px;
  background:rgba(255,255,255,.11);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent
}
.user-menu-toggle span{width:17px;height:2px;border-radius:99px;background:#fff;display:block}
.user-header-brand{min-width:0;display:flex;align-items:center;gap:8px;text-decoration:none;color:#fff}
.user-header-brand .header-site-logo{flex:0 0 auto;width:32px!important;height:32px!important;border-radius:9px!important;object-fit:cover;background:#fff}
.header-logo-fallback{width:32px;height:32px;flex:0 0 32px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(145deg,#f8d887,#edbd56);color:#332615;font-size:11px;font-weight:950;box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}
.user-header-brand-copy{min-width:0;display:block;line-height:1.05}
.user-header-brand-copy b{display:block;color:#fff;font-size:17px;font-weight:900;letter-spacing:-.25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-header-brand-copy small{display:block;margin-top:3px;color:rgba(255,255,255,.68);font-size:7.5px;font-weight:800;letter-spacing:.15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-header-balance{text-decoration:none!important;min-width:86px!important;min-height:35px!important;padding:7px 10px!important;font-size:13px!important;border-radius:11px!important}

.user-side-overlay{position:fixed;inset:0;z-index:310;background:rgba(8,14,28,.55);backdrop-filter:blur(2px)}
.user-side-menu{position:fixed;z-index:320;top:0;bottom:0;left:0;width:min(84vw,340px);background:#fff;transform:translateX(-105%);transition:transform .24s ease;box-shadow:18px 0 48px rgba(7,13,27,.24);display:flex;flex-direction:column;padding-bottom:max(12px,env(safe-area-inset-bottom));overflow:hidden}
.user-side-menu.open{transform:translateX(0)}
.user-side-head{flex:0 0 auto;min-height:78px;padding:15px 13px 12px;display:flex;align-items:center;gap:10px;background:linear-gradient(125deg,#0f172a,#1e293b 60%,#3b1d77);color:#fff}
.user-side-brand{min-width:0;flex:1;display:flex;align-items:center;gap:9px;text-decoration:none;color:#fff}
.user-side-brand>img,.user-side-brand>span{width:38px;height:38px;flex:0 0 38px;border-radius:11px;object-fit:cover;background:#fff}
.user-side-brand>span{display:grid;place-items:center;background:linear-gradient(145deg,#f8d887,#edbd56);color:#342715;font-size:12px;font-weight:950}
.user-side-brand>div{min-width:0}.user-side-brand b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-side-brand small{display:block;margin-top:3px;font-size:9px;color:#c5cede;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-side-close{width:32px;height:32px;flex:0 0 32px;border:1px solid rgba(255,255,255,.17);border-radius:9px;background:rgba(255,255,255,.10);color:#fff;font-size:23px;line-height:1;display:grid;place-items:center;cursor:pointer}
.user-side-balance{margin:11px 12px 6px;padding:10px 11px;border-radius:12px;background:linear-gradient(135deg,#f5f2ff,#eef4ff);border:1px solid #e2e4f5;display:flex;align-items:center;justify-content:space-between;gap:8px}.user-side-balance span{font-size:9px;color:#778196;font-weight:800}.user-side-balance b{font-size:13px;color:#312e81}
.user-side-links{flex:1 1 auto;min-height:0;overflow-y:auto;padding:5px 9px 12px;overscroll-behavior:contain}
.user-side-links a{min-height:45px;padding:5px 9px;display:grid;grid-template-columns:31px minmax(0,1fr) 14px;align-items:center;gap:8px;border-radius:11px;text-decoration:none;color:#273247;border:1px solid transparent;margin:2px 0;font-size:11.5px;font-weight:850;transition:.15s ease}
.user-side-links a i{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:#f2f4f8;color:#566178;font-style:normal}.user-side-links a i svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.user-side-links a em{font-style:normal;color:#a0a8b6;font-size:20px;font-weight:350}.user-side-links a.active{background:#f0efff;border-color:#e0defa;color:#4939b0}.user-side-links a.active i{background:#e4e1ff;color:#4939b0}.user-side-links a:active{transform:scale(.985)}
.user-side-links .user-side-logout{margin-top:7px;border-top:1px solid #edf0f4;border-radius:0;padding-top:10px;color:#b83945}.user-side-links .user-side-logout i{background:#fff0f1;color:#c13e4a}
body.user-menu-open{overflow:hidden!important}

/* v67 user Sessions / Results pages */
.user-list-page-shell{padding-top:10px!important}
.user-page-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:1px 2px 10px}.user-page-title-row small{display:block;font-size:8px;letter-spacing:.9px;color:#8b94a5;font-weight:900}.user-page-title-row h1{margin:2px 0 0;font-size:19px;letter-spacing:-.25px}.user-page-title-row>span{font-size:9px;color:#7e8798;font-weight:800}
.user-session-calendar{margin-bottom:10px!important}.user-session-list,.result-history-list{display:grid;gap:9px}
.user-session-list-card{display:block;padding:12px;background:#fff;border:1px solid #e3e7ef;border-radius:16px;text-decoration:none;color:#172033;box-shadow:0 7px 20px rgba(28,39,70,.05)}
.user-session-list-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.user-session-list-head>div{min-width:0}.user-session-list-head b{display:block;font-size:14px}.user-session-list-head span{display:block;margin-top:2px;font-size:9px;color:#7c8698}.user-session-list-head em{font-style:normal;font-size:7.5px;font-weight:950;padding:5px 7px;border-radius:999px;background:#f0f2f6;color:#667085;white-space:nowrap}.user-session-list-card.state-open .user-session-list-head em{background:#e8fff4;color:#087e50}.user-session-list-card.state-upcoming .user-session-list-head em{background:#fff5dc;color:#996800}.user-session-list-card.state-resulted .user-session-list-head em{background:#eeeaff;color:#5240b5}.user-session-list-card.state-waiting .user-session-list-head em{background:#eef6ff;color:#226b9b}
.user-session-list-data{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:10px}.user-session-list-data>div{min-width:0;min-height:44px;padding:6px 4px;border-radius:9px;border:1px solid #e6e9ef;background:#f8f9fc;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.user-session-list-data small{font-size:7px;color:#8992a2}.user-session-list-data b{margin-top:2px;font-size:9px;white-space:nowrap}.user-session-list-data .has-result{background:#fff6d9;border-color:#edd487}.user-session-list-data .has-result b{font-size:15px;color:#795600}.user-session-open-link{margin-top:9px;padding-top:8px;border-top:1px solid #edf0f4;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#596579;font-weight:850}.user-session-open-link b{font-size:17px;color:#8a94a5}.user-session-empty{margin-top:2px!important}
.result-history-summary{margin-bottom:9px!important}.result-history-card{min-height:82px;padding:11px 12px;display:grid;grid-template-columns:minmax(0,1fr) 75px;align-items:center;gap:10px;background:#fff;border:1px solid #e3e7ef;border-radius:16px;text-decoration:none;color:#172033;box-shadow:0 7px 20px rgba(28,39,70,.05)}.result-history-copy{min-width:0}.result-history-copy small{font-size:8px;color:#8a94a5;font-weight:800}.result-history-copy b{display:block;margin:3px 0 2px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.result-history-copy span{font-size:8.5px;color:#7b8596}.result-history-number{min-height:58px;border-radius:12px;background:#f5f6f9;border:1px solid #e4e7ed;display:grid;place-items:center;align-content:center;text-align:center}.result-history-number small{font-size:7px;color:#8c95a5;font-weight:900;letter-spacing:.5px}.result-history-number b{font-size:20px;line-height:1.05;margin:2px 0}.result-history-number span{font-size:7px;color:#8992a1}.result-history-card.declared .result-history-number{background:linear-gradient(145deg,#fff5c6,#f4d66f);border-color:#dfbf52}.result-history-card.declared .result-history-number b{color:#5c4300}.result-history-card.declared .result-history-number span{color:#765900}

@media(max-width:370px){
  .user-app-header .user-app-header-wrap{grid-template-columns:34px minmax(0,1fr) auto!important;gap:6px!important;padding-left:8px!important;padding-right:8px!important}.user-menu-toggle{width:34px;height:34px}.user-header-brand .header-site-logo,.header-logo-fallback{width:30px!important;height:30px!important;flex-basis:30px}.user-header-brand-copy b{font-size:15px}.user-header-balance{min-width:78px!important;font-size:12px!important;padding-left:8px!important;padding-right:8px!important}.user-side-menu{width:min(88vw,330px)}
  .user-session-list-data{gap:3px}.user-session-list-data b{font-size:8px}.result-history-card{grid-template-columns:minmax(0,1fr) 68px;padding-left:10px;padding-right:10px}.result-history-number{min-height:54px}
}

/* v68 slim user sidebar + title-only header */
.user-app-header .user-app-header-wrap{
  grid-template-columns:34px minmax(0,1fr) auto!important;
  gap:7px!important;
  min-height:52px!important;
  padding:5px 10px!important;
}
.user-menu-toggle{width:34px!important;height:34px!important;border-radius:9px!important}
.user-header-brand{gap:7px!important}
.user-header-brand.no-logo{gap:0!important}
.user-header-brand .header-site-logo{width:30px!important;height:30px!important;border-radius:8px!important}
.user-header-brand-copy b{font-size:16px!important;line-height:1!important}
.user-header-brand-copy small,.header-logo-fallback{display:none!important}
.user-header-balance{min-width:82px!important;min-height:33px!important;padding:6px 9px!important;font-size:12.5px!important;border-radius:10px!important}

/* Slim drawer width follows short menu titles. */
.user-side-menu{
  width:min(74vw,236px)!important;
  box-shadow:14px 0 38px rgba(7,13,27,.22)!important;
}
.user-side-head{
  min-height:62px!important;
  padding:10px 9px 9px!important;
  gap:7px!important;
}
.user-side-brand{gap:7px!important}
.user-side-brand.no-logo{gap:0!important}
.user-side-brand>img{width:32px!important;height:32px!important;flex:0 0 32px!important;border-radius:9px!important}
.user-side-brand>span{display:none!important}
.user-side-brand b{font-size:13px!important;line-height:1.05!important}
.user-side-brand small{margin-top:2px!important;font-size:8px!important}
.user-side-close{width:28px!important;height:28px!important;flex-basis:28px!important;border-radius:8px!important;font-size:20px!important}
.user-side-balance{
  margin:7px 8px 5px!important;
  padding:7px 8px!important;
  border-radius:9px!important;
}
.user-side-balance span{font-size:8px!important}
.user-side-balance b{font-size:11px!important}

/* Compact boxed menu titles. */
.user-side-links{
  padding:4px 7px 9px!important;
}
.user-side-links a{
  min-height:36px!important;
  padding:4px 7px!important;
  display:grid!important;
  grid-template-columns:25px minmax(0,1fr)!important;
  gap:7px!important;
  margin:4px 0!important;
  border:1px solid #e5e8ef!important;
  border-radius:9px!important;
  background:#fbfcfe!important;
  color:#2c3547!important;
  font-size:10.5px!important;
  font-weight:850!important;
  box-shadow:0 2px 6px rgba(27,39,69,.035)!important;
}
.user-side-links a i{
  width:25px!important;
  height:25px!important;
  border-radius:7px!important;
  background:#f0f2f6!important;
}
.user-side-links a i svg{width:15px!important;height:15px!important}
.user-side-links a em{display:none!important}
.user-side-links a.active{
  background:#f0efff!important;
  border-color:#dad6fa!important;
  color:#4939b0!important;
  box-shadow:0 3px 8px rgba(73,57,176,.07)!important;
}
.user-side-links a.active i{background:#e3e0ff!important;color:#4939b0!important}
.user-side-links .user-side-logout{
  margin-top:7px!important;
  padding-top:4px!important;
  border:1px solid #f1cfd3!important;
  border-radius:9px!important;
  background:#fff7f8!important;
  color:#b83945!important;
}
.user-side-links .user-side-logout i{background:#ffecee!important;color:#c13e4a!important}

@media(max-width:370px){
  .user-app-header .user-app-header-wrap{grid-template-columns:32px minmax(0,1fr) auto!important;gap:5px!important;padding-left:7px!important;padding-right:7px!important}
  .user-menu-toggle{width:32px!important;height:32px!important}
  .user-header-brand .header-site-logo{width:28px!important;height:28px!important}
  .user-header-brand-copy b{font-size:14.5px!important}
  .user-header-balance{min-width:75px!important;font-size:11.5px!important;padding-left:7px!important;padding-right:7px!important}
  .user-side-menu{width:min(78vw,226px)!important}
  .user-side-links a{font-size:10px!important}
}


/* v69 extra-slim drawer + direct session betting links */
.user-side-menu{
  width:210px!important;
  max-width:72vw!important;
}
.user-side-head{
  padding-left:8px!important;
  padding-right:8px!important;
}
.user-side-balance{
  margin-left:7px!important;
  margin-right:7px!important;
}
.user-side-links{
  padding-left:6px!important;
  padding-right:6px!important;
}
.user-side-links a{
  min-height:34px!important;
  grid-template-columns:23px minmax(0,1fr)!important;
  gap:6px!important;
  padding:4px 6px!important;
  margin:3px 0!important;
  border-radius:8px!important;
  font-size:10px!important;
}
.user-side-links a i{
  width:23px!important;
  height:23px!important;
  border-radius:6px!important;
}
.user-side-links a i svg{
  width:14px!important;
  height:14px!important;
}
@media(max-width:370px){
  .user-side-menu{width:202px!important;max-width:76vw!important}
  .user-side-links a{font-size:9.5px!important;gap:5px!important;padding-left:5px!important;padding-right:5px!important}
}


/* v70 screenshot-style slim user drawer + exact session navigation */
.user-side-overlay{
  top:52px!important;
  background:rgba(15,23,42,.42)!important;
  backdrop-filter:blur(2px)!important;
}
.user-side-menu{
  top:52px!important;
  bottom:0!important;
  width:clamp(184px,52vw,205px)!important;
  max-width:none!important;
  padding:0!important;
  background:#f8fafc!important;
  border-right:1px solid #e4e9f1!important;
  border-radius:0 0 18px 0!important;
  box-shadow:12px 10px 32px rgba(20,31,55,.16)!important;
}
.user-side-head,
.user-side-balance{
  display:none!important;
}
.user-side-links{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  padding:10px 8px 8px!important;
  scrollbar-width:none!important;
}
.user-side-links::-webkit-scrollbar{display:none!important}
.user-side-links a{
  min-height:38px!important;
  margin:0 0 6px!important;
  padding:4px 7px!important;
  grid-template-columns:29px minmax(0,1fr)!important;
  gap:7px!important;
  border-radius:9px!important;
  border:1px solid #dfe6ef!important;
  background:#fff!important;
  box-shadow:0 2px 7px rgba(31,45,72,.035)!important;
  color:#3d4a61!important;
  font-size:10.5px!important;
  font-weight:850!important;
  line-height:1.08!important;
}
.user-side-links a i{
  width:29px!important;
  height:29px!important;
  border-radius:8px!important;
  background:#eef2f7!important;
  color:#66738a!important;
}
.user-side-links a i svg{
  width:16px!important;
  height:16px!important;
  stroke-width:1.9!important;
}
.user-side-links a span{
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Soft colored icon tiles like the reference drawer */
.user-side-links .menu-home i{background:#eaf3ff!important;color:#3174d9!important}
.user-side-links .menu-sessions i{background:#eee9ff!important;color:#6650d9!important}
.user-side-links .menu-morning i{background:#fff3d9!important;color:#d08a16!important}
.user-side-links .menu-afternoon i{background:#fff0e5!important;color:#dc6d25!important}
.user-side-links .menu-evening i{background:#eeeaff!important;color:#6551c8!important}
.user-side-links .menu-deposit i{background:#def9ef!important;color:#15946d!important}
.user-side-links .menu-withdraw i{background:#e8f4ff!important;color:#3378c8!important}
.user-side-links .menu-history i{background:#f0eaff!important;color:#7655cf!important}
.user-side-links .menu-results i{background:#e5f8fb!important;color:#248aa0!important}
.user-side-links .menu-profile i{background:#e8f3ff!important;color:#3d79bd!important}
.user-side-links .menu-support i{background:#ddf7f1!important;color:#168873!important}

/* Active page: strong blue card, still compact */
.user-side-links a.active{
  background:linear-gradient(135deg,#3e6be7,#4b4cdb)!important;
  border-color:#4161df!important;
  color:#fff!important;
  box-shadow:0 7px 15px rgba(65,86,218,.19)!important;
}
.user-side-links a.active i{
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
}

/* Logout pinned to the bottom like the reference */
.user-side-footer{
  flex:0 0 auto!important;
  padding:10px 8px max(10px,env(safe-area-inset-bottom))!important;
  border-top:1px solid #dde5ee!important;
  background:#fff!important;
}
.user-side-footer .user-side-logout{
  min-height:42px!important;
  padding:5px 8px!important;
  display:grid!important;
  grid-template-columns:29px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  border:1px solid #f0d8db!important;
  border-radius:10px!important;
  background:#fff3f4!important;
  color:#b63d48!important;
  text-decoration:none!important;
  font-size:11px!important;
  font-weight:900!important;
}
.user-side-footer .user-side-logout i{
  width:29px!important;
  height:29px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:8px!important;
  background:#ffe5e8!important;
  color:#c4424e!important;
  font-style:normal!important;
}
.user-side-footer .user-side-logout i svg{
  width:16px!important;
  height:16px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

@media(max-width:370px){
  .user-side-menu{width:188px!important}
  .user-side-links{padding-left:7px!important;padding-right:7px!important}
  .user-side-links a{font-size:10px!important;grid-template-columns:27px minmax(0,1fr)!important;gap:6px!important;padding-left:6px!important;padding-right:6px!important}
  .user-side-links a i{width:27px!important;height:27px!important}
  .user-side-footer{padding-left:7px!important;padding-right:7px!important}
}

/* v71 monthly result register */
.monthly-results-shell{padding-top:11px!important}
.monthly-results-title{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:0 1px 9px}
.monthly-results-title small{display:block;font-size:8px;font-weight:900;letter-spacing:.8px;color:#7e8797}
.monthly-results-title h1{font-size:20px;line-height:1.08;margin:2px 0 0;color:#172033}
.monthly-results-title>span{font-size:10px;font-weight:850;color:#5f6879;background:#fff;border:1px solid #e2e6ed;border-radius:999px;padding:6px 9px;white-space:nowrap}
.month-result-filter{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;gap:7px;align-items:end;background:#fff;border:1px solid #e2e6ee;border-radius:15px;padding:8px;margin-bottom:8px;box-shadow:0 6px 18px rgba(28,39,70,.045)}
.month-year-form{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);gap:7px;min-width:0}
.month-year-form label{display:block;min-width:0;font-size:8px;font-weight:900;color:#7a8495}
.month-year-form .field{height:38px!important;min-height:38px!important;margin-top:4px!important;padding:6px 9px!important;border-radius:10px!important;font-size:11px!important;font-weight:850!important;color:#243047!important;background:#f8f9fc!important}
.month-nav-arrow{width:38px;height:38px;border:1px solid #e0e5ed;border-radius:11px;background:#f7f8fb;display:grid;place-items:center;text-decoration:none;color:#27334a;font-size:24px;line-height:1;font-weight:700}
.monthly-result-summary{margin-bottom:8px!important}
.monthly-result-card{background:#fff;border:1px solid #e2e6ed;border-radius:16px;overflow:hidden;box-shadow:0 8px 23px rgba(28,39,70,.055)}
.monthly-result-card-head{min-height:52px;padding:10px 11px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e8ebf1;background:linear-gradient(180deg,#fff,#fbfcfe)}
.monthly-result-card-head b{display:block;font-size:13px;color:#1e293b}.monthly-result-card-head span{display:block;margin-top:2px;font-size:8px;color:#818a99}.monthly-result-card-head em{font-style:normal;font-size:8px;font-weight:900;color:#5b4cc8;background:#f0efff;border:1px solid #dedaff;border-radius:999px;padding:5px 7px;white-space:nowrap}
.monthly-result-table-wrap{width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;background:#fff}
.monthly-result-table{width:100%;min-width:max(100%,520px);border-collapse:separate;border-spacing:0;table-layout:fixed;color:#172033}
.monthly-result-table th,.monthly-result-table td{border-right:1px solid #e9ecf1;border-bottom:1px solid #e9ecf1;text-align:center;padding:0}
.monthly-result-table tr>*:last-child{border-right:0}.monthly-result-table tbody tr:last-child>*{border-bottom:0}
.monthly-result-table thead th{position:sticky;top:0;z-index:3;height:48px;background:#f6f7fa;padding:6px 5px;font-size:9px;font-weight:900;color:#374256}
.monthly-result-table thead th>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.monthly-result-table thead th>small{display:block;margin-top:2px;font-size:6.8px;font-weight:750;color:#8a93a2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.monthly-result-table .result-date-col{position:sticky;left:0;z-index:2;width:64px;min-width:64px;max-width:64px;background:#fafbfc!important}
.monthly-result-table thead .result-date-col{z-index:5;background:#f1f3f7!important}
.monthly-result-table tbody .result-date-col{height:44px;padding:4px 3px}.monthly-result-table tbody .result-date-col b{display:block;font-size:11px;line-height:1}.monthly-result-table tbody .result-date-col span{display:block;margin-top:3px;font-size:7px;color:#8992a0;text-transform:uppercase;font-weight:850}
.monthly-result-table td{height:44px;background:#fff}.monthly-result-table tbody tr:nth-child(even) td{background:#fcfcfd}.monthly-result-table tbody tr.is-today td,.monthly-result-table tbody tr.is-today .result-date-col{background:#fffaf0!important}.monthly-result-table tbody tr.is-today .result-date-col b{color:#9a6400}
.monthly-result-cell{height:43px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;color:#172033;gap:2px;padding:2px 3px}
.monthly-result-cell strong{font-size:14px;line-height:1;font-weight:950}.monthly-result-cell small{font-size:6.8px;line-height:1;color:#8a93a2;font-weight:800}
.monthly-result-table td.has-result .monthly-result-cell{background:linear-gradient(145deg,#fff7d1,#f7df88)}.monthly-result-table td.has-result .monthly-result-cell strong{color:#5c4300}.monthly-result-table td.has-result .monthly-result-cell small{color:#81671c}
.monthly-result-table td.has-pending .monthly-result-cell{background:#f5f7fa}.monthly-result-table td.has-pending .pending-mark{color:#87909e}.monthly-result-table td.no-session .empty-cell{color:#c7cbd3;background:transparent}.monthly-result-table tr.is-future .empty-cell{opacity:.55}
.monthly-result-empty{padding:11px;border-top:1px solid #eceef2;background:#fafbfc;text-align:center}.monthly-result-empty b{display:block;font-size:10px;color:#485366}.monthly-result-empty span{display:block;margin-top:3px;font-size:8px;line-height:1.35;color:#8a93a2}
@media(max-width:430px){.monthly-result-table{min-width:500px}.monthly-result-table .result-date-col{width:58px;min-width:58px;max-width:58px}.monthly-result-table thead th{font-size:8.5px}.monthly-results-title h1{font-size:18px}}
@media(max-width:350px){.month-result-filter{grid-template-columns:34px minmax(0,1fr) 34px;gap:5px;padding:6px}.month-nav-arrow{width:34px;height:38px}.month-year-form{gap:5px}.month-year-form .field{padding-left:6px!important;padding-right:6px!important;font-size:10px!important}}


/* v72 ultra-compact full-month result table */
.results-user-body{
  height:100dvh!important;
  min-height:100dvh!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.results-user-body>.unified-user-top,
.results-user-body>.app-user-header{
  flex:0 0 auto!important;
}
.compact-monthly-results-shell{
  flex:1 1 auto!important;
  min-height:0!important;
  width:100%!important;
  max-width:560px!important;
  margin:0 auto!important;
  padding:5px 7px calc(61px + env(safe-area-inset-bottom))!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.compact-month-result-filter{
  flex:0 0 auto!important;
  min-height:42px!important;
  margin:0 0 5px!important;
  padding:4px!important;
  border-radius:11px!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) 34px!important;
  gap:4px!important;
  align-items:end!important;
  background:#fff!important;
  border:1px solid #e2e6ed!important;
  box-shadow:0 4px 12px rgba(28,39,70,.04)!important;
}
.compact-month-result-filter .month-nav-arrow{
  width:34px!important;
  height:34px!important;
  min-height:34px!important;
  border-radius:8px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  font-size:20px!important;
}
.compact-month-result-filter .month-year-form{
  display:grid!important;
  grid-template-columns:minmax(0,1.45fr) minmax(72px,.75fr)!important;
  gap:4px!important;
  min-width:0!important;
}
.compact-month-result-filter .month-year-form label{
  min-width:0!important;
  font-size:6.5px!important;
  line-height:1!important;
  font-weight:900!important;
  color:#7d8796!important;
}
.compact-month-result-filter .month-year-form .field{
  width:100%!important;
  min-height:29px!important;
  height:29px!important;
  margin-top:2px!important;
  padding:2px 24px 2px 7px!important;
  border-radius:7px!important;
  font-size:10px!important;
  font-weight:900!important;
}
.compact-monthly-result-card{
  flex:1 1 auto!important;
  min-height:0!important;
  margin:0!important;
  border-radius:11px!important;
  overflow:hidden!important;
  display:flex!important;
  background:#fff!important;
  border:1px solid #e2e6ed!important;
  box-shadow:0 5px 16px rgba(28,39,70,.045)!important;
}
.compact-monthly-result-table-wrap{
  flex:1 1 auto!important;
  min-height:0!important;
  width:100%!important;
  overflow:hidden!important;
  background:#fff!important;
}
.compact-monthly-result-table{
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
.compact-monthly-result-table thead tr{
  height:26px!important;
}
.compact-monthly-result-table thead th{
  position:static!important;
  height:26px!important;
  min-height:26px!important;
  padding:2px 2px!important;
  font-size:7px!important;
  line-height:1!important;
  background:#f3f5f8!important;
  color:#465166!important;
  vertical-align:middle!important;
}
.compact-monthly-result-table thead th>span{
  font-size:7px!important;
  line-height:1.05!important;
  white-space:normal!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
}
.compact-monthly-result-table .result-date-col{
  position:static!important;
  width:58px!important;
  min-width:58px!important;
  max-width:58px!important;
  background:#f8f9fb!important;
}
.compact-monthly-result-table tbody tr{
  height:calc((100% - 26px) / var(--days-in-month,31))!important;
}
.compact-monthly-result-table tbody th,
.compact-monthly-result-table tbody td{
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  line-height:1!important;
}
.compact-monthly-result-table tbody .result-date-col{
  padding:0 2px!important;
  white-space:nowrap!important;
  vertical-align:middle!important;
}
.compact-monthly-result-table tbody .result-date-col b,
.compact-monthly-result-table tbody .result-date-col span{
  display:inline!important;
  margin:0!important;
  line-height:1!important;
}
.compact-monthly-result-table tbody .result-date-col b{
  font-size:7.5px!important;
  font-weight:950!important;
}
.compact-monthly-result-table tbody .result-date-col span{
  margin-left:3px!important;
  font-size:5.5px!important;
  font-weight:850!important;
  color:#8b94a2!important;
}
.compact-monthly-result-table .monthly-result-cell{
  height:100%!important;
  min-height:0!important;
  padding:0 1px!important;
  gap:0!important;
  display:grid!important;
  place-items:center!important;
  text-decoration:none!important;
}
.compact-monthly-result-table .monthly-result-cell strong{
  font-size:8px!important;
  line-height:1!important;
  font-weight:950!important;
}
.compact-monthly-result-table td.has-result .monthly-result-cell{
  background:linear-gradient(145deg,#fff8d9,#f8e49a)!important;
}
.compact-monthly-result-table td.has-pending .monthly-result-cell{
  background:#f7f8fa!important;
}
.compact-monthly-result-table td.no-session .empty-cell{
  color:#d0d4db!important;
}
.compact-monthly-result-table th,
.compact-monthly-result-table td{
  border-right:1px solid #edf0f4!important;
  border-bottom:1px solid #edf0f4!important;
}
.compact-monthly-result-table tr>*:last-child{border-right:0!important}
.compact-monthly-result-table tbody tr:last-child>*{border-bottom:0!important}

/* 28/29/30-day months keep blank-height balance by stretching their rows evenly. */
.compact-monthly-result-table tbody tr:last-child{
  border-bottom:0!important;
}

@media(max-width:370px){
  .compact-monthly-results-shell{padding-left:4px!important;padding-right:4px!important}
  .compact-month-result-filter{grid-template-columns:31px minmax(0,1fr) 31px!important;gap:3px!important}
  .compact-month-result-filter .month-nav-arrow{width:31px!important;height:31px!important;min-height:31px!important}
  .compact-monthly-result-table .result-date-col{width:52px!important;min-width:52px!important;max-width:52px!important}
  .compact-monthly-result-table thead th,.compact-monthly-result-table thead th>span{font-size:6.3px!important}
  .compact-monthly-result-table .monthly-result-cell strong{font-size:7.3px!important}
  .compact-monthly-result-table tbody .result-date-col b{font-size:7px!important}
  .compact-monthly-result-table tbody .result-date-col span{font-size:5px!important}
}


/* v73 readable, two-direction monthly result register */
.compact-monthly-results-shell{
  padding:6px 7px calc(61px + env(safe-area-inset-bottom))!important;
}
.compact-month-result-filter{
  margin-bottom:6px!important;
  min-height:44px!important;
  padding:4px 5px!important;
}
.compact-month-result-filter .month-year-form label{
  font-size:8px!important;
  font-weight:950!important;
  color:#5f6979!important;
}
.compact-month-result-filter .month-year-form .field{
  height:31px!important;
  min-height:31px!important;
  font-size:11px!important;
  font-weight:950!important;
  color:#202a3b!important;
  background:#f8f9fc!important;
}

/* The card owns scrolling. Page stays clean while the register can move both ways. */
.compact-monthly-result-card{
  min-height:0!important;
  overflow:hidden!important;
}
.compact-monthly-result-table-wrap{
  flex:1 1 auto!important;
  min-height:0!important;
  width:100%!important;
  height:100%!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-gutter:stable both-edges!important;
  touch-action:pan-x pan-y!important;
  background:#fff!important;
}
.compact-monthly-result-table{
  width:max(100%,var(--table-min-width,490px))!important;
  min-width:var(--table-min-width,490px)!important;
  height:auto!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}

/* Sticky header row keeps session names visible during vertical scrolling. */
.compact-monthly-result-table thead tr{
  height:38px!important;
}
.compact-monthly-result-table thead th{
  position:sticky!important;
  top:0!important;
  z-index:6!important;
  height:38px!important;
  min-height:38px!important;
  padding:5px 6px!important;
  background:#eef1f6!important;
  color:#283346!important;
  font-size:10px!important;
  line-height:1.1!important;
  font-weight:950!important;
  box-shadow:0 1px 0 #dfe4eb!important;
}
.compact-monthly-result-table thead th>span{
  display:block!important;
  font-size:10px!important;
  line-height:1.1!important;
  font-weight:950!important;
  color:#283346!important;
  white-space:normal!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  -webkit-line-clamp:2!important;
}

/* Sticky left date/day column keeps row identity visible during horizontal scrolling. */
.compact-monthly-result-table .result-date-col{
  position:sticky!important;
  left:0!important;
  z-index:5!important;
  width:74px!important;
  min-width:74px!important;
  max-width:74px!important;
  background:#f7f8fb!important;
  box-shadow:1px 0 0 #dfe4eb!important;
}
.compact-monthly-result-table thead .result-date-col{
  z-index:9!important;
  background:#e9edf4!important;
  font-size:9px!important;
  font-weight:950!important;
  white-space:nowrap!important;
}

/* Readable rows: do not squeeze the entire month into tiny text. */
.compact-monthly-result-table tbody tr{
  height:32px!important;
}
.compact-monthly-result-table tbody th,
.compact-monthly-result-table tbody td{
  height:32px!important;
  min-height:32px!important;
  padding:0!important;
  vertical-align:middle!important;
  background:#fff!important;
}
.compact-monthly-result-table tbody tr:nth-child(even) td{
  background:#fbfcfe!important;
}
.compact-monthly-result-table tbody tr:nth-child(even) .result-date-col{
  background:#f3f5f8!important;
}
.compact-monthly-result-table tbody .result-date-col{
  height:32px!important;
  padding:0 6px!important;
  white-space:nowrap!important;
  text-align:center!important;
  background:#f7f8fb!important;
}
.compact-monthly-result-table tbody .result-date-col b,
.compact-monthly-result-table tbody .result-date-col span{
  display:inline!important;
  margin:0!important;
  line-height:1!important;
  font-weight:950!important;
}
.compact-monthly-result-table tbody .result-date-col b{
  font-size:10px!important;
  color:#1d2738!important;
}
.compact-monthly-result-table tbody .result-date-col span{
  margin-left:4px!important;
  font-size:7px!important;
  color:#707b8d!important;
}

/* Bold, clear results. */
.compact-monthly-result-table .monthly-result-cell{
  height:31px!important;
  min-height:31px!important;
  padding:0 5px!important;
  display:grid!important;
  place-items:center!important;
  text-decoration:none!important;
}
.compact-monthly-result-table .monthly-result-cell strong{
  font-size:11px!important;
  line-height:1!important;
  font-weight:950!important;
  color:#263144!important;
}
.compact-monthly-result-table td.has-result .monthly-result-cell{
  background:linear-gradient(145deg,#fff4b8,#f4d96c)!important;
}
.compact-monthly-result-table td.has-result .monthly-result-cell strong{
  color:#513a00!important;
  font-size:12px!important;
}
.compact-monthly-result-table td.has-pending .monthly-result-cell{
  background:#f7f8fa!important;
}
.compact-monthly-result-table td.has-pending .monthly-result-cell strong,
.compact-monthly-result-table td.no-session .monthly-result-cell strong{
  color:#a3aab6!important;
  font-weight:900!important;
}
.compact-monthly-result-table tbody tr.is-today td,
.compact-monthly-result-table tbody tr.is-today .result-date-col{
  box-shadow:inset 0 0 0 1px #e7c76d!important;
}

/* Keep borders visible while scrolling in both directions. */
.compact-monthly-result-table th,
.compact-monthly-result-table td{
  border-right:1px solid #e4e8ef!important;
  border-bottom:1px solid #e4e8ef!important;
}
.compact-monthly-result-table tr>*:last-child{border-right:0!important}
.compact-monthly-result-table tbody tr:last-child>*{border-bottom:0!important}

/* Subtle native scrollbars where the browser exposes them. */
.compact-monthly-result-table-wrap::-webkit-scrollbar{width:7px;height:7px}
.compact-monthly-result-table-wrap::-webkit-scrollbar-thumb{background:#b9c0cc;border-radius:999px}
.compact-monthly-result-table-wrap::-webkit-scrollbar-track{background:#eef1f5}

@media(max-width:370px){
  .compact-monthly-results-shell{padding-left:4px!important;padding-right:4px!important}
  .compact-monthly-result-table .result-date-col{width:68px!important;min-width:68px!important;max-width:68px!important}
  .compact-monthly-result-table thead th,
  .compact-monthly-result-table thead th>span{font-size:9px!important}
  .compact-monthly-result-table tbody .result-date-col b{font-size:9px!important}
  .compact-monthly-result-table tbody .result-date-col span{font-size:6.5px!important}
  .compact-monthly-result-table .monthly-result-cell strong{font-size:10px!important}
  .compact-monthly-result-table td.has-result .monthly-result-cell strong{font-size:11px!important}
}

/* v74 narrower result columns + smart current date/session positioning */
.compact-monthly-result-table{
  width:max(100%,var(--table-min-width,392px))!important;
  min-width:var(--table-min-width,392px)!important;
}
.compact-monthly-result-table .result-date-col{
  width:64px!important;
  min-width:64px!important;
  max-width:64px!important;
}
.compact-monthly-result-table thead th.session-col,
.compact-monthly-result-table tbody td.session-col{
  width:82px!important;
  min-width:82px!important;
  max-width:82px!important;
}
.compact-monthly-result-table thead th.session-col{
  padding-left:3px!important;
  padding-right:3px!important;
}
.compact-monthly-result-table thead th.session-col>span{
  font-size:9.5px!important;
  font-weight:950!important;
  line-height:1.05!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.compact-monthly-result-table tbody .result-date-col{
  padding-left:4px!important;
  padding-right:4px!important;
}

/* Keep scroll positioning stable and predictable when reopening the current month. */
.compact-monthly-result-table-wrap{
  scroll-behavior:auto!important;
  overflow-anchor:none!important;
}
.compact-monthly-result-table tbody tr.is-today .result-date-col{
  background:#fff7da!important;
}

@media(max-width:370px){
  .compact-monthly-result-table .result-date-col{
    width:60px!important;
    min-width:60px!important;
    max-width:60px!important;
  }
  .compact-monthly-result-table thead th.session-col,
  .compact-monthly-result-table tbody td.session-col{
    width:80px!important;
    min-width:80px!important;
    max-width:80px!important;
  }
  .compact-monthly-result-table thead th.session-col>span{font-size:9px!important}
}
.compact-monthly-result-table-wrap{scrollbar-gutter:auto!important}


/* v77 weekday lives inside the date selector */
.compact-date-form{
  position:relative!important;
  min-width:0!important;
}
.compact-date-form>label{
  display:none!important;
}
.weekday-date-picker{
  position:relative!important;
  width:100%!important;
  height:42px!important;
  border:1px solid #e0e4eb!important;
  border-radius:12px!important;
  background:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  padding:0 34px 0 12px!important;
  overflow:hidden!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
}
.weekday-date-picker span{
  font-size:14px!important;
  line-height:1!important;
  font-weight:850!important;
  color:#172033!important;
  white-space:nowrap!important;
}
.weekday-date-picker b{
  font-size:11px!important;
  line-height:1!important;
  font-weight:950!important;
  color:#6d778c!important;
  white-space:nowrap!important;
}
.weekday-date-picker::after{
  content:'⌄';
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-53%);
  font-size:18px;
  color:#172033;
  pointer-events:none;
}
.weekday-date-picker input[type="date"]{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  opacity:0!important;
  cursor:pointer!important;
}
@media(max-width:370px){
  .weekday-date-picker{height:40px!important;padding-left:8px!important;padding-right:28px!important;gap:3px!important}
  .weekday-date-picker span{font-size:12.5px!important}
  .weekday-date-picker b{font-size:10px!important}
  .weekday-date-picker::after{right:9px!important;font-size:16px!important}
}


/* v78 session status colors: open/upcoming/closed */
.compact-one-row .bet-close-status{
  min-width:126px!important;
  border-radius:999px!important;
  padding:2px 4px!important;
}
.compact-one-row .bet-close-status.is-open b{
  color:#28d76d!important;
}
.compact-one-row .bet-close-status.is-upcoming b{
  color:#f4c44f!important;
}
.compact-one-row .bet-close-status.is-closed b{
  color:#ff6b74!important;
}
.compact-one-row .result-count-status span{
  color:rgba(255,255,255,.76)!important;
}
.compact-one-row .result-count-status b{
  color:#ffffff!important;
}


/* v79 admin-controlled channel links on Add Funds / Withdraw */
.join-channel-card{margin:0 0 10px!important;padding:10px!important;border:1px solid #e1e6ee!important;border-radius:15px!important;background:linear-gradient(180deg,#fff,#fbfcff)!important;box-shadow:0 7px 20px rgba(26,39,75,.055)!important}
.join-channel-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0 1px 8px!important}.join-channel-head b{font-size:12px!important;color:#172033!important}.join-channel-head span{font-size:8.5px!important;color:#7a8497!important}
.join-channel-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
.join-channel-link{min-width:0!important;min-height:42px!important;padding:6px 7px!important;border:1px solid #e2e7ef!important;border-radius:11px!important;background:#f8f9fc!important;display:grid!important;grid-template-columns:25px minmax(0,1fr) auto!important;align-items:center!important;gap:5px!important;color:#263249!important;text-decoration:none!important;font-size:9.5px!important;font-weight:900!important;line-height:1!important;overflow:hidden!important}
.join-channel-link>i{width:25px!important;height:25px!important;border-radius:8px!important;display:grid!important;place-items:center!important;background:#eef1f6!important;color:#526078!important;font-style:normal!important}.join-channel-link>i svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}.join-channel-link>span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.join-channel-link>b{font-size:10px!important;color:#8b94a4!important}
.join-channel-link.channel-telegram>i{background:#e8f6ff!important;color:#168ac5!important}.join-channel-link.channel-youtube>i{background:#fff0f0!important;color:#d92828!important}.join-channel-link.channel-facebook>i{background:#edf4ff!important;color:#2867b2!important}.join-channel-link.channel-instagram>i{background:#fff0f7!important;color:#b83e78!important}.join-channel-link.channel-whatsapp>i{background:#eafaf1!important;color:#15945b!important}.join-channel-link.channel-website>i{background:#f1efff!important;color:#5c4fc1!important}
.admin-channel-settings{grid-column:1/-1!important}.admin-channel-settings-head{margin-bottom:10px!important}.admin-channel-settings-head h3{margin-bottom:3px!important}.admin-channel-settings-head span{font-size:9px!important;color:#778194!important}.admin-channel-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.admin-channel-row{padding:9px!important;border:1px solid #e4e8ef!important;border-radius:11px!important;background:#fafbfe!important;display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;gap:8px!important;align-items:center!important}.admin-channel-toggle{display:flex!important;align-items:center!important;gap:7px!important;margin:0!important;font-size:10px!important;font-weight:900!important;color:#263249!important}.admin-channel-toggle input{width:18px!important;height:18px!important;margin:0!important;accent-color:#4338ca!important}.admin-channel-row .field{margin:0!important;min-height:38px!important;padding:8px 10px!important;font-size:11px!important}
@media(max-width:700px){.admin-channel-grid{grid-template-columns:1fr!important}}
@media(max-width:430px){.join-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.join-channel-head span{display:none!important}.admin-channel-row{grid-template-columns:1fr!important;gap:6px!important}}


/* v80 support popup small centered with blur */
.support-modal[hidden]{display:none!important}
.support-modal{
  position:fixed;
  inset:0;
  z-index:300;
  display:grid;
  place-items:center;
  padding:14px;
}
.support-modal-scrim{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(12,18,34,.34)!important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.support-modal-card{
  position:relative;
  width:min(calc(100% - 14px),380px)!important;
  max-height:min(82vh,620px);
  overflow:auto;
  border-radius:20px!important;
  padding:15px 15px 16px!important;
  box-shadow:0 18px 50px rgba(15,24,45,.24)!important;
}
.support-modal-head{margin-bottom:10px!important}
.support-modal-head b{font-size:17px!important}
.support-modal-head button{width:32px;height:32px;border-radius:10px!important;font-size:20px!important}
.support-contact-row{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px}
.support-contact-row a{padding:7px 10px;border-radius:999px;background:#f4f6fb;border:1px solid #e3e8f1;font-size:11px;font-weight:800;text-decoration:none}
.support-form{display:grid;gap:10px}
.support-form label{display:grid;gap:5px;font-size:11px;font-weight:800;color:#364152}
.support-textarea{min-height:88px;resize:vertical}
.support-form .btn{margin-top:0!important;padding:11px 14px!important;border-radius:12px!important}
.support-recent{margin-top:12px;padding-top:10px;border-top:1px solid #edf1f6}
.support-recent>b{display:block;font-size:12px;margin-bottom:8px}
.support-recent-item{padding:8px 0;border-top:1px solid #f0f2f7}
.support-recent-item:first-of-type{border-top:0;padding-top:0}
.support-recent-item>div{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:4px}
.support-recent-item span,.support-recent-item em,.support-recent-item small{font-size:10px;color:#738094}
.modal-open{overflow:hidden}

/* wallet support launch button */
.wallet-support-launch-row{margin:8px 0 10px;display:flex;justify-content:flex-end}
.wallet-support-launch{
  border:1px solid #d9dfeb;
  background:#fff;
  color:#1c2740;
  border-radius:12px;
  padding:10px 14px;
  font-size:12px;
  font-weight:900;
  box-shadow:0 6px 16px rgba(24,39,68,.06);
  cursor:pointer;
}
.wallet-support-launch:active{transform:translateY(1px)}


/* v81 compact channel icons + slim contact-only support popup */
.join-channel-card{
  padding:8px!important;
}
.join-channel-head{
  margin-bottom:6px!important;
}
.join-channel-head b{font-size:11px!important}
.join-channel-head span{font-size:8px!important}
.join-channel-grid.compact-icons{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
}
.join-channel-link.icon-only{
  width:42px!important;
  min-width:42px!important;
  height:42px!important;
  min-height:42px!important;
  padding:0!important;
  border-radius:11px!important;
  display:grid!important;
  place-items:center!important;
  grid-template-columns:none!important;
}
.join-channel-link.icon-only>i{
  width:24px!important;
  height:24px!important;
  border-radius:8px!important;
}
.join-channel-link.icon-only>i svg{width:15px!important;height:15px!important}
.join-channel-link.icon-only>span,
.join-channel-link.icon-only>b{display:none!important}
.join-channel-link.support-link-card{
  border:1px solid #e2e7ef!important;
  background:#f8f9fc!important;
  color:#263249!important;
  border-radius:11px!important;
  min-height:42px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:auto!important;
  min-width:98px!important;
  font-size:10px!important;
  font-weight:900!important;
  cursor:pointer!important;
}
.join-channel-link.support-link-card>i{
  width:24px!important;
  height:24px!important;
  border-radius:8px!important;
  display:grid!important;
  place-items:center!important;
  background:#eef1f6!important;
  color:#526078!important;
  font-style:normal!important;
}
.join-channel-link.support-link-card>i svg{
  width:15px!important;
  height:15px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.join-channel-link.support-link-card>span{display:block!important;white-space:nowrap!important}
.wallet-support-launch-row,.wallet-support-launch{display:none!important}
.slim-support-popup{
  width:min(calc(100% - 24px),280px)!important;
  padding:14px!important;
  border-radius:18px!important;
}
.slim-support-popup .support-modal-head{margin-bottom:8px!important}
.slim-support-popup .support-modal-head b{font-size:15px!important}
.slim-support-popup .support-contact-row.only-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
  margin-bottom:0!important;
}
.slim-support-popup .support-contact-row.only-actions a,
.slim-support-popup .support-empty-line{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  padding:9px 12px!important;
  border-radius:11px!important;
  background:#f5f7fb!important;
  border:1px solid #e3e8f1!important;
  font-size:11px!important;
  font-weight:900!important;
  text-decoration:none!important;
  color:#1f2a44!important;
}
.slim-support-popup .support-empty-line{font-weight:700!important;color:#738094!important;text-align:center!important}
@media(max-width:430px){
  .join-channel-card{padding:7px!important}
  .join-channel-link.icon-only{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important}
  .join-channel-link.support-link-card{min-width:92px!important;padding:0 10px!important}
}


/* v82 installable PWA */
.auth-install-app{
  width:100%;
  min-height:46px;
  margin:10px 0 0;
  border:1px solid rgba(124,58,237,.18);
  border-radius:14px;
  background:linear-gradient(135deg,#f5f3ff,#eef4ff);
  color:#3f2a86;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 12px;
  cursor:pointer;
  font-family:inherit;
}
.auth-install-app span{font-size:12px;font-weight:950}
.auth-install-app small{font-size:8px;font-weight:850;color:#6f72a4}
.auth-install-app[hidden]{display:none!important}
.pwa-install-modal{position:fixed;inset:0;z-index:500;display:grid;place-items:center;padding:16px}
.pwa-install-scrim{position:absolute;inset:0;border:0;background:rgba(9,15,30,.38);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.pwa-install-card{position:relative;width:min(calc(100% - 18px),330px);background:#fff;border:1px solid #e5e9f1;border-radius:20px;padding:16px;box-shadow:0 20px 55px rgba(13,21,40,.25);text-align:center}
.pwa-install-x{position:absolute;right:10px;top:10px;width:30px;height:30px;border:0;border-radius:10px;background:#f0f2f7;color:#49556a;font-size:20px;line-height:1;cursor:pointer}
.pwa-install-icon{width:58px;height:58px;margin:2px auto 9px;border-radius:16px;overflow:hidden;box-shadow:0 7px 18px rgba(13,21,40,.14)}
.pwa-install-icon img{display:block;width:100%;height:100%;object-fit:cover}
.pwa-install-copy b{display:block;font-size:18px;color:#172033;margin-bottom:4px}
.pwa-install-copy span{display:block;font-size:11px;line-height:1.45;color:#6d778c;padding:0 8px}
.pwa-install-primary,.pwa-install-later{width:100%;border-radius:12px;font-family:inherit;font-weight:900;cursor:pointer}
.pwa-install-primary{min-height:43px;margin-top:13px;border:0;background:linear-gradient(135deg,#0d1528,#39206e);color:#fff;font-size:12px}
.pwa-install-later{min-height:36px;margin-top:5px;border:0;background:transparent;color:#778194;font-size:10px}
@media(display-mode:standalone){[data-pwa-install]{display:none!important}}


/* v84 direct PWA install polish */
.auth-install-app{
  transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease!important;
}
.auth-install-app:not(:disabled):active{transform:scale(.985)!important}
.auth-install-app:disabled{opacity:.72!important;cursor:wait!important}
.pwa-install-primary:disabled{opacity:.7!important;cursor:wait!important}
@media(display-mode:standalone){
  [data-pwa-install],.pwa-install-modal{display:none!important}
}


/* v85 Bet Analytics + vertical number ordering */
.bet-analytics-filter-card{margin-bottom:10px!important}.bet-analytics-filter label{display:grid;gap:4px;min-width:150px}.bet-analytics-filter label small{font-size:8px;font-weight:900;color:var(--ag-muted)}.bet-analytics-filter .bet-search-label{flex:1 1 230px}
.bet-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.bet-kpi-grid article{background:#fff;border:1px solid var(--ag-border);border-radius:13px;padding:11px;box-shadow:0 6px 18px rgba(23,32,51,.04)}.bet-kpi-grid span{font-size:8px;color:var(--ag-muted);font-weight:800}.bet-kpi-grid b{display:block;font-size:19px;margin:4px 0 2px;color:#172033}.bet-kpi-grid small{font-size:8px;color:#7f8898}
.bet-session-overview{margin-bottom:10px!important}.bet-session-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.bet-session-card{border:1px solid #e1e6ee;border-radius:12px;background:#fafbfe;overflow:hidden}.bet-session-card.active{border-color:#7c6ee6;box-shadow:0 0 0 2px rgba(100,86,205,.08)}.bet-session-card-main{display:block;padding:10px;text-decoration:none;color:#172033}.bet-session-card-main>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.bet-session-card-main small{font-size:8px;color:#7c8698}.bet-session-card-main b{font-size:11px}.bet-session-card-main strong{display:block;font-size:18px;margin:7px 0 2px}.bet-session-card-main>span{font-size:8px;color:#7c8698}.bet-session-actions{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e7eaf0}.bet-session-actions a,.bet-report-actions a{min-height:34px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:8px;font-weight:900}.wa-share{color:#087f5b!important;background:#effbf5}.pdf-download{color:#9d2931!important;background:#fff4f4}.bet-session-actions a+a{border-left:1px solid #e7eaf0}
.bet-number-chart-card{margin-bottom:10px!important}.bet-number-head{align-items:center!important}.bet-report-actions{display:flex;gap:6px;flex-wrap:wrap}.bet-report-actions a{padding:0 11px;border:1px solid #e2e6ed;border-radius:9px;min-height:32px}.bet-number-chart-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px}.bet-number-chart-cell{position:relative;min-height:74px;border:1px solid #dce3eb;border-radius:9px;padding:6px;overflow:hidden;background:#fff;display:flex;flex-direction:column;justify-content:flex-start}.bet-number-chart-cell.zero{background:#f7f8fa;color:#8d95a3}.bet-cell-top{display:flex;align-items:center;justify-content:space-between;gap:4px;position:relative;z-index:2}.bet-cell-top b{font-size:10px}.bet-cell-top span{min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#edf0f5;display:grid;place-items:center;font-size:6px;font-weight:900}.bet-number-chart-cell>strong{font-size:8px;margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;z-index:2}.bet-number-chart-cell>small{font-size:6px;color:#7e8796;position:relative;z-index:2}.bet-number-chart-cell>i{position:absolute;left:0;right:0;bottom:0;height:34%;background:#f4f7fa}.bet-number-chart-cell>i em{display:block;position:absolute;bottom:0;left:0;right:0;max-height:100%;background:rgba(80,96,190,.13)}.bet-chart-legend{display:flex;gap:12px;flex-wrap:wrap;margin-top:7px;font-size:7px;color:#788295}.bet-chart-legend b{color:#263249}.bet-detail-table-card{margin-bottom:20px!important}.bet-row-count{font-size:8px;font-weight:900;color:#737e90}
@media(max-width:900px){.bet-kpi-grid{grid-template-columns:repeat(2,1fr)}.bet-session-card-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.bet-session-card-grid{grid-template-columns:1fr}.bet-number-chart-grid{gap:3px}.bet-number-chart-cell{min-height:64px;padding:4px}.bet-cell-top b{font-size:8px}.bet-cell-top span{min-width:14px;height:14px;font-size:5px}.bet-number-chart-cell>strong{font-size:6.5px;margin-top:7px}.bet-number-chart-cell>small{font-size:5.5px}.bet-number-head{align-items:flex-start!important}.bet-report-actions{width:100%}.bet-report-actions a{flex:1}.bet-analytics-filter label{min-width:0;flex:1 1 46%}}
@media(max-width:380px){.bet-kpi-grid{grid-template-columns:repeat(2,1fr)}.bet-kpi-grid b{font-size:16px}.bet-number-chart-cell{min-height:58px}.bet-number-chart-cell>small{display:none}}


/* v87 mobile share/pdf wording */
.bet-session-actions a,.bet-report-actions a{font-size:8px!important;padding:0 6px!important;white-space:nowrap!important}


/* v90 — persistent session bottom nav + redesigned wallet */
.play-body{
  height:100dvh!important;
  min-height:100dvh!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  padding-bottom:calc(59px + env(safe-area-inset-bottom))!important;
}
.play-body>.unified-user-top{flex:0 0 auto!important}
.play-body .play-shell{
  flex:1 1 auto!important;
  height:auto!important;
  min-height:0!important;
  overflow:hidden!important;
  padding-bottom:5px!important;
}
.play-body .home-bottom-nav{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:fixed!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  z-index:250!important;
}
.play-body .bet-modal{z-index:310!important}

.wallet-v90-shell{padding-top:9px!important}
.wallet-balance-overview{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:7px!important;
  margin:0 0 8px!important;
}
.wallet-balance-overview article{
  min-width:0!important;
  padding:11px 12px!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,#111a30,#202c49)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 8px 20px rgba(20,30,52,.10)!important;
  color:#fff!important;
}
.wallet-balance-overview article.available{
  background:linear-gradient(135deg,#0b7d55,#14a56d)!important;
}
.wallet-balance-overview span{
  display:block!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:850!important;
  color:rgba(255,255,255,.72)!important;
}
.wallet-balance-overview b{
  display:block!important;
  margin:5px 0 3px!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:950!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.wallet-balance-overview small{
  display:block!important;
  font-size:7.5px!important;
  line-height:1.15!important;
  color:rgba(255,255,255,.68)!important;
}
.wallet-v90-head{align-items:center!important}
.wallet-v90-head>div>small{display:block;font-size:7px;font-weight:950;letter-spacing:.7px;color:#8a94a5;margin-bottom:2px}
.wallet-v90-head h3{margin:0!important;font-size:15px!important}
.wallet-v90-shell .payment-user-card{
  border-radius:17px!important;
  padding:12px!important;
  margin-top:8px!important;
  box-shadow:0 8px 23px rgba(25,37,66,.055)!important;
}
.wallet-v90-shell .manual-payment-form{display:grid!important;gap:8px!important}
.wallet-v90-shell .manual-payment-form .deposit-form-row{gap:7px!important}
.wallet-v90-shell .wallet-method-label{font-size:9px!important;font-weight:900!important;color:#465166!important}
.wallet-v90-shell .wallet-method-label>.field,
.wallet-v90-shell .wallet-method-label select.field{
  margin-top:4px!important;
  min-height:42px!important;
  border-radius:11px!important;
  font-size:12px!important;
  padding:9px 11px!important;
}
.withdraw-clean-form{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  margin-top:2px!important;
}
.withdraw-clean-form .withdraw-no-method,
.withdraw-clean-form .withdraw-saved-note{
  grid-column:1/-1!important;
  padding:8px 9px!important;
  border-radius:10px!important;
  font-size:8.5px!important;
  line-height:1.4!important;
}
.withdraw-clean-form .withdraw-saved-note{
  background:#f1f7ff!important;
  border:1px solid #dceaff!important;
  color:#51647f!important;
}
.withdraw-clean-form .withdraw-no-method{
  background:#fff7e7!important;
  border:1px solid #f0d598!important;
  color:#785718!important;
}
.wallet-submit-btn:disabled{opacity:.48!important;cursor:not-allowed!important}
.withdraw-profile-shortcut,.withdrawal-qr-method{display:none!important}
@media(max-width:430px){
  .wallet-balance-overview{gap:6px!important}
  .wallet-balance-overview article{padding:10px!important;border-radius:13px!important}
  .wallet-balance-overview b{font-size:16px!important}
  .withdraw-clean-form{grid-template-columns:1fr!important;gap:7px!important}
  .withdraw-clean-form .withdraw-no-method,.withdraw-clean-form .withdraw-saved-note{grid-column:auto!important}
}
@supports not (height:100dvh){
  .play-body{height:100vh!important;min-height:100vh!important}
}


/* v91 cleaner wallet pages */
.wallet-inline-hint{margin:2px 0 0;font-size:11px;line-height:1.45;color:#6a7588}
.wallet-inline-hint b{color:#243148}


/* v92 whatsapp share card */
.share-card-wrap{padding:18px!important}
.share-card-head{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.share-card-head h3{margin:0;font-size:22px}
.share-card-head p{margin:4px 0 0;color:#6c7890;font-size:13px}
.share-card-actions{display:flex;gap:8px;flex-wrap:wrap}
.share-card-actions .btn.alt{background:#f6f8fc;color:#243148;border:1px solid #d8dfeb;text-decoration:none}
.share-card-preview-box{background:#f8fafc;border:1px solid #e5eaf1;border-radius:22px;padding:14px;display:flex;justify-content:center}
.share-card-preview-box img{width:min(100%,420px);display:block;border-radius:18px;box-shadow:0 12px 28px rgba(12,18,34,.10)}
.share-card-note{margin:12px 0 0;color:#6f7b8f;font-size:12px;line-height:1.55}
.wa-share-card{text-decoration:none}
@media(max-width:640px){
  .share-card-wrap{padding:14px!important}
  .share-card-head h3{font-size:18px}
  .share-card-actions{width:100%}
  .share-card-actions .btn,.share-card-actions .btn.alt{flex:1 1 150px;text-align:center;justify-content:center}
}


/* v93 clearer full-HD WhatsApp share card */
.share-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:0 0 14px}
.share-stats-grid article{border:1px solid #e3e9f1;background:#fbfcfe;border-radius:16px;padding:12px 14px}
.share-stats-grid article span{display:block;font-size:11px;font-weight:800;color:#738094;margin-bottom:5px}
.share-stats-grid article b{display:block;font-size:22px;line-height:1.1;color:#1f2a44}
.share-card-preview-box img{width:min(100%,540px)}


/* v95 add funds qr + withdrawal row table */
.payment-qr-full-card{padding:12px!important;display:block!important;background:linear-gradient(180deg,#ffffff 0%,#f7f9fd 100%)!important}
.payment-qr-full-card img{display:block;width:min(100%,340px)!important;max-width:100%!important;aspect-ratio:1/1;object-fit:contain;margin:0 auto!important;background:#fff;border:1px solid #e2e7ef;border-radius:18px;padding:12px;box-shadow:0 8px 22px rgba(30,41,70,.06)}
.payment-qr-full-card>span,.payment-qr-full-card small{display:none!important}
.fixed-payment-details .payment-qr-full-card{grid-column:1/-1}

.payment-table-card{padding:0!important;overflow:hidden}
.payment-table-wrap{overflow:auto}
.payment-request-table{width:100%;border-collapse:separate;border-spacing:0;min-width:980px;background:#fff}
.payment-request-table thead th{position:sticky;top:0;background:#f6f8fc;color:#68748a;font-size:11px;font-weight:900;letter-spacing:.03em;padding:12px 10px;border-bottom:1px solid #e4eaf2;text-align:left;white-space:nowrap;z-index:1}
.payment-request-table tbody td{padding:12px 10px;border-bottom:1px solid #edf1f6;vertical-align:top;background:#fff}
.payment-request-table tbody tr.status-pending td:first-child{box-shadow:inset 4px 0 0 #f3b52b}
.payment-request-table tbody tr.status-approved td:first-child{box-shadow:inset 4px 0 0 #16a36a}
.payment-request-table tbody tr.status-rejected td:first-child{box-shadow:inset 4px 0 0 #df4b55}
.payment-row-user b{display:block;font-size:13px;color:#172033}
.payment-row-user span{display:block;font-size:12px;color:#4d5a70;margin-top:2px}
.payment-row-user small{display:block;font-size:10px;color:#8190a8;margin-top:4px}
.payment-row-amount{font-size:16px;color:#172033;white-space:nowrap}
.payment-row-method{font-size:12px;font-weight:800;color:#243148}
.payment-row-meta{display:grid;gap:6px;min-width:180px}
.payment-row-meta p{margin:0}
.payment-row-meta small,.table-reviewed-note small{display:block;font-size:10px;color:#7b879c;margin-bottom:2px;font-weight:800}
.payment-row-meta b,.table-reviewed-note b{font-size:12px;color:#20283b;line-height:1.45;word-break:break-word}
.table-status-chip{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-style:normal;font-size:10px;font-weight:950}
.table-status-chip.pending{background:#fff6d8;color:#916400}.table-status-chip.approved{background:#e7f8ef;color:#087a4e}.table-status-chip.rejected{background:#fff0f1;color:#b52d37}
.table-review-form{display:grid;gap:8px;min-width:220px}.table-review-form .field{min-width:0}.table-action-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}.table-action-buttons .btn{padding:9px 10px;font-size:11px}
.table-reviewed-note{min-width:180px}
.table-empty{padding:20px;border:none!important;box-shadow:none!important}
.admin-qr-proof-card{border:none;cursor:pointer;text-align:left;width:100%}
.qr-popup-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8dfeb;background:#f7f9fc;color:#4338ca;border-radius:10px;padding:8px 12px;text-decoration:none;font-size:11px;font-weight:900;cursor:pointer}
.qr-popup-btn:hover{background:#eef2ff}
.ag-qr-modal[hidden]{display:none!important}
.ag-qr-modal{position:fixed;inset:0;z-index:1200}
.ag-qr-backdrop{position:absolute;inset:0;background:rgba(10,18,34,.62);backdrop-filter:blur(4px)}
.ag-qr-dialog{position:relative;z-index:1;width:min(92vw,430px);margin:5vh auto 0;background:#fff;border-radius:22px;padding:16px 16px 18px;box-shadow:0 20px 60px rgba(10,18,34,.28)}
.ag-qr-dialog h3{margin:0 0 12px;font-size:18px;color:#172033}
.ag-qr-close{position:absolute;right:12px;top:10px;border:none;background:#f3f5f9;color:#42506a;width:32px;height:32px;border-radius:50%;font-size:24px;line-height:1;cursor:pointer}
.ag-qr-image-wrap{display:flex;justify-content:center;align-items:center;padding:8px;background:#f8fafc;border:1px solid #e5eaf2;border-radius:18px}
.ag-qr-image-wrap img{display:block;width:min(100%,320px);max-width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff;border-radius:14px;padding:8px;border:1px solid #e1e6ee}
body.modal-open{overflow:hidden}
@media(max-width:640px){
  .payment-qr-full-card img{width:min(100%,290px)!important}
  .ag-qr-dialog{width:min(94vw,380px);margin-top:7vh}
}


/* v96 full row-wise payment request table */
.payment-table-card-full{padding:0!important}
.payment-request-table-full{min-width:1280px}
.payment-request-table-full thead th:nth-child(1){min-width:190px}
.payment-request-table-full thead th:nth-child(5){min-width:230px}
.payment-request-table-full thead th:nth-child(9){min-width:250px}
.payment-type-chip{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:950;letter-spacing:.02em;white-space:nowrap}
.payment-type-chip.deposit{background:#e8f2ff;color:#2359b7}
.payment-type-chip.withdraw{background:#fff3e4;color:#a05800}
.proof-open-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8dfeb;background:#f7f9fc;color:#2359b7;border-radius:10px;padding:8px 12px;text-decoration:none;font-size:11px;font-weight:900}
.proof-open-btn:hover{background:#eef4ff}
.payment-request-table-full .table-review-form{min-width:235px}
.payment-request-table-full tbody td{font-size:12px}
@media(max-width:700px){
  .payment-request-table-full{min-width:1180px}
}


/* v97 share card: simple normal ASCII text, bold */
.share-card-head h3,.share-card-head p,.share-stats-grid article span,.share-stats-grid article b,.share-card-note{font-weight:900!important}


/* v98 dynamic session menu + clearer session state colors */
.user-side-links a{grid-template-columns:31px minmax(0,1fr)!important;align-items:center!important}
.user-side-links a .user-side-link-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-width:0}
.user-side-links a .user-side-link-copy b{display:block;max-width:100%;font-size:11.5px;line-height:1.18;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-side-links a .user-side-link-copy small{display:block;max-width:100%;font-size:8px;line-height:1.15;color:#7e8798;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-side-links a.active .user-side-link-copy small{color:rgba(73,57,176,.75)!important}
.user-side-links a.menu-dynamic-session.state-open{background:#f1fbf5!important;border:1px solid #b9e6ca!important;color:#0b7f57!important}
.user-side-links a.menu-dynamic-session.state-open i{background:#dcf6e7!important;color:#0b7f57!important}
.user-side-links a.menu-dynamic-session.state-upcoming{background:#fff5e8!important;border:1px solid #ffd39b!important;color:#ad6400!important}
.user-side-links a.menu-dynamic-session.state-upcoming i{background:#ffecd2!important;color:#c67206!important}
.user-side-links a.menu-dynamic-session.state-closed{background:#fff0f0!important;border:1px solid #f4c5c5!important;color:#c13a3a!important}
.user-side-links a.menu-dynamic-session.state-closed i{background:#ffe0e0!important;color:#c13a3a!important}
.user-side-links a.menu-dynamic-session.state-result{background:#f1ecff!important;border:1px solid #d8cbff!important;color:#5b47c1!important}
.user-side-links a.menu-dynamic-session.state-result i{background:#e8e1ff!important;color:#5b47c1!important}

.home-session-select-card.state-open,.compact-managed-session.state-open{background:#effbf4!important;border-color:#b9e7ca!important}
.home-session-select-card.state-upcoming,.compact-managed-session.state-upcoming{background:#fff5e8!important;border-color:#ffd39d!important}
.home-session-select-card.state-closed,.compact-managed-session.state-closed{background:#fff0f0!important;border-color:#f4c5c5!important}
.home-session-select-card.state-result,.compact-managed-session.state-result{background:#f1ecff!important;border-color:#d8cbff!important}
.compact-managed-session.state-open .session-state-inline em{background:#d8f7e7!important;color:#087f5b!important}
.compact-managed-session.state-open .session-state-inline strong{color:#087f5b!important}
.compact-managed-session.state-upcoming .session-state-inline em{background:#ffe7c2!important;color:#aa6200!important}
.compact-managed-session.state-upcoming .session-state-inline strong{color:#aa6200!important}
.compact-managed-session.state-closed .session-state-inline em{background:#ffe0e0!important;color:#c92a2a!important}
.compact-managed-session.state-closed .session-state-inline strong{color:#c92a2a!important}
.compact-managed-session.state-result .session-state-inline em{background:#e8e1ff!important;color:#5a45c2!important}
.compact-managed-session.state-result .session-state-inline strong{color:#5a45c2!important}
.home-board-head .home-live-pill.state-open{background:#e9fff3!important;color:#0b7f57!important}
.home-board-head .home-live-pill.state-open i{background:#24c878!important;box-shadow:0 0 0 3px rgba(36,200,120,.13)!important}
.home-board-head .home-live-pill.state-upcoming{background:#fff4e6!important;color:#ad6400!important}
.home-board-head .home-live-pill.state-upcoming i{background:#e6911a!important;box-shadow:0 0 0 3px rgba(230,145,26,.14)!important}
.home-board-head .home-live-pill.state-closed{background:#fff0f0!important;color:#c92a2a!important}
.home-board-head .home-live-pill.state-closed i{background:#e14b4b!important;box-shadow:0 0 0 3px rgba(225,75,75,.12)!important}
.home-board-head .home-live-pill.state-result{background:#f1ecff!important;color:#5a45c2!important}
.home-board-head .home-live-pill.state-result i{background:#7657ea!important;box-shadow:0 0 0 3px rgba(118,87,234,.12)!important}
.compact-session-ist{display:block;font-size:8px;color:#7c8698;margin-top:1px}

.user-session-list-card.state-open{background:#f1fbf5!important;border-color:#bde7cd!important}
.user-session-list-card.state-open .user-session-list-head em{background:#dcf8e9!important;color:#087e50!important}
.user-session-list-card.state-upcoming{background:#fff5e8!important;border-color:#ffd39e!important}
.user-session-list-card.state-upcoming .user-session-list-head em{background:#ffe9c9!important;color:#a46500!important}
.user-session-list-card.state-closed{background:#fff0f0!important;border-color:#f3c3c3!important}
.user-session-list-card.state-closed .user-session-list-head em{background:#ffe2e2!important;color:#c92a2a!important}
.user-session-list-card.state-result{background:#f1ecff!important;border-color:#d7ccff!important}
.user-session-list-card.state-result .user-session-list-head em{background:#e8e1ff!important;color:#5441bb!important}
.user-session-list-data .has-result b{color:#5441bb!important}

@media (max-width:420px){
  .user-side-links a .user-side-link-copy b{font-size:10.3px!important}
  .user-side-links a .user-side-link-copy small{font-size:7.4px!important}
}


/* v99 launch polish: unified live session colors + stronger session identity */
.home-session-select-card.state-open,.compact-managed-session.state-open,
.user-session-list-card.state-open,.session-settings-card.state-open,
.session-monitor-card.state-open{background:#eefbf3!important;border-color:#a9dfbf!important}
.home-session-select-card.state-upcoming,.compact-managed-session.state-upcoming,
.user-session-list-card.state-upcoming,.session-settings-card.state-upcoming,
.session-monitor-card.state-upcoming{background:#fff4e3!important;border-color:#f2c77f!important}
.home-session-select-card.state-closed,.compact-managed-session.state-closed,
.home-session-select-card.state-result,.compact-managed-session.state-result,
.user-session-list-card.state-closed,.user-session-list-card.state-result,
.session-settings-card.state-closed,.session-settings-card.state-result,
.session-monitor-card.state-closed,.session-monitor-card.state-result{background:#fff0f0!important;border-color:#efb7b7!important}

.compact-session-head>b{font-weight:950!important;font-size:10.3px!important;letter-spacing:.01em!important}
.compact-managed-session.state-result .session-state-inline em,
.compact-managed-session.state-closed .session-state-inline em{background:#ffe0e0!important;color:#c92a2a!important}
.compact-managed-session.state-result .session-state-inline strong,
.compact-managed-session.state-closed .session-state-inline strong{color:#c92a2a!important;font-weight:1000!important;font-size:9.5px!important}
.compact-managed-session.state-result.selected,.compact-managed-session.state-closed.selected{color:#c92a2a!important;box-shadow:inset 0 0 0 2px #dc4d4d!important}
.home-board-head .home-live-pill.state-result{background:#ffe7e7!important;color:#b42323!important;border:1px solid #f0bcbc!important}
.home-board-head .home-live-pill.state-result i{background:#d94141!important;box-shadow:0 0 0 3px rgba(217,65,65,.13)!important}

.user-side-links a.menu-dynamic-session .user-side-link-copy b{font-weight:950!important}
.user-side-links a.menu-dynamic-session .user-side-link-copy small{font-weight:950!important;font-size:8.5px!important;letter-spacing:.035em!important}
.user-side-links a.menu-dynamic-session.state-open{background:#eefbf3!important;border-color:#a9dfbf!important;color:#087f55!important}
.user-side-links a.menu-dynamic-session.state-open i{background:#d9f5e4!important;color:#087f55!important}
.user-side-links a.menu-dynamic-session.state-upcoming{background:#fff4e3!important;border-color:#f2c77f!important;color:#a65f00!important}
.user-side-links a.menu-dynamic-session.state-upcoming i{background:#ffe6bf!important;color:#b96a00!important}
.user-side-links a.menu-dynamic-session.state-closed,
.user-side-links a.menu-dynamic-session.state-result{background:#fff0f0!important;border-color:#efb7b7!important;color:#c12f2f!important}
.user-side-links a.menu-dynamic-session.state-closed i,
.user-side-links a.menu-dynamic-session.state-result i{background:#ffe0e0!important;color:#c12f2f!important}
.user-side-links a.menu-dynamic-session.state-result .user-side-link-copy small{color:#b42323!important;font-size:9px!important}

.user-session-list-card.state-result .user-session-list-head em,
.user-session-list-card.state-closed .user-session-list-head em{background:#ffe0e0!important;color:#c92a2a!important}
.user-session-list-data .has-result b{color:#c92a2a!important;font-weight:1000!important}

.session-settings-card,.session-monitor-card{border:1px solid #e2e6ef!important}
.session-settings-card.state-open,.session-monitor-card.state-open{box-shadow:inset 4px 0 0 #18a866!important}
.session-settings-card.state-upcoming,.session-monitor-card.state-upcoming{box-shadow:inset 4px 0 0 #df8b16!important}
.session-settings-card.state-closed,.session-settings-card.state-result,
.session-monitor-card.state-closed,.session-monitor-card.state-result{box-shadow:inset 4px 0 0 #d94343!important}
.session-state-badge.state-open,.session-monitor-top em.state-open{background:#d9f5e4!important;color:#087f55!important}
.session-state-badge.state-upcoming,.session-monitor-top em.state-upcoming{background:#ffe6bf!important;color:#a65f00!important}
.session-state-badge.state-closed,.session-state-badge.state-result,
.session-monitor-top em.state-closed,.session-monitor-top em.state-result{background:#ffe0e0!important;color:#c12f2f!important}
.session-settings-head h3,.session-monitor-top>div>b{font-weight:1000!important}
.session-monitor-top em.state-result{font-weight:1000!important;font-size:11px!important}

.bet-close-status.is-upcoming b{color:#b56a00!important}
.bet-close-status.is-open b{color:#118b57!important}
.bet-close-status.is-closed b{color:#cf3333!important}


/* v100: countdown moved to number board, inline sidebar states, gold result numbers, 00 display */
.ag-result-number{
  color:#b78100!important;
  font-weight:1000!important;
  letter-spacing:.02em!important;
  text-shadow:0 1px 0 rgba(255,255,255,.55),0 0 10px rgba(224,171,25,.12);
}
.session-card-result-number{font-size:13px!important;line-height:1!important}
.board-result-number{font-size:16px!important;line-height:1!important}
.inline-result-number{font-size:1.18em!important}
.play-detail-result-number,.history-result-number,.session-list-result-number{font-size:18px!important;line-height:1!important}
.monthly-gold-result{font-size:17px!important}
.admin-result-number{font-size:24px!important}
.admin-inline-result{font-size:14px!important;margin-left:4px}
.admin-table-result{font-size:15px!important;white-space:nowrap}

/* Result state stays closed/red; only declared result number is gold. */
.compact-managed-session.state-result .session-state-inline em,
.user-session-list-card.state-result .user-session-list-head em{background:#ffe0e0!important;color:#c92a2a!important}
.compact-managed-session.state-result .session-state-inline strong{color:#b78100!important;font-size:13px!important}
.user-session-list-data .has-result b,.user-session-list-data .has-result .ag-result-number{color:#b78100!important}
.session-detail-box.has-result b,.session-detail-box.has-result .ag-result-number{color:#b78100!important}
.history-result .ag-result-number{color:#b78100!important}
.result-history-number strong,.monthly-result-cell .ag-result-number{color:#b78100!important;font-weight:1000!important}
.result-pro-state .ag-result-number,.result-final-box .ag-result-number{color:#b78100!important}

/* Session cards: name + state/result + timings. Countdown removed. */
.compact-session-head{align-items:center!important;gap:6px!important}
.compact-session-head>b{font-size:10.7px!important;font-weight:1000!important}
.session-state-inline{display:flex!important;align-items:center!important;gap:4px!important;flex:0 0 auto!important}
.session-state-inline em{font-size:6.2px!important;font-weight:1000!important;letter-spacing:.035em!important}

/* Selected number-board header owns the live countdown. */
.board-state-pill{display:flex!important;align-items:center!important;gap:6px!important;min-height:28px!important;padding:5px 8px!important}
.board-state-pill>b{font-size:7px!important;font-weight:1000!important;letter-spacing:.055em!important;white-space:nowrap!important}
.board-state-pill>strong:not(.ag-result-number){font-size:12px!important;font-weight:1000!important;letter-spacing:.04em!important;font-variant-numeric:tabular-nums!important;white-space:nowrap!important}
.home-board-head .board-state-pill.state-open{background:#e9fff3!important;color:#087f55!important;border:1px solid #a9dfbf!important}
.home-board-head .board-state-pill.state-upcoming{background:#fff4e3!important;color:#a65f00!important;border:1px solid #f2c77f!important}
.home-board-head .board-state-pill.state-closed{background:#fff0f0!important;color:#c92a2a!important;border:1px solid #efb7b7!important}
.home-board-head .board-state-pill.state-result{background:#fff7dc!important;color:#8c6200!important;border:1px solid #e6c65d!important}
.play-number-board-card{background:#fff;border:1px solid #e4e8ee;border-radius:15px;padding:8px;margin-top:7px;box-shadow:0 7px 18px rgba(25,36,58,.035)}
.play-number-board-card .unified-session-board{border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
.play-board-head{margin:0 0 7px!important;padding:1px 2px 7px!important}

/* Sidebar: status/result lives beside session name. */
.user-side-links a.menu-dynamic-session{min-height:42px!important}
.user-side-links a.menu-dynamic-session .user-side-link-copy{display:block!important;min-width:0!important}
.user-side-session-line{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important;width:100%!important}
.user-side-session-line>b{min-width:0!important;flex:1 1 auto!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:10.7px!important;font-weight:1000!important}
.user-side-session-status{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;padding:3px 5px!important;border-radius:999px!important;font-size:6.3px!important;line-height:1!important;font-style:normal!important;font-weight:1000!important;letter-spacing:.04em!important}
.user-side-session-status.state-open{background:#d9f5e4!important;color:#087f55!important}
.user-side-session-status.state-upcoming{background:#ffe6bf!important;color:#a65f00!important}
.user-side-session-status.state-closed,.user-side-session-status.state-result{background:#ffe0e0!important;color:#c92a2a!important}
.sidebar-result-number{font-size:14px!important;line-height:1!important;flex:0 0 auto!important}
.user-side-links a.menu-dynamic-session.state-result{background:#fff0f0!important;border-color:#efb7b7!important;color:#c92a2a!important}
.user-side-links a.menu-dynamic-session.state-result i{background:#ffe0e0!important;color:#c13a3a!important}

@media(max-width:420px){
  .board-state-pill{gap:4px!important;padding:4px 6px!important;min-height:26px!important}
  .board-state-pill>b{font-size:6.2px!important}
  .board-state-pill>strong:not(.ag-result-number){font-size:10.5px!important}
  .board-result-number{font-size:15px!important}
  .user-side-session-line>b{font-size:9.8px!important}
  .user-side-session-status{font-size:5.8px!important;padding:3px 4px!important}
  .sidebar-result-number{font-size:13px!important}
}


/* v100.1 result consistency */
.transaction-result-number{font-size:13px!important}
.session-state-badge .ag-result-number{font-size:14px!important;margin-left:4px!important}




/* v102: no extra selected-session card. The tapped card itself stays selected in the horizontal rail. */
.home-session-card-grid{scroll-behavior:auto!important}
.home-session-select-card.selected{
  position:relative!important;
  z-index:2!important;
  outline:2px solid rgba(23,32,51,.22)!important;
  outline-offset:1px!important;
}

/* v103 · Jodi + Andar-Bahar */
.game-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0 0 8px;padding:3px;background:#f1f4f8;border:1px solid #e2e6ee;border-radius:12px}
.game-mode-tab{min-height:48px;border:0;border-radius:9px;background:transparent;color:#5b6476;display:flex;align-items:center;justify-content:center;gap:7px;font-weight:900;cursor:pointer;-webkit-tap-highlight-color:transparent}
.game-mode-tab span{font-size:13px}.game-mode-tab small{font-size:9px;font-weight:850;opacity:.72}
.game-mode-tab.active{background:#fff;color:#172033;box-shadow:0 2px 8px rgba(20,35,70,.08);outline:2px solid rgba(22,163,106,.15)}
.game-mode-tab.active:first-child{color:#0b7f57}.game-mode-tab.active:last-child{color:#694db8}
.game-board-panel[hidden],.game-placed-panel[hidden]{display:none!important}
.game-mini-help{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:1px 2px 7px;color:#697386}
.game-mini-help b{font-size:11px;color:#172033}.game-mini-help span{font-size:9px;text-align:right}
.ab-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.ab-row{display:grid;grid-template-columns:34px 1fr 1fr;gap:5px;align-items:stretch;border:1px solid #e2e6ee;background:#fafbfc;border-radius:10px;padding:5px;min-width:0}
.ab-digit{display:grid;place-items:center;border-radius:7px;background:#172033;color:#fff;font-size:18px;font-weight:950;min-height:46px}
.ab-side{min-width:0;border:1px solid #dce1e9;background:#fff;border-radius:7px;color:#1f2937;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-items:center;column-gap:4px;padding:5px 6px;cursor:pointer;text-align:left;-webkit-tap-highlight-color:transparent}
.ab-side>b{font-size:15px;font-weight:950;grid-row:1/3}.ab-side>span{font-size:8px;font-weight:850;color:#717b8e;white-space:nowrap}.ab-side>em{font-size:8px;font-style:normal;font-weight:900;color:inherit;white-space:nowrap}
.ab-side.placed{background:#16a36a!important;border-color:#118b59!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.ab-side.placed span{color:rgba(255,255,255,.82)!important}
.ab-side.result-gold{background:#fff5cc!important;border-color:#ddb52a!important;color:#9a6a00!important;box-shadow:inset 0 0 0 2px #f3c83a!important}
.ab-side.result-gold.placed,.ab-side.user-winner-number{background:#f7c72e!important;color:#684700!important;border-color:#c99700!important}
.ab-side:disabled,.ab-side[aria-disabled="true"]{cursor:default;opacity:1}
.game-payout-settings .settings-help{margin:4px 0 8px;color:#6d778c;font-size:10px;line-height:1.35}.game-payout-settings>small{display:block;color:#6d778c;font-size:10px;margin-top:6px}
.history-bet-chip .bet-game-tag,.admin-bet-type{font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.25px;opacity:.72}
.ab-admin-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:8px}.ab-admin-cell{border:1px solid #e2e6ee;border-radius:9px;background:#fff;padding:7px}.ab-admin-cell>b{display:block;font-size:15px}.ab-admin-cell span{display:flex;justify-content:space-between;gap:4px;margin-top:4px;font-size:9px}.ab-admin-cell span b{font-size:10px}
@media(max-width:520px){.ab-board{grid-template-columns:1fr}.ab-row{grid-template-columns:36px 1fr 1fr}.ab-digit{min-height:43px}.game-mode-tab{min-height:44px}.game-mode-tab span{font-size:12px}.game-mode-tab small{font-size:8px}}
@media(max-width:350px){.game-mode-tabs{gap:4px}.game-mode-tab{gap:4px;padding:4px}.ab-row{gap:3px;padding:4px}.ab-side{padding:4px}.ab-side>span{font-size:7.5px}}

/* v104 compact bet-type header + compact andar-bahar board */
.compact-board-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
}
.compact-mode-tabs{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  flex:1 1 auto!important;
  min-width:0!important;
  overflow-x:auto!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
.compact-mode-tabs::-webkit-scrollbar{display:none!important}
.compact-mode-tab{
  flex:0 0 auto!important;
  min-height:28px!important;
  padding:5px 9px!important;
  border:1px solid #d9deea!important;
  border-radius:999px!important;
  background:#f7f9fc!important;
  color:#5b6476!important;
  box-shadow:none!important;
  outline:none!important;
  gap:5px!important;
}
.compact-mode-tab span{font-size:11px!important;font-weight:950!important;white-space:nowrap!important}
.compact-mode-tab small{font-size:9px!important;font-weight:950!important;opacity:.85!important;white-space:nowrap!important}
.compact-mode-tab.active{background:#0d1528!important;color:#fff!important;border-color:#0d1528!important;box-shadow:none!important}
.compact-mode-tab.active small{color:rgba(255,255,255,.9)!important}
.compact-mode-tab.active:first-child,.compact-mode-tab.active:last-child{color:#fff!important}

.compact-ab-board{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
.compact-ab-row{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) minmax(0,1fr)!important;
  gap:5px!important;
  align-items:stretch!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
}
.compact-ab-digit{
  display:grid!important;
  place-items:center!important;
  min-height:50px!important;
  border-radius:10px!important;
  border:1px solid #dfe3ed!important;
  background:#fff!important;
  color:#172033!important;
  font-size:clamp(14px,4vw,18px)!important;
  font-weight:950!important;
}
.compact-ab-side{
  min-height:50px!important;
  border:1px solid #dfe3ed!important;
  border-radius:10px!important;
  background:#fff!important;
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  justify-items:start!important;
  column-gap:6px!important;
  padding:6px 10px!important;
}
.compact-ab-side > b{
  grid-row:1 / 3!important;
  font-size:clamp(13px,3.7vw,16px)!important;
  font-weight:950!important;
  line-height:1!important;
}
.compact-ab-side > span{
  font-size:clamp(9px,2.7vw,12px)!important;
  font-weight:900!important;
  color:#697386!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
.compact-ab-side.placed span{color:rgba(255,255,255,.9)!important}
.compact-ab-side.result-gold span,.compact-ab-side.user-winner-number span{color:inherit!important}
.play-body .placed-head b{text-transform:none!important}

@media(max-width:520px){
  .compact-board-head{align-items:flex-start!important}
  .board-state-pill{flex:0 0 auto!important}
  .compact-ab-row{grid-template-columns:42px minmax(0,1fr) minmax(0,1fr)!important;gap:4px!important}
  .compact-ab-digit,.compact-ab-side{min-height:46px!important}
  .compact-ab-side{padding:5px 8px!important}
  .compact-mode-tab{min-height:26px!important;padding:4px 8px!important}
  .compact-mode-tab span{font-size:10px!important}
  .compact-mode-tab small{font-size:8px!important}
}
@media(max-width:360px){
  .compact-board-head{gap:6px!important}
  .compact-ab-row{grid-template-columns:38px minmax(0,1fr) minmax(0,1fr)!important}
  .compact-ab-side > b{font-size:12px!important}
  .compact-ab-side > span{font-size:8px!important}
}

/* v105: single-row game controls, compact Andar-Bahar, cleaner bet chips */
.home-board-head.compact-board-head,
.play-board-head.compact-board-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:nowrap!important;
  gap:6px!important;
  min-width:0!important;
}
.compact-board-head .compact-mode-tabs{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
  flex:1 1 auto!important;
  min-width:0!important;
  overflow:visible!important;
}
.compact-board-head .compact-mode-tab{
  min-width:0!important;
  min-height:28px!important;
  height:28px!important;
  padding:4px 8px!important;
  border-radius:9px!important;
  flex:0 1 auto!important;
  white-space:nowrap!important;
}
.compact-board-head .compact-mode-tab span{
  font-size:10.5px!important;
  line-height:1!important;
}
.compact-board-head .compact-mode-tab small{
  font-size:8px!important;
  line-height:1!important;
}
.compact-board-head .board-state-pill{
  flex:0 0 auto!important;
  min-height:28px!important;
  height:28px!important;
  padding:4px 7px!important;
  margin:0!important;
  white-space:nowrap!important;
}
.compact-board-head .board-state-pill>b{font-size:6.5px!important}
.compact-board-head .board-state-pill>strong:not(.ag-result-number){font-size:10.5px!important}

/* Andar-Bahar follows the visual rhythm of the Jodi number board. */
.compact-ab-board{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:4px!important;
  width:100%!important;
}
.compact-ab-row{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) minmax(0,1fr)!important;
  gap:4px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
}
.compact-ab-digit,
.compact-ab-side{
  min-height:42px!important;
  height:42px!important;
  border:1px solid #dfe3ed!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#172033!important;
  box-shadow:none!important;
}
.compact-ab-digit{
  display:grid!important;
  place-items:center!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:950!important;
}
.compact-ab-side{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  padding:4px 6px!important;
  text-align:center!important;
}
.compact-ab-side>b{
  display:inline!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:950!important;
}
.compact-ab-side>span{
  display:inline!important;
  font-size:8.5px!important;
  line-height:1!important;
  font-weight:850!important;
  color:#697386!important;
}
/* Same yellow "currently choosing" cue as Jodi; solid green only after saving. */
.home-bet-body .compact-ab-side.selecting,
.play-body .compact-ab-side.selecting{
  background:#ffd84d!important;
  color:#172033!important;
  border-color:#e5b900!important;
  box-shadow:0 0 0 2px rgba(229,185,0,.18)!important;
  animation:agSelectedBlink .72s ease-in-out infinite alternate!important;
}
.home-bet-body .compact-ab-side.selecting>span,
.play-body .compact-ab-side.selecting>span{color:#172033!important}
.home-bet-body .compact-ab-side.placed:not(.result-gold),
.play-body .compact-ab-side.placed:not(.result-gold){
  background:#16a36a!important;
  border-color:#118b59!important;
  color:#fff!important;
}
.home-bet-body .compact-ab-side.placed:not(.result-gold)>span,
.play-body .compact-ab-side.placed:not(.result-gold)>span{color:rgba(255,255,255,.9)!important}

/* Placed-bet chips: readable space between selection, equals sign and money. */
.home-placed-scroll .placed-box,
.play-body .placed-grid .placed-box{
  gap:5px!important;
  padding-left:7px!important;
  padding-right:7px!important;
  white-space:nowrap!important;
}
.home-placed-scroll .placed-box strong,
.play-body .placed-grid .placed-box strong{
  margin:0!important;
  letter-spacing:.01em!important;
  white-space:nowrap!important;
}
.home-placed-scroll .placed-box .bet-equals,
.play-body .placed-grid .placed-box .bet-equals{
  margin:0 1px!important;
  opacity:.9!important;
}
.home-placed-scroll .placed-box .bet-money,
.play-body .placed-grid .placed-box .bet-money{
  white-space:nowrap!important;
}

@media(max-width:420px){
  .home-board-head.compact-board-head,
  .play-board-head.compact-board-head{gap:4px!important}
  .compact-board-head .compact-mode-tabs{gap:3px!important}
  .compact-board-head .compact-mode-tab{height:26px!important;min-height:26px!important;padding:3px 6px!important;border-radius:8px!important}
  .compact-board-head .compact-mode-tab span{font-size:9.2px!important}
  .compact-board-head .compact-mode-tab small{font-size:7.1px!important}
  .compact-board-head .board-state-pill{height:26px!important;min-height:26px!important;padding:3px 5px!important}
  .compact-board-head .board-state-pill>b{font-size:5.8px!important}
  .compact-board-head .board-state-pill>strong:not(.ag-result-number){font-size:9.4px!important}
  .compact-ab-row{grid-template-columns:38px minmax(0,1fr) minmax(0,1fr)!important;gap:3px!important}
  .compact-ab-digit,.compact-ab-side{height:39px!important;min-height:39px!important}
  .compact-ab-digit,.compact-ab-side>b{font-size:11px!important}
  .compact-ab-side>span{font-size:7.6px!important}
  .home-placed-scroll .placed-box,.play-body .placed-grid .placed-box{gap:4px!important;padding-left:5px!important;padding-right:5px!important}
}
@media(max-width:340px){
  .compact-board-head .compact-mode-tab{padding-left:4px!important;padding-right:4px!important}
  .compact-board-head .compact-mode-tab span{font-size:8.5px!important}
  .compact-board-head .compact-mode-tab small{font-size:6.6px!important}
  .compact-board-head .board-state-pill{padding-left:4px!important;padding-right:4px!important}
  .compact-board-head .board-state-pill>b{font-size:5.2px!important}
  .compact-board-head .board-state-pill>strong:not(.ag-result-number){font-size:8.6px!important}
}
@media(prefers-reduced-motion:reduce){
  .home-bet-body .compact-ab-side.selecting,
  .play-body .compact-ab-side.selecting{animation:none!important;background:#ffd84d!important}
}
.home-placed-scroll .placed-box .bet-kind,
.play-body .placed-grid .placed-box .bet-kind{
  font-size:8.5px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.035em!important;
  white-space:nowrap!important;
  margin-right:1px!important;
}
@media(max-width:420px){
  .home-placed-scroll .placed-box .bet-kind,
  .play-body .placed-grid .placed-box .bet-kind{font-size:7.6px!important}
}

/* v106 unified bets + tighter Andar-Bahar board */
.home-bet-body .compact-board-head,
.play-body .compact-board-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
}
.home-bet-body .compact-mode-tabs,
.play-body .compact-mode-tabs{
  flex:1 1 auto!important;
  min-width:0!important;
  overflow-x:auto!important;
  flex-wrap:nowrap!important;
}

.home-bet-body .compact-ab-board,
.play-body .compact-ab-board{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:6px!important;
}
.home-bet-body .compact-ab-row,
.play-body .compact-ab-row{
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr) minmax(0,1fr)!important;
  gap:6px!important;
  align-items:stretch!important;
}
.home-bet-body .compact-ab-digit,
.play-body .compact-ab-digit{
  width:46px!important;
  min-height:46px!important;
  height:46px!important;
  border-radius:10px!important;
  font-size:15px!important;
  font-weight:950!important;
}
.home-bet-body .compact-ab-side,
.play-body .compact-ab-side{
  min-height:46px!important;
  height:46px!important;
  border-radius:10px!important;
  padding:0 10px!important;
  justify-content:center!important;
  gap:7px!important;
}
.home-bet-body .compact-ab-side>b,
.play-body .compact-ab-side>b{font-size:15px!important}
.home-bet-body .compact-ab-side>span,
.play-body .compact-ab-side>span{font-size:10px!important;font-weight:900!important}

.home-bet-body .unified-placed-section,
.play-body .unified-placed-section{
  padding:9px!important;
  border-radius:14px!important;
}
.home-bet-body .unified-placed-head,
.play-body .unified-placed-head{
  margin-bottom:9px!important;
  padding:7px 8px!important;
  border-radius:12px!important;
  border:1px solid #e4e9f1!important;
  background:#f6f8fc!important;
}
.home-bet-body .unified-placed-head .placed-head-label,
.play-body .unified-placed-head .placed-head-label{
  display:inline-flex!important;
  align-items:center!important;
  background:#0d1528!important;
  color:#fff!important;
  border-radius:10px!important;
  padding:6px 10px!important;
}
.home-bet-body .unified-placed-head .placed-head-label b,
.play-body .unified-placed-head .placed-head-label b{
  color:#fff!important;
  font-size:12px!important;
  font-weight:950!important;
  letter-spacing:.01em!important;
}
.home-bet-body .unified-placed-head>span,
.play-body .unified-placed-head>span{
  font-size:10px!important;
  color:#233047!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.home-bet-body .unified-placed-head>span strong,
.play-body .unified-placed-head>span strong{font-size:11px!important;font-weight:950!important}
.home-bet-body .unified-placed-scroll,
.play-body .unified-placed-scroll{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:6px!important;
}
.home-bet-body .unified-placed-scroll .placed-box,
.play-body .unified-placed-scroll .placed-box{
  min-height:34px!important;
  height:34px!important;
  border-radius:9px!important;
  padding:6px 6px!important;
  gap:4px!important;
}
.home-bet-body .unified-placed-scroll .placed-box.bet-jodi:not(.won):not(.lost),
.play-body .unified-placed-scroll .placed-box.bet-jodi:not(.won):not(.lost){
  background:#16a36a!important;
  border-color:#118b59!important;
  color:#fff!important;
}
.home-bet-body .unified-placed-scroll .placed-box.bet-ab:not(.won):not(.lost),
.play-body .unified-placed-scroll .placed-box.bet-ab:not(.won):not(.lost){
  background:#1f74da!important;
  border-color:#155ab0!important;
  color:#fff!important;
}
.home-bet-body .unified-placed-scroll .placed-box .bet-kind,
.play-body .unified-placed-scroll .placed-box .bet-kind{
  font-size:8px!important;
  font-weight:950!important;
  line-height:1!important;
}
.home-bet-body .unified-placed-scroll .placed-box strong,
.play-body .unified-placed-scroll .placed-box strong{
  font-size:12px!important;
  font-weight:950!important;
}
.home-bet-body .unified-placed-scroll .placed-box .bet-money,
.play-body .unified-placed-scroll .placed-box .bet-money,
.home-bet-body .unified-placed-scroll .placed-box .bet-equals,
.play-body .unified-placed-scroll .placed-box .bet-equals{
  font-size:10px!important;
  font-weight:900!important;
}
@media(max-width:420px){
  .home-bet-body .compact-board-head,
  .play-body .compact-board-head{gap:6px!important}
  .home-bet-body .compact-ab-row,
  .play-body .compact-ab-row{grid-template-columns:42px minmax(0,1fr) minmax(0,1fr)!important;gap:5px!important}
  .home-bet-body .compact-ab-digit,
  .play-body .compact-ab-digit,
  .home-bet-body .compact-ab-side,
  .play-body .compact-ab-side{min-height:42px!important;height:42px!important}
  .home-bet-body .compact-ab-side>b,
  .play-body .compact-ab-side>b{font-size:14px!important}
  .home-bet-body .compact-ab-side>span,
  .play-body .compact-ab-side>span{font-size:9px!important}
  .home-bet-body .unified-placed-scroll,
  .play-body .unified-placed-scroll{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
  .home-bet-body .unified-placed-head,
  .play-body .unified-placed-head{padding:6px 7px!important}
  .home-bet-body .unified-placed-head .placed-head-label b,
  .play-body .unified-placed-head .placed-head-label b{font-size:11px!important}
  .home-bet-body .unified-placed-head>span,
  .play-body .unified-placed-head>span{font-size:9px!important}
}

/* v107 layout repair: compact AB grid + restore placed chip sizing */
.home-bet-body .home-board-card,
.play-body .home-board-card,
.home-bet-body .game-board-panel,
.play-body .game-board-panel,
.home-bet-body .number-board,
.play-body .number-board,
.home-bet-body .compact-ab-board,
.play-body .compact-ab-board{
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.home-bet-body .home-board-card,
.play-body .home-board-card{overflow:hidden!important}

/* Always one row: Jodi | Andar-Bahar | countdown/result. No horizontal header scroller. */
.home-bet-body .compact-board-head,
.play-body .compact-board-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
  min-width:0!important;
}
.home-bet-body .compact-mode-tabs,
.play-body .compact-mode-tabs{
  display:grid!important;
  grid-template-columns:max-content max-content!important;
  gap:4px!important;
  flex:0 1 auto!important;
  min-width:0!important;
  overflow:visible!important;
  padding:0!important;
  margin:0!important;
}
.home-bet-body .compact-mode-tab,
.play-body .compact-mode-tab{
  min-width:0!important;
  height:28px!important;
  min-height:28px!important;
  padding:4px 7px!important;
  gap:4px!important;
  border-radius:8px!important;
  white-space:nowrap!important;
}
.home-bet-body .compact-mode-tab span,
.play-body .compact-mode-tab span{font-size:10px!important;line-height:1!important}
.home-bet-body .compact-mode-tab small,
.play-body .compact-mode-tab small{font-size:7.5px!important;line-height:1!important}
.home-bet-body .compact-board-head .board-state-pill,
.play-body .compact-board-head .board-state-pill{
  flex:0 0 auto!important;
  height:28px!important;
  min-height:28px!important;
  padding:4px 7px!important;
}

/* AB: multiple compact [digit][A][B] groups per line, rather than full-screen rows. */
.home-bet-body .compact-ab-board,
.play-body .compact-ab-board{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:5px!important;
  overflow:visible!important;
}
.home-bet-body .compact-ab-row,
.play-body .compact-ab-row{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:4px!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
}
.home-bet-body .compact-ab-digit,
.play-body .compact-ab-digit,
.home-bet-body .compact-ab-side,
.play-body .compact-ab-side{
  width:100%!important;
  aspect-ratio:1/1!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  border:1px solid #dfe3ed!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#172033!important;
  display:grid!important;
  place-items:center!important;
  box-shadow:none!important;
  line-height:1!important;
}
.home-bet-body .compact-ab-digit,
.play-body .compact-ab-digit,
.home-bet-body .compact-ab-side>b,
.play-body .compact-ab-side>b{
  font-size:clamp(12px,3.7vw,16px)!important;
  font-weight:950!important;
}
/* The toggle already explains Andar/Bahar; compact boxes show A/B only. */
.home-bet-body .compact-ab-side>span,
.play-body .compact-ab-side>span{display:none!important}

.home-bet-body .compact-ab-side.selecting,
.play-body .compact-ab-side.selecting{
  background:#ffd84d!important;
  color:#172033!important;
  border-color:#e5b900!important;
  box-shadow:0 0 0 2px rgba(229,185,0,.18)!important;
}
.home-bet-body .compact-ab-side.placed:not(.result-gold),
.play-body .compact-ab-side.placed:not(.result-gold){
  background:#16a36a!important;
  border-color:#118b59!important;
  color:#fff!important;
}

/* Restore the compact v105-style placed-bet chips. */
.home-bet-body .unified-placed-scroll,
.play-body .unified-placed-scroll{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:4px!important;
  min-width:0!important;
}
.home-bet-body .unified-placed-scroll .placed-box,
.play-body .unified-placed-scroll .placed-box{
  min-width:0!important;
  min-height:29px!important;
  height:29px!important;
  max-height:29px!important;
  padding:5px 4px!important;
  gap:3px!important;
  border-radius:7px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.home-bet-body .unified-placed-scroll .placed-box .bet-kind,
.play-body .unified-placed-scroll .placed-box .bet-kind{
  font-size:7.6px!important;
  font-weight:950!important;
  flex:0 0 auto!important;
}
.home-bet-body .unified-placed-scroll .placed-box strong,
.play-body .unified-placed-scroll .placed-box strong{
  font-size:10.5px!important;
  font-weight:950!important;
  flex:0 0 auto!important;
}
.home-bet-body .unified-placed-scroll .placed-box .bet-equals,
.play-body .unified-placed-scroll .placed-box .bet-equals{
  font-size:8px!important;
  font-weight:900!important;
  flex:0 0 auto!important;
}
.home-bet-body .unified-placed-scroll .placed-box .bet-money,
.play-body .unified-placed-scroll .placed-box .bet-money{
  font-size:8.5px!important;
  font-weight:900!important;
  flex:0 1 auto!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.home-bet-body .unified-placed-scroll .placed-box.bet-ab:not(.won):not(.lost),
.play-body .unified-placed-scroll .placed-box.bet-ab:not(.won):not(.lost){
  background:#1f74da!important;
  border-color:#155ab0!important;
  color:#fff!important;
}
.home-bet-body .unified-placed-scroll .placed-box.bet-jodi:not(.won):not(.lost),
.play-body .unified-placed-scroll .placed-box.bet-jodi:not(.won):not(.lost){
  background:#16a36a!important;
  border-color:#118b59!important;
  color:#fff!important;
}

/* Header stays highlighted but compact. */
.home-bet-body .unified-placed-head,
.play-body .unified-placed-head{
  min-height:36px!important;
  padding:5px 7px!important;
  margin-bottom:6px!important;
  gap:6px!important;
}
.home-bet-body .unified-placed-head .placed-head-label,
.play-body .unified-placed-head .placed-head-label{padding:5px 8px!important;border-radius:8px!important}
.home-bet-body .unified-placed-head .placed-head-label b,
.play-body .unified-placed-head .placed-head-label b{font-size:11px!important}
.home-bet-body .unified-placed-head>span,
.play-body .unified-placed-head>span{font-size:8.5px!important;font-weight:900!important}
.home-bet-body .unified-placed-head>span strong,
.play-body .unified-placed-head>span strong{font-size:9.5px!important;font-weight:950!important}

@media(min-width:521px){
  .home-bet-body .compact-ab-board,
  .play-body .compact-ab-board{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:360px){
  .home-bet-body .compact-board-head,
  .play-body .compact-board-head{gap:3px!important}
  .home-bet-body .compact-mode-tab,
  .play-body .compact-mode-tab{padding-left:5px!important;padding-right:5px!important}
  .home-bet-body .compact-mode-tab span,
  .play-body .compact-mode-tab span{font-size:9px!important}
  .home-bet-body .compact-mode-tab small,
  .play-body .compact-mode-tab small{font-size:6.8px!important}
  .home-bet-body .compact-board-head .board-state-pill,
  .play-body .compact-board-head .board-state-pill{padding-left:5px!important;padding-right:5px!important}
  .home-bet-body .unified-placed-scroll,
  .play-body .unified-placed-scroll{gap:3px!important}
  .home-bet-body .unified-placed-scroll .placed-box,
  .play-body .unified-placed-scroll .placed-box{padding-left:3px!important;padding-right:3px!important;gap:2px!important}
}

/* v108 — exact compact Andar-Bahar rows: [digit][A][B], sized from the 10-column Jodi rhythm */
.home-bet-body .compact-ab-board,
.play-body .compact-ab-board{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:3px!important;
  width:100%!important;
  max-width:100%!important;
  padding:5px!important;
  border:1px solid #e5e8ef!important;
  border-radius:12px!important;
  background:#fff!important;
  overflow:hidden!important;
}
.home-bet-body .compact-ab-row,
.play-body .compact-ab-row{
  display:grid!important;
  grid-template-columns:repeat(10,minmax(0,1fr))!important;
  gap:3px!important;
  width:100%!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
}
.home-bet-body .compact-ab-digit,
.home-bet-body .compact-ab-side,
.play-body .compact-ab-digit,
.play-body .compact-ab-side{
  grid-column:auto!important;
  width:100%!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  border:1px solid #dfe3ed!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#172033!important;
  display:grid!important;
  place-items:center!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.home-bet-body .compact-ab-digit,
.home-bet-body .compact-ab-side{
  height:clamp(20px,min(calc((100vw - 52px)/10),calc((100dvh - 382px)/10)),42px)!important;
  min-height:0!important;
  aspect-ratio:auto!important;
}
.play-body .compact-ab-digit,
.play-body .compact-ab-side{
  aspect-ratio:1/1!important;
  height:auto!important;
  min-height:0!important;
}
.home-bet-body .compact-ab-digit,
.play-body .compact-ab-digit,
.home-bet-body .compact-ab-side>b,
.play-body .compact-ab-side>b{
  font-size:clamp(9px,2.8vw,13px)!important;
  line-height:1!important;
  font-weight:950!important;
}
.home-bet-body .compact-ab-side>span,
.play-body .compact-ab-side>span{display:none!important}

/* Select cue matches Jodi before save; saved Andar/Bahar stays green on the board. */
.home-bet-body .compact-ab-side.selecting,
.play-body .compact-ab-side.selecting{
  background:#ffd84d!important;
  color:#172033!important;
  border-color:#e5b900!important;
  box-shadow:inset 0 0 0 1px rgba(229,185,0,.32)!important;
}
.home-bet-body .compact-ab-side.placed:not(.result-gold),
.play-body .compact-ab-side.placed:not(.result-gold){
  background:#16a36a!important;
  color:#fff!important;
  border-color:#118b59!important;
}

/* Keep the v107 compact combined bet chips untouched and prevent page-width overflow. */
.home-bet-body .home-board-card,
.play-body .home-board-card,
.home-bet-body .unified-placed-section,
.play-body .unified-placed-section{min-width:0!important;max-width:100%!important;overflow:hidden!important}

@media(max-width:370px){
  .home-bet-body .compact-ab-board,
  .play-body .compact-ab-board{gap:2px!important;padding:4px!important;border-radius:9px!important}
  .home-bet-body .compact-ab-row,
  .play-body .compact-ab-row{gap:2px!important}
  .home-bet-body .compact-ab-digit,
  .home-bet-body .compact-ab-side,
  .play-body .compact-ab-digit,
  .play-body .compact-ab-side{border-radius:4px!important}
}

/* v109 — keep v108 heights; only widen Andar/Bahar labels and center the 3-box group. */
.home-bet-body .compact-ab-row,
.play-body .compact-ab-row{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  width:50%!important;
  max-width:50%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  justify-content:center!important;
}
.home-bet-body .compact-ab-digit,
.play-body .compact-ab-digit{
  grid-column:span 1!important;
}
.home-bet-body .compact-ab-side,
.play-body .compact-ab-side{
  grid-column:span 2!important;
  width:100%!important;
}
.home-bet-body .compact-ab-side>b,
.play-body .compact-ab-side>b{
  font-size:clamp(9px,2.35vw,12px)!important;
  white-space:nowrap!important;
  text-align:center!important;
  width:100%!important;
}
.home-bet-body .compact-ab-board,
.play-body .compact-ab-board{
  align-items:center!important;
}
@media(max-width:370px){
  .home-bet-body .compact-ab-side>b,
  .play-body .compact-ab-side>b{font-size:9px!important}
}

/* v110 — exact Jodi-height Andar/Bahar cells; widths only expand for words. */
.home-bet-body .compact-ab-board,
.play-body .compact-ab-board{
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  align-items:start!important;
  gap:3px!important;
  width:100%!important;
  max-width:100%!important;
  padding:5px!important;
  overflow:hidden!important;
}
.home-bet-body .compact-ab-row,
.play-body .compact-ab-row{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:3px!important;
  width:calc(50% - 1.5px)!important;
  max-width:calc(50% - 1.5px)!important;
  min-width:0!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  justify-self:center!important;
  align-items:stretch!important;
}
.home-bet-body .compact-ab-digit,
.play-body .compact-ab-digit{
  grid-column:span 1!important;
  width:100%!important;
  min-width:0!important;
}
.home-bet-body .compact-ab-side,
.play-body .compact-ab-side{
  grid-column:span 2!important;
  width:100%!important;
  min-width:0!important;
}

/* HOME: use the exact same vertical cell calculation as the Jodi board. */
.home-bet-body .compact-ab-digit,
.home-bet-body .compact-ab-side{
  height:clamp(20px,min(calc((100vw - 52px)/10),calc((100dvh - 420px)/10)),42px)!important;
  min-height:0!important;
  max-height:42px!important;
  aspect-ratio:auto!important;
  padding:0 3px!important;
  border-radius:6px!important;
  display:grid!important;
  place-items:center!important;
}

/* PLAY PAGE: one-unit digit stays square; two-unit word cells only get wider, never taller. */
.play-body .compact-ab-digit{
  height:auto!important;
  min-height:0!important;
  aspect-ratio:1/1!important;
  padding:0!important;
  border-radius:6px!important;
  display:grid!important;
  place-items:center!important;
}
.play-body .compact-ab-side{
  height:100%!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  padding:0 3px!important;
  border-radius:6px!important;
  display:grid!important;
  place-items:center!important;
  align-self:stretch!important;
}

.home-bet-body .compact-ab-side>b,
.play-body .compact-ab-side>b{
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  font-size:clamp(8px,2.15vw,11px)!important;
  line-height:1!important;
  font-weight:950!important;
  white-space:nowrap!important;
  text-align:center!important;
}
.home-bet-body .compact-ab-digit,
.play-body .compact-ab-digit{
  font-size:clamp(9px,2.8vw,13px)!important;
  line-height:1!important;
  font-weight:950!important;
}

@media(max-width:370px){
  .home-bet-body .compact-ab-board,
  .play-body .compact-ab-board{gap:2px!important;padding:4px!important}
  .home-bet-body .compact-ab-row,
  .play-body .compact-ab-row{
    gap:2px!important;
    width:calc(50% - 1px)!important;
    max-width:calc(50% - 1px)!important;
  }
  .home-bet-body .compact-ab-side>b,
  .play-body .compact-ab-side>b{font-size:8px!important}
  .home-bet-body .compact-ab-digit,
  .home-bet-body .compact-ab-side,
  .play-body .compact-ab-digit,
  .play-body .compact-ab-side{border-radius:4px!important}
}

/* v111 — keep all existing heights; fix bet-card width, inner scrolling and alignment. */
.home-bet-body .unified-placed-scroll.placed-cols-4,
.play-body .unified-placed-scroll.placed-cols-4{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.home-bet-body .unified-placed-scroll.placed-cols-3,
.play-body .unified-placed-scroll.placed-cols-3{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.home-bet-body .unified-placed-scroll.placed-cols-2,
.play-body .unified-placed-scroll.placed-cols-2{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.home-bet-body .unified-placed-scroll .placed-box,
.play-body .unified-placed-scroll .placed-box{
  min-width:0!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
  touch-action:pan-y!important;
}
.home-bet-body .unified-placed-scroll .placed-box>*,
.play-body .unified-placed-scroll .placed-box>*{
  flex:0 0 auto!important;
  text-align:center!important;
}

/* The lower bet list is the scrolling area. Extra internal bottom room lets the last row clear the fixed nav. */
.home-bet-body .home-placed-section{
  overflow:hidden!important;
}
.home-bet-body .home-placed-scroll{
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-y:contain!important;
  touch-action:pan-y!important;
  padding-bottom:calc(72px + env(safe-area-inset-bottom))!important;
  scroll-padding-bottom:calc(72px + env(safe-area-inset-bottom))!important;
}

/* Andar/Bahar words remain perfectly centered without changing any box height. */
.home-bet-body .compact-ab-side>b,
.play-body .compact-ab-side>b{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  justify-self:center!important;
  align-self:center!important;
}
.home-bet-body .compact-ab-digit,
.play-body .compact-ab-digit{
  text-align:center!important;
}

/* v111 history repair: fresh asset version, both game types, responsive chips and safe bottom scrolling. */
.history-body{
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
.history-wrap{
  padding-bottom:calc(105px + env(safe-area-inset-bottom))!important;
}
.history-bet-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(112px,1fr))!important;
  gap:5px!important;
  width:100%!important;
  min-width:0!important;
}
.history-bet-chip{
  min-width:0!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.history-bet-chip .bet-game-tag,
.history-bet-chip strong,
.history-bet-chip .bet-equals,
.history-bet-chip .bet-money,
.history-bet-chip em{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
.history-bet-chip.history-ab:not(.won):not(.lost){
  background:#eaf3ff!important;
  border-color:#9fc8f7!important;
  color:#155ab0!important;
}
.history-bet-chip.history-jodi:not(.won):not(.lost){
  background:#edfff5!important;
  border-color:#bfe8d3!important;
  color:#087f5b!important;
}
.history-session-card,
.history-day-summary,
.history-totals{min-width:0!important;max-width:100%!important}
@media(max-width:370px){
  .history-bet-grid{grid-template-columns:repeat(auto-fit,minmax(102px,1fr))!important}
}

/* v112 — one compact bet-chip language across Home, Play and History. Heights untouched. */
.home-bet-body .unified-placed-scroll .placed-box.bet-ab .bet-kind-ab,
.play-body .unified-placed-scroll .placed-box.bet-ab .bet-kind-ab{
  font-size:12px!important;
  font-weight:950!important;
  line-height:1!important;
  margin:0!important;
  letter-spacing:0!important;
}
.home-bet-body .unified-placed-scroll .placed-box.bet-ab strong,
.play-body .unified-placed-scroll .placed-box.bet-ab strong{
  font-size:12px!important;
  font-weight:950!important;
  line-height:1!important;
}

/* Andar/Bahar words centered in their existing cells; no height or width rules changed here. */
.home-bet-body .compact-ab-side,
.play-body .compact-ab-side{
  text-align:center!important;
  justify-items:center!important;
  align-items:center!important;
  justify-content:center!important;
  align-content:center!important;
}
.home-bet-body .compact-ab-side>b,
.play-body .compact-ab-side>b{
  display:block!important;
  width:100%!important;
  margin:0!important;
  text-align:center!important;
  justify-self:center!important;
  align-self:center!important;
}

/* History mirrors live placed-bet chips: responsive 4 / 3 / 2 columns, compact fixed chip height. */
.history-bet-grid.history-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.history-bet-grid.history-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.history-bet-grid.history-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.history-bet-chip{
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  padding:5px 6px!important;
  gap:4px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  border-radius:9px!important;
  min-width:0!important;
}
.history-bet-chip.history-ab:not(.won):not(.lost){
  background:#1f74da!important;
  border-color:#155ab0!important;
  color:#fff!important;
}
.history-bet-chip.history-jodi:not(.won):not(.lost){
  background:#16a36a!important;
  border-color:#118b59!important;
  color:#fff!important;
}
.history-bet-chip .bet-game-tag,
.history-bet-chip strong{
  font-size:12px!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:0!important;
  margin:0!important;
  color:inherit!important;
}
.history-bet-chip .bet-equals,
.history-bet-chip .bet-money{
  font-size:10px!important;
  font-weight:900!important;
  line-height:1!important;
  color:inherit!important;
}
.history-bet-chip em{
  font-size:8px!important;
  font-weight:950!important;
  line-height:1!important;
  color:inherit!important;
}
@media(max-width:370px){
  .history-bet-chip{gap:3px!important;padding-left:4px!important;padding-right:4px!important}
  .history-bet-chip .bet-game-tag,
  .history-bet-chip strong{font-size:11px!important}
  .history-bet-chip .bet-equals,
  .history-bet-chip .bet-money{font-size:9px!important}
}


/* v113 — exact centering for Andar/Bahar labels inside existing boxes; no height changes */
.home-bet-body .compact-ab-side,
.play-body .compact-ab-side{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:0 3px!important;
}
.home-bet-body .compact-ab-side>b,
.play-body .compact-ab-side>b{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  text-align:center!important;
  line-height:1!important;
}


/* v114 — History bet chips EXACTLY match live Dashboard placed-bet chips. */
.history-bet-grid.history-cols-4{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:4px!important;
}
.history-bet-grid.history-cols-3{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:4px!important;
}
.history-bet-grid.history-cols-2{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:4px!important;
}
.history-bet-chip{
  min-width:0!important;
  min-height:29px!important;
  height:29px!important;
  max-height:29px!important;
  padding:5px 4px!important;
  gap:3px!important;
  border-radius:7px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
/* Same live Dashboard colors. */
.history-bet-chip.history-ab:not(.won):not(.lost){
  background:#1f74da!important;
  border-color:#155ab0!important;
  color:#fff!important;
}
.history-bet-chip.history-jodi:not(.won):not(.lost){
  background:#16a36a!important;
  border-color:#118b59!important;
  color:#fff!important;
}
/* Override older History rules so text is truly identical to Dashboard. */
.history-bet-chip.history-ab:not(.won):not(.lost) *,
.history-bet-chip.history-jodi:not(.won):not(.lost) *{
  color:#fff!important;
}
/* Dashboard AB: A/B and its digit are same size/weight. */
.history-bet-chip.history-ab .bet-game-tag,
.history-bet-chip.history-ab strong{
  font-size:12px!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:0!important;
  margin:0!important;
  flex:0 0 auto!important;
}
/* Dashboard Jodi number size. */
.history-bet-chip.history-jodi strong{
  font-size:10.5px!important;
  font-weight:950!important;
  line-height:1!important;
  margin:0!important;
  flex:0 0 auto!important;
}
.history-bet-chip .bet-equals{
  font-size:8px!important;
  font-weight:900!important;
  line-height:1!important;
  flex:0 0 auto!important;
}
.history-bet-chip .bet-money{
  font-size:8.5px!important;
  font-weight:900!important;
  line-height:1!important;
  flex:0 1 auto!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.history-bet-chip em{
  font-size:8px!important;
  font-weight:950!important;
  line-height:1!important;
  flex:0 0 auto!important;
}

/* v115 — compact All Sessions cards */
.sessions-user-body .user-session-list{gap:7px!important}
.sessions-user-body .compact-session-list-card{
  display:block!important;
  padding:9px 10px!important;
  border-radius:14px!important;
  text-decoration:none!important;
  color:#172033!important;
}
.sessions-user-body .compact-session-list-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  margin:0!important;
}
.sessions-user-body .compact-session-list-head>div:first-child{
  min-width:0!important;
}
.sessions-user-body .compact-session-list-head>div:first-child>b{
  display:block!important;
  font-size:14px!important;
  line-height:1!important;
  margin:0!important;
}
.sessions-user-body .session-list-head-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  flex:0 0 auto!important;
}
.sessions-user-body .session-list-head-actions>em{
  margin:0!important;
  font-size:7.5px!important;
  font-weight:950!important;
  line-height:1!important;
  padding:5px 7px!important;
  border-radius:999px!important;
  white-space:nowrap!important;
}
.sessions-user-body .session-list-go{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:25px!important;
  padding:5px 9px!important;
  border-radius:8px!important;
  background:#0d1528!important;
  border:1px solid #0d1528!important;
  color:#fff!important;
  text-decoration:none!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:1000!important;
  letter-spacing:.035em!important;
  white-space:nowrap!important;
}
.sessions-user-body .state-open .session-list-go{background:#087f5b!important;border-color:#087f5b!important}
.sessions-user-body .state-upcoming .session-list-go{background:#b87300!important;border-color:#b87300!important}
.sessions-user-body .state-closed .session-list-go,
.sessions-user-body .state-result .session-list-go{background:#c92a2a!important;border-color:#c92a2a!important}
.sessions-user-body .compact-session-list-data{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:4px!important;
  margin-top:7px!important;
}
.sessions-user-body .compact-session-list-data>div{
  min-height:36px!important;
  height:36px!important;
  padding:4px 3px!important;
  border-radius:8px!important;
}
.sessions-user-body .compact-session-list-data small{
  font-size:6.5px!important;
  line-height:1!important;
}
.sessions-user-body .compact-session-list-data b{
  margin-top:2px!important;
  font-size:8.5px!important;
  line-height:1!important;
}
.sessions-user-body .compact-session-list-data .has-result b,
.sessions-user-body .compact-session-list-data .has-result .session-list-result-number{
  font-size:15px!important;
  line-height:1!important;
}
.sessions-user-body .user-session-open-link{display:none!important}
@media(max-width:370px){
  .sessions-user-body .compact-session-list-card{padding:8px!important}
  .sessions-user-body .session-list-head-actions{gap:4px!important}
  .sessions-user-body .session-list-go{padding-left:7px!important;padding-right:7px!important;font-size:7.3px!important}
  .sessions-user-body .compact-session-list-data{gap:3px!important}
  .sessions-user-body .compact-session-list-data>div{min-height:34px!important;height:34px!important}
}


/* v116 — symbol-only session action; preserve v115 compact card sizing */
.sessions-user-body .session-list-go{
  width:25px!important;
  min-width:25px!important;
  height:25px!important;
  min-height:25px!important;
  padding:0!important;
  border-radius:50%!important;
  font-size:19px!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
@media(max-width:420px){
  .sessions-user-body .session-list-go{
    width:24px!important;
    min-width:24px!important;
    height:24px!important;
    min-height:24px!important;
    padding:0!important;
    font-size:18px!important;
  }
}

/* v117 — subtle selected-state pulse across sessions + active game mode. No sizing changes. */
@keyframes agSelectedSessionPulse{
  0%,100%{transform:scale(1);box-shadow:0 0 0 2px var(--ag-pulse-line,rgba(26,115,232,.30)),0 4px 12px rgba(17,32,55,.06)}
  50%{transform:scale(1.014);box-shadow:0 0 0 3px var(--ag-pulse-line,rgba(26,115,232,.42)),0 7px 18px var(--ag-pulse-glow,rgba(26,115,232,.16))}
}
@keyframes agSelectedGamePulse{
  0%,100%{transform:scale(1);box-shadow:0 2px 7px rgba(17,32,55,.10)}
  50%{transform:scale(1.035);box-shadow:0 5px 15px rgba(17,32,55,.20)}
}

/* Dashboard's currently selected session card. */
.home-session-select-card.selected,
.managed-session-card.selected{
  --ag-pulse-line:rgba(24,135,92,.38);
  --ag-pulse-glow:rgba(24,135,92,.18);
  transform-origin:center center!important;
  animation:agSelectedSessionPulse 1.65s ease-in-out infinite!important;
  will-change:transform,box-shadow;
}
.home-session-select-card.selected.state-upcoming,
.managed-session-card.selected.state-upcoming{
  --ag-pulse-line:rgba(230,145,26,.40);
  --ag-pulse-glow:rgba(230,145,26,.17);
}
.home-session-select-card.selected.state-closed,
.managed-session-card.selected.state-closed,
.home-session-select-card.selected.state-result,
.managed-session-card.selected.state-result{
  --ag-pulse-line:rgba(217,65,65,.40);
  --ag-pulse-glow:rgba(217,65,65,.16);
}

/* Selected session in sidebar, All Sessions and History. */
.user-side-links a.selected-session-pulse,
.user-session-list-card.selected-session-pulse,
.history-session-card.selected-session-pulse{
  --ag-pulse-line:rgba(71,83,205,.34);
  --ag-pulse-glow:rgba(71,83,205,.14);
  position:relative!important;
  z-index:2!important;
  transform-origin:center center!important;
  animation:agSelectedSessionPulse 1.65s ease-in-out infinite!important;
  will-change:transform,box-shadow;
}
.user-side-links a.selected-session-pulse.state-open,
.user-session-list-card.selected-session-pulse.state-open{
  --ag-pulse-line:rgba(24,135,92,.40);
  --ag-pulse-glow:rgba(24,135,92,.18);
}
.user-side-links a.selected-session-pulse.state-upcoming,
.user-session-list-card.selected-session-pulse.state-upcoming{
  --ag-pulse-line:rgba(230,145,26,.42);
  --ag-pulse-glow:rgba(230,145,26,.16);
}
.user-side-links a.selected-session-pulse.state-closed,
.user-side-links a.selected-session-pulse.state-result,
.user-session-list-card.selected-session-pulse.state-closed,
.user-session-list-card.selected-session-pulse.state-result{
  --ag-pulse-line:rgba(217,65,65,.42);
  --ag-pulse-glow:rgba(217,65,65,.16);
}

/* Jodi / Andar-Bahar currently selected option. */
.game-mode-tab.active,
.compact-mode-tab.active{
  transform-origin:center center!important;
  animation:agSelectedGamePulse 1.55s ease-in-out infinite!important;
  will-change:transform,box-shadow;
  position:relative!important;
  z-index:3!important;
}

@media(prefers-reduced-motion:reduce){
  .home-session-select-card.selected,
  .managed-session-card.selected,
  .user-side-links a.selected-session-pulse,
  .user-session-list-card.selected-session-pulse,
  .history-session-card.selected-session-pulse,
  .game-mode-tab.active,
  .compact-mode-tab.active{
    animation:none!important;
    transform:none!important;
  }
}


/* v118 — high-visibility selected states with full status backgrounds, no size changes */
@keyframes agSelectedSessionPulseStrong{
  0%,100%{transform:scale(1);box-shadow:0 0 0 2px var(--ag-pulse-line-strong,rgba(26,115,232,.42)),0 8px 20px rgba(17,32,55,.12)}
  50%{transform:scale(1.026);box-shadow:0 0 0 4px var(--ag-pulse-line-strong,rgba(26,115,232,.55)),0 12px 28px var(--ag-pulse-glow-strong,rgba(26,115,232,.24))}
}
@keyframes agSelectedGamePulseStrong{
  0%,100%{transform:scale(1);box-shadow:0 4px 10px rgba(17,32,55,.12)}
  50%{transform:scale(1.06);box-shadow:0 10px 24px rgba(17,32,55,.24)}
}

.home-session-select-card.selected,
.managed-session-card.selected,
.user-side-links a.selected-session-pulse,
.user-session-list-card.selected-session-pulse,
.history-session-card.selected-session-pulse{
  animation:agSelectedSessionPulseStrong 1.38s ease-in-out infinite!important;
  transform-origin:center center!important;
  will-change:transform,box-shadow!important;
  position:relative!important;
  z-index:4!important;
}

.game-mode-tab.active,
.compact-mode-tab.active{
  animation:agSelectedGamePulseStrong 1.28s ease-in-out infinite!important;
  transform-origin:center center!important;
  will-change:transform,box-shadow!important;
  z-index:5!important;
}

/* OPEN = full green */
.home-session-select-card.selected.state-open,
.managed-session-card.selected.state-open,
.user-side-links a.selected-session-pulse.state-open,
.user-session-list-card.selected-session-pulse.state-open,
.history-session-card.selected-session-pulse.state-open{
  --ag-pulse-line-strong:rgba(7,119,79,.70);
  --ag-pulse-glow-strong:rgba(16,154,95,.34);
  background:#17a866!important;
  border-color:#118c54!important;
  color:#fff!important;
}

/* UPCOMING = full yellow/orange */
.home-session-select-card.selected.state-upcoming,
.home-session-select-card.selected.state-waiting,
.managed-session-card.selected.state-upcoming,
.managed-session-card.selected.state-waiting,
.user-side-links a.selected-session-pulse.state-upcoming,
.user-side-links a.selected-session-pulse.state-waiting,
.user-session-list-card.selected-session-pulse.state-upcoming,
.user-session-list-card.selected-session-pulse.state-waiting,
.history-session-card.selected-session-pulse.state-upcoming,
.history-session-card.selected-session-pulse.state-waiting{
  --ag-pulse-line-strong:rgba(164,103,0,.72);
  --ag-pulse-glow-strong:rgba(245,184,42,.34);
  background:#f2bc2a!important;
  border-color:#d39b00!important;
  color:#362500!important;
}

/* CLOSED / RESULT = full red */
.home-session-select-card.selected.state-closed,
.home-session-select-card.selected.state-result,
.home-session-select-card.selected.result-declared,
.managed-session-card.selected.state-closed,
.managed-session-card.selected.state-result,
.managed-session-card.selected.result-declared,
.user-side-links a.selected-session-pulse.state-closed,
.user-side-links a.selected-session-pulse.state-result,
.user-session-list-card.selected-session-pulse.state-closed,
.user-session-list-card.selected-session-pulse.state-result,
.history-session-card.selected-session-pulse.state-closed,
.history-session-card.selected-session-pulse.state-result,
.history-session-card.selected-session-pulse.result-declared{
  --ag-pulse-line-strong:rgba(160,31,31,.70);
  --ag-pulse-glow-strong:rgba(224,72,72,.30);
  background:#db4a4a!important;
  border-color:#c03434!important;
  color:#fff!important;
}

/* Dashboard selected session card copy + timing boxes */
.home-session-select-card.selected .managed-session-head b,
.managed-session-card.selected .managed-session-head b,
.home-session-select-card.selected .managed-session-times b,
.managed-session-card.selected .managed-session-times b,
.home-session-select-card.selected .managed-session-times small,
.managed-session-card.selected .managed-session-times small,
.home-session-select-card.selected .session-card-result-number,
.managed-session-card.selected .session-card-result-number{
  color:inherit!important;
}
.home-session-select-card.selected.state-open .managed-session-head b,
.managed-session-card.selected.state-open .managed-session-head b,
.home-session-select-card.selected.state-closed .managed-session-head b,
.managed-session-card.selected.state-closed .managed-session-head b,
.home-session-select-card.selected.result-declared .managed-session-head b,
.managed-session-card.selected.result-declared .managed-session-head b,
.home-session-select-card.selected.state-open .managed-session-times b,
.managed-session-card.selected.state-open .managed-session-times b,
.home-session-select-card.selected.state-closed .managed-session-times b,
.managed-session-card.selected.state-closed .managed-session-times b,
.home-session-select-card.selected.result-declared .managed-session-times b,
.managed-session-card.selected.result-declared .managed-session-times b{color:#fff!important}
.home-session-select-card.selected.state-open .managed-session-times small,
.managed-session-card.selected.state-open .managed-session-times small,
.home-session-select-card.selected.state-closed .managed-session-times small,
.managed-session-card.selected.state-closed .managed-session-times small,
.home-session-select-card.selected.result-declared .managed-session-times small,
.managed-session-card.selected.result-declared .managed-session-times small{color:rgba(255,255,255,.86)!important}
.home-session-select-card.selected .managed-session-times > div,
.managed-session-card.selected .managed-session-times > div{
  background:rgba(255,255,255,.15)!important;
  border-color:rgba(255,255,255,.32)!important;
}
.home-session-select-card.selected.state-upcoming .managed-session-times > div,
.home-session-select-card.selected.state-waiting .managed-session-times > div,
.managed-session-card.selected.state-upcoming .managed-session-times > div,
.managed-session-card.selected.state-waiting .managed-session-times > div{
  background:rgba(255,255,255,.34)!important;
  border-color:rgba(90,56,0,.18)!important;
}
.home-session-select-card.selected .session-state-inline em,
.managed-session-card.selected .session-state-inline em,
.history-session-card.selected-session-pulse .history-result span,
.user-session-list-card.selected-session-pulse .user-session-list-head em{
  font-weight:1000!important;
}
.home-session-select-card.selected.state-open .session-state-inline em,
.managed-session-card.selected.state-open .session-state-inline em,
.user-session-list-card.selected-session-pulse.state-open .user-session-list-head em{
  background:rgba(255,255,255,.18)!important;color:#fff!important;
}
.home-session-select-card.selected.state-upcoming .session-state-inline em,
.home-session-select-card.selected.state-waiting .session-state-inline em,
.managed-session-card.selected.state-upcoming .session-state-inline em,
.managed-session-card.selected.state-waiting .session-state-inline em,
.user-session-list-card.selected-session-pulse.state-upcoming .user-session-list-head em,
.user-session-list-card.selected-session-pulse.state-waiting .user-session-list-head em{
  background:rgba(255,255,255,.34)!important;color:#362500!important;
}
.home-session-select-card.selected.state-closed .session-state-inline em,
.home-session-select-card.selected.result-declared .session-state-inline em,
.managed-session-card.selected.state-closed .session-state-inline em,
.managed-session-card.selected.result-declared .session-state-inline em,
.user-session-list-card.selected-session-pulse.state-closed .user-session-list-head em,
.user-session-list-card.selected-session-pulse.state-result .user-session-list-head em{
  background:rgba(255,255,255,.18)!important;color:#fff!important;
}

/* Sidebar selected items */
.user-side-links a.selected-session-pulse .user-side-link-copy b,
.user-side-links a.selected-session-pulse .user-side-link-copy small,
.user-side-links a.selected-session-pulse .user-side-session-status,
.user-side-links a.selected-session-pulse em{color:inherit!important}
.user-side-links a.selected-session-pulse i{background:rgba(255,255,255,.18)!important;color:inherit!important}
.user-side-links a.selected-session-pulse.state-open .user-side-link-copy b,
.user-side-links a.selected-session-pulse.state-open .user-side-link-copy small,
.user-side-links a.selected-session-pulse.state-open .user-side-session-status,
.user-side-links a.selected-session-pulse.state-open em{color:#fff!important}
.user-side-links a.selected-session-pulse.state-open .user-side-session-status{background:rgba(255,255,255,.18)!important}
.user-side-links a.selected-session-pulse.state-upcoming .user-side-link-copy b,
.user-side-links a.selected-session-pulse.state-upcoming .user-side-link-copy small,
.user-side-links a.selected-session-pulse.state-upcoming .user-side-session-status,
.user-side-links a.selected-session-pulse.state-upcoming em{color:#362500!important}
.user-side-links a.selected-session-pulse.state-upcoming .user-side-session-status{background:rgba(255,255,255,.35)!important}
.user-side-links a.selected-session-pulse.state-closed .user-side-link-copy b,
.user-side-links a.selected-session-pulse.state-closed .user-side-link-copy small,
.user-side-links a.selected-session-pulse.state-closed .user-side-session-status,
.user-side-links a.selected-session-pulse.state-result .user-side-link-copy b,
.user-side-links a.selected-session-pulse.state-result .user-side-link-copy small,
.user-side-links a.selected-session-pulse.state-result .user-side-session-status,
.user-side-links a.selected-session-pulse.state-result em,
.user-side-links a.selected-session-pulse.state-closed em{color:#fff!important}
.user-side-links a.selected-session-pulse.state-closed .user-side-session-status,
.user-side-links a.selected-session-pulse.state-result .user-side-session-status{background:rgba(255,255,255,.18)!important}

/* All Sessions / History selected cards */
.user-session-list-card.selected-session-pulse .user-session-list-head b,
.user-session-list-card.selected-session-pulse .user-session-list-head span,
.history-session-card.selected-session-pulse .history-session-head b,
.history-session-card.selected-session-pulse .history-session-head span,
.history-session-card.selected-session-pulse .history-result,
.history-session-card.selected-session-pulse .history-result b{color:inherit!important}
.user-session-list-card.selected-session-pulse.state-open .user-session-list-head b,
.user-session-list-card.selected-session-pulse.state-open .user-session-list-head span,
.history-session-card.selected-session-pulse.state-open .history-session-head b,
.history-session-card.selected-session-pulse.state-open .history-session-head span,
.history-session-card.selected-session-pulse.state-open .history-result,
.history-session-card.selected-session-pulse.state-open .history-result b{color:#fff!important}
.user-session-list-card.selected-session-pulse.state-upcoming .user-session-list-head b,
.user-session-list-card.selected-session-pulse.state-upcoming .user-session-list-head span,
.history-session-card.selected-session-pulse.state-upcoming .history-session-head b,
.history-session-card.selected-session-pulse.state-upcoming .history-session-head span,
.history-session-card.selected-session-pulse.state-upcoming .history-result,
.history-session-card.selected-session-pulse.state-upcoming .history-result b{color:#362500!important}
.user-session-list-card.selected-session-pulse.state-closed .user-session-list-head b,
.user-session-list-card.selected-session-pulse.state-closed .user-session-list-head span,
.user-session-list-card.selected-session-pulse.state-result .user-session-list-head b,
.user-session-list-card.selected-session-pulse.state-result .user-session-list-head span,
.history-session-card.selected-session-pulse.state-closed .history-session-head b,
.history-session-card.selected-session-pulse.state-closed .history-session-head span,
.history-session-card.selected-session-pulse.state-result .history-session-head b,
.history-session-card.selected-session-pulse.state-result .history-session-head span,
.history-session-card.selected-session-pulse.state-closed .history-result,
.history-session-card.selected-session-pulse.state-closed .history-result b,
.history-session-card.selected-session-pulse.state-result .history-result,
.history-session-card.selected-session-pulse.state-result .history-result b{color:#fff!important}

/* exact stronger active game pulse */
.compact-mode-tab.active,.game-mode-tab.active{box-shadow:0 8px 18px rgba(17,32,55,.18)!important}

@media(prefers-reduced-motion:reduce){
  .home-session-select-card.selected,
  .managed-session-card.selected,
  .user-side-links a.selected-session-pulse,
  .user-session-list-card.selected-session-pulse,
  .history-session-card.selected-session-pulse,
  .game-mode-tab.active,
  .compact-mode-tab.active{
    animation:none!important;
    transform:none!important;
  }
}


/* v119 — text visibility + gold result readability fix */
/* Keep strong full status backgrounds, but improve text contrast and timing-box readability. */
.home-session-select-card.selected,
.managed-session-card.selected,
.user-side-links a.selected-session-pulse,
.user-session-list-card.selected-session-pulse,
.history-session-card.selected-session-pulse{
  overflow:hidden!important;
}

/* Status-specific selected backgrounds */
.home-session-select-card.selected.state-open,
.managed-session-card.selected.state-open,
.user-side-links a.selected-session-pulse.state-open,
.user-session-list-card.selected-session-pulse.state-open,
.history-session-card.selected-session-pulse.state-open{
  background:#14a56a!important;
  border-color:#0d8a56!important;
  color:#ffffff!important;
}
.home-session-select-card.selected.state-upcoming,
.home-session-select-card.selected.state-waiting,
.managed-session-card.selected.state-upcoming,
.managed-session-card.selected.state-waiting,
.user-side-links a.selected-session-pulse.state-upcoming,
.user-side-links a.selected-session-pulse.state-waiting,
.user-session-list-card.selected-session-pulse.state-upcoming,
.user-session-list-card.selected-session-pulse.state-waiting,
.history-session-card.selected-session-pulse.state-upcoming,
.history-session-card.selected-session-pulse.state-waiting{
  background:#f0bf2a!important;
  border-color:#d69d00!important;
  color:#2f2502!important;
}
.home-session-select-card.selected.state-closed,
.home-session-select-card.selected.state-result,
.home-session-select-card.selected.result-declared,
.managed-session-card.selected.state-closed,
.managed-session-card.selected.state-result,
.managed-session-card.selected.result-declared,
.user-side-links a.selected-session-pulse.state-closed,
.user-side-links a.selected-session-pulse.state-result,
.user-session-list-card.selected-session-pulse.state-closed,
.user-session-list-card.selected-session-pulse.state-result,
.history-session-card.selected-session-pulse.state-closed,
.history-session-card.selected-session-pulse.state-result,
.history-session-card.selected-session-pulse.result-declared{
  background:#d94a4a!important;
  border-color:#be3535!important;
  color:#ffffff!important;
}

/* Main headings / labels on selected cards */
.home-session-select-card.selected .managed-session-head b,
.managed-session-card.selected .managed-session-head b,
.home-session-select-card.selected .session-state-inline,
.managed-session-card.selected .session-state-inline,
.user-session-list-card.selected-session-pulse .user-session-list-head b,
.user-session-list-card.selected-session-pulse .user-session-list-head span,
.history-session-card.selected-session-pulse .history-session-head b,
.history-session-card.selected-session-pulse .history-session-head span,
.history-session-card.selected-session-pulse .history-result,
.history-session-card.selected-session-pulse .history-result b{
  color:inherit!important;
}
.home-session-select-card.selected.state-open .managed-session-head b,
.managed-session-card.selected.state-open .managed-session-head b,
.home-session-select-card.selected.state-closed .managed-session-head b,
.managed-session-card.selected.state-closed .managed-session-head b,
.home-session-select-card.selected.state-result .managed-session-head b,
.managed-session-card.selected.state-result .managed-session-head b,
.home-session-select-card.selected.result-declared .managed-session-head b,
.managed-session-card.selected.result-declared .managed-session-head b{color:#fff!important}
.home-session-select-card.selected.state-upcoming .managed-session-head b,
.home-session-select-card.selected.state-waiting .managed-session-head b,
.managed-session-card.selected.state-upcoming .managed-session-head b,
.managed-session-card.selected.state-waiting .managed-session-head b{color:#2f2502!important}

/* Timing mini boxes inside selected dashboard/home cards = always high-contrast */
.home-session-select-card.selected .managed-session-times > div,
.managed-session-card.selected .managed-session-times > div{
  background:#ffffff!important;
  border-color:rgba(18,32,54,.12)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.65), inset 0 1px 0 rgba(255,255,255,.95)!important;
}
.home-session-select-card.selected .managed-session-times > div small,
.managed-session-card.selected .managed-session-times > div small{
  color:#758096!important;
}
.home-session-select-card.selected .managed-session-times > div b,
.managed-session-card.selected .managed-session-times > div b,
.home-session-select-card.selected .managed-session-times > div strong,
.managed-session-card.selected .managed-session-times > div strong{
  color:#172033!important;
}

/* State badge on selected dashboard cards */
.home-session-select-card.selected .session-state-inline em,
.managed-session-card.selected .session-state-inline em,
.user-side-links a.selected-session-pulse .user-side-session-status,
.user-session-list-card.selected-session-pulse .user-session-list-head em{
  font-weight:1000!important;
  border:1px solid rgba(255,255,255,.28)!important;
}
.home-session-select-card.selected.state-open .session-state-inline em,
.managed-session-card.selected.state-open .session-state-inline em,
.user-side-links a.selected-session-pulse.state-open .user-side-session-status,
.user-session-list-card.selected-session-pulse.state-open .user-session-list-head em{
  background:rgba(255,255,255,.92)!important;
  color:#0a7f4f!important;
}
.home-session-select-card.selected.state-upcoming .session-state-inline em,
.home-session-select-card.selected.state-waiting .session-state-inline em,
.managed-session-card.selected.state-upcoming .session-state-inline em,
.managed-session-card.selected.state-waiting .session-state-inline em,
.user-side-links a.selected-session-pulse.state-upcoming .user-side-session-status,
.user-side-links a.selected-session-pulse.state-waiting .user-side-session-status,
.user-session-list-card.selected-session-pulse.state-upcoming .user-session-list-head em,
.user-session-list-card.selected-session-pulse.state-waiting .user-session-list-head em{
  background:rgba(255,255,255,.9)!important;
  color:#8d5700!important;
}
.home-session-select-card.selected.state-closed .session-state-inline em,
.home-session-select-card.selected.state-result .session-state-inline em,
.home-session-select-card.selected.result-declared .session-state-inline em,
.managed-session-card.selected.state-closed .session-state-inline em,
.managed-session-card.selected.state-result .session-state-inline em,
.managed-session-card.selected.result-declared .session-state-inline em,
.user-side-links a.selected-session-pulse.state-closed .user-side-session-status,
.user-side-links a.selected-session-pulse.state-result .user-side-session-status,
.user-session-list-card.selected-session-pulse.state-closed .user-session-list-head em,
.user-session-list-card.selected-session-pulse.state-result .user-session-list-head em{
  background:rgba(255,255,255,.92)!important;
  color:#bd2d2d!important;
}

/* Sidebar selected item text contrast */
.user-side-links a.selected-session-pulse .user-side-link-copy b,
.user-side-links a.selected-session-pulse .user-side-link-copy small,
.user-side-links a.selected-session-pulse .user-side-session-status,
.user-side-links a.selected-session-pulse em,
.user-side-links a.selected-session-pulse .sidebar-result-number{
  color:inherit!important;
}
.user-side-links a.selected-session-pulse.state-open .user-side-link-copy b,
.user-side-links a.selected-session-pulse.state-open .user-side-link-copy small,
.user-side-links a.selected-session-pulse.state-open em{color:#fff!important}
.user-side-links a.selected-session-pulse.state-upcoming .user-side-link-copy b,
.user-side-links a.selected-session-pulse.state-upcoming .user-side-link-copy small,
.user-side-links a.selected-session-pulse.state-upcoming em{color:#2f2502!important}
.user-side-links a.selected-session-pulse.state-closed .user-side-link-copy b,
.user-side-links a.selected-session-pulse.state-closed .user-side-link-copy small,
.user-side-links a.selected-session-pulse.state-closed em,
.user-side-links a.selected-session-pulse.state-result .user-side-link-copy b,
.user-side-links a.selected-session-pulse.state-result .user-side-link-copy small,
.user-side-links a.selected-session-pulse.state-result em{color:#fff!important}

/* Gold result number = badge style for strong visibility everywhere */
.ag-result-number{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:1.45em!important;
  padding:.08em .34em!important;
  border-radius:999px!important;
  border:1px solid #d7ad28!important;
  background:linear-gradient(180deg,#fff8d7 0%,#f2de96 100%)!important;
  color:#8c6200!important;
  text-shadow:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 1px 2px rgba(117,83,0,.14)!important;
}
.session-card-result-number,
.sidebar-result-number,
.session-list-result-number,
.history-result-number,
.play-detail-result-number,
.inline-result-number,
.board-result-number{line-height:1!important}

/* Make result number still readable inside selected red/green cards */
.home-session-select-card.selected .session-card-result-number,
.managed-session-card.selected .session-card-result-number,
.user-side-links a.selected-session-pulse .sidebar-result-number,
.user-session-list-card.selected-session-pulse .session-list-result-number,
.history-session-card.selected-session-pulse .history-result-number{
  color:#8c6200!important;
}


/* v120 — remove inner timing cards from session cards, keep plain black text */
.home-session-select-card .managed-session-times>div,
.managed-session-card .managed-session-times>div{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  min-height:auto!important;
  padding:0!important;
}
.home-session-select-card .managed-session-times,
.managed-session-card .managed-session-times{
  gap:8px!important;
  margin-top:8px!important;
}
.home-session-select-card .managed-session-times small,
.home-session-select-card .managed-session-times b,
.managed-session-card .managed-session-times small,
.managed-session-card .managed-session-times b,
.home-session-select-card.selected .managed-session-head b,
.managed-session-card.selected .managed-session-head b,
.home-session-select-card.selected .managed-session-times small,
.home-session-select-card.selected .managed-session-times b,
.managed-session-card.selected .managed-session-times small,
.managed-session-card.selected .managed-session-times b,
.home-session-select-card.selected .session-state-inline,
.managed-session-card.selected .session-state-inline{
  color:#111827!important;
}
.home-session-select-card .managed-session-times small,
.managed-session-card .managed-session-times small{
  font-size:6.6px!important;
  color:#5f6777!important;
}
.home-session-select-card .managed-session-times b,
.managed-session-card .managed-session-times b{
  margin-top:2px!important;
  font-size:8.8px!important;
  color:#111827!important;
}
.home-session-select-card.selected .session-state-inline em,
.managed-session-card.selected .session-state-inline em{
  background:rgba(255,255,255,.92)!important;
  color:#111827!important;
  border:1px solid rgba(17,24,39,.08)!important;
}
/* ensure result number remains visible on strong selected cards */
.home-session-select-card.selected .session-card-result-number,
.managed-session-card.selected .session-card-result-number{
  color:#8c6200!important;
}


/* v121 — selected session cards should keep same plain timing text, no inner boxes */
.home-session-select-card.selected .managed-session-times,
.managed-session-card.selected .managed-session-times{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  align-items:end!important;
}
.home-session-select-card.selected .managed-session-times > div,
.managed-session-card.selected .managed-session-times > div,
.home-session-select-card.selected.state-open .managed-session-times > div,
.managed-session-card.selected.state-open .managed-session-times > div,
.home-session-select-card.selected.state-upcoming .managed-session-times > div,
.managed-session-card.selected.state-upcoming .managed-session-times > div,
.home-session-select-card.selected.state-closed .managed-session-times > div,
.managed-session-card.selected.state-closed .managed-session-times > div,
.home-session-select-card.selected.state-result .managed-session-times > div,
.managed-session-card.selected.state-result .managed-session-times > div,
.home-session-select-card.selected.result-declared .managed-session-times > div,
.managed-session-card.selected.result-declared .managed-session-times > div{
  background:transparent!important;
  border:none!important;
  box-shadow:none!important;
  outline:none!important;
  border-radius:0!important;
  min-height:auto!important;
  height:auto!important;
  padding:0!important;
}
.home-session-select-card.selected .managed-session-times > div small,
.managed-session-card.selected .managed-session-times > div small{
  display:block!important;
  text-align:center!important;
  color:#4b5563!important;
  font-size:6.6px!important;
  line-height:1.1!important;
}
.home-session-select-card.selected .managed-session-times > div b,
.managed-session-card.selected .managed-session-times > div b,
.home-session-select-card.selected .managed-session-times > div strong,
.managed-session-card.selected .managed-session-times > div strong{
  display:block!important;
  margin-top:2px!important;
  text-align:center!important;
  color:#111827!important;
  font-size:8.8px!important;
  line-height:1.15!important;
}
.home-session-select-card.selected .managed-session-head b,
.managed-session-card.selected .managed-session-head b{
  color:#111827!important;
}
.home-session-select-card.selected .session-state-inline,
.managed-session-card.selected .session-state-inline{
  color:#111827!important;
}
.home-session-select-card.selected .session-state-inline em,
.managed-session-card.selected .session-state-inline em{
  background:rgba(255,255,255,.92)!important;
  color:#111827!important;
  border:1px solid rgba(17,24,39,.08)!important;
}
.home-session-select-card.selected .session-card-result-number,
.managed-session-card.selected .session-card-result-number{
  color:#8c6200!important;
}


/* v122 — dashboard session names only: larger, clearer; no card sizing changes */
.home-bet-body .home-session-select-card .managed-session-head>b,
.home-bet-body .home-session-select-card .compact-session-head>b{
  font-size:13px!important;
  font-weight:1000!important;
  line-height:1.08!important;
  letter-spacing:.01em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
@media(max-width:370px){
  .home-bet-body .home-session-select-card .managed-session-head>b,
  .home-bet-body .home-session-select-card .compact-session-head>b{
    font-size:12px!important;
  }
}


/* v123 — dashboard session carousel compact + transparent outer surface; fonts unchanged */
.home-bet-body .home-session-hub-card{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
.home-bet-body .managed-session-grid,
.home-bet-body .home-session-card-grid{
  gap:6px!important;
  padding:1px 1px 3px!important;
  width:100%!important;
}
.home-bet-body .compact-managed-session,
.home-bet-body .home-session-select-card.compact-managed-session{
  min-height:54px!important;
  height:auto!important;
  padding:4px 5px!important;
}
.home-bet-body .compact-session-head{
  margin-bottom:1px!important;
  min-height:auto!important;
}
.home-bet-body .home-session-select-card .managed-session-times,
.home-bet-body .managed-session-card .managed-session-times{
  margin-top:2px!important;
  gap:6px!important;
}
/* keep the plain no-inner-box timing style on selected and unselected cards */
.home-bet-body .home-session-select-card .managed-session-times>div,
.home-bet-body .managed-session-card .managed-session-times>div,
.home-bet-body .home-session-select-card.selected .managed-session-times>div,
.home-bet-body .managed-session-card.selected .managed-session-times>div{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  border-radius:0!important;
  min-height:auto!important;
  height:auto!important;
  padding:0!important;
}
@media(max-height:700px){
  .home-bet-body .compact-managed-session,
  .home-bet-body .home-session-select-card.compact-managed-session{
    min-height:50px!important;
    padding:3px 4px!important;
  }
  .home-bet-body .home-session-select-card .managed-session-times,
  .home-bet-body .managed-session-card .managed-session-times{
    margin-top:1px!important;
  }
}

/* v124 — All Sessions matches dashboard compact plain-text card */
.sessions-user-body .user-session-list{
  gap:10px!important;
}
.sessions-user-body .compact-session-list-card{
  padding:10px 12px!important;
  border-radius:18px!important;
  overflow:hidden!important;
}
.sessions-user-body .compact-session-list-head{
  align-items:center!important;
  gap:10px!important;
  margin:0!important;
}
.sessions-user-body .compact-session-list-head>div:first-child>b{
  font-size:15px!important;
  line-height:1!important;
}
.sessions-user-body .session-list-head-actions{
  gap:7px!important;
}
.sessions-user-body .session-list-go{
  width:26px!important;
  min-width:26px!important;
  height:26px!important;
  min-height:26px!important;
  font-size:18px!important;
}
.sessions-user-body .compact-session-list-data{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin-top:8px!important;
  align-items:start!important;
}
.sessions-user-body .compact-session-list-data>div{
  min-height:auto!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  border:none!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  text-align:left!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
}
.sessions-user-body .compact-session-list-data small{
  margin:0!important;
  font-size:7px!important;
  line-height:1.1!important;
  color:#6b7383!important;
}
.sessions-user-body .compact-session-list-data b{
  margin-top:2px!important;
  font-size:10px!important;
  line-height:1.15!important;
  color:#172033!important;
  white-space:nowrap!important;
}
.sessions-user-body .compact-session-list-data .has-result,
.sessions-user-body .compact-session-list-data .has-result b,
.sessions-user-body .compact-session-list-data .has-result .session-list-result-number,
.sessions-user-body .user-session-list-card .ag-result-number{
  background:transparent!important;
  border:none!important;
  box-shadow:none!important;
  color:#172033!important;
}
.sessions-user-body .compact-session-list-data .has-result b,
.sessions-user-body .compact-session-list-data .has-result .session-list-result-number{
  font-size:14px!important;
  font-weight:1000!important;
  line-height:1!important;
}
.sessions-user-body .user-session-list-card.selected-session-pulse .compact-session-list-data small,
.sessions-user-body .user-session-list-card.selected-session-pulse .compact-session-list-data b,
.sessions-user-body .user-session-list-card.selected-session-pulse .compact-session-list-head>div:first-child>b,
.sessions-user-body .user-session-list-card.selected-session-pulse .compact-session-list-data .has-result .session-list-result-number{
  color:#172033!important;
}
@media (max-width:420px){
  .sessions-user-body .compact-session-list-card{
    padding:9px 11px!important;
  }
  .sessions-user-body .compact-session-list-data{
    gap:8px!important;
  }
  .sessions-user-body .compact-session-list-data small{
    font-size:6.8px!important;
  }
  .sessions-user-body .compact-session-list-data b{
    font-size:9.6px!important;
  }
  .sessions-user-body .compact-session-list-data .has-result b,
  .sessions-user-body .compact-session-list-data .has-result .session-list-result-number{
    font-size:13px!important;
  }
}

/* v128-history-normal-static — History stays normal; selected session has no pulse/zoom/background effect. */
.history-session-card.selected-session-pulse,
.history-session-card.selected-session-pulse.state-open,
.history-session-card.selected-session-pulse.state-upcoming,
.history-session-card.selected-session-pulse.state-waiting,
.history-session-card.selected-session-pulse.state-closed,
.history-session-card.selected-session-pulse.state-result,
.history-session-card.selected-session-pulse.result-declared{
  animation:none!important;
  transform:none!important;
  will-change:auto!important;
  background:#fff!important;
  border-color:#e1e4ea!important;
  color:#172033!important;
  box-shadow:none!important;
}
.history-session-card.selected-session-pulse .history-session-head b{color:#172033!important}
.history-session-card.selected-session-pulse .history-session-head span{color:#788195!important}
.history-session-card.selected-session-pulse .history-result,
.history-session-card.selected-session-pulse .history-result b{color:#172033!important}
.history-session-card.selected-session-pulse .history-result .ag-result-number{color:#8c6200!important}

/* v131 — selector + auth + smart scroll + clean popups */
/* Game selector: exact requested black/white treatment; sizing untouched. */
.home-bet-body .game-mode-tab,
.home-bet-body .compact-mode-tab,
.play-body .game-mode-tab,
.play-body .compact-mode-tab{
  background:#fff!important;
  color:#111!important;
  border-color:#d9dee7!important;
  box-shadow:none!important;
  outline:none!important;
  animation:none!important;
  transform:none!important;
  text-transform:uppercase!important;
}
.home-bet-body .game-mode-tab span,
.home-bet-body .compact-mode-tab span,
.home-bet-body .game-mode-tab small,
.home-bet-body .compact-mode-tab small,
.play-body .game-mode-tab span,
.play-body .compact-mode-tab span,
.play-body .game-mode-tab small,
.play-body .compact-mode-tab small{
  color:#111!important;
  opacity:1!important;
  text-transform:uppercase!important;
}
.home-bet-body .game-mode-tab.active,
.home-bet-body .compact-mode-tab.active,
.play-body .game-mode-tab.active,
.play-body .compact-mode-tab.active{
  background:#111!important;
  color:#fff!important;
  border-color:#111!important;
  box-shadow:none!important;
  outline:none!important;
  animation:none!important;
  transform:none!important;
}
.home-bet-body .game-mode-tab.active span,
.home-bet-body .compact-mode-tab.active span,
.home-bet-body .game-mode-tab.active small,
.home-bet-body .compact-mode-tab.active small,
.play-body .game-mode-tab.active span,
.play-body .compact-mode-tab.active span,
.play-body .game-mode-tab.active small,
.play-body .compact-mode-tab.active small{color:#fff!important;opacity:1!important}

html{overflow-x:hidden;overscroll-behavior-y:none}
body{overflow-x:hidden;overscroll-behavior-y:none}
body.user-page-body{min-height:100dvh!important}
/* When content really fits above the fixed bottom nav, do not allow a useless empty scroll. */
body.ag-content-fits{overflow-y:hidden!important}
body.ag-content-fits .user-unified-wrap{padding-bottom:calc(56px + env(safe-area-inset-bottom))!important}

/* Auth pages: logo when present; otherwise clean title-only branding. */
.auth-premium-body{min-height:100dvh!important;overflow-y:auto!important}
.auth-premium-shell{min-height:100dvh!important;display:flex!important;flex-direction:column!important;justify-content:center!important;padding-top:20px!important;padding-bottom:20px!important}
.auth-brand.title-only{margin-bottom:20px!important}
.auth-brand.title-only h1{margin-top:0!important;font-size:30px!important;line-height:1.08!important}
@media(max-height:700px){.auth-premium-shell{justify-content:flex-start!important}}
.admin-auth-body{min-height:100dvh!important;background:#f3f5fa!important;overflow-y:auto!important}
.admin-auth-wrap{min-height:100dvh!important;margin:0 auto!important;padding:20px 18px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;text-align:center!important}
.admin-auth-wrap>h1{margin:0!important;font-size:25px!important}
.admin-auth-logo{width:72px!important;height:72px!important;object-fit:cover!important;border-radius:20px!important;margin:0 auto 12px!important;box-shadow:0 10px 28px rgba(20,30,55,.16)!important}
.admin-auth-label{margin-top:4px!important;margin-bottom:12px!important;color:#7b8495!important;font-size:10px!important;font-weight:850!important}
.admin-auth-wrap .card{width:100%!important;text-align:left!important;margin-top:0!important}
@media(max-height:620px){.admin-auth-wrap{justify-content:flex-start!important}}

.user-side-footer .user-side-logout{width:100%!important;font-family:inherit!important;cursor:pointer!important;text-align:left!important}
.ag-clean-confirm[hidden]{display:none!important}
.ag-clean-confirm{position:fixed!important;inset:0!important;z-index:1000!important;display:grid!important;place-items:center!important;padding:18px!important}
.ag-clean-confirm-scrim{position:absolute!important;inset:0!important;border:0!important;background:rgba(10,16,29,.56)!important}
.ag-clean-confirm-card{position:relative!important;width:min(100%,340px)!important;background:#fff!important;border-radius:20px!important;padding:20px!important;text-align:center!important;box-shadow:0 24px 60px rgba(0,0,0,.24)!important}
.ag-clean-confirm-icon{width:46px!important;height:46px!important;margin:0 auto 10px!important;border-radius:14px!important;display:grid!important;place-items:center!important;background:#fff0f1!important;color:#bd3542!important;font-size:20px!important;font-weight:1000!important}
.ag-clean-confirm-card h3{margin:0 0 6px!important;font-size:19px!important;color:#172033!important}
.ag-clean-confirm-card p{margin:0!important;font-size:11px!important;line-height:1.45!important;color:#707b8d!important}
.ag-clean-confirm-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:16px!important}
.ag-clean-confirm-actions form{margin:0!important;padding:0!important}
.ag-clean-confirm-actions button{width:100%!important;min-height:42px!important;border:0!important;border-radius:11px!important;font:inherit!important;font-size:12px!important;font-weight:900!important;cursor:pointer!important;background:#f1f3f7!important;color:#273247!important}
.ag-clean-confirm-actions button.danger{background:#c6424e!important;color:#fff!important}
.profile-confirm-actions form{margin:0!important;padding:0!important}
.profile-confirm-actions .profile-confirm-submit{width:100%!important;min-height:42px!important;border:0!important;border-radius:11px!important;background:#c6424e!important;color:#fff!important;font:inherit!important;font-size:12px!important;font-weight:900!important;cursor:pointer!important}
.ag-side-foot .ag-admin-logout{border:0!important;background:transparent!important;padding:0!important;color:inherit!important;font:inherit!important;font-weight:900!important;cursor:pointer!important}

/* v132 — auth/title-only + smart scroll + popup hardening */
/* Never show generated initials/AG as an auth-page logo fallback. */
.auth-premium-body .auth-brand-mark,
.auth-premium-body .logo-mark,
.admin-auth-body .logo-mark{
  display:none!important;
}
.auth-premium-body .auth-brand.title-only{
  display:block!important;
  text-align:center!important;
}
.auth-premium-body .auth-brand.title-only h1{
  margin-top:0!important;
}

/* Only suppress vertical scrolling after content has been measured to fit. */
html.ag-v132-no-scroll,
body.ag-v132-no-scroll{
  overflow-y:hidden!important;
  overscroll-behavior-y:none!important;
}
body.ag-v132-no-scroll main.user-unified-wrap,
body.ag-v132-no-scroll main.wrap{
  overscroll-behavior-y:none!important;
}

/* Generic clean confirmation modal used by v132 fallback handler. */
.ag-v132-confirm[hidden]{display:none!important}
.ag-v132-confirm{position:fixed!important;inset:0!important;z-index:1200!important;display:grid!important;place-items:center!important;padding:18px!important}
.ag-v132-confirm-scrim{position:absolute!important;inset:0!important;border:0!important;background:rgba(10,16,29,.58)!important}
.ag-v132-confirm-card{position:relative!important;width:min(100%,340px)!important;background:#fff!important;border-radius:20px!important;padding:20px!important;text-align:center!important;box-shadow:0 24px 60px rgba(0,0,0,.24)!important}
.ag-v132-confirm-card h3{margin:0 0 6px!important;font-size:19px!important;color:#172033!important}
.ag-v132-confirm-card p{margin:0!important;font-size:11px!important;line-height:1.45!important;color:#707b8d!important}
.ag-v132-confirm-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:16px!important}
.ag-v132-confirm-actions button{width:100%!important;min-height:42px!important;border:0!important;border-radius:11px!important;font:inherit!important;font-size:12px!important;font-weight:900!important;cursor:pointer!important;background:#f1f3f7!important;color:#273247!important}
.ag-v132-confirm-actions button.danger{background:#c6424e!important;color:#fff!important}

/* v133 — sidebar main labels only */
/* Hide any cached/legacy secondary copy inside menu rows. */
.user-side-links a .user-side-link-copy>small{
  display:none!important;
}
/* Standard menu rows are now one clean vertically-centered line. */
.user-side-links a:not(.menu-dynamic-session) .user-side-link-copy{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
}
.user-side-links a:not(.menu-dynamic-session) .user-side-link-copy>b{
  margin:0!important;
  line-height:1.15!important;
}

/* v134 — responsive admin redesign: desktop sidebar + tablet/mobile drawer */
.ag-admin-mobilebar,.ag-admin-sidebar-scrim{display:none}
body.ag-admin-layout{background:#f4f6f9!important;color:#172033!important;overflow-x:hidden!important}
body.ag-admin-layout .admin-shell{min-width:0!important}
body.ag-admin-layout .admin-shell>*{max-width:100%}
body.ag-admin-layout .admin-shell .card,
body.ag-admin-layout .admin-shell section,
body.ag-admin-layout .admin-shell form,
body.ag-admin-layout .admin-shell div{min-width:0}
body.ag-admin-layout .ag-sidebar{overflow:hidden!important}
body.ag-admin-layout .ag-side-nav{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;align-content:start!important;scrollbar-width:thin}
body.ag-admin-layout .ag-side-foot{flex:0 0 auto!important}
body.ag-admin-layout .admin-table-scroll,
body.ag-admin-layout .payment-table-wrap,
body.ag-admin-layout .exposure-table-scroll,
body.ag-admin-layout .result-number-table-wrap{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-inline:contain!important}
body.ag-admin-layout img{max-width:100%;height:auto}
body.ag-admin-layout .field,
body.ag-admin-layout input,
body.ag-admin-layout select,
body.ag-admin-layout textarea,
body.ag-admin-layout button{max-width:100%}
body.ag-admin-layout .admin-modal-card{max-height:calc(100dvh - 28px)!important;overflow-y:auto!important;overscroll-behavior:contain}
body.ag-admin-layout .admin-filter-row label,
body.ag-admin-layout .dash-custom-range label,
body.ag-admin-layout .result-filter-form label,
body.ag-admin-layout .bet-analytics-filter label{min-width:0!important}

/* Stable desktop proportions. */
@media(min-width:1025px){
  body.ag-admin-layout .ag-sidebar{width:228px!important;padding:18px 13px!important}
  body.ag-admin-layout .admin-shell{margin-left:228px!important;padding:22px clamp(18px,2vw,30px) 42px!important}
  body.ag-admin-layout .ag-side-nav a{min-height:43px!important;padding:9px 10px!important;font-size:11.5px!important}
  body.ag-admin-layout .ag-side-brand strong{font-size:13.5px!important}
}

/* Tablet: full-width workspace with a proper off-canvas sidebar. */
@media(max-width:1024px){
  body.ag-admin-layout{padding:0!important}
  body.ag-admin-layout.ag-admin-menu-open{overflow:hidden!important;touch-action:none}
  body.ag-admin-layout .admin-shell,
  body.ag-admin-layout .admin-shell.pro-admin{width:100%!important;max-width:none!important;margin:0!important;padding:78px 18px 34px!important}

  .ag-admin-mobilebar{
    position:fixed!important;z-index:205!important;top:0!important;left:0!important;right:0!important;height:60px!important;
    padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left))!important;
    display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;
    background:rgba(255,255,255,.97)!important;border-bottom:1px solid #e2e7ee!important;box-shadow:0 5px 18px rgba(15,23,42,.06)!important;
    backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important
  }
  .ag-admin-menu-toggle{
    width:42px!important;height:42px!important;padding:0!important;margin:0!important;border:1px solid #dfe5ed!important;border-radius:12px!important;
    background:#111827!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;cursor:pointer!important
  }
  .ag-admin-menu-toggle i{display:block!important;width:19px!important;height:2px!important;border-radius:3px!important;background:#fff!important;transition:.2s!important}
  body.ag-admin-menu-open .ag-admin-menu-toggle i:nth-child(1){transform:translateY(6px) rotate(45deg)!important}
  body.ag-admin-menu-open .ag-admin-menu-toggle i:nth-child(2){opacity:0!important}
  body.ag-admin-menu-open .ag-admin-menu-toggle i:nth-child(3){transform:translateY(-6px) rotate(-45deg)!important}
  .ag-admin-mobilebrand{min-width:0!important;line-height:1.05!important}
  .ag-admin-mobilebrand strong{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:14px!important;color:#111827!important}
  .ag-admin-mobilebrand span{display:block!important;margin-top:4px!important;font-size:9px!important;font-weight:850!important;color:#7a8495!important;text-transform:uppercase!important;letter-spacing:.06em!important}
  .ag-admin-mobile-chip{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:28px!important;padding:0 8px!important;border-radius:8px!important;background:#eef2f7!important;color:#4b5563!important;font-size:8px!important;letter-spacing:.08em!important}

  body.ag-admin-layout .ag-sidebar{
    display:flex!important;position:fixed!important;z-index:220!important;inset:0 auto 0 0!important;width:min(330px,86vw)!important;height:100dvh!important;
    padding:max(16px,env(safe-area-inset-top)) 13px max(14px,env(safe-area-inset-bottom))!important;
    transform:translate3d(-105%,0,0)!important;transition:transform .24s ease!important;box-shadow:18px 0 45px rgba(15,23,42,.22)!important
  }
  body.ag-admin-menu-open .ag-sidebar{transform:translate3d(0,0,0)!important}
  body.ag-admin-layout .ag-side-brand{display:flex!important;justify-content:flex-start!important;padding:4px 6px 15px!important}
  body.ag-admin-layout .ag-side-brand>div:last-child{display:block!important;min-width:0!important}
  body.ag-admin-layout .ag-side-brand strong{display:block!important;max-width:220px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:14px!important}
  body.ag-admin-layout .ag-side-brand span{display:block!important}
  body.ag-admin-layout .ag-side-nav{
    display:grid!important;grid-template-columns:1fr!important;gap:5px!important;height:auto!important;padding:12px 0!important;overflow-y:auto!important
  }
  body.ag-admin-layout .ag-side-nav a{
    min-height:44px!important;width:100%!important;padding:9px 11px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;
    border-radius:10px!important;font-size:12px!important;text-align:left!important
  }
  body.ag-admin-layout .ag-side-nav a i{display:block!important;width:23px!important;min-width:23px!important;font-size:16px!important;text-align:center!important}
  body.ag-admin-layout .ag-side-nav a span{display:block!important;font-size:12px!important;line-height:1.15!important}
  body.ag-admin-layout .ag-side-nav a.active{box-shadow:inset 3px 0 0 currentColor!important}
  body.ag-admin-layout .ag-side-foot{display:grid!important;text-align:left!important;margin-top:auto!important;padding:11px 6px 0!important}
  body.ag-admin-layout .ag-side-foot span{display:block!important}
  body.ag-admin-layout .ag-admin-logout{width:100%!important;min-height:40px!important}

  .ag-admin-sidebar-scrim{
    display:block!important;position:fixed!important;z-index:210!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;
    border:0!important;border-radius:0!important;background:rgba(15,23,42,.48)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:.2s!important
  }
  body.ag-admin-menu-open .ag-admin-sidebar-scrim{opacity:1!important;visibility:visible!important;pointer-events:auto!important}

  body.ag-admin-layout .admin-head{min-height:auto!important;margin:0 0 12px!important;gap:10px!important;flex-wrap:wrap!important}
  body.ag-admin-layout .admin-head h2{font-size:21px!important;line-height:1.15!important}
  body.ag-admin-layout .admin-head span{font-size:10px!important}
  body.ag-admin-layout .ag-head-badge{min-height:34px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 10px!important}

  body.ag-admin-layout .pro-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
  body.ag-admin-layout .today-session-grid,
  body.ag-admin-layout .admin-session-grid,
  body.ag-admin-layout .session-pro-grid,
  body.ag-admin-layout .session-settings-grid,
  body.ag-admin-layout .unlimited-session-grid,
  body.ag-admin-layout .bet-session-card-grid,
  body.ag-admin-layout .payment-settings-grid,
  body.ag-admin-layout .settings-grid,
  body.ag-admin-layout .support-admin-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ag-admin-layout .bet-kpi-grid,
  body.ag-admin-layout .result-kpi-grid,
  body.ag-admin-layout .payment-review-stats,
  body.ag-admin-layout .exposure-summary-grid,
  body.ag-admin-layout .share-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.ag-admin-layout .payment-bank-grid,
  body.ag-admin-layout .admin-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}

  body.ag-admin-layout .result-filter-form{display:grid!important;grid-template-columns:minmax(160px,.8fr) minmax(220px,1.4fr) auto!important;gap:8px!important;align-items:end!important}
  body.ag-admin-layout .bet-analytics-filter{display:grid!important;grid-template-columns:minmax(145px,.8fr) minmax(160px,1fr) minmax(220px,1.5fr) auto!important;gap:8px!important;align-items:end!important}
  body.ag-admin-layout .admin-filter-row .field,
  body.ag-admin-layout .result-filter-form .field,
  body.ag-admin-layout .bet-analytics-filter .field{width:100%!important;min-width:0!important}

  body.ag-admin-layout .admin-table{min-width:680px!important}
  body.ag-admin-layout .user-pro-table{min-width:930px!important}
  body.ag-admin-layout .payment-request-table{min-width:820px!important}
}

/* Phone: compact but finger-friendly. */
@media(max-width:700px){
  body.ag-admin-layout .admin-shell,
  body.ag-admin-layout .admin-shell.pro-admin{padding:72px 10px 24px!important}
  .ag-admin-mobilebar{height:56px!important;padding-top:7px!important;padding-bottom:7px!important;grid-template-columns:40px minmax(0,1fr) auto!important;gap:8px!important}
  .ag-admin-menu-toggle{width:40px!important;height:40px!important;border-radius:11px!important}
  .ag-admin-mobilebrand strong{font-size:13px!important}
  .ag-admin-mobilebrand span{font-size:8px!important}
  .ag-admin-mobile-chip{min-height:26px!important;font-size:7px!important;padding:0 7px!important}

  body.ag-admin-layout .admin-head{margin-bottom:9px!important}
  body.ag-admin-layout .admin-head h2{font-size:18px!important}
  body.ag-admin-layout .admin-head span{font-size:9px!important;margin-top:3px!important}
  body.ag-admin-layout .ag-head-badge{min-height:31px!important;font-size:9px!important}

  body.ag-admin-layout .card,
  body.ag-admin-layout .pro-section,
  body.ag-admin-layout .admin-session-panel.card{padding:11px!important;border-radius:12px!important;margin-bottom:9px!important}
  body.ag-admin-layout .pro-section-head{margin-bottom:9px!important;align-items:flex-start!important;flex-wrap:wrap!important}
  body.ag-admin-layout .pro-section-head h3{font-size:14px!important;margin-bottom:2px!important}
  body.ag-admin-layout .pro-section-head p{font-size:9px!important}

  body.ag-admin-layout .pro-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-bottom:9px!important}
  body.ag-admin-layout .pro-stat-grid article{min-height:82px!important;padding:9px!important;border-radius:11px!important}
  body.ag-admin-layout .pro-stat-grid span{font-size:8.5px!important}
  body.ag-admin-layout .pro-stat-grid b{font-size:18px!important;margin:4px 0 2px!important}
  body.ag-admin-layout .pro-stat-grid small{font-size:7.5px!important}

  body.ag-admin-layout .today-session-grid,
  body.ag-admin-layout .admin-session-grid,
  body.ag-admin-layout .session-pro-grid,
  body.ag-admin-layout .session-settings-grid,
  body.ag-admin-layout .unlimited-session-grid,
  body.ag-admin-layout .bet-session-card-grid,
  body.ag-admin-layout .payment-settings-grid,
  body.ag-admin-layout .settings-grid,
  body.ag-admin-layout .support-admin-list{grid-template-columns:1fr!important;gap:8px!important}
  body.ag-admin-layout .bet-kpi-grid,
  body.ag-admin-layout .result-kpi-grid,
  body.ag-admin-layout .payment-review-stats,
  body.ag-admin-layout .exposure-summary-grid,
  body.ag-admin-layout .share-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.ag-admin-layout .payment-bank-grid,
  body.ag-admin-layout .admin-channel-grid{grid-template-columns:1fr!important;gap:7px!important}

  body.ag-admin-layout .dash-toolbar{padding:8px!important;gap:8px!important;border-radius:11px!important}
  body.ag-admin-layout .dash-range-tabs{width:100%!important;gap:4px!important;padding-bottom:2px!important;scrollbar-width:none!important}
  body.ag-admin-layout .dash-range-tabs::-webkit-scrollbar{display:none!important}
  body.ag-admin-layout .dash-range-tabs a{min-height:34px!important;padding:0 10px!important;font-size:9px!important;flex:0 0 auto!important}
  body.ag-admin-layout .dash-custom-range{width:100%!important;grid-template-columns:1fr 1fr!important;gap:6px!important}
  body.ag-admin-layout .dash-custom-range .btn{grid-column:1/-1!important;width:100%!important;min-height:38px!important}

  body.ag-admin-layout .admin-filter-row,
  body.ag-admin-layout .bet-analytics-filter,
  body.ag-admin-layout .result-filter-form{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;width:100%!important}
  body.ag-admin-layout .admin-filter-row>* ,
  body.ag-admin-layout .bet-analytics-filter>* ,
  body.ag-admin-layout .result-filter-form>*{width:100%!important;min-width:0!important;margin:0!important}
  body.ag-admin-layout .admin-filter-row .btn,
  body.ag-admin-layout .admin-filter-row .btnlink,
  body.ag-admin-layout .bet-analytics-filter .btn,
  body.ag-admin-layout .result-filter-form .btn{width:100%!important;min-height:40px!important;margin:0!important}

  body.ag-admin-layout .field{min-height:40px!important;height:auto!important;padding:9px 10px!important;font-size:12px!important;border-radius:9px!important}
  body.ag-admin-layout textarea.field{min-height:92px!important}
  body.ag-admin-layout .btn,
  body.ag-admin-layout .btnlink{min-height:40px!important;padding:9px 11px!important;font-size:10px!important;display:flex!important;align-items:center!important;justify-content:center!important}

  body.ag-admin-layout .session-time-row,
  body.ag-admin-layout .admin-time-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
  body.ag-admin-layout .session-monitor-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ag-admin-layout .number-analysis-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}

  body.ag-admin-layout .admin-table-scroll,
  body.ag-admin-layout .payment-table-wrap,
  body.ag-admin-layout .exposure-table-scroll,
  body.ag-admin-layout .result-number-table-wrap{margin-left:0!important;margin-right:0!important;border-radius:9px!important}
  body.ag-admin-layout .admin-table{min-width:640px!important;font-size:10px!important}
  body.ag-admin-layout .admin-table th{font-size:8px!important;padding:8px!important}
  body.ag-admin-layout .admin-table td{padding:8px!important}
  body.ag-admin-layout .user-pro-table{min-width:900px!important}
  body.ag-admin-layout .payment-request-table{min-width:760px!important}
  body.ag-admin-layout .user-row-actions{gap:4px!important}
  body.ag-admin-layout .row-action{min-height:30px!important;padding:5px 7px!important}

  body.ag-admin-layout .admin-modal{padding:10px!important;align-items:center!important}
  body.ag-admin-layout .admin-modal-card{width:min(100%,520px)!important;max-height:calc(100dvh - 20px)!important;padding:12px!important;border-radius:13px!important}
  body.ag-admin-layout .ag-clean-confirm-card{width:min(92vw,420px)!important}
  body.ag-admin-layout .admin-payment-qr-preview{align-items:flex-start!important}

  .admin-auth-wrap{width:min(100%,440px)!important;padding:16px 12px!important}
  .admin-auth-wrap .card{padding:14px!important;border-radius:14px!important}
  .admin-auth-wrap>h1{font-size:22px!important}
}

@media(max-width:420px){
  body.ag-admin-layout .admin-shell,
  body.ag-admin-layout .admin-shell.pro-admin{padding-left:8px!important;padding-right:8px!important}
  body.ag-admin-layout .pro-stat-grid,
  body.ag-admin-layout .bet-kpi-grid,
  body.ag-admin-layout .result-kpi-grid,
  body.ag-admin-layout .payment-review-stats,
  body.ag-admin-layout .exposure-summary-grid,
  body.ag-admin-layout .share-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ag-admin-layout .session-time-row,
  body.ag-admin-layout .admin-time-grid{grid-template-columns:1fr!important}
  body.ag-admin-layout .number-analysis-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ag-admin-layout .number-analysis-summary>*:last-child{grid-column:1/-1!important}
  .ag-admin-mobile-chip{display:none!important}
  .ag-admin-mobilebar{grid-template-columns:40px minmax(0,1fr)!important}
}

@media(prefers-reduced-motion:reduce){
  body.ag-admin-layout .ag-sidebar,.ag-admin-sidebar-scrim,.ag-admin-menu-toggle i{transition:none!important}
}
/* v136 — compact user-panel-style admin sidebar; sidebar only */
body.ag-admin-layout .ag-sidebar{
  background:#f8fafc!important;
  color:#273247!important;
  border-right:1px solid #e2e7ee!important;
  box-shadow:6px 0 20px rgba(20,31,55,.055)!important;
}
body.ag-admin-layout .ag-side-brand{
  border-bottom:1px solid #e4e9f1!important;
  color:#172033!important;
}
body.ag-admin-layout .ag-side-brand .ag-logo{
  width:30px!important;height:30px!important;min-width:30px!important;border-radius:8px!important;
  background:#111827!important;color:#fff!important;font-size:10px!important;
}
body.ag-admin-layout .ag-side-brand strong{color:#172033!important}
body.ag-admin-layout .ag-side-brand span{color:#7d8798!important}
body.ag-admin-layout .ag-side-nav{
  gap:4px!important;
  padding:8px 0!important;
  scrollbar-width:none!important;
}
body.ag-admin-layout .ag-side-nav::-webkit-scrollbar{display:none!important}
body.ag-admin-layout .ag-side-nav a{
  width:100%!important;
  min-height:36px!important;
  padding:4px 6px!important;
  gap:7px!important;
  margin:0!important;
  border:1px solid #dfe6ef!important;
  border-radius:9px!important;
  background:#fff!important;
  box-shadow:0 2px 7px rgba(31,45,72,.035)!important;
  color:#3d4a61!important;
  font-size:10.5px!important;
  font-weight:850!important;
  line-height:1.08!important;
  text-align:left!important;
}
body.ag-admin-layout .ag-side-nav a i{
  display:grid!important;
  place-items:center!important;
  width:27px!important;
  min-width:27px!important;
  height:27px!important;
  border-radius:7px!important;
  background:#eef2f7!important;
  color:#66738a!important;
  font-size:14px!important;
  font-style:normal!important;
  text-align:center!important;
}
body.ag-admin-layout .ag-side-nav a span{
  display:block!important;
  min-width:0!important;
  color:inherit!important;
  font-size:10.5px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.ag-admin-layout .ag-side-nav a:hover{
  background:#f5f7fb!important;
  border-color:#d7deea!important;
  color:#273247!important;
}
body.ag-admin-layout .ag-side-nav a.active{
  background:linear-gradient(135deg,#3e6be7,#4b4cdb)!important;
  border-color:#4161df!important;
  color:#fff!important;
  box-shadow:0 6px 14px rgba(65,86,218,.16)!important;
}
body.ag-admin-layout .ag-side-nav a.active i{
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
}
body.ag-admin-layout .ag-side-foot{
  border-top:1px solid #dde5ee!important;
  padding:8px 0 0!important;
  gap:5px!important;
}
body.ag-admin-layout .ag-side-foot span{
  color:#8791a1!important;
  font-size:7.5px!important;
}
body.ag-admin-layout .ag-admin-logout,
body.ag-admin-layout .ag-side-foot a{
  min-height:36px!important;
  padding:5px 8px!important;
  border:1px solid #f0d8db!important;
  border-radius:9px!important;
  background:#fff3f4!important;
  color:#b63d48!important;
  font-size:10px!important;
  font-weight:900!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-decoration:none!important;
}

/* Desktop: genuinely slim sidebar like the user panel. */
@media(min-width:1025px){
  body.ag-admin-layout .ag-sidebar{
    width:190px!important;
    padding:10px 8px!important;
  }
  body.ag-admin-layout .admin-shell,
  body.ag-admin-layout .admin-shell.pro-admin{
    margin-left:190px!important;
  }
  body.ag-admin-layout .ag-side-brand{
    gap:7px!important;
    padding:5px 4px 10px!important;
  }
  body.ag-admin-layout .ag-side-brand strong{
    font-size:11.5px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.ag-admin-layout .ag-side-brand span{
    margin-top:2px!important;
    font-size:7.5px!important;
  }
}

/* Tablet/mobile: same slim drawer language as user panel. */
@media(max-width:1024px){
  body.ag-admin-layout .ag-sidebar{
    top:60px!important;
    bottom:0!important;
    left:0!important;
    right:auto!important;
    inset:60px auto 0 0!important;
    width:218px!important;
    max-width:68vw!important;
    height:auto!important;
    padding:8px!important;
    border-radius:0 0 16px 0!important;
    box-shadow:12px 10px 32px rgba(20,31,55,.16)!important;
  }
  body.ag-admin-layout .ag-side-brand{display:none!important}
  body.ag-admin-layout .ag-side-nav{
    padding:2px 0 8px!important;
    gap:5px!important;
  }
  body.ag-admin-layout .ag-side-nav a{
    min-height:38px!important;
    padding:4px 7px!important;
    gap:7px!important;
  }
  body.ag-admin-layout .ag-side-nav a i{
    width:29px!important;
    min-width:29px!important;
    height:29px!important;
    border-radius:8px!important;
  }
  body.ag-admin-layout .ag-side-nav a span{font-size:10.5px!important}
  body.ag-admin-layout .ag-side-foot{
    margin-top:auto!important;
    padding:8px 0 0!important;
  }
  .ag-admin-sidebar-scrim{
    top:60px!important;
    height:calc(100dvh - 60px)!important;
  }
}

@media(max-width:700px){
  body.ag-admin-layout .ag-sidebar{
    top:56px!important;
    inset:56px auto 0 0!important;
    width:205px!important;
    max-width:72vw!important;
    padding:8px 7px!important;
  }
  .ag-admin-sidebar-scrim{
    top:56px!important;
    height:calc(100dvh - 56px)!important;
  }
}

@media(max-width:370px){
  body.ag-admin-layout .ag-sidebar{width:188px!important;max-width:76vw!important}
  body.ag-admin-layout .ag-side-nav a{font-size:9.8px!important;gap:6px!important;padding-left:6px!important;padding-right:6px!important}
  body.ag-admin-layout .ag-side-nav a span{font-size:9.8px!important}
  body.ag-admin-layout .ag-side-nav a i{width:27px!important;min-width:27px!important;height:27px!important}
}
/* v138 — admin CSS-only safe scrolling. No JS/PWA/SW changes. */
html:has(body.ag-admin-layout:not(.ag-admin-menu-open)){
  height:auto!important;
  min-height:100%!important;
  max-height:none!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
body.ag-admin-layout:not(.ag-admin-menu-open),
body.ag-admin-layout.ag-content-fits:not(.ag-admin-menu-open),
body.ag-admin-layout.ag-v131-no-scroll:not(.ag-admin-menu-open),
body.ag-admin-layout.ag-v132-no-scroll:not(.ag-admin-menu-open){
  position:relative!important;
  inset:auto!important;
  height:auto!important;
  min-height:100vh!important;
  min-height:100dvh!important;
  max-height:none!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  touch-action:pan-y!important;
  overscroll-behavior-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
}
body.ag-admin-layout .admin-shell,
body.ag-admin-layout .admin-shell.pro-admin{
  height:auto!important;
  min-height:100vh!important;
  min-height:100dvh!important;
  max-height:none!important;
  overflow:visible!important;
  padding-bottom:max(48px,calc(24px + env(safe-area-inset-bottom)))!important;
}
body.ag-admin-layout .admin-table-scroll,
body.ag-admin-layout .payment-table-wrap,
body.ag-admin-layout .exposure-table-scroll,
body.ag-admin-layout .result-number-table-wrap{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
}
/* Drawer may lock background only while it is actually open. */
body.ag-admin-layout.ag-admin-menu-open{
  height:100dvh!important;
  max-height:100dvh!important;
  overflow:hidden!important;
  touch-action:none!important;
}
body.ag-admin-layout .ag-side-nav{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  min-height:0!important;
  -webkit-overflow-scrolling:touch!important;
}
/* v139 — launch-ready admin settings repair; no global scroll rules */
.v139-settings-grid{align-items:start!important}
.v139-settings-grid .settings-card{min-width:0!important}
.v139-wide-card{grid-column:1/-1!important}
.v139-important-card{border-color:#cbd5e1!important;box-shadow:0 8px 22px rgba(15,23,42,.06)!important}
.v139-card-title{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;margin-bottom:8px!important}
.v139-card-title h3{margin:0!important}.v139-card-title span{display:block!important;margin-top:3px!important;font-size:8px!important;color:#7a8497!important}
.v139-card-title>b,.v139-card-title>a{flex:0 0 auto!important;padding:5px 7px!important;border-radius:999px!important;background:#eef2f7!important;color:#344054!important;font-size:8px!important;text-decoration:none!important}
.v139-help{display:block!important;margin-top:8px!important;color:#7a8497!important;line-height:1.45!important}
.v139-launch-card{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important}.v139-launch-card h3{margin:0 0 4px!important}.v139-launch-card p{margin:0!important;color:#7a8497!important;font-size:10px!important}.v139-launch-card .btnlink{width:auto!important;min-width:150px!important;margin:0!important}
.v139-launch-summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important}.v139-launch-summary small{font-size:8px!important;font-weight:900!important;letter-spacing:.08em!important;color:#7a8497!important}.v139-launch-summary h3{margin:4px 0!important}.v139-launch-summary p{margin:0!important;color:#667085!important;font-size:10px!important}.v139-launch-summary .btnlink{width:auto!important;min-width:130px!important;margin:0!important}.v139-launch-summary.is-ready{border-color:#b9e7ca!important;background:#f4fff8!important}.v139-launch-summary.has-fail{border-color:#f0c4c4!important;background:#fff7f7!important}
.v139-check-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.v139-check{margin:0!important;padding:11px!important}.v139-check b{display:block!important;font-size:10px!important}.v139-check span{display:block!important;margin-top:4px!important;font-size:8px!important;line-height:1.35!important;color:#6f798b!important}.v139-check.ok{border-left:4px solid #16a36a!important}.v139-check.warn{border-left:4px solid #d79a00!important}.v139-check.bad{border-left:4px solid #c92a2a!important}
@media(max-width:1024px){.v139-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.v139-wide-card{grid-column:auto!important}.v139-launch-card,.v139-launch-summary{align-items:stretch!important;flex-direction:column!important}.v139-launch-card .btnlink,.v139-launch-summary .btnlink{width:100%!important}.v139-check-grid{grid-template-columns:1fr!important}}
/* v141 — global natural scrolling: scroll only when content needs it */
/*
   v131/v132 tried to suppress empty scrolling with JS-added classes.
   On dynamic pages (especially Bet History), those measurements can become stale
   after cards/bets render. Natural overflow:auto is the correct browser behavior:
   no scrollbar when content fits, full scrolling when content is taller.
*/
html{
  min-height:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
body{
  min-height:100dvh!important;
  height:auto!important;
  max-height:none!important;
  overflow-x:hidden!important;
}

/* Neutralize old smart-scroll locks. Keep the classes harmless if old JS adds them. */
body.ag-content-fits,
html.ag-v132-no-scroll,
body.ag-v132-no-scroll{
  overflow-y:auto!important;
  max-height:none!important;
  overscroll-behavior-y:auto!important;
}

/* User pages with dynamic/long content must always be allowed to grow naturally. */
body.history-body,
body.user-page-body,
body.home-bet-body,
body.play-body,
body.sessions-user-body,
body.results-user-body,
body.transactions-user-body,
body.profile-user-body{
  min-height:100dvh!important;
  height:auto!important;
  max-height:none!important;
  overflow-y:auto!important;
  overscroll-behavior-y:auto!important;
}

/* Never clip a real page because its content changed after load. */
body.history-body .history-wrap,
body.user-page-body main.user-unified-wrap,
body.user-page-body main.wrap,
body.home-bet-body main,
body.play-body main{
  height:auto!important;
  max-height:none!important;
  overflow-y:visible!important;
}

/* History may contain many bet chips. Keep enough clearance above fixed bottom nav. */
body.history-body .history-wrap{
  min-height:0!important;
  padding-bottom:calc(105px + env(safe-area-inset-bottom))!important;
}
body.history-body .history-session-card,
body.history-body .history-bet-grid{
  max-height:none!important;
}

/* Admin: normal document scroll whenever the drawer is NOT open. */
body.ag-admin-layout:not(.ag-admin-menu-open){
  min-height:100dvh!important;
  height:auto!important;
  max-height:none!important;
  overflow-y:auto!important;
  overscroll-behavior-y:auto!important;
}
body.ag-admin-layout:not(.ag-admin-menu-open) .admin-shell,
body.ag-admin-layout:not(.ag-admin-menu-open) .admin-shell.pro-admin{
  min-height:100dvh!important;
  height:auto!important;
  max-height:none!important;
  overflow-y:visible!important;
}

/* Preserve intended scroll locks while overlays are actually open. */
body.modal-open,
body.ag-admin-layout.ag-admin-menu-open{
  overflow-y:hidden!important;
}
.ag-admin-layout .ag-side-nav,
.admin-modal-card,
.ag-clean-confirm-card,
.ag-v132-confirm-card{
  overscroll-behavior:contain;
}

/* Wide data should scroll inside its own wrapper, never force page clipping. */
.admin-table-scroll,
.payment-table-wrap,
.exposure-table-scroll,
.result-number-table-wrap,
.compact-monthly-result-table-wrap{
  max-width:100%!important;
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch!important;
}

/* v142 — Result History: data area scrolls, headings stay fixed */
/*
   Result History is a viewport register, not a normal long page.
   Keep app/header + month controls fixed. Only the result-table viewport scrolls.
   The table head remains sticky during vertical scrolling; horizontal scrolling
   still moves the aligned session columns normally.
*/
body.results-user-body{
  height:100dvh!important;
  min-height:100dvh!important;
  max-height:100dvh!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
  display:flex!important;
  flex-direction:column!important;
}
body.results-user-body.ag-content-fits,
body.results-user-body.ag-v132-no-scroll{
  height:100dvh!important;
  max-height:100dvh!important;
  overflow:hidden!important;
}
.results-user-body>.unified-user-top,
.results-user-body>.app-user-header{
  flex:0 0 auto!important;
}
.results-user-body main.compact-monthly-results-shell,
.results-user-body main.monthly-results-shell{
  flex:1 1 0!important;
  min-height:0!important;
  height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.results-user-body .compact-month-result-filter{
  flex:0 0 auto!important;
}
.results-user-body .compact-monthly-result-card{
  flex:1 1 0!important;
  min-height:0!important;
  height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.results-user-body .compact-monthly-result-table-wrap{
  flex:1 1 0!important;
  min-height:0!important;
  height:100%!important;
  max-height:100%!important;
  overflow-x:auto!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-x pan-y!important;
  scrollbar-gutter:auto!important;
}
/* Keep Date/Day + session names visible while rows move up/down. */
.results-user-body .compact-monthly-result-table thead th{
  position:sticky!important;
  top:0!important;
  z-index:20!important;
  background:#eef1f6!important;
  box-shadow:0 1px 0 #dfe4eb!important;
}
/* Top-left Date/Day cell must sit above both sticky axes. */
.results-user-body .compact-monthly-result-table thead .result-date-col{
  position:sticky!important;
  top:0!important;
  left:0!important;
  z-index:30!important;
  background:#e9edf4!important;
}
/* Date/day column stays visible while swiping left/right. */
.results-user-body .compact-monthly-result-table tbody .result-date-col{
  position:sticky!important;
  left:0!important;
  z-index:10!important;
}
/* Never let an old global natural-scroll rule expand this register again. */
.results-user-body .compact-monthly-result-table{
  height:auto!important;
  max-height:none!important;
}

/* v148 · Crossing bulk Jodi entry */
.home-bet-body .compact-mode-tabs,
.play-body .compact-mode-tabs{
  grid-template-columns:max-content max-content max-content!important;
}
.crossing-panel{padding:8px 2px 2px!important}
.crossing-form{display:block;width:100%;margin:0}
.crossing-input-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end}
.crossing-input-row label{display:block;min-width:0}
.crossing-input-row label>span{display:block;margin:0 0 5px 4px;color:#172033;font-size:12px;font-weight:850}
.crossing-input-row input{
  width:100%;height:46px;box-sizing:border-box;border:1.5px solid #9ca9b8;border-radius:10px;
  background:#fff;color:#172033;padding:0 12px;font:800 16px/1 inherit;outline:0;
  transition:border-color .15s ease,box-shadow .15s ease;background .15s ease;
}
.crossing-input-row input:focus{border-color:#d8a226;box-shadow:0 0 0 2px rgba(216,162,38,.16);background:#fffdf7}
.crossing-input-row input:disabled{background:#f4f6f8;color:#8a94a4}
.crossing-cut{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:12px 0 10px;color:#172033;cursor:pointer}
.crossing-cut input{width:19px;height:19px;margin:0;accent-color:#1579e6}
.crossing-cut span{font-size:14px;font-weight:850}
.crossing-cut small{flex-basis:100%;text-align:center;margin-top:-4px;color:#7b8595;font-size:9px;font-weight:700}
.crossing-preview{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 12px;min-height:0;padding:2px 0 8px}
.crossing-preview[hidden]{display:none!important}
.crossing-preview span{
  flex:0 0 calc(25% - 12px);max-width:92px;min-width:58px;height:48px;box-sizing:border-box;
  display:grid;place-items:center;border:1.5px solid #245b73;border-radius:9px;background:#fff;color:#172033;
  font-size:15px;font-weight:850;box-shadow:0 1px 2px rgba(20,35,55,.03)
}
.crossing-empty{padding:18px 8px;text-align:center;color:#7b8595;font-size:10px;font-weight:750}
.crossing-empty[hidden]{display:none!important}
.crossing-submit{width:100%;min-height:45px;margin-top:7px;border-radius:10px!important;font-size:14px!important;font-weight:900!important}
.crossing-submit:disabled{opacity:.5;cursor:not-allowed}
.crossing-note{margin:7px 4px 0;text-align:center;color:#7b8595;font-size:9px;line-height:1.35;font-weight:700}
@media(max-width:390px){
  .home-bet-body .compact-board-head,.play-body .compact-board-head{gap:3px!important}
  .home-bet-body .compact-mode-tabs,.play-body .compact-mode-tabs{gap:3px!important}
  .home-bet-body .compact-mode-tab,.play-body .compact-mode-tab{padding-left:4px!important;padding-right:4px!important;gap:2px!important}
  .home-bet-body .compact-mode-tab span,.play-body .compact-mode-tab span{font-size:8.4px!important}
  .home-bet-body .compact-mode-tab small,.play-body .compact-mode-tab small{font-size:6.2px!important}
  .crossing-input-row{gap:8px}
  .crossing-input-row label>span{font-size:11px}
  .crossing-preview{gap:8px}
  .crossing-preview span{flex-basis:calc(25% - 8px);min-width:54px;height:44px}
}


/* v149 · Crossing compact single-row inputs + preview chips match placed-bet size */
.crossing-panel{padding:6px 2px 2px!important}
.crossing-form{display:block;width:100%;margin:0}
.crossing-input-row{
  display:grid!important;
  grid-template-columns:minmax(0,1.45fr) minmax(76px,.85fr) minmax(0,1fr)!important;
  gap:6px!important;
  align-items:end!important;
}
.crossing-field{display:block;min-width:0}
.crossing-field>span{display:block;margin:0 0 4px 4px;color:#172033;font-size:10.5px;font-weight:850;line-height:1.1}
.crossing-field input[type="text"],
.crossing-field input[type="number"]{
  width:100%!important;height:34px!important;box-sizing:border-box;border:1.5px solid #9ca9b8;border-radius:8px;
  background:#fff;color:#172033;padding:0 10px;font:800 14px/1 inherit;outline:0;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.crossing-field input[type="text"]::placeholder,.crossing-field input[type="number"]::placeholder{color:#8a94a4}
.crossing-field input[type="text"]:focus,
.crossing-field input[type="number"]:focus{border-color:#d8a226;box-shadow:0 0 0 2px rgba(216,162,38,.16);background:#fffdf7}
.crossing-field input:disabled{background:#f4f6f8!important;color:#8a94a4!important}
.crossing-field-cut{display:flex;flex-direction:column;justify-content:flex-end}
.crossing-cut-control{
  height:34px;border:1.5px solid #9ca9b8;border-radius:8px;background:#fff;
  display:flex;align-items:center;justify-content:center;gap:6px;padding:0 8px;box-sizing:border-box;
}
.crossing-cut-control input{width:16px!important;height:16px!important;margin:0!important;accent-color:#1579e6;flex:0 0 auto}
.crossing-cut-control b{font-size:11px;font-weight:900;color:#172033;letter-spacing:.2px}
.crossing-preview{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;justify-content:stretch!important;min-height:0;padding:2px 0 6px!important}
.crossing-preview[hidden]{display:none!important}
.crossing-preview span{
  min-width:0!important;min-height:29px!important;height:29px!important;box-sizing:border-box;
  display:flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid #d7deea!important;border-radius:7px!important;background:#f7f8fb!important;color:#172033!important;
  font-size:11px!important;font-weight:900!important;line-height:1!important;padding:5px 4px!important;
}
.crossing-empty{padding:8px 4px!important;text-align:center;color:#7b8595;font-size:9px;font-weight:750}
.crossing-empty[hidden]{display:none!important}
.crossing-submit{width:100%;min-height:38px!important;margin-top:5px!important;border-radius:9px!important;font-size:13px!important;font-weight:900!important}
.crossing-submit:disabled{opacity:.5;cursor:not-allowed}
.crossing-note{margin:5px 4px 0;text-align:center;color:#7b8595;font-size:8.5px;line-height:1.3;font-weight:700}
@media(max-width:390px){
  .crossing-input-row{grid-template-columns:minmax(0,1.3fr) 74px minmax(0,.9fr)!important;gap:5px!important}
  .crossing-field>span{font-size:9.8px!important;margin-bottom:3px!important}
  .crossing-field input[type="text"],.crossing-field input[type="number"],.crossing-cut-control{height:32px!important}
  .crossing-cut-control b{font-size:10px!important}
  .crossing-preview span{font-size:10px!important}
}


/* v150 · Crossing row refined: single checkbox, ₹ amount prefix, centered compact inputs */
.crossing-input-row{
  display:grid!important;
  grid-template-columns:minmax(0,1.45fr) 58px minmax(0,1fr)!important;
  gap:6px!important;
  align-items:end!important;
}
.crossing-field{display:block;min-width:0}
.crossing-field>span{display:block!important;margin:0 0 4px 0!important;color:#172033!important;font-size:10.5px!important;font-weight:850!important;line-height:1.1!important;text-align:center!important}
.crossing-field input[type="text"],
.crossing-field input[type="number"]{
  width:100%!important;height:34px!important;box-sizing:border-box;border:1.5px solid #9ca9b8!important;border-radius:8px!important;
  background:#fff!important;color:#172033!important;padding:0 10px!important;font:800 14px/1 inherit!important;outline:0!important;
  text-align:center!important;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.crossing-field input[type="text"]::placeholder,.crossing-field input[type="number"]::placeholder{color:#8a94a4!important;text-align:center!important}
.crossing-field input[type="text"]:focus,.crossing-field input[type="number"]:focus{border-color:#d8a226!important;box-shadow:0 0 0 2px rgba(216,162,38,.16)!important;background:#fffdf7!important}
.crossing-field input:disabled{background:#f4f6f8!important;color:#8a94a4!important}
.crossing-field-cut{display:flex!important;flex-direction:column!important;justify-content:flex-end!important}
.crossing-cut-control{height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;border:0!important;padding:0!important;box-sizing:border-box!important}
.crossing-cut-control input{width:18px!important;height:18px!important;margin:0!important;accent-color:#1579e6;flex:0 0 auto!important}
.crossing-amount-control{
  height:34px!important;border:1.5px solid #9ca9b8!important;border-radius:8px!important;background:#fff!important;
  display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;align-items:center!important;overflow:hidden!important;box-sizing:border-box!important
}
.crossing-amount-control b{display:flex!important;align-items:center!important;justify-content:center!important;height:100%!important;border-right:1px solid #d8e0eb!important;font-size:13px!important;font-weight:900!important;color:#172033!important}
.crossing-amount-control input{border:0!important;border-radius:0!important;height:100%!important;padding:0 8px!important;background:transparent!important;box-shadow:none!important}
.crossing-preview{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;justify-content:stretch!important;min-height:0;padding:2px 0 6px!important}
.crossing-preview span{
  min-width:0!important;min-height:29px!important;height:29px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid #d7deea!important;border-radius:7px!important;background:#f7f8fb!important;color:#172033!important;font-size:11px!important;font-weight:900!important;line-height:1!important;padding:5px 4px!important;
  text-align:center!important
}
.crossing-empty{padding:8px 4px!important;text-align:center!important;color:#7b8595!important;font-size:9px!important;font-weight:750!important}
.crossing-submit{width:100%!important;min-height:38px!important;margin-top:5px!important;border-radius:9px!important;font-size:13px!important;font-weight:900!important}
.crossing-note{margin:5px 4px 0!important;text-align:center!important;color:#7b8595!important;font-size:8.5px!important;line-height:1.3!important;font-weight:700!important}
@media(max-width:390px){
  .crossing-input-row{grid-template-columns:minmax(0,1.25fr) 52px minmax(0,.95fr)!important;gap:5px!important}
  .crossing-field>span{font-size:9.8px!important;margin-bottom:3px!important}
  .crossing-field input[type="text"],.crossing-field input[type="number"],.crossing-cut-control,.crossing-amount-control{height:32px!important}
  .crossing-cut-control input{width:17px!important;height:17px!important}
  .crossing-amount-control b{font-size:12px!important}
  .crossing-preview span{font-size:10px!important}
}


/* v151 · Crossing cut box same height, blank amount field, persistent ₹ prefix */
.crossing-input-row{
  grid-template-columns:minmax(0,1.45fr) 58px minmax(0,1fr)!important;
  gap:6px!important;
  align-items:end!important;
}
.crossing-field>span{
  text-align:center!important;
}
.crossing-field input[type="text"],
.crossing-field input[type="number"]{
  height:34px!important;
  text-align:center!important;
}
.crossing-field-cut{display:flex!important;flex-direction:column!important;justify-content:flex-end!important}
.crossing-cut-control{
  width:100%!important;height:34px!important;border:1.5px solid #9ca9b8!important;border-radius:8px!important;background:#fff!important;
  display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;box-sizing:border-box!important;overflow:hidden!important;
}
.crossing-cut-control input{width:18px!important;height:18px!important;margin:0!important;accent-color:#1579e6!important;flex:0 0 auto!important}
.crossing-amount-control{
  width:100%!important;height:34px!important;border:1.5px solid #9ca9b8!important;border-radius:8px!important;background:#fff!important;
  display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;align-items:center!important;overflow:hidden!important;box-sizing:border-box!important;
}
.crossing-amount-control b{
  display:flex!important;align-items:center!important;justify-content:center!important;height:100%!important;min-width:30px!important;
  border-right:1px solid #d8e0eb!important;font-size:13px!important;font-weight:900!important;color:#172033!important;background:#fff!important;
}
.crossing-amount-control input{
  width:100%!important;height:100%!important;border:0!important;border-radius:0!important;padding:0 8px!important;background:transparent!important;
  box-shadow:none!important;text-align:center!important;color:#172033!important;appearance:textfield;-moz-appearance:textfield;-webkit-appearance:none;
}
.crossing-amount-control input::-webkit-outer-spin-button,.crossing-amount-control input::-webkit-inner-spin-button{
  -webkit-appearance:none!important;margin:0!important;
}
.crossing-amount-control:focus-within,.crossing-cut-control:focus-within,.crossing-field input[type="text"]:focus{
  border-color:#d8a226!important;box-shadow:0 0 0 2px rgba(216,162,38,.16)!important;background:#fffdf7!important;
}
.crossing-amount-control:focus-within b{background:#fffdf7!important}
@media(max-width:390px){
  .crossing-input-row{grid-template-columns:minmax(0,1.25fr) 52px minmax(0,.95fr)!important;gap:5px!important}
  .crossing-cut-control,.crossing-amount-control,.crossing-field input[type="text"],.crossing-field input[type="number"]{height:32px!important}
  .crossing-cut-control input{width:17px!important;height:17px!important}
  .crossing-amount-control{grid-template-columns:28px minmax(0,1fr)!important}
  .crossing-amount-control b{min-width:28px!important;font-size:12px!important}
}


/* v152 · Force Jodi Cut checkbox perfectly centered inside its field box */
.crossing-field>.crossing-cut-control{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:0!important;
}
.crossing-field>.crossing-cut-control input[type="checkbox"]{
  display:block!important;
  position:static!important;
  float:none!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  padding:0!important;
  flex:0 0 18px!important;
  align-self:center!important;
  justify-self:center!important;
  transform:none!important;
}
@media(max-width:390px){
  .crossing-field>.crossing-cut-control input[type="checkbox"]{
    width:17px!important;
    height:17px!important;
    flex-basis:17px!important;
  }
}
