/* mx-dark-fix v1: language dropdown in dark theme */
body:not(.light-theme) .langsw-drop{background:#1f2331 !important;border:1px solid rgba(255,255,255,.08) !important;box-shadow:0 12px 32px rgba(0,0,0,.45) !important}
body:not(.light-theme) .langsw-item{color:#e8ecf5 !important}
body:not(.light-theme) .langsw-item:hover{background:rgba(255,255,255,.07) !important}
body:not(.light-theme) .langsw-item.active{background:rgba(247,201,72,.16) !important;color:#ffd426 !important}
/* mx-modes start */
/* mx-modes v1, 02.10.2026. Тёмная тема: карточки всех режимов в стиле блока «История игр» (градиент #1c2233 → #171c2a, рамка 1px, радиус 22px, тень),
   внутренние панели, поля и кнопки полупрозрачные, как строки истории. Режимы: Mines, Wheel, Dice, Tower, Keno, Win, Bubbles, Coinflip, Crash, X100, MegaWheel, PopIt, Crazy Time.
   Светлую тему не трогает. Селектор с тремя :not(#id), чтобы перебить html:not(#mxs) body из mx-slot.js. */
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .glavpanel .mines,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .cr-page .cards,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .x1-page .cards,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .mw-page .cards,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .pp-page .cards,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .ct-page .ct-shell {
  background: linear-gradient(180deg, #1c2233 0%, #171c2a 100%) !important;
  border-radius: 22px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 12px 30px rgba(0, 0, 0, .18) !important;
}
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .glavpanel .cards:has(> .dice-content),
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .glavpanel .cards:has(> .tower-content) {
  background: linear-gradient(180deg, #1c2233 0%, #171c2a 100%) !important;
  border-radius: 22px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 12px 30px rgba(0, 0, 0, .18) !important;
}
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .win-page .win-card {
  background: linear-gradient(180deg, #1c2233 0%, #171c2a 100%) !important;
  border-color: rgba(255, 255, 255, .06) !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18) !important;
}
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .bub.main-content {
  --bub-main: linear-gradient(180deg, #1c2233 0%, #171c2a 100%);
  --bub-panel: rgba(255, 255, 255, .035);
  --bub-cell: #272d40;
  --bub-btn: #272d40;
  --bub-cell-br: rgba(255, 255, 255, .08);
  border-radius: 22px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 12px 30px rgba(0, 0, 0, .18) !important;
}
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .cf.main-content {
  --cf-main: linear-gradient(180deg, #1c2233 0%, #171c2a 100%);
  --cf-panel: rgba(255, 255, 255, .035);
  --cf-cell: #272d40;
  --cf-cell-br: rgba(255, 255, 255, .08);
  --cf-overlay: rgba(23, 28, 42, .84);
  border-radius: 22px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 12px 30px rgba(0, 0, 0, .18) !important;
}
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .ct-page {
  --in: #222838;
  --scene: #222838;
}

html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .mines-lite .mlt-statcard,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .tower-content .twr-panel,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .whl .whl-stage,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .whl .whl-chips,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .whl .whl-panel,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .kwl-panel,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .kwl-autogame,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .bub .bub-card,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .cf .cf-card,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .ct-page .ct-in {
  background: rgba(255, 255, 255, .035) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .055) !important;
}
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .ct-page .ct-in { background: var(--in) !important; }
@media (max-width: 1023.98px) {
  html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .tower-content .twr-board {
    background: rgba(255, 255, 255, .035) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .055) !important;
  }
}
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .win-page .win-panel {
  background: rgba(255, 255, 255, .035) !important;
  border-color: rgba(255, 255, 255, .07) !important;
  box-shadow: none !important;
}
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .win-page .win-tab:not(.paid) {
  background: #1b2131 !important;
  border-color: rgba(255, 255, 255, .08) !important;
}
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .win-page .win-head { border-bottom-color: rgba(255, 255, 255, .07) !important; }
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .win-page .win-headbtn { border-color: rgba(255, 255, 255, .07) !important; }

html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .mines-lite .mlt-arrow,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .mines-lite .mlt-bet,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .mines-lite .mlt-quick-btn,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .mines-lite .mlt-bombs,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .dice-content .dice-box,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .whl .whl-sw-row,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .kt-navarr,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .keno-hintbar__center,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .keno-betinput,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .kwl-qbtn,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .kwl-clearbtn {
  background-color: rgba(255, 255, 255, .05) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07) !important;
}
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .mines-lite .mlt-step:not(.mlt-step--win):not(.mlt-step--active):not(.mlt-step--lose),
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .tower-content .twr-inwrap,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .tower-content .twr-mod,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .whl .whl-inwrap,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .whl .whl-half,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .win-page .win-in:not(select),
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .win-page .win-step {
  background-color: rgba(255, 255, 255, .05) !important;
  border-color: rgba(255, 255, 255, .08) !important;
  box-shadow: none !important;
}
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .tower-content .twr-sel,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .whl .whl-sel,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .win-page select.win-in,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .kwl-panel select {
  background-color: #252b3d !important;
  border-color: rgba(255, 255, 255, .08) !important;
  box-shadow: none !important;
}
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .tower-content .twr-step:not(.on):not(.done) { border-color: rgba(255, 255, 255, .08) !important; }

html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .mines-lite .mlt-arrow:active,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .mines-lite .mlt-quick-btn:active,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .tower-content .twr-mod:active,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .whl .whl-half:active,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .win-page .win-step:active,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .kt-navarr:active,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .kwl-qbtn:active,
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .kwl-clearbtn:active {
  background-color: rgba(255, 255, 255, .11) !important;
}

html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .mines-lite .mlt-cell--closed:not(.mlt-cell--coin):not(.mlt-cell--bomb),
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .tower-content .twr-cell:not(.safe):not(.bomb) {
  background: linear-gradient(180deg, #283049 0%, #212840 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 1px 0 rgba(255, 255, 255, .05), 0 4px 10px rgba(0, 0, 0, .16) !important;
}
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .tower-content .twr-cell.pick:not(.safe):not(.bomb) {
  background: linear-gradient(180deg, #2e3a63 0%, #263155 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(99, 140, 255, .42), 0 4px 12px rgba(0, 0, 0, .18) !important;
}
html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .keno-cell:not(.is-selected):not(.is-hit):not(.is-drawn):not(.kt-blue) {
  background: linear-gradient(180deg, #283049 0%, #212840 100%) !important;
  border-color: rgba(255, 255, 255, .08) !important;
}
@media (hover: hover) {
  html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .mines-lite .mlt-arrow:hover:not(:disabled),
  html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .mines-lite .mlt-quick-btn:hover:not(:disabled),
  html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .tower-content .twr-mod:hover,
  html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .whl .whl-half:hover:not(:disabled),
  html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .win-page .win-step:hover,
  html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .kt-navarr:hover,
  html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .kwl-qbtn:hover,
  html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .kwl-clearbtn:hover {
    background-color: rgba(255, 255, 255, .08) !important;
  }
  html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .mines-lite .mlt-cell--closed:not(.mlt-cell--coin):not(.mlt-cell--bomb):hover,
  html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .tower-content .twr-cell.pick:not(.safe):not(.bomb):hover,
  html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .keno-page .keno-cell:not(.is-selected):not(.is-hit):not(.is-drawn):not(.kt-blue):hover:not(:disabled) {
    background: linear-gradient(180deg, #333e60 0%, #2b3554 100%) !important;
  }
}
@media (min-width: 1024px) {
  html:not(#mxm1):not(#mxm2):not(#mxm3) body:not(.light-theme) .cr-page .cr-bets__head { background: #1f2434 !important; }
}
/* mx-modes end */
/* mx-pro start */
/* PC layout, both themes */
@media (min-width: 1024px) {
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .main.rows > .right-main { min-width: calc(100% - 232px) !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .right-main > .footer.footers { max-width: 1330px !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .header-menu > .item.pcnav-on,
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .header-menu > .item.isActive { background: #f7c948 !important; color: #1b1c21 !important; box-shadow: 0 2px 8px rgba(247, 201, 72, .35) !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .header-menu > .item.pcnav-on *,
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .header-menu > .item.isActive * { color: inherit !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .wm-overlay .wm-card { width: min(760px, 92vw) !important; max-width: 760px !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .vip-club-page .vipx-levels { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .bonus-page .bonus-container { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px 16px !important; align-items: stretch !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .bonus-page .bonus-container > * { margin: 0 !important; min-width: 0 !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .bonus-page .bonus-container > .hf-card,
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .bonus-page .bonus-container > .hs-card,
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .bonus-page .bonus-container > .bc-vip-head { grid-column: 1 / -1 !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .bonus-page .bonus-container > .bonus-card:has(.bc-promo) { grid-column: 1 / -1 !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .mines-lite .mlt-app { grid-template-rows: repeat(12, auto) 1fr !important; align-items: start !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .mines-lite .mlt-app > .mlt-grid { grid-column: 2 !important; grid-row: 1 / -1 !important; margin: 0 !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .mines-lite .mlt-app > .mlt-statrow { grid-column: 1 !important; grid-row: auto !important; order: -1 !important; margin: 0 0 4px !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .mines-lite .mlt-app > .mlt-steps-row { grid-row: auto !important; order: 20 !important; margin: 20px 0 0 !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .mines-lite .mlt-app > .mlt-footer { grid-row: auto !important; order: 21 !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .mines-lite .mlt-app > .mlt-howto-text { grid-row: auto !important; order: 22 !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .mines-lite .mlt-app > .mlt-label { margin: 14px 0 8px !important; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .vip-club-page .vipx-levels { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* header: same items on every page; fewer pills on narrow screens (all of them are in the sidebar) */
@media (min-width: 1280px) {
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .header-menu > .navigation-dropdown + .item { display: inline-flex !important; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .header-menu > .navigation-dropdown + .item { display: none !important; }
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .header-menu > .item:first-child,
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .header-menu > .item:last-child:not(.pcnav-x) { display: none !important; }
}
/* deposit: freespin tiers in a grid instead of a cut-off row */
@media (min-width: 1024px) {
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .wm-overlay .wm-fs { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 8px !important; overflow: visible !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .wm-overlay .wm-fs__item { width: auto !important; min-width: 0 !important; }
}
/* PC polish: native controls */
html:not(#mxp1):not(#mxp2):not(#mxp3) body input[type=number] { -moz-appearance: textfield; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body select { cursor: pointer; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body button:focus-visible,
html:not(#mxp1):not(#mxp2):not(#mxp3) body a:focus-visible,
html:not(#mxp1):not(#mxp2):not(#mxp3) body [role=button]:focus-visible { outline: 2px solid rgba(247, 201, 72, .8) !important; outline-offset: 2px !important; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body input:-webkit-autofill,
html:not(#mxp1):not(#mxp2):not(#mxp3) body input:-webkit-autofill:hover,
html:not(#mxp1):not(#mxp2):not(#mxp3) body input:-webkit-autofill:focus { transition: background-color 600000s 0s, color 600000s 0s !important; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) input:-webkit-autofill { -webkit-text-fill-color: #fff !important; caret-color: #fff; }
/* small fixes */
html:not(#mxp1):not(#mxp2):not(#mxp3) body .keno-hintbar__center > b { margin: 0 .28em !important; }
html:not(#mxp1):not(#mxp2):not(#mxp3):has(> body:not(.light-theme)) { color-scheme: dark; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .left-main { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .14) transparent; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body.light-theme .left-main { scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, .16) transparent; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) iframe { color-scheme: normal; }
/* modes, dark theme: one primary action style */
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .mines-lite .mlt-main-btn,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .dice-content .dice-play-btn:not(.dice-play-btn--noty),
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .tower-content .twr-play,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .whl .whl-play,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .keno-page .keno-play,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .win-page .win-spin,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .bub .bub-play,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .cf .cf-main.is-play,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .cr-page .cr-panel__btn--bet,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .pp-page .pp-btn--play {
  background: linear-gradient(180deg, #ffd84f 0%, #f6b90f 100%) !important;
  color: #1d1607 !important;
  -webkit-text-fill-color: currentColor !important;
  border: 0 !important;
  text-shadow: none !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  font-weight: 800 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(120, 80, 0, .18), 0 8px 20px rgba(246, 185, 15, .16) !important;
  transition: filter .15s ease, transform .12s ease, box-shadow .15s ease !important;
}
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .mines-lite .mlt-main-btn *,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .dice-content .dice-play-btn:not(.dice-play-btn--noty) *,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .tower-content .twr-play *,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .whl .whl-play *,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .keno-page .keno-play *,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .win-page .win-spin *,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .bub .bub-play *,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .cf .cf-main.is-play *,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .cr-page .cr-panel__btn--bet *,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .pp-page .pp-btn--play * { color: inherit !important; -webkit-text-fill-color: currentColor !important; text-shadow: none !important; }
@media (hover: hover) {
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .mines-lite .mlt-main-btn:hover:not(:disabled),
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .dice-content .dice-play-btn:not(.dice-play-btn--noty):hover:not(:disabled),
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .tower-content .twr-play:hover:not(:disabled),
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .whl .whl-play:hover:not(:disabled),
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .keno-page .keno-play:hover:not(:disabled),
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .win-page .win-spin:hover:not(:disabled),
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .bub .bub-play:hover:not(:disabled),
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .cf .cf-main.is-play:hover:not(:disabled),
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .cr-page .cr-panel__btn--bet:hover:not(:disabled),
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .pp-page .pp-btn--play:hover:not(:disabled) {
    filter: brightness(1.06) saturate(1.05) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(120, 80, 0, .18), 0 10px 26px rgba(246, 185, 15, .26) !important;
  }
}
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .mines-lite .mlt-main-btn:active:not(:disabled),
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .dice-content .dice-play-btn:not(.dice-play-btn--noty):active:not(:disabled),
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .tower-content .twr-play:active:not(:disabled),
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .whl .whl-play:active:not(:disabled),
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .keno-page .keno-play:active:not(:disabled),
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .win-page .win-spin:active:not(:disabled),
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .bub .bub-play:active:not(:disabled),
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .cf .cf-main.is-play:active:not(:disabled),
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .cr-page .cr-panel__btn--bet:active:not(:disabled),
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .pp-page .pp-btn--play:active:not(:disabled) { transform: translateY(1px) !important; filter: brightness(.97) !important; }

/* secondary actions: neutral, so the gold button stays the only accent */
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .tower-content .twr-auto,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .tower-content .twr-abtn,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .keno-page .kwl-autobtn,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .win-page .win-rnd {
  background: rgba(255, 255, 255, .06) !important;
  color: #e6e9f2 !important;
  border: 0 !important;
  text-shadow: none !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08) !important;
}
@media (hover: hover) {
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .tower-content .twr-auto:hover:not(:disabled),
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .tower-content .twr-abtn:hover:not(:disabled),
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .keno-page .kwl-autobtn:hover:not(:disabled),
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .win-page .win-rnd:hover:not(:disabled) { background: rgba(255, 255, 255, .1) !important; }
}
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .keno-page .kwl-autobtn .mlt-spark { color: #f7c948 !important; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .cf .cf-mode.is-on { background: rgba(255, 255, 255, .12) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 2px 8px rgba(0, 0, 0, .18) !important; }

/* inputs that were black */
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .dice-content .dice-box { border-radius: 14px !important; overflow: hidden !important; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .dice-content .dice-box-input { background: transparent !important; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .dice-content .dice-box-actions { border-top: 1px solid rgba(255, 255, 255, .06) !important; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .dice-content .dice-box-actions > button { color: #c3cadd !important; transition: background-color .15s ease !important; }
@media (hover: hover) { html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .dice-content .dice-box-actions > button:hover { background: rgba(255, 255, 255, .06) !important; color: #fff !important; } }
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .dice-content .dice-result-value { color: #fff !important; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .x1-page .x1-in { background: rgba(255, 255, 255, .05) !important; border-color: rgba(255, 255, 255, .08) !important; }

/* labels: one size and color */
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .mines-lite .mlt-label,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .dice-content .dice-field-label,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .tower-content .twr-lb,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .whl .whl-lb,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .win-page .win-lbl,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .bub .bub-label,
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .cf .cf-label { font-size: 13px !important; font-weight: 600 !important; color: #8f98ad !important; letter-spacing: .01em !important; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .cr-page .cr-panel__btn--bet small { opacity: .72 !important; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .tower-content .twr-auto, html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .tower-content .twr-abtn { font-weight: 700 !important; }
/* bonuses: readable text on yellow, Telegram blue */
html:not(#mxp1):not(#mxp2):not(#mxp3) body .bonus-page .hf-spin:not(:disabled),
html:not(#mxp1):not(#mxp2):not(#mxp3) body .bonus-page .hs-btn:not(:disabled) { color: #1d1607 !important; -webkit-text-fill-color: currentColor !important; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body .bonus-page .bonus-card__button.bc-btn-blue:not(:disabled) { background: #229ed9 !important; }
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .bonus-page .hf-spin:not(:disabled),
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .bonus-page .hs-btn:not(:disabled),
html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .bonus-page .bonus-card__button:not(:disabled):not(.bc-btn-blue):not(.bonus-card__button--disabled) {
  background: linear-gradient(180deg, #ffd84f 0%, #f6b90f 100%) !important;
  color: #1d1607 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(120, 80, 0, .18), 0 8px 20px rgba(246, 185, 15, .16) !important;
}
@media (hover: hover) {
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .bonus-page .hf-spin:hover:not(:disabled),
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .bonus-page .hs-btn:hover:not(:disabled),
  html:not(#mxp1):not(#mxp2):not(#mxp3) body:not(.light-theme) .bonus-page .bonus-card__button:hover:not(:disabled):not(.bc-btn-blue):not(.bonus-card__button--disabled) { filter: brightness(1.06) !important; }
}
/* partner page on PC: the balance card fills the right column, no empty hole above it */
@media (min-width: 1024px) {
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .ref-page .ref-container > section.ref-card:nth-of-type(3) > .ref-balance { grid-row: 1 / span 2 !important; }
  html:not(#mxp1):not(#mxp2):not(#mxp3) body .ref-page .ref-balance > .ref-balance__value { margin: auto 0 !important; font-size: 44px !important; }
}
/* mx-pro end */
/* mx-nostroke start */
html:not(#mxn1):not(#mxn2):not(#mxn3) body:not(.light-theme) .twr-play,
html:not(#mxn1):not(#mxn2):not(#mxn3) body:not(.light-theme) .whl-play { -webkit-text-stroke: 0 !important; }
/* mx-nostroke end */

/* mx-menu-green start */
html body .mx-menu .mx-menu__tile--modes{--mxmg-light:#89dda6;--mxmg-main:#0b8542;--mxmg-deep:#086331;--mxmg-text:#fff;--mxmg-glow:rgba(11,133,66,.35);--mxmg-shine:rgba(255,255,255,.35);background:radial-gradient(130% 150% at 8% 0%,var(--mxmg-light) 0%,var(--mxmg-main) 46%,var(--mxmg-deep) 100%)!important;color:var(--mxmg-text)!important;box-shadow:0 14px 30px var(--mxmg-glow),inset 0 1px 0 var(--mxmg-shine)!important}
html body .mx-menu .mx-menu__tile--modes>svg circle{fill:var(--mxmg-deep)!important}
/* mx-menu-green end */

/* mx-menu-pastel start */
.mx-menu{--mxmp-text:#172b3a;--mxmp-shadow:#172b3a1a}.mx-menu__tile--modes{--mxmp-a:#e0f2ff;--mxmp-b:#a9d6f5}.mx-menu__tile--slots{--mxmp-a:#e5f5de;--mxmp-b:#bfe3b0}html:not(#mxmp) .mx-menu__tile{background:linear-gradient(135deg,var(--mxmp-a),var(--mxmp-b))!important;color:var(--mxmp-text)!important;box-shadow:0 10px 24px var(--mxmp-shadow)!important}html:not(#mxmp) .mx-menu__tile>b,html:not(#mxmp) .mx-menu__tile>small{color:var(--mxmp-text)!important;text-shadow:none!important}html:not(#mxmp) .mx-menu__tile--modes>svg circle{fill:var(--mxmp-text)!important}
/* mx-menu-pastel end */

/* mx-menu-vivid start */
html:not(#mxmv) .mx-menu--dark .mx-menu__tile--modes{background:linear-gradient(135deg,#e4f3ff 0%,#8fc4ff 48%,#3f8df5 100%)!important;box-shadow:0 12px 28px rgba(63,141,245,.32),inset 0 1px 0 rgba(255,255,255,.55)!important}
html:not(#mxmv) .mx-menu--dark .mx-menu__tile--slots{background:linear-gradient(135deg,#ebf9e1 0%,#a3de9d 48%,#45b45c 100%)!important;box-shadow:0 12px 28px rgba(69,180,92,.3),inset 0 1px 0 rgba(255,255,255,.55)!important}
html:not(#mxmv) .mx-menu--dark .mx-menu__tile,html:not(#mxmv) .mx-menu--dark .mx-menu__tile>b,html:not(#mxmv) .mx-menu--dark .mx-menu__tile>small{color:#10243a!important;text-shadow:none!important}
html:not(#mxmv) .mx-menu--dark .mx-menu__tile--modes>svg circle{fill:#1d4f9c!important}
/* mx-menu-vivid end */

/* mx-surface-v1 start */
html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .live-winners-section,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .mx-provs,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .hist2,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .glavpanel .mines,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .keno-page,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .win-page .win-card,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .bub.main-content,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .cf.main-content,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .cr-page .cards,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .x1-page .cards,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .mw-page .cards,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .pp-page .cards,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .ct-page .ct-shell,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .mx-menu--dark .mx-menu__group,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .mx-menu--dark .mx-menu__tile{background:#1a1d29!important;color:#e8ecf5!important;border-color:rgba(232,236,245,.07)!important;box-shadow:inset 0 0 0 1px rgba(232,236,245,.055),0 8px 24px rgba(26,29,41,.16)!important;}
html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .glavpanel .cards:has(>.dice-content),html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .glavpanel .cards:has(>.tower-content){background:#1a1d29!important;color:#e8ecf5!important;border-color:rgba(232,236,245,.07)!important;box-shadow:inset 0 0 0 1px rgba(232,236,245,.055),0 8px 24px rgba(26,29,41,.16)!important;}
html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .bub.main-content{--bub-main:#1a1d29!important;}
html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .cf.main-content{--cf-main:#1a1d29!important;}
html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .mx-menu--dark .mx-menu__tile::before,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .mx-menu--dark .mx-menu__tile::after{background:none!important;box-shadow:none!important;animation:none!important;opacity:0!important;}
html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .mx-menu--dark .mx-menu__tile>b,html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .mx-menu--dark .mx-menu__tile>small{color:#e8ecf5!important;-webkit-text-fill-color:currentcolor!important;text-shadow:none!important;}
html:not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) .mx-menu--dark .mx-menu__tile>svg{color:#10243a!important;}
/* mx-surface-v1 end */

/* mx-refine-v1 start */
html:not(#mxrefine1):not(#mxrefine2):not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) :is(.live-winners-section,.mx-provs,.hist2,.glavpanel .mines,.keno-page,.win-page .win-card,.bub.main-content,.cf.main-content,.cr-page .cards,.x1-page .cards,.mw-page .cards,.pp-page .cards,.ct-page .ct-shell,.mx-menu--dark .mx-menu__group,.mx-menu--dark .mx-menu__tile,.glavpanel .cards:has(>.dice-content),.glavpanel .cards:has(>.tower-content)){border-color:transparent!important;box-shadow:none!important;}
html:not(#mxrefine1):not(#mxrefine2):not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) :is(.mines-lite .mlt-statcard,.tower-content .twr-panel,.whl .whl-stage,.whl .whl-chips,.whl .whl-panel,.keno-page .kwl-panel,.keno-page .kwl-autogame,.bub .bub-card,.cf .cf-card,.win-page .win-panel,.cr-page .cr-panel,.cr-page .cr-bets,.x1-page .x1-card:not(.x1-top),.mw-page .mw-card:not(.mw-top),.pp-page .pp-card:not(.cards)){background:#202432!important;color:#e8ecf5!important;border-color:transparent!important;box-shadow:none!important;}
html:not(#mxrefine1):not(#mxrefine2):not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) :is(.mines-lite .mlt-bet,.mines-lite .mlt-bombs,.dice-content .dice-box,.tower-content .twr-inwrap,.whl .whl-inwrap,.bub .bub-field,.cf .cf-field,.win-page .win-in,.keno-page .keno-betinput,.keno-page .kwl-panel select){background:#252c3d!important;color:#e8ecf5!important;border-color:transparent!important;box-shadow:none!important;}
html:not(#mxrefine1):not(#mxrefine2):not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) :is(.hist2 .hist2-row,.mx-provs .mx-provs__chip,.keno-page .keno-hintbar__center,.whl .whl-sw-row,.mines-lite .mlt-step:not(.mlt-step--win):not(.mlt-step--active):not(.mlt-step--lose),.tower-content .twr-step:not(.on):not(.done),.main-games__title>img.main-section-icon,.live-winners-header .mx-lw-ico,.mx-provs .mx-provs__ico,.hist2 .hist2-head-ico,.main-games__title .nav-buttons,.main-games__title .nav-buttons>button){border-color:transparent!important;box-shadow:none!important;}
html:not(#mxrefine1):not(#mxrefine2):not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) :is(.cr-page .cr-panel__col+.cr-panel__col,.win-page .win-head,.win-page .win-headbtn){border-color:transparent!important;}
html:not(#mxrefine1):not(#mxrefine2):not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) :is(.bub.main-content){--bub-panel:#202432!important;}
html:not(#mxrefine1):not(#mxrefine2):not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) :is(.cf.main-content){--cf-panel:#202432!important;}
html:not(#mxrefine1):not(#mxrefine2):not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) :is(.mx-menu--dark .mx-menu__tile--modes){background:linear-gradient(135deg,#e4f3ff 0%,#8fc4ff 48%,#3f8df5 100%)!important;color:#10243a!important;border-color:transparent!important;box-shadow:none!important;}
html:not(#mxrefine1):not(#mxrefine2):not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) :is(.mx-menu--dark .mx-menu__tile--slots){background:linear-gradient(135deg,#ebf9e1 0%,#a3de9d 48%,#45b45c 100%)!important;color:#10243a!important;border-color:transparent!important;box-shadow:none!important;}
html:not(#mxrefine1):not(#mxrefine2):not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) :is(.mx-menu--dark .mx-menu__tile>b,.mx-menu--dark .mx-menu__tile>small){color:#10243a!important;-webkit-text-fill-color:currentcolor!important;text-shadow:none!important;}
html:not(#mxrefine1):not(#mxrefine2):not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) :is(.mines-lite .mlt-bet:has(:focus-visible),.mines-lite .mlt-bombs:has(:focus-visible),.dice-content .dice-box:has(:focus-visible),.tower-content .twr-inwrap:has(:focus-visible),.whl .whl-inwrap:has(:focus-visible),.bub .bub-field:has(:focus-visible),.cf .cf-field:has(:focus-visible),.win-page .win-in:has(:focus-visible),.keno-page .keno-betinput:has(:focus-visible),.keno-page .kwl-panel select:has(:focus-visible)){outline:2px solid #8fc4ff!important;outline-offset:2px!important;}
html:not(#mxrefine1):not(#mxrefine2):not(#mxsf1):not(#mxsf2):not(#mxsf3):not(#mxsf4):not(#mxsf5) body:not(.light-theme) :is(.win-page .win-in:focus-visible,.keno-page .kwl-panel select:focus-visible,.main-games__title .nav-buttons>button:focus-visible,.mx-menu--dark .mx-menu__tile:focus-visible){outline:2px solid #8fc4ff!important;outline-offset:2px!important;}
/* mx-refine-v1 end */

/* mx-lobby-ui-v1 start */
html:not(#mxlu1):not(#mxlu2):not(#mxlu3):not(#mxlu4):not(#mxlu5):not(#mxlu6):not(#mxlu7):not(#mxlu8) body:not(.light-theme) .main-games__title {
  --mxlu-panel: #1a1d29;
  --mxlu-text: #e8ecf5;
  --mxlu-accent: #ffdc52;
}
html:not(#mxlu1):not(#mxlu2):not(#mxlu3):not(#mxlu4):not(#mxlu5):not(#mxlu6):not(#mxlu7):not(#mxlu8) body:not(.light-theme) .main-games__title > img.main-section-icon {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
html:not(#mxlu1):not(#mxlu2):not(#mxlu3):not(#mxlu4):not(#mxlu5):not(#mxlu6):not(#mxlu7):not(#mxlu8) body:not(.light-theme) .main-games__title .nav-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html:not(#mxlu1):not(#mxlu2):not(#mxlu3):not(#mxlu4):not(#mxlu5):not(#mxlu6):not(#mxlu7):not(#mxlu8) body:not(.light-theme) .main-games__title .nav-buttons > button {
  width: 32px !important;
  min-width: 32px !important;
  height: 34px !important;
  min-height: 34px !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--mxlu-panel) !important;
  color: var(--mxlu-text) !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color 150ms ease, color 150ms ease !important;
}
html:not(#mxlu1):not(#mxlu2):not(#mxlu3):not(#mxlu4):not(#mxlu5):not(#mxlu6):not(#mxlu7):not(#mxlu8) body:not(.light-theme) .main-games__title .nav-buttons > .nav-button-all {
  width: auto !important;
  min-width: 58px !important;
  padding: 0 10px !important;
  font-size: 14px !important;
}
html:not(#mxlu1):not(#mxlu2):not(#mxlu3):not(#mxlu4):not(#mxlu5):not(#mxlu6):not(#mxlu7):not(#mxlu8) body:not(.light-theme) .main-games__title .nav-buttons > button:focus-visible {
  outline: 2px solid var(--mxlu-accent) !important;
  outline-offset: 3px !important;
}
@media (hover: hover) {
  html:not(#mxlu1):not(#mxlu2):not(#mxlu3):not(#mxlu4):not(#mxlu5):not(#mxlu6):not(#mxlu7):not(#mxlu8) body:not(.light-theme) .main-games__title .nav-buttons > button:hover {
    background: color-mix(in srgb, var(--mxlu-panel) 90%, var(--mxlu-text)) !important;
    color: var(--mxlu-text) !important;
  }
}
@media (min-width: 769px) {
  html:not(#mxlu1):not(#mxlu2):not(#mxlu3):not(#mxlu4):not(#mxlu5):not(#mxlu6):not(#mxlu7):not(#mxlu8) body:not(.light-theme) .main-games__title .nav-buttons > button {
    width: 40px !important;
    height: 40px !important;
  }
  html:not(#mxlu1):not(#mxlu2):not(#mxlu3):not(#mxlu4):not(#mxlu5):not(#mxlu6):not(#mxlu7):not(#mxlu8) body:not(.light-theme) .main-games__title .nav-buttons > .nav-button-all {
    width: auto !important;
    min-width: 72px !important;
  }
}
html:not(#mxlu1):not(#mxlu2):not(#mxlu3):not(#mxlu4):not(#mxlu5):not(#mxlu6):not(#mxlu7):not(#mxlu8) body:not(.light-theme) :is(.mx-st-sup, .mx-st-card) {
  background: #1a1d29 !important;
  color: #e8ecf5 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.wm-method.mx-sbp-popular {
  position: relative;
  --mxlu-star: #ffdc52;
}
body.light-theme .wm-method.mx-sbp-popular {
  --mxlu-star: #8a6400;
}
.wm-method.mx-sbp-popular > .mx-sbp-star {
  position: absolute;
  inset: 9px auto auto 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  color: var(--mxlu-star);
  background: transparent;
  pointer-events: none;
}
.mx-sbp-star > i {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  animation: mx-sbp-star-turn 5s linear infinite;
}
.mx-sbp-star__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@keyframes mx-sbp-star-turn {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .mx-sbp-star > i { animation: none !important; }
}
/* mx-lobby-ui-v1 end */

/* mx-section-theme-v1 start */
body:not(.light-theme) {
  --mx-section-surface: #1a1d29;
  --mx-section-foreground: #e8ecf5;
  --mx-history-positive: #4ade80;
}
html:not(#mxsti1):not(#mxsti2):not(#mxsti3):not(#mxsti4):not(#mxsti5):not(#mxsti6):not(#mxsti7):not(#mxsti8) body:not(.light-theme) :is(.live-winners-header .mx-lw-ico, .mx-provs .mx-provs__ico, .hist2 .hist2-head-ico) {
  background-color: var(--mx-section-surface) !important;
  color: var(--mx-section-foreground) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
/* The history symbol is a background image, so only the other two gradients are reset. */
html:not(#mxsti1):not(#mxsti2):not(#mxsti3):not(#mxsti4):not(#mxsti5):not(#mxsti6):not(#mxsti7):not(#mxsti8) body:not(.light-theme) :is(.live-winners-header .mx-lw-ico, .mx-provs .mx-provs__ico) {
  background-image: none !important;
}
html:not(#mxsti1):not(#mxsti2):not(#mxsti3):not(#mxsti4):not(#mxsti5):not(#mxsti6):not(#mxsti7):not(#mxsti8) body:not(.light-theme) .hist2 .hist2-row > .hist2-win:not(.zero) {
  color: var(--mx-history-positive) !important;
}
/* mx-section-theme-v1 end */

/* mx-lobby-contrast-v1 start */
body:not(.light-theme) .main-games__title .nav-buttons {
  --mxlu-panel: #2b2f3d;
  --mxlu-text: #f7f9fc;
}
html:not(#mxlu1):not(#mxlu2):not(#mxlu3):not(#mxlu4):not(#mxlu5):not(#mxlu6):not(#mxlu7):not(#mxlu8) body:not(.light-theme) .main-games__title .nav-buttons > button:disabled {
  opacity: 1 !important;
}
html:not(#mxlu1):not(#mxlu2):not(#mxlu3):not(#mxlu4):not(#mxlu5):not(#mxlu6):not(#mxlu7):not(#mxlu8) body:not(.light-theme) .main-games__title .nav-buttons > button:disabled::before {
  opacity: 0.45 !important;
}
/* mx-lobby-contrast-v1 end */

/* mx-lobby-no-arrow-v1 start */
html:not(#mxlu1):not(#mxlu2):not(#mxlu3):not(#mxlu4):not(#mxlu5):not(#mxlu6):not(#mxlu7):not(#mxlu8) body:not(.light-theme) .main-games__title .nav-buttons > button.nav-button-all::after {
  content: none !important;
  display: none !important;
}
/* mx-lobby-no-arrow-v1 end */

/* mx-dice-tower-tone-v1 start */
body:not(.light-theme) :is(.dice-content, .tower-content) {
  --mxdt-surface: #1a1d29;
  --mxdt-input: #1d1d26;
  --mxdt-actions: #262a34;
  --mxdt-foreground: #ffffff;
  --mxdt-muted: #9d9fb4;
}
/* Existing theme overrides use seven IDs; this scope must outrank them. */
html:not(#mxdt1):not(#mxdt2):not(#mxdt3):not(#mxdt4):not(#mxdt5):not(#mxdt6):not(#mxdt7):not(#mxdt8) body:not(.light-theme) .dice-content .dice-box {
  background-color: var(--mxdt-input) !important;
  color: var(--mxdt-foreground) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
html:not(#mxdt1):not(#mxdt2):not(#mxdt3):not(#mxdt4):not(#mxdt5):not(#mxdt6):not(#mxdt7):not(#mxdt8) body:not(.light-theme) .dice-content .dice-box > .dice-box-input {
  background-color: var(--mxdt-input) !important;
  color: var(--mxdt-foreground) !important;
  -webkit-text-fill-color: currentcolor !important;
}
html:not(#mxdt1):not(#mxdt2):not(#mxdt3):not(#mxdt4):not(#mxdt5):not(#mxdt6):not(#mxdt7):not(#mxdt8) body:not(.light-theme) .dice-content .dice-box > .dice-box-actions {
  background-color: var(--mxdt-actions) !important;
  color: var(--mxdt-muted) !important;
  border-top-color: transparent !important;
  box-shadow: none !important;
}
html:not(#mxdt1):not(#mxdt2):not(#mxdt3):not(#mxdt4):not(#mxdt5):not(#mxdt6):not(#mxdt7):not(#mxdt8) body:not(.light-theme) .dice-content .dice-box-actions > button {
  background-color: transparent !important;
  color: var(--mxdt-muted) !important;
  -webkit-text-fill-color: currentcolor !important;
}
html:not(#mxdt1):not(#mxdt2):not(#mxdt3):not(#mxdt4):not(#mxdt5):not(#mxdt6):not(#mxdt7):not(#mxdt8) body:not(.light-theme) .dice-content .dice-box-actions > button:is(:hover, :focus-visible):not(:disabled) {
  color: var(--mxdt-foreground) !important;
}
html:not(#mxdt1):not(#mxdt2):not(#mxdt3):not(#mxdt4):not(#mxdt5):not(#mxdt6):not(#mxdt7):not(#mxdt8) body:not(.light-theme) .tower-content :is(.twr-board, .twr-panel, .twr-auto-row) {
  background-color: var(--mxdt-surface) !important;
  background-image: none !important;
  color: var(--mxdt-foreground) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
html:not(#mxdt1):not(#mxdt2):not(#mxdt3):not(#mxdt4):not(#mxdt5):not(#mxdt6):not(#mxdt7):not(#mxdt8) body:not(.light-theme) .tower-content :is(.twr-inwrap, .twr-sel) {
  background-color: var(--mxdt-input) !important;
  color: var(--mxdt-foreground) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
html:not(#mxdt1):not(#mxdt2):not(#mxdt3):not(#mxdt4):not(#mxdt5):not(#mxdt6):not(#mxdt7):not(#mxdt8) body:not(.light-theme) .tower-content .twr-in {
  background-color: transparent !important;
  color: var(--mxdt-foreground) !important;
  -webkit-text-fill-color: currentcolor !important;
}
html:not(#mxdt1):not(#mxdt2):not(#mxdt3):not(#mxdt4):not(#mxdt5):not(#mxdt6):not(#mxdt7):not(#mxdt8) body:not(.light-theme) .tower-content :is(.twr-mod, .twr-auto) {
  background-color: var(--mxdt-actions) !important;
  color: var(--mxdt-foreground) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
/* mx-dice-tower-tone-v1 end */

/* mx-welcome-moneta-v1 start */
body .mx-wfs-dialog.mx-wfs-dialog{--wfs-bg:#1a1d29;--wfs-text:#f5f7fc;--wfs-muted:#9faac0;--wfs-accent:#ffda24;--wfs-blue:#2563eb;--wfs-on-blue:#f5f7fc;--wfs-panel:color-mix(in srgb,var(--wfs-text) 5%,var(--wfs-bg));width:min(520px,100vw);max-height:calc(100vh - 12px);max-height:calc(100dvh - 12px);border:0;border-radius:24px 24px 0 0;background:var(--wfs-bg);color:var(--wfs-text);box-shadow:0 20px 72px color-mix(in srgb,var(--wfs-bg) 45%,transparent)}
.mx-wfs-dialog.mx-wfs-dialog::backdrop{background:color-mix(in srgb,var(--wfs-bg) 65%,transparent);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.mx-wfs-dialog .mx-wfs-handle{width:36px;height:4px;margin:10px auto 0;background:var(--wfs-muted);opacity:.35}
.mx-wfs-dialog .mx-wfs-header{padding:16px 18px;gap:12px}
.mx-wfs-dialog .mx-wfs-heading{gap:10px}
.mx-wfs-dialog .mx-wfs-heading-icon{width:40px;height:40px;border:0;border-radius:13px;background:color-mix(in srgb,var(--wfs-blue) 18%,var(--wfs-bg));color:var(--wfs-accent);font-size:19px}
.mx-wfs-dialog .mx-wfs-heading h2{font-size:19px;font-weight:700;letter-spacing:-.45px;line-height:1.3;text-wrap:balance}
.mx-wfs-dialog .mx-wfs-heading p{margin-top:3px;color:var(--wfs-muted);font-size:14px;line-height:1.4}
.mx-wfs-dialog .mx-wfs-close{width:36px;height:36px;border:0;background:var(--wfs-panel);color:var(--wfs-muted);font-size:16px!important}
.mx-wfs-dialog .mx-wfs-close:hover{background:color-mix(in srgb,var(--wfs-blue) 18%,var(--wfs-bg));color:var(--wfs-text)}
.mx-wfs-dialog .mx-wfs-scroll{scrollbar-color:color-mix(in srgb,var(--wfs-muted) 42%,transparent) transparent;scroll-padding:16px}
.mx-wfs-dialog .mx-wfs-hero{display:flex;flex-direction:row-reverse;align-items:center;gap:12px;margin:0 18px;padding:14px 14px 14px 20px;min-height:140px;border-radius:18px;background:var(--wfs-blue);color:var(--wfs-text)}
.mx-wfs-dialog .mx-wfs-hero::after{display:none}
.mx-wfs-dialog .mx-wfs-art{flex:none;width:42%;max-width:174px;height:116px;object-fit:cover;object-position:70% center;opacity:1;border:0;border-radius:12px}
.mx-wfs-dialog .mx-wfs-hero-copy{flex:1;min-width:0;gap:6px;margin:0;align-self:center;text-shadow:none}
.mx-wfs-dialog .mx-wfs-hero-copy span{color:var(--wfs-on-blue);font-size:14px;line-height:1.5;font-weight:400}
.mx-wfs-dialog .mx-wfs-hero-copy strong{color:var(--wfs-accent);font-size:clamp(30px,8vw,40px);font-weight:800;line-height:1.15;letter-spacing:-1.3px;white-space:nowrap}
.mx-wfs-dialog .mx-wfs-details{padding:18px 18px 16px}
.mx-wfs-dialog .mx-wfs-game{gap:6px;align-items:baseline}
.mx-wfs-dialog .mx-wfs-game h3{font-size:20px;font-weight:700;letter-spacing:-.4px;color:var(--wfs-text)}
.mx-wfs-dialog .mx-wfs-provider{padding:0;border:0;border-radius:0;background:transparent;color:var(--wfs-muted);font-size:14px}
.mx-wfs-dialog .mx-wfs-metrics{gap:8px;margin-top:14px!important}
.mx-wfs-dialog .mx-wfs-metric{min-width:0;padding:12px 4px;border:0;border-radius:14px;background:var(--wfs-panel);color:var(--wfs-text)}
.mx-wfs-dialog .mx-wfs-metric-icon{display:none}
.mx-wfs-dialog .mx-wfs-metric dd{margin:0;color:var(--wfs-text);font-size:clamp(20px,5.6vw,26px);font-weight:700;line-height:1.3;letter-spacing:-.6px;white-space:nowrap}
.mx-wfs-dialog .mx-wfs-metric:first-child dd{color:var(--wfs-accent)}
.mx-wfs-dialog .mx-wfs-metric dt{margin-top:5px;color:var(--wfs-muted);font-size:14px;line-height:1.45}
.mx-wfs-dialog .mx-wfs-note{margin-top:12px!important;padding:12px 14px;border:0;border-radius:14px;background:color-mix(in srgb,var(--wfs-blue) 13%,var(--wfs-bg));color:var(--wfs-text);font-size:14px;line-height:1.6;text-wrap:pretty}
.mx-wfs-dialog .mx-wfs-note strong{font-weight:600;color:var(--wfs-text);white-space:nowrap}
.mx-wfs-dialog .mx-wfs-rules{margin-top:12px;color:var(--wfs-muted);font-size:14px;line-height:1.5}
.mx-wfs-dialog .mx-wfs-rules summary{width:fit-content;min-height:32px;padding:6px 0;cursor:pointer}
.mx-wfs-dialog .mx-wfs-rules summary::marker{color:var(--wfs-muted)}
.mx-wfs-dialog .mx-wfs-rules p{padding:4px 0 8px}
.mx-wfs-dialog .mx-wfs-footer{padding:12px 18px max(16px,env(safe-area-inset-bottom));border:0;background:var(--wfs-bg);color:var(--wfs-text)}
.mx-wfs-dialog .mx-wfs-actions{gap:8px}
.mx-wfs-dialog .mx-wfs-primary{min-height:50px;padding:13px 14px;border:0;border-radius:13px;background:var(--wfs-accent);color:var(--wfs-bg);font-size:16px!important;font-weight:700!important;line-height:1.5}
.mx-wfs-dialog .mx-wfs-later{min-height:44px;padding:10px 14px;border:0;border-radius:13px;background:var(--wfs-blue);color:var(--wfs-on-blue);font-size:14px!important;font-weight:500!important;line-height:1.5}
.mx-wfs-dialog .mx-wfs-later:hover{filter:brightness(1.1)}
.mx-wfs-dialog :is(.mx-wfs-primary,.mx-wfs-later,.mx-wfs-close):active:not(:disabled){filter:brightness(.94)}
.mx-wfs-dialog .mx-wfs-status{color:var(--wfs-muted);font-size:14px;line-height:1.5}
.mx-wfs-dialog :is(button,summary):focus-visible{outline:3px solid var(--wfs-accent);outline-offset:3px}
body.light-theme .mx-wfs-dialog.mx-wfs-dialog{--wfs-bg:#f5f7fc;--wfs-text:#1a1d29;--wfs-muted:color-mix(in srgb,#1a1d29 70%,#f5f7fc);--wfs-panel:color-mix(in srgb,var(--wfs-blue) 6%,var(--wfs-bg))}
body.light-theme .mx-wfs-dialog .mx-wfs-heading-icon{background:var(--wfs-blue);color:var(--wfs-accent)}
body.light-theme .mx-wfs-dialog .mx-wfs-metric:first-child dd{color:var(--wfs-blue)}
body.light-theme .mx-wfs-dialog .mx-wfs-note strong{color:var(--wfs-text)}
body.light-theme .mx-wfs-dialog .mx-wfs-primary{color:var(--wfs-text)}
body.light-theme .mx-wfs-dialog :is(button,summary):focus-visible{outline-color:var(--wfs-blue)}
@media(min-width:641px){body .mx-wfs-dialog.mx-wfs-dialog{margin:auto;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);border-radius:24px}.mx-wfs-dialog .mx-wfs-header{padding:22px 24px}.mx-wfs-dialog .mx-wfs-hero{margin:0 24px;min-height:156px;padding:14px 14px 14px 24px}.mx-wfs-dialog .mx-wfs-art{height:132px}.mx-wfs-dialog .mx-wfs-heading h2{font-size:21px}.mx-wfs-dialog .mx-wfs-details{padding:20px 24px 12px}.mx-wfs-dialog .mx-wfs-footer{padding:12px 24px 24px}.mx-wfs-dialog .mx-wfs-metric{padding:14px 8px}}
@media(max-width:360px){.mx-wfs-dialog .mx-wfs-header{padding:14px;gap:8px}.mx-wfs-dialog .mx-wfs-heading{gap:8px}.mx-wfs-dialog .mx-wfs-heading-icon{width:36px;height:36px}.mx-wfs-dialog .mx-wfs-heading h2{font-size:17px}.mx-wfs-dialog .mx-wfs-hero{margin:0 14px;padding:12px 12px 12px 16px;gap:8px;min-height:124px}.mx-wfs-dialog .mx-wfs-art{height:100px;width:40%}.mx-wfs-dialog .mx-wfs-hero-copy strong{font-size:28px}.mx-wfs-dialog .mx-wfs-details{padding:16px 14px 12px}.mx-wfs-dialog .mx-wfs-metrics{gap:6px}.mx-wfs-dialog .mx-wfs-metric dd{font-size:20px}.mx-wfs-dialog .mx-wfs-game h3{font-size:19px}.mx-wfs-dialog .mx-wfs-footer{padding:10px 14px max(14px,env(safe-area-inset-bottom))}}
@media(max-height:400px){body .mx-wfs-dialog.mx-wfs-dialog{max-height:calc(100vh - 8px);max-height:calc(100dvh - 8px)}.mx-wfs-dialog .mx-wfs-handle,.mx-wfs-dialog .mx-wfs-heading p{display:none}.mx-wfs-dialog .mx-wfs-header{padding:4px 12px}.mx-wfs-dialog .mx-wfs-heading-icon,.mx-wfs-dialog .mx-wfs-close{height:28px;width:28px}.mx-wfs-dialog .mx-wfs-heading h2{font-size:16px}.mx-wfs-dialog .mx-wfs-footer{padding:4px 12px}.mx-wfs-dialog .mx-wfs-actions{flex-direction:row;gap:6px}.mx-wfs-dialog .mx-wfs-primary,.mx-wfs-dialog .mx-wfs-later{min-height:34px;padding:6px;font-size:14px!important}}
/* mx-welcome-moneta-v1 end */

/* mx-welcome-green-button-v1 start */
body .mx-wfs-dialog .mx-wfs-primary{--wfs-cta-bg:#22c55e;--wfs-cta-text:#1a1d29;background:var(--wfs-cta-bg)!important;color:var(--wfs-cta-text)!important}
html body:not(.light-theme) .tower-content{--mxtv-control:#30374b;--mxtv-text:#e8ecf5;--mxtv-green:#22c55e;--mxtv-on-green:#1a1d29}
/* Nine IDs outrank the installed eight-ID dark-tone rules without touching other games. */
html:not(#mxtv1):not(#mxtv2):not(#mxtv3):not(#mxtv4):not(#mxtv5):not(#mxtv6):not(#mxtv7):not(#mxtv8):not(#mxtv9) body:not(.light-theme) .tower-content :is(.twr-inwrap,.twr-sel){background:var(--mxtv-control)!important;color:var(--mxtv-text)!important;border-color:transparent!important;box-shadow:none!important}
html:not(#mxtv1):not(#mxtv2):not(#mxtv3):not(#mxtv4):not(#mxtv5):not(#mxtv6):not(#mxtv7):not(#mxtv8):not(#mxtv9) body:not(.light-theme) .tower-content :is(.twr-in:disabled,.twr-sel:disabled){opacity:1!important;color:color-mix(in srgb,var(--mxtv-text) 72%,var(--mxtv-control))!important;-webkit-text-fill-color:currentcolor!important;cursor:not-allowed!important}
html:not(#mxtv1):not(#mxtv2):not(#mxtv3):not(#mxtv4):not(#mxtv5):not(#mxtv6):not(#mxtv7):not(#mxtv8):not(#mxtv9) body:not(.light-theme) .tower-content .twr-step:not(.on):not(.done){background:var(--mxtv-control)!important;color:var(--mxtv-text)!important;border-color:transparent!important;box-shadow:none!important}
html:not(#mxtv1):not(#mxtv2):not(#mxtv3):not(#mxtv4):not(#mxtv5):not(#mxtv6):not(#mxtv7):not(#mxtv8):not(#mxtv9) body:not(.light-theme) .tower-content .twr-play.twr-take{background:var(--mxtv-green)!important;color:var(--mxtv-on-green)!important;-webkit-text-fill-color:currentcolor!important;-webkit-text-stroke:0!important;text-shadow:none!important;box-shadow:none!important;filter:none!important}
html:not(#mxtv1):not(#mxtv2):not(#mxtv3):not(#mxtv4):not(#mxtv5):not(#mxtv6):not(#mxtv7):not(#mxtv8):not(#mxtv9) body:not(.light-theme) .tower-content .twr-play.twr-take :is(span,.twr-take-sum){color:inherit!important;-webkit-text-fill-color:currentcolor!important;-webkit-text-stroke:0!important;text-shadow:none!important}
html:not(#mxtv1):not(#mxtv2):not(#mxtv3):not(#mxtv4):not(#mxtv5):not(#mxtv6):not(#mxtv7):not(#mxtv8):not(#mxtv9) body:not(.light-theme) .tower-content .twr-play.twr-take:hover:not(:disabled){filter:brightness(1.06)!important}
html:not(#mxtv1):not(#mxtv2):not(#mxtv3):not(#mxtv4):not(#mxtv5):not(#mxtv6):not(#mxtv7):not(#mxtv8):not(#mxtv9) body:not(.light-theme) .tower-content .twr-play.twr-take:active:not(:disabled){filter:brightness(.97)!important}
html:not(#mxtv1):not(#mxtv2):not(#mxtv3):not(#mxtv4):not(#mxtv5):not(#mxtv6):not(#mxtv7):not(#mxtv8):not(#mxtv9) body:not(.light-theme) .tower-content :is(.twr-sel:focus-visible,.twr-inwrap:has(:focus-visible),.twr-play.twr-take:focus-visible){outline:2px solid var(--mxtv-text)!important;outline-offset:3px!important}
/* mx-welcome-green-button-v1 end */

/* mx-welcome-art-themes-v1 start */
html body :is(.mx-wfs-dialog,.tower-content){--mxat-ink:#1a1d29;--mxat-paper:#ffffff;--mxat-blue:#2563eb;--mxat-gold:#ffda24;--mxat-green:#15803d}
body .mx-wfs-dialog.mx-wfs-dialog{--wfs-bg:var(--mxat-ink);--wfs-text:var(--mxat-paper);--wfs-muted:color-mix(in srgb,var(--mxat-paper) 64%,var(--mxat-ink));--wfs-panel:color-mix(in srgb,var(--mxat-paper) 5%,var(--mxat-ink));--wfs-accent:var(--mxat-gold);--wfs-blue:var(--mxat-blue);--wfs-on-blue:var(--mxat-paper);color-scheme:dark}
body.light-theme .mx-wfs-dialog.mx-wfs-dialog{--wfs-bg:var(--mxat-paper);--wfs-text:var(--mxat-ink);--wfs-muted:color-mix(in srgb,var(--mxat-ink) 70%,var(--mxat-paper));--wfs-panel:color-mix(in srgb,var(--mxat-blue) 6%,var(--mxat-paper));color-scheme:light}
.mx-wfs-dialog.mx-wfs-dialog::backdrop{background:color-mix(in srgb,var(--mxat-ink) 65%,transparent)}
.mx-wfs-dialog .mx-wfs-hero{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:0;margin:0;padding:0;min-height:0;border-radius:0;background:var(--wfs-bg);color:var(--mxat-paper)}
.mx-wfs-dialog .mx-wfs-art{grid-area:1/1;display:block;width:100%;max-width:none;height:clamp(176px,48vw,218px);object-fit:cover;object-position:center;opacity:1;border:0;border-radius:0}
.mx-wfs-dialog .mx-wfs-hero::after{content:"";display:block;grid-area:1/1;z-index:1;pointer-events:none;background:linear-gradient(0deg,var(--wfs-bg),transparent 45%),linear-gradient(90deg,color-mix(in srgb,var(--mxat-ink) 76%,transparent),color-mix(in srgb,var(--mxat-ink) 16%,transparent) 65%,transparent 88%)}
.mx-wfs-dialog .mx-wfs-hero-copy{grid-area:1/1;z-index:2;align-self:center;justify-self:start;flex:none;gap:6px;margin:0 20px;text-shadow:0 2px 14px color-mix(in srgb,var(--mxat-ink) 55%,transparent)}
.mx-wfs-dialog .mx-wfs-hero-copy span{color:var(--mxat-paper);font-size:14px;line-height:1.5}
.mx-wfs-dialog .mx-wfs-hero-copy strong{color:var(--mxat-gold);font-size:clamp(32px,9vw,42px);font-weight:800;line-height:1.15;letter-spacing:-1px}
.mx-wfs-dialog .mx-wfs-game{align-items:center;gap:6px 12px}
.mx-wfs-dialog .mx-wfs-game h3{flex:none;max-width:100%;white-space:nowrap;line-height:1.35}
.mx-wfs-dialog .mx-wfs-provider{flex:none;white-space:nowrap}
body .mx-wfs-dialog .mx-wfs-primary{--wfs-cta-bg:var(--mxat-green);--wfs-cta-text:var(--mxat-paper);background:var(--wfs-cta-bg)!important;color:var(--wfs-cta-text)!important;-webkit-text-fill-color:currentcolor!important;-webkit-text-stroke:0!important;text-shadow:none!important;box-shadow:none!important}
body .mx-wfs-dialog .mx-wfs-primary:hover:not(:disabled){filter:brightness(1.03)}
body .mx-wfs-dialog .mx-wfs-primary:active:not(:disabled){filter:brightness(.97)}
body .mx-wfs-dialog .mx-wfs-primary:focus-visible{outline-color:var(--wfs-text)}
/* Ten IDs outrank the installed nine-ID overrides; all selectors stay inside Tower. */
html:not(#mxat1):not(#mxat2):not(#mxat3):not(#mxat4):not(#mxat5):not(#mxat6):not(#mxat7):not(#mxat8):not(#mxat9):not(#mxat10) body .tower-content .twr-play{color:var(--mxat-paper)!important;-webkit-text-fill-color:currentcolor!important;-webkit-text-stroke:0!important;text-shadow:none!important}
html:not(#mxat1):not(#mxat2):not(#mxat3):not(#mxat4):not(#mxat5):not(#mxat6):not(#mxat7):not(#mxat8):not(#mxat9):not(#mxat10) body .tower-content .twr-play :is(span,.twr-take-sum){color:inherit!important;-webkit-text-fill-color:currentcolor!important;-webkit-text-stroke:0!important;text-shadow:none!important}
html:not(#mxat1):not(#mxat2):not(#mxat3):not(#mxat4):not(#mxat5):not(#mxat6):not(#mxat7):not(#mxat8):not(#mxat9):not(#mxat10) body:not(.light-theme) .tower-content .twr-play:focus-visible{outline:2px solid var(--mxat-paper)!important;outline-offset:3px!important}
html body.light-theme .tower-content{--mxat-control:color-mix(in srgb,var(--mxat-blue) 8%,var(--mxat-paper));--mxat-disabled:color-mix(in srgb,var(--mxat-ink) 72%,var(--mxat-paper))}
html:not(#mxat1):not(#mxat2):not(#mxat3):not(#mxat4):not(#mxat5):not(#mxat6):not(#mxat7):not(#mxat8):not(#mxat9):not(#mxat10) body.light-theme .tower-content :is(.twr-inwrap,.twr-sel,.twr-step:not(.on):not(.done)){background:var(--mxat-control)!important;color:var(--mxat-ink)!important;-webkit-text-fill-color:currentcolor!important;border-color:transparent!important;box-shadow:none!important}
html:not(#mxat1):not(#mxat2):not(#mxat3):not(#mxat4):not(#mxat5):not(#mxat6):not(#mxat7):not(#mxat8):not(#mxat9):not(#mxat10) body.light-theme .tower-content .twr-in{background:transparent!important;color:var(--mxat-ink)!important;-webkit-text-fill-color:currentcolor!important}
html:not(#mxat1):not(#mxat2):not(#mxat3):not(#mxat4):not(#mxat5):not(#mxat6):not(#mxat7):not(#mxat8):not(#mxat9):not(#mxat10) body.light-theme .tower-content :is(.twr-in:disabled,.twr-sel:disabled){opacity:1!important;color:var(--mxat-disabled)!important;-webkit-text-fill-color:currentcolor!important;cursor:not-allowed!important}
html:not(#mxat1):not(#mxat2):not(#mxat3):not(#mxat4):not(#mxat5):not(#mxat6):not(#mxat7):not(#mxat8):not(#mxat9):not(#mxat10) body.light-theme .tower-content :is(.twr-sel:focus-visible,.twr-inwrap:has(:focus-visible),.twr-play:focus-visible){outline:2px solid var(--mxat-blue)!important;outline-offset:3px!important}
html:not(#mxat1):not(#mxat2):not(#mxat3):not(#mxat4):not(#mxat5):not(#mxat6):not(#mxat7):not(#mxat8):not(#mxat9):not(#mxat10) body.light-theme .tower-content .twr-cell:not(.safe):not(.bomb){background:var(--mxat-control)!important;color:var(--mxat-ink)!important;border-color:transparent!important;box-shadow:none!important}
html:not(#mxat1):not(#mxat2):not(#mxat3):not(#mxat4):not(#mxat5):not(#mxat6):not(#mxat7):not(#mxat8):not(#mxat9):not(#mxat10) body.light-theme .tower-content .twr-row.cur .twr-cell:not(.safe):not(.bomb){background:color-mix(in srgb,var(--mxat-blue) 15%,var(--mxat-paper))!important;color:var(--mxat-ink)!important}
html:not(#mxat1):not(#mxat2):not(#mxat3):not(#mxat4):not(#mxat5):not(#mxat6):not(#mxat7):not(#mxat8):not(#mxat9):not(#mxat10) body.light-theme .tower-content .twr-cell.pick:not(.safe):not(.bomb):hover:not(:disabled){background:color-mix(in srgb,var(--mxat-blue) 22%,var(--mxat-paper))!important;color:var(--mxat-ink)!important}
@media(min-width:641px){.mx-wfs-dialog .mx-wfs-art{height:218px}.mx-wfs-dialog .mx-wfs-hero-copy{margin:0 24px}}
@media(max-width:360px){.mx-wfs-dialog .mx-wfs-hero-copy{margin:0 16px}.mx-wfs-dialog .mx-wfs-hero-copy strong{font-size:32px}}
/* mx-welcome-art-themes-v1 end */
