/* =====================================================================
   STORE — the Keycard store as the owner approved it (mock/store2/keycard/index.html, WITH its cards), ported 1:1:
   the prototype's stylesheets in their order, verbatim (mock/store2/shared/base.css for the pieces the store uses,
   shared/cols.css, keycard/style.css). Markup: snippets/store-screen.njk; behaviour: assets/store.js; the line
   field: assets/kc-field.js (+ kc-field.css).
   Allowed differences, each marked "(port)" where it happens:
     - the prototype's base pieces are the site's identical sx- components (site.css): .micro = .sx-micro, .btn =
       .sx-btn, .st = .sx-status, .stock = .sx-stock, .meta = .sx-meta, .go = .sx-go, .pay = .sx-pay, .dot = .sx-dot,
       .ph/.pht = .sx-ph/.sx-pht (the theme's Bootstrap owns .btn, its scripts decorate other names); where an sx-
       piece differs from the prototype's by a value, the prototype's value is set here
     - the shop's data, the owner's tabs and SellAuth's product form in place of the fixed placeholders; the screen
       holds every product, the chosen one's pieces shown
     - a view longer than the stage scrolls inside its sheet (the prototype cut rows away on low windows)
     - (art) the owner's artistic edge, 2026-11-27 (work/store_effects.md): product names in the display face's caps
       (site.css --sx-display), the one accent (--sx-accent) on the chosen row and duration, a good status and the
       keyboard's rings, and a product's own artwork as the card's face
   Scope: everything below .kc (the store's root, #st), so nothing reaches other pages.
   ===================================================================== */

/* ---------------- tokens (base.css; the bar's height and the gutter are the site's, the same values) ---------------- */
.kc {
  --bar: var(--sx-bar);
  --gut: var(--sx-gut);
  --ink: #f5f5f6;
  --silver: #d4d4d8;
  --dim: rgba(245, 245, 246, 0.72);
  --faint: rgba(245, 245, 246, 0.56);
  --ghost: rgba(245, 245, 246, 0.46);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.16);
  --line-3: rgba(255, 255, 255, 0.34);
  --ease: cubic-bezier(0.19, 0.8, 0.22, 1);
  --col-l: 344px;
  --col-r: 400px;
  --gap: 56px;
  --screen-h: max(calc(100vh - var(--bar)), 600px);
  position: relative;
  background: #050505;
  font-size: 15px;
  line-height: 1.5;
}
@media (max-width: 1700px) { .kc { --col-l: 300px; --col-r: 352px; --gap: 40px; } }
@media (max-width: 1320px) { .kc { --col-l: 260px; --col-r: 320px; --gap: 28px; } }

/* no tap flash on the store's cards and controls (the final review, 2026-11-26): the browser's own tap colour, a teal box
   over a deck card for about 150 ms, read as a glitch on the dark glass. The keyboard keeps its focus rings (below) */
.kc { -webkit-tap-highlight-color: transparent; }

/* (port) the columns' top margin (the bar's height) stays inside the store's root: it collapsed through it, so the
   root, and the backdrop placed in it under the bar, started 72 px lower than the prototype's (found by the pages agent) */
.kc { display: flow-root; }

/* (port) the component's frame in the visual editor: its toolbar below the bar, none in a real tab */
.st-root { position: relative; }
.st-root > .builder-toolbar { top: calc(var(--sx-bar, 72px) + 16px); z-index: 95; }
html.sx-tab .st-root > .builder-toolbar { display: none !important; }

/* (port) the screen holds every product: only the chosen one's pieces show; a place without content is not there */
.kc [data-st-of]:not(.is-on) { display: none !important; }
.kc .kc-empty { display: none !important; }
.kc-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }

/* (port) the pointer's place, -1 .. 1 (store.js, the prototype's xs.js): only the card reads it, for its lean.
   Registered as not inherited, and set on the card alone, so a move of the pointer does not restyle the whole store
   every frame (on the prototype's small page it was set on <body>) */
@property --mx { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --my { syntax: '<number>'; inherits: false; initial-value: 0; }

/* ---------------- base.css pieces, on the site's components (port: the prototype's values) ---------------- */
.kc .num, .kc .xs-cost b, .kc .xs-k { font-variant-numeric: tabular-nums; }
.kc .sx-btn--ghost { background: rgba(255, 255, 255, 0.04); }
.kc .sx-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.kc .sx-pay { font-size: 14px; line-height: 1.2; color: var(--ink); }
.kc .sx-go { gap: 8px; font-size: 14px; color: var(--ink); white-space: nowrap; }
.kc .sx-go svg { width: 13px; height: 13px; stroke-width: 2; opacity: 0.8; }
.kc .sx-go:hover { color: var(--ink); }
.kc .sx-go:hover svg { transform: none; }
.kc .sx-status { gap: 8px; font-size: 13.5px; line-height: 1; color: var(--dim); white-space: nowrap; }
.kc .sx-status > i { width: 9px; height: 9px; }
.kc .sx-status > span { overflow: visible; text-overflow: clip; }
.kc .sx-status--ph > span { padding-bottom: 2px; border-bottom: 1px dashed rgba(255, 255, 255, 0.42); }
.kc .sx-meta > * + *::before { margin: 0 14px; }
.kc .sx-ph { border: 1px dashed rgba(255, 255, 255, 0.4); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 11px), #09090b; }
.kc .sx-ph b { font-size: 15px; }
.kc .sx-ph small { font-size: 10.5px; }
.kc .sx-pht { border-bottom-color: rgba(255, 255, 255, 0.4); }

/* =====================================================================
   The Select layout (cols.css): one screen under the band, three columns
   ===================================================================== */
.xs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: var(--col-l) minmax(0, 1fr) var(--col-r);
  gap: 0 var(--gap);
  height: var(--screen-h);
  margin-top: var(--bar);
  padding: 40px var(--gut) 36px;
}

/* ---------- the product list ---------- */
.xs-roster { position: relative; display: flex; flex-direction: column; min-height: 0; }
.xs-list-head { display: flex; align-items: center; justify-content: space-between; height: 16px; }
.xs-list { margin-top: 24px; }
.xs-group { display: flex; align-items: center; gap: 14px; height: 46px; padding-top: 12px; }
.xs-group::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.xs-group:first-child { padding-top: 0; height: 32px; }

.xs-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 100%;
  height: 88px;
  padding: 0 20px 0 24px;
  text-align: left;
  color: var(--dim);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.xs-row + .xs-row { margin-top: 4px; }
.xs-row:hover { color: var(--ink); }
.xs-row.is-on { color: #fff; }
.xs-ix, .xs-mini, .xs-g { display: none; }
.xs-name { display: block; min-width: 0; }
.xs-nm { display: block; font-size: 26px; line-height: 1.1; letter-spacing: -0.01em; white-space: nowrap; }
.xs-name .sx-status { display: flex; margin-top: 10px; letter-spacing: 0; }
.xs-row:not(.is-on) .sx-status { color: var(--faint); }
/* (port, store_fix) keyboard focus: a ring inside the row's border, where nothing covers it */
.xs-row:focus-visible { outline: none; }
.xs-row:focus-visible::after { content: ''; position: absolute; inset: 3px; pointer-events: none; outline: 2px solid var(--sx-accent); }

/* ---------- the stage (each concept fills it) ---------- */
.xs-stage { position: relative; min-width: 0; min-height: 0; }

/* ---------- the buy panel ---------- */
.xs-panel { position: relative; display: flex; flex-direction: column; min-height: 0; }
/* (port) one panel per product, the chosen one shown: it is the prototype's panel */
.xs-p { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; }
.xs-title { margin-top: -4px; font-size: 48px; line-height: 0.97; letter-spacing: 0; white-space: nowrap; color: #fff; filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.07)); }
.xs-title small { display: block; margin-bottom: 16px; font-size: 13px; line-height: 1; letter-spacing: 0.3em; color: var(--dim); }
/* (art) the name as the artwork sets its title: the display face's caps, white falling off to silver toward the foot of
   each line, a faint glow (the filter above); one or two balanced lines. Two thirds of the prototype's sizes at every
   step: the caps are about twice as wide */
.kc .xs-title > span {
  background: linear-gradient(180deg, #ffffff 28%, #c3c8d2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* (art) the display face: the panel's title, the card's engraving, the opened card's head, the phone deck and the phone
   sheet's head (the list keeps its names: in caps it became a wall of heavy words) */
.kc .xs-title > span, .kc .kc-name, .kc .kc-head b, .kc .kc-bs-n { font-family: var(--sx-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0; }
.xs-meta { margin-top: 22px; }
.xs-line { margin-top: 18px; font-size: 16.5px; line-height: 1.45; }
.xs-fill { flex: 1 1 auto; min-height: 12px; }
/* the buy block stands at the panel's foot, as in the prototype, where the owner's words fill the panel (the product's
   line under its name and what its durations buy; the owner's preview shows their placeholders). A panel without them
   (xs-p--short, store-screen.njk), as in the shop today, had a hole of up to 390 px above the price (the final review,
   2026-11-26): there the buy block follows the durations. (A class from the template rather than :has(), which the
   browser would check again on every change inside the panels) */
.kc:not(.kc-demo) .xs-p--short > .xs-fill { flex: 0 0 32px; }
.xs-what { margin-bottom: 18px; font-size: 14.5px; }
.xs-cost { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.xs-cost b { font-size: 42px; line-height: 1; letter-spacing: -0.01em; color: #fff; }
/* (port) the agreed payment words are longer than the prototype's: on a narrow panel they take two lines */
.xs-cost .sx-pay { min-width: 0; padding-left: 12px; text-align: right; }
.xs-buy .sx-btn + .sx-btn { margin-top: 8px; }
.xs-help { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
/* (port) "Get in touch" and "Vouches" side by side at the line's end */
.xs-help-go { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.xs-help .xs-vouch { color: var(--dim); }
/* (port) the owner's help text or, without one, "Questions?" (the owner's preview: the prototype's placeholder) */
.xs-help > .sx-pht ~ .xs-help-q { display: none; }
/* (polish) the line stays one line, as the prototype's, so the price block stands where the prototype's does: beside
   the two links the owner's placeholder fits on the widest panel only ("Delivery, support (yours)"); on a narrower one
   "Questions?" stands in its place, in the owner's preview as tall as the placeholder (its dashed line's room). Phones
   keep the placeholder (their panel is in the page's flow) */
.xs-help { container-type: inline-size; }
@media (min-width: 761px) {
  @container (max-width: 380px) {
    .kc .xs-help > .sx-pht { display: none; }
    .kc .xs-help > .sx-pht ~ .xs-help-q { display: inline; }
  }
}
.kc-demo .xs-help-q { padding-bottom: 2px; border-bottom: 1px solid transparent; }
.xs-hiw { display: grid; gap: 8px; margin-top: 14px; }
.xs-hiw li { display: grid; grid-template-columns: 26px 1fr; align-items: baseline; font-size: 14px; line-height: 1.35; }
.xs-hiw li > i { font-size: 11px; letter-spacing: 0.12em; color: var(--ghost); }

.xs-qty { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.xs-qty > span:first-child, .xs-qty label { margin: 0; font-size: 14px; color: var(--ink); }

.xs-dock { display: none; }

/* ---------- views: only the chosen one is shown ---------- */
.xs-view { display: none; }
.xs-view.is-on { display: block; }

/* (port) SellAuth's product form in the panel (snippets/product-form.njk): notes, the check, a refusal */
.st-form-note { display: block; margin: -8px 0 14px; font-size: 13px; line-height: 1.35; color: var(--dim); }
.st-more { margin-top: 8px; }
.st-more .st-form-note { margin: 8px 0 0; }
.xs-buy { position: relative; }
/* the automatic check works unseen; store.js shows its box (over the help line) only when it needs the buyer */
.st-altcha { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.st-altcha.is-shown { left: 0; right: 0; bottom: 0; z-index: 2; width: auto; height: auto; overflow: visible; clip-path: none; background: var(--sx-plate); }
.st-alert { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; min-height: 45px; margin: 0; padding: 12px 14px; border: 1px solid rgba(255, 196, 140, 0.45); background: #110d09; color: #f6e9da; font-size: 13.5px; line-height: 1.35; }
/* Add to cart on the store page: "Adding…", then "Go to cart" (store.js); a buy on its way keeps its colour */
.st-add .st-add-0, .st-add .st-add-2 { display: none; }
.st-add.is-busy .st-add-1, .st-add.is-added .st-add-1 { display: none; }
.st-add.is-busy .st-add-0 { display: inline; }
.st-add.is-added .st-add-2 { display: inline-flex; align-items: center; gap: 10px; }
.st-add.is-busy, .st-buy-now.st-busy { cursor: progress; }
.st-buy-now.st-busy:disabled { opacity: 1; }

/* =====================================================================
   (variants) the shop's durations (SellAuth's variants) and its longer names (work/store_variants.md)
   ===================================================================== */
/* the durations where the prototype's three features stood (the owner, 2026-11-26: the features have their own
   view): the features' hairline rows and dash, the duration on the left and its price on the right, the chosen one
   lit as the list's chosen product is (border, a light ground, white). A radio group: the row is the radio's hit
   area, its keyboard ring lies inside the row like the list's. One duration: its row, lit */
.xs-tiers { margin-top: 24px; }
.xs-tier { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 46px; padding: 0 14px 0 38px; border: 1px solid transparent; border-top-color: var(--line); font-size: 14.5px; line-height: 1.3; color: var(--dim); cursor: pointer; transition: background-color 0.25s ease, color 0.25s ease; }
.xs-tier + .xs-tier { margin-top: -1px; }
.xs-tier:last-child { border-bottom-color: var(--line); }
.xs-tier::before { content: ''; position: absolute; left: 14px; top: 50%; width: 11px; height: 1px; background: var(--line-3); }
.xs-tier:hover { color: var(--ink); }
.xs-tier.is-on, .xs-tier:has(input:checked) { z-index: 1; border-color: rgba(var(--sx-accent-rgb), 0.34); background: linear-gradient(90deg, rgba(var(--sx-accent-rgb), 0.075), rgba(var(--sx-accent-rgb), 0.025) 55%, rgba(255, 255, 255, 0.02)); color: #fff; cursor: default; }
.xs-tier.is-on::before, .xs-tier:has(input:checked)::before { background: var(--sx-accent); box-shadow: 0 0 8px rgba(var(--sx-accent-rgb), 0.55); }
.xs-tier input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.xs-tier:has(input:disabled) { opacity: 0.45; cursor: default; }
.xs-tier s { margin-right: 10px; font-size: 13px; color: var(--ghost); }
.xs-tier:has(input:focus-visible)::after { content: ''; position: absolute; inset: 3px; pointer-events: none; outline: 2px solid var(--sx-accent); }
/* what the chosen duration buys: one line per duration, the chosen one shown */
.kc [data-st-for]:not(.is-on) { display: none !important; }
/* a name longer than its place (Skin Changer, Slotted External) takes a second line instead of running on */
.kc .xs-nm, .kc .xs-title { white-space: normal; overflow-wrap: break-word; text-wrap: balance; }
/* every product's group beside INCEPTION over its name (the final review, 2026-11-26: one rule for all, at every size) */
.xs-title small .sx-dot { margin: 0 12px 0 8px; }
/* low windows: the rows closer; the owner's placeholder for "What you get" gives way, as the prototype's three features
   and How it works do; what the owner writes stays */
@media (max-height: 860px) and (min-width: 761px) {
  .xs-tiers { margin-top: 12px; }
  .xs-tier { height: 38px; }
  .xs-what:has(.sx-pht) { display: none; }
}
/* the theme's preview only: with seven products the list reaches the screen's bottom margin on low windows, where the
   preview's label (site.css .sx-demo-tag) lies; it moves under the stage there */
@media (max-height: 860px) and (min-width: 1180px) {
  .kc > .sx-demo-tag { left: calc(var(--gut) + var(--col-l) + var(--gap)); }
}

/* =====================================================================
   KEYCARD (style.css) — the product as one object in a calm field of lines
   ===================================================================== */

/* ---------------- the backdrop ---------------- */
.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-back > * { position: absolute; display: block; }
.kc-glow { left: 50%; top: 48%; width: 1500px; height: 1000px; 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-field (the canvas): assets/kc-field.css */
.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%); }

/* ---------------- the product list: a small card per product ---------------- */
/* (variants) no price in the list (the owner, 2026-11-26: prices only in the panel's durations): the name takes the row */
.kc .xs-row { grid-template-columns: 64px 1fr; gap: 0 18px; padding: 0 14px 0 14px; }
.kc .xs-mini { position: relative; display: block; width: 64px; height: 40px; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); background: linear-gradient(135deg, #1d1d21, #0c0c0e 60%, #131316); opacity: 0.55; transition: opacity 0.3s ease; }
.kc .xs-mini::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.kc .xs-mini svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the product's own picture where it has one (its first image in SellAuth: store-screen.njk), cover-cropped into the same
   small card, in place of the engraving; under the card's edge (the chosen row's brighter edge lies on it) and with the
   card's states. store.js draws it, shrunk smoothly, into a canvas of the card's own pixels, which then stands in its
   place; a picture that cannot be loaded goes (store.js): the engraving shows again */
.kc .xs-mini > img, .kc .xs-mini > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.kc .xs-mini > img { object-fit: cover; }
.kc .xs-mini > canvas + img { visibility: hidden; }
.kc .xs-mini > img + svg { display: none; }
.kc .xs-row:hover .xs-mini { opacity: 0.8; }
.kc .xs-row.is-on .xs-mini { opacity: 1; }
.kc .xs-row.is-on .xs-mini::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55); }
.kc .xs-row { border: 1px solid transparent; }
/* (art) the chosen row's light: one glass under the rows that glides from row to row (store.js glideTo: its place and
   size), its left edge lit in the accent; the rows over it ease their own brightness */
.kc .xs-list { position: relative; }
.kc .xs-row { z-index: 1; }
.xs-glide { position: absolute; left: 0; top: 0; z-index: 0; display: block; pointer-events: none; border: 1px solid rgba(var(--sx-accent-rgb), 0.34); background: linear-gradient(90deg, rgba(var(--sx-accent-rgb), 0.075), rgba(var(--sx-accent-rgb), 0.025) 55%, rgba(255, 255, 255, 0.02)); transition: transform 0.42s var(--ease), width 0.42s var(--ease), height 0.42s var(--ease); }
.xs-glide::before { content: ''; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 2px; background: var(--sx-accent); box-shadow: 0 0 14px rgba(var(--sx-accent-rgb), 0.5); }
/* (motion) the list answers a switch (the owner, 2026-12-02: "die Leiste links muss clean switchen"): the chosen row's
   card and name sit a few pixels in, so the row left settles back as the light glides away and the new one comes
   forward under it; the chosen product's group label stands in the ink, and when the group changes a short light
   runs once along its rule (store.js groupOn; the rule is an element of its own there, .xs-rule) */
.kc .xs-row > .xs-mini, .kc .xs-row > .xs-name { transition: transform 0.42s var(--ease), opacity 0.3s ease; }
.kc .xs-row.is-on > .xs-mini, .kc .xs-row.is-on > .xs-name { transform: translateX(6px); }
.kc .xs-group { position: relative; z-index: 1; }   /* above the light that glides under it into another group, as the rows are */
.kc .xs-group > span { transition: color 0.4s ease; }
.kc .xs-group.is-on > span { color: var(--ink); }
.kc .xs-group--mo::after { display: none; }
.xs-rule { position: relative; display: block; flex: 1; height: 1px; overflow: hidden; background: var(--line); }
.xs-rule > b { position: absolute; left: 0; top: 0; display: block; width: 34%; height: 100%; opacity: 0; background: linear-gradient(90deg, rgba(var(--sx-accent-rgb), 0), rgba(var(--sx-accent-rgb), 0.95) 70%, #fff); transform: translateX(-100%); will-change: transform, opacity; }
/* (art) the status in the panel's facts row: a good one's word in the accent too (the list: the dot only) */
.kc .xs-meta .sx-status--good > span { color: var(--sx-accent); }
.kc .xs-nm { font-size: 24px; }

/* ---------------- the stage ---------------- */
.kc-stage { display: flex; flex-direction: column; }
.kc-nav { flex: none; align-self: center; display: flex; height: 44px; border: 1px solid var(--line-2); background: rgba(10, 10, 12, 0.7); }
.kc-nav button { position: relative; height: 100%; padding: 0 17px; font-size: 14.5px; color: var(--dim); transition: color 0.2s ease, background-color 0.2s ease; }
/* (port) of-type: a placeholder tab waiting in a <template> between two buttons does not count */
.kc-nav button:not(:first-of-type) { border-left: 1px solid var(--line); }
.kc-nav button:hover { color: #fff; }
.kc-nav button.is-on { color: #fff; background: rgba(255, 255, 255, 0.09); }
.kc-nav button.is-on::after { content: ''; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 2px; background: #fff; }
/* (port, store_fix) keyboard focus inside the tab, where the bar's border cannot cover it */
.kc-nav button:focus-visible { outline-offset: -3px; }
.kc-set { position: relative; flex: 1 1 auto; min-height: 0; margin-top: 22px; }

/* the card. (motion) Its own shadow is the plate .kc-drop under it (it was a filter on the card, which would press
   the card's faces and edge into one flat picture): the same place, lean and light, see "(motion)" below */
.kc-card, .kc-drop {
  position: absolute;
  --c: 22px;
  transform: perspective(1500px) rotateX(calc(20deg - var(--my, 0) * 5deg)) rotateY(calc(-17deg + var(--mx, 0) * 6deg)) rotateZ(2deg);
  transition: left 0.7s var(--ease), top 0.7s var(--ease), width 0.7s var(--ease), height 0.7s var(--ease), transform 0.7s var(--ease);
}
.kc-card { z-index: 2; transform-style: preserve-3d; }
.kc-is-open .kc-card, .kc-is-open .kc-drop { --c: 16px; transform: none; }
.kc-edge, .kc-body { position: absolute; inset: 0; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
/* the edge: a lit hairline, brighter where the light comes from */
.kc-edge { background: linear-gradient(140deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.16) 38%, rgba(255, 255, 255, 0.08) 70%, rgba(255, 255, 255, 0.3)); }
.kc-body {
  inset: 1px;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 18% 0%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 60%),
    linear-gradient(140deg, #1f1f23 0%, #111113 46%, #0b0b0d 70%, #151518 100%);
}
.kc-is-open .kc-body { background: radial-gradient(60% 80% at 10% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #0f0f11, #0a0a0c); }
.kc-pat { position: absolute; inset: 0; width: 100%; height: 100%; }
/* (art) the glass's reflection (the owner, 2026-11-27: "dort glowt, wo der Cursor ist, und sonst alle paar Sekunden mal
   so einen Schein drüber"; work/store_effects.md), over the face and the art as light lies on glass: a soft highlight
   under the pointer (store.js moves it, its strength from the card's lean; it fades in and out with the pointer), and
   when the pointer is elsewhere a sheen that runs across the card once every 4 to 7 s (store.js). Low and cool, so the
   art keeps its blacks. Each on a layer of its own, drawn once, only moved and faded (a gradient drawn again into the
   card at another opacity made the graphics card prepare new programs on a first visit: frames of 125 to 200 ms) */
.kc-spec, .kc-sheen { position: absolute; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.kc-spec { left: 0; top: 0; width: 58%; aspect-ratio: 1; margin: -29% 0 0 -29%; background: radial-gradient(closest-side, rgba(240, 244, 253, 0.3), rgba(236, 241, 252, 0.12) 34%, rgba(236, 241, 252, 0.035) 64%, rgba(236, 241, 252, 0)); }
.kc-sheen { inset: 0; background: linear-gradient(110deg, rgba(var(--sx-accent-rgb), 0) 38%, rgba(var(--sx-accent-rgb), 0.08) 45%, rgba(246, 248, 252, 0.16) 50%, rgba(var(--sx-accent-rgb), 0.06) 55%, rgba(var(--sx-accent-rgb), 0) 62%); transform: translateX(-100%); }
.kc-is-open .kc-spec, .kc-is-open .kc-sheen { visibility: hidden; }

/* the face */
.kc-face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--fs, 54px) * 0.48); transition: opacity 0.3s ease; }
.kc-top { display: flex; align-items: center; gap: 12px; }
.kc-top img { width: calc(var(--fs, 54px) * 0.5); height: calc(var(--fs, 54px) * 0.5); object-fit: contain; filter: brightness(1.7); }
.kc-top .sx-micro { color: var(--ink); letter-spacing: 0.3em; font-size: 11.5px; }
.kc-ix { margin-left: auto; font-size: 13px; color: var(--faint); letter-spacing: 0.06em; }
.kc-ix b { font-size: inherit; letter-spacing: inherit; color: var(--ink); }
.kc-bot { display: grid; gap: 12px; }
.kc-bot .sx-micro { color: var(--dim); }
/* (art) the name half the prototype's size (the display face's caps are twice as wide), in the title's white-to-silver
   fall; two balanced lines when it is long */
.kc-name { font-size: calc(var(--fs, 54px) * 0.5); line-height: 1; white-space: normal; text-wrap: balance; background: linear-gradient(180deg, #ffffff 30%, #bfc4cf 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kc-is-open .kc-face { opacity: 0; transition-duration: 0.15s; }

/* (art) a product's own artwork as the card's face: its first image in SellAuth (store-screen.njk; the list's small card
   shows the same picture), cover-cropped to the card's 1.586 : 1 (a 16 : 9 picture loses a little of each side). Over it
   the glass (the card's own light from the top left, a smoked band along the foot under the caption), the glass's
   reflection and the card's edge. Opening a view, the art goes with the face and the sheet is the dark glass, for reading. A product
   without a picture keeps the engraved glass; one whose picture cannot be loaded gets it back (store.js) */
.kc .kc-art { position: absolute; inset: 0; display: block; overflow: hidden; background: #050506; transition: opacity 0.3s ease; }
.kc .kc-art > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.kc .kc-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.035) 24%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(0deg, rgba(3, 4, 7, 0.78) 0%, rgba(3, 4, 7, 0.45) 14%, rgba(3, 4, 7, 0) 30%);
}
/* the stage's card: the art at the closed card's size (store.js --art-w / --art-h), on a layer of its own: opening and
   folding back it only fades and is never drawn again at the sheet's sizes. It fades in once its picture is there */
.kc .kc-body > .kc-art { inset: auto; left: 0; top: 0; width: var(--art-w, 100%); height: var(--art-h, 100%); will-change: opacity; }
.kc .kc-art:not(.is-ready) { opacity: 0; }
.kc .kc-body:has(> .kc-art.is-on) > .kc-pat { display: none; }
.kc-is-open .kc-art { opacity: 0; transition-duration: 0.15s; }
/* the face of an art card: the art carries the brand line and the title, so the card keeps its mark and number at the
   top (its own INCEPTION line would stand beside the art's), and its engraving at the foot is one fine line of group and
   name, like a collectible card's caption */
.kc .kc-face.is-art .kc-top .sx-micro, .kc .kc-dcard.has-art .kc-top .sx-micro { display: none; }
.kc .kc-face.is-art .kc-bot, .kc .kc-dcard.has-art .kc-bot { display: flex; align-items: center; gap: 0; }
.kc .kc-face.is-art .kc-bot .sx-micro, .kc .kc-dcard.has-art .kc-bot .sx-micro { color: var(--ink); letter-spacing: 0.3em; font-size: 11.5px; }
.kc .kc-face.is-art .kc-bot .sx-micro::after, .kc .kc-dcard.has-art .kc-bot .sx-micro::after { content: ''; display: inline-block; width: 3px; height: 3px; margin: 0 12px 0 9px; vertical-align: middle; background: currentColor; opacity: 0.7; }
.kc .kc-face.is-art .kc-name, .kc .kc-dcard.has-art .kc-name { font-family: var(--sx-font); font-weight: 500; font-stretch: normal; font-size: 11.5px; line-height: 1; letter-spacing: 0.3em; white-space: nowrap; background: none; color: var(--ink); -webkit-text-fill-color: currentColor; }

/* the opened card: a header row and the view */
.kc-open { position: absolute; left: 0; right: 0; top: 0; padding: 0 28px 28px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.kc-is-open .kc-open { opacity: 1; pointer-events: auto; transition-delay: 0.35s; transition-duration: 0.45s; }
.kc-head { display: flex; align-items: center; gap: 14px; height: 70px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.kc-head img { width: 24px; height: 24px; object-fit: contain; filter: brightness(1.7); }
.kc-head b { font-size: 17px; }
.kc-head .sx-micro { color: var(--faint); }
.kc-views .xs-view.is-on { animation: kc-rise 0.55s var(--ease) both; }
@keyframes kc-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.kc-media { aspect-ratio: 16 / 10; border-color: rgba(255, 255, 255, 0.28); }
.kc-media--video { aspect-ratio: 16 / 9; }
.kc-media svg { width: 40px; height: 40px; }
.kc-shotwrap { position: relative; }
.kc-shotwrap .kc-media { aspect-ratio: 16 / 9; }
.kc-arrows { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 6px; }
.kc-arrows button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line-3); background: rgba(8, 8, 10, 0.85); }
.kc-arrows svg { width: 14px; height: 14px; stroke-width: 2; }
.kc-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.kc-thumbs li { aspect-ratio: 16 / 9; border-color: rgba(255, 255, 255, 0.26); }
.kc-thumbs li:first-child { border: 1px solid rgba(255, 255, 255, 0.85); }
.kc-thumbs small { padding: 3px 6px 2px; font-size: 9.5px; }
.kc-lead { margin-bottom: 20px; font-size: 18px; line-height: 1.45; }
.kc-list { border-bottom: 1px solid var(--line); }
.kc-list--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.kc-list li { display: flex; align-items: center; gap: 16px; height: 54px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.3; }
.kc-list .xs-k { flex: none; width: 22px; font-size: 11.5px; letter-spacing: 0.08em; color: var(--ghost); }
.kc-time { position: relative; padding-left: 30px; }
.kc-time::before { content: ''; position: absolute; left: 4px; top: 27px; bottom: 27px; width: 1px; background: var(--line-3); }
.kc-time li { position: relative; display: grid; grid-template-columns: 170px 1fr; align-items: center; height: 56px; border-top: 1px solid var(--line); font-size: 15px; }
.kc-time li:first-child { border-top: 0; }
.kc-time li::before { content: ''; position: absolute; left: -30px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border: 1px solid rgba(255, 255, 255, 0.7); background: #0b0b0d; transform: rotate(45deg); }
.kc-time li:first-child::before { background: #fff; border-color: #fff; }
.kc-time b { font-size: 13px; color: var(--faint); }

/* (art) on a layer of its own (will-change): at the end of its fade it was drawn again into the stage's own layer, which
   on a first visit cost the first folding back to Overview a frame of 104 to 146 ms (store_polish.md known issue 1) */
.kc-shadow { position: absolute; z-index: 1; width: 400px; height: 60px; transform: translate(-50%, 0); background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); transition: left 0.7s var(--ease), top 0.7s var(--ease), width 0.7s var(--ease), opacity 0.4s ease; will-change: opacity; }
.kc-is-open .kc-shadow { opacity: 0; }

/* (port) the opened card drawn once, unseen, in the store's first picture, so the graphics card has prepared it (store.js warm) */
.kc-warm { position: absolute; inset: 0; z-index: 0; opacity: 0.02; pointer-events: none; will-change: opacity; }

/* =====================================================================
   (motion) THE CARD AS ONE SOLID OBJECT (the owner, 2026-12-02: a clean switch from card to card, into another group
   with a small lean and no full turn, the card to turn like a 3D model, a flip on a click; work/store_motion.md). store.js builds it inside
   .kc-card from the card's own markup:
     .kc-drop    the card's shadow, a plate of its own under the card (beside it in .kc-set, with the card's lean)
     .kc-flip    the card as a control: a button over its place (a click flips it, a drag turns it)
     .kc-obj     the object, which store.js turns and lifts (transform only):
       .kc-front   its face: the card as it was (edge, the step's light, body)
       .kc-rear    its back (edge, the step's rim, a body with .kc-rback per product)
       .kc-slab    its edge, six strips of glass as thick as the card (--kc-t) around its cut outline
   The lean of the stage (the pointer's) stays on .kc-card; the object turns inside it, so every turn is around the
   card's own axes. Only transforms and opacity move. An open sheet is the flat face alone.
   ===================================================================== */
.kc-card { --kc-t: 6px; }
.kc-obj { position: absolute; inset: 0; pointer-events: none; transform-style: preserve-3d; will-change: transform; }
.kc-is-open .kc-obj { pointer-events: auto; }
.kc-front, .kc-rear { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.kc-front { transform: translateZ(calc(var(--kc-t) / 2)); transition: transform 0.7s var(--ease); }
.kc-rear { transform: rotateY(180deg) translateZ(calc(var(--kc-t) / 2)); }
.kc-is-open .kc-front { transform: none; }
.kc-is-open .kc-rear, .kc-is-open .kc-slab { visibility: hidden; }
/* the edge: dark glass between two lit arrises, a little brighter where the light comes from (top, left) */
.kc-slab { position: absolute; display: block; height: var(--kc-t); background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.09) 30%, rgba(255, 255, 255, 0.05) 70%, rgba(255, 255, 255, 0.36)), var(--kc-sd, #17181b); }
.kc-slab--t { --kc-sd: #2b2d33; left: var(--c); top: calc(var(--kc-t) / -2); width: calc(100% - var(--c)); transform: rotateX(90deg); }
.kc-slab--b { --kc-sd: #141518; left: 0; top: calc(100% - var(--kc-t) / 2); width: calc(100% - var(--c)); transform: rotateX(90deg); }
.kc-slab--tl { --kc-sd: #303239; left: calc(var(--c) * -0.2071); top: calc(var(--c) / 2 - var(--kc-t) / 2); width: calc(var(--c) * 1.4142); transform: rotateZ(-45deg) rotateX(90deg); }
.kc-slab--br { --kc-sd: #111214; left: calc(100% - var(--c) * 1.2071); top: calc(100% - var(--c) / 2 - var(--kc-t) / 2); width: calc(var(--c) * 1.4142); transform: rotateZ(-45deg) rotateX(90deg); }
.kc-slab--l, .kc-slab--r { width: var(--kc-t); height: calc(100% - var(--c)); background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.09) 30%, rgba(255, 255, 255, 0.05) 70%, rgba(255, 255, 255, 0.36)), var(--kc-sd, #17181b); transform: rotateY(90deg); }
.kc-slab--l { --kc-sd: #25272c; left: calc(var(--kc-t) / -2); top: var(--c); }
.kc-slab--r { --kc-sd: #18191c; left: calc(100% - var(--kc-t) / 2); top: 0; }

/* its shadow: the card's shape, soft, a little below it (what the filter on the card drew); store.js narrows it as
   the card turns its edge to the light and lightens it as the card lifts */
.kc-drop { z-index: 1; pointer-events: none; transition: left 0.7s var(--ease), top 0.7s var(--ease), width 0.7s var(--ease), height 0.7s var(--ease), transform 0.7s var(--ease), opacity 0.3s ease; }
.kc-drop > i { position: absolute; inset: 0; display: block; opacity: 0.55; filter: blur(20px); transform: translateY(30px); will-change: transform, opacity; }
.kc-drop > i::before { content: ''; position: absolute; inset: 0; background: #000; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.kc-is-open .kc-drop { opacity: 0; }

/* the card as a control */
.kc-flip { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.kc-flip:focus-visible { outline: 2px solid var(--sx-accent); outline-offset: 9px; }
/* the hand that can take it: grab, and grabbing while it is held. Named this far so it stands above the theme's
   pointer for every button (base.css), which a single class lost to; where the card is not turned by hand (reduced
   motion: a click shows its back) it stays the button's pointer */
@media (prefers-reduced-motion: no-preference) {
  .kc .kc-card .kc-flip { cursor: grab; }
  .kc.is-grabbing .kc-card .kc-flip { cursor: grabbing; }
}
.kc-is-open .kc-flip { display: none; }

/* its back: the same glass, the cut corners where they are seen from behind; the group's engraving shows through
   mirrored. On it (store.js makeBack, from what the panel shows: nothing else): the product's number, the mark, an
   engraved band, its group, status and name, its durations with their prices (the chosen one lit) */
.kc-rear :is(.kc-edge, .kc-body, .kc-hue, .kc-rim) { clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); }
.kc-rpat { opacity: 0.6; transform: scaleX(-1); }
/* its small print follows the card's size, down to a floor (a card of 336 px on a 1366 x 768 screen gave 6 to 7 px:
   not readable); a price that finds no room there is cut with an ellipsis instead of running into the next one */
.kc-rback { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(var(--fs, 54px) * 0.42) calc(var(--fs, 54px) * 0.48) calc(var(--fs, 54px) * 0.4); font-size: max(9px, calc(var(--fs, 54px) * 0.2)); line-height: 1; text-align: left; }
.kc-r-top { display: flex; align-items: center; justify-content: space-between; }
.kc-r-top .kc-ix { margin-left: 0; }
.kc-r-brand { display: flex; align-items: center; gap: 1em; }
.kc-r-brand img { width: calc(var(--fs, 54px) * 0.42); height: calc(var(--fs, 54px) * 0.42); object-fit: contain; filter: brightness(1.7); }
.kc-rback .sx-micro { font-size: 0.98em; }
.kc-r-brand .sx-micro { color: var(--ink); letter-spacing: 0.3em; }
.kc-r-band { display: block; flex: none; height: 12.5%; margin: 1.5em calc(var(--fs, 54px) * -0.48) 0; border-top: 1px solid rgba(255, 255, 255, 0.11); border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.075) 0 1px, rgba(255, 255, 255, 0) 1px 4px), linear-gradient(90deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 70%, rgba(255, 255, 255, 0.03)); }
.kc-r-seal { position: absolute; right: 8.5%; top: 37%; display: block; width: 21%; aspect-ratio: 1; opacity: 0.085; }
.kc-r-seal img { display: block; width: 100%; height: 100%; object-fit: contain; filter: brightness(1.7); }
.kc-r-id { display: grid; justify-items: start; gap: 0.85em; margin-top: auto; }
.kc-r-meta { display: flex; align-items: center; }
.kc-r-meta .sx-micro { color: var(--dim); }
.kc .kc-r-meta .sx-status { gap: 0.6em; font-size: 0.98em; letter-spacing: 0.04em; }
.kc .kc-r-meta .sx-micro + .sx-status { margin-left: 1.3em; padding-left: 1.3em; border-left: 1px solid var(--line-2); }
.kc .kc-r-meta .sx-status > i { width: 0.6em; height: 0.6em; }
.kc-rback .kc-name { font-size: calc(var(--fs, 54px) * 0.4); }
.kc-r-durs { display: flex; margin-top: 1.5em; border-top: 1px solid var(--line); }
.kc-r-durs li { position: relative; flex: 1 1 0; display: grid; gap: 0.55em; min-width: 0; padding: 1em 0 0 1.1em; border-left: 1px solid var(--line); }
.kc-r-durs li:first-child { padding-left: 0; border-left: 0; }
.kc-r-durs span { overflow: hidden; font-size: max(8px, 0.82em); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; color: var(--faint); }
.kc-r-durs b { overflow: hidden; text-overflow: ellipsis; font-size: 1.18em; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; color: var(--dim); font-variant-numeric: tabular-nums; }
.kc-r-durs li.is-on span { color: var(--ink); }
.kc-r-durs li.is-on b { color: #fff; }
.kc-r-durs li.is-on::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--sx-accent); box-shadow: 0 0 8px rgba(var(--sx-accent-rgb), 0.6); }

.kc-deck, .kc-rows, .kc-bs { display: none; }

.is-empty .kc-nav { display: none; }
.is-empty .kc-set { margin-top: 0; }

/* =====================================================================
   (port) the views' real content, in the prototype's pieces
   ===================================================================== */
/* a view longer than the stage scrolls inside its sheet (the prototype cut rows away on low windows) */
.kc-open { display: flex; flex-direction: column; max-height: 100%; padding-bottom: 0; }
.kc-head { flex: none; }
.kc-views { min-height: 0; padding-bottom: 28px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.25) transparent; }
.kc-open :where(a, button, input):focus-visible { outline-offset: -3px; }
/* lines that are longer than a row: the row grows (the prototype's rows are one line of placeholder) */
.kc-list li { height: auto; min-height: 54px; padding: 6px 0; }
.kc-time li { height: auto; min-height: 56px; padding: 6px 0; }
/* Features in the owner's groups (a heading in the tab starts a group), numbered across the groups */
.kc-fg + .kc-fg { margin-top: 22px; }
.kc-fg-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 12px; line-height: 1.2; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); }
.kc-fg-h::after { content: ''; flex: 1; height: 1px; background: var(--line); }
/* Showcase and Menu: the owner's player and pictures in the prototype's frames */
.kc-media[data-st-media] { position: relative; background: #000; }
.kc-media > iframe, .kc-media > video, .kc-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.kc-media.is-embed, .kc-media.is-text { aspect-ratio: auto; background: none; }
.kc-shotwrap .kc-media:not(.sx-ph) { display: flex; align-items: center; justify-content: center; background: #050506; }
.kc-shotwrap .kc-media.is-embed { display: block; aspect-ratio: auto; min-height: 220px; background: none; }
.kc-shotwrap .kc-media.is-embed > * { margin-left: auto !important; margin-right: auto !important; }
.kc-shotwrap .kc-media.is-embed + .kc-arrows { position: static; justify-content: flex-end; margin-top: 10px; }
.kc-arrows button { color: var(--ink); }
.kc-arrows button:focus-visible { outline-offset: -4px; }
.kc-thumbs li { position: relative; }
.kc-thumbs li.kc-tli { border: 0; }
.kc-thumbs button { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.26); background: #050506; color: var(--dim); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.kc-thumbs button.is-on { border-color: rgba(255, 255, 255, 0.85); }
.kc-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.kc-thumbs button svg { width: 18px; height: 18px; }
.kc-thumbs button:focus-visible { outline-offset: -4px; }
/* the owner's own rich text (a tab under another title) */
.kc-rich { font-size: 15px; line-height: 1.6; color: var(--dim); }
.kc-rich :where(p, ul, ol, h2, h3, h4) + :where(p, ul, ol, h2, h3, h4) { margin-top: 0.7em; }
.kc-rich :where(h2, h3, h4) { font-size: 17px; color: var(--ink); }
.kc-rich :where(a) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.kc-rich :where(strong, b) { color: var(--ink); }
.kc-rich :where(ul) li { position: relative; padding-left: 20px; }
.kc-rich :where(ul) li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 10px; height: 1px; background: var(--line-3); }
.kc-rich :where(img, video, iframe) { max-width: 100%; height: auto; }

/* =====================================================================
   lower windows (cols.css, then style.css)
   ===================================================================== */
@media (max-height: 1000px) and (min-width: 761px) {
  .xs { padding-top: 32px; padding-bottom: 28px; }
  .xs-row { height: 76px; }
  .xs-group { height: 40px; padding-top: 8px; }
  .xs-title { font-size: 42px; }
  .xs-hiw { display: none; }
}
@media (max-height: 860px) and (min-width: 761px) {
  .xs-row { height: 62px; }
  .xs-nm { font-size: 23px; }
  .xs-name .sx-status { display: none; }
  .xs-title { font-size: 36px; }
  .xs-title small { margin-bottom: 12px; }
  .xs-meta { margin-top: 16px; }
  .xs-line { margin-top: 12px; font-size: 15px; }
  .xs-what { margin-bottom: 12px; }
  .xs-cost { margin-bottom: 12px; }
  .xs-cost b { font-size: 34px; }
  .xs-buy .sx-btn--lg { height: 50px; }
  .xs-buy .sx-btn + .sx-btn { height: 44px; }
  .xs-help { margin-top: 12px; padding-top: 12px; }
  .xs-qty { margin-bottom: 12px; padding-bottom: 12px; }
}
@media (max-width: 1700px) and (min-width: 761px) {
  .xs-title { font-size: 40px; }
}
@media (max-width: 1700px) and (max-height: 860px) and (min-width: 761px) {
  .xs-title { font-size: 34px; }
}

@media (max-height: 860px) and (min-width: 761px) {
  .kc-nav { height: 40px; }
  .kc-nav button { padding: 0 13px; font-size: 13.5px; }
  .kc-set { margin-top: 14px; }
  .kc-head { height: 54px; margin-bottom: 14px; }
  .kc-head b { font-size: 15px; }
  .kc-open { padding: 0 22px 20px; }
  .kc-list li { height: 40px; font-size: 14px; }
  .kc-lead { margin-bottom: 12px; font-size: 16px; }
  .kc-time li { height: 42px; font-size: 14px; }
  .kc-time::before { top: 20px; bottom: 20px; }
  .kc-thumbs { display: none; }
  /* (port) the sheet's bottom padding belongs to its scrolling part; rows grow with a longer line */
  .kc-open { padding-bottom: 0; }
  .kc-views { padding-bottom: 20px; }
  .kc-list li { height: auto; min-height: 40px; padding: 4px 0; }
  .kc-time li { height: auto; min-height: 42px; padding: 4px 0; }
  .kc-fg + .kc-fg { margin-top: 14px; }
}
@media (max-width: 1700px) and (min-width: 761px) {
  .kc-nav button { padding: 0 12px; font-size: 13.5px; }
  .kc .xs-row { grid-template-columns: 52px 1fr; gap: 0 14px; }
  .kc .xs-mini { width: 52px; height: 33px; }
  .kc .xs-nm { font-size: 21px; }
}
/* (port) the prototype hid features after the sixth and history after the fourth here: they scroll instead */

/* =====================================================================
   phones (cols.css, then style.css)
   ===================================================================== */
@media (max-width: 760px) {
  /* cols.css: the list as a 2 x 2 selector, then the stage, the panel, the views */
  .xs { display: block; height: auto; padding: 16px var(--gut) 32px; }
  .xs-list-head { height: 14px; }
  .xs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
  .xs-group { display: none; }
  .xs-row { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; height: 70px; padding: 12px 12px 0 14px; border: 1px solid var(--line-2); background: #0a0a0c; }
  .xs-row + .xs-row { margin-top: 0; }
  .xs-row.is-on { border-color: rgba(255, 255, 255, 0.6); background: #18181b; }
  .xs-nm { font-size: 18px; letter-spacing: 0; }
  .xs-name .sx-status { display: none; }
  .xs-g { position: absolute; right: 12px; bottom: 12px; display: block; font-size: 9.5px; letter-spacing: 0.16em; }
  .xs-title { font-size: 34px; }
  .xs-title small { margin-bottom: 12px; font-size: 12px; }
  .xs-fill { display: none; }
  .xs-buy { margin-top: 22px; }
  .xs-cost b { font-size: 36px; }
  .xs-hiw { display: none; }
  .xs-row:focus-visible::after { inset: 3px; }

  /* style.css */
  .kc-back { height: 330px; }
  .kc-field { display: none; }
  .kc-glow { top: 62%; width: 600px; height: 420px; }
  .kc-main { display: flex; flex-direction: column; }
  .xs-roster { display: none; }
  .kc-stage { display: contents; }
  .kc-nav, .kc-set { display: none; }
  .kc-deck { order: 1; display: flex; gap: 14px; margin: 4px calc(var(--gut) * -1) 0; padding: 18px 45px 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .kc-dcard { position: relative; flex: none; width: 300px; height: 189px; scroll-snap-align: center; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); background: linear-gradient(140deg, #1f1f23 0%, #111113 46%, #0b0b0d 70%, #151518 100%); opacity: 0.5; transform: scale(0.94); transition: opacity 0.3s ease, transform 0.4s var(--ease); }
  .kc-dcard::before { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); clip-path: inherit; pointer-events: none; }
  .kc-dcard.is-on { opacity: 1; transform: none; }
  .kc-dcard.is-on::before { box-shadow: inset 0 0 0 1px rgba(var(--sx-accent-rgb), 0.7); }
  .kc-dcard svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .kc-dcard .kc-top img { width: 22px; height: 22px; }
  .kc-dcard .kc-name { font-size: 19px; }
  /* (art) the deck's card with its art: under its caption and sheen, in place of its engraving */
  .kc .kc-dcard { isolation: isolate; }
  .kc .kc-dcard > .kc-art { z-index: -1; }
  .kc .kc-dcard.has-art > svg { display: none; }
  .kc .kc-dcard.has-art .kc-name, .kc .kc-dcard.has-art .kc-bot .sx-micro { font-size: 10px; letter-spacing: 0.26em; }
  /* (port) keyboard focus inside the card's cut corners, where its clip cannot cut it away */
  .kc-dcard:focus-visible { outline: none; }
  .kc-dcard:focus-visible::before { box-shadow: inset 0 0 0 2px var(--sx-accent); }
  .xs-panel { order: 2; }
  .kc-rows { order: 3; display: block; margin-top: 32px; border-bottom: 1px solid var(--line); }
  .kc-rows-h { margin-bottom: 12px; color: var(--ink); }
  .kc-rows button { display: grid; grid-template-columns: 1fr auto 16px; align-items: center; gap: 12px; width: 100%; height: 56px; border-top: 1px solid var(--line); text-align: left; font-size: 16px; }
  .kc-rows small { font-size: 12.5px; color: var(--faint); }
  .kc-rows svg { width: 15px; height: 15px; stroke-width: 2; color: var(--dim); }
  .kc-rows button:focus-visible { outline-offset: -3px; }

  .kc-bs { position: fixed; z-index: 120; inset: 0; display: block; background: rgba(0, 0, 0, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
  .kc-bs-in { position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow: auto; padding: 10px var(--gut) 30px; border-top: 1px solid rgba(255, 255, 255, 0.3); background: linear-gradient(180deg, #141417, #0b0b0d 120px); transform: translateY(100%); transition: transform 0.45s var(--ease); }
  .kc-bs-on .kc-bs { opacity: 1; pointer-events: auto; }
  .kc-bs-on .kc-bs-in { transform: none; }
  .kc-bs-handle { display: block; width: 40px; height: 4px; margin: 0 auto 14px; background: rgba(255, 255, 255, 0.3); }
  .kc-bs-head { display: flex; align-items: center; justify-content: space-between; height: 44px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
  .kc-bs-head b { font-size: 17px; }
  .kc-bs-n { font-size: 14px; }
  .kc-bs-x { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line-2); }
  .kc-bs-x svg { width: 16px; height: 16px; }
  .kc-bs .kc-lead { font-size: 16px; }
  .kc-bs .kc-list li { height: 50px; font-size: 14.5px; }
  /* (port) the sheet from below holds the chosen view itself; its head stays, opaque, while a long view scrolls
     under it; its own scroll never moves the page */
  .kc-bs-in { overscroll-behavior: contain; padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px)); }
  .kc-bs-head { position: sticky; top: 0; z-index: 2; }
  .kc-bs-in.is-scrolled .kc-bs-head { background: #141417; box-shadow: calc(-1 * var(--gut)) 0 0 #141417, var(--gut) 0 0 #141417, 0 -10px 0 #141417; }
  .kc-bs-x:focus-visible { outline-offset: -4px; }
  .kc-bs .xs-view { display: block; }
  .kc-bs .kc-list--2 { grid-template-columns: 1fr; }
  .kc-bs .kc-list li { height: auto; min-height: 50px; }
  .kc-bs .kc-time li { grid-template-columns: 1fr; gap: 4px; height: auto; min-height: 0; padding: 11px 0; }
  .kc-bs .kc-time::before { top: 20px; bottom: 20px; }
  html.kc-lock, html.kc-lock body { overflow: hidden; }
}

/* the buy bar at the bottom while the panel's own Buy now is off the screen (store.js): phones, and (polish) tablets
   held upright */
@media (max-width: 760px), (max-width: 1179px) and (orientation: portrait) {
  .xs-dock {
    position: fixed;
    z-index: 90;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line-2);
    background: #0a0a0c;
    transform: translateY(110%);
    transition: transform 0.4s var(--ease);
  }
  .xs-dock.is-on { transform: none; }
  /* (port) one bar per product, the chosen one shown: it is the prototype's bar */
  .xs-dock-p { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .xs-dock-p p { display: grid; gap: 5px; min-width: 0; line-height: 1; }
  .xs-dock-p small { overflow: hidden; font-size: 11.5px; white-space: nowrap; text-overflow: ellipsis; color: var(--dim); }
  .xs-dock-p b { font-size: 20px; }
  .xs-dock-p .sx-btn { flex: 1; max-width: 210px; }
  /* (polish) its label is the product and the chosen duration, the price under it, as the prototype's bar has the
     price under the name ("Private Internal · 1 Week", "€60.00"); a long name gives way, the duration stays */
  .xs-dock-p small { display: flex; align-items: center; }
  .xs-dock-p small > span { overflow: hidden; text-overflow: ellipsis; }
  .xs-dock-p small .sx-dot { margin: 0 7px; }
  .xs-dock-p small em { flex: none; font-style: normal; }
}

/* =====================================================================
   (polish) tablets and small windows, 761 to 1179 px (the owner, 2026-11-26, for 761 to 1099 px; the views bar ran
   over the list and the panel up to about 1150 px): the three columns had no room there, the views bar ran over the
   list and the panel and the card stood small. The same pieces, placed for the space: the stage (views bar, card,
   field) on top at a height that keeps the card readable, the list under it, the panel at its side from the top, its
   price and buttons right under the durations. Held upright: the stage across the width, the list and the panel side
   by side under it, and the phones' buy bar while the panel's Buy now is off the screen; turned sideways: the list's
   rows in two columns. The panel stays in view while the page scrolls where the window is high enough for it
   ===================================================================== */
@media (min-width: 761px) and (max-width: 1179px) {
  .xs { grid-template-rows: auto auto; align-items: start; height: auto; }
  .kc-stage { grid-row: 1; height: var(--stage-h); }
  .xs-roster { grid-column: 1; grid-row: 2; }
  .xs-fill { display: none; }
  .xs-buy { margin-top: 26px; }
}
@media (min-width: 761px) and (max-width: 1179px) and (min-height: 700px) {
  .xs-panel { position: sticky; top: calc(var(--bar) + 24px); }
}
@media (min-width: 761px) and (max-width: 1179px) and (orientation: landscape) {
  .kc { --stage-h: max(360px, calc(var(--screen-h) * 0.62)); }
  .xs { grid-template-columns: minmax(0, 1fr) var(--col-r); min-height: var(--screen-h); }
  .kc-stage { grid-column: 1; }
  .xs-roster { margin-top: 26px; }
  .xs-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 12px; }
  .xs-group { grid-column: 1 / -1; }
  .xs-row + .xs-row { margin-top: 0; }
  .xs-panel { grid-column: 2; grid-row: 1 / 3; }
}
@media (min-width: 761px) and (max-width: 1179px) and (orientation: portrait) {
  .kc { --stage-h: clamp(400px, 38vh, 600px); }
  .xs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-bottom: 48px; }
  .kc-stage { grid-column: 1 / 3; }
  .xs-roster, .xs-panel { margin-top: 28px; }
  .xs-panel { grid-column: 2; grid-row: 2; }
}

/* (port) the theme's preview only: its label (site.css .sx-demo-tag) as a line under the bar, above the list; (polish)
   as far as the store's tablet layout goes (site.css draws it as a line up to 1099 px; the same values here) */
@media (max-width: 1179px) {
  .kc > .sx-demo-tag { position: relative; z-index: 3; left: auto; bottom: auto; max-width: none; gap: 4px 16px; margin: calc(var(--bar) + 14px) var(--gut) 0; font-size: 10px; letter-spacing: 0.1em; }
  .kc > .sx-demo-tag > span > .sx-dot:last-child { display: none; }
  .kc > .sx-demo-tag + .xs { margin-top: 0; }
}

/* =====================================================================
   (tiers) the store's ladder of rarity (the owner, 2026-11-27: "umso höher man den Preis auswählt, der Shop sich so
   verändert, wie wenn man in einem Spiel ein wertvolleres Item im Inventar hat, dann glänzt es so gold ... nicht zuuu
   übertrieben"; work/store_tiers.md). Every duration has its step (store-screen.njk stLevel: the cheapest 1, each
   dearer one a step up, the dearest and any "Lifetime" 5); the chosen product's chosen duration's step is the store's
   (#st data-tier, store.js tier):
     1  as before: the glass card's white hairline, the chosen row in the accent
     2  silver: the card's edge catches more light; the chosen row a little brighter
     3  the accent: a soft blue light around the card's rim; the price settles with a faint blue glint; the field's
        lines a touch brighter (kc-field.js gain)
     4  platinum: a brighter rim and light, the price's glint white; now and then a light travels slowly along the rim;
        the arc of the hole's light at the backdrop's foot a little stronger (kc-field.js draws it once more there)
     5  gold: a gold foil rim with a warm light around it, its travelling light warm; a slow gold sheen crosses the card
        once when gold is chosen, and the card's sheen stays warm; the price settles in a warm gold with one gentle
        glint; the chosen row's thin gold edge; the arc warms toward gold
   Every change eases (0.6 s) both ways; the price takes its colour as its digits come to rest (roll.js, about 0.45 s).
   Reduced motion: at once, and none of the sheen, the glint or the travelling light. Only the card in Overview carries
   it (an open sheet is for reading: the step goes, and comes back once the card has folded). Phones: the deck's chosen
   card's edge and sheen, the buy bar's price. Colour and light only: the art and every text keep their contrast,
   nothing flashes. Each light is a layer of its own (will-change): a change redraws that light, not the card
   ===================================================================== */
@property --kc-r1 { syntax: '<color>'; inherits: false; initial-value: rgba(255, 255, 255, 0); }
@property --kc-r2 { syntax: '<color>'; inherits: false; initial-value: rgba(255, 255, 255, 0); }
@property --kc-r3 { syntax: '<color>'; inherits: false; initial-value: rgba(255, 255, 255, 0); }
@property --kc-r4 { syntax: '<color>'; inherits: false; initial-value: rgba(255, 255, 255, 0); }
@property --kc-halo { syntax: '<color>'; inherits: false; initial-value: rgba(255, 255, 255, 0); }
@property --kc-runc { syntax: '<color>'; inherits: false; initial-value: rgba(255, 255, 255, 0); }
@property --kc-dr { syntax: '<color>'; inherits: false; initial-value: rgba(255, 255, 255, 0); }

/* the card's step (store-screen.njk .kc-tier): over its white hairline, under its body, so of the rim and the light
   travelling along it only the edge shows; the light around it lies outside the card */
.kc-tier { position: absolute; inset: 0; transition: opacity 0.4s ease 0.6s, visibility 0s linear 0.6s; }
.kc-is-open .kc-tier { visibility: hidden; opacity: 0; transition: none; }
.kc-tier > *, .kc-tier i i { position: absolute; display: block; }
.kc-tier > *, .kc-halo > i { inset: 0; }
.kc-hue, .kc-rim, .kc-run { clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
/* the light around the rim: the card's shape in the step's colour, softened, and the travelling light's own glow */
.kc-halo { filter: blur(16px); will-change: transform; }
.kc-hue { background: var(--kc-halo); transition: --kc-halo 0.6s ease; }
/* the rim: the edge's light in the step's material, brightest where the light comes from (as .kc-edge) */
.kc-rim { background: linear-gradient(140deg, var(--kc-r1), var(--kc-r2) 38%, var(--kc-r3) 70%, var(--kc-r4)); transition: --kc-r1 0.6s ease, --kc-r2 0.6s ease, --kc-r3 0.6s ease, --kc-r4 0.6s ease; will-change: transform; }
/* the light travelling along the rim: a short bright arc with a tail, turned by store.js (a slow pass now and then); its
   copy in the light around the card, fainter, is its glow. It fades as a whole and is gold's colour while it is out, so
   the way up to gold only fades it (a colour that changes is drawn again in every frame: two large layers) */
.kc-run { opacity: 0; transition: opacity 0.6s ease; }
.kc-run > i { left: 50%; top: 50%; width: 120%; aspect-ratio: 1; margin: -60% 0 0 -60%; opacity: 0; background: conic-gradient(rgba(255, 255, 255, 0) 0deg 292deg, var(--kc-runc) 346deg, rgba(255, 255, 255, 0) 357deg); --kc-runc: rgba(255, 238, 200, 1); transition: --kc-runc 0.6s ease; will-change: transform, opacity; }
.kc[data-tier="2"] .kc-rim { --kc-r1: rgba(246, 248, 252, 0.92); --kc-r2: rgba(224, 229, 239, 0.4); --kc-r3: rgba(210, 217, 230, 0.24); --kc-r4: rgba(236, 240, 247, 0.62); }
.kc[data-tier="3"] .kc-rim { --kc-r1: rgba(204, 220, 249, 1); --kc-r2: rgba(162, 181, 216, 0.86); --kc-r3: rgba(162, 181, 216, 0.62); --kc-r4: rgba(186, 204, 238, 0.95); }
.kc[data-tier="3"] .kc-hue { --kc-halo: rgba(150, 172, 214, 0.32); }
.kc[data-tier="4"] .kc-rim { --kc-r1: #fff; --kc-r2: rgba(236, 240, 248, 0.7); --kc-r3: rgba(218, 226, 241, 0.5); --kc-r4: rgba(246, 248, 252, 0.9); }
.kc[data-tier="4"] .kc-hue { --kc-halo: rgba(226, 233, 247, 0.22); }
.kc[data-tier="5"] .kc-rim { --kc-r1: rgba(255, 241, 208, 1); --kc-r2: rgba(222, 182, 102, 0.96); --kc-r3: rgba(162, 121, 52, 0.9); --kc-r4: rgba(238, 206, 140, 1); }
.kc[data-tier="5"] .kc-hue { --kc-halo: rgba(228, 188, 106, 0.28); }
.kc[data-tier="4"] .kc-run, .kc[data-tier="5"] .kc-run { opacity: 1; }
.kc[data-tier="4"] .kc-halo .kc-run, .kc[data-tier="5"] .kc-halo .kc-run { opacity: 0.4; }
.kc[data-tier="4"] .kc-run > i { --kc-runc: rgba(255, 255, 255, 0.95); }
/* 5: the card's sheen in a warm gold (the slow one when gold is chosen, the idle one after it) */
.kc[data-tier="5"] :is(.kc-body, .kc-dcard.is-on) > .kc-sheen { background: linear-gradient(110deg, rgba(232, 194, 114, 0) 36%, rgba(232, 194, 114, 0.1) 44%, rgba(255, 241, 210, 0.2) 50%, rgba(232, 194, 114, 0.08) 56%, rgba(232, 194, 114, 0) 64%); }

/* the chosen row: a little brighter at 2, the accent stronger at 3, platinum at 4, a thin gold edge at 5 (each row
   carries its own step) */
.kc .xs-tier[data-st-tier="2"]:has(input:checked) { border-color: rgba(208, 218, 236, 0.46); background: linear-gradient(90deg, rgba(208, 218, 236, 0.1), rgba(208, 218, 236, 0.03) 55%, rgba(255, 255, 255, 0.02)); }
.kc .xs-tier[data-st-tier="2"]:has(input:checked)::before { background: #d3dcec; box-shadow: 0 0 9px rgba(208, 218, 236, 0.6); }
.kc .xs-tier[data-st-tier="3"]:has(input:checked) { border-color: rgba(var(--sx-accent-rgb), 0.56); background: linear-gradient(90deg, rgba(var(--sx-accent-rgb), 0.13), rgba(var(--sx-accent-rgb), 0.04) 55%, rgba(255, 255, 255, 0.02)); }
.kc .xs-tier[data-st-tier="3"]:has(input:checked)::before { box-shadow: 0 0 10px rgba(var(--sx-accent-rgb), 0.8); }
.kc .xs-tier[data-st-tier="4"]:has(input:checked) { border-color: rgba(232, 237, 247, 0.6); background: linear-gradient(90deg, rgba(232, 237, 247, 0.12), rgba(232, 237, 247, 0.035) 55%, rgba(255, 255, 255, 0.02)); }
.kc .xs-tier[data-st-tier="4"]:has(input:checked)::before { background: #eef2f9; box-shadow: 0 0 10px rgba(232, 237, 247, 0.7); }
.kc .xs-tier[data-st-tier="5"]:has(input:checked) { border-color: rgba(226, 192, 124, 0.58); background: linear-gradient(90deg, rgba(226, 192, 124, 0.12), rgba(226, 192, 124, 0.035) 55%, rgba(255, 255, 255, 0.02)); }
.kc .xs-tier[data-st-tier="5"]:has(input:checked)::before { background: #e2c07c; box-shadow: 0 0 10px rgba(226, 192, 124, 0.65); }

/* the price takes the step's colour as its digits come to rest; at 5 a warm gold */
.kc .xs-cost b, .kc .xs-dock-p b { transition: color 0.5s ease 0.45s; }
.kc[data-tier="5"] .xs-p.is-on .xs-cost b, .kc[data-tier="5"] .xs-dock-p.is-on b { color: #e9cd92; }
/* its glint (store.js glint, from 3): a copy of the price over it, only a band of light in its letters, crossing once.
   The band is the whole gradient, a narrow picture that slides (its stops inside a wide gradient made the graphics card
   prepare a program of its own on the first glint: a frame of 110 to 160 ms; this one store.js prepares unseen) */
.xs-glint { position: absolute; z-index: 1; pointer-events: none; white-space: nowrap; -webkit-text-fill-color: transparent; background: linear-gradient(100deg, rgba(255, 255, 255, 0), var(--kc-glint), rgba(255, 255, 255, 0)) -150% 0 / 60% 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.xs-glint[data-l="3"] { --kc-glint: rgba(206, 222, 250, 0.9); }
.xs-glint[data-l="4"] { --kc-glint: rgba(255, 255, 255, 0.95); }
.xs-glint[data-l="5"] { --kc-glint: rgba(255, 246, 222, 1); }

/* the arc of the hole's light at the backdrop's foot (kc-field.js draws it twice more there): stronger at 4, warmer at 5 */
.kc .kc-arc-t { opacity: 0; transition: opacity 0.6s ease; }
.kc[data-tier="4"] .kc-arc-t--up { opacity: 0.6; }
.kc[data-tier="5"] .kc-arc-t--up { opacity: 0.25; }
.kc[data-tier="5"] .kc-arc-t--au { opacity: 0.9; }

/* phones: the deck's chosen card takes the step's colour on its edge, over its accent edge: a ring one pixel wide that
   follows the card's cut corners too, one solid colour that eases in and out (measured on a first visit: a light inside
   the edge as a soft inset shadow, corner lines as gradients and a fade of the ring as a layer of its own each made the
   graphics card prepare a program of its own, frames of 21 to 145 ms; this costs none) */
@media (max-width: 760px) {
  .kc .kc-dcard::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    clip-path: polygon(evenodd, 16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px, 16px 0, 16.41px 1px, 1px 16.41px, 1px calc(100% - 1px), calc(100% - 16.41px) calc(100% - 1px), calc(100% - 1px) calc(100% - 16.41px), calc(100% - 1px) 1px, 16.41px 1px);
    background: var(--kc-dr);
    transition: --kc-dr 0.6s ease;
  }
  .kc[data-tier="2"] .kc-dcard.is-on::after { --kc-dr: rgba(232, 236, 245, 0.85); }
  .kc[data-tier="3"] .kc-dcard.is-on::after { --kc-dr: rgba(186, 204, 236, 1); }
  .kc[data-tier="4"] .kc-dcard.is-on::after { --kc-dr: rgba(246, 248, 252, 1); }
  .kc[data-tier="5"] .kc-dcard.is-on::after { --kc-dr: rgba(230, 196, 126, 1); }
}

/* at once: the store's first picture, Back, a reload (store.js: kc-t-now); the card's own step on a product switch,
   where the card arrives as the new product (kc-t-cut); and for visitors who ask for less motion */
.kc-t-now :is(.kc-hue, .kc-rim, .kc-run, .kc-run > i, .kc-arc-t, .xs-cost b, .xs-dock-p b), .kc-t-now .kc-dcard::after,
.kc-t-cut :is(.kc-hue, .kc-rim, .kc-run, .kc-run > i) { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .kc :is(.kc-hue, .kc-rim, .kc-run, .kc-run > i, .kc-arc-t, .xs-cost b, .xs-dock-p b), .kc .kc-dcard::after { transition: none; }
  .kc .kc-tier { transition: opacity 0s linear 0.6s, visibility 0s linear 0.6s; }
}

/* (motion) phones: the deck's middle card turned over by a tap (store.js deckTurn): the stage card's back at the deck
   card's size. It is laid out from the start and only hidden, so turning it changes no layout */
@media (max-width: 760px) {
  .kc .kc-dcard > .kc-rback { visibility: hidden; padding: 17px 18px 15px; font-size: 9px; transform: scaleX(-1); }   /* the card lies turned over (rotateY 180deg): its back reads the right way round */
  .kc .kc-dcard.is-back > .kc-rback { visibility: visible; }
  .kc .kc-dcard.is-back > :is(.kc-art, svg, .kc-top, .kc-bot) { visibility: hidden; }
  .kc .kc-dcard > .kc-rback .kc-ix { font-size: 11px; }
  .kc .kc-dcard > .kc-rback .sx-micro { font-size: 9px; letter-spacing: 0.26em; }
  .kc .kc-dcard > .kc-rback .kc-r-brand { gap: 8px; }
  .kc .kc-dcard > .kc-rback .kc-r-brand img { width: 18px; height: 18px; }
  .kc .kc-dcard > .kc-rback .kc-r-band { height: 20px; margin: 10px -18px 0; }
  .kc .kc-dcard > .kc-rback .kc-r-id { gap: 7px; }
  .kc .kc-dcard > .kc-rback .kc-r-meta .sx-status { font-size: 9.5px; }
  .kc .kc-dcard > .kc-rback .kc-name { font-family: var(--sx-display); font-weight: 900; font-stretch: 125%; font-size: 17px; line-height: 1; letter-spacing: 0; white-space: normal; background: linear-gradient(180deg, #ffffff 30%, #bfc4cf 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
  .kc .kc-dcard > .kc-rback .kc-r-durs { margin-top: 11px; }
  .kc .kc-dcard > .kc-rback .kc-r-durs li { gap: 5px; padding: 9px 0 0 9px; }
  .kc .kc-dcard > .kc-rback .kc-r-durs li:first-child { padding-left: 0; }
  .kc .kc-dcard > .kc-rback .kc-r-durs span { font-size: 8px; letter-spacing: 0.1em; }
  .kc .kc-dcard > .kc-rback .kc-r-durs b { font-size: 11px; }
}