/* Phone layout for /community.html (loaded at (max-width: 760px)). */

  .band { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .steps, .talk, .paid, .ways { grid-template-columns: 1fr; }
  .paid { padding: 22px 20px; }
  .later, .clipsoon .copy, .live .body, .chal .card, .spot .me { padding: 20px; }
  .spot .stats { grid-template-columns: 1fr 1fr; }
  .reels { padding: 12px; gap: 8px; }
  .board-tabs { width: 100%; }
  .board-tabs button { flex: 1; }
  .stage .shell { padding-top: 140px; }
  /* "Picked by Street2Sim" gets its own line: beside the week badge it
     wrapped only once the payload filled both in, and moved the hero. */
  .kicker .why { flex-basis: 100%; }
  /* The tall phone hero shows the stock clip's full height: zoom from the
     bottom so its burned-in caption stays off screen. The road's own
     fly-through (.fly) has no caption: cover-crop it from the centre. */
  .stage:not(.fly) .bg > * { transform: scale(1.6); transform-origin: 50% 100%; }
  .stage::before { background: linear-gradient(0deg, var(--asphalt) 10%, rgb(var(--asphalt-rgb) / .82) 55%, rgb(var(--asphalt-rgb) / .3) 100%); }
  /* A fly-through stays clear up top, where the road is; text sits lower. */
  .stage.fly::before { background: linear-gradient(0deg, var(--asphalt) 8%, rgb(var(--asphalt-rgb) / .72) 50%, rgb(var(--asphalt-rgb) / 0) 82%); }
  /* Paper needs more wash than night for dark type over footage. */
  [data-theme="light"] .stage::before, [data-theme="light"] .stage.fly::before { background: linear-gradient(0deg, var(--asphalt) 22%, rgb(var(--asphalt-rgb) / .9) 58%, rgb(var(--asphalt-rgb) / .55) 100%); }
  /* Sticky "Get the map" once the hero's card is scrolled past. */
  .mbar {
    display: flex; align-items: center; gap: 10px; position: fixed; z-index: 55;
    left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    padding: 10px 10px 10px 14px; border-radius: 14px; border: 1px solid var(--sodium-dim);
    background: rgb(var(--asphalt-rgb) / .96); box-shadow: 0 12px 40px rgba(0,0,0,.55);   /* no backdrop blur: it re-ran on every scroll frame */
    transform: translateY(160%); transition: transform .25s ease;
  }
  .mbar.on { transform: none; }
  .mbar .t { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
  .mbar .t b { font: 700 .98rem var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mbar .t span { font: 500 .72rem var(--mono); color: var(--gravel); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body { padding-bottom: 84px; }
