/* DjimlyStore customer polish v4.1.2
 * Loaded after customer-ui.css so these rules own the final customer-facing polish.
 */
  :root{
    --djs412-blue:#39a8e8;
    --djs412-blue-dark:#1677b7;
    --djs412-blue-soft:#eaf6ff;
    --djs412-navy:#142238;
    --djs412-muted:#6b7b8f;
    --djs412-line:#dce6ef;
    --djs412-bg:#f4f7fb;
    --djs412-paper:#fff;
    --djs412-green:#e9f9f0;
    --djs412-green-ink:#23734e;
  }

  /* ─────────────────────────────────────────────────────────────
   * Global brand/action buttons: blue + white, readable in every state.
   * Product/category cards remain neutral cards instead of becoming blue buttons.
   * ───────────────────────────────────────────────────────────── */
  html body #djs-portal :is(
    .djs-btn-orange,.djs-btn-primary,.djs-btn-full,.djs-pbtn,.djs-add-to-cart,
    [data-add-cart],#djs-game-modal-verify,#djs-game-modal-submit,
    .djs-v4070-btn:not(.secondary),.djs-wallet-moncash-submit,
    .djs-wallet-natcash-submit,.djs-wallet-paypal-submit,.djs-wallet-deposit-submit-p3,
    .djs-wallet-exchange-submit,.djs-wallet-transfer-submit,.djs-withdraw-submit,
    #djs-wallet-crypto-submit,#djs-recharge-moncash-submit,#djs-natcash-submit,
    #djs-wallet-paypal-submit,#djs-wallet-cashapp-submit,#djs-wallet-deposit-submit
  ){
    background:var(--djs412-blue)!important;
    background-image:none!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    border:1px solid var(--djs412-blue)!important;
    box-shadow:0 8px 20px rgba(57,168,232,.16)!important;
    text-shadow:none!important;
  }
  html body #djs-portal :is(
    .djs-btn-orange,.djs-btn-primary,.djs-btn-full,.djs-pbtn,.djs-add-to-cart,
    [data-add-cart],#djs-game-modal-verify,#djs-game-modal-submit,
    .djs-v4070-btn:not(.secondary),.djs-wallet-moncash-submit,
    .djs-wallet-natcash-submit,.djs-wallet-paypal-submit,.djs-wallet-deposit-submit-p3,
    .djs-wallet-exchange-submit,.djs-wallet-transfer-submit,.djs-withdraw-submit,
    #djs-wallet-crypto-submit,#djs-recharge-moncash-submit,#djs-natcash-submit,
    #djs-wallet-paypal-submit,#djs-wallet-cashapp-submit,#djs-wallet-deposit-submit
  ) :is(span,b,strong,.ms){color:#fff!important;-webkit-text-fill-color:#fff!important}
  html body #djs-portal :is(
    .djs-btn-orange,.djs-btn-primary,.djs-btn-full,.djs-pbtn,.djs-add-to-cart,
    [data-add-cart],#djs-game-modal-verify,#djs-game-modal-submit,
    .djs-v4070-btn:not(.secondary),.djs-wallet-moncash-submit,
    .djs-wallet-natcash-submit,.djs-wallet-paypal-submit,.djs-wallet-deposit-submit-p3,
    .djs-wallet-exchange-submit,.djs-wallet-transfer-submit,.djs-withdraw-submit,
    #djs-wallet-crypto-submit,#djs-recharge-moncash-submit,#djs-natcash-submit,
    #djs-wallet-paypal-submit,#djs-wallet-cashapp-submit,#djs-wallet-deposit-submit
  ):active{transform:translateY(1px)!important;box-shadow:0 4px 10px rgba(57,168,232,.14)!important}
  html body #djs-portal :is(
    #djs-game-modal-verify,#djs-game-modal-submit,.djs-add-to-cart,[data-add-cart],
    .djs-v4070-btn:not(.secondary),.djs-wallet-moncash-submit,.djs-wallet-natcash-submit,
    .djs-wallet-paypal-submit,.djs-wallet-deposit-submit-p3,.djs-wallet-exchange-submit,
    .djs-wallet-transfer-submit,.djs-withdraw-submit
  ):disabled{
    opacity:1!important;
    background:#dbe9f3!important;
    border-color:#d0e0ec!important;
    color:#587086!important;
    -webkit-text-fill-color:#587086!important;
    box-shadow:none!important;
  }
  html body #djs-portal :is(
    #djs-game-modal-verify,#djs-game-modal-submit,.djs-add-to-cart,[data-add-cart],
    .djs-v4070-btn:not(.secondary),.djs-wallet-moncash-submit,.djs-wallet-natcash-submit,
    .djs-wallet-paypal-submit,.djs-wallet-deposit-submit-p3,.djs-wallet-exchange-submit,
    .djs-wallet-transfer-submit,.djs-withdraw-submit
  ):disabled :is(span,b,strong,.ms){color:#587086!important;-webkit-text-fill-color:#587086!important}
  html body #djs-portal .djs-v4070-btn.secondary{
    background:#fff!important;color:var(--djs412-blue-dark)!important;-webkit-text-fill-color:var(--djs412-blue-dark)!important;
    border:1px solid #b9dcf1!important;box-shadow:none!important
  }

  /* ─────────────────────────────────────────────────────────────
   * Global product imagery: contained, centered, consistent radius.
   * ───────────────────────────────────────────────────────────── */
  html body #djs-portal :is(
    .djs-home-square-media,.djs-product-card__img,.djs-home-product-icon,
    .djs-category-browser-media,.djs-game-row-media-v2187,.djs-manual-card-image-v4071,
    .djs-v4070-list-card .pic,.djs-v4070-product-media-card,
    .djs-product-hero-photo,.djs-ff-light-media-v4073,.djs-manual-detail-media-v4071,
    .djs-game-detail-media-v2187,.djs-gift-detail-media,.djs-similar-product-media
  ){
    border-radius:20px!important;
    overflow:hidden!important;
  }
  html body #djs-portal :is(
    .djs-home-square-media,.djs-product-card__img,.djs-home-product-icon,
    .djs-category-browser-media,.djs-game-row-media-v2187,.djs-manual-card-image-v4071,
    .djs-v4070-list-card .pic,.djs-v4070-product-media-card,
    .djs-product-hero-photo,.djs-ff-light-media-v4073,.djs-manual-detail-media-v4071,
    .djs-game-detail-media-v2187,.djs-gift-detail-media,.djs-similar-product-media
  ) img,
  html body #djs-portal img.djs-product-photo{
    width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
    object-fit:contain!important;object-position:center center!important;transform:none!important;scale:1!important;
    border-radius:16px!important;
  }
  html body #djs-portal .djs-v4070-product-media-card img{padding:18px!important}
  html body #djs-portal #djs-game-modal :is(.djs-ff-light-media-v4073,.djs-manual-detail-media-v4071,.djs-game-detail-media-v2187) img{border-radius:18px!important}

  /* ─────────────────────────────────────────────────────────────
   * Game subcategory cleanup: remove the redundant visible Region/Value area.
   * Internal region metadata remains in the DOM for provider routing.
   * ───────────────────────────────────────────────────────────── */
  html body #djs-portal #djs-screen-game :is(.djs-game-region-block,#djs-game-region-value){display:none!important}
  html body #djs-portal #djs-screen-game .djs-game-modern-wrap{
    width:100%!important;max-width:760px!important;margin-inline:auto!important;
    padding-top:12px!important;padding-bottom:max(38px,env(safe-area-inset-bottom,0px))!important
  }
  html body #djs-portal #djs-screen-game .djs-game-pack-title{
    margin:4px 14px 18px!important;padding:0!important;font-size:16px!important;line-height:1.2!important
  }

  /* Center modern service subcategories when their content is shorter than the viewport. */
  html body #djs-portal #djs-screen-launch-v4070.djs-v4070-group-view .djs-v4070-shell{
    display:flex!important;flex-direction:column!important;min-height:100%!important
  }
  html body #djs-portal #djs-screen-launch-v4070.djs-v4070-group-view #djs-v4070-content{
    flex:1 1 auto!important;display:flex!important;align-items:center!important;justify-content:center!important;
    width:100%!important;min-height:0!important;padding:14px 14px max(34px,env(safe-area-inset-bottom,0px))!important
  }
  html body #djs-portal #djs-screen-launch-v4070.djs-v4070-group-view .djs-v4070-list{
    width:min(100%,720px)!important;margin:auto!important
  }

  /* DLS / eFootball / One State: one unified responsive card, never detached columns. */
  html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs{
    width:100%!important;max-width:720px!important;margin-inline:auto!important;gap:12px!important;
    padding:0 14px max(34px,env(safe-area-inset-bottom,0px))!important
  }
  html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-v4071{
    display:grid!important;grid-template-columns:72px minmax(0,1fr) minmax(82px,96px)!important;
    align-items:center!important;gap:11px!important;width:100%!important;min-width:0!important;
    min-height:112px!important;height:auto!important;margin:0!important;padding:12px!important;
    border:1px solid var(--djs412-line)!important;border-radius:22px!important;background:#fff!important;
    box-shadow:0 6px 20px rgba(20,56,93,.05)!important;overflow:hidden!important;text-align:left!important
  }
  html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-v4071>*{
    background:transparent!important;box-shadow:none!important;border-left:0!important;min-width:0!important
  }
  html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-image-v4071{
    width:72px!important;height:72px!important;padding:3px!important;border-radius:18px!important;background:#f8fafc!important
  }
  html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-copy-v4071{
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;overflow:hidden!important
  }
  html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-copy-v4071>small{
    margin:0!important;font-size:9px!important;font-weight:850!important;letter-spacing:.04em!important;color:#728198!important
  }
  html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-copy-v4071>strong{
    margin:0!important;max-width:100%!important;font-size:13px!important;line-height:1.25!important;color:var(--djs412-navy)!important;
    white-space:normal!important;overflow-wrap:anywhere!important
  }
  html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-status-v4071{
    display:inline-flex!important;align-items:center!important;gap:5px!important;width:max-content!important;max-width:100%!important;
    padding:4px 8px!important;border:1px solid #b9e4cd!important;border-radius:999px!important;
    background:var(--djs412-green)!important;color:var(--djs412-green-ink)!important;font-size:9.5px!important;font-weight:800!important
  }
  html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-copy-v4071>em{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
    max-width:100%!important;overflow:hidden!important;margin:0!important;font-size:10px!important;line-height:1.32!important;
    color:#62748a!important;font-style:normal!important;white-space:normal!important
  }
  html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-side-v4071{
    display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:center!important;
    gap:6px!important;width:auto!important;min-width:0!important;padding:0!important;background:transparent!important;
    border:0!important;text-align:right!important
  }
  html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-side-v4071>b{
    font-size:12.5px!important;line-height:1.2!important;color:var(--djs412-navy)!important;white-space:nowrap!important
  }
  html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-side-v4071>small{
    display:inline-flex!important;padding:4px 6px!important;border-radius:8px!important;background:var(--djs412-green)!important;
    color:var(--djs412-green-ink)!important;font-size:9px!important;line-height:1.2!important;white-space:nowrap!important
  }
  html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-side-v4071>.ms{
    width:25px!important;height:25px!important;display:grid!important;place-items:center!important;border-radius:50%!important;
    background:var(--djs412-blue-soft)!important;color:var(--djs412-blue-dark)!important;font-size:19px!important
  }

  /* ─────────────────────────────────────────────────────────────
   * Wallet v4.1.2: focused hierarchy — Solde USD / Échanger / Dépôt / Retrait.
   * ───────────────────────────────────────────────────────────── */
  html body #djs-portal #djs-screen-wallet{background:var(--djs412-bg)!important}
  html body #djs-portal #djs-screen-wallet .djs-wallet-v412-topbar{
    display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;
    min-height:66px!important;padding:10px 16px!important;background:var(--djs412-bg)!important;border:0!important
  }
  html body #djs-portal #djs-screen-wallet .djs-wallet-v412-topbar>[data-back]{min-width:48px!important;width:48px!important;height:44px!important;padding:0!important}
  html body #djs-portal .djs-wallet-v412-title{min-width:0;display:flex;flex-direction:column;gap:2px}
  html body #djs-portal .djs-wallet-v412-title small{font-size:8px;font-weight:900;letter-spacing:.11em;color:#62748a}
  html body #djs-portal .djs-wallet-v412-title span{font-size:17px;font-weight:900;line-height:1.1;color:var(--djs412-navy)}
  html body #djs-portal .djs-wallet-v412-secure{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:800;color:#4f657a;white-space:nowrap}
  html body #djs-portal .djs-wallet-v412-secure .ms{font-size:17px;color:var(--djs412-blue-dark)}
  html body #djs-portal #djs-screen-wallet .djs-wallet-v412{width:min(100%,720px)!important;margin:0 auto!important;padding:10px 14px max(34px,env(safe-area-inset-bottom,0px))!important}

  html body #djs-portal .djs-wallet-v412-hero{
    position:relative;overflow:hidden;padding:18px;border:1px solid #cfe3f0;border-radius:24px;
    background:linear-gradient(145deg,#f8fcff 0%,#eef8ff 58%,#fff 100%);box-shadow:0 10px 30px rgba(28,103,151,.07)
  }
  html body #djs-portal .djs-wallet-v412-hero:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:-95px;top:-105px;background:radial-gradient(circle,rgba(57,168,232,.18),rgba(57,168,232,0) 70%);pointer-events:none}
  html body #djs-portal .djs-wallet-v412-hero-head{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
  html body #djs-portal .djs-wallet-v412-hero-head small{display:block;font-size:9px;font-weight:900;letter-spacing:.11em;color:#698096}
  html body #djs-portal .djs-wallet-v412-hero-head h2{margin:7px 0 0;font-size:30px;line-height:1;font-weight:950;letter-spacing:-.045em;color:var(--djs412-navy)}
  html body #djs-portal .djs-wallet-v412-hero-head h2 em{font-size:11px;font-style:normal;letter-spacing:0;color:#6c7f93;margin-left:4px}
  html body #djs-portal .djs-wallet-v412-wallet-icon{width:43px;height:43px;border-radius:14px;background:#fff;border:1px solid #d7e7f1;display:grid;place-items:center;box-shadow:0 6px 16px rgba(37,104,146,.06)}
  html body #djs-portal .djs-wallet-v412-wallet-icon .ms{font-size:21px;color:var(--djs412-blue-dark)}
  html body #djs-portal .djs-wallet-v412-htg-meta{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}
  html body #djs-portal .djs-wallet-v412-htg-meta>span{padding:9px 10px;border:1px solid #e2ebf2;border-radius:13px;background:rgba(255,255,255,.82)}
  html body #djs-portal .djs-wallet-v412-htg-meta small{display:block;font-size:8px;color:#7a8b9d}
  html body #djs-portal .djs-wallet-v412-htg-meta b{display:block;margin-top:3px;font-size:11px;color:var(--djs412-navy)}
  html body #djs-portal .djs-wallet-v412-rate{position:relative;z-index:1;display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:7px;margin-top:10px;padding-top:10px;border-top:1px solid #dbe9f2;font-size:9px;color:#6d7f91}
  html body #djs-portal .djs-wallet-v412-rate .ms{font-size:18px;color:var(--djs412-blue-dark)}
  html body #djs-portal .djs-wallet-v412-rate b{font-size:10px;color:var(--djs412-navy);white-space:nowrap}

  html body #djs-portal .djs-wallet-v412-main-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
  html body #djs-portal .djs-wallet-v412-main-card{
    position:relative;min-width:0;min-height:104px;padding:13px;border:1px solid var(--djs412-line);border-radius:20px;
    background:#fff;color:var(--djs412-navy);box-shadow:0 6px 20px rgba(20,56,93,.045);text-align:left
  }
  html body #djs-portal button.djs-wallet-v412-main-card{display:grid;grid-template-columns:38px minmax(0,1fr) 22px;align-items:center;gap:9px}
  html body #djs-portal article.djs-wallet-v412-main-card{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:9px}
  html body #djs-portal .djs-wallet-v412-main-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:var(--djs412-blue-soft);color:var(--djs412-blue-dark)}
  html body #djs-portal .djs-wallet-v412-main-icon .ms{font-size:20px}
  html body #djs-portal .djs-wallet-v412-main-card small{display:block;font-size:8.5px;font-weight:800;color:#718398}
  html body #djs-portal .djs-wallet-v412-main-card strong{display:block;margin-top:4px;font-size:13px;line-height:1.2;font-weight:900;color:var(--djs412-navy)}
  html body #djs-portal .djs-wallet-v412-main-card.is-usd strong{font-size:20px;letter-spacing:-.03em}
  html body #djs-portal .djs-wallet-v412-usd-meta{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:7px}
  html body #djs-portal .djs-wallet-v412-usd-meta span{font-size:7.5px;color:#8595a7;white-space:nowrap}
  html body #djs-portal .djs-wallet-v412-usd-meta b{font-size:8px;color:#52677c}
  html body #djs-portal .djs-wallet-v412-main-card.is-action{cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
  html body #djs-portal .djs-wallet-v412-main-card.is-action:active{transform:scale(.985)}
  html body #djs-portal .djs-wallet-v412-main-card.is-action:focus-visible{border-color:#7fc6ec}
  html body #djs-portal .djs-wallet-v412-arrow{font-size:19px;color:var(--djs412-blue-dark)}
  html body #djs-portal .djs-wallet-v412-history{margin-top:12px;padding:14px;border:1px solid var(--djs412-line);border-radius:21px;background:#fff;box-shadow:0 6px 20px rgba(20,56,93,.04)}
  html body #djs-portal .djs-wallet-v412-history .djs-wallet-history-recent-head{margin-bottom:8px}
  html body #djs-portal .djs-wallet-v412-history .djs-wallet-history-recent-head small{font-size:8px;color:#7a8c9f}
  html body #djs-portal .djs-wallet-v412-history .djs-wallet-history-recent-head h3{font-size:14px;margin:2px 0 0;color:var(--djs412-navy)}
  html body #djs-portal .djs-wallet-v412-history .djs-wallet-history-view-all{font-size:9px;color:var(--djs412-blue-dark);background:var(--djs412-blue-soft);border:0;border-radius:10px;padding:8px 10px}

  /* Wallet conversion modal: centered, compact, DjimlyStore-blue. */
  html body #djs-portal .djs-wallet-exchange-overlay{padding:14px!important;align-items:center!important;justify-content:center!important}
  html body #djs-portal .djs-wallet-exchange-dialog{width:min(560px,100%)!important;max-height:88dvh!important;padding:20px!important;border:1px solid var(--djs412-line)!important;border-radius:24px!important;box-shadow:0 28px 80px rgba(18,45,72,.22)!important}
  html body #djs-portal .djs-wallet-exchange-head h2{font-size:20px!important;line-height:1.15!important;color:var(--djs412-navy)!important}
  html body #djs-portal .djs-wallet-exchange-head p{margin-top:6px!important;font-size:11px!important;line-height:1.45!important;color:#6d7e91!important}
  html body #djs-portal .djs-wallet-exchange-close{width:40px!important;height:40px!important;flex-basis:40px!important;border-radius:13px!important;border-color:var(--djs412-line)!important}
  html body #djs-portal .djs-wallet-exchange-directions{margin-top:16px!important;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr)!important;gap:7px!important;max-width:420px!important}
  html body #djs-portal .djs-wallet-exchange-directions button{height:44px!important;border-radius:14px!important;font-size:11px!important;background:#f6f9fc!important;border-color:var(--djs412-line)!important;color:#5d7186!important}
  html body #djs-portal .djs-wallet-exchange-directions button.active{background:var(--djs412-blue-soft)!important;border-color:#9fd3ef!important;color:var(--djs412-blue-dark)!important;box-shadow:none!important}
  html body #djs-portal .djs-wallet-exchange-directions button.active .ms{color:var(--djs412-blue-dark)!important}
  html body #djs-portal .djs-wallet-exchange-swap{width:38px!important;height:38px!important;border-radius:12px!important}
  html body #djs-portal .djs-wallet-exchange-rate{margin-top:16px!important;min-height:0!important;padding:12px 14px!important;border-radius:16px!important;border-color:#cce5f4!important;background:#f2faff!important}
  html body #djs-portal .djs-wallet-exchange-rate .ms{font-size:21px!important;color:var(--djs412-blue-dark)!important}
  html body #djs-portal .djs-wallet-exchange-rate b{font-size:12px!important;color:var(--djs412-navy)!important}
  html body #djs-portal .djs-wallet-exchange-label{margin:16px 0 8px!important;font-size:12px!important;color:var(--djs412-navy)!important}
  html body #djs-portal .djs-wallet-exchange-input-wrap{height:52px!important;border-radius:15px!important;border-color:var(--djs412-line)!important;padding:0 14px!important}
  html body #djs-portal .djs-wallet-exchange-input-wrap:focus-within{border-color:#73bee7!important;box-shadow:0 0 0 3px rgba(57,168,232,.1)!important}
  html body #djs-portal .djs-wallet-exchange-input-wrap .ms{color:var(--djs412-blue-dark)!important;font-size:21px!important}
  html body #djs-portal .djs-wallet-exchange-input-wrap input{font-size:17px!important;color:var(--djs412-navy)!important}
  html body #djs-portal .djs-wallet-exchange-preview{margin-top:12px!important;padding:14px!important;border:1px solid #cce5f4!important;border-radius:17px!important;background:#f7fcff!important;grid-template-columns:1fr 34px 1fr!important}
  html body #djs-portal .djs-wallet-exchange-preview small{font-size:9px!important}
  html body #djs-portal .djs-wallet-exchange-preview b{font-size:16px!important;color:var(--djs412-navy)!important}
  html body #djs-portal .djs-wallet-exchange-preview>.ms{font-size:22px!important;color:var(--djs412-blue-dark)!important}
  html body #djs-portal .djs-wallet-exchange-available{margin-top:12px!important;gap:10px!important;padding:0!important}
  html body #djs-portal .djs-wallet-exchange-available span{padding:9px!important;border-radius:12px!important;background:#f7f9fc!important;font-size:9px!important}
  html body #djs-portal .djs-wallet-exchange-available b{font-size:11px!important}
  html body #djs-portal .djs-wallet-exchange-actions{margin:16px -20px -20px!important;padding:14px 20px 16px!important;border-top:1px solid #edf1f5!important}
  html body #djs-portal .djs-wallet-exchange-submit{height:50px!important;border-radius:14px!important;font-size:13px!important}
  html body #djs-portal .djs-wallet-exchange-cancel{height:40px!important;margin-top:5px!important;font-size:11px!important;color:#617487!important}

  /* Wallet deposits: compact horizontal/sliding payment tabs. */
  html body #djs-portal #djs-screen-wallet-recharge .djs-wallet-deposit-v412{width:min(100%,720px)!important;margin:0 auto!important;padding:12px 14px max(36px,env(safe-area-inset-bottom,0px))!important}
  html body #djs-portal #djs-screen-wallet-recharge .djs-wallet-deposit-p3-head h2{font-size:20px!important;line-height:1.15!important}
  html body #djs-portal #djs-screen-wallet-recharge .djs-wallet-deposit-p3-head p{font-size:11px!important;line-height:1.45!important}
  html body #djs-portal #djs-screen-wallet-recharge .djs-wallet-company-methods--tabs{
    display:flex!important;flex-wrap:nowrap!important;gap:8px!important;width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;
    scroll-snap-type:x proximity!important;-webkit-overflow-scrolling:touch!important;padding:3px 1px 8px!important;scrollbar-width:none!important
  }
  html body #djs-portal #djs-screen-wallet-recharge .djs-wallet-company-methods--tabs::-webkit-scrollbar{display:none!important}
  html body #djs-portal #djs-screen-wallet-recharge .djs-wallet-company-tab{
    flex:0 0 auto!important;min-width:126px!important;max-width:162px!important;min-height:64px!important;padding:9px 11px!important;
    display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;
    scroll-snap-align:start!important;border:1px solid var(--djs412-line)!important;border-radius:16px!important;background:#fff!important;color:var(--djs412-navy)!important;text-align:left!important;box-shadow:none!important
  }
  html body #djs-portal #djs-screen-wallet-recharge .djs-wallet-company-tab>.ms{width:30px;height:30px;border-radius:10px;background:#f1f7fb;color:var(--djs412-blue-dark);font-size:18px}
  html body #djs-portal #djs-screen-wallet-recharge .djs-wallet-company-tab b{font-size:10px!important;line-height:1.15!important;color:var(--djs412-navy)!important}
  html body #djs-portal #djs-screen-wallet-recharge .djs-wallet-company-tab small{display:block;margin-top:3px;font-size:7.5px!important;line-height:1.25!important;color:#77899c!important;white-space:normal!important}
  html body #djs-portal #djs-screen-wallet-recharge .djs-wallet-company-tab.active{
    border-color:#83c9ed!important;background:var(--djs412-blue-soft)!important;box-shadow:0 5px 14px rgba(57,168,232,.08)!important
  }
  html body #djs-portal #djs-screen-wallet-recharge .djs-wallet-company-tab.active>.ms{background:#fff;color:var(--djs412-blue-dark)}

  /* Bottom safe-area safety for every customer list/detail page. */
  html body #djs-portal>.djs-screen>.djs-scroller{scroll-padding-bottom:max(42px,env(safe-area-inset-bottom,0px))!important;padding-bottom:max(42px,env(safe-area-inset-bottom,0px))!important}

  @media(max-width:390px){
    html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-v4071{grid-template-columns:64px minmax(0,1fr) 82px!important;gap:8px!important;padding:10px!important}
    html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-image-v4071{width:64px!important;height:64px!important}
    html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-copy-v4071>strong{font-size:12px!important}
    html body #djs-portal #djs-screen-game.djs-manual-direct-v24002 #djs-game-packs .djs-manual-card-side-v4071>b{font-size:11.5px!important}
    html body #djs-portal .djs-wallet-v412-main-grid{gap:8px}
    html body #djs-portal .djs-wallet-v412-main-card{min-height:100px;padding:11px}
    html body #djs-portal .djs-wallet-v412-main-card strong{font-size:12px}
    html body #djs-portal #djs-screen-wallet-recharge .djs-wallet-company-tab{min-width:116px!important}
  }
