/* Blessed Panel responsive UI v2: desktop rules remain unchanged. */
.bp-mobile-drawer-head,#bp-mobile-logout{display:none!important}
#bp-mobile-menu-backdrop[hidden]{display:none!important}
@media(max-width:820px){
  :root{--bp-mobile-header:112px}
  html,body{width:100%;min-width:0;overflow-x:clip}
  body.bp-drawer-open{overflow:hidden;touch-action:pan-y}
  #app.layout{padding-top:var(--bp-mobile-header)!important;min-width:0!important}
  #app .top{position:fixed!important;inset:0 0 auto 0!important;width:100%!important;min-width:0!important;height:var(--bp-mobile-header)!important;
    display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;grid-template-rows:44px 42px!important;align-content:center!important;
    column-gap:12px!important;row-gap:8px!important;padding:9px 15px 10px!important;z-index:80!important;box-sizing:border-box}
  #mobile-menu{display:grid!important;grid-column:1;grid-row:1;width:44px!important;height:44px!important;place-items:center!important;
    border-radius:14px!important;font-size:22px!important;min-width:0!important}
  .top .brand{grid-column:2;grid-row:1;min-width:0!important;max-width:100%;gap:10px!important;overflow:hidden}
  .top .brand .mark{height:39px!important;width:39px!important;flex:0 0 39px}
  .top .brand strong{font-size:17px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.15}
  .top .topright{grid-column:1/-1;grid-row:2;display:flex!important;width:100%;min-width:0;align-items:center!important;
    justify-content:space-between!important;gap:7px!important}
  .top .topright .live,.top #logout,.top .userbadge{display:none!important}
  .top .bp-theme-toggle{width:42px!important;height:42px!important;min-width:42px!important;flex:0 0 42px!important;
    display:grid!important;place-items:center!important;border-radius:13px!important;padding:0!important}
  .top .bp-lang{display:flex;align-items:stretch;justify-content:center;min-width:90px!important;max-width:110px!important;flex:0 1 104px!important;
    height:42px!important;padding:3px!important;border-radius:13px!important}
  .top .bp-lang .bp-lang-button{font-size:13px!important;font-weight:750!important;min-width:0!important;flex:1;padding:6px 5px!important;border-radius:9px!important}
  .top .topbalance{margin:0!important;height:42px!important;flex:1 1 88px!important;min-width:70px!important;max-width:170px!important;
    text-overflow:ellipsis;overflow:hidden;white-space:nowrap;display:flex;align-items:center;justify-content:center;
    border-radius:13px!important;padding:5px 8px!important;font-size:14px!important;letter-spacing:-.02em}
  .top .bp-notices{flex:0 0 42px!important;width:42px!important;height:42px!important;margin:0!important}
  .top .bp-notice-toggle{height:42px!important;width:42px!important;border-radius:13px!important}
  .top .bp-notice-menu{position:fixed!important;top:calc(var(--bp-mobile-header) - 2px)!important;
    right:12px!important;left:12px!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - var(--bp-mobile-header) - 12px);overflow:auto}
  #app .side{position:fixed!important;inset:0 auto 0 0!important;top:0!important;bottom:0!important;
    width:min(88vw,370px)!important;height:100dvh!important;z-index:151!important;
    background:#0f1520!important;padding:16px 15px max(22px,env(safe-area-inset-bottom))!important;
    border-right:1px solid #354051!important;box-shadow:15px 0 50px rgba(0,0,0,.45);
    overflow-y:auto!important;overscroll-behavior:contain;transform:translateX(-103%)!important;
    transition:transform .22s ease-out!important;visibility:hidden;pointer-events:none}
  #app .side.open{transform:translateX(0)!important;visibility:visible!important;pointer-events:auto!important}
  #bp-mobile-menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:rgba(3,8,16,.65);z-index:150;
    backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
  #app .bp-mobile-drawer-head{display:flex!important;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto;
    padding:2px 0 19px;margin-bottom:15px;border-bottom:1px solid rgba(170,187,213,.17)}
  #app .bp-drawer-brand{display:flex;align-items:center;gap:10px;min-width:0;font-weight:800;font-size:16px;color:var(--text)}
  #app .bp-drawer-brand img{width:39px;height:39px;object-fit:contain;border-radius:50%}
  #mobile-menu-close{width:44px!important;height:44px!important;font-size:26px!important;border-radius:13px!important;flex:0 0 44px}
  #app .side .section-label{font-size:11px!important;letter-spacing:.11em!important;padding:15px 10px 8px!important}
  #app .side .nav{min-height:53px!important;padding:12px 13px!important;gap:12px!important;font-size:14px!important;
    font-weight:700!important;border-radius:13px!important;margin:3px 0!important;line-height:1.35}
  #app .side .nav .bp-nav-symbol{width:24px!important;height:24px!important;flex:0 0 24px!important;font-size:21px!important}
  #app .side .nav .bp-nav-svg{height:23px!important;width:23px!important}
  #app .side .nav i{margin-left:auto!important;flex:0 0 12px!important;font-size:19px!important}
  #app .side .divider{margin:14px 4px 10px!important}
  #app .side #bp-mobile-logout{display:flex!important;margin-top:16px!important}
  #app .side .sidefooter{padding:18px 10px!important}
  #app #content.content{margin-left:0!important;max-width:none!important;width:100%!important;min-width:0!important;
    box-sizing:border-box!important;padding:17px 16px max(65px,env(safe-area-inset-bottom))!important;overflow-x:clip!important}
  #content #screen{min-width:0;max-width:100%;width:100%}
  #content .pagehero{padding:23px 20px!important;min-height:100px;margin-bottom:17px!important;border-radius:20px!important;
    flex-direction:column!important;align-items:stretch!important;justify-content:center!important;gap:12px!important}
  #content .pagehero h1{font-size:clamp(25px,6.5vw,34px)!important;line-height:1.2!important;letter-spacing:-.045em!important;overflow-wrap:anywhere}
  #content .pagehero p{font-size:14px!important;line-height:1.55!important;max-width:56ch}
  #content .pagehero .hero-actions{width:100%;flex:0 1 auto!important;display:flex;flex-wrap:wrap}
  #content .pagehero .hero-actions button{min-height:44px}
  #content .grid.cols2,#content .grid.cols3{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:15px!important}
  #content .card{min-width:0!important;padding:21px 19px!important;border-radius:19px!important;margin:0 0 15px}
  #content .card h3{font-size:19px!important;line-height:1.3!important;margin-bottom:5px!important}
  #content .mini-sub{font-size:13px!important;line-height:1.55!important;margin-bottom:14px!important}
  #content .subtitle{font-size:17px!important;line-height:1.35;margin-top:21px!important}
  #content .metricrow{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}
  #content .metricrow .metric{min-height:112px;padding:17px 14px!important}
  #content .metricrow .metric:last-child{grid-column:span 2}
  #content .metric .label{font-size:12px!important;line-height:1.35!important;overflow-wrap:anywhere}
  #content .metric .value{font-size:clamp(21px,6vw,28px)!important;line-height:1.2;overflow-wrap:anywhere}
  #content .metric .sub{font-size:12px!important}
  #content .row.space{gap:12px;flex-wrap:wrap}
  #content .grid .card,#content .ordergrid .orderbox{min-width:0}
  #content .ordergrid,#content .listing{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
  #content .orderbox{padding:16px!important;border-radius:16px!important}
  #content .orderbox .order-title{white-space:normal!important;line-height:1.45!important;overflow-wrap:anywhere}
  #content .orderbox .order-foot{gap:10px;flex-wrap:wrap}
  #content :is(.primary,.secondary,.action){min-height:46px}
  #content :is(input,select,textarea){font-size:16px!important;min-height:46px}
  #content .filters{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important;gap:11px!important}
  #content .filters :is(.input,select,button){width:100%!important;max-width:100%!important}
  #content .action{min-width:0;gap:13px;padding:16px!important;border-radius:14px!important}
  #content .action b{font-size:14px!important;line-height:1.45!important}
  #content .action small{font-size:12px!important;line-height:1.45!important}
  #content .pagination,#content .gbs-catalog-pager{gap:9px!important;flex-wrap:wrap!important}
  #content .pagination .secondary{flex:1 1 100px!important}
  #content .bp-balance-overview{padding:22px 19px!important;min-height:0!important}
  #content .bp-balance-heading{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:17px!important}
  #content .bp-balance-value{font-size:clamp(30px,9vw,42px)!important;line-height:1.14!important;overflow-wrap:anywhere}
  #content .bp-balance-open{width:100%!important;min-height:53px!important;font-size:15px!important;white-space:normal!important}
  #content .bp-balance-metrics{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;margin-top:19px!important}
  #content .bp-balance-metrics>div{padding:17px 19px!important;min-width:0!important;border-radius:15px!important}
  #content .bp-balance-metrics strong{font-size:clamp(21px,6.2vw,29px)!important;overflow-wrap:anywhere;line-height:1.2!important}
  #content .bp-balance-metrics small,#content .bp-balance-metrics span{font-size:13px!important}
  #content .bp-stats-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  #content .bp-stats-kpi{padding:16px 14px!important;min-width:0!important;min-height:110px!important;border-radius:15px!important}
  #content .bp-stats-kpi small{font-size:12px!important;line-height:1.4!important;display:block;overflow-wrap:anywhere}
  #content .bp-stats-kpi strong{font-size:clamp(19px,5.4vw,27px)!important;line-height:1.25!important;letter-spacing:-.03em;overflow-wrap:anywhere}
  #content .bp-stats-controls{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin-bottom:20px!important}
  #content .bp-stats-controls>button:not([data-stats-apply]):not([data-buyer-stats-apply]){flex:1 1 auto;min-height:44px!important;padding:10px!important;font-size:13px!important;white-space:nowrap}
  #content .bp-stats-controls>label{flex:1 1 calc(50% - 5px)!important;min-width:0!important;width:auto!important;margin-top:4px!important;font-size:12px!important}
  #content .bp-stats-controls input{width:100%!important;max-width:100%!important;min-width:0!important;font-size:14px!important}
  #content .bp-stats-controls>button:is([data-stats-apply],[data-buyer-stats-apply]){width:100%!important;min-height:44px}
  #content .bp-stats-chart{height:195px!important;min-width:0!important}
  #content .bp-stats-chart svg{min-width:0!important}
  #content .bp-stats-family{gap:10px!important;min-width:0;overflow-wrap:anywhere}
  #content .gbs-catalog-card{padding:17px 15px!important}
  #content .gbs-findbar{display:flex!important;flex-wrap:wrap!important;gap:9px!important}
  #content .gbs-findbar input{min-width:0!important;width:100%!important;max-width:100%!important;min-height:50px!important}
  #content .gbs-search-label{font-size:12px!important}
  #content .gbs-item-count{font-size:12px!important}
  #content .gbs-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  #content .gbs-gallery .gbs-product{border-radius:15px!important;overflow:hidden!important}
  #content .gbs-gallery .gbs-product>.gbs-art{min-height:0!important;aspect-ratio:1/1!important;height:auto!important;max-height:none!important}
  #content .gbs-gallery .gbs-product-details{padding:12px 11px 14px!important;min-height:65px;gap:5px}
  #content .gbs-gallery .gbs-product-details strong{font-size:13px!important;line-height:1.4!important}
  #content .gbs-gallery .gbs-product-details small{font-size:12px!important;line-height:1.35!important}
  #content .bp-featured-gifts{padding:17px 14px!important;border-radius:19px!important;margin-bottom:17px!important}
  #content .bp-featured-head{flex-wrap:wrap!important;gap:12px!important;align-items:flex-start!important;margin-bottom:15px!important}
  #content .bp-featured-head h2{font-size:18px!important;line-height:1.3!important;font-weight:800!important}
  #content .bp-featured-head p{font-size:13px!important;line-height:1.5!important}
  #content .bp-featured-reset{min-height:42px!important}
  #content .bp-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}
  #content .bp-featured-tile{border-radius:14px!important}
  #content .bp-featured-name{min-height:0!important;padding:11px 29px 12px 12px!important;font-size:13px!important}
  #content .bp-offer-panel{padding:16px!important;gap:13px!important}
  #content .bp-offer-top{flex-wrap:wrap!important}
  #content .bp-offer-row{min-height:70px!important;padding:13px 14px!important;border-radius:14px!important}
  #content .bp-offer-label{font-size:14px!important;line-height:1.4!important}
  #content .bp-offer-side strong{font-size:16px!important}
  #content .bp-offer-list{min-height:0!important;max-height:55dvh!important}
  #content .bp-product-layout{grid-template-columns:minmax(0,1fr)!important}
  #content .bp-summary{min-width:0!important}

  html{scroll-padding-top:calc(var(--bp-mobile-header) + 14px)!important}
  #content .gbs-catalog-card{scroll-margin-top:calc(var(--bp-mobile-header) + 14px)!important}
  #dialog .tablewrap{overflow:visible!important}
  #dialog .tablelist{display:block;width:100%}
  #dialog .tablelist thead{display:none}
  #dialog .tablelist tbody{display:grid;gap:10px}
  #dialog .tablelist tr{display:block;padding:13px;border:1px solid #364050;border-radius:13px;background:#19202b}
  #dialog .tablelist td{display:block;min-width:0;border:0;padding:5px 0 7px;overflow-wrap:anywhere;font-size:13px}
  #dialog .tablelist td::before{content:attr(data-label);display:block;margin-bottom:4px;color:#a1aec1;font-size:11px;font-weight:700}
  #dialog .tablelist td+td{border-top:1px solid rgba(171,186,206,.12);padding-top:10px}
  html[data-theme="light"] #dialog .tablelist tr{background:#f8fbff;border-color:#dce5ef}
  html[data-theme="light"] #dialog .tablelist td::before{color:#586a83}
  #dialog .modal{max-height:calc(100dvh - 24px)!important;min-width:0!important;width:calc(100vw - 24px)!important;
    border-radius:20px!important;padding:20px 17px!important}
  .bp-topup-panel{max-height:calc(100dvh - env(safe-area-inset-top) - 16px)!important}
  .bp-site-footer{padding-inline:8px!important}
}
@media(max-width:375px){
  #app .top{padding-inline:11px!important;column-gap:9px!important}
  .top .topright{gap:5px!important}
  .top .bp-theme-toggle{flex-basis:39px!important;width:39px!important;min-width:39px!important;height:40px!important}
  .top .bp-lang{flex-basis:91px!important;min-width:80px!important;height:40px!important}
  .top .topbalance{font-size:12px!important;min-width:62px!important;height:40px!important;padding-inline:5px!important}
  .top .bp-notices{width:40px!important;flex-basis:40px!important;height:40px!important}
  .top .bp-notice-toggle{width:40px!important;height:40px!important}
  #app #content.content{padding-inline:13px!important}
  #content .bp-stats-kpi{padding:14px 11px!important}
  #content .bp-stats-kpi strong{font-size:18px!important}
  #content .gbs-gallery{gap:9px!important}
  #content .gbs-gallery .gbs-product-details{padding:10px 9px 11px!important}
}
@media(prefers-reduced-motion:reduce){#app .side{transition:none!important}}
@media(max-width:820px){
html[data-theme="light"] #app .side{background:#fff!important;border-color:#e1e7f0!important}
html[data-theme="light"] #app .bp-drawer-brand{color:#101b2b!important}
html[data-theme="light"] #content .card{background:#fff!important;border-color:#dce4ef!important}
html[data-theme="light"] #content .bp-featured-gifts{background:#fff!important;border-color:#dce4ef!important}
html[data-theme="light"] #content .bp-featured-reset{background:#f2f5fa!important;color:#172337!important;border-color:#c3d0e0!important}
html[data-theme="light"] #content .gbs-findbar input{background:#fff!important;color:#142237!important;border-color:#c0d0e3!important}
html[data-theme="light"] #content .gbs-findbar input::placeholder{color:#536781!important}
html[data-theme="light"] .top .topbalance{background:#fff5db!important;color:#26201a!important;border-color:#dfc38b!important}
}

/* Blessed Panel mobile v3: stable date filters and safe transaction wrapping.
   Deliberately scoped: existing catalog, checkout, payment flows are untouched. */
#content .bp-stats-controls{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;
}
#content .bp-stats-presets{
  display:flex;align-items:stretch;flex-wrap:wrap;gap:9px;min-width:0;
  grid-column:1/-1;
}
#content .bp-stats-presets>button{min-height:44px;min-width:0;white-space:normal;flex:0 1 auto}
#content .bp-stats-date-range{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
  min-width:0;max-width:570px;
}
#content .bp-stat-date-field{display:flex;flex-direction:column;min-width:0;gap:7px;margin:0;width:auto}
#content .bp-stat-date-control{
  display:flex;position:relative;align-items:center;width:100%;min-width:0;min-height:48px;
  padding:10px 14px;border:1px solid #4a5566;border-radius:12px;background:#1d2530;
}
#content .bp-stat-date-control:focus-within{outline:2px solid #e2c282;outline-offset:2px}
#content .bp-stat-date-visible{
  display:block;width:100%;color:var(--text);text-align:left;font-size:15px;
  font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;
}
#content .bp-stat-date-control:after{content:'▦';display:block;margin-left:8px;font-size:17px;color:#cdb784;pointer-events:none}
#content .bp-stat-date-control .bp-stat-date-native{
  position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;min-width:0!important;margin:0!important;padding:0!important;
  opacity:0.003!important;z-index:1;cursor:pointer;border:none!important;
}
#content .bp-stats-apply{min-height:48px;align-self:end}
#content .bp-ledger-row{min-width:0;max-width:100%;cursor:default;gap:14px}
#content .bp-ledger-main{flex:1 1 auto;min-width:0;max-width:100%;overflow-wrap:anywhere}
#content .bp-ledger-main>strong{display:block;line-height:1.4;font-size:15px}
#content .bp-ledger-amount{flex:0 0 auto;font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#content .bp-tx-note{
  display:flex;align-items:flex-start;flex-direction:column;gap:6px;
  min-width:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;
  word-break:break-word;line-height:1.5;color:var(--muted);font-size:12px;
}
#content .bp-tx-note>span{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
#content .bp-tx-hash{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;letter-spacing:-.04em}
#content .bp-tx-copy{display:inline-flex;align-items:center;justify-content:center;min-height:36px;
  padding:7px 11px;border-radius:9px;font-size:12px;white-space:nowrap;max-width:100%}
html[data-theme="light"] #content .bp-stat-date-control{background:#fff;border-color:#b5c3d5}
html[data-theme="light"] #content .bp-stat-date-visible{color:#111b2b}
html[data-theme="light"] #content .bp-tx-note{color:#3c4c60}
@media(max-width:820px){
  #content .bp-stats-controls{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;
    align-items:stretch!important;justify-items:stretch!important;margin-bottom:18px!important;
  }
  #content .bp-stats-controls .bp-stats-presets{
    display:grid!important;grid-column:1!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;width:100%!important;
  }
  #content .bp-stats-presets>button{
    display:block!important;min-width:0!important;width:100%!important;min-height:48px!important;
    margin:0!important;padding:10px 7px!important;white-space:normal!important;
    line-height:1.3;font-size:14px!important;text-align:center;
  }
  #content .bp-stats-presets>[data-buyer-stats-days="0"]:last-child{grid-column:1/-1}
  #content .bp-stats-controls .bp-stats-date-range{
    display:grid!important;grid-column:1!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;width:100%!important;max-width:none!important;
  }
  #content .bp-stats-controls .bp-stat-date-field{
    min-width:0!important;width:auto!important;margin:0!important;flex:none!important;font-size:13px!important;
  }
  #content .bp-stats-controls .bp-stat-date-control{
    min-height:51px!important;padding:9px 8px!important;
  }
  #content .bp-stats-controls .bp-stat-date-visible{font-size:clamp(12px,3.55vw,15px)!important;letter-spacing:-.02em}
  #content .bp-stats-controls .bp-stats-apply{
    grid-column:1!important;min-width:0!important;width:100%!important;min-height:49px!important;
  }
  #content .bp-ledger-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    justify-items:start!important;align-items:start!important;gap:8px!important;padding:16px!important}
  #content .bp-ledger-amount{justify-self:start!important;font-size:15px!important}
  #content .bp-tx-note{width:100%;font-size:12px}
  #content .bp-stats-kpis{min-width:0}
  #content .bp-stats-kpi{min-height:112px!important}
  #content .bp-stats-kpi strong{word-break:normal;overflow-wrap:anywhere}
  #content .bp-balance-histories .card{min-width:0}
  #content .bp-balance-histories .card .action{max-width:100%}
}
@media(max-width:340px){
 #content .bp-stats-date-range{gap:7px!important}
 #content .bp-stat-date-control{padding-inline:6px!important}
 #content .bp-stat-date-control:after{font-size:13px;margin-left:3px}
}

/* Footer links: readable and touch-friendly on narrow screens. */
#content .bp-site-footer{
  display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;
  gap:15px 24px;min-width:0;padding:24px 0;margin-top:27px;
  border-top:1px solid rgba(144,165,192,.18);line-height:1.5;
}
#content .bp-site-footer-brand{display:flex;flex-direction:column;gap:4px;min-width:0}
#content .bp-site-footer-brand strong{font-size:14px}
#content .bp-site-footer-brand span,#content .bp-site-footer-copy{font-size:12px;color:var(--muted)}
#content .bp-site-footer-nav{display:flex;flex-wrap:wrap;gap:10px 18px;min-width:0}
#content .bp-site-footer-nav a{display:inline-flex;align-items:center;min-height:32px;font-size:13px;color:#dec28c;text-decoration:none}
#content .bp-site-footer-nav a:focus-visible,#content .bp-site-footer-nav a:hover{text-decoration:underline}
@media(max-width:820px){
  #content .bp-site-footer{display:flex!important;flex-direction:column!important;align-items:stretch!important;
    gap:12px!important;padding:24px 2px!important;margin-top:29px!important}
  #content .bp-site-footer-nav{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important}
  #content .bp-site-footer-nav a{min-height:38px;font-size:13px;overflow-wrap:anywhere}
}

/* Authenticator setup and recovery cards */
.bp-mfa-qr{display:block;width:200px;max-width:100%;height:auto;margin:4px auto 12px;border-radius:12px;background:#fff;padding:10px;}
.bp-mfa-key{display:block;max-width:100%;overflow-wrap:anywhere;user-select:all;padding:12px;border:1px solid var(--border,#394454);border-radius:10px;letter-spacing:.1em;}
.bp-mfa-backups{white-space:pre-wrap;overflow-wrap:anywhere;user-select:all;padding:14px;border-radius:12px;background:rgba(127,127,127,.1);line-height:1.9;}
#mfa-login-box[hidden]{display:none!important}

/* v4.3: a strict row-major catalog, identical card heights within each row.
   Earlier base CSS set align-self:start, producing a staggered/masonry look. */
#content .gbs-gallery{
  display:grid!important;grid-auto-flow:row!important;grid-auto-rows:1fr;
  align-items:stretch!important;align-content:start!important;gap:14px!important;
  min-width:0!important;width:100%!important;
}
#content .gbs-gallery>.gbs-product{
  align-self:stretch!important;justify-self:stretch!important;
  display:flex!important;flex-direction:column!important;
  height:100%!important;min-height:0!important;width:100%!important;
  min-width:0!important;max-width:100%!important;
}
#content .gbs-gallery .gbs-product>.gbs-art{
  flex:0 0 auto!important;min-height:0!important;
  width:100%!important;aspect-ratio:1/1!important;
}
#content .gbs-gallery .gbs-product-details{
  display:flex!important;flex-direction:column!important;gap:7px!important;
  flex:1 1 auto!important;min-height:95px!important;min-width:0!important;
  width:100%!important;box-sizing:border-box!important;
}
#content .gbs-gallery .gbs-product-details strong{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;line-clamp:2!important;
  overflow:hidden!important;overflow-wrap:anywhere!important;
  min-height:2.8em!important;line-height:1.4!important;
}
#content .gbs-gallery .gbs-product-details small{
  overflow:hidden!important;overflow-wrap:anywhere!important;line-height:1.4!important;
}
#content .gbs-gallery .gbs-product-details b{margin-top:auto!important}
#content .bp-offer-list{display:flex!important;flex-direction:column!important;gap:9px!important;min-width:0!important;align-items:stretch!important}
#content .bp-offer-row{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(94px,auto)!important;
  align-items:center!important;column-gap:14px!important;min-width:0!important;
  width:100%!important;height:auto!important;min-height:68px!important;
  box-sizing:border-box!important;text-align:left!important;
}
#content .bp-offer-label{min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.4!important}
#content .bp-offer-side{display:flex!important;flex-direction:column!important;align-items:flex-end!important;text-align:right!important;min-width:0!important;max-width:145px!important}
#content .bp-offer-side :is(strong,small){max-width:100%!important;overflow-wrap:anywhere!important}
@media(max-width:820px){
 #content .gbs-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 #content .gbs-gallery .gbs-product-details{min-height:92px!important;padding:12px 10px!important}
 #content .bp-offer-row{grid-template-columns:minmax(0,1fr) minmax(88px,auto)!important;column-gap:9px!important}
}
@media(max-width:340px){
 #content .gbs-gallery{grid-template-columns:minmax(0,1fr)!important}
 #content .gbs-gallery .gbs-product-details{min-height:76px!important}
}

/* v4.4: on-page readable registration requirements */
.authbox .bp-register-username-hint{display:block;margin-top:5px;font-size:12px;line-height:1.45;color:#94a3b8;overflow-wrap:anywhere}
html[data-theme="light"] .authbox .bp-register-username-hint{color:#4b5a72}

/* v4.5: order reference only appears for order-related support requests. */
#bp-ticket-order-label[hidden]{display:none!important}
