/* Zeltrix app frame (docs/APP.md "The app frame", scripts/sections/app-shell.mjs, src/assets/app-shell.js).
   Every rule sits under html.zx-shell (set by app-shell-flag.js before the first paint), so a visitor without the frame,
   and every crawler, sees the page exactly as before. Phones and tablets: app header and bottom tab bar with the Scan
   button in the centre. Computers (1024px and up): a left sidebar instead of the tab bar. */
html.zx-shell { --zx-bar: 64px; --zx-side: 248px; --zx-ice: #8fdcff; --zx-ice-soft: rgba(143, 220, 255, .14); --zx-ice-line: rgba(143, 220, 255, .38); }

/* ---------- the website chrome the app does not use (still in the HTML for links and crawlers) */
html.zx-shell .utility-bar,
html.zx-shell .category-nav,
html.zx-shell .mobile-menu,
html.zx-shell .header-actions > a.header-link[href="/my-zeltrix/"],
html.zx-shell:not(.zx-cart) .cart-button { display: none !important; }

/* ---------- app header */
html.zx-shell .site-header { position: sticky; top: 0; z-index: 70; box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
html.zx-shell .header-main { flex-wrap: nowrap; gap: 10px; min-height: 0; padding: 8px 0; }
html.zx-shell .site-search { order: 3; flex: 1 1 auto; min-width: 0; height: 42px; max-width: 560px; }
html.zx-shell .brand { order: 2; }
html.zx-shell .header-actions { order: 4; margin-left: auto; }
.zx-more-btn { display: none; }
html.zx-shell .zx-more-btn { order: 1; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-width: 48px; min-height: 48px; margin-left: -6px; padding: 2px 4px; border: 0; border-radius: 12px; background: transparent; color: #fff; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
html.zx-shell .zx-more-btn svg { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
html.zx-shell .zx-more-btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 0; }
@media (max-width: 700px) {
  html.zx-shell .brand-logo { width: 64px; height: auto; }
  html.zx-shell .site-search { height: 40px; }
}

/* ---------- bottom tab bar (phones and tablets) */
.zx-tabbar, .zx-side { display: none; }
html.zx-shell body { padding-bottom: calc(var(--zx-bar) + env(safe-area-inset-bottom, 0px)); }
html.zx-shell .zx-tabbar { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; height: calc(var(--zx-bar) + env(safe-area-inset-bottom, 0px)); padding: 0 max(4px, env(safe-area-inset-left, 0px)) env(safe-area-inset-bottom, 0px) max(4px, env(safe-area-inset-right, 0px)); box-sizing: border-box; background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 -6px 20px rgba(6, 12, 34, .18); }
html.zx-shell .zx-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: var(--zx-bar); color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 12px; font-weight: 600; line-height: 1.2; -webkit-tap-highlight-color: transparent; }
html.zx-shell .zx-ic { display: inline-flex; }
html.zx-shell .zx-ic svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
html.zx-shell .zx-tab:hover, html.zx-shell .zx-tab:focus-visible { color: #fff; }
html.zx-shell .zx-tab:focus-visible { outline: 2px solid var(--lime); outline-offset: -4px; border-radius: 12px; }
html.zx-shell .zx-tab[aria-current="page"] { color: #fff; }
html.zx-shell .zx-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Scan: the big centre button. */
html.zx-shell .zx-tab.is-scan { justify-content: flex-start; color: #fff; }
html.zx-shell .zx-tab.is-scan .zx-ic { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-top: -18px; border-radius: 50%; background: var(--lime); color: var(--navy); box-shadow: 0 6px 18px rgba(198, 244, 50, .35), 0 0 0 4px var(--navy); }
html.zx-shell .zx-tab.is-scan .zx-ic svg { width: 28px; height: 28px; stroke-width: 2.2; }
html.zx-shell .zx-tab.is-scan:focus-visible .zx-ic { outline: 3px solid #fff; outline-offset: 2px; }
/* Opening (app-shell.js onScan): a white ring at once, and a gentle pulse where motion is welcome. */
html.zx-shell .zx-tab.is-scan.is-opening .zx-ic { box-shadow: 0 0 0 4px var(--navy), 0 0 0 7px #fff; }
@media (prefers-reduced-motion: no-preference) {
  html.zx-shell .zx-tab.is-scan .zx-ic { transition: transform .15s ease; }
  html.zx-shell .zx-tab.is-scan:active .zx-ic { transform: scale(.94); }
  html.zx-shell .zx-tab.is-scan.is-opening .zx-ic { animation: zx-scan-opening .7s ease-in-out infinite alternate; }
  @keyframes zx-scan-opening { to { transform: scale(.9); } }
}
/* Things pinned to the bottom of the screen sit above the bar. */
html.zx-shell .toast, html.zx-shell .zx-toast, html.zx-shell .org-toast { bottom: calc(20px + var(--zx-bar) + env(safe-area-inset-bottom, 0px)); }
html.zx-shell .acc-nudge, html.zx-shell .col-toast { bottom: calc(16px + var(--zx-bar) + env(safe-area-inset-bottom, 0px)); }
html.zx-shell .consent-banner { bottom: calc(var(--zx-bar) + env(safe-area-inset-bottom, 0px)); padding-bottom: 8px; }
html.zx-shell .op-sticky { bottom: calc(var(--zx-bar) + env(safe-area-inset-bottom, 0px)); }

/* ---------- sidebar (computers) */
@media (min-width: 1024px) {
  html.zx-shell body { padding-bottom: 0; padding-left: var(--zx-side); }
  html.zx-shell .zx-tabbar { display: none; }
  html.zx-shell .zx-more-btn, html.zx-shell .site-header .brand { display: none; }
  html.zx-shell .toast, html.zx-shell .zx-toast, html.zx-shell .org-toast, html.zx-shell .acc-nudge, html.zx-shell .col-toast { bottom: 20px; }
  html.zx-shell .consent-banner { bottom: 0; left: var(--zx-side); }
  /* One line at the bottom of the content (site review 2026-11-13, A8), answered or not: no space kept at the top. */
  html.zx-shell .consent-banner { gap: 8px 16px; padding: 6px 24px; }
  html.zx-shell .consent-banner .consent-actions .button { min-height: 36px; }
  /* Room under the page equal to the bar (its measured height, app-screens.js consentLift --zx-consent-h), so nothing,
     such as a giveaway's rules, stays behind it once scrolled; the same for focus and #anchors. */
  html.zx-shell body:has(> .consent-banner:not([hidden])) { padding-bottom: calc(var(--zx-consent-h, 56px) + 12px); }
  html.zx-shell:has(body > .consent-banner:not([hidden])) { scroll-padding-bottom: calc(var(--zx-consent-h, 56px) + 12px); }
  html.zx-shell .op-sticky { bottom: 0; }
  html.zx-shell .zx-side { position: fixed; z-index: 75; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; width: var(--zx-side); padding: 14px 12px 12px; box-sizing: border-box; overflow-y: auto; background: var(--navy-deep); color: #fff; border-right: 1px solid rgba(255, 255, 255, .08); }
  html.zx-shell .zx-side-brand { display: block; padding: 2px 10px 14px; }
  html.zx-shell .zx-side-logo { width: 96px; height: auto; display: block; }
  html.zx-shell .zx-side-main { display: grid; gap: 2px; }
  html.zx-shell .zx-side-link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: rgba(255, 255, 255, .86); text-decoration: none; font-size: 15px; font-weight: 600; }
  html.zx-shell .zx-side-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
  html.zx-shell .zx-side-link[aria-current="page"] { background: rgba(255, 255, 255, .08); color: #fff; }
  html.zx-shell .zx-side-link.is-scan .zx-ic { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-left: -3px; border-radius: 50%; background: var(--lime); color: var(--navy); }
  html.zx-shell .zx-side-link.is-scan .zx-ic svg { width: 18px; height: 18px; }
  html.zx-shell .zx-side-link:focus-visible, html.zx-shell .zx-side-sub:focus-visible, html.zx-shell .zx-side-brand:focus-visible, html.zx-shell .zx-account-link:focus-visible { outline: 2px solid var(--lime); outline-offset: 0; }
  html.zx-shell .zx-side-more { margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 0; }
  html.zx-shell .zx-side-h { margin: 10px 12px 2px; color: #9fb0d6; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
  html.zx-shell .zx-side-sub { display: block; padding: 6px 12px; border: 0; border-radius: 8px; background: transparent; color: rgba(255, 255, 255, .8); text-align: left; text-decoration: none; font: inherit; font-size: 14px; cursor: pointer; }
  html.zx-shell .zx-side-sub:hover { color: #fff; background: rgba(255, 255, 255, .06); }
  html.zx-shell .zx-side-sub[aria-current="page"] { color: var(--zx-ice); }
  html.zx-shell .zx-side-all { margin-top: 6px; color: var(--zx-ice); font-weight: 600; }
  html.zx-shell .zx-side-account { margin-top: auto; }
}

/* ---------- account row (sidebar foot and drawer top) */
html.zx-shell .zx-account { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
html.zx-shell .zx-account-ic { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-700); color: var(--zx-ice); }
html.zx-shell .zx-account-ic svg { fill: none; stroke: currentColor; stroke-width: 2; }
html.zx-shell .zx-account-link { display: grid; min-width: 0; color: #fff; text-decoration: none; }
html.zx-shell .zx-account-name { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.zx-shell .zx-account-meta { color: #b9c4e0; font-size: 13px; }

/* ---------- More drawer */
html.zx-shell .zx-drawer { width: min(360px, 92vw); max-width: none; height: 100%; max-height: none; margin: 0 auto 0 0; padding: 0 0 calc(24px + env(safe-area-inset-bottom, 0px)); border: 0; background: var(--navy); color: #fff; overflow-y: auto; }
html.zx-shell .zx-drawer::backdrop { background: rgba(2, 11, 37, .55); }
@media (prefers-reduced-motion: no-preference) { html.zx-shell .zx-drawer[open] { animation: zx-drawer-in .18s ease-out both; } }
@keyframes zx-drawer-in { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
html.zx-shell .zx-drawer-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .1); }
html.zx-shell .zx-drawer-title { margin: 0; color: #fff; font-size: 18px; }
html.zx-shell .zx-drawer-close { width: 44px; height: 44px; margin-right: -8px; border: 0; border-radius: 12px; background: transparent; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
html.zx-shell .zx-drawer-close:focus-visible, html.zx-shell .zx-drawer-link:focus-visible, html.zx-shell .zx-linkbtn:focus-visible { outline: 2px solid var(--lime); outline-offset: 0; }
html.zx-shell .zx-drawer-account { margin: 14px 16px 4px; }
html.zx-shell .zx-drawer-group { padding: 8px 16px 0; }
html.zx-shell .zx-drawer-group-h { margin: 10px 0 4px; color: #9fb0d6; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
html.zx-shell .zx-drawer-list { margin: 0; padding: 0; list-style: none; }
html.zx-shell .zx-drawer-link { display: flex; align-items: center; min-height: 44px; padding: 0 10px; margin: 0 -10px; border-radius: 10px; color: #fff; text-decoration: none; font-size: 16px; }
html.zx-shell .zx-drawer-link:hover { background: rgba(255, 255, 255, .07); }
html.zx-shell .zx-drawer-link[aria-current="page"] { color: var(--zx-ice); font-weight: 700; }
/* each row: a small icon in a soft tile, then the name (the drawer is the whole offering, grouped) */
html.zx-shell .zx-drawer-link { gap: 12px; width: calc(100% + 20px); border: 0; background: transparent; font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
html.zx-shell .zx-drawer-link:hover { background: rgba(255, 255, 255, .07); }
html.zx-shell .zx-drawer-ic { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(143, 220, 255, .12); color: var(--zx-ice); }
html.zx-shell .zx-drawer-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.zx-shell .zx-drawer-t { min-width: 0; }
@media (min-width: 520px) { html.zx-shell .zx-drawer { width: min(420px, 92vw); } html.zx-shell .zx-drawer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; } html.zx-shell .zx-drawer-link { width: 100%; margin: 0; padding: 0 6px; font-size: 15px; } }
html.zx-shell .zx-drawer-who { margin: 18px 16px 0; }
html.zx-shell .zx-drawer-theme { margin: 16px 16px 0; }
html.zx-shell .zx-theme-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .05); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
html.zx-shell .zx-theme-btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
html.zx-shell .zx-theme-switch { position: relative; width: 40px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .2); }
html.zx-shell .zx-theme-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
html.zx-shell .zx-theme-btn[aria-pressed="true"] .zx-theme-switch { background: var(--zx-ice, #8fdcff); }
html.zx-shell .zx-theme-btn[aria-pressed="true"] .zx-theme-switch::after { left: 19px; }
@media (prefers-reduced-motion: no-preference) { html.zx-shell .zx-theme-switch::after { transition: left .15s ease; } }
html.zx-shell .zx-linkbtn { padding: 8px 0; border: 0; background: transparent; color: var(--zx-ice); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- the app home on / (visual pass, owner 2026-10-27: "less text, and it needs to look awesome") */
html.zx-shell { --zx-surface: linear-gradient(160deg, #13204a 0%, #0b1430 55%, #081026 100%); --zx-glow: 0 0 0 1px rgba(143, 220, 255, .16), 0 10px 30px rgba(95, 211, 255, .1); --zx-card-line: rgba(255, 255, 255, .09); }
html.zx-shell-home.zx-shell .home-member { display: none !important; }
/* Dashboard and store/supplier homes: the website hero becomes a slim title band (its H1 stays, same words, same place). */
html.zx-shell-home.zx-shell:not(.zx-choose) .hero { padding: 0; min-height: 0; }
html.zx-shell-home.zx-shell:not(.zx-choose) .hero .hero-inner { display: block; min-height: 0; padding: 10px 0; }
html.zx-shell-home.zx-shell:not(.zx-choose) .hero :is(.hero-fox, .hero-desc, .hero-ctas, .hero-tiles) { display: none; }
html.zx-shell-home.zx-shell:not(.zx-choose) .hero h1 { margin: 0; font-size: 16px; line-height: 1.3; letter-spacing: .01em; }
/* Welcome (someone new): a bold hero, the fox, "Play. Collect. Level up.", then three big tiles. */
html.zx-shell-home.zx-shell.zx-choose .hero :is(.hero-desc, .hero-ctas, .hero-tiles) { display: none; }
html.zx-shell-home.zx-shell.zx-choose .hero .hero-inner { padding-top: 18px; padding-bottom: 6px; min-height: 0; }
html.zx-shell-home.zx-shell.zx-choose .hero h1 { font-size: clamp(34px, 9vw, 64px); line-height: 1.02; letter-spacing: -.02em; }
html.zx-shell-home.zx-shell.zx-choose .hero .hero-fox { max-width: 220px; }
@media (max-width: 700px) { html.zx-shell-home.zx-shell.zx-choose .hero .hero-fox { max-width: 132px; margin: 0 auto; } }
html.zx-shell .zx-home { position: relative; padding: 16px 0 18px; background: var(--zx-surface); color: #fff; border-bottom: 1px solid var(--zx-card-line); }
html.zx-shell .zx-home::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 220px at 85% 0%, rgba(95, 211, 255, .12), transparent 70%), radial-gradient(520px 200px at 0% 100%, rgba(143, 220, 255, .06), transparent 70%); }
html.zx-shell .zx-home-inner { position: relative; }
html.zx-shell .zx-home-h { margin: 0 0 12px; color: #fff; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
html.zx-shell .zx-welcome-h { font-size: 15px; font-weight: 700; color: #b9c4e0; letter-spacing: .06em; text-transform: uppercase; }
html.zx-shell .zx-home-other { margin: 14px 0 0; color: #b9c4e0; font-size: 14px; }
html.zx-shell .zx-home .zx-linkbtn { color: var(--zx-ice); }
html.zx-shell .zx-num, html.zx-shell .zx-stat, html.zx-shell .zx-chip { font-variant-numeric: tabular-nums; }

/* tiles: icon in a glowing disc, a short title, one line */
html.zx-shell .zx-tiles { display: grid; gap: 10px; }
@media (min-width: 760px) { html.zx-shell .zx-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } html.zx-shell .zx-tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html.zx-shell .zx-tile { position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border: 1px solid var(--zx-card-line); border-radius: 18px; background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); color: #fff; text-align: left; text-decoration: none; font: inherit; cursor: pointer; box-shadow: 0 8px 24px rgba(2, 8, 28, .35); }
@media (min-width: 760px) { html.zx-shell .zx-tile { flex-direction: column; align-items: flex-start; min-height: 168px; padding: 20px; } }
html.zx-shell .zx-tile-ic { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: radial-gradient(circle at 30% 25%, #e4ff8a, var(--lime) 55%, #93c21a); color: var(--navy); box-shadow: 0 0 22px rgba(198, 244, 50, .35); }
html.zx-shell .zx-tile.is-store .zx-tile-ic, html.zx-shell .zx-tile.is-claim .zx-tile-ic { background: radial-gradient(circle at 30% 25%, #b9ecff, var(--cyan) 55%, #2a9fd0); box-shadow: 0 0 22px rgba(95, 211, 255, .35); }
html.zx-shell .zx-tile.is-supplier .zx-tile-ic, html.zx-shell .zx-tile.is-apply .zx-tile-ic { background: radial-gradient(circle at 30% 25%, #eef4ff, #b8cdf2 55%, #7f9ad0); box-shadow: 0 0 18px rgba(184, 205, 242, .25); }
html.zx-shell .zx-tile-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
html.zx-shell .zx-tile-txt { display: grid; gap: 2px; min-width: 0; }
html.zx-shell .zx-tile-h { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
html.zx-shell .zx-tile-line { color: #b9c4e0; font-size: 14px; }
html.zx-shell .zx-tile-go { margin-left: auto; color: var(--zx-ice); }
@media (min-width: 760px) { html.zx-shell .zx-tile-go { position: absolute; right: 18px; bottom: 18px; } }
html.zx-shell .zx-tile-go svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
html.zx-shell .zx-tile:hover { border-color: var(--zx-ice-line); box-shadow: var(--zx-glow), 0 8px 24px rgba(2, 8, 28, .35); }
html.zx-shell .zx-tile:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* quick actions: big icon buttons */
/* The welcome: one line on what Zeltrix is, the choices, then two things to try (a weekend's events, the scanner). */
html.zx-shell .zx-what { margin: 0 0 12px; color: #dfe6f7; font-size: 16px; font-weight: 600; line-height: 1.4; }
html.zx-shell:not(.zx-dark) .zx-what { color: var(--ink, #16203a); }
html.zx-shell .zx-try { display: grid; gap: 10px; width: 100%; justify-self: stretch; margin-top: 14px; }
html.zx-shell .zx-try :is(.zx-row-t, .zx-row-s) { white-space: normal; }
@media (min-width: 760px) { html.zx-shell .zx-try { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1024px) { html.zx-shell.zx-choose .zx-home { padding-bottom: 32px; } html.zx-shell.zx-choose .zx-tile { min-height: 200px; } }

/* cards: dark navy surfaces, big numbers first */
html.zx-shell .zx-cards { display: grid; gap: 10px; }
@media (min-width: 700px) { html.zx-shell .zx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } html.zx-shell .zx-card-hero { grid-column: 1 / -1; } }
@media (min-width: 1200px) { html.zx-shell .zx-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } html.zx-shell .zx-card-hero { grid-column: span 2; grid-row: span 2; } }
html.zx-shell .zx-card { position: relative; display: flex; flex-direction: column; padding: 14px 16px; border: 1px solid var(--zx-card-line); border-radius: 18px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); color: #fff; }
html.zx-shell .zx-card-hero { background: radial-gradient(420px 180px at 100% 0%, rgba(95, 211, 255, .14), transparent 70%), linear-gradient(160deg, #1a2a5e, #0e1838); box-shadow: var(--zx-glow); }
html.zx-shell .zx-card-h { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #9fb0d6; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
html.zx-shell .zx-card-ic { display: inline-flex; color: var(--zx-ice); }
html.zx-shell .zx-card-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
html.zx-shell .zx-stat { margin: 0; color: #fff; font-size: 22px; font-weight: 800; line-height: 1.15; }
html.zx-shell .zx-stat-xl { font-size: clamp(34px, 8vw, 46px); letter-spacing: -.02em; }
html.zx-shell .zx-stat-meta { margin: 2px 0 0; color: #b9c4e0; font-size: 14px; }
html.zx-shell .zx-fine { margin: 10px 0 0; color: #8d9bbd; font-size: 12px; }
html.zx-shell .zx-credit { margin-top: 6px; }
html.zx-shell .zx-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
html.zx-shell .zx-chip-row { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; }
html.zx-shell .zx-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
html.zx-shell .zx-chip-l { color: #8d9bbd; font-size: 12px; font-weight: 600; white-space: nowrap; }
html.zx-shell .zx-hero-num { flex: 1 1 auto; min-width: 0; }
html.zx-shell .zx-chip.is-up { background: rgba(198, 244, 50, .16); color: var(--lime); }
html.zx-shell .zx-chip.is-down { background: rgba(255, 120, 120, .16); color: #ffb3ad; }
html.zx-shell .zx-chip.is-flat { background: rgba(255, 255, 255, .1); color: #dfe6f7; }
html.zx-shell .zx-spark { flex: 0 1 140px; width: 140px; min-width: 56px; height: 44px; overflow: visible; }
html.zx-shell .zx-spark-line { fill: none; stroke: var(--zx-ice); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
html.zx-shell .zx-spark-fill { fill: rgba(143, 220, 255, .12); stroke: none; }
html.zx-shell .zx-thumbs { display: flex; align-items: flex-end; gap: 8px; margin-top: 12px; }
html.zx-shell .zx-thumb { display: block; flex: 0 0 56px; width: 56px; height: auto; aspect-ratio: 63 / 88; max-width: 100%; object-fit: contain; border: 1px solid rgba(255, 255, 255, .18); border-radius: 5px; background: #0e1838; box-shadow: 0 6px 14px rgba(0, 0, 0, .4); }
html.zx-shell .zx-card-btn { align-self: flex-start; margin-top: 10px; }
html.zx-shell .zx-card .button-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); }
/* The whole card opens its page (one big tap target); the visible line says where. */
html.zx-shell .zx-card-cover { margin-top: auto; padding-top: 10px; color: var(--zx-ice); font-size: 14px; font-weight: 700; text-decoration: none; }
html.zx-shell .zx-card-cover::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
html.zx-shell .zx-card-cover:focus-visible { outline: none; }
html.zx-shell .zx-card-cover:focus-visible::after { outline: 3px solid var(--lime); outline-offset: 2px; }
html.zx-shell .zx-card:has(.zx-card-cover):hover { border-color: var(--zx-ice-line); }
html.zx-shell .zx-level-row { display: flex; align-items: center; gap: 14px; }
html.zx-shell .zx-level-txt { min-width: 0; }
html.zx-shell .zx-ring { flex: 0 0 auto; }
html.zx-shell .zx-ring-track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 6; }
html.zx-shell .zx-ring-fill { fill: none; stroke: var(--zx-ice); stroke-width: 6; stroke-linecap: round; }
html.zx-shell .zx-ring-num { fill: #fff; font-size: 18px; font-weight: 800; font-family: Inter, system-ui, sans-serif; }
html.zx-shell .zx-event-row { display: flex; align-items: center; gap: 12px; }
html.zx-shell .zx-date { display: grid; flex: 0 0 auto; place-items: center; width: 52px; height: 56px; border-radius: 12px; background: var(--zx-ice-soft); color: #eaf6ff; box-shadow: inset 0 0 0 1px var(--zx-ice-line); line-height: 1; }
html.zx-shell .zx-date-m { font-size: 12px; font-weight: 800; text-transform: uppercase; }
html.zx-shell .zx-date-d { font-size: 22px; font-weight: 800; }
html.zx-shell .zx-event-txt { min-width: 0; flex: 1 1 auto; }
html.zx-shell .zx-event-title { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
html.zx-shell .zx-event-title a { color: #fff; text-decoration: none; }
html.zx-shell .zx-event-title a::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
html.zx-shell .zx-event-title a:focus-visible::after { outline: 3px solid var(--lime); outline-offset: 2px; }
html.zx-shell .zx-event-logo { flex: 0 0 auto; width: 64px; height: 32px; object-fit: contain; }
html.zx-shell .zx-continue { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
html.zx-shell .zx-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
html.zx-shell .zx-pill svg { width: 16px; height: 16px; color: var(--zx-ice); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.zx-shell .zx-pill:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* satisfying taps, never with reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html.zx-shell :is(.zx-tile, .zx-scan-cta, .zx-card, .zx-pill, .zx-tab) { transition: transform .12s ease, border-color .15s ease, box-shadow .2s ease; }
  html.zx-shell :is(.zx-tile, .zx-scan-cta, .zx-pill):active { transform: scale(.97); }
  html.zx-shell .zx-tile:hover { transform: translateY(-2px); }
  html.zx-shell .zx-home-inner > * { animation: zx-rise .28s ease-out both; }
  html.zx-shell .zx-home-inner > :nth-child(2) { animation-delay: .04s; }
  html.zx-shell .zx-home-inner > :nth-child(3) { animation-delay: .08s; }
  html.zx-shell .zx-ring-fill { transition: stroke-dashoffset .6s ease-out; }
}
@keyframes zx-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* ---------- joins */
html.zx-shell .zx-deck-add { margin-left: 8px; }

/* ---------- card shops (phase 2): the store's own sections and the player view */
html.zx-shell .zx-tabbar.zx-tabbar-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html.zx-shell .zx-tabbar.zx-tabbar-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
html.zx-shell button.zx-tab, html.zx-shell button.zx-side-link { border: 0; background: transparent; font: inherit; cursor: pointer; }
html.zx-shell button.zx-tab { font-size: 12px; font-weight: 600; }
html.zx-shell button.zx-side-link { width: 100%; text-align: left; }
html.zx-shell .zx-side-tag { margin: -8px 10px 12px; color: var(--zx-ice); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
html.zx-shell .zx-drawer-switch { margin: 14px 16px 4px; }
html.zx-shell .zx-drawer-switch .button { width: 100%; justify-content: center; }
html.zx-shell .zx-drawer-soon { margin: 14px 16px 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #c9d2ea; font-size: 14px; line-height: 1.45; }
html.zx-shell .zx-viewas { margin: 0; padding: 8px 16px; background: #d9f1ff; color: var(--navy); font-size: 14px; font-weight: 600; text-align: center; }
html.zx-shell .zx-viewas .zx-linkbtn { padding: 0; color: var(--navy); }
html.zx-shell .zx-biz-switch { margin: 10px 0 0; }
html.zx-shell .page-header .zx-biz-switch .zx-linkbtn { color: #8fdcff; } /* the page header stays navy on Light pages too */
/* Light pages: the tile and home sub-lines in the Light muted ink (AA on white; review 2, P2-18: they were 1.74:1). */
html.zx-shell:not(.zx-dark) :is(.zx-tile-line, .zx-home-other, .zx-join-line, .zx-stat-meta) { color: var(--muted, #5b667c); }
html.zx-shell:not(.zx-dark) .zx-welcome-h { color: var(--muted, #5b667c); }
html.zx-shell:not(.zx-dark) .zx-home .zx-linkbtn { color: #1d5fa8; }
html.zx-shell .zx-store-actions { margin-top: 4px; }
/* In the store's own sections the header's player sign-in would confuse: stores sign in on their dashboard. */
html.zx-shell.zx-shell-store .header-actions .acc-slot { display: none; }

/* ---------- frame polish: depth, a small lime indicator on the active tab, the lime Scan button */
html.zx-shell .zx-tabbar { background: linear-gradient(180deg, #0f1a3c, var(--navy-deep)); }
html.zx-shell .zx-tab[aria-current="page"] .zx-ic { position: relative; }
html.zx-shell .zx-tab[aria-current="page"]:not(.is-scan) .zx-ic::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
html.zx-shell .zx-tab.is-scan .zx-ic { background: radial-gradient(circle at 30% 25%, #e4ff8a, var(--lime) 55%, #93c21a); box-shadow: 0 0 24px rgba(198, 244, 50, .45), 0 0 0 4px var(--navy-deep); }
@media (min-width: 1024px) {
  html.zx-shell .zx-side { background: linear-gradient(180deg, #0f1a3c 0%, var(--navy-deep) 60%); }
  html.zx-shell .zx-side-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--lime); }
}

/* ---------- redesign (owner, 2026-10-28): game colours, Me, Home's one big action */
/* Each game's colour, used everywhere a game shows (chips, tiles, date blocks, card edges). Lime stays the one main action. */
html.zx-shell { --zx-g-pokemon: #FFCB05; --zx-g-onepiece: #F0565C; --zx-g-mtg: #F2994A; --zx-g-yugioh: #A78BFA; --zx-g-lorcana: #34C3C9; --zx-g-digimon: #4F8DF7; --zx-g-other: #6CC5FF; }
html.zx-shell .is-pokemon { --zx-g: var(--zx-g-pokemon); --zx-g-soft: rgba(255, 203, 5, .14); --zx-g-ink: #FFE27A; }
html.zx-shell .is-onepiece { --zx-g: var(--zx-g-onepiece); --zx-g-soft: rgba(240, 86, 92, .16); --zx-g-ink: #FF9EA2; }
html.zx-shell .is-mtg { --zx-g: var(--zx-g-mtg); --zx-g-soft: rgba(242, 153, 74, .16); --zx-g-ink: #FFC08A; }
html.zx-shell .is-yugioh { --zx-g: var(--zx-g-yugioh); --zx-g-soft: rgba(167, 139, 250, .18); --zx-g-ink: #C9B8FF; }
html.zx-shell .is-lorcana { --zx-g: var(--zx-g-lorcana); --zx-g-soft: rgba(52, 195, 201, .16); --zx-g-ink: #8BE5E8; }
html.zx-shell .is-digimon { --zx-g: var(--zx-g-digimon); --zx-g-soft: rgba(79, 141, 247, .18); --zx-g-ink: #A9C6FF; }

/* The header's Me button: a person, on the right. */
html.zx-shell .zx-more-btn.is-me { order: 20; margin-left: 2px; margin-right: -6px; }
html.zx-shell .zx-more-btn.is-me svg { stroke-width: 2; }
html.zx-shell .zx-more-btn.is-me .zx-more-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.zx-shell .zx-more-btn.is-me { width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); }

/* Me: from the right, like a profile screen; short groups of rows on cards. */
html.zx-shell .zx-drawer.zx-me { margin: 0 0 0 auto; background: #0A1028; }
@media (prefers-reduced-motion: no-preference) { html.zx-shell .zx-drawer.zx-me[open] { animation-name: zx-me-in; } }
@keyframes zx-me-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
html.zx-shell .zx-me .zx-drawer-head { background: #0A1028; border-bottom: 0; }
html.zx-shell .zx-me .zx-drawer-title { font-size: 22px; font-weight: 800; }
html.zx-shell .zx-me .zx-drawer-account { margin: 4px 16px 6px; padding: 14px; border-radius: 20px; background: #121A3A; gap: 14px; }
html.zx-shell .zx-me .zx-account-ic { width: 52px; height: 52px; }
html.zx-shell .zx-me .zx-account.has-ring .zx-ring { width: 60px; height: 60px; flex: 0 0 auto; }
html.zx-shell .zx-me .zx-account-name { font-size: 18px; font-weight: 800; }
html.zx-shell .zx-me .zx-drawer-group { padding: 10px 16px 0; }
html.zx-shell .zx-me .zx-drawer-group-h { margin: 8px 4px 8px; color: #A9B4D6; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
html.zx-shell .zx-me .zx-drawer-list { display: block; border-radius: 18px; background: #121A3A; overflow: hidden; }
html.zx-shell .zx-me .zx-drawer-list li + li .zx-drawer-link { border-top: 1px solid rgba(255, 255, 255, .05); }
html.zx-shell .zx-me .zx-drawer-link { width: 100%; margin: 0; padding: 0 14px; min-height: 52px; border-radius: 0; font-size: 16px; font-weight: 600; }
html.zx-shell .zx-me .zx-drawer-ic { width: 36px; height: 36px; }
/* Each group has its own colour, so the list is easy to scan. */
html.zx-shell .zx-me .zx-drawer-group:nth-of-type(6n+1) .zx-drawer-ic { background: rgba(198, 244, 50, .14); color: #C6F432; }
html.zx-shell .zx-me .zx-drawer-group:nth-of-type(6n+2) .zx-drawer-ic { background: rgba(52, 195, 201, .16); color: #8BE5E8; }
html.zx-shell .zx-me .zx-drawer-group:nth-of-type(6n+3) .zx-drawer-ic { background: rgba(255, 255, 255, .08); color: #F4F6FF; }
html.zx-shell .zx-me .zx-drawer-group:nth-of-type(6n+4) .zx-drawer-ic { background: rgba(242, 153, 74, .16); color: #FFC08A; }
html.zx-shell .zx-me .zx-drawer-group:nth-of-type(6n+5) .zx-drawer-ic { background: rgba(167, 139, 250, .18); color: #C9B8FF; }
html.zx-shell .zx-me .zx-drawer-theme { margin: 8px 0 0; padding: 0; }
html.zx-shell .zx-me .zx-theme-btn { width: 100%; min-height: 52px; padding: 0 14px; border-radius: 18px; background: #121A3A; }
html.zx-shell .zx-me .zx-drawer-who { margin: 16px 20px 0; }
html.zx-shell .zx-me-foot { margin: 14px 20px 0; color: #8d9bbd; font-size: 14px; line-height: 2; }
html.zx-shell .zx-me-foot-a { color: #A9B4D6; text-decoration: none; padding: 10px 2px; }
html.zx-shell .zx-me-foot-a:hover, html.zx-shell .zx-me-foot-a[aria-current="page"] { color: #fff; text-decoration: underline; }
@media (min-width: 520px) { html.zx-shell .zx-me .zx-drawer-list { display: block; } html.zx-shell .zx-me .zx-drawer-link { padding: 0 14px; font-size: 16px; } }

/* Home: "Scan a card" is the one big lime action. */
html.zx-shell .zx-scan-cta { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 16px 18px; border-radius: 20px; background: var(--lime); color: var(--navy); text-decoration: none; box-shadow: 0 10px 28px rgba(198, 244, 50, .18); }
html.zx-shell .zx-scan-cta-ic { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--lime); }
html.zx-shell .zx-scan-cta-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.zx-shell .zx-scan-cta-txt { display: grid; flex: 1; min-width: 0; }
html.zx-shell .zx-scan-cta-h { font-size: 18px; font-weight: 800; }
html.zx-shell .zx-scan-cta-s { font-size: 14px; font-weight: 500; }
html.zx-shell .zx-scan-cta-go svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
html.zx-shell .zx-scan-cta:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
html.zx-shell .zx-card-add { display: inline-block; margin-top: 6px; }
/* The games, each in its colour: one sideways row. */
html.zx-shell .zx-games { display: flex; gap: 8px; margin: 0 -16px 14px; padding: 0 16px 2px; overflow-x: auto; list-style: none; scrollbar-width: none; }
html.zx-shell .zx-games::-webkit-scrollbar { display: none; }
html.zx-shell .zx-games li { flex: 0 0 auto; }
html.zx-shell .zx-game-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--zx-g-soft, rgba(255, 255, 255, .08)); color: var(--zx-g-ink, #fff); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--zx-g-soft, transparent); }
html.zx-shell .zx-game-chip::before { content: ""; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--zx-g, #fff); }
html.zx-shell .zx-game-chip:focus-visible { outline: 2px solid var(--zx-g, var(--lime)); outline-offset: 2px; }

/* On phones Me is the account button (its first row is the sign-in or the profile), so the site's own account icon goes. */
@media (max-width: 1023.98px) { html.zx-shell:not(.zx-shell-store) .header-actions .account-link { display: none; } }
/* Me: a row's second line (who it is for). */
html.zx-shell .zx-drawer-t.has-sub { display: grid; padding: 6px 0; }
html.zx-shell .zx-drawer-sub { color: #A9B4D6; font-size: 13px; font-weight: 500; line-height: 1.3; }

/* ---- store side (redesign) ---- */
/* Owner, 2026-10-28: the store side "does not look as good", "no back buttons ... clunky", "we kind of lead them through
   this". The same look as the player side (navy #0A1028, cards #121A3A, Inter); the store's own accent is sky #6CC5FF, used
   for its icons, header pill and active section; lime stays for the one main action of a screen. */
html.zx-shell { --zx-store: #6CC5FF; --zx-store-soft: rgba(108, 197, 255, .14); --zx-store-line: rgba(108, 197, 255, .34); --zx-store-ink: #A8DEFF; }
/* Before the store signs in on this device: no tab bar, its start screen leads the way. */
@media (max-width: 1023.98px) {
  html.zx-shell.zx-store-setup body { padding-bottom: env(safe-area-inset-bottom, 0px); }
  html.zx-shell.zx-store-setup .consent-banner { bottom: 0; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  html.zx-shell.zx-store-setup body:has(> .consent-banner:not([hidden])) { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
  /* Stores have no use for card search in their header: the room goes to the title and the way out. */
  html.zx-shell.zx-shell-store .zx-search-btn { display: none; }
  html.zx-shell.zx-shell-store .zx-bar-title { font-size: 17px; }
}
/* The store's root (start screen, or the dashboard once signed in) has no back: the "Player app" pill is the way out. */
html.zx-shell.zx-store-root .zx-back { display: none; }
/* "Player app": on every store page, next to the store's sheet button. */
html.zx-shell .header-main .zx-exit-pill { order: 19; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 4px; min-height: 44px; margin: 0; padding: 0 12px 0 8px; border: 0; border-radius: 999px; background: var(--zx-store-soft); color: var(--zx-store-ink); font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; box-shadow: inset 0 0 0 1px var(--zx-store-line); }
html.zx-shell .zx-exit-pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
html.zx-shell .zx-exit-pill:hover { background: rgba(108, 197, 255, .22); color: #fff; }
html.zx-shell .zx-exit-pill:focus-visible { outline: 2px solid var(--zx-store); outline-offset: 2px; }
html.zx-shell.zx-searching .zx-exit-pill { display: none; }
/* The header's store button: the store's sheet, in the store colour. */
html.zx-shell.zx-shell-store .zx-more-btn.is-me { order: 20; margin: 0 -6px 0 2px; }
html.zx-shell .zx-more-btn.is-me.is-store { background: var(--zx-store-soft); color: var(--zx-store); box-shadow: inset 0 0 0 1px var(--zx-store-line); }
html.zx-shell .zx-more-btn.is-me.is-store:focus-visible { outline-color: var(--zx-store); }
/* The active section in the store colour (tab bar dot, sidebar edge). */
html.zx-shell.zx-shell-store .zx-tab[aria-current="page"]:not(.is-scan) .zx-ic::after { background: var(--zx-store); box-shadow: 0 0 8px var(--zx-store); }
html.zx-shell.zx-shell-store .zx-tab[aria-current="page"] { color: #fff; }
html.zx-shell.zx-shell-store .zx-tab[aria-current="page"] .zx-ic { color: var(--zx-store); }
@media (min-width: 1024px) {
  html.zx-shell.zx-shell-store .zx-side-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--zx-store); }
  html.zx-shell.zx-shell-store .zx-side-tag { color: var(--zx-store-ink); }
}

/* The store and supplier sheet: the look of Me, with a back arrow and one line on what it is for. */
html.zx-shell .zx-me .zx-drawer-head { justify-content: flex-start; gap: 6px; }
html.zx-shell .zx-drawer-back { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -8px; border: 0; border-radius: 12px; background: transparent; color: #fff; cursor: pointer; }
html.zx-shell .zx-drawer-back svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
html.zx-shell .zx-drawer-back:focus-visible { outline: 2px solid var(--zx-store, var(--lime)); outline-offset: 0; }
html.zx-shell .zx-drawer-sub-h { margin: 0 20px 12px; color: #A9B4D6; font-size: 14px; line-height: 1.4; }
html.zx-shell .zx-me .zx-account.is-store .zx-account-ic { border-radius: 16px; background: var(--zx-store); color: #0A1028; box-shadow: 0 0 18px rgba(108, 197, 255, .3); }
html.zx-shell .zx-me .zx-account.is-store .zx-account-meta { color: var(--zx-store-ink); }
html.zx-shell .zx-me-store .zx-drawer-link[aria-current="page"] { color: var(--zx-store-ink); }
html.zx-shell .zx-drawer-player { color: #fff; }
/* Each store group has its own icon colour (data-tone), store rows in sky. */
html.zx-shell .zx-me .zx-drawer-group[data-tone="sky"] .zx-drawer-ic { background: var(--zx-store-soft); color: var(--zx-store); }
html.zx-shell .zx-me .zx-drawer-group[data-tone="lime"] .zx-drawer-ic { background: rgba(198, 244, 50, .14); color: #C6F432; }
html.zx-shell .zx-me .zx-drawer-group[data-tone="teal"] .zx-drawer-ic { background: rgba(52, 195, 201, .16); color: #8BE5E8; }
html.zx-shell .zx-me .zx-drawer-group[data-tone="plain"] .zx-drawer-ic { background: rgba(255, 255, 255, .08); color: #F4F6FF; }
/* What is not open yet: one quiet card, never a promise. */
html.zx-shell .zx-me .zx-drawer-soon, html.zx-shell .zx-store-soon { display: flex; align-items: center; gap: 12px; margin: 16px 16px 0; padding: 12px 14px; border-radius: 18px; background: #121A3A; color: #c9d2ea; font-size: 14px; line-height: 1.4; }
html.zx-shell .zx-home .zx-store-soon { margin: 14px 0 0; }
html.zx-shell :is(.zx-drawer-soon, .zx-store-soon) svg { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* A card shop on the home page: who it is for, then the ways in (or its sections), each with its purpose line. */
html.zx-shell .zx-store-head { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 16px; border-radius: 20px; background: radial-gradient(420px 160px at 100% 0%, rgba(108, 197, 255, .2), transparent 70%), #121A3A; box-shadow: inset 0 0 0 1px var(--zx-store-line); }
html.zx-shell .zx-store-badge { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--zx-store); color: #0A1028; }
html.zx-shell .zx-store-badge svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.zx-shell .zx-store-kicker { margin: 0 0 2px; color: var(--zx-store-ink); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
html.zx-shell .zx-store-head .zx-home-h { margin: 0; }
html.zx-shell .zx-store-tiles .zx-tile { background: #121A3A; }
html.zx-shell .zx-store-tiles .zx-tile.is-store .zx-tile-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--zx-store-soft); color: var(--zx-store); box-shadow: none; }
html.zx-shell .zx-store-tiles .zx-tile-go { color: var(--zx-store-ink); }

/* The sign-in page before the store signs in: the app bar says "Sign in", so the website title band goes. */
html.zx-shell.zx-store-setup .org-dash-top { display: none; }
/* Signed in, on the dashboard: the section and what it is for. */
html.zx-shell .zx-store-purpose { width: min(100% - 32px, 1100px); margin: 12px auto 0; padding: 12px 16px; border-radius: 16px; background: #121A3A; box-shadow: inset 3px 0 0 var(--zx-store); }
html.zx-shell .zx-store-purpose[hidden] { display: none; }
html.zx-shell .zx-sp-t { margin: 0; color: #fff; font-size: 17px; font-weight: 800; }
html.zx-shell .zx-sp-s { margin: 2px 0 0; color: #b9c4e0; font-size: 14px; line-height: 1.4; }

/* The claim page as an app screen: a compact header, the form first, "Why claim your page" as a short list after it. */
html.zx-shell.zx-org-claim .org-claim-hero { padding: 16px 0 18px; }
html.zx-shell.zx-org-claim .org-claim-hero :is(.org-pill, .org-hero-cta, .org-claim-verified) { display: none; }
html.zx-shell.zx-org-claim .org-claim-hero h1 { margin: 0 0 6px; font-size: clamp(22px, 6vw, 30px); line-height: 1.15; }
html.zx-shell.zx-org-claim .org-claim-hero .org-lead { margin: 0; font-size: 15px; line-height: 1.45; }
html.zx-shell.zx-org-claim .org-claim-shell { padding-top: 16px; }
html.zx-shell.zx-org-claim .org-why { margin: 20px 0 0; }
html.zx-shell.zx-org-claim .org-why-title { margin: 0 4px 10px; color: #A9B4D6; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
html.zx-shell.zx-org-claim .org-why-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 900px) { html.zx-shell.zx-org-claim .org-why-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
html.zx-shell.zx-org-claim .org-why-tile { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #121A3A; box-shadow: none; }
html.zx-shell.zx-org-claim .org-why-tile p { display: none; }
html.zx-shell.zx-org-claim .org-why-tile h3 { margin: 0; color: #fff; font-size: 14px; line-height: 1.25; }
html.zx-shell.zx-org-claim .org-why-ico { flex: 0 0 auto; width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: var(--zx-store-soft); color: var(--zx-store); }
html.zx-shell.zx-org-claim .org-why-tile .org-soon { position: static; margin-left: auto; }
/* The organizers page as an app screen: the request form first (a store applying sees no website hero at all). */
html.zx-shell.zx-org-landing .org-hero { padding: 14px 0 16px; }
html.zx-shell.zx-org-landing .org-hero :is(.org-pill, .org-lead, .org-hero-cta, .org-hero-note, .org-demo) { display: none; }
html.zx-shell.zx-org-landing .org-hero-inner { display: block; }
html.zx-shell.zx-org-landing .org-hero h1 { margin: 0; font-size: clamp(20px, 5.4vw, 28px); line-height: 1.2; }
html.zx-shell.zx-shell-store.zx-org-landing .org-hero { display: none; }
html.zx-shell.zx-org-landing .org-shell > .org-request { margin-top: 16px; }
html.zx-shell.zx-org-landing .org-request-copy h2 { margin: 0 0 8px; font-size: clamp(22px, 6vw, 30px); }
html.zx-shell.zx-org-landing .org-request-copy .kicker { color: var(--zx-store-ink); }
html.zx-shell .zx-me > .zx-drawer-theme { margin: 12px 16px 0; }

/* ---------- adversarial review 2026-10-28 (ws2-shell) ---------- */
/* NAV-12, HOME-12, A11Y-10: one background from top to bottom; no lighter navy band under short screens. */
html.zx-shell.zx-dark:root { background-color: var(--bg, #0b1430); }
html.zx-shell:not(.zx-dark):root { background-color: var(--bg, #fff); }
/* HOME-08: one level display in the app (Home's ring chip and Me's profile); the website's header chip goes. */
html.zx-shell .site-header .hud { display: none; }
/* HOME-13: the welcome fits its three choices above the cookie sheet at 400 x 850; the language moved into Me. */
html.zx-shell-home.zx-shell.zx-choose .hero .lang-alt { display: none; }
@media (max-width: 700px) {
  html.zx-shell-home.zx-shell.zx-choose .hero .hero-inner { padding-top: 8px; padding-bottom: 0; }
  html.zx-shell-home.zx-shell.zx-choose .hero .hero-fox { max-width: 76px; }
  html.zx-shell-home.zx-shell.zx-choose .hero h1 { font-size: clamp(28px, 8vw, 40px); }
  html.zx-shell.zx-choose .zx-home { padding-top: 10px; }
  html.zx-shell.zx-choose .zx-what { margin-bottom: 8px; font-size: 15px; }
  html.zx-shell.zx-choose .zx-tiles { gap: 8px; }
  html.zx-shell.zx-choose .zx-tile { min-height: 64px; padding: 10px 14px; }
  html.zx-shell.zx-choose .zx-tile-ic { width: 44px; height: 44px; border-radius: 14px; }
  html.zx-shell.zx-choose .zx-tile-h { font-size: 18px; }
}
/* HOME-06: a new player's first screen: what to do, then two optional picks. */
html.zx-shell .zx-first-h { margin: 2px 0 2px; color: #fff; font-size: 18px; font-weight: 800; line-height: 1.3; }
html.zx-shell:not(.zx-dark) .zx-first-h { color: var(--ink, #16203a); }
html.zx-shell .zx-first-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
html.zx-shell .zx-first-chip, html.zx-shell .zx-first-games .zx-chip-b { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--zx-card-line, rgba(255, 255, 255, .09)); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
html.zx-shell .zx-first-games { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
html.zx-shell .zx-first-games[hidden] { display: none; }
html.zx-shell .zx-first-games .zx-chip-b[aria-pressed="true"] { border-color: var(--zx-ice); background: var(--zx-ice-soft); color: var(--zx-ice); }
html.zx-shell :is(.zx-first-chip, .zx-first-games .zx-chip-b):focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
/* HOME-04: "Set your city" under the weekend card. */
html.zx-shell .zx-set-city { display: inline-flex; align-items: center; min-height: 44px; margin: -6px 0 2px 70px; padding: 0; font-size: 14px; }
/* HOME-05: Free tools, six plain tiles (the Light theme's .zx-quick-a rules are in app-screens.css). */
html.zx-shell .zx-quick-box { min-width: 0; }
html.zx-shell .zx-quick-h { margin: 0 0 8px; color: #A9B4D6; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
html.zx-shell .zx-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
html.zx-shell .zx-quick-a { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-height: 76px; height: 100%; box-sizing: border-box; padding: 10px; border: 1px solid var(--zx-card-line, rgba(255, 255, 255, .09)); border-radius: 16px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; }
html.zx-shell .zx-quick-a .zx-ic { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--zx-ice-soft); color: var(--zx-ice); }
html.zx-shell .zx-quick-a .zx-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.zx-shell .zx-quick-s { color: var(--zx-mute, #b9c4e0); font-size: 12px; font-weight: 600; }
html.zx-shell .zx-quick-a:hover { border-color: var(--zx-ice-line); }
html.zx-shell .zx-quick-a:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
@media (min-width: 1024px) { html.zx-shell .zx-quick { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* HOME-07, A11Y-10: from tablet width the game chips get their own full row and wrap (a mouse cannot scroll a row
   sideways); the hero cards sit side by side, then the next event and the rest fill the column. */
@media (min-width: 760px) {
  html.zx-shell.zx-dash .zx-home-inner > .zx-games { grid-column: 1 / -1; flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
  html.zx-shell.zx-dash .zx-home-inner > :is(.zx-quick-box, .zx-market-row) { grid-column: 1 / -1; }
  html.zx-shell.zx-dash .zx-home-inner > .zx-scan-cta { margin: 0; }
  html.zx-shell.zx-dash .zx-home-inner > .zx-dash-top { order: 0; }
  html.zx-shell.zx-dash .zx-home-inner > .zx-card-hero { order: 1; }
  html.zx-shell.zx-dash .zx-home-inner > .zx-scan-cta { order: 2; }
  html.zx-shell.zx-dash .zx-home-inner > .zx-next { order: 3; }
  html.zx-shell.zx-dash .zx-home-inner > .zx-games { order: 4; }
  html.zx-shell.zx-dash .zx-home-inner > .zx-quick-box { order: 5; }
  html.zx-shell.zx-dash .zx-home-inner > :is(.zx-market-row, .zx-continue-card, .zx-nfy-row) { order: 6; }
  html.zx-shell.zx-dash .zx-home-inner > .zx-join-line { order: 7; }
}
/* PERSONA-13: the join card fits the phone, sits above the tab bar (and the Add button: app-screens.css) and keeps its
   close button in view. */
@media (max-width: 1023.98px) {
  html.zx-shell .acc-nudge { left: 12px; right: 12px; bottom: calc(var(--zx-bar) + 12px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box; width: auto; max-width: calc(100vw - 24px); }
}
html.zx-shell .acc-nudge[hidden] { display: none; }
html.zx-shell .acc-nudge-close { min-width: 44px; min-height: 44px; top: 2px; right: 2px; }
/* A11Y-12: the French home (/fr/) keeps its hero as the answer: its H1, one line and its ways in (no fox). */
html.zx-shell:not(.zx-shell-home) #main.fr-home > .hero { display: block !important; padding: 14px 0 6px; min-height: 0; }
html.zx-shell #main.fr-home > .hero .hero-inner { display: block; min-height: 0; padding: 0; }
html.zx-shell #main.fr-home > .hero .hero-fox { display: none; }
html.zx-shell #main.fr-home > .hero h1 { margin: 0 0 8px; font-size: clamp(26px, 7vw, 40px); line-height: 1.1; }
/* NAV-12, HOME-12: Home's surface reaches the tab bar (no line and darker band under a short home). */
html.zx-shell-home.zx-shell:root .zx-home.zx-scr { min-height: calc(100vh - var(--zx-appbar, 56px) - var(--zx-bar)); border-bottom: 0; box-sizing: border-box; }
@media (min-width: 1024px) { html.zx-shell-home.zx-shell:root .zx-home.zx-scr { min-height: calc(100vh - 70px); } }
/* A card shop before it signs in has no tab bar: no empty strip for one. */
html.zx-shell.zx-store-setup body { padding-bottom: env(safe-area-inset-bottom, 0px); }
html.zx-shell-home.zx-shell.zx-store-setup:root .zx-home.zx-scr { min-height: calc(100vh - var(--zx-appbar, 56px)); }
/* Light pages: the new Home parts keep AA contrast on the light surface. */
html.zx-shell:not(.zx-dark) .zx-quick-h { color: var(--muted, #5b667c); }
html.zx-shell:not(.zx-dark) .zx-quick-s { color: var(--muted, #5b667c); }
/* NAV-06: the sign-in card's name wraps instead of being cut ("Connexion ou inscription gratuite" at 400px). */
html.zx-shell .zx-account-name { overflow-wrap: anywhere; white-space: normal; }
/* A11Y-11 (Me's foot line, asked by ws3-css): each small link is a 44px tap. */
html.zx-shell .zx-me-foot-a { display: inline-flex; align-items: center; min-height: 44px; }
/* Home's city list (the weekend card's "Set your city", the first run's "Your city"). */
html.zx-shell .zx-city-pick { margin: 4px 0 6px; }
html.zx-shell .zx-try-weekend .zx-city-pick, html.zx-shell .zx-next .zx-city-pick { margin-left: 70px; margin-right: 14px; }
html.zx-shell .zx-city-sel { width: 100%; max-width: 320px; min-height: 44px; padding: 0 12px; border-radius: 12px; font: inherit; font-size: 15px; }

/* A tab answers the touch at once (UX review 2026-10-30, item 3: no pressed state within 100 ms on 4 of 5 taps): a soft
   pill behind the icon while it is held, and the tapped tab shows as selected (app-screens.js tabPressed) while its page
   loads. Colour only, so nothing moves with reduced motion. */
html.zx-shell .zx-tab:not(.is-scan) { touch-action: manipulation; }
html.zx-shell .zx-tab:not(.is-scan) .zx-ic { padding: 3px 16px; margin: -3px 0; border-radius: 999px; }
html.zx-shell .zx-tab:not(.is-scan):active .zx-ic, html.zx-shell .zx-tab.is-going:not(.is-scan) .zx-ic { background: rgba(255, 255, 255, .16); }
html.zx-shell .zx-tab.is-going:not(.is-scan) { color: #fff; }
html.zx-shell .zx-tab[aria-current="page"]:not(.is-scan) .zx-ic::after { bottom: -2px; }

/* ---------- makeover 2026-11-13 (owner: "stupid proof … the button should say what to do … more colour"): the welcome
   home leads with three big action tiles in game colours, the hero band gets the game colours and a holo edge, and the
   Player / Card shop / Supplier choice is one compact row. Colours are explicit, so Light pages show them the same. */
html.zx-shell-home.zx-shell.zx-choose .hero-game {
  background:
    radial-gradient(420px 220px at 8% 0%, rgba(255, 203, 5, .22), transparent 70%),
    radial-gradient(420px 240px at 96% 10%, rgba(167, 139, 250, .30), transparent 70%),
    radial-gradient(520px 220px at 60% 120%, rgba(52, 195, 201, .22), transparent 70%),
    radial-gradient(360px 200px at 30% 110%, rgba(240, 86, 92, .18), transparent 70%),
    linear-gradient(160deg, #101c52, #070d26 65%);
  color: #fff;
}
html.zx-shell-home.zx-shell.zx-choose .hero-game::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, #FFCB05, #F2994A, #F0565C, #A78BFA, #4F8DF7, #34C3C9, #c6f432); }
html.zx-shell-home.zx-shell.zx-choose .hero-game h1 { color: #fff; }
html.zx-shell-home.zx-shell.zx-choose .hero-game .hero-accent { color: #c6f432; }
@media (min-width: 701px) {
  html.zx-shell-home.zx-shell.zx-choose .hero .hero-inner { padding-top: 18px; padding-bottom: 10px; }
  html.zx-shell-home.zx-shell.zx-choose .hero .hero-fox { max-width: 170px; }
}
html.zx-shell .zx-actions { margin: 0; }
html.zx-shell .zx-actions-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { html.zx-shell .zx-actions-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
html.zx-shell .zx-action { position: relative; display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 16px; overflow: hidden; isolation: isolate;
  border-radius: 18px; color: #0b1430; font-size: 19px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; text-decoration: none;
  box-shadow: 0 10px 26px rgba(2, 8, 28, .35), inset 0 1px 0 rgba(255, 255, 255, .45); }
/* The holo sheen: a soft diagonal light band across each tile (still; it sweeps on hover only with motion allowed). */
html.zx-shell .zx-action::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .38) 45%, rgba(255, 255, 255, .08) 55%, transparent 70%); background-size: 260% 100%; background-position: 100% 0; }
html.zx-shell .zx-action.is-value { background: linear-gradient(135deg, #FFE066, #FFCB05 45%, #F2994A); }
html.zx-shell .zx-action.is-scan { background: linear-gradient(135deg, #e4ff8a, #c6f432 45%, #34C3C9); }
html.zx-shell .zx-action.is-events { background: linear-gradient(135deg, #6f52e0, #5b3fd0 50%, #2f52d6); color: #fff; }
html.zx-shell .zx-action-ic { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(11, 20, 48, .14); }
html.zx-shell .zx-action.is-events .zx-action-ic { background: rgba(255, 255, 255, .18); }
html.zx-shell .zx-action svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
html.zx-shell .zx-action-t { flex: 1 1 auto; min-width: 0; }
html.zx-shell .zx-action-go { display: flex; flex: 0 0 auto; }
html.zx-shell .zx-action-go svg { width: 22px; height: 22px; }
html.zx-shell .zx-action:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #0b1430; }
@media (min-width: 760px) {
  html.zx-shell .zx-action { flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 150px; padding: 18px 20px; font-size: 22px; }
  html.zx-shell .zx-action-go { position: absolute; right: 18px; bottom: 18px; }
  html.zx-shell .zx-action-t { flex: 0 0 auto; padding-right: 30px; }
}
@media (prefers-reduced-motion: no-preference) { html.zx-shell .zx-action { transition: transform .15s ease, box-shadow .2s ease; } html.zx-shell .zx-action::after { transition: background-position .6s ease; } html.zx-shell .zx-action:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(2, 8, 28, .45), inset 0 1px 0 rgba(255, 255, 255, .45); } html.zx-shell .zx-action:hover::after { background-position: 0 0; } html.zx-shell .zx-action:active { transform: scale(.98); } }
html.zx-shell.zx-choose .zx-home-promise { margin: 0; font-size: 13px; }
/* The giveaway, moved under the actions: no second gutter. */
html.zx-shell .zx-home .gw-home { padding: 0; }
html.zx-shell .zx-home .gw-home > .shell { width: auto; margin: 0; }
/* "I’m a": three small buttons in one row. */
html.zx-shell .zx-roles { margin: 4px 0 0; }
html.zx-shell .zx-roles .zx-welcome-h { margin: 0 0 8px; font-size: 13px; }
html.zx-shell .zx-role-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
html.zx-shell .zx-role { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 6px 8px; border: 1px solid var(--zx-card-line, rgba(255, 255, 255, .14)); border-radius: 14px;
  background: rgba(255, 255, 255, .05); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
html.zx-shell .zx-role-ic { display: flex; flex: 0 0 auto; color: #c6f432; }
html.zx-shell .zx-role-t { white-space: nowrap; }
@media (max-width: 420px) { html.zx-shell .zx-role { gap: 6px; padding: 6px 4px; } }
html.zx-shell .zx-role.is-store .zx-role-ic { color: #5fd3ff; }
html.zx-shell .zx-role.is-supplier .zx-role-ic { color: #b8cdf2; }
html.zx-shell .zx-role svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.zx-shell .zx-role:hover { border-color: var(--zx-ice-line); }
html.zx-shell .zx-role:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
@media (max-width: 380px) { html.zx-shell .zx-role { flex-direction: column; gap: 2px; font-size: 13px; } }
html.zx-shell:not(.zx-dark) .zx-role { background: #fff; border-color: var(--border, #e2e6ee); color: var(--ink, #16203a); }
html.zx-shell:not(.zx-dark) .zx-role-ic { color: #4d7c0f; }
html.zx-shell:not(.zx-dark) .zx-role.is-store .zx-role-ic { color: #1d5fa8; }
html.zx-shell:not(.zx-dark) .zx-role.is-supplier .zx-role-ic { color: #4b5d86; }
@media (min-width: 760px) {
  html.zx-shell .zx-home-inner > :is(.zx-actions, .zx-roles, .gw-home, .zx-home-promise, .home-trend, .zx-try) { grid-column: 1 / -1; }
}
/* Trending cards and "Market this week" (site plan 2026-11-13, B4; home.mjs): moved into the app home from the page. The
   weekend card and the market's week sit side by side from 760px; a phone has the market chip above, so the card waits. */
html.zx-shell .zx-home .home-trend { margin: 6px 0 0; }
html.zx-shell .zx-home .home-mweek { padding: 12px 14px; }
html.zx-shell .zx-try { align-items: stretch; }
html.zx-shell .zx-try > .zx-row-card { min-width: 0; }
@media (max-width: 759px) { html.zx-shell .zx-try > .home-mweek { display: none; } }

/* ---------- the phone menu (owner, 2026-11-14: "Where's the menu? There's no menu for them to navigate. They wouldn't click
   on the top right me to navigate."). Phones and tablets: the header's Menu button (three lines and the word, like the
   tab bar's labels) on the left, then the logo; it opens the side menu from the left (app-shell.js navDrawer). Account (the
   person button) keeps the account and settings. Computers keep the sidebar and the whole sheet. */
@media (max-width: 1023.98px) {
  html.zx-shell .site-header .menu-button { order: 1; display: inline-flex; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: auto; min-width: 48px; height: 48px; margin: 0 0 0 -8px; padding: 0 6px; border: 0; border-radius: 12px; background: transparent; color: #fff; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  html.zx-shell .site-header .menu-lines { display: grid; gap: 4px; width: 22px; }
  /* Above the dark theme's rule for the website header's lines (app-shell-dark.mjs turns their white into a surface colour). */
  html.zx-shell .site-header .menu-button .menu-lines span { height: 2px; margin: 0; border-radius: 2px; background: currentColor; }
  html.zx-shell .site-header .menu-label { display: block; font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .01em; }
  html.zx-shell .site-header .menu-button:hover { background: rgba(255, 255, 255, .08); }
  html.zx-shell .site-header .menu-button:focus-visible { outline: 2px solid var(--lime); outline-offset: 0; }
  html.zx-shell .site-header .menu-button[aria-expanded="true"] { background: rgba(255, 255, 255, .1); }
  /* Below a tab the back arrow stays first, then Menu. */
  html.zx-shell .header-main > .zx-back { order: 0; }
  /* Account on a phone (the person button): the account card, Alerts and Settings only; the other groups are in the Menu. */
  html.zx-shell .zx-me .zx-me-nav { display: none; }
  /* The logo goes Home from every page (UI review 2026-11-14: below a tab it gave way to the back arrow, so Home was
     Back, Back, Back): back arrow, Menu, then the logo. A card shop's pages keep their own header. On narrow phones the
     screen's title gives way to the logo (each page's own heading names it). */
  html.zx-shell.zx-shell:not(.zx-shell-store) .site-header .header-main > .brand { display: flex; order: 2; flex: 0 0 auto; }
  html.zx-shell.zx-shell:not(.zx-shell-store) .site-header .header-main > .brand .brand-logo { height: 40px; }
}
@media (max-width: 479.98px) { html.zx-shell:not(.zx-shell-store) .site-header .zx-bar-title { display: none; } }
@media (min-width: 1024px) { html.zx-shell .zx-me .zx-me-phone { display: none; } }
/* The drawer: from the left, the full height, on its own scroll; the page under it stays put. */
html.zx-shell.zx-nav-open, html.zx-shell.zx-nav-open body { overflow: hidden; }
html.zx-shell .zx-drawer.zx-nav { width: min(340px, 88vw); margin: 0 auto 0 0; background: #0A1028; overscroll-behavior: contain; box-shadow: 12px 0 40px rgba(0, 0, 0, .45); }
@media (prefers-reduced-motion: no-preference) { html.zx-shell .zx-drawer.zx-nav[open] { animation: zx-nav-in .22s ease-out both; } }
@keyframes zx-nav-in { from { transform: translateX(-100%); } to { transform: none; } }
html.zx-shell .zx-nav .zx-drawer-head { z-index: 1; padding: 8px 12px 8px 20px; background: #0A1028; border-bottom: 1px solid rgba(255, 255, 255, .08); }
html.zx-shell .zx-nav .zx-drawer-title { font-size: 20px; font-weight: 800; }
html.zx-shell .zx-nav-close { display: inline-flex; align-items: center; justify-content: center; margin-right: -4px; }
html.zx-shell .zx-nav-close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
html.zx-shell .zx-nav-close:hover { background: rgba(255, 255, 255, .08); }
/* The sections: big rows, each icon in its tab colour. */
html.zx-shell .zx-nav-main { display: grid; gap: 2px; margin: 10px 10px 0; padding: 0; list-style: none; }
html.zx-shell .zx-nav-link { --tab-c: #c6f432; display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 14px; border-radius: 14px; color: #fff; font-size: 17px; font-weight: 700; text-decoration: none; -webkit-tap-highlight-color: transparent; }
html.zx-shell .zx-nav-link.is-cards { --tab-c: #FFCB05; }
html.zx-shell .zx-nav-link.is-collection { --tab-c: #34C3C9; }
html.zx-shell .zx-nav-link.is-play { --tab-c: #A78BFA; }
html.zx-shell .zx-nav-link.is-shop { --tab-c: #F2994A; }
html.zx-shell .zx-nav-link.zx-nav-market { --tab-c: #5fd3ff; }
html.zx-shell.zx-shell-store .zx-nav-link { --tab-c: #6CC5FF; }
html.zx-shell .zx-nav-link .zx-ic { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 30px; height: 30px; color: var(--tab-c); }
html.zx-shell .zx-nav-link .zx-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
html.zx-shell .zx-nav-link.is-scan .zx-ic { border-radius: 50%; background: var(--lime); color: var(--navy); }
html.zx-shell .zx-nav-link.is-scan .zx-ic svg { width: 18px; height: 18px; }
html.zx-shell .zx-nav-link.zx-nav-market { min-height: 48px; padding-left: 30px; font-size: 16px; font-weight: 600; }
html.zx-shell .zx-nav-link.zx-nav-market .zx-ic svg { width: 22px; height: 22px; }
html.zx-shell .zx-nav-link:hover { background: rgba(255, 255, 255, .06); }
html.zx-shell .zx-nav-link[aria-current="page"], html.zx-shell .zx-nav-link.is-here { background: rgba(255, 255, 255, .08); box-shadow: inset 3px 0 0 var(--tab-c); }
/* The groups (Follow, Level up, Free tools, For businesses), every row. */
html.zx-shell .zx-nav-group { margin: 12px 10px 0; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .08); }
html.zx-shell .zx-nav-group-h { margin: 10px 14px 4px; color: #A9B4D6; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
html.zx-shell .zx-nav-list { margin: 0; padding: 0; list-style: none; }
html.zx-shell .zx-nav-sub { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 12px; color: rgba(255, 255, 255, .92); font-size: 15px; font-weight: 600; text-decoration: none; }
html.zx-shell .zx-nav-sub:hover { background: rgba(255, 255, 255, .06); color: #fff; }
html.zx-shell .zx-nav-sub[aria-current="page"] { color: var(--zx-ice); }
html.zx-shell .zx-nav-foot { margin: 16px 24px 0; color: #8d9bbd; font-size: 14px; line-height: 2; }
html.zx-shell .zx-nav-foot-a { padding: 10px 2px; color: #A9B4D6; text-decoration: none; }
html.zx-shell .zx-nav-foot-a:hover, html.zx-shell .zx-nav-foot-a[aria-current="page"] { color: #fff; text-decoration: underline; }
html.zx-shell :is(.zx-nav-link, .zx-nav-sub, .zx-nav-foot-a, .zx-nav-close):focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
/* The bottom of the Menu: cookie preferences and Light pages. */
html.zx-shell .zx-nav-settings { margin: 14px 10px 0; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .08); }
html.zx-shell button.zx-nav-sub { width: 100%; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
html.zx-shell .zx-nav-settings .zx-drawer-theme { margin: 6px 4px 0; }
html.zx-shell .zx-nav-link.is-decks { --tab-c: #A78BFA; }
/* Shop in the phone header (app-shell.js shopButton): the bag and the word, the cart's count on the bag. In the shop the
   cart button shows instead. Computers: Shop in the sidebar and the cart at the top right, as before. */
html.zx-shell .zx-shop-btn { display: none; }
@media (max-width: 1023.98px) {
  html.zx-shell .header-main > .zx-shop-btn { order: 9; display: inline-flex; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 48px; height: 48px; padding: 0 4px; border-radius: 12px; color: #fff; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  html.zx-shell .zx-shop-ic { position: relative; display: inline-flex; color: #F2994A; }
  html.zx-shell .zx-shop-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  html.zx-shell .zx-shop-label { font-size: 12px; font-weight: 700; line-height: 1; }
  html.zx-shell .zx-shop-count { position: absolute; top: -6px; right: -10px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 999px; background: var(--lime); color: var(--navy); font-size: 11px; font-weight: 800; line-height: 1; }
  html.zx-shell .zx-shop-count[hidden] { display: none; }
  html.zx-shell .zx-shop-btn:hover { background: rgba(255, 255, 255, .08); }
  html.zx-shell .zx-shop-btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 0; }
  html.zx-shell.zx-has-shop:not(.zx-in-shop) .site-header .cart-button { display: none !important; }
  html.zx-shell.zx-in-shop .header-main > .zx-shop-btn { display: none; }
}
/* Prices: "Cards | Sealed | Market" under the header on the three price pages (app-shell.js pricesSwitch). */
html.zx-shell .zx-pswitch { padding: 10px 16px 0; }
html.zx-shell .zx-pswitch-in { display: flex; max-width: 520px; margin: 0 auto; padding: 4px; gap: 4px; border-radius: 14px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
html.zx-shell .zx-pswitch-a { display: flex; flex: 1 1 0; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; color: rgba(255, 255, 255, .86); font-size: 15px; font-weight: 700; text-decoration: none; }
html.zx-shell .zx-pswitch-a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
html.zx-shell .zx-pswitch-a[aria-current="page"] { background: #FFCB05; color: #0b1430; }
html.zx-shell .zx-pswitch-a:focus-visible { outline: 2px solid var(--lime); outline-offset: 1px; }
html.zx-shell:not(.zx-dark) .zx-pswitch-in { background: rgba(11, 20, 48, .06); box-shadow: inset 0 0 0 1px rgba(11, 20, 48, .14); }
html.zx-shell:not(.zx-dark) .zx-pswitch-a { color: #24304f; }
html.zx-shell:not(.zx-dark) .zx-pswitch-a[aria-current="page"] { color: #0b1430; }

/* ---------- makeover 2026-11-13, the phone tab bar (owner: "the bottom menu should be adjusted anyway, on the phone
   view"; then "I'm not seeing any difference other than a line that's now cutting through the picture taking option"). Same
   tabs, order and links. A floating rounded glass bar 12px from the edges and above the safe area; each tab's icon in its
   own colour (Home ice since 2026-11-14, Cards yellow, Collection teal, Play purple, Shop orange; a card shop's sections in the store colour),
   and the tab you are on as a filled chip in that colour with navy text. Scan is a bigger lime circle in a cradle: a dark ring
   cut into the bar, so no edge or line ever crosses it. --zx-bar becomes the bar plus its gap, so everything already placed
   "above the bar" (toasts, the cookie banner, the card page's Add bar) clears the floating bar too. No motion added. */
@media (max-width: 1023px) {
  html.zx-shell { --zx-bar: 76px; }
  html.zx-shell body { padding-bottom: calc(var(--zx-bar) + 16px + env(safe-area-inset-bottom, 0px)); }
  html.zx-shell .zx-tabbar { left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    height: 64px; padding: 0 6px; align-items: center; border: 1px solid rgba(255, 255, 255, .14); border-radius: 26px;
    background: rgba(13, 22, 52, .9); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08); }
  html.zx-shell .zx-tab { --tab-c: #c6f432; position: relative; gap: 2px; min-width: 0; height: 52px; min-height: 44px; margin: 0 2px; border-radius: 18px;
    color: #fff; font-size: 12px; font-weight: 700; letter-spacing: -.005em; }
  /* Home in ice (2026-11-14): lime is the Scan button's, the one loud colour on a screen. */
  html.zx-shell .zx-tab.is-home { --tab-c: #8fdcff; }
  html.zx-shell .zx-tab.is-cards { --tab-c: #FFCB05; }
  html.zx-shell .zx-tab.is-collection { --tab-c: #34C3C9; }
  html.zx-shell .zx-tab.is-play { --tab-c: #A78BFA; }
  html.zx-shell .zx-tab.is-shop { --tab-c: #F2994A; }
  html.zx-shell.zx-shell-store .zx-tab { --tab-c: #6CC5FF; }
  html.zx-shell .zx-tab:not(.is-scan) .zx-ic { padding: 0; margin: 0; background: none; box-shadow: none; color: var(--tab-c); opacity: .75; }
  html.zx-shell .zx-tab:not(.is-scan) .zx-ic svg { width: 24px; height: 24px; stroke-width: 2.4; }
  html.zx-shell .zx-tab:not(.is-scan) .zx-label { opacity: .92; }
  html.zx-shell .zx-tab:not(.is-scan):active .zx-ic, html.zx-shell .zx-tab.is-going:not(.is-scan) .zx-ic { background: none; opacity: 1; }
  html.zx-shell .zx-tab.is-going:not(.is-scan) { background: rgba(255, 255, 255, .1); }
  html.zx-shell .zx-tab[aria-current="page"]:not(.is-scan) { background: var(--tab-c); color: #0b1430; font-weight: 800; box-shadow: 0 4px 14px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .45); }
  html.zx-shell .zx-tab[aria-current="page"]:not(.is-scan) .zx-ic { color: #0b1430; opacity: 1; }
  html.zx-shell .zx-tab[aria-current="page"]:not(.is-scan) .zx-label { opacity: 1; }
  html.zx-shell .zx-tab[aria-current="page"]:not(.is-scan) .zx-ic::after { display: none; }
  html.zx-shell.zx-shell-store .zx-tab[aria-current="page"]:not(.is-scan) .zx-ic { color: #0b1430; }
  html.zx-shell .zx-tab:focus-visible { outline: 3px solid #fff; outline-offset: 1px; border-radius: 18px; }
  /* Scan (owner's iPhone screenshot, 2026-11-14: the 60px bubble stood 30px over the page above the bar and covered it):
     50px, raised only 8px, so it sits inside the bar's height with its label, with a calmer glow. */
  html.zx-shell .zx-tab.is-scan { justify-content: center; gap: 0; height: 64px; margin: 0; color: #fff; font-weight: 800; }
  html.zx-shell .zx-tab.is-scan .zx-ic { width: 50px; height: 50px; margin-top: -8px; margin-bottom: 0; color: #0b1430;
    background: radial-gradient(circle at 30% 25%, #e4ff8a, #c6f432 55%, #93c21a);
    box-shadow: 0 0 0 4px #070d26, 0 0 0 5px rgba(255, 255, 255, .12), 0 4px 12px rgba(198, 244, 50, .22); }
  html.zx-shell .zx-tab.is-scan .zx-ic svg { width: 26px; height: 26px; stroke-width: 2.4; }
  html.zx-shell .zx-tab.is-scan .zx-label { margin-top: 1px; line-height: 1.1; }
  html.zx-shell .zx-tab.is-scan:focus-visible { outline: 0; }
  html.zx-shell .zx-tab.is-scan:focus-visible .zx-ic { outline: 3px solid #fff; outline-offset: 8px; }
  html.zx-shell .zx-tab.is-scan.is-opening .zx-ic { box-shadow: 0 0 0 4px #070d26, 0 0 0 7px #fff; }
}
@media (max-width: 374px) { html.zx-shell .zx-tab { margin: 0 1px; font-size: 11.5px; letter-spacing: -.015em; } html.zx-shell .zx-tabbar { padding: 0 4px; } }
/* The fourth action, the Pokémon Market (owner, 2026-11-13: "How do they access the market from the screen?"): the
   dashboard's arena colours, navy text. With four actions, phones get slightly shorter tiles so the giveaway stays near. */
html.zx-shell .zx-action.is-market { background: linear-gradient(135deg, #b8eeff, #5fd3ff 45%, #a78bfa); }
@media (max-width: 759px) { html.zx-shell .zx-actions.is-four .zx-actions-list { gap: 8px; } html.zx-shell .zx-actions.is-four .zx-action { min-height: 58px; padding: 9px 14px; font-size: 18px; } html.zx-shell .zx-actions.is-four .zx-action-ic { width: 40px; height: 40px; border-radius: 12px; } html.zx-shell .zx-actions.is-four .zx-action svg { width: 23px; height: 23px; } }
@media (min-width: 760px) { html.zx-shell .zx-actions.is-four .zx-actions-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } html.zx-shell .zx-actions.is-four .zx-action { min-height: 136px; font-size: 20px; } }
/* The sidebar's Pokémon Market link, indented under Cards, in the dashboard's cyan. */
@media (min-width: 1024px) { html.zx-shell .zx-side-link.zx-side-market { min-height: 44px; margin-top: -4px; padding-left: 30px; font-size: 15px; } html.zx-shell .zx-side-market .zx-ic { color: #5fd3ff; } html.zx-shell .zx-side-market .zx-ic svg { width: 20px; height: 20px; } html.zx-shell .zx-side-market.is-here { background: rgba(95, 211, 255, .12); color: #fff; box-shadow: inset 3px 0 0 #5fd3ff; } }

/* The open giveaway's row after the sections (app-shell.js gwLink; only while it is open): the Pokémon gold of the giveaway
   card, so it reads as the one thing that is on now, not as another section. */
html.zx-shell .zx-nav-link.is-giveaway { --tab-c: #FFCB05; }
@media (min-width: 1024px) {
  html.zx-shell .zx-side-link.is-giveaway .zx-ic { color: #FFCB05; }
  html.zx-shell .zx-side-link.is-giveaway[aria-current="page"] { box-shadow: inset 3px 0 0 #FFCB05; }
}
