/* SellerApp · Mobile Version layer — loaded only by pages in "P0 Mobile Version/".
   Scoped to html.mv (set by ds/mobile-version.js). Documented in
   "P0 Mobile Version/Mobile Design System.md". Values reuse New Website Theme
   (Yellow) tokens; mobile-specific additions are the --mv-* custom properties. */
html.mv{
  --mv-gutter:20px;          /* = ds/layout.css <768 gutter */
  --mv-section-y:56px;       /* section padding on phones */
  --mv-section-y-md:72px;    /* ≥768 */
  --mv-stack-gap:16px;       /* gap between stacked cards */
  --mv-card-pad:18px;        /* card padding on phones */
  --mv-radius-card:16px;     /* = --radius-card */
  --mv-touch:44px;           /* minimum touch target */
  --mv-visual-max:320px;     /* design target for compact supporting visuals (never a fixed height) */
  scroll-behavior:auto!important;
}
/* 1 · No decorative motion: every animation/transition resolves to its end state immediately */
html.mv *,html.mv *::before,html.mv *::after{
  animation-duration:0s!important;animation-delay:0s!important;animation-iteration-count:1!important;
  transition-duration:0s!important;transition-delay:0s!important;scroll-behavior:auto!important;
}
/* 2 · Reveal hooks are always visible (content never waits for a trigger) */
html.mv :is([data-r],[data-rv],[data-io],[data-reveal],.reveal,.rv,.fade-in,.fade-up,[data-anim],[data-aos]){
  opacity:1!important;visibility:visible!important;transform:none!important;clip-path:none!important;filter:none!important;
}
/* 3 · Phones */
@media (max-width:767px){
  html.mv :is(h1,h2,h3,h4,p,li,dd,dt,blockquote,figcaption,label,td,th){overflow-wrap:break-word;hyphens:manual}
  /* zero specificity: page/component image sizes always win */
  :where(html.mv) :where(img,video,svg,canvas,iframe){max-width:100%}
  :where(html.mv) :where(img){height:auto}
  /* Read-more overlays removed on touch; card/title links stay */
  html.mv :is(.stack__more,.round-cta,.cs-more,.card-more,.rm-ring,[data-round-cta]){display:none!important}
  /* touch targets */
  html.mv :is(.btn,button:not(.ms):not(.theme-toggle),[role="tab"],summary){min-height:var(--mv-touch)}
  /* theme toggle clears the home bar and stays above content */
  html.mv .theme-fab{right:max(14px,env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom));z-index:85}
  html.mv main{padding-bottom:8px}
}
/* 4 · Reduced-motion is reported to scripts; also honour it for any leftover CSS */
@media (prefers-reduced-motion:reduce){html.mv *{animation:none!important}}
