/* App surfaces do not select text or show browser tap flashes. Editable
   content keeps native selection, and keyboard focus remains visible. */
body { -webkit-user-select:none; user-select:none; }
*, *::before, *::after { -webkit-tap-highlight-color:transparent; }
input, textarea, [contenteditable]:not([contenteditable="false"]) {
 -webkit-user-select:text; user-select:text;
}
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline:none; }
img { -webkit-user-drag:none; }
@media (max-width:767px) {
 body:not(.signed-in) { --mobile-promo:0px; }
 body:not(.signed-in) .guest-banner { display:none; }
 #dialog:has([data-membership-mode="signin"]), #dialog:has(.zamar-auth) {
  width:min(340px,calc(100vw - 48px));
  max-width:340px;
  max-height:calc(100dvh - 32px);
  border-radius:16px;
  overflow-y:auto;
  overscroll-behavior:contain;
 }
 #dialog [data-membership-mode="signin"] .membership-topbar { height:48px; }
 #dialog [data-membership-mode="signin"] .membership-art { height:144px; }
 #dialog [data-membership-mode="signin"] .membership-feature { width:144px;height:144px; }
 #dialog [data-membership-mode="signin"] .membership-art-stack,
 #dialog [data-membership-mode="signin"] .membership-art-stack img { width:68px; }
 #dialog [data-membership-mode="signin"] .membership-art-stack img { height:68px; }
 #dialog [data-membership-mode="signin"] .membership-copy { padding:18px 20px 22px; }
 #dialog [data-membership-mode="signin"] .membership-logo { width:68px;margin-bottom:12px; }
 #dialog [data-membership-mode="signin"] h2 { font-size:22px;line-height:1.2;margin-bottom:12px; }
 #dialog [data-membership-mode="signin"] .membership-description { font-size:13px;line-height:1.5;margin-bottom:12px; }
 #dialog [data-membership-mode="signin"] .membership-primary { width:100%;min-height:44px; }
 #dialog .zamar-auth { padding:48px 22px 24px; }
 #dialog .zamar-auth>img { width:76px;margin-bottom:18px; }
 #dialog .zamar-auth h2 { font-size:22px; }
 #dialog .zamar-auth>p { font-size:13px; }
 #dialog .zamar-auth form { margin-top:22px; }
}
