/* ============================================================
   Touch screens: scroll cost, site wide
   Linked LAST on every page so it can override the page sheets.
   Also holds the 44px tap-target floor for touch (bottom of the block).

   Owner report, 19 Nov 2026 (iPhone and the Instagram in-app browser):
   scrolling stuttered. Two things cost the most on a phone: a live
   backdrop-filter re-blurs everything behind it on every scrolled
   frame, and a blend mode over a large area forces the whole stack
   behind it into an offscreen buffer. Neither is worth it on touch, so
   here the blur comes off and the panel keeps its look with a more
   opaque tint. Desktop (a hover pointer) is untouched.

   Not here on purpose: .rcpill (styles/pages.css) and the machine and
   helmet parts of sections-c.css, owned by other work in progress.
   ============================================================ */

@media (hover: none) and (pointer: coarse) {

  /* The film grain is a fixed layer four times the viewport, repainted by
     a stepped animation. Keep it, as a still layer the size of the screen. */
  body::after { animation: none; inset: 0; }

  /* ---- backdrop blur off, tint a little firmer ---- */
  .nextup,
  .anext__room, .anext__seat,
  .fmt__toggletrack, .cal__card,
  .chat__window, .glass, .dock__pill,
  .gtracks__grid .round, .gres,
  .gcal, .cal26, .glasscard,
  .rcc__bar, .xcard, .burger,
  .vbar, .vphoto figcaption, .stamp {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nextup { background: color-mix(in srgb, var(--ground) 94%, transparent); }
  .xcard  { background: color-mix(in srgb, var(--ground) 95%, transparent); }
  .burger { background: color-mix(in srgb, var(--ground) 92%, transparent); }
  .vbar   { background: color-mix(in srgb, var(--ground) 96%, transparent); }
  .vphoto figcaption { background: color-mix(in srgb, var(--ground) 86%, transparent); }
  .dock__pill { background: rgba(20, 18, 26, 0.9); }
  .rcc__bar { background: color-mix(in srgb, var(--ground) 80%, #f4f4ed 6%); }

  /* ---- dialog backdrops: a flat dim, no blur ---- */
  .faq::backdrop, .rmodal::backdrop, .lf-dialog::backdrop,
  .wl-dialog::backdrop, .pdlg::backdrop {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(5, 5, 5, 0.88);
  }

  /* ---- blend modes over big areas: plain opacity instead ----
     Only the full-bleed ones. The small tints (.gman__film, .gring__card, the Race Control orb) keep their
     blend: it costs next to nothing on a card, and flattening it turned the colour wash into a solid layer. */
  .cover__film { mix-blend-mode: normal; opacity: 0.22; }
  .join__flash { mix-blend-mode: normal; }

  /* The signature over the room photographs is scrubbed to the finger: a filter on a path that repaints every
     frame is the cost, so the glow comes off on touch and the line itself stays. */
  .room__sig path { filter: none; }

  /* ---- tap targets: at least 44px, without moving anything ---- */
  .burger { min-width: 44px; min-height: 44px; }
  /* the wordmark link in the bar: bigger hit area, same footprint */
  .nav > a { padding-block: 13px; margin-block: -13px; }
  .rcc__chip, .chip, .tchip, .gcal__cell { min-height: 44px; }
  .thero__link, .crewcard__join, .gtracks__all, .t3d__go, .pager a,
  .recap__story a.mono { display: flex; align-items: center; min-height: 44px; }
  .cal__book { display: inline-flex; align-items: center; min-height: 44px; }
  .megafoot__cta, .feat__go, .recap__back, .wall__back,
  .vhero__link, .pt-fan__btn, .stand__seg button { min-height: 44px; }
  /* inline footer links (Terms, Privacy): padding on an inline box widens
     the touch area and leaves the line height alone */
  .megafoot span > a { padding-block: 16px; }

  /* ---- captions over photographs: a solid label, no text on the picture ---- */
  .rg__tile figcaption, .wreel__fig figcaption, .wk__fig figcaption, .ftile figcaption {
    padding: 0.3rem 0.6rem; color: #fff; text-shadow: none;
    background: rgba(8, 8, 8, 0.88); border-left: 2px solid var(--accent);
  }
  .lwall__fig figcaption {
    background: rgba(8, 8, 8, 0.9); color: #fff;
  }
}
