/* ─────────────────────────────────────────────────────────────────────────────
   Poster style — the hero recoloured for a daylight ground.

   Scoped to [data-art="poster"] so the night version survives intact at
   ?art=night. Only the hero and the bar over it change: the sections below
   keep the dark ground and butt against the coral as flat blocks, which is
   how a poster handles a colour change anyway.

   Everything here removes something. A flat illustration has no glow, no
   scrim, no drop shadow and no ghosted word behind the type — each of those
   was doing a job that only exists on a photographic ground.
   ──────────────────────────────────────────────────────────────────────────── */

/* These are baseball's values, and they are only the FALLBACK. Scene sets the
   same six from the sport's palette in scene/poster.js the moment it builds,
   so hockey and football recolour the whole hero without a rule of their own.
   Keeping literals here means the page is still correct for the instant
   before the scene exists, and if the scene never builds. */
:root[data-art="poster"] {
  --p-ground: #FFD600;
  --p-field: #FD6A3F;
  --p-cream: #F8F6EC;
  --p-ink: #2D2A29;
  --p-maroon: #5A2F39;
  /* The accent on the surname and the live ring. It is deliberately NOT the
     field colour: hockey's field is the ice, which would put a white name on
     white. Each palette names its own in scene/poster.js. */
  --p-name: #FD6A3F;
}

/* The hero's own ground, so nothing shows through before the scene paints. */
:root[data-art="poster"] .hero { background: var(--p-ground); }

/* No scrim: the type is dark on a light ground and needs no help, and a
   gradient over a flat fill is the one thing that would break the style. */
:root[data-art="poster"] .scene::after { background: none; }
:root[data-art="poster"] .scene { background: var(--p-ground); }

/* No ghosted word, no pool of light under the device. */
:root[data-art="poster"] .hero-ghost { display: none; }
:root[data-art="poster"] .hero-phone::before { display: none; }

/* ── Type ─────────────────────────────────────────────────────────────────── */
:root[data-art="poster"] .hero-name .ln1 { color: var(--p-ink); }
:root[data-art="poster"] .hero-name .ln2 { color: var(--p-name); }
:root[data-art="poster"] .hero-kicker .eyebrow { color: var(--p-maroon); }
:root[data-art="poster"] .hero-kicker .dot { background: var(--p-name); }

:root[data-art="poster"] .hero-num b {
  color: rgba(45, 42, 41, 0.10);
  -webkit-text-stroke-color: var(--p-maroon);
}
:root[data-art="poster"] .hero-num .meta span { color: var(--p-maroon); }
:root[data-art="poster"] .hero-num .meta strong { color: var(--p-ink); }

/* ── The now-playing card: cream, with a drawn edge rather than a shadow ──── */
:root[data-art="poster"] .np {
  background: var(--p-cream);
  box-shadow: inset 0 0 0 2px var(--p-ink);
}
:root[data-art="poster"] .np.is-live { box-shadow: inset 0 0 0 2px var(--p-name); }
:root[data-art="poster"] .np-text .lbl { color: var(--p-maroon); }
:root[data-art="poster"] .np-text .ttl { color: var(--p-ink); }
:root[data-art="poster"] .np-start { color: var(--p-maroon); }
:root[data-art="poster"] .np-start span { color: var(--p-maroon); }

/* ── The bar sitting over the hero ────────────────────────────────────────── */
:root[data-art="poster"] .topbar .brand { color: var(--p-ink); }
:root[data-art="poster"] .sound-toggle {
  color: var(--p-ink);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--p-ink);
}
:root[data-art="poster"] .get-btn {
  background: var(--p-ink);
  color: var(--p-ground);
}

/* ── The ball: flat, outlined, no gradient and no drop shadow ─────────────── */
:root[data-art="poster"] .hero-obj {
  filter: none;
  opacity: 1;
}

/* The boombox is already built to this language — flat fills, two tones,
   one highlight, a 9-unit ink outline — so poster mode only drops the soft
   shade, which is the one modelling device in it. */
:root[data-art="poster"] .hero-obj .eq-shade { display: none; }
:root[data-art="poster"] .hero-obj .eq-blast { stroke: var(--p-ink); }


/* ── Portrait: the hero's own ground continues the field ──────────────────────
   scene.css caps the park at 78vh on a phone, deliberately, so the horizon
   does not land halfway down a 1200px hero. In the night style what showed
   below it was the page's dark ground, which read as "the page". In poster
   mode the hero's background is the SKY colour, so the device sat on a slab
   of yellow underneath its own horizon. Carrying the field colour on from
   exactly where the scene stops puts the phone back on the ground.
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  :root[data-art="poster"] .hero {
    background: linear-gradient(to bottom,
      var(--p-ground) 0 min(100%, 78vh),
      var(--p-field) min(100%, 78vh));
  }
}
