/* Laptops and up (1024 px): the attendee pages outside an event, in a desktop layout. Linked with media="(min-width: 1024px)"
   (src/views.ts), so phones, the PWA and the app never load it. The look is the phone design's; only the layout differs.
   "Find your event": a wide page, the events in a grid, the filter button in the header beside search (not a floating box),
   and its sheet as a centred dialog. */
@media (min-width: 1024px) {
  main:has(> .swx) { position: relative; max-width: 1180px; padding: 28px 40px 48px; }
  .swx .swbar { min-height: 48px; padding-right: 52px; }                       /* room for the filter button, placed below */
  .swx .swbar .screen { font-size: 1.75rem; letter-spacing: -.01em; }
  .swx .swbar .swsearch { max-width: 420px; margin-left: auto !important; }      /* the search field opens at the right, beside its button */
  .swx .lede { max-width: 560px; font-size: 0.9375rem !important; }
  .swx .joinbar { max-width: 560px; }
  main:has(> .swx) .cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px !important; align-items: stretch; }
  main:has(> .swx) .cards > li { display: flex; }
  main:has(> .swx) .cards > li > * { flex: 1 1 auto; }
  main:has(> .swx) .evcard { transition: transform .15s ease, box-shadow .15s ease; }
  main:has(> .swx) .evcard:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
  /* filter: a plain icon in the header row; its sheet is a centred dialog */
  main:has(> .swx) > .fab { position: absolute !important; top: 28px; right: 40px; bottom: auto !important; left: auto; width: 44px; height: 44px; border-radius: 50% !important;
    background: none !important; box-shadow: none !important; color: var(--ink) !important; transform: none !important; }
  main:has(> .swx) > .fab:hover { background: color-mix(in srgb, var(--ink) 10%, transparent) !important; }
  main:has(> .swx) .bsheet { align-items: center; }
  main:has(> .swx) .bsheet-in { width: min(480px, calc(100vw - 48px)); padding: 28px !important; border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 24px !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .55); animation: none; }
  main:has(> .swx) .bsheet-bar { display: none; }
}
