/* PLAYS Daily — the 8-bit design system.
 *
 * Everything is scoped under `.px` (the Daily screens) or `.daily-main` (the scroll container),
 * so nothing here reaches the feed, Create or a profile.
 *
 * Rules: a strict palette of twelve colours plus black and white, no gradients, square corners,
 * 4 px borders, hard offset shadows, a 4 px grid, one pixel font (Press Start 2P, OFL, bundled
 * locally), motion in steps() only, and nothing moves under prefers-reduced-motion.
 * No inline styles anywhere (the CSP is style-src 'self'): colour and state are classes.
 */

@font-face {
  font-family: 'Press Start 2P';
  src: url('/daily/fonts/PressStart2P-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.px, .daily-main {
  /* The palette: 12 colours + black + white. Same values as PALETTE in sprites.js. */
  --px-black: #000000;
  --px-white: #ffffff;
  --px-night: #10133a;
  --px-navy: #232a78;
  --px-blue: #2e6bff;
  --px-sky: #5fd3ff;
  --px-green: #1faa4f;
  --px-lime: #ccff00;
  --px-yellow: #ffd23f;
  --px-orange: #ff8a1f;
  --px-red: #ee3b3b;
  --px-purple: #8a4dff;
  --px-pink: #ff5fa8;
  --px-grey: #8a8fa8;

  /* The pixel grid: every size is a multiple of 4 px. */
  --px-1: 4px;
  --px-2: 8px;
  --px-3: 12px;
  --px-4: 16px;
  --px-5: 20px;
  --px-6: 24px;
  --px-8: 32px;
  --px-10: 40px;
  --px-12: 48px;
  --px-border: 4px;
  --px-shadow: 4px 4px 0 0 var(--px-black);
  --px-shadow-lg: 6px 6px 0 0 var(--px-black);
  --px-tap: 48px; /* every control is at least this tall: over the 44 px minimum */

  /* Type: the pixel face for anything arcade, the app's condensed face for sentences. */
  --px-font: 'Press Start 2P', ui-monospace, 'Courier New', monospace;
  --px-body: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --px-text-xs: 8px;
  --px-text-sm: 12px;
  --px-text-md: 16px;
  --px-text-lg: 24px;
  --px-text-xl: 32px;

  /* Motion: steps only, short. */
  --px-steps: steps(4, end);
  --px-fast: 120ms;
  --px-slow: 480ms;
}

#main.daily-main { background: var(--px-night); overflow-y: auto; }

.px { color: var(--px-white); font-family: var(--px-body); font-size: 18px; line-height: 1.3; -webkit-font-smoothing: none; }
.px *, .px *::before, .px *::after { box-sizing: border-box; }
.px h1, .px h2, .px h3, .px p, .px ul, .px dl, .px dd { margin: 0; }
.px ul { padding: 0; list-style: none; }
.px-offscreen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.px-copy { font-family: var(--px-body); font-size: 18px; line-height: 1.35; }

/* ---------- Buttons ---------- */
.px-btn {
  min-height: var(--px-tap);
  min-width: var(--px-tap);
  padding: 0 var(--px-4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--px-2);
  border: var(--px-border) solid var(--px-black);
  border-radius: 0;
  background: var(--px-yellow);
  color: var(--px-black);
  box-shadow: var(--px-shadow);
  font-family: var(--px-font);
  font-size: var(--px-text-sm);
  line-height: 1.4;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: transform var(--px-fast) steps(1, end), box-shadow var(--px-fast) steps(1, end);
}
.px-btn:active, .px-btn[aria-pressed="true"] { transform: translate(4px, 4px); box-shadow: 0 0 0 0 var(--px-black); }
.px-btn:focus-visible, .px-tile:focus-visible, .px-input:focus-visible { outline: 4px solid var(--px-sky); outline-offset: 4px; }
.px-btn:disabled { cursor: not-allowed; opacity: 1; background: var(--px-grey); color: var(--px-night); box-shadow: 0 0 0 0 var(--px-black); transform: none; }
.px-btn[aria-pressed="true"]:disabled { background: var(--px-lime); color: var(--px-black); }
.px-btn--yellow { background: var(--px-yellow); }
.px-btn--red { background: var(--px-red); color: var(--px-white); }
.px-btn--blue { background: var(--px-blue); color: var(--px-white); }
.px-btn--green { background: var(--px-green); color: var(--px-white); }
.px-btn--purple { background: var(--px-purple); color: var(--px-white); }
.px-btn--white { background: var(--px-white); }
.px-btn--ghost { background: transparent; color: var(--px-white); border-color: var(--px-white); box-shadow: none; }
/* Hover only where a real pointer hovers: on touch a tap would leave it stuck. Every hover swaps to
 * black text, so a white-text colour never ends up white on white. */
@media (hover: hover) {
  .px-btn:hover:not(:disabled) { background: var(--px-white); color: var(--px-black); }
  .px-btn--white:hover:not(:disabled) { background: var(--px-yellow); }
  .px-btn--ghost:hover:not(:disabled) { background: var(--px-navy); color: var(--px-white); }
}
.px-btn--block { width: 100%; }
.px-btn--icon { padding: 0; width: var(--px-tap); }
.px-btn--icon .px-sprite { width: 20px; height: 20px; }

/* ---------- Panels ---------- */
.px-panel {
  padding: var(--px-4);
  border: var(--px-border) solid var(--px-black);
  background: var(--px-white);
  color: var(--px-black);
  box-shadow: var(--px-shadow-lg);
}
.px-panel--night { background: var(--px-navy); color: var(--px-white); }
.px-panel__title { margin-bottom: var(--px-3); font-family: var(--px-font); font-size: var(--px-text-sm); line-height: 1.5; text-transform: uppercase; }
.px-message { display: grid; gap: var(--px-4); justify-items: start; }

/* ---------- Badges ---------- */
.px-badge {
  display: inline-block;
  padding: var(--px-1) 6px;
  border: 2px solid var(--px-black);
  background: var(--px-lime);
  color: var(--px-black);
  font-family: var(--px-font);
  font-size: var(--px-text-xs);
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}
.px-badge--new { background: var(--px-lime); }
.px-badge--played { background: var(--px-green); color: var(--px-white); }
.px-badge--locked { background: var(--px-yellow); }
.px-badge--live { background: var(--px-sky); }
.px-badge--soon { background: var(--px-grey); color: var(--px-night); }
.px-badge--team { background: var(--px-white); font-size: var(--px-text-sm); padding: 6px var(--px-2); }

/* ---------- Scoreboard ---------- */
.px-scoreboard {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: var(--px-1);
  padding: var(--px-1);
  border: var(--px-border) solid var(--px-black);
  background: var(--px-black);
  box-shadow: var(--px-shadow);
}
.px-scoreboard__cell { display: grid; gap: var(--px-2); padding: var(--px-2) var(--px-2) var(--px-3); background: var(--px-night); text-align: center; }
.px-scoreboard__label { font-family: var(--px-font); font-size: var(--px-text-xs); color: var(--px-sky); }
.px-scoreboard__value { font-family: var(--px-font); font-size: var(--px-text-lg); line-height: 1; color: var(--px-yellow); }

/* ---------- Result grid (squares, never emoji) ---------- */
.px-cells { display: grid; gap: var(--px-1); justify-content: start; }
.px-cells__row { display: flex; gap: var(--px-1); }
.px-cell { width: var(--px-6); height: var(--px-6); border: 3px solid var(--px-black); background: var(--px-grey); }
.px-cells--small .px-cell { width: var(--px-3); height: var(--px-3); border-width: 2px; }
.px-cell--green { background: var(--px-green); }
.px-cell--red { background: var(--px-red); }
.px-cell--yellow { background: var(--px-yellow); }
.px-cell--blue { background: var(--px-blue); }
.px-cell--orange { background: var(--px-orange); }
.px-cell--purple { background: var(--px-purple); }
.px-cell--white { background: var(--px-white); }
.px-cell--black { background: var(--px-night); }
.px-cell--grey { background: var(--px-grey); }

/* ---------- Streak counter ---------- */
.px-streak { display: inline-grid; grid-template-columns: auto auto auto 1fr; align-items: center; gap: var(--px-2); }
.px-streak__sprite .px-sprite { width: 32px; height: 44px; display: block; }
.px-streak__count { font-family: var(--px-font); font-size: var(--px-text-xl); line-height: 1; color: var(--px-orange); text-shadow: 4px 4px 0 var(--px-black); }
.px-streak__label { font-family: var(--px-font); font-size: var(--px-text-xs); line-height: 1.5; }
.px-streak__best { display: inline-flex; align-items: center; gap: var(--px-1); justify-self: end; font-family: var(--px-font); font-size: var(--px-text-sm); color: var(--px-yellow); }
.px-streak__best .px-sprite { width: 16px; height: 18px; }
.px-panel:not(.px-panel--night) .px-streak__label { color: var(--px-black); }
.px-panel:not(.px-panel--night) .px-streak__best { color: var(--px-black); }

/* ---------- Autocomplete ---------- */
.px-combo { position: relative; display: grid; gap: var(--px-2); }
.px-label { font-family: var(--px-font); font-size: var(--px-text-xs); text-transform: uppercase; }
.px-input {
  width: 100%;
  min-height: var(--px-tap);
  padding: 0 var(--px-3);
  border: var(--px-border) solid var(--px-black);
  border-radius: 0;
  background: var(--px-white);
  color: var(--px-black);
  font-family: var(--px-body);
  font-size: 20px; /* at least 16 px, or iOS zooms the page */
}
.px-listbox {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  max-height: 264px;
  overflow-y: auto;
  border: var(--px-border) solid var(--px-black);
  border-top: 0;
  background: var(--px-white);
  box-shadow: var(--px-shadow);
}
.px-option { min-height: 44px; padding: 10px var(--px-3); color: var(--px-black); font-family: var(--px-body); font-size: 20px; cursor: pointer; }
.px-option + .px-option { border-top: 2px solid var(--px-black); }
.px-option[aria-selected="true"] { background: var(--px-yellow); }

/* ---------- Sprites ---------- */
.px-sprite { display: inline-block; image-rendering: pixelated; }

/* ---------- Daily home ---------- */
.px-home { max-width: 560px; margin: 0 auto; padding: var(--px-5) var(--px-3) var(--px-10); display: grid; gap: var(--px-5); }
.px-hero { display: grid; gap: var(--px-3); }
.px-wordmark { font-family: var(--px-font); font-size: var(--px-text-lg); line-height: 1.2; color: var(--px-white); text-shadow: 4px 4px 0 var(--px-black); }
.px-wordmark__accent { color: var(--px-lime); }
.px-hero__date { font-family: var(--px-font); font-size: var(--px-text-sm); color: var(--px-sky); }
.px-cue { font-family: var(--px-font); font-size: var(--px-text-xs); line-height: 1.6; color: var(--px-yellow); }
.px-hero__stats { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--px-3); align-items: center; padding: var(--px-3); border: var(--px-border) solid var(--px-black); background: var(--px-navy); box-shadow: var(--px-shadow-lg); }
.px-hero__stats .px-scoreboard { min-width: 96px; }

.px-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--px-4) var(--px-3); }
.px-tile {
  width: 100%;
  height: 100%;
  min-height: 172px;
  padding: var(--px-3);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  justify-items: start;
  gap: var(--px-2);
  border: var(--px-border) solid var(--px-black);
  border-radius: 0;
  background: var(--px-yellow);
  color: var(--px-black);
  box-shadow: var(--px-shadow-lg);
  text-align: left;
  cursor: pointer;
  transition: transform var(--px-fast) steps(1, end), box-shadow var(--px-fast) steps(1, end);
}
.px-tile:active { transform: translate(6px, 6px); box-shadow: 0 0 0 0 var(--px-black); }
.px-tile:disabled { cursor: default; opacity: 1; box-shadow: var(--px-shadow); }
.px-tile:disabled .px-tile__sprite, .px-tile:disabled .px-tile__blurb { opacity: .6; }
.px-tile--red { background: var(--px-red); color: var(--px-white); }
.px-tile--purple { background: var(--px-purple); color: var(--px-white); }
.px-tile--yellow { background: var(--px-yellow); }
.px-tile--blue { background: var(--px-blue); color: var(--px-white); }
.px-tile--green { background: var(--px-green); color: var(--px-white); }
.px-tile--orange { background: var(--px-orange); }
/* A tile's state may be two words long (LOCKED IN · RESULTS TOMORROW): it wraps inside the tile. */
.px-tile__state { max-width: 100%; }
.px-tile__state .px-badge { white-space: normal; }
.px-tile__sprite .px-sprite { width: 44px; height: 40px; display: block; filter: drop-shadow(3px 3px 0 var(--px-black)); }
.px-tile__title { font-family: var(--px-font); font-size: var(--px-text-sm); line-height: 1.5; text-transform: uppercase; }
.px-tile__blurb { font-family: var(--px-body); font-size: 16px; line-height: 1.25; }

.px-yrows { display: grid; gap: var(--px-3); }
.px-yrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--px-3); align-items: center; }
.px-yrow__title { font-family: var(--px-font); font-size: var(--px-text-xs); line-height: 1.6; text-transform: uppercase; }
.px-yrow__score { font-family: var(--px-font); font-size: var(--px-text-sm); color: var(--px-yellow); }
.px-yesterday .px-cells--small { justify-content: end; }

.px-home__more { display: flex; flex-wrap: wrap; gap: var(--px-3); }
.px-home__more .px-btn { flex: 1 1 140px; }

/* ---------- Game shell ---------- */
.px-game { max-width: 560px; margin: 0 auto; padding: var(--px-3) var(--px-3) var(--px-10); display: grid; gap: var(--px-4); }
.px-game__bar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--px-3); align-items: center; padding-bottom: var(--px-3); border-bottom: var(--px-border) solid var(--px-black); }
.px-game__title { font-family: var(--px-font); font-size: var(--px-text-sm); line-height: 1.5; text-transform: uppercase; }
.px-game__date { margin-top: var(--px-1); font-family: var(--px-font); font-size: var(--px-text-xs); color: var(--px-sky); min-height: 1em; }
.px-game--red .px-game__title { color: var(--px-red); }
.px-game--purple .px-game__title { color: var(--px-pink); }
.px-game--yellow .px-game__title { color: var(--px-yellow); }
.px-game--blue .px-game__title { color: var(--px-sky); }
.px-game--green .px-game__title { color: var(--px-lime); }
.px-game--orange .px-game__title { color: var(--px-orange); }
.px-game__stage, .px-game__result, .px-game__mount { display: grid; gap: var(--px-4); }
.px-loading { padding: var(--px-10) 0; text-align: center; font-family: var(--px-font); font-size: var(--px-text-sm); color: var(--px-yellow); }
.px-dots::after { content: '...'; display: inline-block; width: 3ch; text-align: left; overflow: hidden; vertical-align: bottom; animation: px-dots 1.2s steps(4, end) infinite; }

.px-result { display: grid; gap: var(--px-4); justify-items: start; }
.px-result__title { font-family: var(--px-font); font-size: var(--px-text-lg); line-height: 1.2; color: var(--px-black); text-shadow: 3px 3px 0 var(--px-grey); }
/* The headline takes the game's colour as its hard shadow: WIN and RUN OVER read the same way. */
.px-game--red .px-result__title { text-shadow: 3px 3px 0 var(--px-red); }
.px-game--purple .px-result__title { text-shadow: 3px 3px 0 var(--px-purple); }
.px-game--yellow .px-result__title { text-shadow: 3px 3px 0 var(--px-yellow); }
.px-game--blue .px-result__title { text-shadow: 3px 3px 0 var(--px-blue); }
.px-game--green .px-result__title { text-shadow: 3px 3px 0 var(--px-green); }
.px-game--orange .px-result__title { text-shadow: 3px 3px 0 var(--px-orange); }
.px-result__score { font-family: var(--px-font); font-size: var(--px-text-xl); line-height: 1; color: var(--px-black); }
.px-result__score--pending { font-size: var(--px-text-md); line-height: 1.5; }
.px-result__actions { width: 100%; display: grid; gap: var(--px-3); }
.px-result__status { min-height: 1.3em; font-size: 18px; }
.px-result__next { font-family: var(--px-font); font-size: var(--px-text-xs); line-height: 1.6; color: var(--px-navy); }

/* ---------- Our own crowd (daily/crowd.js), inside the result panel ---------- */
.px-result__crowd { width: 100%; }
.px-crowd { display: grid; gap: var(--px-2); padding: var(--px-3); border: var(--px-border) solid var(--px-black); background: var(--px-night); color: var(--px-white); }
.px-crowd__title { font-family: var(--px-font); font-size: var(--px-text-sm); line-height: 1.5; color: var(--px-yellow); }
.px-crowd__line { font-family: var(--px-font); font-size: var(--px-text-xs); line-height: 1.8; color: var(--px-white); }
.px-crowd--wait .px-crowd__line { color: var(--px-sky); }
.px-crowd__callout { font-family: var(--px-font); font-size: var(--px-text-xs); line-height: 1.8; color: var(--px-lime); }
.px-crowd__cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--px-1); margin-top: var(--px-1); }
.px-crowd__cell { display: grid; gap: var(--px-1); justify-items: center; padding: var(--px-2) var(--px-1); border: var(--px-border) solid var(--px-navy); background: var(--px-blue); }
.px-crowd__cell--empty { background: var(--px-black); }
.px-crowd__cell--rarest { border-color: var(--px-lime); }
.px-crowd__abbr { font-family: var(--px-font); font-size: var(--px-text-xs); line-height: 1.4; color: var(--px-white); min-height: 1em; text-align: center; overflow-wrap: anywhere; }
.px-crowd__pct { font-family: var(--px-font); font-size: var(--px-text-sm); color: var(--px-yellow); }

/* A ghost button on a white result panel reads black on white. */
.px-result .px-btn--ghost { color: var(--px-black); border-color: var(--px-black); }
@media (hover: hover) { .px-result .px-btn--ghost:hover:not(:disabled) { background: var(--px-yellow); color: var(--px-black); } }
/* A lock-in game's verdict sits above today's card (daily/games/pickem.js mountVerdict). */
.px-game__verdict { display: grid; gap: var(--px-4); }
.px-game__verdict:empty { display: none; }

/* ---------- The daily challenge (daily/challenge.js) ---------- */
.px-challenge { display: grid; gap: var(--px-3); background: var(--px-yellow); color: var(--px-black); }
.px-challenge__top { display: flex; align-items: center; gap: var(--px-3); }
.px-challenge__sprite .px-sprite { width: 36px; height: 32px; display: block; filter: drop-shadow(3px 3px 0 var(--px-black)); }
.px-challenge__kicker { font-family: var(--px-font); font-size: var(--px-text-sm); line-height: 1.5; text-transform: uppercase; }
.px-challenge__title { font-family: var(--px-body); font-size: 24px; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.px-challenge__game { display: flex; flex-wrap: wrap; align-items: center; gap: var(--px-2); font-family: var(--px-font); font-size: var(--px-text-xs); line-height: 1.8; }
.px-challenge__game .px-badge--team { font-size: var(--px-text-xs); padding: 2px var(--px-1); }
.px-challenge__count { font-family: var(--px-font); font-size: var(--px-text-xs); line-height: 1.8; color: var(--px-navy); }
.px-challenge__actions { display: grid; gap: var(--px-3); }
.px-challenge .px-btn--yellow { background: var(--px-black); color: var(--px-yellow); }
@media (hover: hover) { .px-challenge .px-btn--yellow:hover:not(:disabled) { background: var(--px-white); color: var(--px-black); } }

.px-fanpick { display: grid; gap: var(--px-3); }
.px-fanpick .px-panel__title { margin-bottom: 0; color: var(--px-lime); }
.px-fanpick__title { font-family: var(--px-body); font-size: 22px; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.px-fanpick__meta, .px-fanpick__why { font-family: var(--px-font); font-size: var(--px-text-xs); line-height: 1.8; color: var(--px-sky); overflow-wrap: anywhere; }
.px-fanpick__why { color: var(--px-white); }

.px-boardscreen .px-game__title { color: var(--px-yellow); }
.px-board { display: grid; gap: var(--px-3); }
.px-board__title { margin-bottom: 0; color: var(--px-white); }
.px-board__rule { font-family: var(--px-font); font-size: var(--px-text-xs); line-height: 1.8; color: var(--px-sky); }
.px-board__list { display: grid; gap: var(--px-3); margin: 0; padding: 0; list-style: none; }
.px-entry {
  width: 100%;
  min-height: var(--px-tap);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--px-3);
  align-items: center;
  padding: var(--px-3);
  border: var(--px-border) solid var(--px-black);
  border-radius: 0;
  background: var(--px-navy);
  color: var(--px-white);
  box-shadow: var(--px-shadow);
  text-align: left;
  cursor: pointer;
  transition: transform var(--px-fast) steps(1, end), box-shadow var(--px-fast) steps(1, end);
}
.px-entry:active { transform: translate(4px, 4px); box-shadow: 0 0 0 0 var(--px-black); }
.px-entry:focus-visible { outline: 4px solid var(--px-sky); outline-offset: 4px; }
.px-entry--top { background: var(--px-purple); }
.px-entry__rank { font-family: var(--px-font); font-size: var(--px-text-md); color: var(--px-yellow); text-shadow: 3px 3px 0 var(--px-black); }
.px-entry__body { display: grid; gap: var(--px-1); min-width: 0; }
.px-entry__title { font-family: var(--px-body); font-size: 20px; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.px-entry__meta { font-family: var(--px-font); font-size: var(--px-text-xs); line-height: 1.8; color: var(--px-sky); overflow-wrap: anywhere; }
.px-entry__sprite .px-sprite { width: 28px; height: 26px; display: block; }
@media (hover: hover) { .px-entry:hover { background: var(--px-blue); } }
.px-board__empty { color: var(--px-white); }

/* ---------- The stub game (the contract's reference) ---------- */
.px-stub { display: grid; gap: var(--px-4); }
.px-stub__sides { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--px-3); align-items: start; }
.px-stub__side { display: grid; gap: var(--px-2); justify-items: start; }
.px-stub__name { font-size: 18px; line-height: 1.2; }
.px-stub__value { font-family: var(--px-font); font-size: var(--px-text-lg); }
.px-stub__vs { align-self: center; font-family: var(--px-font); font-size: var(--px-text-sm); }
.px-stub__verdict { min-height: 1.5em; font-family: var(--px-font); font-size: var(--px-text-sm); }

/* ---------- Motion (steps only) ---------- */
.px-blink { animation: px-blink 1s steps(2, jump-none) infinite; }
.px-pop { animation: px-pop var(--px-slow) steps(4, end) both; }
.px-shake { animation: px-shake 240ms steps(4, end); }
@keyframes px-blink { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes px-pop { 0% { transform: scale(.5); } 50% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes px-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes px-dots { 0% { width: 0; } 100% { width: 4ch; } }

@media (prefers-reduced-motion: reduce) {
  .px *, .px *::before, .px *::after { animation: none !important; transition: none !important; }
}

/* ---------- Narrow screens (320 px) ---------- */
@media (max-width: 379px) {
  .px-hero__stats { grid-template-columns: minmax(0, 1fr); }
  .px-tile__title { font-size: 10px; }
}

/* ---------- Wider screens ---------- */
@media (min-width: 600px) {
  .px-wordmark { font-size: var(--px-text-xl); }
  .px-tile__blurb { font-size: 18px; }
}
