/* The Daily Find — storefront styles
   The palette, the type and the furniture are lifted straight from their own site
   (thedailyfindkpt.com, a Square "coming soon" page whose custom block declares):
       --void #08080b · --ink #101015 · --panel #17151d · --pink #ff087a · --cyan #00caff
       --soft-pink #ff8abe · --line rgba(255,255,255,.17) · "Space Mono", monospace
   Their look is arcade/synthwave: everything monospace, nothing rounded, 2px neon borders,
   .18em letterspaced uppercase eyebrows, a faint 38px grid and a scanline wash over the page. */

:root {
  --void: #08080b;         /* page */
  --ink: #101015;          /* dark bands: topbar, hero, footer */
  --ink-2: #08080b;
  --ink-3: #17151d;
  --paper: #08080b;
  --surface: #101015;      /* cards, header */
  --surface-2: #17151d;    /* inputs, insets */
  --panel: #17151d;
  --text: #d8d6de;
  --heading: #ffffff;
  --muted: #8e8b98;
  --line: rgb(255 255 255 / 17%);
  --line-2: rgb(255 255 255 / 30%);
  --pink: #ff087a;
  --cyan: #00caff;
  --soft-pink: #ff8abe;
  --brand: #ff087a;        /* primary = their pink */
  --brand-hover: #ff3d96;
  --brand-ink: #ff8abe;    /* links on dark */
  --brand-soft: #1d0a14;
  --brand-bright: #ff087a;
  --brand-light: #ff8abe;
  --kraft: #00caff;        /* secondary = their cyan */
  --kraft-ink: #6fdcff;
  --kraft-soft: #06171d;
  --green: #35d07f;
  --money: #35d07f;
  --money-soft: #04120a;
  --ok: #35d07f;
  --warn: #ffb020;
  --danger: #ff3b5c;
  --focus: #00caff;
  --radius: 0px;           /* they round nothing */
  --radius-sm: 0px;
  --radius-xs: 0px;
  --shadow-1: 0 1px 0 rgb(0 0 0 / 60%);
  --shadow-2: 6px 6px 0 rgb(255 8 122 / 22%);
  --shadow-3: 10px 10px 0 rgb(0 202 255 / 18%);
  --display: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --body: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 3vw, 28px);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
.h2 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); font-weight: 750; }
.h3 { font-size: 1.15rem; font-weight: 700; }
.eyebrow { font: 700 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: .8rem; display: inline-block; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }
.main { min-height: 50vh; }
.section { padding-block: clamp(36px, 6vw, 72px); }
.section--tight { padding-block: 28px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head .h2, .rail__head .h2 { position: relative; padding-left: 16px; }
.section-head .h2::before, .rail__head .h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 5px;
  border-radius: 3px; background: linear-gradient(var(--brand-bright), var(--brand)); }
.section-head .h2 { margin: 0; }
.link-more { font-weight: 600; text-decoration: none; color: var(--brand-ink); white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
.stack > * + * { margin-top: 1rem; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

/* ---------- buttons, badges, chips ---------- */
.btn {
  --b: var(--surface); --c: var(--text); --bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--b); color: var(--c); font: 600 .95rem/1 var(--body); text-decoration: none;
  cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap;
}
.btn:hover { color: var(--c); transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn--primary { --b: var(--brand); --c: #fff; --bd: var(--brand); }
.btn--primary:hover { --b: var(--brand-hover); --bd: var(--brand-hover); }
.btn--dark { --b: var(--ink); --c: #fff; --bd: var(--ink); }
.btn--money { --b: var(--money); --c: #04120a; --bd: var(--money); }
.btn--ghost { --b: transparent; }
.btn--light { --b: #fff; --c: var(--ink); --bd: #fff; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; }
.icon-btn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.badge { display: inline-block; padding: 3px 8px; border-radius: 999px; font: 700 .7rem/1.2 var(--body); letter-spacing: .02em; background: var(--ink); color: #fff; }
.badge--foil { background: linear-gradient(110deg, #7c3aed, #0ea5e9 40%, #22c55e 60%, #eab308); }
.badge--pre { background: var(--ok); }
.badge--low { background: var(--warn); color: #2a1d00; }
.badge--one { background: transparent; border: 1px solid var(--cyan); color: var(--cyan); }
.badge--grade { background-color: #2bb8e8; background-image: linear-gradient(140deg, #9ae8ff, #00caff 60%, #0086ad); color: #04141a; font-weight: 800; letter-spacing: .04em; box-shadow: 0 1px 4px rgb(0 0 0 / 45%); }
.badge--muted { background: var(--line-2); color: var(--text); }
.badge--ok { background: var(--ok); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: .85rem; font-weight: 600; text-decoration: none; }
.chip.is-active, .chip:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.gdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--g, var(--muted)); flex: none; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot--open { background: #22c55e; box-shadow: 0 0 0 3px rgb(34 197 94 / 25%); }
.dot--closed { background: #94a3b8; }

/* ---------- preview bar / topbar ---------- */
.preview-bar { background: repeating-linear-gradient(135deg, #2b2b2b 0 14px, #242424 14px 28px); color: #f2f2f2; font-size: .82rem; padding: 8px 0; }
.preview-bar strong { color: var(--kraft); }
.preview-bar a { color: #fff; font-weight: 600; margin-left: 6px; }
.topbar { background: var(--ink); color: #a9a29a; font-size: .82rem; border-bottom: 1px solid #1d1d22; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.topbar__locs { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__loc { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: inherit; }
.topbar__loc b { color: #fff; font-weight: 600; }
.topbar__loc:hover { color: #fff; }
.topbar__note { color: var(--kraft); font-weight: 600; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: var(--ink); border-bottom: 3px solid var(--kraft); } /* no backdrop-filter: it would trap the fixed mobile drawer inside the header box */
.header__inner { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); min-height: 72px; }
.header__menu { display: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.logo:hover { color: var(--text); }
.logo img:not(.logo__img) { width: 42px; height: 42px; }
.logo__word { font: 800 1.02rem/1 var(--display); letter-spacing: .01em; text-transform: uppercase; color: var(--heading); }
.logo__word span { color: var(--brand); letter-spacing: .26em; font-size: .86em; }
.logo--light, .logo--light .logo__word { color: #fff; }
.logo--light:hover { color: #fff; }
.logo--light .logo__word span { color: var(--brand-bright); }
.search { position: relative; flex: 1; max-width: 620px; }
.search__input { width: 100%; height: 48px; padding: 0 52px 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface-2); color: var(--text); font: 500 .98rem var(--body); }
.search__input:focus { outline: none; border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.search__btn { position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-3); padding: 6px; z-index: 50; max-height: 70vh; overflow: auto; }
.suggest__item { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--text); }
.suggest__item:hover, .suggest__item.is-active { background: var(--surface-2); color: var(--text); }
.suggest__thumb { width: 38px; height: 52px; border-radius: 4px; overflow: hidden; background: var(--line); }
.suggest__thumb img, .suggest__thumb .pmedia { width: 100%; height: 100%; object-fit: cover; }
.suggest__thumb .pmedia--tile { padding: 3px; }
.suggest__thumb .pmedia--tile > :not(.tile__mono) { display: none; }
.suggest__thumb .tile__mono { font-size: .55rem; }
.suggest__name { font-weight: 600; line-height: 1.25; }
.suggest__meta { font-size: .78rem; color: var(--muted); }
.suggest__price { font-weight: 700; font-size: .9rem; }
.suggest__all { display: block; padding: 10px; text-align: center; font-weight: 600; color: var(--brand-ink); text-decoration: none; border-top: 1px solid var(--line); margin-top: 4px; }
.suggest__cat { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .9rem; }
.suggest__cat:hover { background: var(--surface-2); }
.suggest__label { font: 700 .7rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 10px 4px; }
.header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hact { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; border-radius: 12px; text-decoration: none; color: var(--text); font-size: .72rem; font-weight: 600; }
.hact:hover { background: var(--surface-2); color: var(--text); }
.hact__count { position: absolute; top: 0; right: 4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.hact__count[hidden] { display: none; }

/* nav + mega menu */
.nav { border-top: 1px solid var(--line); }
.nav__head { display: none; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; min-height: 48px; align-items: center; }
.nav__item { position: static; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; border: 0; background: none; color: var(--text); font: 600 .94rem var(--body); text-decoration: none; cursor: pointer; }
.nav__link:hover, .nav__link.is-active, .nav__link[aria-expanded="true"] { background: var(--surface-2); color: var(--text); }
.nav__link.is-active { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 10px 10px 0 0; }
.nav__item--admin { margin-left: auto; }
.nav__item--admin .nav__link { color: var(--brand-ink); }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-3); }
.has-mega.is-open .mega { display: block; }
.mega__grid { max-width: var(--wrap); margin: 0 auto; padding: 24px var(--gutter); display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px 24px; }
.mega__col { display: flex; flex-direction: column; gap: 2px; }
.mega__col a { padding: 4px 0 4px 18px; text-decoration: none; color: var(--muted); font-size: .92rem; }
.mega__col a:hover { color: var(--brand-ink); }
.mega__game { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; margin-bottom: 2px; }
.mega__col--hobby { grid-row: span 3; }
.mega__foot { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter) 18px; border-top: 1px solid var(--line); display: flex; gap: 22px; flex-wrap: wrap; }
.mega__foot a { font-weight: 600; text-decoration: none; color: var(--brand-ink); font-size: .92rem; }
.nav-scrim { position: fixed; inset: 0; background: rgb(10 8 14 / 55%); z-index: 59; }

/* ---------- flashes, toast, cookie, modal ---------- */
.flashes { padding-top: 16px; display: grid; gap: 8px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--ink); font-weight: 500; }
.flash--success { border-left-color: var(--ok); }
.flash--error { border-left-color: var(--danger); }
.flash--info { border-left-color: var(--focus); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-3); font-weight: 500; max-width: calc(100vw - 32px); display: flex; gap: 14px; align-items: center; }
.toast a { color: var(--kraft); font-weight: 700; }
.toast.is-error { background: var(--danger); }
.modal { border: 0; border-radius: 20px; padding: 32px; width: min(460px, calc(100vw - 32px)); background: var(--surface); color: var(--text); box-shadow: var(--shadow-3); }
.modal::backdrop { background: rgb(10 8 14 / 60%); backdrop-filter: blur(2px); }
.modal__close-form { position: absolute; right: 10px; top: 10px; margin: 0; }
.modal__x { font-size: 1rem; }
.modal--wide { width: min(640px, calc(100vw - 32px)); }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 26px; margin: 6px 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 14px; height: 8px; border-left: 2.5px solid var(--money); border-bottom: 2.5px solid var(--money); transform: rotate(-45deg); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span, .label { font-weight: 600; font-size: .88rem; }
.field small { color: var(--muted); font-size: .8rem; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], input[type=date], input[type=time], input[type=url], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2);
  background: var(--surface); color: var(--text); font: 500 .95rem var(--body);
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.radio-card input { margin-top: 3px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.radio-card:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.radio-card b { display: block; }
.radio-card small { color: var(--muted); }
.radio-card__price { margin-left: auto; font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; background: var(--surface); height: 40px; }
.qty button { width: 36px; height: 100%; border: 0; background: transparent; color: var(--text); font-size: 1.1rem; cursor: pointer; }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 44px; min-height: 0; height: 100%; border: 0; padding: 0; text-align: center; font-weight: 700; border-radius: 0; box-shadow: none !important; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- cards / panels ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.panel--flat { box-shadow: none; }
.panel + .panel { margin-top: 16px; }
.panel__title { font: 700 1.1rem var(--display); margin: 0 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--kraft-soft); border: 1px dashed var(--brand-bright); font-size: .92rem; }
.notice--money { background: var(--money-soft); border-color: var(--kraft); }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .h2 { color: var(--text); }
.empty__art { font: 800 3rem var(--display); color: var(--muted); margin-bottom: 8px; }

/* ---------- product media & cards ---------- */
.pmedia { display: block; width: 100%; aspect-ratio: 63 / 88; border-radius: 4.5% / 3.3%; }
.pmedia--img { object-fit: cover; background: linear-gradient(135deg, var(--line), var(--surface-2)); box-shadow: 0 1px 2px rgb(0 0 0 / 18%); }
.pmedia--tile {
  position: relative; overflow: hidden; color: #fff; padding: 10% 9%;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  background:
    radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--t1) 80%, #fff 20%) 0%, transparent 55%),
    linear-gradient(160deg, var(--t1) 0%, var(--t2) 78%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 14%), 0 1px 2px rgb(0 0 0 / 20%);
  border-radius: 6px;
}
.pmedia--tile::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 18px, rgb(255 255 255 / 5%) 18px 19px); }
.pmedia--tile::after { content: ""; position: absolute; left: -40%; top: -60%; width: 60%; height: 220%; background: linear-gradient(90deg, transparent, rgb(255 255 255 / 16%), transparent); transform: rotate(24deg); }
.tile__mono { position: absolute; top: 8%; left: 9%; font: 800 clamp(.9rem, 2.2vw, 1.35rem)/1 var(--display); letter-spacing: .02em; background: rgb(0 0 0 / 22%); padding: 5px 8px; border-radius: 6px; }
.tile__type { position: relative; font: 700 .66rem/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: rgb(255 255 255 / 80%); }
.tile__name { position: relative; font: 800 clamp(.82rem, 1.6vw, 1.02rem)/1.12 var(--display); text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tile__brand { position: relative; margin-top: 6px; font: 600 .56rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / 55%); }
.pmedia--lg .tile__name { font-size: clamp(1.2rem, 3vw, 1.8rem); }
.pmedia--lg .tile__mono { font-size: 1.8rem; }
.pmedia--lg .tile__type { font-size: .8rem; }

.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; transition: box-shadow .18s ease, transform .18s ease, border-color .18s; min-width: 0; }
.pcard:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); border-color: var(--line-2); }
.pcard__media { position: relative; display: block; margin-bottom: 12px; }
.pcard__media .pmedia--img { transition: transform .25s ease; }
.pcard:hover .pcard__media .pmedia--img { transform: scale(1.02) rotate(-.4deg); }
.pcard__badges { position: absolute; left: 6px; top: 6px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pcard__body { display: flex; flex-direction: column; flex: 1; gap: 4px; }
.pcard__set { font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__name { font: 650 .95rem/1.25 var(--body); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__name a { text-decoration: none; }
.pcard__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.pcard__cta { margin-top: 10px; width: 100%; }
.pcard__cta .btn { width: 100%; }
.pcard__buy { display: flex; justify-content: space-between; gap: 6px; font-size: .8rem; margin-top: auto; padding-top: 6px; }
.pcard__buy b { display: block; font-size: 1rem; color: var(--money); }
.pcard.is-out .pmedia { filter: grayscale(.7); opacity: .75; }
.price { font: 800 1.12rem var(--display); }
.price--xl { font-size: 2rem; }
.stock { font-size: .76rem; font-weight: 600; }
.stock--in { color: var(--ok); }
.stock--low { color: var(--warn); }
.stock--out { color: var(--danger); }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 16px; }
.rail { margin: 0 0 clamp(32px, 5vw, 56px); }
.rail__head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 14px; }
.rail__head .h2 { margin: 0; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(176px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 12px; scrollbar-width: thin; }
.rail__track > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail__track { grid-auto-columns: calc((100% - 5 * 16px) / 6); } }

/* ---------- home ---------- */
.hero { background: var(--void); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 88% 10%, rgb(255 8 122 / 13%), transparent 62%), radial-gradient(55% 70% at 4% 100%, rgb(0 202 255 / 8%), transparent 60%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero .eyebrow { color: var(--kraft); }
.hero__title { font: 800 clamp(2.3rem, 5.4vw, 4.2rem)/1.0 var(--display); letter-spacing: -.025em; margin: 0 0 18px; }
.hero__title em { font-style: normal; color: var(--brand-bright); }
.hero__sub { font-size: 1.12rem; color: #b9b6c2; max-width: 52ch; margin-bottom: 26px; }
.hero__stats { display: flex; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.hero__stat b { display: block; font: 800 1.6rem var(--display); color: #fff; }
.hero__stat span { font-size: .82rem; color: var(--kraft); }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.game-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 132px; padding: 14px; border-radius: var(--radius); color: #fff; text-decoration: none; overflow: hidden;
  background: radial-gradient(100% 80% at 100% 0%, color-mix(in srgb, var(--t1) 70%, #fff 30%) 0, transparent 55%), linear-gradient(150deg, var(--t1), var(--t2) 85%); transition: transform .18s ease, box-shadow .18s ease; }
.game-tile:hover { color: #fff; transform: translateY(-3px) rotate(-.6deg); box-shadow: var(--shadow-2); }
.game-tile__mono { font: 800 1.15rem var(--display); background: rgb(0 0 0 / 22%); align-self: flex-start; padding: 4px 8px; border-radius: 8px; }
.game-tile__name { font: 750 1rem/1.15 var(--display); }
.game-tile__count { font-size: .75rem; color: rgb(255 255 255 / 75%); }

.value-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.value { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.value__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--kraft-soft); color: var(--kraft-ink); }
.value b { display: block; font-size: .95rem; }
.value span { font-size: .84rem; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sell-cta { background: radial-gradient(100% 120% at 100% 0%, #5a0330 0%, transparent 65%), linear-gradient(145deg, #000, #14060f); color: #fff; border: 1px solid #2a0a1a; border-radius: 24px; padding: clamp(24px, 4vw, 44px); position: relative; overflow: hidden; }
.sell-cta::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgb(0 202 255 / 28%), transparent 70%); }
.sell-cta .h2 { color: #fff; }
.sell-cta p { color: #b9b6c2; }
.sell-cta__rates { display: flex; gap: 12px; margin: 18px 0 22px; flex-wrap: wrap; }
.rate { background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 14%); border-radius: 14px; padding: 12px 16px; }
.rate b { display: block; font: 800 1.5rem var(--display); color: #fff; }
.rate span { font-size: .8rem; color: var(--kraft); }
.rate--hot b { color: var(--kraft); }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tab { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font: 600 .9rem var(--body); color: var(--text); cursor: pointer; text-decoration: none; }
.tab[aria-selected="true"], .tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabpanel[hidden] { display: none; }

/* ---------- events ---------- */
.ev-list { display: grid; gap: 10px; }
.ev { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--g, var(--ink)); border-radius: var(--radius-sm); padding: 12px 16px; }
.ev__date { text-align: center; line-height: 1; }
.ev__date b { display: block; font: 800 1.6rem var(--display); }
.ev__date span { font: 700 .7rem var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ev__title { font-weight: 700; margin: 0 0 2px; font-size: 1rem; }
.ev__meta { font-size: .84rem; color: var(--muted); display: flex; gap: 6px 14px; flex-wrap: wrap; }
.ev__side { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.ev-mini { display: grid; gap: 8px; }
.ev-mini__item { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.ev-mini__item:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.ev-mini__day { text-align: center; line-height: 1; border-right: 1px solid var(--line); padding-right: 10px; }
.ev-mini__day b { display: block; font: 800 1.2rem var(--display); }
.ev-mini__day span { font-size: .66rem; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .08em; }
.ev-mini__title { font-weight: 650; font-size: .92rem; line-height: 1.2; }
.ev-mini__meta { font-size: .78rem; color: var(--muted); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.week__day { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; min-height: 120px; }
.week__day h3 { font: 700 .78rem var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 8px; }
.week__day.is-today { border-color: var(--brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 25%, transparent); }
.week__ev { border-radius: 8px; padding: 7px 8px; margin-bottom: 6px; background: color-mix(in srgb, var(--g) 14%, var(--surface)); border-left: 3px solid var(--g); font-size: .8rem; line-height: 1.25; }
.week__ev b { display: block; font-size: .82rem; }
.week__empty { font-size: .78rem; color: var(--muted); }
.cal { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.cal th { font: 700 .72rem var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 6px 0; }
.cal td { vertical-align: top; height: 104px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px; font-size: .74rem; }
.cal td.is-other { opacity: .45; }
.cal td.is-today { border-color: var(--brand); }
.cal__num { font-weight: 700; font-size: .8rem; margin-bottom: 4px; display: block; }
.cal__ev { display: block; width: 100%; text-align: left; border: 0; cursor: pointer; margin-bottom: 3px; padding: 3px 5px; border-radius: 5px; background: color-mix(in srgb, var(--g) 16%, var(--surface)); border-left: 3px solid var(--g); color: var(--text); font: 600 .7rem/1.2 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-nav { display: flex; align-items: center; gap: 10px; }
.filters-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }

/* ---------- shop / listing ---------- */
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); margin: 18px 0 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }
.page-head { padding: 12px 0 20px; }
.page-head .h1 { margin-bottom: 6px; }
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; padding-bottom: 60px; }
.filters { position: sticky; top: 140px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; max-height: calc(100vh - 160px); overflow: auto; }
.filters h3 { font: 700 .78rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.filters h3:first-child { margin-top: 0; }
.filters .field { margin-bottom: 10px; }
.cat-list { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.cat-list a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; border-radius: 8px; text-decoration: none; }
.cat-list a:hover { background: var(--surface-2); }
.cat-list a.is-active { background: var(--ink); color: #fff; }
.cat-list .count { color: var(--muted); font-size: .8rem; }
.cat-list a.is-active .count { color: #e6ddd4; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar select { width: auto; min-height: 40px; }
.toolbar__count { color: var(--muted); font-size: .9rem; }
.filter-toggle { display: none; }
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.active-filters a { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: var(--kraft-soft); text-decoration: none; font-weight: 600; }
.active-filters a::after { content: " ✕"; opacity: .6; }
.pager { display: flex; gap: 6px; justify-content: center; margin: 28px 0 8px; flex-wrap: wrap; }
.pager__num, .pager__btn, .pager__gap { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; }
.pager__num.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager__gap { border: 0; background: none; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding: 8px 0 48px; }
.pdp__media { position: sticky; top: 140px; }
.pdp__media .pmedia { border-radius: 4.5% / 3.3%; box-shadow: var(--shadow-3); }
.pdp__media .pmedia--tile { border-radius: 16px; }
.pdp__title { font: 800 clamp(1.8rem, 3.6vw, 2.6rem)/1.05 var(--display); margin: 6px 0 10px; }
.pdp__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: .92rem; margin: 18px 0; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; }
.vtable { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vtable th, .vtable td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.vtable th { font: 700 .72rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.vtable tr:last-child td { border-bottom: 0; }
.vtable .price { font-size: 1.05rem; }
.vtable form { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.cond-name { font-weight: 700; }
.cond-name small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.buybox { margin-top: 18px; border-radius: var(--radius); padding: 18px; background: var(--money-soft); border: 1px solid color-mix(in srgb, var(--money) 35%, transparent); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.buybox b { color: var(--money); font: 800 1.2rem var(--display); }
.wish-btn[aria-pressed="true"] { --b: var(--brand-soft); --bd: var(--brand); --c: var(--brand-ink); }

/* ---------- tables (cart, account, buylist) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table th { font: 700 .72rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; }
.table .thumb { width: 52px; }
.table .thumb .pmedia { width: 44px; }
.table .thumb .pmedia--tile { padding: 3px; }
.table .thumb .pmedia--tile > :not(.tile__mono) { display: none; }
.table .thumb .tile__mono { font-size: .5rem; padding: 2px 3px; }
.line-name { font-weight: 650; text-decoration: none; }
.line-sub { font-size: .8rem; color: var(--muted); }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; padding-bottom: 60px; }
.summary { position: sticky; top: 140px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0 0 16px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { font: 800 1.35rem var(--display); color: var(--text); border-top: 1px solid var(--line); padding-top: 10px; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 700 .72rem/1.4 var(--body); text-transform: capitalize; background: var(--line); color: var(--text); }
.status--pending, .status--submitted { background: #2a1d00; color: #ffb020; }
.status--ready, .status--received { background: #06171d; color: #6fdcff; }
.status--shipped { background: #12101f; color: #a9a6ff; }
.status--completed, .status--paid { background: #04120a; color: #35d07f; }
.status--cancelled, .status--rejected { background: #2a0a1a; color: #ff8abe; }

/* ---------- buylist ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 64px; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--money); color: #fff; font: 800 1rem var(--display); display: grid; place-items: center; }
.step b { display: block; margin-bottom: 2px; }
.step span { font-size: .88rem; color: var(--muted); }
.buy-row td .price { font-size: 1rem; }
.cash { color: var(--money); font-weight: 800; }
.credit { color: var(--kraft-ink); font-weight: 800; }
.limit { font-size: .76rem; color: var(--muted); }
.buy-form { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.buy-form select { width: auto; min-height: 38px; padding: 6px 10px; }
.buy-form input[type=number] { width: 64px; min-height: 38px; padding: 6px 8px; }

/* ---------- deckbuilder ---------- */
.db-layout { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; padding-bottom: 60px; }
.db-layout textarea { min-height: 360px; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .88rem; }
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-family: ui-monospace, Consolas, monospace; font-size: .76rem; }
.formats div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px; white-space: pre-line; }
.formats b { font-family: var(--body); display: block; margin-bottom: 4px; }
.match-miss td { background: color-mix(in srgb, var(--danger) 6%, var(--surface)); }
.match-short td { background: color-mix(in srgb, var(--warn) 8%, var(--surface)); }

/* ---------- content pages ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; padding-bottom: 60px; }
.toc { position: sticky; top: 140px; }
.toc a:not(.btn) { display: block; padding: 6px 0; text-decoration: none; color: var(--muted); font-weight: 500; }
.toc a:not(.btn):hover { color: var(--brand-ink); }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.loc { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.loc__map { aspect-ratio: 16 / 9; border: 0; width: 100%; background: var(--line); display: block; }
.loc__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.loc__name { font: 800 1.6rem var(--display); margin: 0; }
.loc__status { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; }
.hours { margin: 0; display: grid; gap: 4px; font-size: .9rem; }
.hours div { display: flex; justify-content: space-between; gap: 12px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; }
.loc .hours { max-width: 280px; }
.feature-list { display: flex; gap: 6px; flex-wrap: wrap; }
.cond-grid { display: grid; gap: 14px; }
.cond { display: grid; grid-template-columns: 120px 1fr; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; align-items: center; }
.cond__art { position: relative; aspect-ratio: 63/88; border-radius: 8px; background: linear-gradient(160deg, #475569, #0f172a); box-shadow: inset 0 0 0 4px #1e293b, inset 0 0 0 5px rgb(255 255 255 / 10%); overflow: hidden; }
.cond__art::before { content: ""; position: absolute; inset: 12% 10% 40%; border-radius: 3px; background: linear-gradient(135deg, #94a3b8, #334155); }
.cond__art::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 10%; height: 24%; border-radius: 3px; background: repeating-linear-gradient(0deg, #64748b 0 2px, transparent 2px 7px); opacity: .6; }
.cond__wear { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cond__code { font: 800 1.6rem var(--display); }
.cond__code small { display: block; font: 600 .8rem var(--body); color: var(--muted); }
.cond__pct { font-size: .8rem; color: var(--money); font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.gallery figcaption { padding: 10px 12px; font-size: .85rem; color: var(--muted); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.news-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: box-shadow .18s, transform .18s; }
.news-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); color: var(--text); }
.news-card__band { height: 8px; background: linear-gradient(90deg, var(--t1), var(--t2)); }
.news-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card__date { font-size: .78rem; color: var(--muted); font-weight: 600; }
.news-card__title { font: 750 1.15rem/1.2 var(--display); margin: 0; }
.news-card__ex { font-size: .9rem; color: var(--muted); margin: 0; }
.article { max-width: 720px; margin: 0 auto; padding: 16px 0 64px; }
.article__title { font: 800 clamp(2rem, 4.2vw, 3rem)/1.05 var(--display); margin: 8px 0 12px; }
.article__body { font-size: 1.06rem; }
.sitemap-cols { columns: 3 240px; column-gap: 32px; }
.sitemap-cols section { break-inside: avoid; margin-bottom: 24px; }
.sitemap-cols ul { list-style: none; padding: 0; margin: 0; }
.sitemap-cols li { margin: 4px 0; }
.cat-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.cat-card h2 { font-size: 1.1rem; display: flex; gap: 8px; align-items: center; }
.cat-card ul { list-style: none; padding: 0; margin: 0; font-size: .9rem; columns: 2; column-gap: 16px; }
.cat-card li { margin: 3px 0; break-inside: avoid; }
.cat-card a { text-decoration: none; color: var(--muted); }
.cat-card a:hover { color: var(--brand-ink); }

/* ---------- account ---------- */
.auth { max-width: 460px; margin: 32px auto 72px; }
.auth .panel { padding: 32px; }
.auth__fields { border: 0; margin: 0; padding: 0; min-width: 0; }
.auth__fields:disabled { opacity: .5; }
.auth__fields:disabled .btn { cursor: not-allowed; }
.acct { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; padding-bottom: 60px; }
.acct__nav { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; position: sticky; top: 140px; }
.acct__nav a { padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; display: flex; justify-content: space-between; }
.acct__nav a:hover { background: var(--surface-2); }
.acct__nav a.is-active { background: var(--ink); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.kpi span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.kpi b { display: block; font: 800 1.6rem var(--display); margin-top: 4px; }
.kpi--money b { color: var(--money); }

/* ---------- signup band / footer ---------- */
.signup { background: var(--kraft-soft); border-top: 1px solid var(--line); }
.signup__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.signup__inner .h2 { margin-bottom: 6px; }
.signup__inner p { margin: 0; color: var(--muted); }
.signup__form { display: flex; gap: 10px; }
.signup__form input { border-radius: 999px; min-height: 48px; }
.footer { background: var(--ink); color: #a49c94; font-size: .9rem; border-top: 3px solid var(--kraft); }
.footer a { color: #ddd6ce; text-decoration: none; }
.footer a:hover { color: var(--kraft); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.footer h3 { font: 700 .78rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--kraft); margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 6px 0; }
.footer address { font-style: normal; margin-bottom: 12px; line-height: 1.6; }
.footer .hours dt { color: var(--kraft); }
.footer .hours dd { color: #fff; }
.footer__brand p { margin: 16px 0; max-width: 34ch; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgb(255 255 255 / 8%); }
.social a:hover { background: var(--brand); color: #fff; }
.footer__base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgb(255 255 255 / 10%); padding-top: 18px; padding-bottom: 24px; font-size: .8rem; color: #6f6862; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .value-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .header__menu { display: inline-grid; }
  .header__inner { flex-wrap: wrap; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .hact__label { display: none; }
  .nav { position: fixed; inset: 0 auto 0 0; width: min(360px, 88vw); background: var(--surface); z-index: 60; transform: translateX(-102%); transition: transform .25s ease; overflow-y: auto; border: 0; box-shadow: var(--shadow-3); }
  .nav.is-open { transform: none; }
  .nav__inner { padding: 0; }
  .nav__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
  .nav__list { flex-direction: column; align-items: stretch; padding: 8px; }
  .nav__link { width: 100%; justify-content: space-between; padding: 12px; font-size: 1rem; }
  .nav__link.is-active { box-shadow: inset 3px 0 0 var(--brand); border-radius: 10px; }
  .nav__item--admin { margin: 0; }
  .mega { position: static; box-shadow: none; border: 0; }
  .mega__grid { grid-template-columns: 1fr; padding: 4px 12px 12px; gap: 14px; }
  .mega__col--hobby { grid-row: auto; }
  .mega__foot { padding: 12px; }
  .hero__inner { grid-template-columns: 1fr; }
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(360px, 90vw); z-index: 60; border-radius: 0; max-height: none; transform: translateX(102%); transition: transform .25s ease; }
  .filters.is-open { transform: none; box-shadow: var(--shadow-3); }
  .filter-toggle { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__media { position: static; max-width: 340px; margin: 0 auto; width: 100%; }
  .cart-layout, .db-layout, .content-grid, .acct { grid-template-columns: 1fr; }
  .summary, .toc, .acct__nav { position: static; }
  .acct__nav { flex-direction: row; overflow-x: auto; }
  .acct__nav a { white-space: nowrap; }
  .split, .community, .loc-grid, .signup__inner { grid-template-columns: 1fr; }
  .week { grid-template-columns: 1fr; }
  .week__day { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .topbar__note { display: none; }
  .topbar__status { display: none; }
  .logo__word { font-size: .9rem; }
  .logo img:not(.logo__img) { width: 36px; height: 36px; }
  .hact { padding: 6px; }
  .header__inner { gap: 8px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard { padding: 8px; border-radius: 12px; }
  .rail__track { grid-auto-columns: 46%; gap: 10px; }
  .value-strip { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .games { grid-template-columns: repeat(2, 1fr); }
  .ev { grid-template-columns: 52px 1fr; }
  .ev__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
  .cal td { height: 64px; padding: 3px; }
  .cal__ev { font-size: 0; padding: 0; height: 6px; border-left: 0; background: var(--g); }
  .cond { grid-template-columns: 80px 1fr; }
  .formats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .signup__form { flex-direction: column; }
  .vtable th:nth-child(3), .vtable td:nth-child(3) { display: none; }
  .table th, .table td { padding: 10px; }
  .hide-sm { display: none; }
  .sitemap-cols { columns: 1; }
  .cat-card ul { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .preview-bar, .topbar, .header, .signup, .footer, .cookie, .toast { display: none !important; }
}
.cat-more { margin-top: 4px; }
.cat-more summary { cursor: pointer; padding: 6px 8px; font-size: .86rem; font-weight: 600; color: var(--brand-ink); list-style: none; }
.cat-more summary::-webkit-details-marker { display: none; }
.cat-more summary::after { content: " ▾"; }
.cat-more[open] summary::after { content: " ▴"; }

/* ---------- imagery (no blank tiles) ---------- */
.game-tile { min-height: 132px; isolation: isolate; }
.game-tile__img { position: absolute; z-index: -1; right: -8%; bottom: -14%; width: 58%; aspect-ratio: 1; object-fit: contain; object-position: bottom right; opacity: .95; transform: rotate(8deg); filter: drop-shadow(0 8px 16px rgb(0 0 0 / 45%)); transition: transform .25s ease; }
.game-tile__img--card { width: 46%; aspect-ratio: 63 / 88; object-fit: cover; border-radius: 6px; right: -6%; bottom: -22%; }
.game-tile:hover .game-tile__img { transform: rotate(3deg) translateY(-6px); }
.game-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--t2) 85%, transparent) 30%, transparent 75%); pointer-events: none; }
.game-tile__text { position: relative; max-width: 78%; text-shadow: 0 1px 8px rgb(0 0 0 / 45%); }
.news-card__cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--t1), var(--t2)); }
.news-card__cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; transition: transform .3s ease; }
.news-card:hover .news-card__cover img { transform: scale(1.04); }
.article__cover { width: 100%; max-height: 420px; object-fit: cover; object-position: center 25%; border-radius: var(--radius); margin: 8px 0 24px; display: block; background: var(--line); }
.loc__photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%; display: block; }
.panel__photo { width: calc(100% + 2 * clamp(18px, 3vw, 28px)); margin: calc(-1 * clamp(18px, 3vw, 28px)) calc(-1 * clamp(18px, 3vw, 28px)) 16px; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%; display: block; border-radius: var(--radius) var(--radius) 0 0; max-width: none; }
.about-photo { margin: 0; justify-self: end; max-width: 520px; }
.about-photo img { width: 100%; border-radius: 22px; display: block; box-shadow: var(--shadow-3); transform: rotate(1.5deg); border: 6px solid var(--surface-2); }
.about-photo figcaption { font-size: .82rem; color: var(--muted); margin-top: 12px; text-align: right; }
.cond__art.has-img { background: none; box-shadow: 0 6px 18px -6px rgb(0 0 0 / 45%); }
.cond__art.has-img::before, .cond__art.has-img::after { display: none; }
.cond__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cond__art .cond__wear { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.pmedia--img { background-color: #0e0e12; }
.pmedia--photo { object-fit: contain; background: #0e0e12; padding: 6%; border-radius: 0; }
@media (max-width: 960px) {
  .about-photo { justify-self: stretch; max-width: none; }
}

/* mobile drawer open: keep floating notices out of the way */
.nav-open .cookie, .nav-open .toast { display: none !important; }

/* ---------- hero v2: real store photo under a brand-blue overlay ---------- */
.hero--photo::before {
  background:
    linear-gradient(90deg, rgb(0 0 0 / 99%) 0%, rgb(0 0 0 / 97%) 34%, rgb(8 4 11 / 94%) 62%, rgb(24 3 16 / 90%) 100%),
    var(--hero-img) center 38% / cover no-repeat;
  filter: saturate(.4) contrast(.92);
}
.hero__inner { grid-template-columns: 1.15fr .85fr; }
.hero__copy { max-width: 620px; }
.hero__pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgb(255 255 255 / 12%); border: 1px solid rgb(255 255 255 / 22%); color: #fff; font: 600 .88rem/1 var(--body); margin-bottom: 20px; }
.hero__pill svg { color: var(--kraft); flex: none; }
.hero__title { font-size: clamp(2.2rem, 4.4vw, 3.7rem); line-height: 1.04; max-width: 15ch; margin-bottom: 18px; }
.hero__sub { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #b9b6c2; max-width: 44ch; margin-bottom: 28px; line-height: 1.5; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--go { --b: var(--kraft); --c: #04141a; --bd: var(--kraft); font-weight: 700; }
.btn--go:hover { --b: #4fd4ff; --bd: #4fd4ff; --c: #04141a; }
.btn--outline-light { --b: transparent; --c: #fff; --bd: rgb(255 255 255 / 65%); }
.btn--outline-light:hover { --b: rgb(255 255 255 / 12%); --c: #fff; }
a.value { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.value:hover { border-color: var(--brand-bright); box-shadow: var(--shadow-1); color: inherit; }
@media (max-width: 960px) {
  .hero--photo::before { background: linear-gradient(180deg, rgb(0 0 0 / 93%) 0%, rgb(8 4 11 / 98%) 100%), var(--hero-img) center 40% / cover no-repeat; }
  .hero__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero__inner { padding-top: 34px; padding-bottom: 38px; gap: 0; }
  .hero__title { font-size: 2.05rem; max-width: none; }
  .hero__pill { font-size: .8rem; margin-bottom: 16px; }
  .hero__sub { margin-bottom: 24px; }
  .hero__cta .btn { flex: 1 1 0; padding: 0 12px; }
  .value-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .value { padding: 12px; flex-direction: column; gap: 8px; }
  .value b { font-size: .92rem; }
  .value span { font-size: .8rem; }
}

/* Discord (official brand assets, unmodified) */
.community__logo { display: block; width: 180px; height: auto; margin-bottom: 16px; }
.btn--discord { --c: #1e1f22; gap: 10px; }
.btn--discord img { width: 26px; height: auto; }
.social a.social__discord img { width: 22px; height: auto; display: block; }
.social a.social__discord:hover { background: #5865f2; }
.community__cta { justify-content: flex-end; }
@media (max-width: 960px) { .community__cta { justify-content: flex-start; } }
@media (max-width: 640px) { .community__cta .btn { flex: 1 1 100%; } .community__logo { width: 150px; } }

/* one-click demo sign-in (preview mode only) */
.demo-signin { margin-bottom: 16px; }
.demo-signin__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.demo-signin__grid form { margin: 0; }
.demo-choice { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 18px; border-radius: var(--radius); border: 2px solid var(--line); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .12s; }
.demo-choice svg { color: var(--brand); }
.demo-choice b { font: 700 1.1rem var(--display); }
.demo-choice span { font-size: .86rem; color: var(--muted); }
.demo-choice:hover { border-color: var(--brand); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.demo-choice--owner { background: var(--brand-soft); border-color: #3a0f24; }
.demo-choice--owner svg { color: var(--ink); }
@media (max-width: 420px) { .demo-signin__grid { grid-template-columns: 1fr; } }

/* the store's own logo (PNG on white) */
.logo__img { display: block; height: 46px; width: auto; max-width: none; }
.logo--light { padding: 0; }
.logo--light .logo__img { height: 40px; }
@media (max-width: 640px) {
  .logo__img { height: 36px; }
}
@media (max-width: 380px) {
  .logo__img { height: 31px; }
}

/* ---------- phone fit: nothing may widen the page ---------- */
@supports (overflow: clip) { html, body { overflow-x: clip; } .hero { overflow: clip; } }
/* grid/flex children may shrink below their content (wide tables scroll or stack instead of stretching the page) */
.cart-layout > *, .shop > *, .db-layout > *, .content-grid > *, .acct > *, .pdp > *, .split > *, .loc-grid > *, .hero__inner > *, .adm-grid > * { min-width: 0; }
/* closed drawers are hidden outright so they can't count toward page width */
.nav, .filters { transition: transform .25s ease, visibility 0s linear .25s; }
@media (max-width: 960px) {
  .nav:not(.is-open), .filters:not(.is-open) { visibility: hidden; }
  .nav.is-open, .filters.is-open { visibility: visible; transition: transform .25s ease, visibility 0s; }
}
/* storefront tables become labelled stacked rows on phones (labels copied from headers by app.js) */
@media (max-width: 640px) {
  .main .table.is-stackable thead { display: none; }
  .main .table.is-stackable, .main .table.is-stackable tbody { display: block; }
  .main .table-wrap:has(.is-stackable) { border: 0; background: none; overflow: visible; }
  .main .table.is-stackable tr { display: grid; grid-template-columns: 1fr; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; position: relative; }
  .main .table.is-stackable td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0; border: 0; text-align: right; min-width: 0; }
  .main .table.is-stackable td[data-label]::before { content: attr(data-label); font: 700 .68rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; flex: none; }
  .main .table.is-stackable td:not([data-label]) { justify-content: flex-start; text-align: left; }
  .main .table.is-stackable td.thumb { position: absolute; right: 12px; top: 12px; width: 44px; }
  .main .table.is-stackable tr:has(td.thumb) td:nth-child(2) { padding-right: 56px; }
  .main .table.is-stackable td:first-child:not(.thumb), .main .table.is-stackable td.thumb + td { display: block; text-align: left; }
  .main .table.is-stackable td.thumb + td::before, .main .table.is-stackable td:first-child::before { display: none; }
  .main .table.is-stackable .buy-form { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .main .table.is-stackable td:has(.buy-form), .main .table.is-stackable td:has(> form) { display: block; }
  .main .table.is-stackable td:has(.buy-form)::before { display: none; }
}

/* menu icons */
.nav__link { gap: 8px; }
.nav__icon { width: 18px; height: 18px; flex: none; color: var(--brand); transition: color .15s; }
.nav__link:hover .nav__icon, .nav__link.is-active .nav__icon { color: var(--brand-hover); }
.nav__item--admin .nav__icon { color: var(--brand-ink); }
@media (min-width: 961px) and (max-width: 1180px) {
  .nav__link { padding: 10px 9px; font-size: .9rem; gap: 6px; }
  .nav__icon { width: 16px; height: 16px; }
}
@media (max-width: 960px) {
  .nav__link { justify-content: flex-start; gap: 14px; font-size: 1.02rem; padding: 10px 12px; }
  .nav__icon { width: 20px; height: 20px; padding: 8px; box-sizing: content-box; border-radius: 11px; background: var(--brand-soft); }
  .nav__link.is-active .nav__icon { background: var(--brand); color: #fff; }
  .nav__link.js-mega > svg:last-child { margin-left: auto; }
}

/* ---------- home: product rails as full-width colour bands ----------
   border-image paints the band edge to edge without changing layout or causing sideways scroll */
.rail--band { --band: transparent; --edge: rgb(255 8 122 / 55%); --kc: var(--brand); position: relative; margin: 0; padding-block: clamp(28px, 4vw, 44px);
  border-image: linear-gradient(to bottom, var(--edge) 0 2px, var(--band) 2px 100%) fill 0 / 0 / 0 100vw; }
.rail__kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px;
  font: 800 .7rem/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--kct, #fff); background: var(--kc); }
.rail--band .rail__head .h2 { position: relative; }
/* rail headings stay off-white on every band — the kicker chip and the red accent
   bar carry the tone. (They used to be dark text on pale bands, which went
   invisible the moment the theme went dark.) */
.rail--plain { --kc: var(--brand); }
.rail--sky   { --band: #120a12; --kc: var(--kraft-ink); --kct: #04141a; }
.rail--hot   { --band: #1a0710; --kc: var(--danger); }
.rail--lime  { --band: #071820; --kc: var(--money); --kct: #04120a; --edge: rgb(0 202 255 / 50%); }
.rail--money { --band: #071820; --kc: var(--money); --kct: #04120a; --edge: rgb(0 202 255 / 50%); }
.rail--foil  { --band: var(--ink); --kc: transparent; color: #fff; }
.rail--slab  { --band: #071820; --kc: var(--kraft-ink); --kct: #04141a; --edge: rgb(0 202 255 / 60%); }
.rail--slab .rail__kicker::before { content: ""; width: 9px; height: 12px; border-radius: 2px; background: currentColor; opacity: .55; }
.rail--foil::before { content: ""; position: absolute; top: 0; height: 4px; left: 0; right: 0;
  border-image: linear-gradient(90deg, #7c3aed, #0ea5e9 35%, #22c55e 60%, #eab308 80%, #ec4899) fill 0 / 0 / 0 100vw; }
.rail--foil .rail__kicker { background: linear-gradient(110deg, #7c3aed, #0ea5e9 40%, #22c55e 60%, #eab308); }
.rail--foil .h2 { color: #fff; }
.rail--foil .link-more { color: var(--brand-bright); }
.rail--hot .h2   { color: var(--heading); }
.rail--sky .h2   { color: var(--heading); }
.rail--lime .h2, .rail--money .h2 { color: var(--heading); }
.rail--lime .tab[aria-selected="true"] { background: var(--money); border-color: var(--money); color: #04120a; }
.rail--lime .link-more, .rail--money .link-more { color: var(--money); }
.rail--hot .link-more { color: var(--brand-ink); }
.rail--foil .pcard { color: var(--text); }

/* ================= storefront v3 (2026-10-10): real Square stock, calmer chrome =================
   One-line topbar, five-item nav with a department panel, short home page, quiet product cards.
   Sits above their design-system block so their rules (mono, square corners, 2px buttons) still win. */

/* topbar: one line — open status · address */
.topbar__inner { min-height: 34px; justify-content: center; }
.topbar__loc { gap: 8px; color: #c9c6d2; }
.topbar__loc:hover { color: #fff; }
.topbar__sep { color: var(--muted); }

/* header: logo · search · account · cart */
.header__inner { min-height: 68px; }
.hact { padding: 6px 12px; }
.hact__label { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }

/* nav: five plain items, no icons */
.nav__list { gap: 0; min-height: 46px; }
.nav__link { padding: 10px 16px; font-size: .86rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #d8d6de; border-radius: 0; }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: rgb(255 255 255 / 6%); color: #fff; }
.nav__link.is-active { color: #fff; box-shadow: inset 0 -2px 0 var(--pink); border-radius: 0; }
.nav__caret { transition: transform .15s; }
.nav__link[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

/* department panel */
.mega { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 2px solid var(--pink); box-shadow: 0 24px 40px -18px rgb(0 0 0 / 70%); }
.mega__grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 28px; padding-top: 22px; padding-bottom: 18px; }
.mega__col { gap: 0; }
.mega__col a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0 7px 14px; color: var(--muted); font-size: .9rem; border-left: 1px solid var(--line); }
.mega__col a:hover { color: #fff; border-left-color: var(--pink); }
.mega__col a.mega__dept { padding: 4px 0 8px; margin-bottom: 4px; border: 0; border-bottom: 2px solid var(--g, var(--pink)); color: #fff; font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; }
.mega__n { color: var(--muted); font-size: .8rem; }
.mega__dept .mega__n { color: var(--g, var(--pink)); }
.mega__note { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 18px; color: var(--muted); font-size: .82rem; }

/* home hero: copy + a "shelf" of real product photos */
.hero--home .hero__inner { grid-template-columns: 1.05fr .95fr; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 64px); gap: clamp(24px, 4vw, 48px); }
.hero--home .hero__title { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.shelf { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; padding-bottom: 30px; }
.shelf::after { content: ""; position: absolute; left: -12px; right: -12px; bottom: 18px; height: 3px; background: linear-gradient(90deg, var(--pink), var(--cyan)); box-shadow: 0 6px 18px rgb(255 8 122 / 35%); }
.shelf__item { position: relative; display: block; background: #fff; border: 2px solid #fff; aspect-ratio: 4 / 5; text-decoration: none; transition: transform .2s ease; }
.shelf__item:nth-child(odd) { transform: translateY(-14px) rotate(-1.5deg); }
.shelf__item:nth-child(even) { transform: rotate(1.5deg); }
.shelf__item:hover { transform: translateY(-20px) rotate(0); z-index: 2; }
.shelf__item img { width: 100%; height: 100%; object-fit: contain; display: block; }
.shelf__tag { position: absolute; left: -6px; bottom: -12px; padding: 3px 8px; background: var(--pink); color: #fff; font: 700 .8rem/1.2 var(--body); }
.shelf__label { position: absolute; right: 0; bottom: -6px; font: 700 .68rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.hero--slim .hero__inner--one { grid-template-columns: 1fr; padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); }
.hero--slim .hero__copy { max-width: 760px; }
.hero--slim .hero__title { max-width: 22ch; font-size: clamp(2rem, 4vw, 3.2rem); }

/* department tiles */
.depts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.dept { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 200px; padding: 16px; overflow: hidden; isolation: isolate; text-decoration: none; color: #fff;
  background: linear-gradient(160deg, color-mix(in srgb, var(--t1) 28%, var(--ink)), var(--ink) 75%); border: 1px solid var(--line); border-top: 3px solid var(--t1); }
a.dept:hover { color: #fff; border-color: var(--t1); box-shadow: 5px 5px 0 color-mix(in srgb, var(--t1) 25%, transparent); }
.dept__img { align-self: flex-end; width: 44%; aspect-ratio: 4 / 5; margin: 0 0 auto; object-fit: contain; background: #fff; border: 3px solid #fff; transform: rotate(5deg); box-shadow: 0 10px 22px rgb(0 0 0 / 55%); transition: transform .2s; }
a.dept:hover .dept__img { transform: rotate(1deg) translateY(-4px); }
.dept__name { margin-top: 12px; font: 700 1.05rem/1.1 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.dept__n { font-size: .78rem; color: var(--t1); font-weight: 700; }
.dept--floor { background: var(--ink); border-top-color: var(--line); color: var(--muted); padding-top: 52px; }
.dept--floor .dept__name { color: #b9b6c2; }
.dept--floor .dept__n { color: var(--muted); font-weight: 400; }
.dept__mono { position: absolute; top: 14px; left: 16px; font: 700 .72rem var(--body); letter-spacing: .14em; color: var(--t1); border: 1px solid currentColor; padding: 2px 6px; opacity: .7; }

/* rails: plain, no colour bands */
.rail { margin: 0 0 clamp(36px, 5vw, 56px); }
.rail__head .h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

/* product cards: photo, meta, two-line name, price + small add */
.pmedia--photo { aspect-ratio: 4 / 5; padding: 8%; background: #101015; }
.pcard .pmedia--tile, .pdp__media .pmedia--tile { aspect-ratio: 4 / 5; background: repeating-linear-gradient(135deg, rgb(255 255 255 / 2.5%) 0 10px, transparent 10px 20px), var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--t1); box-shadow: none; }
.pcard .pmedia--tile::after, .pdp__media .pmedia--tile::after { display: none; }
.pmedia--tile .tile__mono { background: transparent; border: 1px solid var(--t1); color: var(--t1); font-size: .72rem; letter-spacing: .12em; padding: 3px 6px; }
.pmedia--tile .tile__type { color: var(--t1); }
.pmedia--tile .tile__name { font-size: .86rem; line-height: 1.2; -webkit-line-clamp: 3; }
.pcard { padding: 10px; gap: 0; }
.pcard__media { margin-bottom: 10px; }
.pcard__set { min-height: 1.1em; font-size: .72rem; letter-spacing: .02em; }
.pcard__name { font: 700 .88rem/1.3 var(--body); min-height: 2.6em; letter-spacing: -.02em; }
.pcard__name a:hover { color: var(--soft-pink); }
.pcard__foot { align-items: center; padding-top: 10px; flex-wrap: nowrap; }
.pcard__foot .price { font-size: 1.05rem; }
.pcard__foot form { margin: 0; }
.pcard__add { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 1.5px solid var(--cyan); background: transparent; color: var(--cyan); font: 700 .72rem var(--body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.pcard__add:hover { background: var(--cyan); color: #04141a; }
.pcard__add[disabled] { opacity: .5; }
.pcard.is-out .price { color: var(--muted); text-decoration: line-through; }
.badge--muted { background: #2a2733; color: #d8d6de; }

/* trade band */
.trade { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 24px 32px; align-items: center; padding: clamp(22px, 3vw, 32px); background: linear-gradient(120deg, rgb(255 8 122 / 12%), var(--ink) 55%); border: 1px solid var(--line); border-left: 4px solid var(--pink); }
.trade .h2 { margin: 0 0 8px; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.trade p { margin: 0; color: #b9b6c2; }
.trade__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: t; }
.trade__steps li { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; font-size: .86rem; }
.trade__steps li::before { counter-increment: t; content: counter(t); grid-row: span 2; width: 26px; height: 26px; display: grid; place-items: center; background: var(--pink); color: #fff; font-weight: 700; font-size: .8rem; }
.trade__steps b { color: #fff; }
.trade__steps span { color: var(--muted); font-size: .8rem; }

/* visit block */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; }
.visit__info, .visit__events { background: var(--surface); border: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); }
.visit__info .h2 { margin-bottom: 10px; }
.visit__status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 8px; }
.visit .hours { max-width: 300px; }
.visit-card { padding-top: 0; overflow: hidden; }
.visit-card::before { display: none; }
.visit-card__map { display: block; width: calc(100% + 2 * clamp(18px, 3vw, 28px)); max-width: none; margin: 0 calc(-1 * clamp(18px, 3vw, 28px)) 16px; aspect-ratio: 4 / 3; border: 0; background: var(--line); filter: grayscale(.35); }

/* shop */
.page-head--shop { padding: 4px 0 18px; }
.page-head--shop .h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.filters { top: 130px; padding: 16px; }
.filters__head { display: none; justify-content: space-between; align-items: center; margin: -4px 0 6px; }
.cat-list a { padding: 6px 8px; border-radius: 0; }
.cat-list a.is-active { background: rgb(255 8 122 / 16%); color: #fff; box-shadow: inset 2px 0 0 var(--pink); }
.cat-list--sub { margin: 2px 0 6px 10px; border-left: 1px solid var(--line); font-size: .85rem; }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin-bottom: 12px; }
.price-range .field { margin: 0; }
.filters__form .check { margin-top: 4px; }
.toolbar__right { display: flex; gap: 8px; align-items: center; }
.toolbar__right form { margin: 0; }
.active-filters a { background: transparent; border: 1px solid var(--cyan); color: var(--cyan); }

/* product page */
.pdp { grid-template-columns: minmax(260px, 440px) 1fr; padding-top: 4px; }
.pdp__media .pmedia--photo { aspect-ratio: 1; padding: 6%; box-shadow: none; }
.pdp__facts { margin: 0 0 6px; color: var(--cyan); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pdp__title { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.1; margin: 0 0 14px; }
.pdp__price { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; flex-wrap: wrap; }
.pdp__one { color: var(--soft-pink); font-size: .82rem; font-weight: 700; }
.pdp__buy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.pdp__buy .qty { height: 52px; }
.pdp__perks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.pdp__perks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .88rem; color: #b9b6c2; }
.pdp__perks svg { color: var(--cyan); margin-top: 1px; }
.pdp__perks b { color: #fff; }
.pdp__desc { font-size: .9rem; color: #b9b6c2; border-top: 1px solid var(--line); padding-top: 14px; max-width: 70ch; }
.pdp__wish { margin-top: 14px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--soft-pink); font: 700 .82rem var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* sell / trade */
.steps { list-style: none; margin: 0; padding: 0; }
.sell-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.sell-layout > * { min-width: 0; }
.buying { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--line); }
.buying li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.buying b { color: #fff; }
.buying span { color: var(--muted); font-size: .88rem; }

/* footer: brand + 3 columns */
.footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding-top: 40px; padding-bottom: 28px; }
.footer__brand p { margin: 12px 0 14px; font-size: .86rem; }
.footer__signup { display: flex; gap: 8px; max-width: 360px; margin-bottom: 14px; }
.footer__signup input { min-height: 40px; font-size: .85rem; }
.footer__base { justify-content: space-between; }

.filters-scrim { position: fixed; inset: 0; z-index: 59; background: rgb(8 8 11 / 70%); }
body.filters-open .main { z-index: 70; }

@media (max-width: 1100px) {
  .depts { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .trade { grid-template-columns: 1fr 1fr; }
  .trade__cta { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 960px) {
  .hero--home .hero__inner { grid-template-columns: 1fr; }
  .shelf { max-width: 520px; }
  .visit, .sell-layout { grid-template-columns: 1fr; }
  .nav__link { font-size: .95rem; padding: 14px 12px; }
  .nav__link.is-active { box-shadow: inset 3px 0 0 var(--pink); }
  .nav__link.js-mega { justify-content: space-between; }
  .mega { border: 0; box-shadow: none; background: transparent; }
  .mega__grid { grid-template-columns: 1fr; padding: 0 12px 8px; gap: 14px; }
  .mega__note { padding: 0 12px 12px; }
  .filters { top: 0; }
  .filters__head { display: flex; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__media { max-width: 420px; }
}
@media (max-width: 640px) {
  .topbar__inner { font-size: .76rem; }
  .depts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dept { min-height: 0; padding: 12px; }
  .dept__img { width: 52%; }
  .dept--floor { padding-top: 46px; }
  .dept__name { font-size: .92rem; }
  .shelf { gap: 8px; padding-bottom: 26px; margin-top: 8px; }
  .trade { grid-template-columns: 1fr; }
  .trade__cta { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col:last-child { grid-column: auto; }
  .pcard { padding: 8px; }
  .pcard__name { font-size: .8rem; }
  .pcard__foot { flex-wrap: wrap; gap: 6px; }
  .pcard__add { width: 100%; justify-content: center; }
  .pdp__buy .btn { flex: 1; }
  .toolbar { gap: 8px; }
}

/* ================= The Daily Find design system =================
   Ported from the custom block on thedailyfindkpt.com. Their whole look is four rules:
   monospace everything, nothing rounded, 2px neon borders, and a scanline + grid wash.
   Keep these last in the file so they win over anything the base sheet sets. */

/* --- 1. nothing is rounded ------------------------------------------------ */
.btn, .pcard, .panel, .chip, .tab, .badge, .rail__kicker, .search__input, .search__btn,
input, select, textarea, .notice, .flash, .empty, .loc, .game-tile, .news-card, .value,
.deck__face, .table-wrap, .suggest, .modal, .cookie, .toast, .mk-chip, .mk-hero, .adm__nav a,
.community, .sell-cta, .hero__pill, .pmedia, .pcard__media, .slide, .slide__card,
.ev-mini__item, .week__day, .social a, .acct__nav a, .nav__icon, .nav__link, .status, .formats div,
.about-photo img, .signup__form input, .main .table.is-stackable tr, .pdp__media .pmedia--tile,
.qty, .qty button, .qty input, .search, .pcard__add {
  border-radius: 0 !important;
}

/* --- 2. the page wash: scanlines + a faint centre seam, exactly as they set it --- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .38;
  background-image:
    repeating-linear-gradient(0deg, rgb(255 255 255 / 2.5%) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, transparent 0 49.7%, rgb(0 202 255 / 7%) 50%, transparent 50.3%);
  background-size: auto, 104px 104px;
}
body > *:not(script):not(style) { position: relative; z-index: 1; }
/* …except Square's "Text us" plugin (app.js), whose fixed form would otherwise sit under the sticky header */
body > div:has(> messages-plugin) { z-index: 1000; }

/* --- 3. the 38px hero grid ------------------------------------------------ */
.hero { position: relative; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 7.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 7.5%) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, #000 0 55%, transparent 100%);
}
.hero__inner, .hero > .wrap { position: relative; z-index: 1; }

/* --- 4. arcade buttons: 2px border, uppercase, letterspaced, no radius ---- */
.btn {
  border-width: 2px; text-transform: uppercase; letter-spacing: .08em;
  font-weight: 700; font-size: .82rem;
}
.btn--primary { --b: var(--pink); --c: #fff; --bd: var(--pink); }
.btn--primary:hover { --b: #ff3d96; --bd: #ff3d96; }
.btn--go { --b: var(--cyan); --c: #04141a; --bd: var(--cyan); }
.btn--go:hover { --b: #4fd4ff; --bd: #4fd4ff; }
.btn--outline-light, .btn--ghost { --bd: var(--cyan); --c: #fff; }
.btn--light { --b: #fff; --c: #08080b; --bd: #fff; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 rgb(0 0 0 / 55%); }

/* --- 5. eyebrows and kickers --------------------------------------------- */
.eyebrow, .rail__kicker, .mk-hero__eyebrow {
  letter-spacing: .18em; text-transform: uppercase; font-size: .72rem; font-weight: 700;
}
.rail__kicker { border: 1px solid currentColor; background: transparent !important; color: var(--kc) !important; }

/* --- 6. headings: their display-font tracking ---------------------------- */
.h1, .h2, .hero__title, h1, h2 { letter-spacing: -.05em; text-transform: uppercase; }
.h3, h3 { letter-spacing: -.02em; }
.hero__title em { font-style: normal; color: var(--pink); }

/* --- 7. panels and cards: 1px neon edge, tinted fill --------------------- */
.pcard, .panel, .loc, .notice, .value, .table-wrap {
  border: 1px solid var(--line); background: var(--surface);
}
.pcard:hover { border-color: var(--pink); box-shadow: 5px 5px 0 rgb(255 8 122 / 20%); transform: none; }
.value:hover { border-color: var(--cyan); box-shadow: 5px 5px 0 rgb(0 202 255 / 18%); }
/* the small tick their cards carry in the top-left corner */
.panel, .notice { position: relative; padding-top: 22px; }
.panel::before, .notice::before {
  content: ""; position: absolute; left: 14px; top: 10px; width: 3px; height: 13px; background: var(--cyan);
}

/* --- 8. the band rails take a neon edge rather than a colour wash -------- */
.rail--band { --edge: var(--pink); }
.rail--sky   { --band: #0e0a11; --kc: var(--cyan);  --kct: #04141a; --edge: var(--cyan); }
.rail--slab  { --band: #0e0a11; --kc: var(--cyan);  --kct: #04141a; --edge: var(--cyan); }
.rail--hot   { --band: #130810; --kc: var(--pink);  --kct: #fff;    --edge: var(--pink); }
.rail--lime  { --band: #0a1410; --kc: var(--money); --kct: #04120a; --edge: var(--money); }
.rail--money { --band: #0a1410; --kc: var(--money); --kct: #04120a; --edge: var(--money); }
.rail--band::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw;
  z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 3.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3.5%) 1px, transparent 1px);
  background-size: 38px 38px;
}
.rail--band { isolation: isolate; }

/* --- 9. header / footer --------------------------------------------------- */
.header { background: var(--void); border-bottom: 2px solid var(--pink); }
.footer { background: var(--void); border-top: 2px solid var(--cyan); }
.topbar { background: var(--ink); border-bottom: 1px solid var(--line); }
.nav { background: var(--ink); }

/* --- 10. the hero deck reads as a stack of arcade cards ------------------ */
.deck__front, .deck__back { border-width: 2px; border-color: #e7e5ec; border-radius: 0; }
.deck__back {
  background:
    radial-gradient(70% 55% at 50% 45%, rgb(0 0 0 / 35%), transparent 70%),
    repeating-linear-gradient(45deg, rgb(0 202 255 / 9%) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(-45deg, rgb(255 8 122 / 9%) 0 1px, transparent 1px 11px),
    linear-gradient(160deg, #1b0a23, #08080b 85%);
}
.deck__back img { border-radius: 0; }

/* Product shots sit on the panel colour, not on white — a white plate on a black neon page
   reads as a hole. Card scans get a hairline so they still read as an object. */
.pmedia { border: 1px solid rgb(255 255 255 / 10%); }
.pcard:hover .pmedia { border-color: rgb(255 8 122 / 45%); }

/* Buylist/table thumbnails: the base sheet sizes these as cards (63/88). Most of what this shop
   buys is a console or a jacket photographed square, which that crop turns into a sliver. */
.table .thumb { width: 64px; }
.table .thumb .pmedia { width: 56px; aspect-ratio: 1; object-fit: contain; background: #0e0e12; padding: 2px; }
.table .thumb .pmedia--img[src*="tcgdex"], .table .thumb .pmedia--img[src*="scryfall"] { aspect-ratio: 63 / 88; object-fit: cover; padding: 0; }

/* On the buylist every control was green because --money doubles as "cash". Keep the meaning in
   the cash/credit figures and give the action button the brand pink like every other CTA. */
.btn--money { --b: var(--pink); --c: #fff; --bd: var(--pink); }
.btn--money:hover { --b: #ff3d96; --bd: #ff3d96; }
.cash { color: var(--money); }
.credit { color: var(--cyan); }

/* green is for money figures only on this palette; the numbered steps take the brand pink */
.step::before { background: var(--pink); color: #fff; border-radius: 0; }

/* ================= Readability (2026-10-10) =================
   Space Mono stays for what is short and loud — headings, buttons, prices, badges, eyebrows, codes.
   Everything people actually read (paragraphs, product names, menus, forms) is Space Grotesk:
   same designer and family as Space Mono, so it keeps their look without the typewriter strain. */
:root { --read: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --muted: #a7a4b2; }
body { font-family: var(--read); font-size: 16.5px; line-height: 1.6; }
h1, h2, .h1, .h2, .hero__title { font-family: var(--display); }
h3, h4, .h3 { font-family: var(--read); font-weight: 700; letter-spacing: -.01em; }
input, select, textarea, .search__input, .field input, .field select, .field textarea { font-family: var(--read); font-size: 1rem; }
.pcard__name, .pcard__name a { font: 600 .98rem/1.3 var(--read); letter-spacing: 0; }
.pcard__set { font-size: .8rem; }
.pdp__title { font-family: var(--read); text-transform: none; letter-spacing: -.015em; font-weight: 700; }
.lead, .hero__sub { font-family: var(--read); line-height: 1.6; }
.nav__link, .mega a, .mega__col a, .footer, .footer a { font-family: var(--read); }
.nav__link { font-weight: 600; font-size: .98rem; }
.small, small { font-size: .875rem; }

/* ================= Refresh v4 (2026-10-10): cleaner type, even cards, motion =================
   Kobe: "majorly improve it and add animations". Headings, menus and buttons move to Space Grotesk in
   sentence case; Space Mono stays where it's the brand's voice — the hero headline, prices, eyebrows,
   codes. Every product photo sits on its own white plate so a grid reads evenly. Motion is short and
   eased, switched off for "reduce motion", and nothing is hidden unless JS is running (html.js). */
:root { --ease: cubic-bezier(.2, .7, .2, 1); --plate: #ffffff; --card: #111016; --edge: rgb(255 255 255 / 11%); }

/* ---- type ---- */
h1, h2, .h1, .h2 { font-family: var(--read); text-transform: none; letter-spacing: -.028em; font-weight: 700; color: #fff; }
.h1, h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.08; }
.h2, h2 { font-size: clamp(1.4rem, 2.3vw, 1.95rem); line-height: 1.15; }
.rail__head .h2 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); }
.hero__title { font-family: var(--display); text-transform: uppercase; letter-spacing: -.05em; }
.section-head .h2, .rail__head .h2 { padding-left: 0; }
.section-head .h2::before, .rail__head .h2::before { display: none; }
.eyebrow, .rail__kicker { font-family: var(--display); }
.rail { --kc: var(--cyan); }
.rail__kicker { display: inline-block; margin: 0 0 8px; padding: 0; border: 0 !important; font-size: .7rem; letter-spacing: .16em; color: var(--cyan) !important; }
.rail__kicker::before { content: "// "; color: var(--pink); }
.link-more { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; color: #fff; font-weight: 600; font-size: .95rem; }
.link-more:hover { color: var(--soft-pink); text-decoration: none; }
.link-more span { transition: transform .2s var(--ease); }
.link-more:hover span { transform: translateX(4px); }
.lead { color: #b9b6c2; }

/* every typed field reads in Space Grotesk (the base sheet's input[type=…] rule outranked the readability block) */
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search],
input[type=date], input[type=time], input[type=url], select, textarea { font-family: var(--read); }

/* panel titles and tabs read like the rest of the headings */
.panel__title { font-family: var(--read); text-transform: none; letter-spacing: -.015em; font-size: 1.2rem; }
.panel { background: var(--card); border-color: var(--edge); }
.tab { font-family: var(--read); transition: background .15s, color .15s, border-color .15s; }
.tab:hover { border-color: var(--pink); }

/* ---- buttons: still square with their 2px edge, now sentence case and easier to read ---- */
.btn { font-family: var(--read); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .98rem; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .15s, border-color .15s, color .15s; }
.btn--sm { font-size: .88rem; }
.btn--lg { font-size: 1.05rem; min-height: 54px; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 rgb(255 8 122 / 45%); }
.btn--go:hover { box-shadow: 4px 4px 0 rgb(255 8 122 / 55%); }
.btn--primary:hover { box-shadow: 4px 4px 0 rgb(0 202 255 / 45%); }
.btn:active { transform: translate(0, 0); box-shadow: none; }

/* ---- header ---- */
.topbar { font-size: .84rem; }
.header { border-bottom: 0; transition: box-shadow .25s var(--ease), background .25s; }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--pink), var(--cyan) 50%, var(--pink)); background-size: 200% 100%; animation: df-slide 8s linear infinite; }
.header.is-scrolled { box-shadow: 0 12px 30px -16px rgb(0 0 0 / 85%); }
.logo__img { transition: transform .35s var(--ease); }
.logo:hover .logo__img { transform: rotate(-8deg) scale(1.05); }
.search__input { border-width: 1px; transition: border-color .2s, box-shadow .2s, background .2s; }
.search__input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgb(255 8 122 / 22%); }
.search__btn { background: var(--pink); }
.hact { font-family: var(--read); }
.hact__label { text-transform: none; letter-spacing: 0; font-size: .74rem; font-weight: 600; }
.hact__count.is-bump { animation: df-bump .5s var(--ease); }
.nav__link { position: relative; text-transform: none; letter-spacing: 0; font-size: .98rem; font-weight: 600; padding: 12px 16px; background: none !important; color: #cfccd8; }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: #fff; }
@media (min-width: 961px) {
  .nav__link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav__link:hover::after, .nav__link.is-active::after, .nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
  .nav__link.is-active { box-shadow: none; color: #fff; }
  .has-mega.is-open .mega { animation: df-drop .22s var(--ease); }
}
.mega__col a.mega__dept { font-family: var(--read); text-transform: none; letter-spacing: 0; font-size: 1rem; }
.mega__col a { transition: color .15s, border-color .15s, padding .2s var(--ease); }
.mega__col a:hover { padding-left: 18px; }

/* ---- home hero ---- */
.hero--home::before { background:
    radial-gradient(60% 80% at 85% 15%, rgb(255 8 122 / 18%), transparent 62%),
    radial-gradient(50% 70% at 0% 100%, rgb(0 202 255 / 12%), transparent 60%);
  animation: df-glow 14s ease-in-out infinite alternate; }
.hero--home .hero__title { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: .98; margin-bottom: 20px; }
.hero__sub { font-size: 1.12rem; color: #c3c0cc; }
.hero__pill { border-radius: 999px !important; background: rgb(255 255 255 / 7%); border-color: rgb(255 255 255 / 16%); font-family: var(--read); font-weight: 600; font-size: .88rem; letter-spacing: 0; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid rgb(255 255 255 / 12%); }
.hero__facts li { display: flex; flex-direction: column; gap: 2px; }
.hero__facts b { font: 700 1.35rem/1.1 var(--display); color: #fff; letter-spacing: -.03em; }
.hero__facts span { font-size: .86rem; color: var(--muted); }
.shelf__item { border-width: 3px; box-shadow: 0 18px 30px -14px rgb(0 0 0 / 85%); }
.shelf__item:hover { box-shadow: 0 24px 40px -16px rgb(255 8 122 / 45%); }
.shelf__tag { font-family: var(--display); }
.shelf__label { font-family: var(--display); }

/* hero entrance (CSS only: runs once on load, nothing hidden when motion is off) */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: df-rise .7s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .hero__copy > :nth-child(5) { animation-delay: .32s; }
  .shelf__item { animation: df-drop-in .8s var(--ease) both; }
  .shelf__item--1 { animation-delay: .2s; } .shelf__item--2 { animation-delay: .3s; }
  .shelf__item--3 { animation-delay: .4s; } .shelf__item--4 { animation-delay: .5s; }
  .shelf::after { animation: df-grow .9s var(--ease) .15s both; transform-origin: left; }
  .shelf__label { animation: df-fade .6s ease .9s both; }
}

/* ---- hero showcase while there's no shelf of real items (online shop off): neon drawings of each department
   that bob, flip between two things in a wave, and glow. Static (front faces) under "reduce motion". ---- */
.finds { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; max-width: 430px; justify-self: center; padding: 8px 0 64px; }
.finds__item { position: relative; transition: scale .3s var(--ease); }
.finds__item:nth-child(1) { rotate: -3deg; }
.finds__item:nth-child(2) { rotate: 2.5deg; top: 34px; }
.finds__item:nth-child(3) { rotate: 2deg; }
.finds__item:nth-child(4) { rotate: -2deg; top: 34px; }
.finds__item:hover { scale: 1.04; z-index: 2; }
.finds__float { perspective: 800px; }
.finds__card { position: relative; aspect-ratio: 1 / 1.06; transform-style: preserve-3d; }
.finds__face { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; place-items: center; gap: 6px; padding: 18px 12px 16px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: repeating-linear-gradient(0deg, rgb(255 255 255 / 3%) 0 1px, transparent 1px 3px),
    linear-gradient(155deg, color-mix(in srgb, var(--g) 22%, #0d0c12), #0d0c12 72%);
  border: 2px solid color-mix(in srgb, var(--g) 75%, transparent);
  box-shadow: 0 24px 36px -18px rgb(0 0 0 / 90%), 0 0 28px -8px color-mix(in srgb, var(--g) 55%, transparent), inset 0 0 24px -10px color-mix(in srgb, var(--g) 65%, transparent); }
.finds__face--back { transform: rotateY(180deg); }
.finds__face svg { width: 62%; height: auto; overflow: visible; fill: none; stroke: var(--g); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--g) 85%, transparent)); }
.finds__face svg .fill { fill: var(--g); stroke: none; }
.finds__face svg .faint { opacity: .45; stroke-width: 1.4; }
.finds__face svg .spin { transform-box: fill-box; transform-origin: center; }
.finds__face span { font: 700 .72rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.finds__spark { position: absolute; color: var(--pink); font-size: 1.05rem; line-height: 1; text-shadow: 0 0 12px currentColor; pointer-events: none; }
.finds__spark--1 { top: -10px; left: calc(50% - 8px); color: var(--cyan); }
.finds__spark--2 { top: 46%; left: calc(50% - 6px); font-size: .8rem; }
.finds__spark--3 { bottom: 70px; left: -26px; color: var(--cyan); font-size: .85rem; }
.finds__spark--4 { top: 12px; right: -24px; font-size: .75rem; }
.finds__label { position: absolute; left: 0; bottom: 4px; font: 700 .68rem var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
@media (prefers-reduced-motion: no-preference) {
  .finds__item { animation: df-drop-in .8s var(--ease) both; }
  .finds__item--2 { animation-delay: .1s; } .finds__item--3 { animation-delay: .2s; } .finds__item--4 { animation-delay: .3s; }
  .finds__float { animation: df-bob 6s ease-in-out infinite; }
  .finds__item--2 .finds__float { animation-delay: -1.5s; } .finds__item--3 .finds__float { animation-delay: -3s; } .finds__item--4 .finds__float { animation-delay: -4.5s; }
  /* each card flips at 38–50% of a 12s loop; the delays start the first wave ~2s after load, one card after another */
  .finds__card { animation: df-flip 12s var(--ease) infinite; animation-delay: -2.6s; }
  .finds__item--2 .finds__card { animation-delay: -2.1s; } .finds__item--3 .finds__card { animation-delay: -1.6s; } .finds__item--4 .finds__card { animation-delay: -1.1s; }
  .finds__item:hover .finds__card { animation-play-state: paused; }
  .finds__face svg .spin { animation: df-spin 5s linear infinite; }
  .finds__spark { animation: df-twinkle 3.2s ease-in-out infinite; }
  .finds__spark--2 { animation-delay: -.8s; } .finds__spark--3 { animation-delay: -1.6s; } .finds__spark--4 { animation-delay: -2.4s; }
  .finds__label { animation: df-fade .6s ease .9s both; }
}
@keyframes df-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes df-flip { 0%, 38% { transform: rotateY(0); } 50%, 88% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
@keyframes df-spin { to { transform: rotate(360deg); } }
@keyframes df-twinkle { 0%, 100% { opacity: .25; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
@media (max-width: 960px) {
  .finds { grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 520px; justify-self: start; padding: 22px 0 46px; }
  .finds__item:nth-child(even) { top: 12px; }
  .finds__face { padding: 10px 4px 9px; gap: 4px; }
  .finds__face svg { width: 70%; }
  .finds__face span { font-size: .56rem; letter-spacing: .06em; }
  .finds__spark--3 { left: auto; right: -6px; bottom: 30px; }
  .finds__spark--4 { right: -8px; top: 6px; }
}

/* ---- ticker band ---- */
.ticker { overflow: hidden; border-block: 1px solid rgb(255 255 255 / 10%); background: #0d0c12; padding: 14px 0; }
.ticker__track { display: flex; width: max-content; animation: df-marquee 114s linear infinite; }   /* 3 lists per half → 3× the old 38s keeps the same speed */
.ticker span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font: 700 .82rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #d8d6de; white-space: nowrap; }
.ticker span::after { content: "✦"; color: var(--pink); font-size: .8rem; }
.ticker span:nth-child(even)::after { color: var(--cyan); }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ---- departments ---- */
.depts { gap: 14px; }
.dept { min-height: 220px; padding: 18px; border: 1px solid var(--edge); border-top: 3px solid var(--t1); transition: transform .3s var(--ease), border-color .2s, box-shadow .3s var(--ease); }
a.dept:hover { transform: translateY(-5px); border-color: var(--t1); box-shadow: 0 18px 34px -18px color-mix(in srgb, var(--t1) 70%, transparent); }
.dept__img { transition: transform .4s var(--ease); }
a.dept:hover .dept__img { transform: rotate(0) translateY(-6px) scale(1.04); }
.dept__name { font-family: var(--read); text-transform: none; letter-spacing: -.01em; font-size: 1.15rem; }
.dept__n { font-size: .85rem; }
.dept__n span { display: inline-block; transition: transform .2s var(--ease); }
a.dept:hover .dept__n span { transform: translateX(4px); }
.dept--floor { padding-top: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--t1) 10%, var(--ink)), var(--ink) 70%); border-top-color: color-mix(in srgb, var(--t1) 55%, transparent); color: var(--muted); }
.dept--floor .dept__name { color: #e7e5ec; }
.dept--floor .dept__n { color: var(--muted); }
a.dept--floor:hover .dept__n { color: #fff; }
.dept__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: auto; color: var(--t1); background: color-mix(in srgb, var(--t1) 12%, transparent); border: 1px solid color-mix(in srgb, var(--t1) 40%, transparent); transition: transform .35s var(--ease); }
a.dept--floor:hover .dept__icon { transform: rotate(-6deg) scale(1.06); }

/* ---- product cards: one white plate, clear name, price + add ---- */
.pcard { padding: 0; overflow: hidden; background: var(--card); border: 1px solid var(--edge); transition: transform .3s var(--ease), border-color .2s, box-shadow .3s var(--ease); }
.pcard:hover { transform: translateY(-5px); border-color: rgb(255 8 122 / 70%); box-shadow: 0 22px 38px -20px rgb(255 8 122 / 55%); }
.pcard__media { margin: 0; background: var(--plate); aspect-ratio: 1; overflow: hidden; }
.pcard__media .pmedia, .pcard .pmedia--photo, .pcard .pmedia--img { width: 100%; height: 100%; aspect-ratio: auto; padding: 10%; background: var(--plate) !important; border: 0; box-shadow: none; object-fit: contain; transition: transform .5s var(--ease); }
.pcard:hover .pcard__media .pmedia--img { transform: scale(1.06); }
.pcard .pmedia--tile { padding: 12%; background: linear-gradient(160deg, var(--t1), var(--t2) 80%) !important; }
.pcard:hover .pmedia { border-color: transparent; }
.pcard__badges { left: 8px; top: 8px; }
.pcard__body { padding: 12px 14px 14px; gap: 3px; }
.pcard__set { color: var(--muted); font-size: .78rem; }
.pcard__name, .pcard__name a { font: 600 1rem/1.3 var(--read); color: #f1f0f5; }
.pcard__name a:hover { color: #fff; }
.pcard__foot { padding-top: 12px; }
.pcard__foot .price { font: 700 1.12rem var(--display); color: #fff; letter-spacing: -.03em; }
.pcard__add { height: 36px; padding: 0 12px; border: 1px solid rgb(0 202 255 / 70%); font-family: var(--read); text-transform: none; letter-spacing: 0; font-size: .86rem; font-weight: 600; transition: background .15s, color .15s, transform .15s var(--ease); }
.pcard__add:hover { transform: translateY(-1px); }
.pcard__add:active { transform: scale(.96); }
.rail__track { padding: 6px 2px 18px; gap: 16px; }
.pgrid { gap: 18px; }

/* ---- trade + visit ---- */
.trade { background: linear-gradient(120deg, rgb(255 8 122 / 14%), var(--ink) 55%); border-left-width: 4px; }
.trade .eyebrow { color: var(--cyan); }
.trade .h2 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); }
.trade__steps li { font-size: .95rem; }
.trade__steps span { font-size: .86rem; }
.visit__info, .visit__events { background: var(--card); border-color: var(--edge); }
.ev-mini__item { transition: transform .2s var(--ease), border-color .2s; }
.ev-mini__item:hover { transform: translateX(4px); border-color: var(--pink); }

/* ---- shop, product, page heads ---- */
.page-head--shop .h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.crumbs { font-size: .88rem; }
.filters { background: var(--card); border: 1px solid var(--edge); }
.cat-list a { transition: background .15s, color .15s, padding .2s var(--ease); }
.cat-list a:hover:not(.is-active) { padding-left: 12px; color: #fff; }
.pdp__media .pmedia--photo, .pdp__media .pmedia--img { background: var(--plate) !important; padding: 8%; border: 0; }
.pdp__media { background: var(--plate); }
.pdp__facts { font-family: var(--display); }
.pdp__price .price { font-size: 2rem; }
@media (prefers-reduced-motion: no-preference) {
  .pdp > * { animation: df-rise .6s var(--ease) both; }
  .pdp > :nth-child(2) { animation-delay: .1s; }
  .page-head { animation: df-rise .55s var(--ease) both; }
}

/* ---- footer ---- */
.footer { border-top: 0; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--pink)); }
.footer h3 { font-family: var(--display); }
.footer a { transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__base { align-items: center; gap: 10px 24px; flex-wrap: wrap; }
.footer__credit { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid rgb(255 255 255 / 16%); color: #cfccd8; text-decoration: none; font-size: .86rem; transition: border-color .2s, color .2s, transform .2s var(--ease); }
.footer__credit b { color: #fff; font-weight: 700; }
.footer__credit:hover { border-color: var(--cyan); color: #fff; transform: translateY(-2px); }

/* ---- scroll reveal (JS adds .reveal, then .is-in when it scrolls into view) ---- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .pcard.reveal.is-in { transition: opacity .6s var(--ease) var(--d, 0s), transform .3s var(--ease), border-color .2s, box-shadow .3s var(--ease); }
.js .dept.reveal.is-in { transition: opacity .6s var(--ease) var(--d, 0s), transform .3s var(--ease), border-color .2s, box-shadow .3s var(--ease); }

/* ---- keyframes ---- */
@keyframes df-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes df-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes df-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes df-drop-in { from { opacity: 0; translate: 0 -40px; } to { opacity: 1; translate: 0 0; } }
@keyframes df-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes df-bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes df-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes df-slide { from { background-position: 0 0; } to { background-position: 200% 0; } }
@keyframes df-glow { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-3%, 2%, 0) scale(1.08); } }

/* ---- phones ---- */
@media (max-width: 960px) {
  .nav__link { padding: 14px 12px; }
  .hero__facts { gap: 10px 22px; }
}
@media (max-width: 640px) {
  .hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; padding-top: 16px; }
  .hero__facts b { font-size: 1.1rem; }
  .hero__facts span { font-size: .78rem; }
  .ticker { padding: 11px 0; }
  .ticker span { font-size: .72rem; }
  .dept { min-height: 160px; padding: 14px; }
  .dept__name { font-size: 1rem; }
  .dept__icon { width: 46px; height: 46px; }
  .pcard__body { padding: 10px 10px 12px; }
  .pcard__name, .pcard__name a { font-size: .92rem; }
  .pcard__foot { gap: 8px; }
  .footer__base { flex-direction: column; align-items: flex-start; }
}

/* ---- reduce motion: everything visible, nothing moves ---- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .ticker__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 8px; }
  .ticker span:nth-child(n+8) { display: none; }
  .header::after, .hero--home::before { animation: none !important; }
}
