/* Phone UI for the home page, /pod and /dropship (760px and below). js/mobile-ui.js adds .mcar to the card groups
   and builds the dots and the bottom bar. Nothing here applies on wider screens: the classes and the injected
   elements stay inert there. */
.mdots,.mbar{display:none}
.mlines{display:contents}

@media (max-width:760px){
  /* 1. Card groups become one swipeable row: a card and a slice of the next, snapping card by card.
        --mg is the page gutter, measured by the script, so the row can run edge to edge. */
  .mcar,.mlines.mcar{display:flex!important;align-items:stretch;gap:12px;grid-template-columns:none!important;margin-left:calc(var(--mg,16px) * -1)!important;margin-right:calc(var(--mg,16px) * -1)!important;padding:6px var(--mg,16px) 10px!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0 var(--mg,16px);-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none}
  .mcar::-webkit-scrollbar{display:none}
  .mcar>*{flex:0 0 84vw!important;max-width:440px;min-width:0;margin-top:0!important;margin-bottom:0!important;scroll-snap-align:start}
  .mcar:focus-visible{outline:2px solid #0f1115;outline-offset:2px}
  .mdots{display:flex;justify-content:center;gap:6px;margin:10px 0 0}
  .mdots i{width:6px;height:6px;border-radius:99px;background:rgba(15,17,21,.22)}
  .mdots i.on{width:20px;background:#0f1115}
  .band .mdots i{background:rgba(255,255,255,.3)}
  .band .mdots i.on{background:#e8f000}

  /* Product pages */
  .pp-bento.mcar{margin-top:24px!important}
  .pp-bento.mcar .pp-card{display:block}
  .pp-bento.mcar .pp-card .shot:not(.im){display:none} /* tiny cropped screenshots add height, not information */
  .pp-bento.mcar .pp-card .shot.im{margin-top:16px}
  .pp-bento.mcar .pp-card.full .pp-list{grid-template-columns:1fr 1fr}
  .pp-sigs.mcar{margin-top:20px!important}
  .pp-sigs.mcar>*{flex-basis:70vw!important}
  .plans.three.mcar{margin-top:22px!important}
  .plans.three.mcar>*{flex-basis:78vw!important}

  /* Home */
  .mo.cs .feats .frows.mcar{display:flex!important;padding:26px var(--mg,16px) 10px!important}
  .mo.cs .feats .frows.mcar>.frow{position:relative!important;top:auto!important}
  /* the table window inside a swipe card: three rows, no rank column and no second line, so names are not cut and it fits under the label */
  .mo.cs .frows.mcar .fimg{aspect-ratio:1/1.08!important}
  .mo.cs .frows.mcar .fv{top:57%!important;width:94%!important}
  .mo.cs .frows.mcar .ft-h,.mo.cs .frows.mcar .ft-r{grid-template-columns:minmax(0,1fr) 58px!important}
  .mo.cs .frows.mcar .ft-h>span:first-child,.mo.cs .frows.mcar .ft-r>span:first-child{display:none}
  .mo.cs .frows.mcar .ft-n small{display:none}
  .mo.cs .frows.mcar .ft-top .ft-n img{width:36px;height:36px}
  .mo.cs .frows.mcar .fv-chip{right:8px;bottom:-9px}
  .mo.cs .mlines.mcar>.pbk{margin-top:0!important}
  .mo.cs .mlines.mcar{margin-top:18px!important}

  /* 2. Bottom bar: the main action stays within reach of the thumb once the hero's own button has scrolled away.
        It leaves the right corner free for the support chat button. */
  .mbar{display:block;position:fixed;z-index:25;left:0;right:0;bottom:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 -1px 0 rgba(15,17,21,.08),0 -14px 30px -20px rgba(15,17,21,.4);transform:translateY(115%);transition:transform .3s ease}
  .mbar.on{transform:none}
  .mbar a{display:flex;align-items:center;justify-content:center;gap:8px;width:calc(100% - 70px);height:48px;border-radius:14px;background:#e8f000;color:#0f1115;font:600 15px/1 "Inter Tight",system-ui,sans-serif;letter-spacing:-.01em;text-decoration:none;box-shadow:inset 0 -2px 0 rgba(0,0,0,.08),0 10px 22px -12px rgba(160,170,0,.9)}
  .mbar a:active{transform:translateY(1px)}
  .mbar small{display:block;margin-top:5px;width:calc(100% - 70px);text-align:center;font:500 11.5px/1.2 "Inter Tight",system-ui,sans-serif;color:#6b6f78}
}
@media (max-width:760px) and (prefers-reduced-motion:reduce){
  .mcar{scroll-behavior:auto}
  .mbar{transition:none}
}
