/* ======================================
   USED IN ALL PAGES
   - stop zoom when tap screen many times
   - text size stays same when phone rotate
   - android browsers dont repaint our colours in dark mode
====================================== */

html {
    touch-action: manipulation;

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;

    /* phone in dark mode -> chrome/android "auto dark" turns our see-through white
       glass cards into dark ones. this says we pick our own colours, so leave them */
    color-scheme: only light;
}

/* inside the desktop phone frame - no scrollbar, like a real phone */
html.in-phone-frame {
    scrollbar-width: none;
}

html.in-phone-frame::-webkit-scrollbar {
    display: none;
}
