/* 2WIN Money Action Standard v2 — mobile thumb-zone */
@media (max-width: 700px){
  :root{--money-safe:max(14px,env(safe-area-inset-bottom));--money-gap:8px}
  body{padding-bottom:calc(188px + var(--money-safe))!important}
  .slots[aria-label*="Betting controls"]{
    position:fixed!important;left:8px!important;right:8px!important;bottom:var(--money-safe)!important;z-index:2147482000!important;
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
    padding:8px!important;border-radius:22px!important;background:rgba(7,10,8,.97)!important;border:1px solid rgba(255,255,255,.10)!important;
    box-shadow:0 -18px 48px rgba(0,0,0,.48)!important;backdrop-filter:blur(18px)!important
  }
  .slots[aria-label*="Betting controls"] .slot{min-width:0!important;height:172px!important;padding:8px!important;border-radius:16px!important;display:flex!important;flex-direction:column!important;gap:6px!important;overflow:hidden!important}
  .slots[aria-label*="Betting controls"] .slot>div:first-child{min-width:0!important;display:flex!important;flex-direction:column!important;gap:5px!important;flex:1!important}
  .slots[aria-label*="Betting controls"] .slot>div:last-child{width:100%!important;min-width:0!important;flex:0 0 66px!important}
  .slots[aria-label*="Betting controls"] .slotbtn{width:100%!important;height:66px!important;min-height:66px!important;border-radius:14px!important;font-weight:950!important;letter-spacing:-.01em!important;touch-action:manipulation!important;box-shadow:0 8px 22px rgba(0,0,0,.32)!important}
  .slots[aria-label*="Betting controls"] .slotbtn span:first-child{font-size:16px!important;line-height:1.05!important;text-transform:uppercase!important}
  .slots[aria-label*="Betting controls"] .slotbtn span:last-child{font-size:12px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
  .slots[aria-label*="Betting controls"] .slot [style*="repeat(4"]{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important}
  .slots[aria-label*="Betting controls"] .slot [style*="repeat(4"] button{height:28px!important;min-height:28px!important;padding:0!important;font-size:10px!important;border-radius:8px!important}
  .slots[aria-label*="Betting controls"] .slot button[aria-label="Halve stake"],.slots[aria-label*="Betting controls"] .slot button[aria-label="Double stake"]{width:32px!important;height:32px!important;min-height:32px!important}
  .slots[aria-label*="Betting controls"] .slot input[type=number]{height:32px!important;min-height:32px!important;font-size:16px!important;padding:0 4px!important}
  .slots[aria-label*="Betting controls"] .slot input[aria-label*="auto cash-out"]{height:26px!important;min-height:26px!important;font-size:12px!important}
  .slots[aria-label*="Betting controls"] .slot label{font-size:10px!important;line-height:1!important}
  .stage{max-height:calc(100dvh - 250px)!important;min-height:250px!important}
}
@media (max-width:380px),(max-height:700px){
  body{padding-bottom:calc(166px + max(10px,env(safe-area-inset-bottom)))!important}
  .slots[aria-label*="Betting controls"]{left:5px!important;right:5px!important;gap:5px!important;padding:5px!important}
  .slots[aria-label*="Betting controls"] .slot{height:154px!important;padding:6px!important;gap:4px!important}
  .slots[aria-label*="Betting controls"] .slot>div:last-child{flex-basis:62px!important}
  .slots[aria-label*="Betting controls"] .slotbtn{height:62px!important;min-height:62px!important}
  .stage{max-height:calc(100dvh - 218px)!important;min-height:220px!important}
}
/* Slots: one stable money-action coordinate */
@media (max-width:700px){
  .sbody{padding-bottom:calc(112px + max(12px,env(safe-area-inset-bottom)))!important}
  .stage .ctrl{position:fixed!important;left:8px!important;right:8px!important;bottom:max(12px,env(safe-area-inset-bottom))!important;z-index:2147482000!important;max-width:none!important;height:96px!important;padding:8px 10px!important;border-radius:22px!important;background:rgba(7,10,8,.97)!important;box-shadow:0 -18px 48px rgba(0,0,0,.48)!important;backdrop-filter:blur(18px)!important;gap:8px!important}
  .stage .ctrl .spinbtn{order:3!important;width:78px!important;height:78px!important;min-width:78px!important;min-height:78px!important;margin-left:auto!important}
  .stage .ctrl .betw{order:1!important;flex:1 1 auto!important;min-width:0!important}
  .stage .ctrl .betw>div{min-width:64px!important}
  .stage .ctrl>button:not(.spinbtn){height:44px!important;padding:0 9px!important;font-size:11px!important}
  .stage .ctrl .hideS{display:none!important}
}
/* Tap Trade: stake dock fixed, chart remains the actual wager surface */
@media (max-width:700px){
  .trades .stakec{position:fixed!important;left:8px!important;right:8px!important;bottom:max(12px,env(safe-area-inset-bottom))!important;z-index:2147482000!important;padding:8px!important;border-radius:20px!important;background:rgba(7,10,8,.97)!important;box-shadow:0 -18px 48px rgba(0,0,0,.48)!important;backdrop-filter:blur(18px)!important}
  .trades .stakec:before{content:'TAP A PRICE ZONE TO TRADE';display:block;grid-column:1/-1;font-size:10px;font-weight:900;letter-spacing:.08em;color:#97A69B;text-align:center}
  .body{padding-bottom:calc(116px + max(12px,env(safe-area-inset-bottom)))!important}
}
