/* DjimlyStore Digital 4.2.62.0 — desktop-only responsive storefront.
   Desktop UI only. The 0-1023px storefront and checkout logic are unchanged.
   Deliberately loaded AFTER older UI styles, including v4.2.49.
*/
#djs-portal .djs62-desktop-nav,
#djs-portal .djs62-desktop-account-sidebar,
#djs-portal #djs-site-header .djs62-desktop-search,
#djs-portal #djs-site-header .djs62-account-popover {display:none!important}
#djs-portal #djs-screen-store .djs62-desktop-hero{display:none!important}
#djs-portal #djs-site-header .djs62-account-popover-wrap{display:contents}

@media(min-width:1024px){
  html,body.djs53-portal-page,body.djs53-portal-page #page{max-width:none!important;width:100%!important}
  html body.djs53-portal-page :is(.entry-content,.wp-block-post-content,.wp-site-blocks>main){max-width:none!important;width:100%!important}
  html body #djs-portal{width:100%!important;max-width:100%!important;min-width:0!important;background:#f3f6fc!important;overflow:hidden!important}
  html body #djs-portal>.djs-screen{width:100%!important;min-width:0!important;max-width:none!important;overflow:hidden!important}
  html body #djs-portal .djs-screen>.djs-scroller{width:100%!important;max-width:none!important;min-width:0!important;overflow-x:hidden!important}
  html body #djs-portal .djs-screen>.djs-bottom-nav,
  html body #djs-portal #djs-global-bottom-nav{display:none!important;visibility:hidden!important;pointer-events:none!important}

  /* Desktop header follows the Eneba-like horizontal structure but uses official DjimlyStore branding. */
  html body #djs-portal #djs-site-header{
    flex:0 0 76px!important;height:76px!important;min-height:76px!important;
    display:flex!important;align-items:center!important;gap:15px!important;
    padding:8px clamp(24px,3.25vw,68px)!important;
    background:linear-gradient(105deg,#061b63 0%,#0b47bd 58%,#143fbd 100%)!important;
    border:0!important;box-shadow:0 8px 22px #061b6322!important;color:#fff!important;z-index:50!important;
  }
  html body #djs-portal #djs-site-header .djs-header-menu-toggle{display:none!important}
  html body #djs-portal #djs-site-header .djs-logo{
    order:0!important;flex:0 0 205px!important;width:205px!important;max-width:205px!important;
    height:60px!important;justify-content:flex-start!important;
  }
  html body #djs-portal #djs-site-header .djs-brand-header-logo{
    width:204px!important;max-width:204px!important;height:58px!important;max-height:58px!important;object-fit:contain!important;
    filter:drop-shadow(0 1px 6px #06123855)!important;
  }
  html body #djs-portal #djs-site-header .djs62-desktop-search{
    order:1!important;display:flex!important;align-items:center!important;gap:11px!important;
    flex:1 1 auto!important;max-width:830px!important;min-width:120px!important;width:auto!important;
    height:48px!important;margin:0 auto!important;padding:0 15px!important;
    border:1px solid rgba(255,255,255,.5)!important;border-radius:9px!important;
    background:rgba(4,22,73,.38)!important;color:#ebf3ff!important;
    text-align:left!important;font-size:14px!important;font-weight:500!important;
    box-shadow:inset 0 0 0 1px #ffffff0c!important;
  }
  html body #djs-portal #djs-site-header .djs62-desktop-search>.ms{font-size:23px!important;color:#fff!important}
  html body #djs-portal #djs-site-header .djs62-desktop-search>span:nth-child(2){flex:1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html body #djs-portal #djs-site-header .djs62-desktop-search kbd{
    padding:4px 7px;color:#d9e7ff;border:1px solid #91ade074;border-radius:6px;font-size:10px;font-weight:600;background:#ffffff1a;
  }
  html body #djs-portal #djs-site-header .djs-b2b-header-search{display:none!important}
  html body #djs-portal #djs-site-header .djs-header-wallet{
    order:2!important;display:flex!important;align-items:center!important;gap:5px!important;
    min-height:42px!important;max-width:175px!important;background:#ffffff18!important;color:#fff!important;
    border:1px solid #ffffff42!important;border-radius:9px!important;padding:0 12px!important;margin:0!important;
  }
  html body #djs-portal #djs-site-header .djs-header-wallet .ms{color:#d6ecff!important}
  html body #djs-portal #djs-site-header .djs-header-wallet b{color:#fff!important;font-size:12px!important;white-space:nowrap!important}
  html body #djs-portal #djs-site-header .djs-topbar-cart{
    order:3!important;flex:0 0 46px!important;width:46px!important;max-width:46px!important;height:46px!important;
  }
  html body #djs-portal #djs-site-header .djs62-account-popover-wrap{order:4!important;display:flex!important;flex:0 0 48px!important;position:relative!important}
  html body #djs-portal #djs-site-header .djs-b2b-header-account{width:46px!important;min-width:46px!important;max-width:46px!important;flex:0 0 46px!important;height:46px!important}
  html body #djs-portal #djs-site-header .djs-topbar-cart,
  html body #djs-portal #djs-site-header .djs-b2b-header-account{
    background:#ffffff14!important;border:1px solid #ffffff42!important;border-radius:10px!important;color:#fff!important;
    display:grid!important;place-items:center!important;padding:8px!important;
  }
  html body #djs-portal #djs-site-header .djs-topbar-cart svg,
  html body #djs-portal #djs-site-header .djs-b2b-header-account svg{stroke:#fff!important;width:24px!important;height:24px!important}
  html body #djs-portal #djs-site-header .djs62-account-popover{
    position:absolute!important;top:calc(100% + 11px)!important;right:0!important;z-index:900!important;
    display:flex!important;flex-direction:column!important;gap:3px!important;width:275px!important;
    padding:13px!important;background:#fff!important;color:#1b2a48!important;border:1px solid #dce8f9!important;
    border-radius:15px!important;box-shadow:0 22px 65px #03163445!important;
    visibility:hidden!important;opacity:0!important;transform:translateY(-7px)!important;
    pointer-events:none!important;transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;
  }
  html body #djs-portal #djs-site-header .djs62-account-popover-wrap:hover .djs62-account-popover,
  html body #djs-portal #djs-site-header .djs62-account-popover-wrap:focus-within .djs62-account-popover{
    visibility:visible!important;opacity:1!important;transform:translateY(0)!important;pointer-events:auto!important;
  }
  html body #djs-portal #djs-site-header .djs62-account-popover>strong{font-size:14px;padding:8px 9px 11px;border-bottom:1px solid #e5ecf8;margin-bottom:4px}
  html body #djs-portal #djs-site-header .djs62-account-popover button{
    display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;
    text-align:left!important;background:transparent!important;color:#20355d!important;padding:12px 9px!important;
    border:0!important;border-radius:9px!important;font-size:13px!important;font-weight:670!important;
  }
  html body #djs-portal #djs-site-header .djs62-account-popover button:hover,
  html body #djs-portal #djs-site-header .djs62-account-popover button:focus-visible{background:#eaf2ff!important;color:#145fc4!important}
  html body #djs-portal #djs-site-header .djs62-account-popover button .ms{font-size:20px!important;color:#155dcb!important}

  /* Native desktop category bar. All controls reuse the existing product/navigation routes. */
  html body #djs-portal .djs62-desktop-nav{
    flex:0 0 49px!important;min-height:49px!important;height:49px!important;
    display:flex!important;align-items:stretch!important;justify-content:flex-start!important;gap:1px!important;
    padding:0 clamp(24px,3.25vw,68px)!important;
    background:#0b2d92!important;color:#eef4ff!important;border-bottom:1px solid #ffffff19!important;
    box-shadow:0 2px 9px #081b5425!important;z-index:39!important;
    overflow-x:auto!important;scrollbar-width:none!important;white-space:nowrap!important;
  }
  html body #djs-portal .djs62-desktop-nav::-webkit-scrollbar{display:none!important}
  html body #djs-portal .djs62-desktop-nav button{
    display:inline-flex!important;align-items:center!important;gap:7px!important;flex:0 0 auto!important;
    min-height:48px!important;margin:0!important;padding:0 clamp(9px,1.1vw,18px)!important;
    border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;
    background:none!important;color:#e6efff!important;font-size:13px!important;font-weight:690!important;
    box-shadow:none!important;cursor:pointer!important;
  }
  html body #djs-portal .djs62-desktop-nav button:hover,
  html body #djs-portal .djs62-desktop-nav button:focus-visible{background:#ffffff1c!important;color:#fff!important;border-bottom-color:#61b9ff!important}
  html body #djs-portal .djs62-desktop-nav button .ms{font-size:20px!important;color:#bde4ff!important}
  html body #djs-portal .djs62-desktop-nav .djs62-nav-menu{font-weight:850!important;border-right:1px solid #ffffff2a!important;margin-right:7px!important;padding-left:0!important}
  html body #djs-portal .djs62-desktop-nav .djs62-nav-support{margin-left:auto!important}

  /* Homepage: full-width blue marketplace instead of the phone-sized center column. */
  html body #djs-portal #djs-screen-store.djs-b2b-rebuilt,
  html body #djs-portal #djs-screen-store.djs-b2b-rebuilt>.djs-b2b-store-scroll,
  html body #djs-portal #djs-screen-store .djs98-home{
    background:linear-gradient(165deg,#092c99 0%,#0e51cb 31%,#0b3ba5 66%,#101e6b 100%)!important;
    color:#fff!important;
  }
  html body #djs-portal #djs-screen-store .djs98-inner{max-width:1560px!important;width:100%!important;padding:22px clamp(22px,3vw,46px) 80px!important;margin:0 auto!important}
  html body #djs-portal #djs-screen-store .djs99-hero{display:none!important}
  html body #djs-portal #djs-screen-store .djs62-desktop-hero{
    display:grid!important;grid-template-columns:minmax(0,2.95fr) minmax(270px,1fr)!important;align-items:stretch!important;
    gap:16px!important;margin:0 0 28px!important;padding:0!important;width:100%!important;max-width:none!important;
  }
  html body #djs-portal #djs-screen-store .djs62-desktop-hero-main{
    position:relative!important;display:block!important;width:100%!important;aspect-ratio:3/1!important;
    overflow:hidden!important;border:1px solid #ffffff52!important;border-radius:17px!important;
    background:#161f90!important;box-shadow:0 18px 40px #04164055!important;
  }
  html body #djs-portal #djs-screen-store .djs62-desktop-hero-main>img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;object-position:center!important;border-radius:0!important;margin:0!important}
  html body #djs-portal #djs-screen-store .djs62-hero-cta{
    position:absolute!important;top:59%!important;left:38%!important;width:28%!important;height:18%!important;
    display:block!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;
    cursor:pointer!important;box-shadow:none!important;border-radius:20px!important;
  }
  html body #djs-portal #djs-screen-store .djs62-hero-cta:focus-visible{outline:4px solid white!important;outline-offset:2px!important}
  html body #djs-portal #djs-screen-store .djs62-desktop-hero-aside{display:grid!important;grid-template-rows:minmax(0,1.8fr) minmax(0,1fr)!important;gap:12px!important;min-height:0!important}
  html body #djs-portal #djs-screen-store .djs62-desktop-hero-feature{display:block!important;position:relative!important;width:100%!important;max-width:none!important;min-height:0!important;height:100%!important;padding:0!important;border:1px solid #ffffff55!important;border-radius:15px!important;overflow:hidden!important;background:#132c83!important;cursor:pointer!important;box-shadow:0 9px 28px #05164340!important}
  html body #djs-portal #djs-screen-store .djs62-desktop-hero-feature img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important}
  html body #djs-portal #djs-screen-store .djs62-desktop-hero-picks{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;min-height:0!important}
  html body #djs-portal #djs-screen-store .djs62-desktop-hero-picks>button{
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;
    padding:7px!important;border:1px solid #ffffff65!important;border-radius:14px!important;box-shadow:0 8px 20px #071b4b35!important;
    background:linear-gradient(135deg,#2639a2,#8a27ca)!important;color:#fff!important;line-height:1.2!important;text-align:center!important;
  }
  html body #djs-portal #djs-screen-store .djs62-desktop-hero-picks>button+button{background:linear-gradient(135deg,#0d65bd,#0eb5ce)!important}
  html body #djs-portal #djs-screen-store .djs62-desktop-hero-picks .ms{font-size:27px!important;color:#fff!important}
  html body #djs-portal #djs-screen-store .djs62-desktop-hero-picks strong{font-size:13px!important;font-weight:850!important}
  html body #djs-portal #djs-screen-store .djs62-desktop-hero-picks small{font-size:10px!important;color:#e1ebff!important}
  html body #djs-portal #djs-screen-store .djs26-shortcuts{margin:0 0 25px!important;overflow:visible!important}
  html body #djs-portal #djs-screen-store .djs26-shortcuts .djs98-univers-rail{justify-content:space-between!important;gap:10px!important;overflow:visible!important;flex-wrap:nowrap!important;padding:8px 12px 13px!important;border:1px solid #ffffff25!important;border-radius:16px!important;background:#021b7255!important}
  html body #djs-portal #djs-screen-store .djs26-shortcuts .djs98-univers-item{color:#fff!important;flex-basis:104px!important;max-width:104px!important;min-width:75px!important}
  html body #djs-portal #djs-screen-store .djs26-shortcuts .djs26-shortcut-label{color:#f7fbff!important;font-size:12px!important;font-weight:730!important}
  html body #djs-portal #djs-screen-store .djs26-shortcuts .djs98-univers-icon{width:61px!important;height:61px!important;border-radius:16px!important;background:#fff!important}
  html body #djs-portal #djs-screen-store .djs98-section{
    width:100%!important;max-width:none!important;margin:0 0 24px!important;padding:22px!important;
    background:rgba(3,25,101,.39)!important;border:1px solid #ffffff25!important;border-radius:18px!important;
    box-shadow:0 12px 32px #09174b20!important;
  }
  html body #djs-portal #djs-screen-store .djs98-section-heading{margin:0 0 17px!important}
  html body #djs-portal #djs-screen-store .djs98-section-heading h2{color:#fff!important;font-size:24px!important;letter-spacing:-.5px!important}
  html body #djs-portal #djs-screen-store .djs98-see-all{font-size:13px!important;color:#d1e9ff!important}
  html body #djs-portal #djs-screen-store .djs98-see-all .ms{color:#d1e9ff!important}
  html body #djs-portal #djs-screen-store .djs98-scroll-rail{scrollbar-width:thin!important;scrollbar-color:#92b2e575 transparent!important}
  html body #djs-portal #djs-screen-store .djs98-gift-rail{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;overflow:visible!important}
  html body #djs-portal #djs-screen-store .djs98-gift-tile{max-width:none!important;min-width:0!important;width:100%!important;flex:none!important;height:auto!important;aspect-ratio:1.95/1!important;border-radius:14px!important;background:#fff!important}
  html body #djs-portal #djs-screen-store .djs98-product-rail{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:15px!important;overflow:visible!important;align-items:stretch!important}
  html body #djs-portal #djs-screen-store .djs98-product-rail>.djs-preview-product-card.djs-home-square-product-card{
    width:100%!important;max-width:none!important;min-width:0!important;flex:none!important;padding:10px!important;
    border-radius:15px!important;box-shadow:0 8px 25px #030d3730!important;
  }
  html body #djs-portal #djs-screen-store .djs98-product-rail>.djs-preview-product-card.djs-home-square-product-card .djs-home-square-media{aspect-ratio:1.18/1!important}
  html body #djs-portal #djs-screen-store .djs98-product-rail>.djs-preview-product-card.djs-home-square-product-card .djs-home-square-name{font-size:14px!important;line-height:1.36!important}
  html body #djs-portal #djs-screen-store .djs98-product-rail>.djs-preview-product-card.djs-home-square-product-card .djs98-card-price{font-size:16px!important}
  html body #djs-portal #djs-screen-store .djs27-promo{margin:22px 0 26px!important;padding:0!important}
  html body #djs-portal #djs-screen-store .djs27-promo-viewport{max-width:1160px!important;aspect-ratio:2.35/1!important;border-radius:18px!important;box-shadow:0 10px 35px #0412383a!important}
  html body #djs-portal #djs-screen-store .djs203-discovery{width:100%!important;max-width:none!important;border-radius:20px!important;margin:24px 0!important;padding:24px!important;background:rgba(255,255,255,.97)!important;color:#142442!important}
  html body #djs-portal #djs-screen-store .djs203-discovery :is(h2,h3,p){max-width:none}
  html body #djs-portal #djs-screen-store .djs203-game-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:16px!important}
  html body #djs-portal #djs-screen-store .djs203-gift-offers{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:16px!important}
  html body #djs-portal #djs-screen-store .djs203-catalog-panel:not([hidden]){max-width:none!important;background:white!important;color:#193456!important;border-radius:18px!important;padding:24px!important}
  html body #djs-portal #djs-screen-store #djs-product-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:15px!important}
  html body #djs-portal #djs-screen-store .djs202-game-genres .djs202-genres-scroll{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr))!important;overflow:visible!important;gap:12px!important}
  html body #djs-portal #djs-screen-store .djs202-genre-card{width:100%!important;min-width:0!important;flex:none!important}
  html body #djs-portal #djs-screen-store .djs202-payment-section{margin-top:30px!important}
  html body #djs-portal #djs-screen-store .djs202-payment-banner{border-radius:16px!important}
  html body #djs-portal #djs-screen-store .djs202-payment-section p,
  html body #djs-portal #djs-screen-store .djs98-last-row{color:#d7e8ff!important;font-size:12px!important}

  /* Category page: responsive desktop catalog with meaningful use of screen width. */
  html body #djs-portal #djs-screen-category-browser{background:#f4f7fc!important}
  html body #djs-portal #djs-screen-category-browser .djs-category-browser-shell.djs-b2b-category-page{width:calc(100% - 64px)!important;max-width:1510px!important;padding:22px 24px 80px!important;margin:0 auto!important}
  html body #djs-portal #djs-screen-category-browser .djs48-category-heading h1{font-size:40px!important}
  html body #djs-portal #djs-screen-category-browser .djs-b2b-category-page #djs-category-browser-grid.djs-b2b-category-list{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}
  html body #djs-portal #djs-screen-category-browser .djs-b2b-category-page #djs-category-browser-grid .djs-b2b-category-offer{grid-template-columns:86px minmax(0,1fr)!important;gap:12px!important;min-width:0!important;min-height:124px!important;border-radius:16px!important}
  html body #djs-portal #djs-screen-category-browser .djs-b2b-category-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:850px!important}

  /* Account area: dedicated Eneba-inspired left sidebar and wide white dashboard. */
  html body #djs-portal .djs62-desktop-account-sidebar{
    position:absolute!important;top:144px!important;bottom:20px!important;left:clamp(18px,2.2vw,42px)!important;
    z-index:21!important;width:250px!important;min-height:0!important;overflow-y:auto!important;
    display:none!important;flex-direction:column!important;gap:8px!important;
    padding:17px 12px!important;border:1px solid #d7e3fa!important;border-radius:16px!important;
    background:linear-gradient(180deg,#0e47b7,#08247e)!important;color:#fff!important;box-shadow:0 12px 38px #062b7633!important;
  }
  html body #djs-portal:has(#djs-screen-home.djs-screen--active,#djs-screen-orders.djs-screen--active,#djs-screen-order-detail.djs-screen--active,#djs-screen-wallet.djs-screen--active,#djs-screen-vouchers.djs-screen--active,#djs-screen-subscriptions.djs-screen--active,#djs-screen-coupons.djs-screen--active,#djs-screen-profile-edit.djs-screen--active,#djs-screen-account-settings.djs-screen--active,#djs-screen-account-settings-detail.djs-screen--active,#djs-screen-account-preferences.djs-screen--active) .djs62-desktop-account-sidebar{display:flex!important}
  html body #djs-portal .djs62-aside-head{display:flex;gap:10px;align-items:center;padding:11px 8px 18px;border-bottom:1px solid #ffffff3e;margin-bottom:5px}
  html body #djs-portal .djs62-aside-head>.ms{font-size:34px!important;color:#fff!important}
  html body #djs-portal .djs62-aside-head strong{display:block;font-size:16px;font-weight:900;color:#fff}
  html body #djs-portal .djs62-aside-head small{display:block;font-size:10px;color:#bbd7ff;line-height:1.4}
  html body #djs-portal .djs62-desktop-account-sidebar nav{display:flex;flex-direction:column;gap:3px}
  html body #djs-portal .djs62-desktop-account-sidebar nav button,
  html body #djs-portal .djs62-desktop-account-sidebar .djs62-aside-store{
    border:0!important;display:flex!important;align-items:center!important;gap:11px!important;
    width:100%!important;min-height:45px!important;padding:10px 12px!important;
    color:#e7f1ff!important;background:transparent!important;border-radius:10px!important;
    font-size:12.5px!important;font-weight:650!important;text-align:left!important;
  }
  html body #djs-portal .djs62-desktop-account-sidebar nav button .ms,
  html body #djs-portal .djs62-desktop-account-sidebar .djs62-aside-store .ms{font-size:20px!important;color:#c7e5ff!important}
  html body #djs-portal .djs62-desktop-account-sidebar nav button:hover,
  html body #djs-portal .djs62-desktop-account-sidebar nav button:focus-visible,
  html body #djs-portal .djs62-desktop-account-sidebar .djs62-aside-store:hover{background:#ffffff21!important;color:#fff!important}
  html body #djs-portal .djs62-aside-store{margin-top:auto!important;border-top:1px solid #ffffff30!important}
  html body #djs-portal:has(#djs-screen-home.djs-screen--active) .djs62-desktop-account-sidebar [data-nav="home"],
  html body #djs-portal:has(#djs-screen-orders.djs-screen--active,#djs-screen-order-detail.djs-screen--active) .djs62-desktop-account-sidebar [data-nav="orders"],
  html body #djs-portal:has(#djs-screen-wallet.djs-screen--active) .djs62-desktop-account-sidebar [data-nav="wallet"],
  html body #djs-portal:has(#djs-screen-vouchers.djs-screen--active) .djs62-desktop-account-sidebar [data-nav="vouchers"],
  html body #djs-portal:has(#djs-screen-account-settings.djs-screen--active,#djs-screen-account-settings-detail.djs-screen--active,#djs-screen-account-preferences.djs-screen--active) .djs62-desktop-account-sidebar [data-nav="account-settings"]{background:#ffffff26!important;color:#fff!important;font-weight:850!important}

  /* Keep the existing account data/IDs untouched; only arrange cards in a wide dashboard. */
  html body #djs-portal #djs-screen-home .djs-account-reference-topbar{display:none!important}
  html body #djs-portal #djs-screen-home{background:#f3f6fc!important}
  html body #djs-portal #djs-screen-home .djs-account-v2396,
  html body #djs-portal #djs-screen-home main.djs-account-v2396{
    display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;
    gap:18px!important;align-content:start!important;align-items:stretch!important;
    width:calc(100% - 345px)!important;max-width:1260px!important;
    margin:20px 24px 70px 310px!important;padding:0!important;background:transparent!important;
  }
  html body #djs-portal #djs-screen-home .djs-account-v2396>*{min-width:0!important}
  html body #djs-portal #djs-screen-home .djs-account-reference-profile{grid-column:1/-1!important;min-height:145px!important;padding:22px 27px!important;background:linear-gradient(110deg,#0b3da9,#1668d2)!important;border:0!important;color:#fff!important;border-radius:18px!important;box-shadow:0 10px 30px #07468c25!important}
  html body #djs-portal #djs-screen-home .djs-account-reference-profile-copy h1{color:#fff!important;font-size:29px!important;font-weight:880!important}
  html body #djs-portal #djs-screen-home .djs-account-reference-profile-copy p{color:#d5e8ff!important;font-size:13px!important}
  html body #djs-portal #djs-screen-home .djs-account-vip-check{color:#e2edff!important;font-size:13px!important}
  html body #djs-portal #djs-screen-home .djs-account-quick-session-v4235{grid-column:1/-1!important;display:flex!important;justify-content:space-between!important;gap:10px!important}
  html body #djs-portal #djs-screen-home .djs-account-reference-balances{grid-column:1/-1!important;padding:17px!important;min-height:118px!important;border:1px solid #dbe7f6!important;border-radius:18px!important;box-shadow:0 8px 23px #0b306c0c!important}
  html body #djs-portal #djs-screen-home .djs-account-reference-balances button{min-height:94px!important;gap:7px!important}
  html body #djs-portal #djs-screen-home .djs-account-reference-balances strong{font-size:20px!important}
  html body #djs-portal #djs-screen-home .djs-account-reference-balances button>span:last-child{font-size:13px!important}
  html body #djs-portal #djs-screen-home .djs-b2b-order-shortcuts{grid-column:1/-1!important}
  html body #djs-portal #djs-screen-home .djs-b2b-services{grid-column:1/-1!important}
  html body #djs-portal #djs-screen-home .djs-b2b-business-entry{grid-column:1/7!important;width:100%!important;align-self:stretch!important}
  html body #djs-portal #djs-screen-home .djs-b2b-account-settings{grid-column:7/-1!important}
  html body #djs-portal #djs-screen-home :is(.djs-b2b-order-shortcuts,.djs-b2b-services,.djs-b2b-account-settings){padding:21px!important;border-radius:18px!important;box-shadow:0 7px 22px #061d470a!important}
  html body #djs-portal #djs-screen-home .djs-b2b-section-head h2{font-size:19px!important}
  html body #djs-portal #djs-screen-home .djs-b2b-order-rail,
  html body #djs-portal #djs-screen-home .djs-b2b-services-rail{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:visible!important;gap:12px!important}
  html body #djs-portal #djs-screen-home .djs-b2b-order-rail>button,
  html body #djs-portal #djs-screen-home .djs-b2b-services-rail>button{width:100%!important;min-width:0!important;max-width:none!important;flex:none!important;padding:14px 8px!important;border:1px solid #e3edfb!important;border-radius:12px!important}
  html body #djs-portal #djs-screen-home .djs-b2b-services-rail{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  html body #djs-portal #djs-screen-home .djs-account-legacy-hooks{grid-column:1/-1!important;display:none!important}

  /* Other account surfaces share the same full-size canvas, preserving route handlers. */
  html body #djs-portal :is(#djs-screen-orders,#djs-screen-order-detail,#djs-screen-wallet,#djs-screen-vouchers,#djs-screen-subscriptions,#djs-screen-coupons,#djs-screen-profile-edit,#djs-screen-account-settings,#djs-screen-account-settings-detail,#djs-screen-account-preferences){background:#f3f6fc!important}
  html body #djs-portal :is(#djs-screen-orders,#djs-screen-order-detail,#djs-screen-wallet,#djs-screen-vouchers,#djs-screen-subscriptions,#djs-screen-coupons,#djs-screen-profile-edit,#djs-screen-account-settings,#djs-screen-account-settings-detail,#djs-screen-account-preferences)>.djs-scroller{padding-left:310px!important;padding-right:28px!important;padding-top:12px!important;box-sizing:border-box!important}
  html body #djs-portal :is(#djs-screen-orders,#djs-screen-order-detail,#djs-screen-wallet,#djs-screen-vouchers,#djs-screen-subscriptions,#djs-screen-coupons,#djs-screen-profile-edit,#djs-screen-account-settings,#djs-screen-account-settings-detail,#djs-screen-account-preferences) .djs-content-wrap{max-width:1220px!important;width:100%!important;padding:18px 0 52px!important;margin:0!important}
  html body #djs-portal :is(#djs-screen-orders,#djs-screen-order-detail,#djs-screen-wallet,#djs-screen-vouchers,#djs-screen-subscriptions,#djs-screen-coupons,#djs-screen-profile-edit,#djs-screen-account-settings,#djs-screen-account-settings-detail,#djs-screen-account-preferences) .djs-back-bar,
  html body #djs-portal :is(#djs-screen-orders,#djs-screen-order-detail,#djs-screen-wallet,#djs-screen-vouchers,#djs-screen-subscriptions,#djs-screen-coupons,#djs-screen-profile-edit,#djs-screen-account-settings,#djs-screen-account-settings-detail,#djs-screen-account-preferences) .djs-account-page-head{padding-left:310px!important;min-height:65px!important;box-sizing:border-box!important}
  html body #djs-portal #djs-screen-orders .djs-back-title{font-size:27px!important;max-width:none!important}
  html body #djs-portal #djs-screen-orders .djs-orders-filter-card{display:grid!important;grid-template-columns: minmax(220px,2fr) repeat(2,minmax(180px,1fr))!important;gap:14px!important;padding:18px!important;border-radius:16px!important}
  html body #djs-portal #djs-screen-orders .djs-orders-modern-list{width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px!important}
  html body #djs-portal #djs-screen-orders .djs-orders-modern-list>*{min-width:0!important;max-width:none!important}
  html body #djs-portal #djs-screen-vouchers #djs-vouchers-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}

  /* Product and purchase pages: wider panels without touching price/cart implementation. */
  html body #djs-portal :is(#djs-screen-product,#djs-screen-gift-product-detail,#djs-screen-game,#djs-screen-game-detail,#djs-screen-cart,#djs-screen-checkout,#djs-screen-thank-you)>.djs-scroller{background:#f3f6fc!important}
  html body #djs-portal :is(#djs-screen-product,#djs-screen-gift-product-detail,#djs-screen-game,#djs-screen-game-detail,#djs-screen-cart,#djs-screen-checkout,#djs-screen-thank-you) :is(.djs-content-wrap,.djs-product-hero,.djs-game-detail-wrap,.djs-gift-detail-screen-wrap,.djs-cart-content,.djs-cart-layout,.djs-checkout-wrap){max-width:1220px!important;width:calc(100% - 60px)!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important}
  html body #djs-portal #djs-screen-product #djs-plan-slider{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;overflow:visible!important}
  html body #djs-portal #djs-screen-product #djs-plan-slider>*{min-width:0!important;max-width:none!important;width:100%!important;flex:none!important}
  html body #djs-portal #djs-screen-game #djs-game-packs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:17px!important;max-width:1180px!important;margin:0 auto!important}
  html body #djs-portal #djs-screen-cart .djs-cart-layout,
  html body #djs-portal #djs-screen-checkout .djs-checkout-layout{grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr)!important;gap:24px!important}

  /* Full desktop search results, not an enlarged phone sheet. */
  html body .djs-smart-search-v4225{background:rgba(4,13,42,.63)!important;padding:102px 24px 30px!important;align-items:center!important;justify-content:flex-start!important}
  html body .djs-smart-search-v4225 .dss-panel{width:min(1020px,calc(100vw - 90px))!important;max-width:1020px!important;height:min(760px,calc(100vh - 145px))!important;border-radius:18px!important;box-shadow:0 28px 90px #010d31aa!important}
  html body .djs-smart-search-v4225 .dss-header{padding:19px 26px!important}
  html body .djs-smart-search-v4225 .dss-results{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 24px!important}
  html body .djs-smart-search-v4225 .dss-content{max-width:none!important}

  /* Desktop login: image treatment on the left, the existing secure login on right. */
  html body #djs-portal:has(#djs-screen-auth.djs-screen--active) #djs-site-header,
  html body #djs-portal:has(#djs-screen-auth.djs-screen--active) .djs62-desktop-nav{display:none!important}
  html body #djs-portal.djs-portal #djs-screen-auth,
  html body #djs-portal.djs-portal #djs-screen-auth .djs-signin-page-v4239{background:#f7f9ff!important;min-height:100%!important;height:100%!important}
  html body #djs-portal.djs-portal #djs-screen-auth .djs-signin-page-v4239{
    background-image:linear-gradient(90deg,#04154433 0%,#092c5b55 57%,#f7f9ff 57%)!important,
      url('../banners/djs62-desktop-besoins-digitaux.jpg')!important;
    background-repeat:no-repeat!important;background-size:100% 100%,58% auto!important;background-position:center,left center!important;
    display:flex!important;align-items:center!important;justify-content:flex-end!important;overflow-y:auto!important;
  }
  html body #djs-portal.djs-portal #djs-screen-auth .djs-signin-container-v4239{
    width:42%!important;max-width:600px!important;min-width:430px!important;
    margin:20px clamp(26px,5vw,88px) 20px auto!important;min-height:0!important;height:auto!important;
    padding:36px clamp(24px,3vw,48px) 45px!important;
    border:1px solid #dde8f7!important;border-radius:22px!important;
    box-shadow:0 25px 70px #061b4421!important;background:#fff!important;
  }
  html body #djs-portal.djs-portal #djs-screen-auth .djs-signin-brand-v4239{margin-bottom:25px!important}
  html body #djs-portal.djs-portal #djs-screen-auth .djs-signin-brand-v4239 img{width:185px!important}
}

@media(min-width:1024px) and (max-width:1299px){
  html body #djs-portal #djs-site-header{gap:11px!important;padding-inline:24px!important}
  html body #djs-portal #djs-site-header .djs-logo{flex-basis:168px!important;width:168px!important}
  html body #djs-portal #djs-site-header .djs-brand-header-logo{width:165px!important}
  html body #djs-portal .djs62-desktop-nav{padding-inline:18px!important}
  html body #djs-portal .djs62-desktop-nav button{padding-inline:10px!important;font-size:12px!important}
  html body #djs-portal #djs-screen-store .djs62-desktop-hero{grid-template-columns:minmax(0,2.65fr) minmax(240px,1fr)!important;gap:12px!important}
  html body #djs-portal #djs-screen-store .djs98-product-rail{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  html body #djs-portal #djs-screen-category-browser .djs-b2b-category-page #djs-category-browser-grid.djs-b2b-category-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html body #djs-portal #djs-screen-store .djs203-game-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  html body #djs-portal #djs-screen-home .djs-b2b-order-rail,
  html body #djs-portal #djs-screen-home .djs-b2b-services-rail{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  html body #djs-portal #djs-screen-home .djs-account-v2396,
  html body #djs-portal #djs-screen-home main.djs-account-v2396{grid-template-columns:repeat(12,minmax(0,1fr))!important}
}

@media(min-width:1024px) and (max-width:1130px){
  html body #djs-portal #djs-site-header .djs-header-wallet{display:none!important}
  html body #djs-portal #djs-screen-store .djs62-desktop-hero{grid-template-columns:1fr!important}
  html body #djs-portal #djs-screen-store .djs62-desktop-hero-aside{display:none!important}
  html body #djs-portal #djs-screen-home .djs-account-v2396{width:calc(100% - 326px)!important;margin-left:300px!important}
}

@media(prefers-reduced-motion:reduce){
  #djs-portal #djs-site-header .djs62-account-popover{transition:none!important}
}

/* Some legacy customer styles force black WebKit text fill even inside dark
   blue storefront panels. Match glyph fill to the resolved text color on PC. */
@media (min-width:1024px) {
  html body #djs-portal #djs-site-header *,
  html body #djs-portal .djs62-desktop-nav *,
  html body #djs-portal .djs62-desktop-account-sidebar *,
  html body #djs-portal #djs-screen-store .djs98-home *,
  html body #djs-portal #djs-screen-home .djs-account-reference-profile * {
    -webkit-text-fill-color: currentColor !important;
  }
  html body #djs-portal .djs62-desktop-nav .djs62-nav-menu {
    min-width:151px!important;justify-content:center!important;
    padding-right:15px!important;margin-right:12px!important;
  }
}
@media (min-width:1024px) {
  html body #djs-portal #djs-site-header .djs62-desktop-search>span:nth-child(2) {
    color:#e8f2ff!important;-webkit-text-fill-color:#e8f2ff!important;
  }
  html body #djs-portal #djs-screen-store .djs62-desktop-hero-picks strong {
    color:#fff!important;-webkit-text-fill-color:#fff!important;
  }
  html body #djs-portal #djs-screen-home .djs-account-reference-profile :is(.ms,svg) {
    color:#fff!important;-webkit-text-fill-color:#fff!important;stroke:#fff!important;
  }
  html body #djs-portal #djs-screen-store .djs98-univers-item .djs98-univers-icon .ms {
    color:#0d57c2!important;-webkit-text-fill-color:#0d57c2!important;
  }
}
