/* VALBLOX home (layout-v2 preview): index.html (.content--home) and index-alt.html (.x-content). Loads after styles.css,
   shell-v2.css and the layout's own sheets; the home keeps its own look (styles.css, alt-layout.css), with two
   additions:
   - the hero's announcement (Join our Discord) stays hidden while there is no Discord address to send anyone to;
   - the games row shows whole cards only, in both arrangements: as many as fit at 180px or more (styles.css's own
     smallest card), 16px apart (its own gap), and its arrows page by whole cards (site.js pages by the cards fully in
     view). Live, a part of the next card peeks at the edge; in the 1160px column of "stacked" that sliced the sixth;
   - "Home: stacked" (the preview's toggle, html[data-vb-home="stacked"]): diceblox's arrangement in VALBLOX's look. The
     whole home is one centred column (1160px of content at most; the footer stays full width): the hero as a
     full-width banner, the Rain Pot as a full-width strip under it (coin, title and line on the left, the tray on the
     right), then the games row and the rest as they are. The hero and the pot keep their art, frames and copy. The
     banner and the strip from the width where the two sat side by side (index: the column at 900px, the rablox layout
     at 860px); narrower, the lead is one column anyway.
     Room for a panel on the banner's right (the hero-motion component's XP panel, brand/viking/hero-motion/): an
     element .hero__aside (or [data-hero-aside]) placed as the hero's last child sits at the right edge, centred on the
     height, --hero-aside-w wide (320px unless it says otherwise), over the art and under nothing. The copy keeps the
     left 45%; at 1440px the banner is 1016-1076px wide, so the panel, the copy and the longship each keep their own
     third. Where the art sits under the panel stays with that component. */

.hero__note { display: none !important; }

/* ---------------------------------------------------------------- the games row: whole cards */
:is(.content--home, .x-content) .games__track {
  --n: 2; --gap: 16px;
  grid-template-columns: none; grid-auto-columns: calc((100cqw - (var(--n) - 1) * var(--gap)) / var(--n)); overflow-x: auto;
}
@container games (min-width: 572px) { :is(.content--home, .x-content) .games__track { --n: 3; } }    /* n x 180 + (n - 1) x 16 */
@container games (min-width: 768px) { :is(.content--home, .x-content) .games__track { --n: 4; } }
@container games (min-width: 964px) { :is(.content--home, .x-content) .games__track { --n: 5; } }
@container games (min-width: 1160px) { :is(.content--home, .x-content) .games__track { --n: 6; } }
@container games (min-width: 1356px) { :is(.content--home, .x-content) .games__track { --n: 7; } }
@container games (min-width: 1552px) { :is(.content--home, .x-content) .games__track { --n: 8; } }
