
/* ===== Top promo line: running marquee =====
   The three service messages scroll continuously right-to-left:
   text enters from the right edge and exits on the left, looping
   seamlessly (the track holds two identical sets and shifts -50%).
   Social icons on the right stay fixed. */
.topbar .items{
  flex:1 1 auto;min-width:0;flex-wrap:nowrap;overflow:hidden;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 18px,#000 calc(100% - 18px),transparent);
  mask-image:linear-gradient(to right,transparent,#000 18px,#000 calc(100% - 18px),transparent);
}
.topbar .marquee-track{display:flex;width:max-content;animation:topbar-scroll 20s linear infinite;will-change:transform}
.topbar .mq-set{display:flex;align-items:center;gap:6px 14px;padding-right:28px;flex:none}
.topbar .items span{display:inline-flex}
.topbar .items:hover .marquee-track{animation-play-state:paused}
@keyframes topbar-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
/* Phones/tablets: no edge-fade mask over the moving text. A mask over
   continuously animated content is a known compositing failure point
   in in-app webviews — during scroll the moving line can vanish even
   though the bar itself is on screen. Without the mask the marquee
   keeps rendering (and keeps moving) while the page scrolls. */
@media (max-width:900px){
  .topbar .items{-webkit-mask-image:none;mask-image:none}
}
@media (prefers-reduced-motion:reduce){
  .topbar .marquee-track{animation:none}
  .topbar .items{overflow-x:auto}
}
/* Responsive overflow fix (wired package, 2026-12-04): the marquee track
   is wider than the viewport by design (two identical text sets side by
   side) and is clipped for painting by .topbar/.items — but the wide
   track still widens the document's scrollable area below 1024px, so the
   whole page can slide sideways a few pixels (412px: +14px, 768px: +8px).
   Clipping horizontal overflow on the root element contains it. No visual
   change: the marquee keeps scrolling exactly as before. `clip` (not
   `hidden`) is used so the sticky header keeps working. */
@media (max-width:1024px){
  html{overflow-x:clip}
}
