/* sweep2-fixes-20261112 (Nov 12 2026): phone fixes from the Sweep 2 visual pass. Loaded last on the homepage. Remove this file + its <link> to roll back. */

/* V3: "Scan your first card" was a 64px-wide column with 4-line text. On the signed-out gate it becomes a full-width row. */
html:not(#s0):not(#s1):not(#s2) #xw-guest .xw-gconsole{grid-template-columns:1fr!important}
html:not(#s0):not(#s1):not(#s2) #xw-guest .xw-gconsole .xw-hero{width:100%;flex-direction:row}
html:not(#s0):not(#s1):not(#s2) #xw-guest .xw-gconsole .xw-hero-card.xw-empty,
html:not(#s0):not(#s1):not(#s2) #xw-guest .xw-gconsole .xw-hero-card.xw-noimg{flex-direction:row;aspect-ratio:auto;width:100%;min-height:56px;gap:10px;padding:10px 14px;justify-content:center}
html:not(#s0):not(#s1):not(#s2) #xw-guest .xw-gconsole .xw-hero-card.xw-empty b,
html:not(#s0):not(#s1):not(#s2) #xw-guest .xw-gconsole .xw-hero-card.xw-noimg b{font-size:14px;line-height:1.3;white-space:nowrap}

/* V5: 44px tap targets for the sign-in footer Terms / Privacy links (hit area grows, layout doesn't). */
#auth-legal-line a{display:inline-block;padding:15px 3px;margin:-15px 0}

@media (max-width:768px){
  /* V2: the floating Valutrix button sat on top of the sign-in footer line. Tucked 4px further into the corner (size unchanged, so the open-state label still fits),
     and the gate gets bottom room so its last line can scroll clear of the button. */
  html body #xp-si{right:8px!important}
  #auth-screen{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}
  #auth-footer-mark{padding:0 52px}
}
