/* Poké Unpacked -- the Holo skin. The public look since 2026-11-21 (PUBLIC_SKIN in src/switches.mjs). Laid over
   style.css, lanes.css and catalog.css: a new part of a page that writes a light colour out by hand needs a line
   here, and tools/audit-contrast.mjs finds the ones that were missed.
   What it changes: the colour variables, every colour the three sheets write out by hand, the heading font
   (Sora, our own copy, SIL Open Font License), the header logo's wordmark and the picture in the home page hero.
   Product photos and our box drawings stay on a light tile: they are made for one.
   The pages load this sheet for screens only (media="screen" on its link): a printed page uses the plain sheets,
   dark ink on white paper. */

@font-face { font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(skin/sora.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --ink: #eef1ff;
  --ink-2: #c9cef0;
  --paper: #0b0f24;
  --surface: #151a3a;
  --line: rgba(255, 255, 255, .16);
  --line-2: rgba(255, 255, 255, .28);
  --muted: #b9bfe4;
  --accent: #67e8f9;
  --accent-soft: rgba(103, 232, 249, .13);
  --amber: #ffd76a;
  --amber-soft: rgba(255, 215, 106, .14);
  --good: #6ee7a0;
  --good-soft: rgba(110, 231, 160, .14);
  --warn: #ffd76a;
  --warn-soft: rgba(255, 215, 106, .14);
  --bad: #ff9a94;
  --bad-soft: rgba(255, 154, 148, .14);
  --learn: #c4b5fd;
  --learn-soft: rgba(196, 181, 253, .16);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 26px rgba(0, 0, 0, .28);
  --serif: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --foil: linear-gradient(100deg, #67e8f9, #a5b4fc 40%, #f5a8ff 70%, #ffd76a);
  --foil-edge: linear-gradient(130deg, #67e8f9, #a5b4fc 45%, #f5a8ff 75%, #ffd76a);
  --panel-2: #1c2250;
}

body { background: var(--paper); }
a:hover { color: #c9f6fc; }
h1, h2, h3 { letter-spacing: -.02em; }
h1 { font-weight: 800; }

/* header */
.site-header { background: rgba(11, 15, 36, .93); border-bottom-color: var(--line); }
.logo { font-size: 20px; }
.logo svg { width: 36px; height: 36px; flex: none; display: block; }
.logo span { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav a { border-radius: 999px; }
.nav a.on { color: #0b0f24; background: var(--accent); }
.nav a.on:hover { color: #0b0f24; background: #a5f3fc; }
.search input { color: var(--ink); border-color: var(--line-2);
  background: #151a3a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9bfe4' stroke-width='2.2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") no-repeat 11px center / 15px; }
.search input::placeholder { color: #a3aad6; }
.search .results { background: #151a3a; border-color: var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, .55); }
@media (hover: hover) and (min-width: 1160px) {
  .nav .menu-in { background: #151a3a; border-color: var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, .55); }
}

/* buttons: a light pill by default; the foil is kept for the one main button of a band */
.btn { background: #eef1ff; color: #0b0f24; border-color: #eef1ff; border-radius: 999px; }
.btn:hover { background: #ffffff; color: #0b0f24; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .09); color: var(--ink); }

/* cards and panels */
.pick, .deck, .item, .boxcard, .setcard, .gift, .kind, .store, .inside, .hubask, .rcard, .tablewrap, .filters, details { border-radius: 18px; }
.answer { border-color: rgba(103, 232, 249, .38); border-radius: 18px; }
.callout { background: var(--surface); }
.callout.warn { background: #211f33; }
.callout.bad { background: #26193a; }
.pick.top { border-color: #ffd76a; }
.badge.gray { background: rgba(255, 255, 255, .1); color: var(--muted); }
.disclose { border-radius: 14px; }
.meter i { background: rgba(255, 255, 255, .18); }
.chip.pk { background: rgba(165, 180, 252, .2); color: #c7d2fe; }
.chip.tr { background: rgba(255, 215, 106, .16); color: #ffe08a; }
.chip.en { background: rgba(110, 231, 160, .16); color: #86efac; }
.steps li::before, .quick .n { background: var(--accent); color: #0b0f24; }
.mark .L { background: #2c3470; color: #ffffff; }
.mark.legal .L { background: #15803d; }
.mark.leaving .L { background: #a16207; }
.mark.gone .L { background: #5b6382; }
.designs span, .storechips span { background: rgba(255, 255, 255, .1); color: var(--ink-2); }
.cardfig ol li::before { color: #0b0f24; }

/* tables */
th { background: rgba(255, 255, 255, .06); }
tr.total td { background: rgba(255, 255, 255, .06); }
tr.rumor td { background: rgba(255, 215, 106, .08); }
.lp, .boxcard .pr .lp { color: #ffd76a; }

/* home: the four ways in, with a foil edge */
.path, .path.parents, .path.players, .path.buy, .path.learn, .path.play, .path.safe {
  border: 1.5px solid transparent; border-radius: 18px; color: var(--ink);
  background: linear-gradient(#151a3a, #151a3a) padding-box, var(--foil-edge) border-box; }
.path:hover, .path.learn:hover, .path.play:hover, .path.safe:hover {
  border-color: transparent; color: var(--ink);
  background: linear-gradient(#1c2250, #1c2250) padding-box, var(--foil-edge) border-box; }

/* home: the hero picture. A band above the headline on a phone, beside it on a wide screen. "Wide" starts at
   1100px: between 900 and 1100 the picture sat under the end of the headline (seen at 960px, 2026-11-21). */
.hero { position: relative; }
.hero > * { position: relative; z-index: 1; }
.hero::before { content: ""; display: block; height: 190px; margin: -26px 0 24px; border-radius: 18px; border: 1px solid var(--line);
  background: #090f21 url(skin/hero.webp) 68% center / cover no-repeat; }
@media (min-width: 1100px) {
  .hero::before { position: absolute; z-index: 0; right: -20px; top: 6px; width: 560px; height: 336px; margin: 0; border: 0; border-radius: 0;
    background: url(skin/hero.webp) right -20px center / auto 104% no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 88%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 80%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent, #000 30%, #000 88%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 80%, transparent);
    mask-composite: intersect; }
}

/* home: the dark band becomes the foil-wave band. The overlay never drops below .72: at .70 the text over the
   brightest spot of the picture still measures 5.9:1, at .50 it fell to 2.9:1. */
.promo { color: #eef1ff; border-radius: 22px;
  background: linear-gradient(90deg, rgba(9, 13, 32, .95) 0%, rgba(9, 13, 32, .84) 55%, rgba(9, 13, 32, .72) 100%), #0b1026 url(skin/waves.webp) center / cover no-repeat; }
.promo p, .promo ul { color: #e3e6fb; }
.promo .eyebrow { color: #ffd76a; }
.promo .btn { background: var(--foil); border-color: transparent; color: #0b0f24; }
.promo .btn:hover { filter: brightness(1.08); color: #0b0f24; }
.promo .btn[style] { border-color: rgba(255, 255, 255, .6) !important; background: rgba(9, 13, 32, .55) !important; color: #ffffff !important; }

/* box pictures: photos and drawings keep a light tile */
.bimg { background: #eef1ff; border-radius: 12px; }
.buyit { border-color: rgba(103, 232, 249, .38); border-radius: 18px; }
.buyit.v-no { border-color: rgba(255, 154, 148, .45); background: #26193a; }
.buyit.v-wait { border-color: rgba(255, 215, 106, .45); background: #211f33; }
.inside .n.zero { color: #9aa1cc; }
.filters input[type=search], .filters select { background: #0b0f24; color: var(--ink); border-color: var(--line-2); }
/* every box people type in: the browser's own grey hint is too faint on a dark box (4.1:1, found 2026-11-22) */
input::placeholder, textarea::placeholder { color: #a3aad6; opacity: 1; }
.alertme { background: #151a3a; color: #eef1ff; }
.alertme button { color: #0b0f24; }
.timeline li.old::before { background: #5b6382; }
.adslot .adbox { background: repeating-linear-gradient(135deg, #121738, #121738 10px, #171d45 10px, #171d45 20px); }

/* section pages */
.hubstart, .hubstart.learn, .hubstart.play, .hubstart.safe { border-radius: 18px; color: var(--ink); }
.hubstart { background: linear-gradient(160deg, #151a3a 55%, #17334d); }
.hubstart.learn { background: linear-gradient(160deg, #151a3a 55%, #2a2a63); }
.hubstart.play { background: linear-gradient(160deg, #151a3a 55%, #3a3340); }
.hubstart.safe { background: linear-gradient(160deg, #151a3a 55%, #3d2540); }
.hubstart:hover { color: var(--ink); }

/* footer */
.site-footer { background: #070a1a; border-top-color: var(--line); }
