.bb-promo-rail{--promo-border:#d6e2f5;--promo-paper:#fff;--promo-ink:#142b4b;color:var(--promo-ink);background:transparent;border:0;border-radius:0;box-shadow:none;overflow:hidden;box-sizing:border-box}
html[data-theme=dark] .bb-promo-rail{--promo-border:#33465d;--promo-paper:#152438;--promo-ink:#e8f1ff}
.bb-promo-rail a:focus-visible{outline:3px solid #0874ff;outline-offset:-3px}
.bb-promo-viewport{overflow:auto;scrollbar-width:thin;overscroll-behavior:contain;max-height:var(--promo-size,360px)}
.bb-promo-track{will-change:transform}
.bb-promo-rail .bbpub-tile{margin:0;border:0;border-radius:0;box-shadow:none;animation:none!important;min-width:0}
.bb-promo-artwork{display:block;color:inherit;text-decoration:none}
.bb-promo-rail .bbpub-tile+.bbpub-tile{border-top:0}
.bb-promo-rail .bbpub-picture{display:block!important;min-width:0}
.bb-promo-rail .bbpub-picture img{display:block;width:100%;height:auto;object-fit:contain}
.bb-promo-rail .bbpub-tile-copy{display:block;padding:16px}
.bb-promo-title{display:block;font-size:15px;line-height:1.55;margin:7px 0 10px}
.bb-promo-summary{display:block;font-size:12px;line-height:1.7;margin:0 0 12px}
.bb-promo-rail .bbpub-label{font-size:10px}
.bb-promo-rail .bbpub-cta{display:flex;justify-content:space-between;gap:8px;padding:11px 12px;font-size:12px}
.bb-promo-rail .bbpub-motion-float,.bb-promo-rail .bbpub-motion-glow{animation:none!important}
.bb-promo-social-slot:empty{display:none}
body.bb-promo-desktop .bb-promo-rail{position:fixed;width:196px;left:12px;top:104px;z-index:24;max-height:calc(100dvh - 330px);display:flex;flex-direction:column}
body.bb-promo-desktop .bb-promo-viewport{min-height:0;flex:1 1 auto;height:min(var(--promo-size,360px),calc(100dvh - 410px));max-height:min(var(--promo-size,360px),calc(100dvh - 410px))}
body.bb-promo-desktop .bb-promo-has-image .bbpub-tile-copy{display:none}
body.bb-promo-desktop .bb-promo-artwork{padding:0}
body.bb-promo-desktop.bb-promo-visible main#main{width:calc(100% - 254px);max-width:1180px;margin-left:max(226px,calc((100% - 1180px)/2));margin-right:24px}
body.bb-promo-desktop #line-social-dock.luxury-social{position:fixed;top:auto;right:auto;left:12px;bottom:24px;display:grid;gap:14px}
body.bb-promo-desktop .bb-promo-rail[data-running=true] .bb-promo-viewport{overflow:hidden}
body.bb-promo-compact .bb-promo-rail{position:relative;width:100%;margin:0 0 15px;box-shadow:none;border-radius:16px}
body.bb-promo-compact .bb-promo-viewport{height:auto;max-height:none;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:0 12px 12px}
body.bb-promo-compact .bb-promo-track{will-change:auto}
body.bb-promo-compact .bb-promo-group{display:flex;gap:10px}
body.bb-promo-compact .bb-promo-group[data-clone]{display:none!important}
body.bb-promo-compact .bb-promo-rail .bbpub-tile{display:flex!important;align-items:stretch;flex:0 0 min(350px,94%);border-radius:12px;border:1px solid var(--promo-border)!important;scroll-snap-align:start;min-height:132px}
body.bb-promo-compact .bb-promo-rail .bbpub-picture{width:92px;flex:0 0 92px;align-self:center;margin:8px}
body.bb-promo-compact .bb-promo-rail .bbpub-picture img{border-radius:8px}
body.bb-promo-compact .bb-promo-rail .bbpub-tile-copy{flex:1;min-width:0;padding:12px 10px 12px 4px}
body.bb-promo-compact .bb-promo-rail .bbpub-tile:not(:has(.bbpub-picture)) .bbpub-tile-copy{padding:12px 16px}
body.bb-promo-compact .bb-promo-rail .bbpub-tile h2{font-size:13px;line-height:1.5;margin:3px 0 6px}
body.bb-promo-compact .bb-promo-rail .bbpub-tile p{display:none}
body.bb-promo-compact .bb-promo-rail .bbpub-cta{font-size:11px;padding:6px 8px;line-height:1.5;margin-top:5px;min-height:30px}
body.bb-promo-compact .bb-promo-social-slot{margin:0 0 18px;padding:0 2px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.bb-promo-social-caption{font-size:12px;color:var(--muted,#64748b)}
body.bb-promo-compact #line-social-dock.luxury-social{position:static!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;display:flex!important;gap:10px;align-items:center;width:auto;transform:none!important;z-index:auto}
body.bb-promo-compact #line-social-dock.luxury-social>a{width:36px;height:36px;box-shadow:0 3px 7px #15365b18;flex:none}
body.bb-promo-compact #line-social-dock.luxury-social>a img{max-width:100%;height:auto}
body.bb-promo-compact #line-social-dock .dock-free,body.bb-promo-compact #line-social-dock .dock-tip{display:none}
@media(max-height:650px) and (min-width:1200px){body.bb-promo-desktop .bb-promo-rail{max-height:calc(100dvh - 205px)}body.bb-promo-desktop .bb-promo-viewport{max-height:calc(100dvh - 280px)}body.bb-promo-desktop #line-social-dock.luxury-social{display:flex;gap:10px}body.bb-promo-desktop #line-social-dock .dock-free{display:none}}
@media(prefers-reduced-motion:reduce){.bb-promo-track{will-change:auto}.bb-promo-rail *{animation:none!important;transition:none!important}}

/* Tablet retains the shared vertical belt, in a reserved in-flow panel. */
body.bb-promo-tablet .bb-promo-rail{position:relative;margin:0 0 14px;width:100%;border:0;border-radius:0;box-shadow:none;background:transparent}
body.bb-promo-tablet .bb-promo-viewport{height:160px;max-height:160px;overflow:auto}
body.bb-promo-tablet .bb-promo-rail[data-running=true] .bb-promo-viewport{overflow:hidden}
body.bb-promo-tablet .bb-promo-rail .bbpub-tile{display:flex;min-height:160px;align-items:center;padding:10px 18px;gap:20px}
body.bb-promo-tablet .bb-promo-rail .bbpub-picture{flex:0 0 168px;width:168px;max-height:138px;overflow:hidden;border-radius:12px}
body.bb-promo-tablet .bb-promo-rail .bbpub-picture img{width:100%;height:132px;object-fit:contain}
body.bb-promo-tablet .bb-promo-rail .bbpub-tile-copy{flex:1;padding:4px 0;min-width:0}
body.bb-promo-tablet .bb-promo-title{font-size:17px;line-height:1.5;margin:5px 0 8px}
body.bb-promo-tablet .bb-promo-summary{font-size:12px;line-height:1.5;margin:0 0 7px}
body.bb-promo-tablet .bb-promo-rail .bbpub-cta{display:inline-flex;min-width:145px;min-height:34px;padding:7px 12px}
body.bb-promo-tablet .bb-promo-social-slot{display:flex;align-items:center;gap:12px;margin:0 0 18px}
body.bb-promo-tablet #line-social-dock.luxury-social{position:static!important;display:flex!important;gap:10px;transform:none!important;width:auto}
body.bb-promo-tablet #line-social-dock.luxury-social>a{width:34px;height:34px;flex:none}
body.bb-promo-tablet #line-social-dock .dock-free,body.bb-promo-tablet #line-social-dock .dock-tip{display:none}
body.bb-promo-tablet .catalog-head{margin-bottom:20px}


.bb-mobile-switch{display:none}
.bb-promo-rail[hidden]{display:none!important}
.bb-promo-rail .bbpub-picture img{max-width:100%}
.bb-promo-rail[data-running=true] .bb-promo-viewport{overflow:hidden}
body.bb-promo-compact .bb-promo-rail{margin:0 0 16px;border-radius:14px}
body.bb-promo-compact .bb-promo-viewport{height:78px;max-height:78px;padding:0;overflow:auto;scroll-snap-type:y mandatory}
body.bb-promo-compact .bb-promo-track{transform:unset;will-change:transform}
body.bb-promo-compact .bb-promo-group{display:block}
body.bb-promo-compact .bb-promo-group[data-clone]{display:block!important}
body.bb-promo-compact .bb-promo-rail .bbpub-tile{height:78px;min-height:78px;max-height:78px;box-sizing:border-box;width:100%;display:flex!important;align-items:center;border:0!important;border-radius:0;padding:8px 10px;gap:8px;scroll-snap-align:start}
body.bb-promo-compact .bb-promo-rail .bbpub-picture{flex:0 0 64px;width:64px;margin:0;height:60px}
body.bb-promo-compact .bb-promo-rail .bbpub-picture img{width:64px;height:60px;object-fit:contain}
body.bb-promo-compact .bb-promo-rail .bbpub-tile-copy{padding:0;flex:1;min-width:0}
body.bb-promo-compact .bb-promo-title{font-size:11px;line-height:1.5;margin:3px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.bb-promo-compact .bb-promo-summary,body.bb-promo-compact .bb-promo-rail .bbpub-cta{display:none}
body.bb-promo-compact .bb-promo-rail .bbpub-label{font-size:9px}
body.bb-promo-compact .bb-promo-social-slot{margin:0 0 14px;gap:10px}
body.bb-promo-compact .bb-promo-social-caption{display:none}
body.bb-promo-compact #line-social-dock.luxury-social>a{width:28px;height:28px}
@media(max-width:649px){
 body[data-route=catalog] #main,body[data-route=bundles] #main{width:100%;padding:12px 14px 90px;margin:0;max-width:none}
 body[data-route=catalog] .page-head,body[data-route=bundles] .page-head{margin:8px 0 18px;align-items:center}
 body[data-route=catalog] .page-head h1,body[data-route=bundles] .page-head h1{font-size:24px}
 body[data-route=catalog] .page-head p,body[data-route=bundles] .page-head p{font-size:12px;margin-top:5px}
 body[data-route=catalog] .head-mascot,body[data-route=bundles] .page-head>.btn{display:none}
 body[data-route=catalog] .guest-shop-nav,body[data-route=bundles] .guest-shop-nav,body[data-route=catalog] .ref-invite-compact,body[data-route=bundles] .ref-invite-compact,body[data-route=catalog] .news-rail{display:none}
 .bb-mobile-switch{display:grid;grid-template-columns:1fr 1fr;padding:4px;gap:4px;background:var(--surface,#fff);border:1px solid var(--line,#d9e5f7);border-radius:14px;margin:0 0 12px}
 .bb-mobile-switch a{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 8px;border-radius:10px;text-decoration:none;color:var(--muted,#637894);font-size:13px}
 .bb-mobile-switch svg{width:16px;height:16px}.bb-mobile-switch [aria-current=page]{background:#0865f9;color:white;box-shadow:0 3px 0 #0052d525}
 body[data-route=catalog] .catalog-platforms,body[data-route=bundles] .catalog-platforms{padding:10px;margin:0 0 16px;border-radius:16px}
 body[data-route=catalog] .platforms,body[data-route=bundles] .platforms{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important}
 body[data-route=catalog] .platform,body[data-route=bundles] .platform{display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;width:100%;min-height:65px;padding:7px 2px;border-radius:10px}
 body[data-route=catalog] .platform .brand,body[data-route=bundles] .platform .brand{width:28px;height:28px;border-radius:9px}
 body[data-route=catalog] .platform .brand svg,body[data-route=bundles] .platform .brand svg{width:20px;height:20px}
 body[data-route=catalog] .platform>span:last-of-type,body[data-route=bundles] .platform>span:last-of-type{font-size:9px;line-height:1.25;text-align:center;white-space:normal;overflow-wrap:anywhere}
 body[data-route=catalog] .platform small,body[data-route=bundles] .platform small{display:none}
 .catalog-tools{padding:0!important;margin:0 0 16px!important}.category-tabs{gap:6px;margin-bottom:10px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.category-tabs button{font-size:12px;padding:8px 10px;white-space:nowrap}.category-tabs [data-id=__packages]{display:none}
 .filter-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.filter-row .search-field{grid-column:1/-1}.filter-row label{font-size:10px}.filter-row select,.filter-row input{min-height:40px!important;font-size:12px!important}.filter-bottom{font-size:10px;gap:10px;flex-wrap:wrap}.filter-bottom .btn{font-size:10px}
 .results-heading{margin:10px 0;scroll-margin-top:90px}.results-heading h2{font-size:17px}.results-heading small{font-size:11px}
 .bb-mobile-list{display:grid;gap:10px}.bb-mobile-service{padding:14px;background:var(--surface,#fff);border:1px solid var(--line,#d9e5f7);border-radius:16px;box-shadow:0 4px 12px #173b6805;min-width:0}.bb-mobile-service-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.bb-mobile-tier{font-size:10px;background:var(--soft,#edf4ff);padding:2px 7px;border-radius:6px}.bb-mobile-service-top .small{font-size:9px}.bb-mobile-service h3{font-size:14px;line-height:1.5;margin:8px 0 5px;overflow-wrap:anywhere}.bb-mobile-facts{font-size:10px;color:var(--muted,#637894)}.bb-mobile-service-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px}.bb-mobile-service-bottom>div:last-child{display:flex;gap:4px}.bb-mobile-service-bottom .btn{padding:7px 10px;min-height:36px;font-size:11px}.bb-mobile-price strong{font-size:20px;line-height:1.2}.bb-mobile-price small{display:block;font-size:9px;color:var(--muted,#637894);margin-top:3px}.bb-mobile-compare{display:flex;align-items:center;gap:4px;font-size:9px;color:var(--muted,#637894);margin-top:8px}.bb-mobile-compare input{width:12px;height:12px}
 .bb-mobile-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 0}.bb-mobile-pages button{border:1px solid var(--line,#d9e5f7);background:var(--surface,#fff);color:inherit;border-radius:10px;padding:10px;font:inherit;font-size:11px}.bb-mobile-pages button:disabled{opacity:.4}.bb-mobile-pages span{text-align:center;font-size:12px}.bb-mobile-pages small{display:block;color:var(--muted,#637894);font-size:9px}
 .bb-mobile-bundles{display:grid;gap:12px}.bb-mobile-bundles .bb-ticket{min-width:0;max-width:100%}
 .dialog-backdrop{align-items:end;padding:0!important}.dialog{width:100%!important;max-height:94dvh!important;border-radius:22px 22px 0 0!important;margin:0!important}.dialog-body{padding-bottom:max(20px,env(safe-area-inset-bottom))}
 #line-social-dock:not(.bb-promo-social-slot #line-social-dock){display:none!important}
 html[data-theme=dark] .bb-mobile-service,html[data-theme=dark] .bb-mobile-switch,html[data-theme=dark] .bb-mobile-pages button{background:#152438;border-color:#30455e;color:#e8f1ff}html[data-theme=dark] .bb-mobile-tier{background:#203b5e}
}
@media(max-width:649px){
 body[data-route=catalog] .ref-mobile-entry,body[data-route=bundles] .ref-mobile-entry{display:none!important}
}

/* Promotion height is independent of the uploaded artwork's aspect ratio. */
body.bb-promo-desktop .bb-promo-rail{height:min(var(--promo-size,480px),calc(100dvh - 330px));max-height:calc(100dvh - 330px)}
body.bb-promo-desktop .bb-promo-viewport{flex:none;height:100%;max-height:none;width:100%}
body.bb-promo-desktop .bb-promo-rail .bbpub-picture img{height:auto!important;max-height:none!important;object-fit:contain}
body.bb-promo-tablet .bb-promo-rail .bb-promo-has-image{display:block;padding:0;min-height:0}
body.bb-promo-tablet .bb-promo-has-image .bbpub-tile-copy{display:none}
body.bb-promo-tablet .bb-promo-rail .bb-promo-has-image .bbpub-picture{display:block;flex:none;width:100%;max-height:none;border-radius:0}
body.bb-promo-tablet .bb-promo-rail .bb-promo-has-image .bbpub-picture img{width:100%;height:auto!important;max-height:none!important;object-fit:contain}
@media(max-height:650px) and (min-width:1200px){body.bb-promo-desktop .bb-promo-rail{height:min(var(--promo-size,480px),calc(100dvh - 205px));max-height:calc(100dvh - 205px)}}

/* Retire the legacy 4:1 crop window for the shared media renderer. */
.news-rail:has(.bbpub){background:var(--surface,#edf5ff);border-radius:22px}
.news-rail:has(.bbpub) .news-window{height:340px!important;aspect-ratio:auto;min-height:0}
.news-rail:has(.bbpub) .news-track{height:100%;align-items:stretch}
.news-rail .news-slide.bbpub{height:100%!important;min-height:0!important;background:linear-gradient(120deg,var(--pub-bg),var(--pub-end));color:var(--pub-ink);align-items:center}
.news-rail .news-slide.bbpub:not([data-layout=artwork]){grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:24px 4%;gap:28px}
.news-rail .news-slide.bbpub .bbpub-copy{gap:12px;align-self:center}
.news-rail .news-slide.bbpub .bbpub-copy>strong{font-size:clamp(23px,2.6cqw,34px);line-height:1.4}
.news-rail .news-slide.bbpub .bbpub-summary{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.7}
.news-rail .news-slide.bbpub .bbpub-picture{height:100%!important;max-height:280px;display:flex;align-items:center;justify-content:center}
.news-rail .news-slide.bbpub .bbpub-picture img{width:100%;height:100%!important;max-height:280px!important;object-fit:contain;object-position:center}
.news-rail .news-slide.bbpub[data-layout=artwork] .bbpub-picture{height:100%!important;max-height:none;border-radius:0}
.news-rail .news-slide.bbpub[data-layout=artwork] .bbpub-picture img{max-height:none!important;aspect-ratio:auto;object-fit:contain}
.news-rail .news-slide.bbpub[data-layout=artwork][data-fit=cover] .bbpub-picture img{object-fit:cover}
.news-rail:has(.bbpub) .news-dots{background:#edf5fff0;bottom:5px;box-shadow:0 1px 7px #12345a14;backdrop-filter:none}
.news-rail:has(.bbpub) .news-dots button:before{background:#7996b8}
.news-rail:has(.bbpub) .news-dots button[aria-pressed=true]:before{background:#0862ef}
@media(min-width:650px) and (max-width:1000px){.news-rail:has(.bbpub) .news-window{height:300px!important}.news-rail .news-slide.bbpub:not([data-layout=artwork]){gap:18px;padding:20px 4%}.news-rail .news-slide.bbpub .bbpub-picture,.news-rail .news-slide.bbpub .bbpub-picture img{max-height:235px!important}.news-rail .news-slide.bbpub .bbpub-copy>strong{font-size:23px}.news-rail .news-slide.bbpub .bbpub-summary{font-size:12px;-webkit-line-clamp:2}}
@media(max-width:649px){.news-rail:has(.bbpub) .news-window{height:480px!important}.news-rail .news-slide.bbpub:not([data-layout=artwork]){grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);padding:22px 22px 34px;gap:14px}.news-rail .news-slide.bbpub .bbpub-copy>strong{font-size:23px}.news-rail .news-slide.bbpub .bbpub-picture,.news-rail .news-slide.bbpub .bbpub-picture img{max-height:210px!important}.news-rail .news-slide.bbpub .bbpub-summary{-webkit-line-clamp:2}.news-rail .news-slide.bbpub[data-layout=artwork] .bbpub-picture,.news-rail .news-slide.bbpub[data-layout=artwork] .bbpub-picture img{max-height:none!important}}

.news-rail .news-slide.bbpub .bbpub-picture{width:100%!important;min-width:0;justify-self:stretch}

/* Full artwork uses its natural ratio when every slide is artwork.
   Keep editorial/mixed rails on their existing stable stage. */
.news-rail:has(.news-slide.bbpub[data-layout=artwork]):not(:has(.news-slide:not([data-layout=artwork]))) .news-window{height:auto!important;aspect-ratio:auto}
.news-rail:has(.news-slide.bbpub[data-layout=artwork]):not(:has(.news-slide:not([data-layout=artwork]))) .news-track{height:auto}
.news-rail:has(.news-slide.bbpub[data-layout=artwork]):not(:has(.news-slide:not([data-layout=artwork]))) .news-slide.bbpub{height:auto!important}
.news-rail:has(.news-slide.bbpub[data-layout=artwork]):not(:has(.news-slide:not([data-layout=artwork]))) .bbpub-picture,
.news-rail:has(.news-slide.bbpub[data-layout=artwork]):not(:has(.news-slide:not([data-layout=artwork]))) .bbpub-picture img{height:auto!important;max-height:none!important;aspect-ratio:auto}

/* Full-width, low news stage. Cover artwork is composed with empty vertical
   safe margins; contain artwork remains complete inside the same stage. */
@media(min-width:768px){
  .news-rail:has(.news-slide.bbpub[data-layout=artwork]):not(:has(.news-slide:not([data-layout=artwork]))){width:100%;max-width:none}
  .news-rail:has(.news-slide.bbpub[data-layout=artwork]):not(:has(.news-slide:not([data-layout=artwork]))) .news-window{height:auto!important;aspect-ratio:4.3 / 1}
  .news-rail:has(.news-slide.bbpub[data-layout=artwork]):not(:has(.news-slide:not([data-layout=artwork]))) .news-track,
  .news-rail:has(.news-slide.bbpub[data-layout=artwork]):not(:has(.news-slide:not([data-layout=artwork]))) .news-slide.bbpub,
  .news-rail:has(.news-slide.bbpub[data-layout=artwork]):not(:has(.news-slide:not([data-layout=artwork]))) .bbpub-picture,
  .news-rail:has(.news-slide.bbpub[data-layout=artwork]):not(:has(.news-slide:not([data-layout=artwork]))) .bbpub-picture img{height:100%!important}
}
.news-rail:has(.news-slide.bbpub[data-layout=artwork]):not(:has(.news-slide:not([data-layout=artwork]))) .news-dots{position:static;transform:none;background:transparent;box-shadow:none;padding:0}

/* A soft shadow supports the artwork without adding sidebar chrome. */
body.bb-promo-desktop .bb-promo-rail{box-shadow:6px 12px 28px #193c6a2b,0 2px 8px #0e254e10}
html[data-theme=dark] body.bb-promo-desktop .bb-promo-rail{box-shadow:6px 14px 30px #00000061,0 2px 8px #00000026}
