/* App4 home geometry recovered from the accidental 2026-09-06 build.
   Intentionally contains no palette/background overrides. */
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home {
  padding-top: 7px;
}

html[data-app-domain="app4.akingames.online"] .is-home .app-header {
  min-height: 46px;
  grid-template-columns: 34px auto minmax(0, 1fr) 34px;
  gap: 6px;
  margin-bottom: 9px;
}

html[data-app-domain="app4.akingames.online"] .is-home .icon-btn,
html[data-app-domain="app4.akingames.online"] .is-home .bell-btn,
html[data-app-domain="app4.akingames.online"] .is-home .mini-avatar {
  width: 34px;
  height: 34px;
}

html[data-app-domain="app4.akingames.online"] .is-home .wallet-chip {
  height: 39px;
  max-width: 145px;
  gap: 6px;
  padding-left: 9px;
  border-radius: 12px;
}

html[data-app-domain="app4.akingames.online"] .is-home .home-game-hub {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 2px 0 10px;
}

html[data-app-domain="app4.akingames.online"] .is-home .home-game-card {
  min-width: 0;
  min-height: 45px;
  padding: 5px 27px 5px 7px;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 6px;
  border-radius: 14px;
}

html[data-app-domain="app4.akingames.online"] .is-home .home-game-icon {
  width: 32px;
  height: 32px;
}

html[data-app-domain="app4.akingames.online"] .is-home .home-game-icon img {
  width: 37px;
  height: 37px;
}

html[data-app-domain="app4.akingames.online"] .is-home .home-game-copy strong {
  font-size: 10px;
  line-height: 1.05;
}

html[data-app-domain="app4.akingames.online"] .is-home .home-game-copy small {
  margin-top: 2px;
  font-size: 7px;
}

html[data-app-domain="app4.akingames.online"] .is-home .home-wallet-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 11px;
}

html[data-app-domain="app4.akingames.online"] .is-home .home-wallet-actions .money-action {
  min-height: 43px;
  padding: 0 12px;
  border-radius: 13px;
  font-size: 11px;
}

html[data-app-domain="app4.akingames.online"] .is-home .market-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 11px !important;
}

html[data-app-domain="app4.akingames.online"] .is-home .market-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  column-gap: 12px;
  row-gap: 2px;
  min-height: 116px;
  padding: 13px 14px 12px !important;
  border-radius: 15px !important;
}

html[data-app-domain="app4.akingames.online"] .is-home .market-head {
  display: contents;
}

html[data-app-domain="app4.akingames.online"] .is-home .market-head h3 {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  font-size: 17px !important;
  line-height: 1.12;
}

html[data-app-domain="app4.akingames.online"] .is-home .market-head span {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  padding: 3px 0 !important;
  font-size: 11px !important;
}

html[data-app-domain="app4.akingames.online"] .is-home .result-strip {
  grid-column: 1;
  grid-row: 2;
  width: max-content;
  display: flex !important;
  align-items: center;
  gap: 0 !important;
  margin: 4px 0 5px !important;
}

html[data-app-domain="app4.akingames.online"] .is-home .result-strip strong {
  min-width: 0;
  min-height: 0;
  padding: 0 !important;
  font-size: 17px !important;
  line-height: 1.15;
}

html[data-app-domain="app4.akingames.online"] .is-home .market-foot {
  display: contents;
}

html[data-app-domain="app4.akingames.online"] .is-home .market-foot > span {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  font-size: 11px !important;
}

html[data-app-domain="app4.akingames.online"] .is-home .market-actions {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: center;
  display: grid;
  grid-template-columns: 48px 48px !important;
  gap: 8px !important;
}

html[data-app-domain="app4.akingames.online"] .is-home .market-actions a {
  width: 48px;
  height: 48px;
  min-height: 48px !important;
  border-radius: 13px !important;
}

html[data-app-domain="app4.akingames.online"] .is-home .market-actions svg {
  width: 25px;
  height: 25px;
}

@media (max-width: 370px) {
  html[data-app-domain="app4.akingames.online"] .is-home .app-header {
    grid-template-columns: 32px auto minmax(0, 1fr) 32px;
    gap: 4px;
  }

  html[data-app-domain="app4.akingames.online"] .is-home .icon-btn,
  html[data-app-domain="app4.akingames.online"] .is-home .bell-btn {
    width: 32px;
    height: 32px;
  }
}


/* Screenshot parity: restore the accidental Home's native flow. */
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home > .money-actions {
  display: grid !important;
  min-height: 52px !important;
  margin: 10px 0 14px !important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home > .money-actions .money-action {
  min-height: 52px !important;
  padding: 0 15px !important;
  border-radius: 14px !important;
  font-size: 14px !important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home #markets > .market-shift-tabs {
  display: grid !important;
  min-height: 58px !important;
  margin: 0 0 14px !important;
  border-radius: 17px !important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home #markets > .market-shift-tabs button {
  min-height: 58px !important;
  font-size: 14px !important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home #markets {
  margin-top: 0 !important;
  padding-bottom: 92px !important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .app4-bottom-actions {
  display: none !important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .app-header {
  min-height: 64px !important;
  height: 64px !important;
  padding: 6px 9px !important;
  border-radius: 18px !important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-card {
  min-height: 58px !important;
  height: 58px !important;
  padding: 7px 10px !important;
  border-radius: 14px !important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .bottom-nav {
  min-height: 76px !important;
  height: 76px !important;
  padding: 12px 8px 7px !important;
  border-radius: 20px 20px 0 0 !important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .bottom-fab-wrap {
  height: 68px !important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .bottom-fab-dice {
  bottom: 3px !important;
  width: 64px !important;
  height: 64px !important;
  border-width: 4px !important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .bottom-fab-dice svg {
  width: 29px !important;
  height: 29px !important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .bottom-fab-label {
  display: block !important;
  font-size: 10px !important;
}

/* Exact outer dimensions from the supplied reference screenshot. */
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .app-header,
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-card,
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home > .money-actions,
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home > .money-actions .money-action,
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home #markets > .market-shift-tabs,
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home #markets > .market-shift-tabs button,
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .bottom-nav,
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .bottom-fab-dice { box-sizing:border-box !important; }
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .app-header { min-height:64px !important; height:64px !important; }
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-card { min-height:58px !important; height:58px !important; }
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home > .money-actions,
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home > .money-actions .money-action { min-height:52px !important; height:52px !important; }
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home #markets > .market-shift-tabs,
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home #markets > .market-shift-tabs button { min-height:58px !important; height:58px !important; }
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .bottom-nav { min-height:82px !important; height:82px !important; }
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .bottom-fab-dice { width:70px !important; height:70px !important; }

/* Raised Home control: keep the label below the circle without overlap. */
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .bottom-nav.has-dice-fab {
  grid-template-columns: 1fr 1fr 82px 1fr 1fr !important;
  align-items: end !important;
  padding: 0 8px 7px !important;
  overflow: visible !important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .bottom-fab-wrap {
  position: relative !important;
  height: 75px !important;
  align-self: end !important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .bottom-fab-dice {
  left: 50% !important;
  bottom: 20px !important;
  width: 70px !important;
  height: 70px !important;
  transform: translateX(-50%) !important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .bottom-fab-label {
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 2px !important;
  z-index: 3 !important;
  width: 82px !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  text-align: center !important;
  line-height: 14px !important;
  white-space: nowrap !important;
}

/* Compact green Home header and controls. */
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .app-header{min-height:56px!important;height:56px!important;padding:5px 8px!important;border-radius:16px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .brand-lockup .mini-avatar{display:none!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .brand-lockup{min-width:0!important;gap:0!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .brand-lockup strong{max-width:none!important;font-size:0!important;line-height:1!important;white-space:nowrap!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .brand-lockup strong::after{content:"MIKKI MATKA";color:#28351c;font-size:13px;font-weight:900;letter-spacing:.02em}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .brand-lockup span{display:none!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-hub{gap:7px!important;margin:7px 0 9px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-card{min-height:50px!important;height:50px!important;padding:5px 8px!important;grid-template-columns:31px minmax(0,1fr)!important;gap:6px!important;border-radius:13px!important;color:#fff!important;background:linear-gradient(145deg,#58762a,#304d24)!important;border-color:rgba(255,255,255,.48)!important;box-shadow:inset 0 1px rgba(255,255,255,.25),0 5px 12px rgba(49,73,33,.2)!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-icon{width:31px!important;height:31px!important;border-radius:9px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-icon img{width:34px!important;height:34px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-copy strong{font-size:10px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-copy small{font-size:7px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-card>em{width:21px!important;height:21px!important;right:7px!important;color:#496423!important;background:#edf3dc!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home>.money-actions{min-height:44px!important;height:44px!important;gap:8px!important;margin:8px 0 10px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home>.money-actions .money-action{min-height:44px!important;height:44px!important;padding:0 12px!important;border-radius:12px!important;color:#fff!important;background:linear-gradient(145deg,#86a936,#58761f)!important;border:1px solid rgba(255,255,255,.65)!important;box-shadow:inset 0 1px rgba(255,255,255,.3),0 5px 12px rgba(72,96,31,.2)!important;font-size:12px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home #markets>.market-shift-tabs,html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home #markets>.market-shift-tabs button{min-height:48px!important;height:48px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home #markets>.market-shift-tabs{margin-bottom:10px!important;border-radius:14px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home #markets>.market-shift-tabs button{font-size:12px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .market-shift-highlight{background:linear-gradient(145deg,#86a936,#58761f)!important}

/* Exact App4 brand title in the Home header. */
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .brand-lockup>div:last-child{display:flex!important;align-items:center!important;min-width:0!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .brand-lockup>div:last-child>strong{display:none!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .brand-lockup>div:last-child::before{content:"MIKKI MATKA"!important;display:block!important;color:#28351c!important;font-size:13px!important;font-weight:900!important;line-height:1!important;letter-spacing:.02em!important;white-space:nowrap!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .brand-lockup>div:last-child>span{display:none!important}

/* Compact market cards and restore readable result separators. */
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .market-card{
  min-height:112px!important;
  height:112px!important;
  padding:11px 12px 10px!important;
  row-gap:0!important;
  box-sizing:border-box!important;
  border-radius:16px!important;
}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .market-head h3{font-size:15px!important;line-height:1.08!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .result-strip{margin:5px 0 4px!important;gap:4px!important;white-space:nowrap!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .result-strip strong{font-size:15px!important;line-height:1!important;min-height:0!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .result-strip strong:not(:last-child)::after{content:" - "!important;margin-left:4px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .market-foot>span{font-size:10px!important;line-height:1.1!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .market-actions{grid-template-columns:44px 44px!important;gap:7px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .market-actions a{width:44px!important;height:44px!important;min-height:44px!important;border-radius:12px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .market-actions svg{width:22px!important;height:22px!important}
/* Reference screenshot geometry; colors remain inherited. */
html[data-app-domain="app4.akingames.online"] .mobile-shell.mobile-shell.is-home{width:min(430px,100vw)!important;max-width:100vw!important;padding:8px 10px 96px!important;box-sizing:border-box!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .app-header{width:100%!important;height:64px!important;min-height:64px!important;margin:0 0 11px!important;padding:6px 9px!important;box-sizing:border-box!important;border-radius:17px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-hub{width:100%!important;gap:9px 10px!important;margin:0 0 12px!important;padding:0!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-card{height:54px!important;min-height:54px!important;padding:6px 9px!important;grid-template-columns:34px minmax(0,1fr) 22px!important;gap:7px!important;box-sizing:border-box!important;border-radius:14px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-icon{width:34px!important;height:34px!important;border-radius:10px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-icon img{width:37px!important;height:37px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-copy strong{font-size:11px!important;line-height:1.05!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-copy small{font-size:7px!important;line-height:1.1!important;margin-top:2px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-card>em{position:static!important;width:22px!important;height:22px!important;justify-self:end!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home>.money-actions{width:100%!important;height:51px!important;min-height:51px!important;gap:10px!important;margin:0 0 14px!important;box-sizing:border-box!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home>.money-actions .money-action{height:51px!important;min-height:51px!important;padding:0 14px!important;box-sizing:border-box!important;border-radius:13px!important;font-size:13px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home #markets{width:100%!important;margin:0!important;padding:0 0 88px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home #markets>.market-shift-tabs{width:100%!important;height:58px!important;min-height:58px!important;margin:0 0 14px!important;padding:4px!important;box-sizing:border-box!important;border-radius:16px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home #markets>.market-shift-tabs button{height:50px!important;min-height:50px!important;font-size:13px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home #markets .market-grid{width:100%!important;gap:13px!important;padding:0!important;margin:0!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .market-card{width:100%!important;height:145px!important;min-height:145px!important;padding:16px 16px 13px!important;grid-template-columns:minmax(0,1fr) 128px!important;grid-template-rows:24px 57px 25px!important;column-gap:10px!important;row-gap:2px!important;box-sizing:border-box!important;border-radius:18px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .market-head h3{font-size:17px!important;line-height:24px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .market-head span{font-size:11px!important;line-height:20px!important;padding:0!important;justify-self:end!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .result-strip{width:155px!important;max-width:100%!important;min-height:57px!important;margin:0!important;display:flex!important;align-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:0!important;white-space:normal!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .result-strip strong{font-size:17px!important;line-height:22px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .market-foot>span{font-size:10px!important;line-height:25px!important;white-space:nowrap!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .market-actions{grid-template-columns:58px 58px!important;gap:10px!important;align-self:center!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .market-actions a{width:58px!important;height:58px!important;min-height:58px!important;border-radius:14px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .market-actions svg{width:27px!important;height:27px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .bottom-nav{width:min(430px,100vw)!important;height:82px!important;min-height:82px!important;padding:0 8px 7px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .bottom-fab-dice{width:70px!important;height:70px!important;bottom:20px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .app4-inline-money-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;height:51px!important;min-height:51px!important;gap:10px!important;margin:0 0 14px!important;box-sizing:border-box!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .app4-inline-money-actions .money-action{display:flex!important;align-items:center!important;height:51px!important;min-height:51px!important;padding:0 14px!important;box-sizing:border-box!important;border-radius:13px!important;font-size:13px!important;text-decoration:none!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .app4-inline-money-actions .money-action svg{width:19px!important;height:19px!important;flex:0 0 auto!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .app4-inline-money-actions .money-action span{flex:1!important;margin-left:8px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-hub .app4-money-direct{display:grid!important;grid-template-columns:22px 1fr 16px!important;align-items:center!important;height:51px!important;min-height:51px!important;padding:0 14px!important;border-radius:13px!important;color:#fff!important;background:linear-gradient(145deg,#86a936,#58761f)!important;border:1px solid rgba(255,255,255,.65)!important;box-shadow:inset 0 1px rgba(255,255,255,.3),0 5px 12px rgba(72,96,31,.2)!important;text-decoration:none!important;box-sizing:border-box!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-hub .app4-money-direct b{font-size:13px!important;font-weight:800!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-hub .app4-money-direct span{font-size:18px!important}
html[data-app-domain="app4.akingames.online"] .mobile-shell.is-home .home-game-hub .app4-money-direct em{font-size:22px!important;font-style:normal!important;text-align:right!important}
.mobile-shell.is-home .home-game-hub>a.app4-money-direct{display:grid!important;grid-template-columns:22px minmax(0,1fr) 16px!important;align-items:center!important;width:100%!important;height:51px!important;min-height:51px!important;margin:0!important;padding:0 14px!important;border-radius:13px!important;color:#fff!important;background:linear-gradient(145deg,#86a936,#58761f)!important;border:1px solid rgba(255,255,255,.65)!important;box-shadow:inset 0 1px rgba(255,255,255,.3),0 5px 12px rgba(72,96,31,.2)!important;text-decoration:none!important;box-sizing:border-box!important;overflow:hidden!important}
.mobile-shell.is-home .home-game-hub>a.app4-money-direct b{display:block!important;color:#fff!important;font-size:13px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important}
.mobile-shell.is-home .home-game-hub>a.app4-money-direct span{display:grid!important;place-items:center!important;color:#fff!important;font-size:17px!important;line-height:1!important}
.mobile-shell.is-home .home-game-hub>a.app4-money-direct em{display:block!important;color:#fff!important;font-size:22px!important;font-style:normal!important;line-height:1!important;text-align:right!important}
/* Native working-bundle controls: override legacy hide rules without domain attributes. */
.mobile-shell.is-home>.money-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;height:51px!important;min-height:51px!important;gap:10px!important;margin:0 0 14px!important;box-sizing:border-box!important}
.mobile-shell.is-home>.money-actions .money-action{display:flex!important;align-items:center!important;height:51px!important;min-height:51px!important;padding:0 14px!important;border-radius:13px!important;box-sizing:border-box!important;font-size:13px!important}
.mobile-shell.is-home #markets>.market-shift-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;position:relative!important;width:100%!important;height:58px!important;min-height:58px!important;margin:0 0 14px!important;padding:4px!important;box-sizing:border-box!important;border-radius:16px!important;overflow:hidden!important}
.mobile-shell.is-home #markets>.market-shift-tabs button{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;z-index:2!important;height:50px!important;min-height:50px!important;font-size:13px!important}
.mobile-shell.is-home #markets>.market-shift-tabs .market-shift-highlight{display:block!important;position:absolute!important;z-index:1!important}
/* App4 Home bottom navigation ??? raised glossy center button. */
.mobile-shell.is-home .bottom-nav.has-dice-fab {
  width: min(430px, 100vw) !important;
  height: 82px !important;
  min-height: 82px !important;
  grid-template-columns: 1fr 1fr 82px 1fr 1fr !important;
  align-items: end !important;
  padding: 0 8px 7px !important;
  border-radius: 20px 20px 0 0 !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}
.mobile-shell.is-home .bottom-nav.has-dice-fab > a {
  min-height: 58px !important;
  padding: 0 0 5px !important;
  align-content: end !important;
}
.mobile-shell.is-home .bottom-fab-wrap {
  position: relative !important;
  align-self: end !important;
  width: 82px !important;
  height: 82px !important;
  overflow: visible !important;
  pointer-events: none !important;
}
.mobile-shell.is-home .bottom-fab-dice {
  pointer-events: auto !important;
  left: 50% !important;
  bottom: 18px !important;
  width: 70px !important;
  height: 70px !important;
  min-width: 70px !important;
  min-height: 70px !important;
  transform: translateX(-50%) !important;
  border: 5px solid #fff !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg,#91b53b 0%,#6f9227 48%,#4b681b 100%) !important;
  box-shadow: inset 0 3px 5px rgba(255,255,255,.48), inset 0 -5px 8px rgba(37,66,15,.28), 0 0 0 2px rgba(119,153,50,.3), 0 9px 20px rgba(54,82,23,.38) !important;
  z-index: 4 !important;
  box-sizing: border-box !important;
}
.mobile-shell.is-home .bottom-fab-dice::before {
  content: "" !important;
  position: absolute !important;
  inset: 5px 8px auto !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: linear-gradient(180deg,rgba(255,255,255,.38),rgba(255,255,255,0)) !important;
  pointer-events: none !important;
}
.mobile-shell.is-home .bottom-fab-dice svg {
  width: 30px !important;
  height: 30px !important;
  stroke-width: 2.4 !important;
  position: relative !important;
  z-index: 2 !important;
}
.mobile-shell.is-home .bottom-fab-label {
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 1px !important;
  z-index: 5 !important;
  width: 82px !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  color: var(--theme-primary-deep,#4b681b) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 13px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* The working bundle has no Home text node; render its label below the FAB. */
.mobile-shell.is-home .bottom-fab-wrap::after {
  content: "Home" !important;
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 1px !important;
  z-index: 6 !important;
  width: 82px !important;
  transform: translateX(-50%) !important;
  color: var(--theme-primary-deep,#4b681b) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 13px !important;
  text-align: center !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

/* Compact App4 Home bottom navigation. */
.mobile-shell.is-home .bottom-nav.has-dice-fab {
  height: 68px !important;
  min-height: 68px !important;
  grid-template-columns: 1fr 1fr 68px 1fr 1fr !important;
  padding: 0 7px 4px !important;
  border-radius: 18px 18px 0 0 !important;
}
.mobile-shell.is-home .bottom-nav.has-dice-fab > a {
  min-height: 50px !important;
  gap: 1px !important;
  padding: 0 0 4px !important;
  font-size: 8.5px !important;
  line-height: 10px !important;
}
.mobile-shell.is-home .bottom-nav.has-dice-fab > a svg {
  width: 19px !important;
  height: 19px !important;
}
.mobile-shell.is-home .bottom-fab-wrap {
  width: 68px !important;
  height: 68px !important;
}
.mobile-shell.is-home .bottom-fab-dice {
  bottom: 15px !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  border-width: 4px !important;
}
.mobile-shell.is-home .bottom-fab-dice svg {
  width: 25px !important;
  height: 25px !important;
}
.mobile-shell.is-home .bottom-fab-wrap::after {
  bottom: 0 !important;
  width: 68px !important;
  font-size: 8.5px !important;
  line-height: 11px !important;
}

/* One stable bottom navigation on every route and after SPA back navigation. */
.bottom-nav.has-dice-fab {
  width: min(430px,100vw) !important;
  height: 68px !important;
  min-height: 68px !important;
  grid-template-columns: 1fr 1fr 68px 1fr 1fr !important;
  align-items: end !important;
  padding: 0 7px 4px !important;
  border: 1px solid rgba(98,122,55,.22) !important;
  border-bottom: 0 !important;
  border-radius: 18px 18px 0 0 !important;
  background: #fffdf4 !important;
  box-shadow: 0 -7px 18px rgba(54,72,31,.14) !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  isolation: isolate !important;
}
.bottom-nav.has-dice-fab::before,
.bottom-nav.has-dice-fab::after {
  display: none !important;
  content: none !important;
}
.bottom-nav.has-dice-fab > a {
  min-height: 50px !important;
  align-content: end !important;
  gap: 1px !important;
  padding: 0 0 4px !important;
  color: #5a742d !important;
  font-size: 8.5px !important;
  line-height: 10px !important;
}
.bottom-nav.has-dice-fab > a svg {
  width: 19px !important;
  height: 19px !important;
}
.bottom-nav.has-dice-fab .bottom-fab-wrap {
  position: relative !important;
  align-self: end !important;
  width: 68px !important;
  height: 68px !important;
  overflow: visible !important;
  pointer-events: none !important;
}
.bottom-nav.has-dice-fab .bottom-fab-dice {
  pointer-events: auto !important;
  left: 50% !important;
  bottom: 15px !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  transform: translateX(-50%) !important;
  border: 4px solid #fff !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg,#91b53b 0%,#6f9227 48%,#4b681b 100%) !important;
  box-shadow: inset 0 3px 5px rgba(255,255,255,.48), inset 0 -5px 8px rgba(37,66,15,.28), 0 0 0 2px rgba(119,153,50,.3), 0 8px 17px rgba(54,82,23,.34) !important;
  z-index: 4 !important;
  box-sizing: border-box !important;
}
.bottom-nav.has-dice-fab .bottom-fab-dice svg {
  width: 25px !important;
  height: 25px !important;
  position: relative !important;
  z-index: 2 !important;
}
.bottom-nav.has-dice-fab .bottom-fab-wrap::after {
  content: "Home" !important;
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 0 !important;
  z-index: 6 !important;
  width: 68px !important;
  transform: translateX(-50%) !important;
  color: #5a742d !important;
  font-size: 8.5px !important;
  font-weight: 800 !important;
  line-height: 11px !important;
  text-align: center !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

/* Jackpot route: one compact fixed nav with no oversized empty reserve. */
.mobile-shell.is-gali {
  height:100dvh!important;
  min-height:100dvh!important;
  max-height:100dvh!important;
  padding:0 0 68px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.mobile-shell.is-gali > .gali-page { min-height:0!important;overflow:hidden!important; }
.mobile-shell.is-gali .gali-list {
  min-height:0!important;
  padding:6px 10px 10px!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin!important;
}
.mobile-shell.is-gali > .bottom-nav.has-dice-fab {
  position:fixed!important;
  left:50%!important;
  right:auto!important;
  bottom:0!important;
  transform:translateX(-50%)!important;
  z-index:1000!important;
}
.mobile-shell.is-gali .gali-card > img { background:#eef3e6!important; }
/* Compact Jackpot/Gali top navigation. */
.mobile-shell.is-gali .gali-hero {
  min-height:0!important;
  padding:7px 12px 8px!important;
}
.mobile-shell.is-gali .gali-bar {
  grid-template-columns:34px 1fr auto!important;
  gap:7px!important;
}
.mobile-shell.is-gali .gali-back {
  width:34px!important;
  height:34px!important;
}
.mobile-shell.is-gali .gali-back svg {
  width:18px!important;
  height:18px!important;
}
.mobile-shell.is-gali .gali-logo {
  width:36px!important;
  height:36px!important;
  border-radius:9px!important;
}
.mobile-shell.is-gali .gali-logo img {
  width:24px!important;
  height:24px!important;
}
.mobile-shell.is-gali .gali-board {
  height:29px!important;
  padding:0 8px 0 10px!important;
  border-radius:9px!important;
  font-size:8.5px!important;
}
.mobile-shell.is-gali .gali-title-row {
  margin:4px 0 5px!important;
}
.mobile-shell.is-gali .gali-title-row h1 {
  font-size:20px!important;
  line-height:23px!important;
}
.mobile-shell.is-gali .gali-lang {
  min-width:38px!important;
  height:23px!important;
  padding:0 8px!important;
  font-size:9px!important;
}
.mobile-shell.is-gali .gali-live {
  height:25px!important;
  padding:0 13px!important;
  gap:5px!important;
  font-size:9.5px!important;
}
/* Clean two-row Jackpot header matching the App4 green theme. */
.mobile-shell.is-gali .gali-hero {
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) 118px!important;
  grid-template-rows:36px 29px!important;
  align-items:center!important;
  gap:6px 8px!important;
  padding:8px 10px 9px!important;
  background:linear-gradient(120deg,#234c30 0%,#496d29 58%,#789528 100%)!important;
  box-shadow:0 5px 14px rgba(48,72,31,.22)!important;
}
.mobile-shell.is-gali .gali-bar,
.mobile-shell.is-gali .gali-title-row {
  display:contents!important;
}
.mobile-shell.is-gali .gali-back {
  grid-column:1!important;
  grid-row:1!important;
  width:36px!important;
  height:36px!important;
  color:#fff!important;
  background:rgba(255,255,255,.14)!important;
  border:1px solid rgba(255,255,255,.3)!important;
  box-shadow:none!important;
}
.mobile-shell.is-gali .gali-logo { display:none!important; }
.mobile-shell.is-gali .gali-title-row h1 {
  grid-column:2!important;
  grid-row:1!important;
  justify-self:center!important;
  margin:0!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.035em!important;
  text-shadow:0 2px 5px rgba(24,46,18,.32)!important;
  white-space:nowrap!important;
}
.mobile-shell.is-gali .gali-lang {
  grid-column:3!important;
  grid-row:1!important;
  justify-self:end!important;
  position:static!important;
  min-width:39px!important;
  height:27px!important;
  padding:0 8px!important;
  color:#35541e!important;
  background:#f5f8e9!important;
  border:1px solid rgba(255,255,255,.7)!important;
  border-radius:9px!important;
  font-size:9px!important;
  transform:none!important;
  box-shadow:0 3px 8px rgba(34,58,20,.18)!important;
}
.mobile-shell.is-gali .gali-live {
  grid-column:1 / 3!important;
  grid-row:2!important;
  justify-self:stretch!important;
  width:100%!important;
  height:29px!important;
  justify-content:center!important;
  color:#fff!important;
  background:rgba(255,255,255,.13)!important;
  border:1px solid rgba(255,255,255,.42)!important;
  border-radius:10px!important;
  font-size:9.5px!important;
  letter-spacing:.025em!important;
}
.mobile-shell.is-gali .gali-board {
  grid-column:3!important;
  grid-row:2!important;
  justify-self:stretch!important;
  width:118px!important;
  height:29px!important;
  justify-content:center!important;
  padding:0 7px!important;
  color:#3d511b!important;
  background:linear-gradient(#f9f6d7,#e7edbf)!important;
  border:1px solid rgba(255,255,255,.7)!important;
  border-radius:10px!important;
  font-size:8.5px!important;
  box-shadow:0 3px 8px rgba(34,58,20,.18)!important;
}
.mobile-shell.is-gali .gali-card.is-current-live {
  border:2px solid #dff7a6!important;
  box-shadow:0 0 0 3px rgba(160,205,64,.22),0 10px 22px rgba(35,65,24,.3)!important;
}
.mobile-shell.is-gali .gali-card.live-focus-pulse { animation:galiLiveFocus 1.05s ease-out!important; }
@keyframes galiLiveFocus {
  0% { transform:scale(.975);filter:brightness(1.22); }
  55% { transform:scale(1.01); }
  100% { transform:scale(1); }
}
.mobile-shell.is-starline .sl-slot.is-current-live {
  border:2px solid color-mix(in srgb,var(--theme-primary,#71992d) 55%,#fff)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-primary,#71992d) 18%,transparent),0 9px 22px rgba(45,72,28,.22)!important;
}
.mobile-shell.is-starline .sl-slot.starline-focus-pulse {animation:starlineCurrentFocus 1s ease-out!important}
@keyframes starlineCurrentFocus{0%{transform:scale(.975);filter:brightness(1.12)}55%{transform:scale(1.008)}100%{transform:scale(1);filter:none}}
/* Compact Starline header matching the App4 Home theme. */
.mobile-shell.is-starline .sl-hero {
  grid-template-columns:36px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:7px!important;
  min-height:60px!important;
  padding:7px 9px!important;
  background:linear-gradient(120deg,#234c30 0%,#4c702b 60%,#77942a 100%)!important;
  box-shadow:0 5px 14px rgba(48,72,31,.22)!important;
}
.mobile-shell.is-starline .sl-back {
  width:36px!important;
  height:36px!important;
  margin:0!important;
  border-radius:12px!important;
  color:#fff!important;
  background:rgba(255,255,255,.14)!important;
  border:1px solid rgba(255,255,255,.3)!important;
  box-shadow:none!important;
}
.mobile-shell.is-starline .sl-back svg {width:19px!important;height:19px!important}
.mobile-shell.is-starline .sl-brand {align-self:center!important;padding:0!important;overflow:hidden!important}
.mobile-shell.is-starline .sl-brand>span {display:none!important}
.mobile-shell.is-starline .sl-brand h1 {
  margin:0 0 3px!important;
  color:#fff!important;
  font-size:16px!important;
  line-height:18px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.mobile-shell.is-starline .sl-brand h1::after {content:""!important}
.mobile-shell.is-starline .sl-brand small {
  display:block!important;
  color:#e8f6c7!important;
  font-size:8.5px!important;
  line-height:11px!important;
  white-space:nowrap!important;
}
.mobile-shell.is-starline .sl-top-actions {align-items:center!important;gap:5px!important}
.mobile-shell.is-starline .sl-wallet {
  min-width:92px!important;
  min-height:40px!important;
  height:40px!important;
  padding:5px 8px!important;
  border-radius:12px!important;
  color:#32491f!important;
  background:#f7f8e9!important;
  border:1px solid rgba(255,255,255,.75)!important;
  box-shadow:0 3px 8px rgba(34,58,20,.18)!important;
}
.mobile-shell.is-starline .sl-wallet-row {gap:4px!important;font-size:10px!important}
.mobile-shell.is-starline .sl-wallet-row svg {width:13px!important;height:13px!important}
.mobile-shell.is-starline .sl-wallet small {margin-top:1px!important;color:#748060!important;font-size:7px!important}
.mobile-shell.is-starline .sl-bell {
  width:36px!important;
  height:36px!important;
  margin:0!important;
  color:#fff!important;
  background:rgba(255,255,255,.14)!important;
  border:1px solid rgba(255,255,255,.3)!important;
}
.mobile-shell.is-starline .sl-bell svg {width:17px!important;height:17px!important}
.mobile-shell.is-starline .sl-bell em {top:-3px!important;right:-3px!important;border-color:#58772b!important}
