/* App4 home-only: ivory, sage and olive glass theme. */
html:has(.mobile-shell.is-home),
body:has(.mobile-shell.is-home),
body:has(.mobile-shell.is-home) #root { background:#eef3e7 !important; }
.mobile-shell.is-home {
  --theme-primary: #637d24; --theme-primary-deep: #3f5518; color: #11170d !important;
  background: radial-gradient(circle at 78% 5%,rgba(126,158,94,.32),transparent 25%),radial-gradient(circle at 7% 36%,rgba(177,202,164,.42),transparent 29%),linear-gradient(180deg,#dce7d4 0%,#f8f5e9 31%,#f5f1e4 100%) !important;
}
/* Beat the tenant layout's higher-specificity orange shell rule. */
.mobile-shell.mobile-shell.mobile-shell.is-home,
[data-app-theme] .mobile-shell.is-home,
[data-brand] .mobile-shell.is-home {
  background:
    radial-gradient(circle at 82% 3%,rgba(156,184,128,.38),transparent 27%),
    radial-gradient(circle at 3% 31%,rgba(205,220,190,.52),transparent 32%),
    linear-gradient(180deg,#dce8d5 0%,#f8f6eb 28%,#f3f0e4 100%) !important;
}
.mobile-shell.is-home .app-header {
  color:#12160f !important; background:linear-gradient(135deg,rgba(248,247,235,.92),rgba(177,199,158,.86)) !important;
  border:1px solid rgba(255,255,255,.82) !important; box-shadow:0 9px 22px rgba(62,82,43,.17),inset 0 1px 0 #fff !important; backdrop-filter:blur(13px) saturate(1.15);
}
.mobile-shell.is-home .app-header strong,.mobile-shell.is-home .app-header b,.mobile-shell.is-home .app-header small { color:#15190f !important; }
.mobile-shell.is-home .menu-btn,.mobile-shell.is-home .notify-btn { color:#526521 !important; background:rgba(251,249,237,.76) !important; border-color:rgba(255,255,255,.9) !important; }
.mobile-shell.is-home .wallet-chip { color:#17200f !important; background:linear-gradient(135deg,rgba(247,247,233,.84),rgba(135,162,91,.66)) !important; border-color:rgba(255,255,255,.86) !important; box-shadow:inset 0 1px 0 #fff,0 5px 14px rgba(68,87,42,.18) !important; }
.mobile-shell.is-home .home-game-card {
  color:#566729 !important; background:linear-gradient(145deg,rgba(255,255,250,.98),rgba(242,240,225,.96)) !important;
  border:1px solid rgba(104,122,72,.38) !important; box-shadow:0 8px 18px rgba(69,86,47,.14),inset 0 1px 0 #fff !important;
}
.mobile-shell.is-home .home-game-icon { color:#6b7e34 !important; background:linear-gradient(145deg,#f0eee0,#d9ddc8) !important; box-shadow:inset 0 1px 0 #fff !important; }
.mobile-shell.is-home .home-game-copy strong { color:#536526 !important; opacity:1 !important; text-shadow:none !important; }
.mobile-shell.is-home .home-game-copy small { color:#465526 !important; opacity:.95 !important; }
.mobile-shell.is-home .home-game-card>em { color:#63752f !important; background:#dce2cc !important; }
.mobile-shell.is-home .money-action.money,.mobile-shell.is-home .money-action.withdraw {
  color:#63732f !important; background:linear-gradient(145deg,#fffef7,#f1efe1) !important; border:1px solid rgba(103,121,70,.4) !important;
  box-shadow:0 8px 18px rgba(70,88,48,.13),inset 0 1px 0 #fff !important;
}
.mobile-shell.is-home .market-shift-tabs { background:rgba(251,249,239,.88) !important; border:1px solid rgba(112,130,78,.25) !important; box-shadow:0 9px 21px rgba(74,89,52,.13),inset 0 1px 0 #fff !important; }
.mobile-shell.is-home .market-shift-tabs button { color:#56662c !important; }
.mobile-shell.is-home .market-shift-tabs button.active { color:#fff !important; }
.mobile-shell.is-home .market-shift-highlight { background:linear-gradient(135deg,#76952b,#526d1d) !important; box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 6px 15px rgba(79,105,28,.23) !important; }
.mobile-shell.is-home .market-card {
  color:#11170d !important; background:linear-gradient(145deg,rgba(255,255,255,.29),transparent 42%),linear-gradient(145deg,#d9e5d2,#bfd0b5) !important;
}
.mobile-shell.is-home .market-card { border:1px solid rgba(255,255,255,.72) !important; box-shadow:0 9px 20px rgba(62,82,43,.18),inset 0 1px 0 rgba(255,255,255,.75) !important; }
.mobile-shell.is-home .market-head h3 { color:#10150c !important; opacity:1 !important; text-shadow:none !important; }
.mobile-shell.is-home .market-head .closed { color:#fff !important; background:#092d22 !important; }
.mobile-shell.is-home .market-head .open { color:#fff !important; background:linear-gradient(135deg,#62ae58,#3f9146) !important; }
.mobile-shell.is-home .result-strip strong { color:#fff !important; background:linear-gradient(145deg,#07352a,#031f1a) !important; border:1px solid rgba(47,94,72,.72) !important; box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 4px 9px rgba(8,48,36,.18) !important; }
.mobile-shell.is-home .market-card:has(.market-head .open) .result-strip strong { color:#667533 !important; background:linear-gradient(180deg,#fffef8,#f0eedf) !important; border-color:rgba(255,255,255,.9) !important; }
.mobile-shell.is-home .market-foot>span { color:#111b12 !important; opacity:1 !important; }
.mobile-shell.is-home .market-actions a:first-child { color:#61732e !important; background:linear-gradient(145deg,rgba(255,255,255,.55),rgba(215,225,205,.65)) !important; border:1px solid rgba(255,255,255,.84) !important; }
.mobile-shell.is-home .market-actions a:last-child:not(.disabled) { color:#fff !important; background:linear-gradient(135deg,#768f29,#55731d) !important; border-color:rgba(255,255,255,.55) !important; box-shadow:inset 0 1px 0 rgba(255,255,255,.26),0 5px 12px rgba(74,99,28,.2) !important; }
.mobile-shell.is-home .market-actions a.disabled { color:rgba(255,255,255,.72) !important; background:rgba(70,88,61,.42) !important; }
.mobile-shell.is-home .bottom-nav { color:#5b6b2e !important; background:rgba(252,250,240,.96) !important; border-color:rgba(116,132,82,.28) !important; box-shadow:0 -9px 24px rgba(65,78,47,.15),inset 0 1px 0 #fff !important; backdrop-filter:blur(14px); }
.mobile-shell.is-home .bottom-nav a { color:#5b6b2e !important; }
.mobile-shell.is-home .bottom-nav a.active { color:#fff !important; background:linear-gradient(145deg,#789434,#526b20) !important; box-shadow:0 6px 16px rgba(75,97,32,.3),inset 0 1px 0 rgba(255,255,255,.32) !important; }
.mobile-shell.is-home .hs-fab.otc {
  color:#fff !important; background:linear-gradient(155deg,#789434,#3f5816) !important;
  border:1px solid rgba(255,255,255,.82) !important; box-shadow:0 9px 20px rgba(65,87,25,.32),inset 0 1px 0 rgba(255,255,255,.38) !important;
}
.mobile-shell.is-home .hs-fab.otc svg { color:#fff !important; stroke:#fff !important; opacity:1 !important; }
.mobile-shell.is-home .hs-fab.otc small { display:block !important; color:#fff !important; opacity:1 !important; font-size:10px !important; font-weight:900 !important; text-shadow:0 1px 3px rgba(0,0,0,.45); }

/* App4 compact home flow: day list followed by night list. */
.mobile-shell.is-home .ludo-card,
.mobile-shell.is-home .utility-grid,
.mobile-shell.is-home > .money-actions,
.mobile-shell.is-home #markets > .market-shift-tabs { display:none !important; }
.mobile-shell.is-home #markets { margin-top:5px !important; padding-bottom:112px !important; }
.mobile-shell.is-home .app4-market-title {
  margin:12px 2px 8px; padding:9px 13px; border-radius:14px; color:#fff; font-size:14px; font-weight:900;
  background:linear-gradient(135deg,#789434,#4e681b); box-shadow:0 7px 16px rgba(70,92,29,.2),inset 0 1px rgba(255,255,255,.3);
}
.mobile-shell.is-home .app4-market-title.night { margin-top:16px; background:linear-gradient(135deg,#405730,#1f3829); }
.mobile-shell.is-home .app4-market-title { display:none !important; }
.mobile-shell.is-home .market-grid-night { margin-top:10px !important; }

/* Premium market cards — compact, readable and tactile. */
.mobile-shell.is-home .market-grid { gap:10px !important; padding:1px 2px 4px !important; }
.mobile-shell.is-home .market-card {
  position:relative; overflow:hidden; min-height:150px; padding:11px 10px 10px !important; border-radius:18px !important;
  background:linear-gradient(148deg,rgba(255,255,255,.52) 0%,rgba(222,235,216,.94) 38%,rgba(179,202,170,.98) 100%) !important;
  border:1px solid rgba(255,255,255,.92) !important;
  box-shadow:0 10px 23px rgba(58,77,39,.19),inset 0 1px 0 #fff,inset 0 -1px 0 rgba(78,102,53,.11) !important;
  transition:transform .18s ease,box-shadow .18s ease !important;
}
.mobile-shell.is-home .market-card::before {
  content:""; position:absolute; top:-65%; left:-42%; width:46%; height:220%; pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.43),transparent); transform:rotate(22deg); opacity:.7;
}
.mobile-shell.is-home .market-card::after {
  content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit;
  background:radial-gradient(circle at 92% 4%,rgba(255,255,255,.38),transparent 28%);
}
.mobile-shell.is-home .market-card>* { position:relative; z-index:1; }
.mobile-shell.is-home .market-card:active { transform:scale(.975); box-shadow:0 5px 13px rgba(58,77,39,.2),inset 0 1px #fff !important; }
.mobile-shell.is-home .market-head { align-items:center !important; min-height:25px; }
.mobile-shell.is-home .market-head h3 {
  max-width:70%; font-size:12px !important; line-height:1.1 !important; font-weight:900 !important; letter-spacing:.015em !important;
}
.mobile-shell.is-home .market-head span {
  padding:5px 9px !important; border-radius:999px !important; font-size:8px !important; font-weight:900 !important;
  letter-spacing:.03em; border:1px solid rgba(255,255,255,.7); box-shadow:0 4px 9px rgba(21,61,36,.16),inset 0 1px rgba(255,255,255,.3);
}
.mobile-shell.is-home .result-strip { gap:6px !important; margin:10px 0 9px !important; }
.mobile-shell.is-home .result-strip strong {
  min-height:32px !important; border-radius:10px !important; font-size:12px !important; font-weight:900 !important;
  letter-spacing:.045em; box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 5px 11px rgba(5,48,35,.2) !important;
}
.mobile-shell.is-home .market-card:has(.market-head .open) .result-strip strong {
  box-shadow:inset 0 1px 0 #fff,0 5px 11px rgba(91,110,50,.13) !important;
}
.mobile-shell.is-home .market-foot { gap:8px !important; }
.mobile-shell.is-home .market-foot>span {
  min-height:18px; font-size:9px !important; font-weight:800 !important; letter-spacing:-.01em;
}
.mobile-shell.is-home .market-foot>span svg { width:14px !important; height:14px !important; stroke-width:2.4; }
.mobile-shell.is-home .market-actions { gap:7px !important; }
.mobile-shell.is-home .market-actions a {
  min-height:32px !important; border-radius:9px !important; font-size:10px !important; font-weight:900 !important;
  transition:transform .15s ease,filter .15s ease !important;
}
.mobile-shell.is-home .market-actions a:active { transform:scale(.96); filter:brightness(.96); }
.mobile-shell.is-home .market-actions a:first-child { box-shadow:inset 0 1px 0 #fff,0 4px 9px rgba(75,94,51,.11) !important; }
.mobile-shell.is-home .market-actions a:last-child:not(.disabled) { background:linear-gradient(135deg,#789b29 0%,#55751b 55%,#3e5a12 100%) !important; }
@media(max-width:360px){
  .mobile-shell.is-home .market-grid{gap:7px !important}.mobile-shell.is-home .market-card{padding:9px 8px !important;border-radius:15px !important}
  .mobile-shell.is-home .market-head h3{font-size:10px !important}.mobile-shell.is-home .result-strip{gap:4px !important}.mobile-shell.is-home .result-strip strong{font-size:10px !important}
}

/* Preserve the original compact card geometry; polish only the surface. */
.mobile-shell.is-home .market-card {
  min-height:0 !important; padding:10px 10px 9px !important; border-radius:16px !important;
}
.mobile-shell.is-home .market-head { min-height:0 !important; }
.mobile-shell.is-home .market-head h3 { font-size:12px !important; line-height:1.15 !important; letter-spacing:0 !important; }
.mobile-shell.is-home .market-head span { padding:3px 8px !important; font-size:9px !important; }
.mobile-shell.is-home .result-strip { gap:5px !important; margin:9px 0 8px !important; }
.mobile-shell.is-home .result-strip strong { min-height:28px !important; border-radius:8px !important; font-size:11px !important; }
.mobile-shell.is-home .market-foot { gap:7px !important; }
.mobile-shell.is-home .market-foot>span { min-height:0 !important; font-size:10px !important; }
.mobile-shell.is-home .market-actions { gap:7px !important; }
.mobile-shell.is-home .market-actions a { min-height:30px !important; border-radius:8px !important; font-size:10px !important; }

/* Compact floating shortcuts. */
.mobile-shell.is-home .hs-fabs { right:max(8px,calc((100vw - 430px)/2 + 8px)) !important; bottom:86px !important; gap:6px !important; }
.mobile-shell.is-home .hs-fab { width:42px !important; height:42px !important; border-radius:14px !important; }
.mobile-shell.is-home .hs-fab.otc small { font-size:8px !important; }
.mobile-shell.is-home .hs-fab.otc svg { width:13px !important; height:13px !important; }
.mobile-shell.is-home .hs-fab.rupee { font-size:18px !important; }
.mobile-shell.is-home .hs-fab.wa { border-radius:50% !important; }
.mobile-shell.is-home .hs-fab.wa svg { width:19px !important; height:19px !important; }

/* Fixed app chrome: only the markets pane scrolls. */
html:has(.mobile-shell.is-home),body:has(.mobile-shell.is-home),body:has(.mobile-shell.is-home) #root { height:100%; overflow:hidden !important; }
.mobile-shell.mobile-shell.is-home {
  height:100dvh !important; min-height:100dvh !important; overflow:hidden !important; display:flex !important; flex-direction:column !important;
  background-attachment:fixed !important; padding-bottom:0 !important;
}
.mobile-shell.is-home .app-header { position:relative !important; top:auto !important; flex:0 0 auto !important; z-index:15 !important; }
.mobile-shell.is-home .home-game-hub { flex:0 0 auto !important; }
.mobile-shell.is-home #markets {
  flex:1 1 auto !important; min-height:0 !important; height:auto !important; overflow-x:hidden !important; overflow-y:auto !important;
  overscroll-behavior:contain; -webkit-overflow-scrolling:touch; padding:2px 3px 116px !important; margin-top:2px !important;
  scrollbar-width:none;
}
.mobile-shell.is-home #markets::-webkit-scrollbar { display:none; }
.mobile-shell.is-home .market-grid { flex:none !important; }
.mobile-shell.is-home .app4-bottom-actions {
  position:fixed; z-index:36; left:50%; bottom:50px; transform:translateX(-50%); width:min(310px,76%);
  display:grid; grid-template-columns:1fr 1fr; gap:5px; padding:0; background:transparent; pointer-events:auto;
}
.mobile-shell.is-home .app4-bottom-actions a {
  min-height:28px; display:flex; align-items:center; justify-content:center; gap:4px; border-radius:9px 9px 4px 4px;
  color:#fff; text-decoration:none; font-size:10px; font-weight:850; background:linear-gradient(145deg,#789434,#526b20);
  border:1px solid rgba(255,255,255,.72); border-bottom:0; box-shadow:0 -3px 10px rgba(67,88,27,.13),inset 0 1px rgba(255,255,255,.32);
}
.mobile-shell.is-home .bottom-nav { min-height:54px !important; height:54px !important; padding:3px 7px 2px !important; border-radius:18px 18px 0 0 !important; overflow:visible !important; }
.mobile-shell.is-home .bottom-nav::before { content:""; position:absolute; left:50%; top:-4px; width:min(330px,80%); height:8px; transform:translateX(-50%); border-radius:10px 10px 0 0; background:rgba(252,250,240,.97); border-top:1px solid rgba(116,132,82,.25); }
.mobile-shell.is-home .bottom-nav a { min-height:47px !important; font-size:8px !important; gap:0 !important; }
.mobile-shell.is-home .bottom-nav a svg { width:19px !important; height:19px !important; }
.mobile-shell.is-home .bottom-fab-wrap { height:47px !important; align-self:center !important; }
.mobile-shell.is-home .bottom-fab-dice { left:50% !important; bottom:3px !important; width:42px !important; height:42px !important; transform:translateX(-50%) !important; border-width:3px !important; }
.mobile-shell.is-home .bottom-fab-dice svg { width:21px !important; height:21px !important; }
.mobile-shell.is-home .bottom-fab-label { display:none !important; }

/* App4 global skin: all non-home routes. */
html[data-app-theme] {
  --theme-primary:#6f8e27 !important; --theme-primary-deep:#27482b !important; --theme-accent:#d9c85c !important;
  --theme-body-bg:#e1ead9 !important;
  --theme-shell-bg:radial-gradient(circle at 86% 0,rgba(148,179,116,.3),transparent 28%),linear-gradient(180deg,#dce8d5,#faf7ed 34%,#f2efe3) !important;
  --theme-support-shell-bg:linear-gradient(180deg,#27482b 0 150px,#f3f2e8 150px) !important;
  --theme-tx-shell-bg:#f4f2e8 !important;
  --theme-tx-page-bg:radial-gradient(circle at 5% 0,rgba(132,166,91,.25),transparent 24%),linear-gradient(180deg,#d5e3cc,#edf2e8 170px,#faf8ef 100%) !important;
  --theme-wd-screen-bg:#f4f2e8 !important;
  --theme-header-gradient:linear-gradient(135deg,#17392b,#48622a 62%,#789b2b) !important;
  --theme-chart-border:#c9d8bc !important;
  --theme-tab-bg:linear-gradient(180deg,#fffef8,#e7ecdd) !important;
}
html,body,#root{--a4-forest:#183c2b;--a4-deep:#0c2b22;--a4-olive:#627d25;--a4-lime:#789b2b;--a4-ink:#172015;--a4-muted:#586550;--a4-ivory:#fbf9ef;--a4-sage:#dce8d5}
body:not(:has(.mobile-shell.is-home)),body:not(:has(.mobile-shell.is-home)) #root{color:var(--a4-ink)!important;background:radial-gradient(circle at 85% 2%,rgba(143,176,112,.35),transparent 27%),linear-gradient(180deg,#dce8d5,#f8f5e9 36%,#f2efe3) fixed!important}
.mobile-shell:not(.is-home),.page-shell,.auth-shell{color:var(--a4-ink)!important;background:radial-gradient(circle at 86% 0,rgba(148,179,116,.3),transparent 28%),linear-gradient(180deg,#e2ebda,#faf7ed 34%,#f2efe3)!important}
.mobile-shell:not(.is-home) .app-header,.am-header,.cg-header,.tx-header,.ng-header,.select-game-top,.wd-topbar,.support-header,.chat-header,.wallet-header,.page-header,.screen-header{color:#fff!important;background:linear-gradient(135deg,#102f25 0%,#31552b 55%,#708d2b 135%)!important;border-color:rgba(255,255,255,.35)!important;box-shadow:0 8px 22px rgba(28,61,38,.22),inset 0 1px rgba(255,255,255,.16)!important}
.mobile-shell:not(.is-home) .app-header strong,.mobile-shell:not(.is-home) .app-header b,.mobile-shell:not(.is-home) .app-header small,.am-header h1,.cg-header h1,.tx-header h1,.ng-header h1,.wd-topbar h1,.support-header h1,.chat-header h1,.page-header h1{color:#fff!important;opacity:1!important;text-shadow:0 1px 3px rgba(0,0,0,.4)}
.mobile-shell:not(.is-home) .icon-btn,.mobile-shell:not(.is-home) .bell-btn,.am-back,.cg-back,.tx-back,.wd-back,.page-back{color:#fff!important;background:rgba(255,255,255,.13)!important;border-color:rgba(255,255,255,.34)!important}
.mobile-shell:not(.is-home) .wallet-chip,.wd-balance,.wallet-total,.wallet-hero,.balance-card{color:var(--a4-ink)!important;background:linear-gradient(145deg,#fffef6,#dce8d1)!important;border-color:rgba(255,255,255,.88)!important;box-shadow:0 8px 20px rgba(52,77,38,.16),inset 0 1px #fff!important}
.mobile-shell:not(.is-home) .card,.mobile-shell:not(.is-home) .list-card,.mobile-shell:not(.is-home) .info-card,.transaction-card,.tx-card,.withdraw-form-card,.bid-history-card,.settings-hero,.settings-action,.profile-identity-card,.reward-banner-numgame,.wd-panel,.wd-form,.bank-card,.support-card,.chat-card,.message-compose,.am-card,.am-panel,.wallet-card,.wallet-action,.history-card,.game-card,.cg-sheet,.cg-section,.ng-card,.notice-card{color:var(--a4-ink)!important;background:linear-gradient(145deg,rgba(255,255,252,.98),rgba(231,239,224,.96))!important;border:1px solid rgba(255,255,255,.92)!important;box-shadow:0 9px 22px rgba(55,78,42,.14),inset 0 1px #fff!important}
.mobile-shell:not(.is-home) h1,.mobile-shell:not(.is-home) h2,.mobile-shell:not(.is-home) h3,.mobile-shell:not(.is-home) strong,.mobile-shell:not(.is-home) b,.page-shell h1,.page-shell h2,.page-shell h3{color:var(--a4-ink)}
.mobile-shell:not(.is-home) p,.mobile-shell:not(.is-home) small,.mobile-shell:not(.is-home) label,.mobile-shell:not(.is-home) .muted,.page-shell p,.page-shell small{color:var(--a4-muted)}
.mobile-shell:not(.is-home) input,.mobile-shell:not(.is-home) select,.mobile-shell:not(.is-home) textarea,.page-shell input,.page-shell select,.page-shell textarea,.auth-card input,.auth-register-card input{color:#132017!important;background:#fffef8!important;caret-color:#55731d!important;border-color:rgba(86,111,49,.35)!important;box-shadow:inset 0 1px 3px rgba(45,66,34,.06)!important}
.mobile-shell:not(.is-home) input::placeholder,.mobile-shell:not(.is-home) textarea::placeholder,.page-shell input::placeholder,.auth-card input::placeholder{color:#7a8574!important;opacity:1!important}
.mobile-shell:not(.is-home) input:focus,.mobile-shell:not(.is-home) select:focus,.mobile-shell:not(.is-home) textarea:focus,.page-shell input:focus,.page-shell select:focus,.page-shell textarea:focus{border-color:#76952b!important;box-shadow:0 0 0 3px rgba(118,149,43,.15)!important;outline:none!important}
.mobile-shell:not(.is-home) .primary-btn,.page-shell .primary-btn,.am-pay,.wd-submit,.wd-bank,.mp-add-btn,.mp-confirm-btn.submit,.cg-play,.play-btn,.submit-btn,.confirm-btn,.action-primary,.auth-card button,.auth-register-card button{color:#fff!important;background:linear-gradient(135deg,#789b2b,#536f1d 58%,#365313)!important;border-color:rgba(255,255,255,.6)!important;box-shadow:0 6px 15px rgba(74,99,29,.24),inset 0 1px rgba(255,255,255,.28)!important}
.mobile-shell:not(.is-home) button:disabled,.mobile-shell:not(.is-home) a.disabled,.page-shell button:disabled{color:#e8eee2!important;background:#879383!important;opacity:.65!important;box-shadow:none!important}
.mobile-shell:not(.is-home) .secondary-btn,.page-shell .secondary-btn,.outline-btn{color:#506923!important;background:#fffef7!important;border-color:rgba(91,117,48,.42)!important}
.segmented .active,.tabs .active,.tab.active,.filter.active,.entry-row button.active,.ludo-mode-row button.active{color:#fff!important;background:linear-gradient(135deg,#789b2b,#4e681b)!important;border-color:#6f8d28!important}
.mobile-shell:not(.is-home) .bottom-nav,.hs-nav,.lh-nav,.lw-nav,.le-nav,.ng-bottom-nav{color:#586a2d!important;background:rgba(252,250,240,.97)!important;border-color:rgba(102,122,65,.3)!important;box-shadow:0 -8px 22px rgba(58,77,42,.15),inset 0 1px #fff!important}
.mobile-shell:not(.is-home) .bottom-nav a,.hs-nav a,.lh-nav a,.lw-nav a,.le-nav a,.ng-bottom-nav a{color:#586a2d!important}.mobile-shell:not(.is-home) .bottom-nav .active,.hs-nav .active,.lh-nav .active,.lw-nav .active,.le-nav .active,.ng-bottom-nav .active{color:#395614!important;font-weight:900!important}
.mobile-shell:not(.is-home) .bottom-fab-dice,.ng-bottom-fab{color:#fff!important;background:linear-gradient(145deg,#789b2b,#4d6819)!important;border-color:#fff!important}
.auth-card,.auth-register-card{color:var(--a4-ink)!important;background:linear-gradient(155deg,rgba(255,255,250,.98),rgba(220,233,211,.98))!important;border:1px solid rgba(255,255,255,.92)!important;box-shadow:0 18px 48px rgba(42,68,35,.23)!important}
.auth-card h1,.auth-card h2,.auth-register-card h1,.auth-register-card h2{color:var(--a4-ink)!important;text-shadow:none!important}.auth-tabs{background:rgba(205,220,194,.74)!important}
.status.approved,.status.success,.badge.success,.tx-status.approved{color:#0c6532!important;background:#d8f3df!important}.status.pending,.badge.pending,.tx-status.pending{color:#7a5200!important;background:#fff0bd!important}.status.rejected,.status.failed,.badge.error,.tx-status.rejected{color:#a51e31!important;background:#ffe0e4!important}
.error-box,.api-error{color:#991b2f!important;background:#ffe7ea!important;border-color:#ef9eaa!important}.success-box{color:#126231!important;background:#dff5e3!important;border-color:#94d5a1!important}
.support-chat,.chat-screen{background:linear-gradient(180deg,#e4eddd,#faf8ef)!important}.message.user,.chat-message.user,.message.outgoing{color:#fff!important;background:linear-gradient(135deg,#789b2b,#526f1d)!important}.message.admin,.message.support,.chat-message.support,.message.incoming{color:var(--a4-ink)!important;background:#fffdf5!important;border-color:#d3ddc9!important}.chat-composer,.support-composer{background:rgba(250,248,238,.98)!important;border-color:#cbd8c1!important}
.wallet-amount,.balance-amount,.amount,.money,.tx-amount{color:#284914!important;font-weight:900!important}.withdrawal-closed,.wd-closed{color:#fff!important;background:linear-gradient(135deg,#8b2436,#b92d45)!important}
@media(max-width:600px){.mobile-shell:not(.is-home) .card,.transaction-card,.tx-card,.withdraw-form-card,.wallet-card,.support-card{box-shadow:0 6px 15px rgba(55,78,42,.13),inset 0 1px #fff!important}}

/* Exact Add Money parity — no orange layer and no low-contrast text. */
html[data-app-theme] .mobile-shell.is-add-money,
html[data-app-theme] .mobile-shell.is-add-money>.am-screen,
html[data-app-theme] .am-screen {
  --deep:#27482b !important;--deep2:#1b3728 !important;--teal:#6f8e27 !important;--teal2:#91ad48 !important;--green:#4f954d !important;
  --text:#182216 !important;--muted:#5e6958 !important;--line:#d2ddc9 !important;
  background:radial-gradient(circle at 88% 1%,rgba(154,183,123,.36),transparent 27%),linear-gradient(180deg,#d8e5d0 0,#eef3e8 150px,#f8f5e9 100%) !important;
}
html[data-app-theme] .am-header { background:linear-gradient(135deg,#17392b,#48622a 62%,#789b2b) !important; }
html[data-app-theme] .am-heading h1,html[data-app-theme] .am-heading p { color:#fff !important; }
html[data-app-theme] .am-balance { color:#fff !important;background:linear-gradient(145deg,#284936,#58712b) !important;border-color:rgba(255,255,255,.36) !important; }
html[data-app-theme] .am-balance-data small,html[data-app-theme] .am-balance-data strong { color:#fff !important;opacity:1 !important; }
html[data-app-theme] .am-promo { background:radial-gradient(circle at 86% 17%,rgba(209,232,146,.2),transparent 30%),linear-gradient(120deg,#254632,#4c692b 55%,#789b2b) !important;border-color:rgba(226,240,180,.55) !important; }
html[data-app-theme] .am-promo h2,html[data-app-theme] .am-promo p { color:#fff !important;opacity:1 !important; }
html[data-app-theme] .am-promo-copy h2 span { color:#efff9a !important; }
html[data-app-theme] .am-card { background:linear-gradient(145deg,#fffef9,#edf2e7) !important;border-color:#fff !important;box-shadow:0 12px 28px rgba(52,76,39,.15),inset 0 1px #fff !important; }
html[data-app-theme] .am-card-head strong,html[data-app-theme] .am-input-title,html[data-app-theme] .am-chip-main { color:#182216 !important; }
html[data-app-theme] .am-chip { background:linear-gradient(145deg,#fffef9,#e8eee2) !important;border-color:#d6e0cd !important;color:#182216 !important; }
html[data-app-theme] .am-chip.selected { color:#fff !important;background:linear-gradient(145deg,#789b2b,#4d6c1c) !important;border-color:#88a63d !important; }
html[data-app-theme] .am-chip.selected .am-chip-main { color:#fff !important; }
html[data-app-theme] .am-input-wrap { background:#fffef9 !important;border-color:#b9c9a9 !important; }
html[data-app-theme] .am-pay { color:#fff !important;background:linear-gradient(100deg,#365a25,#789b2b,#365a25) !important;border-color:rgba(255,255,255,.55) !important; }
html[data-app-theme] .am-info-btn { color:#38551c !important;background:linear-gradient(145deg,#f7fbf1,#dcebd4) !important;border-color:#c6d7b9 !important; }

/* Exact Withdraw route: same sage/ivory language with strong contrast. */
html[data-app-theme] .wd-screen{color:#182216!important;background:radial-gradient(circle at 88% 1%,rgba(154,183,123,.34),transparent 27%),linear-gradient(180deg,#d8e5d0 0,#eef3e8 150px,#f8f5e9 100%)!important}
html[data-app-theme] .wd-hero{background:linear-gradient(135deg,#17392b,#48622a 62%,#789b2b)!important;box-shadow:0 7px 20px rgba(34,65,38,.24)!important}
html[data-app-theme] .wd-hero h1,html[data-app-theme] .wd-chip{color:#fff!important}
html[data-app-theme] .wd-chip{background:rgba(16,43,32,.45)!important;border:1px solid rgba(255,255,255,.28)!important}
html[data-app-theme] .wd-sheet{background:linear-gradient(180deg,rgba(250,248,239,.96),#f4f2e8)!important}
html[data-app-theme] .wd-balance{background:linear-gradient(145deg,#fffef7,#dce9d2)!important;border-color:#fff!important;box-shadow:0 10px 23px rgba(52,77,38,.16),inset 0 1px #fff!important}
html[data-app-theme] .wd-wallet-art{background:linear-gradient(155deg,#91ad48,#456b27)!important;box-shadow:0 8px 16px rgba(65,93,38,.25)!important}
html[data-app-theme] .wd-balance span,html[data-app-theme] .wd-method span,html[data-app-theme] .wd-limits{color:#596653!important}
html[data-app-theme] .wd-balance strong,html[data-app-theme] .wd-label,html[data-app-theme] .wd-method strong{color:#182216!important}
html[data-app-theme] .wd-amount,html[data-app-theme] .wd-method{color:#182216!important;background:#fffef8!important;border-color:#c7d5ba!important;box-shadow:inset 0 1px 3px rgba(45,66,34,.05)!important}
html[data-app-theme] .wd-method.active{border-color:#789b2b!important;box-shadow:0 0 0 3px rgba(118,155,43,.15)!important}
html[data-app-theme] .wd-method.active i{border-color:#6f8e27!important;box-shadow:inset 0 0 0 4px #6f8e27!important}
html[data-app-theme] .wd-paytm{background:linear-gradient(145deg,#72b8dc,#237baa)!important}
html[data-app-theme] .wd-bank{background:linear-gradient(145deg,#789b2b,#45651d)!important}
html[data-app-theme] .wd-add{color:#55731d!important;background:rgba(255,254,247,.72)!important;border-color:#789b2b!important}
html[data-app-theme] .wd-trust{padding:10px 6px;border-radius:15px;background:rgba(255,254,247,.72)!important;border:1px solid #d4dfca!important}
html[data-app-theme] .wd-trust div{color:#4f5e49!important}
html[data-app-theme] .wd-submit{background:linear-gradient(100deg,#365a25,#789b2b,#365a25)!important}

/* Support chat and menu drawer parity. */
html[data-app-theme] .mobile-shell.is-support{background:linear-gradient(180deg,#27482b 0 150px,#f3f2e8 150px)!important}
html[data-app-theme] .sp-sheet{background:linear-gradient(180deg,#f9f7ed,#eef3e9)!important;box-shadow:0 -10px 26px rgba(34,62,35,.18)!important}
html[data-app-theme] .sp-card{background:linear-gradient(145deg,#fffef8,#e4ecdc)!important;border:1px solid #fff!important;box-shadow:0 9px 22px rgba(52,77,38,.15)!important}
html[data-app-theme] .sp-card i,html[data-app-theme] .sp-msg.mine .sp-bubble{color:#fff!important;background:linear-gradient(145deg,#789b2b,#4d6819)!important}
html[data-app-theme] .sp-card strong{color:#182216!important}html[data-app-theme] .sp-card p{color:#596653!important}
html[data-app-theme] .sp-shield{color:#55731d!important;background:#e4edd8!important}
html[data-app-theme] .sp-thread{background-color:#eef3e8!important}
html[data-app-theme] .sp-msg.theirs .sp-bubble,html[data-app-theme] .sp-day,html[data-app-theme] .sp-quick button{color:#182216!important;background:#fffef8!important;border-color:#d5dfcc!important}
html[data-app-theme] .sp-quick button{color:#55731d!important}
html[data-app-theme] .sp-composer{background:rgba(250,248,238,.98)!important;border-color:#cbd8c1!important}
html[data-app-theme] .drawer-panel{color:#fff!important;background:radial-gradient(ellipse at 40% -10%,rgba(255,255,255,.17),transparent 42%),linear-gradient(180deg,#31552b 0%,#183c2b 48%,#0c2b22 100%)!important;box-shadow:16px 0 36px rgba(20,52,34,.42)!important}
html[data-app-theme] .drawer-wallet{background:rgba(121,155,43,.25)!important;border-color:rgba(221,238,177,.3)!important}
html[data-app-theme] .drawer-group a{color:#fff!important;background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.17)!important}
html[data-app-theme] .drawer-group a svg:first-child{color:#fff!important;background:linear-gradient(180deg,#91ad48,#55731d)!important}
html[data-app-theme] .drawer-avatar{background:linear-gradient(160deg,#d9c85c,#789b2b)!important}
