/* WHAT'S HAPPENING NOW / LO QUE PASA AHORA: FOUR PANELS AT THE PLAN AHEAD SIZE
   (Craig, Nov 7 2026: "4 panels and make the panels the exact same size as the
   Plan Ahead panels"). Same structure on sportswin.win and sportswindeportes.com;
   each site picks its own sports. The grid matches the Plan Ahead row inside its
   panel: 279 x 416 four across at 1440 (16 px gap, 18 px inset), 160 x 301 two
   across on a phone (10 px gap, 12 px inset). */
.happening .now-grid[data-four]{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding-inline:18px}
@media(min-width:701px) and (max-width:1000px){.happening .now-grid[data-four]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.happening .now-grid[data-four]{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-inline:12px}}
/* The league card: the Plan Ahead card with the vertical league marquee in its
   16:9 band; the whole card is one tap. */
.happening a.sw-hl{text-decoration:none}
.happening .pa-ref-card .event-art-top > .sw-tm-top{width:100%;height:100%;border:0;border-radius:0;box-shadow:none}
/* The marquee starts at the top of the band, as on the Scores panel; centred, it
   left a strip of the field colour above the chevron (Craig caught it, Nov 7). */
.happening .pa-ref-card .event-art-top > .sw-tm-top .sw-tm-marquee{height:100%;align-content:start;border-bottom:0}
.happening .pa-ref-card .event-art-top > .sw-tm-top .sw-tm-motto{display:none}
/* The Plan Ahead row's own title spacing (.plan-ahead .ahead-card h4), so every
   card is exactly the Plan Ahead height. */
.happening .now-grid[data-four] .ahead-card h4,.happening .now-grid[data-four] .ahead-card h4.event-title-lockup,.happening .now-grid[data-four] .ahead-card h4.event-title-large{margin:2px 0}
/* Phone (Craig, Nov 7 2026: "you left out all the formatting and marquees").
   The marquee keeps EVERY part (badge, chevron, top line, name, sport, lines):
   it is the laptop marquee drawn at its laptop size, then scaled down to the
   card width, so it is a smaller copy, never a cut-down one. Laid out at
   card / scale wide, so it always fills the band. Card width on a phone = (screen - 70) / 2. */
@media(max-width:700px){
  .happening .pa-ref-card .event-art-top:has(> .sw-tm-top){display:block;overflow:hidden}
  .happening .pa-ref-card .event-art-top > .sw-tm-top{width:calc(100% / var(--hl-z));height:calc(100% / var(--hl-z));transform:scale(var(--hl-z));transform-origin:0 0}
  .happening .now-grid[data-four]{--hl-z:.6165}
  .happening .sw-hl .sw-hl-label{display:none}
}
@media(max-width:413px){.happening .now-grid[data-four]{--hl-z:.5735}}
@media(max-width:389px){.happening .now-grid[data-four]{--hl-z:.546}}
@media(max-width:374px){.happening .now-grid[data-four]{--hl-z:.52}.happening .sw-hl .pa-ref-ticket{font-size:11px}}
