/* kranium.games deltas on the shared site.css (Score's 2026-11-13
   kranium.games site spec). site.css stays byte-identical across every
   site folder; only what is new on kranium.games lives here. Every value
   is a GL-003 token or a GL-008 reserved literal. */

/* ------------------------------------------------- inverted child scheme */
/* GL-003 §2.7 (Matt, 2026-11-14): on its own site a child is a neutral
   page with its colour as type, glyphs, rules, tags, links and focus; it
   never shows a full-bleed field of its own colour. Role tokens and values
   are GL-003 §2.7's mapping table, verbatim. Body paragraphs are neutral.

   header.js knows a fixed set of surface names, so this site reuses two:
   `dark` is the page and `games` is the alternate band and footer.
   Both are redefined here, only under .property-games. */
.property-games {
  --site-page: #111111;
  --site-band: #1F1F1F;
  --site-display: #FF5CAA;
  --site-body: #CFCFCF;
  --site-muted: #8F8F8F;
  --site-label: #FF5CAA;
  --site-rule: #FF5CAA;
  --site-divider: #7A7A7A;
  --site-tag: #FF5CAA;
  --site-tag-active-fill: #FF5CAA;
  --site-tag-active-text: #111111;
  --site-link: #FF5CAA;
  --site-focus: #FF5CAA;
}

.property-games .surface--dark,
.property-games .surface--games {
  --surface-ink: var(--site-display);
  --surface-body: var(--site-body);
  --surface-quiet: var(--site-muted);
  --surface-rule: var(--site-rule);
  --surface-outline: var(--site-tag);
  --surface-focus: var(--site-focus);
  --surface-glyph: var(--site-label);
}

.property-games .surface--dark { --surface-bg: var(--site-page); }
.property-games .surface--games { --surface-bg: var(--site-band); }

/* Paragraphs read in the neutral body colour, title-size ones included. */
.property-games .field__body p,
.property-games .notfound__sentence {
  color: var(--site-body);
}

/* Plain dividers between index rows are decorative n2. */
.property-games .index,
.property-games .index__item {
  border-color: var(--site-divider);
}

/* An index row inverts like a tag: child-colour fill, on-colour text. */
.property-games .index__row:hover,
.property-games .index__row:focus-visible,
.property-games .index__row:active {
  --surface-bg: var(--site-tag-active-fill);
  --surface-ink: var(--site-tag-active-text);
  --surface-quiet: var(--site-tag-active-text);
  --surface-outline: var(--site-tag-active-text);
  --surface-glyph: var(--site-tag-active-text);
  background-color: var(--site-tag-active-fill);
  color: var(--site-tag-active-text);
}

.property-games .index__row:focus-visible {
  outline-color: var(--site-focus);
}

/* bp-compact: a bottom row's tag sits left, beneath the (absent) links
   (kranium.so spec §3 blocks 5-7, inherited). */
@media (max-width: 479px) {
  .game .bottom-row > .tag:only-child { margin-left: 0; }
}

/* ------------------------------------------------------------- footer */
/* Group 3 (legal) is withheld until kranium.co's policies name
   kranium.games (spec G-M2). Its slot keeps the column lines; when
   stacked it takes no space. */
@media (max-width: 479px) {
  .footer__withheld { display: none; }
}
