/* =====================================================================
   KC-FIELD — the line field's canvas (behaviour: assets/kc-field.js). It fills the backdrop it lies in
   (the store's .kc-back, assets/store.css); the prototype's own rule (mock/transition/_keycard/style.css).
   ===================================================================== */
.kc-field { inset: 0; width: 100%; height: 100%; }
/* the store's field is drawn by the processor (kc-field.js): on a layer of its own, as a canvas the graphics card draws
   is, so its 30 drawings a second do not make the browser draw the page under and over it again, and the text over
   it keeps its smoothing (painted with the page, the store's text turned from grey to colour-fringed smoothing) */
.kc .kc-field { will-change: transform; }
/* the hole's echo: a faint arc of its disk at the backdrop's foot, drawn once (kc-field.js), under the lines */
.kc-arc { inset: 0; width: 100%; height: 100%; }
/* (tiers) the store's two more arcs for its chosen duration's step (store.css "(tiers)"): only the foot they lie in */
.kc-back > .kc-arc-t { top: auto; height: 240px; }
/* the film grain (kc-field.js puts it in, last): over the backdrop's light and lines, under everything on it, so it never
   lies on text or on a card's art. White specks only (a black ground cannot show dark ones), fractal noise from an SVG
   filter (no file to load), still; a barely seen texture (the owner, 2026-11-27: "deutlich weniger": a quarter of
   Variant B's 0.1, which lay over the whole page) */
.kc-grain {
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 4 0 0 0 -2.3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 180px 180px repeat;
  opacity: 0.025;
}

/* The pages behind the store (site.css KEYCARD PAGES: the root carries kc-pg): the prototype's backdrop under
   the bar, one screen high (mock/store2/keycard/style.css .kc-back, .kc-glow, .kc-side, with keycard/pages.css:
   the glow 1400 x 900 at each page's own place, set inline on it). Phones: 330 px high, no field. */
.kc-pg .kc-back { position: absolute; z-index: 0; left: 0; right: 0; top: var(--bar); height: var(--screen-h); overflow: hidden; pointer-events: none; background: #050506; }
.kc-pg .kc-back > * { position: absolute; display: block; }
.kc-pg .kc-glow { width: 1400px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025) 50%, rgba(255, 255, 255, 0)); }
.kc-pg .kc-side { inset: 0; background: linear-gradient(90deg, rgba(5, 5, 6, 0.9) 0, rgba(5, 5, 6, 0) 26%, rgba(5, 5, 6, 0) 74%, rgba(5, 5, 6, 0.9) 100%); }
@media (max-width: 760px) {
  .kc-pg .kc-back { height: 330px; }
  .kc-pg .kc-field { display: none; }
}