/* =============================================================
   ParlayDesk — enamel finish for the large hero identity tiles
   (Public Pages 2.0, 2026-11-09, BETA). One shared treatment for the NHL
   team page's code tile (.pp-ttile) and the NHL player page's jersey-
   number tile (.pp-pmark), both marked .pp-enamel. Loaded only by those
   two pages, after their own stylesheet.

   The fill is still the team's colour (--team, with --team-edge for the
   rim, from public/team-badges.js). On top of it, as background layers
   (so always beneath the text): a soft upper-left highlight, a faint
   top-to-bottom shading, and a fine bright top edge / darker bottom edge
   with a soft drop shadow. No blur, transparency or animation; size,
   shape, type and responsive behaviour are the pages' own.

   Rim (2026-11-10): --team-rim when the page sets it (light fills such as
   PIT gold, team-badges.js rimColor), else the edge colour as before. The
   same rim and layers are used by Research's number tile and Game
   Center's jersey / team tiles.
   ============================================================= */

.pp-wrap .pp-enamel {
  background:
    radial-gradient(130% 70% at 14% 0%, rgba(255,255,255,.20) 0%, rgba(255,255,255,.06) 38%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 45%, rgba(0,0,0,.14) 100%),
    var(--team);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -1.5px 0 rgba(0,0,0,.20),
    inset 0 0 0 1.5px var(--team-rim, color-mix(in srgb, var(--team-edge) 55%, transparent)),
    0 1px 2px rgba(2,6,23,.40),
    0 8px 24px rgba(2,6,23,.45);
}

@media (forced-colors: active) {
  .pp-wrap .pp-enamel { background: Canvas; box-shadow: none; }
}
