
/* Side rail: keep the forced Shop icon but make it match the other rail buttons (neutral, same visual weight). */
html body [data-idlink-side-rail-shop-real-v644249]{
  color:rgba(255,255,255,.90)!important;
  background:rgba(255,255,255,.035)!important;
  border-color:rgba(255,255,255,.36)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 12px 30px rgba(0,0,0,.24)!important;
  transform:none!important;
  filter:none!important;
}
html body [data-idlink-side-rail-shop-real-v644249]::before{
  width:23px!important;
  height:23px!important;
  min-width:23px!important;
  min-height:23px!important;
  opacity:.96!important;
  filter:drop-shadow(0 2px 8px rgba(0,0,0,.32))!important;
  -webkit-mask-size:23px 23px!important;
  mask-size:23px 23px!important;
}
html body [data-idlink-side-rail-shop-real-v644249].active,
html body [data-idlink-side-rail-shop-real-v644249].is-active,
html body [data-idlink-side-rail-shop-real-v644249][aria-selected="true"],
html body [data-idlink-side-rail-shop-real-v644249][aria-current="true"]{
  color:rgba(255,255,255,.94)!important;
  background:rgba(255,255,255,.045)!important;
  border-color:rgba(255,255,255,.46)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 14px 34px rgba(0,0,0,.28)!important;
}
html body [data-idlink-side-rail-shop-real-v644249]:hover,
html body [data-idlink-side-rail-shop-real-v644249]:focus-visible{
  color:#fff!important;
  background:rgba(255,255,255,.07)!important;
  border-color:rgba(255,255,255,.58)!important;
  transform:none!important;
}

/* Mobile/tablet transition: never show legacy Shop render and stable render at the same time. */
@media(max-width:900px){
  html body #idlinkV22Wrap,
  html body #idlinkV23Wrap,
  html body #idlinkV24Wrap,
  html body #idlinkProfileShopDiscoverV6431260,
  html body #idlinkShopMobileProductsRestoreV644231,
  html body #idlinkShopMobileProductsRestoreV644232,
  html body .idlink-profile-shop-grid-v643124:not(#idlinkShopStableListV644233),
  html body .idlink-v22-list,
  html body .idlink-v22-rail,
  html body .idlink-v23-list,
  html body .idlink-v23-rail{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }
  html body #idlinkShopStableListV644233{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    width:calc(100% - 22px)!important;
    max-width:calc(100vw - 22px)!important;
    margin:12px auto calc(112px + env(safe-area-inset-bottom,0px))!important;
    padding:0!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  html body #idlinkShopStableListV644233 .idlink-stable-shop-card-v644233{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    grid-template-columns:82px minmax(0,1fr) 42px!important;
    gap:12px!important;
    align-items:center!important;
    text-align:left!important;
  }
  html body #idlinkShopStableListV644233 .idlink-stable-shop-copy-v644233{
    align-items:flex-start!important;
    text-align:left!important;
  }
  html body #idlinkShopStableListV644233 .idlink-stable-shop-title-v644233,
  html body #idlinkShopStableListV644233 .idlink-stable-shop-desc-v644233{
    text-align:left!important;
    align-self:stretch!important;
  }
  html body #idlinkShopStableListV644233 .idlink-stable-shop-price-v644233{
    font-size:15.5px!important;
    min-height:25px!important;
    padding:4px 9px!important;
    letter-spacing:-.035em!important;
    text-align:left!important;
    margin-top:1px!important;
  }
}
@media(max-width:390px){
  html body #idlinkShopStableListV644233{width:calc(100% - 16px)!important;max-width:calc(100vw - 16px)!important;}
  html body #idlinkShopStableListV644233 .idlink-stable-shop-card-v644233{grid-template-columns:74px minmax(0,1fr) 38px!important;gap:10px!important;padding:10px!important;}
  html body #idlinkShopStableListV644233 .idlink-stable-shop-img-v644233{width:74px!important;height:74px!important;}
  html body #idlinkShopStableListV644233 .idlink-stable-shop-price-v644233{font-size:14.5px!important;}
}

/* Modal image: do not leave a white/broken panel; recover image from the visible/stable card. */
html body #idlinkV22Modal .idlink-v22-modal-media img[src=""],
html body #idlinkV22Modal .idlink-v22-modal-media img:not([src]){opacity:0!important;}
html body #idlinkV22Modal .idlink-v22-modal-media{background:#fff!important;}
html body #idlinkV22Modal .idlink-v22-modal-media img{object-fit:contain!important;object-position:center!important;background:#fff!important;}
