/* ==========================================================================
   Vaultly — marketplace UI
   Every colour and radius is a token below. No inline styles anywhere: the
   Content-Security-Policy forbids them, so all layout lives in this file.
   ========================================================================== */

:root {
  --bg: #07090d;
  --bg-2: #0a0d13;
  --surface: #0f131b;
  --surface-2: #141924;
  --surface-3: #1a202d;
  --line: #1e2532;
  --line-2: #2a3243;

  --text: #f3f5f9;
  --text-2: #c5ccd8;
  --muted: #8b94a7;
  --faint: #5f687b;

  --accent: #4ade80;
  --accent-2: #22c55e;
  --accent-ink: #04210f;
  --accent-soft: rgba(74, 222, 128, 0.1);
  --accent-line: rgba(74, 222, 128, 0.32);
  --accent-glow: rgba(74, 222, 128, 0.5);
  --accent-hover: #6ee599;
  --accent-light: #aef0c6;

  --info: #7cb4ff;
  --info-soft: rgba(124, 180, 255, 0.1);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.1);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.1);

  --radius-lg: 18px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 7px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 18px 40px -24px rgba(0, 0, 0, 0.8);
  --shadow-pop: 0 24px 60px -20px rgba(0, 0, 0, 0.85);

  --container: 1240px;
  --pad: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ─── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--accent); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
::selection { background: var(--accent-line); color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.i { width: 1.15em; height: 1.15em; flex-shrink: 0; }
details.card > summary { list-style: none; cursor: pointer; border-bottom: 0; }
details.card > summary::-webkit-details-marker { display: none; }
details.card[open] > summary { border-bottom: 1px solid var(--line); }
.card-head .i { width: 18px; height: 18px; color: var(--muted); }
.link-arrow .i, .eyebrow .i { width: 16px; height: 16px; }
.dropdown-menu .i { width: 17px; height: 17px; color: var(--muted); }
.dropdown-menu .count { margin-left: auto; box-shadow: none; }

h1, h2, h3, h4 { margin: 0; letter-spacing: -0.022em; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(26px, 3.2vw, 36px); }
h2 { font-size: clamp(20px, 2.2vw, 24px); }
h3 { font-size: 16px; letter-spacing: -0.01em; }
h4 { font-size: 14px; letter-spacing: 0; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.container-sm { max-width: 760px; }
.container-xs { max-width: 460px; }
.page { padding-top: clamp(24px, 4vw, 44px); padding-bottom: clamp(40px, 6vw, 72px); }

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.text-2 { color: var(--text-2); }
.accent { color: var(--accent); }
.danger { color: var(--danger); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: 0; }
.pre { white-space: pre-line; overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.right { text-align: right; }
.upper { text-transform: uppercase; letter-spacing: 0.08em; font-size: 11.5px; font-weight: 600; }
.w-full { width: 100%; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-tight { gap: 6px; }
.row-nowrap { flex-wrap: nowrap; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stack { display: grid; gap: 16px; }
.stack-sm { display: grid; gap: 10px; }
.stack-lg { display: grid; gap: 28px; }
.grow { flex: 1; min-width: 0; }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inline { display: inline; }
@media (max-width: 720px) { .hide-sm { display: none !important; } }
@media (min-width: 721px) { .show-sm { display: none !important; } }

/* ─── Top bars ───────────────────────────────────────────────────────────── */
.bar {
  font-size: 13px; text-align: center; padding: 8px var(--pad);
  border-bottom: 1px solid var(--line);
}
.bar-test { background: var(--warn-soft); color: var(--warn); border-color: rgba(251, 191, 36, 0.25); }
.bar-announce { background: linear-gradient(90deg, var(--accent-soft), rgba(124, 180, 255, 0.08)); color: var(--text-2); }
.bar strong { color: var(--text); font-weight: 600; }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 9, 13, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr-inner { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.03em; flex-shrink: 0; }
.logo:hover { color: var(--text); }
.logo-mark {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: var(--accent-ink); box-shadow: 0 6px 20px -6px var(--accent-glow);
}
.logo-mark svg { width: 18px; height: 18px; }

.hdr-search { flex: 1; max-width: 520px; position: relative; }
.hdr-search input {
  width: 100%; height: 42px; padding: 0 16px 0 42px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 14px;
  transition: border-color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.hdr-search input::placeholder { color: var(--faint); }
.hdr-search input:focus { outline: none; border-color: var(--accent-line); background: var(--surface-2); box-shadow: 0 0 0 4px var(--accent-soft); }
.hdr-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--faint); pointer-events: none; }

.hdr-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: var(--radius-sm);
  color: var(--text-2); font-size: 14px; font-weight: 500; position: relative;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav-link:hover, .nav-link.is-active { background: var(--surface-2); color: var(--text); }
.nav-link svg { width: 18px; height: 18px; }
.nav-link .count { box-shadow: none; }
.count {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: inline-grid; place-items: center;
  font-size: 11px; font-weight: 700; line-height: 1; background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 2px var(--bg);
}
.count-warn { background: var(--warn); color: #2a1b00; }

/* Dropdowns built on <details>, so they work without JavaScript. */
.dropdown { position: relative; }
.dropdown > summary { list-style: none; cursor: pointer; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; z-index: 70;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--shadow-pop); padding: 6px; animation: pop .14s var(--ease);
}
.dropdown-menu a, .dropdown-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: var(--radius-xs);
  color: var(--text-2); font-size: 14px; background: none; border: 0; cursor: pointer; text-align: left;
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--surface-2); color: var(--text); }
.dropdown-menu .sep { height: 1px; background: var(--line); margin: 6px 4px; }
.dropdown-head { padding: 10px 12px 8px; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; flex-shrink: 0;
  font-weight: 700; font-size: 13px; color: #fff; letter-spacing: 0;
}
.avatar-sm { width: 28px; height: 28px; font-size: 11px; }
.avatar-lg { width: 52px; height: 52px; font-size: 18px; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px 3px 3px; border-radius: 999px; border: 1px solid var(--line); transition: border-color .15s var(--ease); }
.user-chip:hover { border-color: var(--line-2); }

/* Deterministic tones for avatars and game tiles. */
.tone-0 { background: linear-gradient(145deg, #4ade80, #0f766e); }
.tone-1 { background: linear-gradient(145deg, #60a5fa, #4338ca); }
.tone-2 { background: linear-gradient(145deg, #f472b6, #9d174d); }
.tone-3 { background: linear-gradient(145deg, #fbbf24, #b45309); }
.tone-4 { background: linear-gradient(145deg, #a78bfa, #6d28d9); }
.tone-5 { background: linear-gradient(145deg, #22d3ee, #0e7490); }
.tone-6 { background: linear-gradient(145deg, #fb7185, #be123c); }
.tone-7 { background: linear-gradient(145deg, #a3e635, #4d7c0f); }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text);
  cursor: pointer; user-select: none;
  transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .1s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { background: var(--surface-3); border-color: #3a4459; color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -10px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: transparent; }
.btn-outline { background: transparent; }
.btn-danger { background: var(--danger-soft); border-color: rgba(248, 113, 113, 0.35); color: var(--danger); }
.btn-danger:hover { background: rgba(248, 113, 113, 0.18); border-color: rgba(248, 113, 113, 0.55); color: #fca5a5; }
.btn-warn { background: var(--warn-soft); border-color: rgba(251, 191, 36, 0.35); color: var(--warn); }
.btn-warn:hover { background: rgba(251, 191, 36, 0.18); color: #fcd34d; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: var(--radius-xs); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: 0.45; pointer-events: none; }

/* ─── Chips and status ───────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2);
}
.chip svg { width: 13px; height: 13px; }
.chip-accent { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.chip-info { background: var(--info-soft); border-color: rgba(124, 180, 255, 0.3); color: var(--info); }
.chip-warn { background: var(--warn-soft); border-color: rgba(251, 191, 36, 0.3); color: var(--warn); }
.chip-danger { background: var(--danger-soft); border-color: rgba(248, 113, 113, 0.3); color: var(--danger); }
.chip-plain { background: transparent; }
a.chip:hover { border-color: var(--line-2); color: var(--text); }
.chip.is-active { background: var(--text); border-color: var(--text); color: var(--bg); }

.status { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; border: 1px solid; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-warn { color: var(--warn); background: var(--warn-soft); border-color: rgba(251, 191, 36, 0.28); }
.status-info { color: var(--info); background: var(--info-soft); border-color: rgba(124, 180, 255, 0.28); }
.status-ok { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }
.status-danger { color: var(--danger); background: var(--danger-soft); border-color: rgba(248, 113, 113, 0.28); }
.status-muted { color: var(--muted); background: var(--surface-2); border-color: var(--line); }

.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 12px; font-weight: 600; }
.verified svg { width: 14px; height: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); display: inline-block; flex-shrink: 0; }
.dot-on { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: clamp(18px, 2.4vw, 24px); }
.card-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-body { padding: 20px; }
.card-foot { padding: 14px 20px; border-top: 1px solid var(--line); }
.card-soft { background: var(--bg-2); }
.card-accent { border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-soft), transparent 70%), var(--surface); }
.card-warn { border-color: rgba(251, 191, 36, 0.3); background: linear-gradient(180deg, var(--warn-soft), transparent 70%), var(--surface); }
.card-danger { border-color: rgba(248, 113, 113, 0.3); background: linear-gradient(180deg, var(--danger-soft), transparent 70%), var(--surface); }
.card-title { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.card-title svg { width: 18px; height: 18px; color: var(--accent); }

.sec { padding: clamp(28px, 5vw, 56px) 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.sec-head p { color: var(--muted); margin-top: 6px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.link-arrow { color: var(--text-2); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { color: var(--accent); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 360px at 12% -10%, var(--accent-soft), transparent 70%),
    radial-gradient(640px 320px at 95% 10%, rgba(124, 180, 255, 0.1), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(40px, 7vw, 88px); }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.04; letter-spacing: -0.04em; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--accent), var(--accent-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { color: var(--text-2); font-size: clamp(15px, 1.5vw, 18px); margin-top: 18px; max-width: 54ch; }
.hero-search { display: flex; gap: 8px; margin-top: 28px; padding: 6px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-pop); max-width: 560px; }
.hero-search input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; background: transparent; border: 0; color: var(--text); font-size: 15px; }
.hero-search input:focus { outline: none; box-shadow: none; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--text-2); font-size: 13.5px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: var(--accent); }

/* Illustrated escrow card on the right of the hero, pure CSS. */
.hero-visual { position: relative; }
.mock { padding: 20px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); box-shadow: var(--shadow-pop); }
.mock:first-child { padding-bottom: 44px; }
.mock + .mock { margin: -30px 0 0 clamp(20px, 6vw, 60px); position: relative; }
.mock-row { display: flex; align-items: center; gap: 12px; }
.mock-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; }
.mock-steps i { height: 5px; border-radius: 3px; background: var(--line-2); }
.mock-steps i.on { background: var(--accent); }
.mock-bubble { display: inline-block; padding: 9px 13px; border-radius: 14px; font-size: 13px; max-width: 85%; }
.mock-bubble.them { background: var(--surface-3); border-top-left-radius: 4px; }
.mock-bubble.me { background: var(--accent); color: var(--accent-ink); border-top-right-radius: 4px; margin-left: auto; font-weight: 500; }
.mock-chat { display: grid; gap: 8px; margin-top: 14px; }
.mock-chat .me-row { display: flex; }

/* ─── Game tiles ─────────────────────────────────────────────────────────── */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.game {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .18s var(--ease), transform .18s var(--ease), background .18s var(--ease);
}
.game:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-2px); color: var(--text); }
.game-mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; flex-shrink: 0; letter-spacing: -0.02em; }
.game-name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.game-meta { color: var(--muted); font-size: 12.5px; }
.game.is-active { border-color: var(--accent-line); background: var(--accent-soft); }

/* ─── Offer cards (grid) ─────────────────────────────────────────────────── */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.offer-card {
  display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.offer-card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-pop); color: var(--text); }
.offer-card .title { font-weight: 600; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.offer-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.price { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--text); }
.price-lg { font-size: clamp(28px, 3vw, 34px); }
.seller-line { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; min-width: 0; }
.seller-line strong { color: var(--text-2); font-weight: 600; }

/* ─── Offer rows (browse) ────────────────────────────────────────────────── */
.offer-list { display: grid; gap: 10px; }
.offer-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 150px 110px 120px auto; align-items: center; gap: 18px;
  padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.offer-row:hover { border-color: var(--line-2); background: var(--surface-2); }
.offer-row .title { font-weight: 600; line-height: 1.35; }
.offer-row .title a:hover { color: var(--accent); }
.offer-row .cell-label { display: none; }
@media (max-width: 900px) {
  .offer-row { grid-template-columns: 1fr auto; gap: 12px; }
  .offer-row .c-seller, .offer-row .c-stock { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; }
  .offer-row .cell-label { display: inline; color: var(--faint); font-size: 12px; }
  .offer-row .c-price { grid-row: 1; grid-column: 2; text-align: right; }
  .offer-row .c-buy { grid-column: 1 / -1; }
  .offer-row .c-buy .btn { width: 100%; }
}

/* ─── Toolbar / filters ──────────────────────────────────────────────────── */
.toolbar { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)) auto; gap: 10px; padding: 12px; }
@media (max-width: 1000px) { .toolbar { grid-template-columns: 1fr 1fr; } .toolbar .t-q { grid-column: 1 / -1; } }
.chips-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar { display: none; }

/* ─── Features / steps / FAQ ─────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.feature { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature h3 { margin: 14px 0 6px; }
.feature p { color: var(--muted); font-size: 14px; }
.icon-tile { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.icon-tile svg { width: 20px; height: 20px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; counter-reset: step; }
.step { position: relative; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--text); color: var(--bg); font-weight: 800; font-size: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s var(--ease); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--text-2); font-size: 14.5px; }

.cta { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--accent-line); background: radial-gradient(600px 200px at 0% 0%, var(--accent-soft), transparent 70%), var(--surface); }
@media (max-width: 720px) { .cta { grid-template-columns: 1fr; } }

/* ─── Forms ──────────────────────────────────────────────────────────────── */
label, .label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 7px; }
input, select, textarea {
  width: 100%; height: 44px; padding: 0 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text);
  font-family: inherit; font-size: 14.5px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:hover, select:hover, textarea:hover { border-color: #37415a; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--bg); }
textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b94a7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
input[type="checkbox"] { width: 18px; height: 18px; padding: 0; accent-color: var(--accent); cursor: pointer; flex-shrink: 0; margin-top: 2px; }
.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.hint { color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); font-weight: 400; cursor: pointer; margin: 0; }
.check a { color: var(--accent); }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.switch-row:last-child { border-bottom: 0; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; pointer-events: none; }
.input-prefix input { padding-left: 28px; }

/* ─── Alerts ─────────────────────────────────────────────────────────────── */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid; font-size: 14px; }
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.alert-error { color: #fecaca; border-color: rgba(248, 113, 113, 0.35); background: var(--danger-soft); }
.alert-error svg { color: var(--danger); }
.alert-info { color: var(--text-2); border-color: var(--line-2); background: var(--surface-2); }
.alert-info svg { color: var(--info); }
.alert-ok { color: var(--accent-light); border-color: var(--accent-line); background: var(--accent-soft); }
.alert-ok svg { color: var(--accent); }
.alert-warn { color: #fde68a; border-color: rgba(251, 191, 36, 0.35); background: var(--warn-soft); }
.alert-warn svg { color: var(--warn); }

/* ─── Tables ─────────────────────────────────────────────────────────────── */
.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: 14px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; background: var(--bg-2); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .12s var(--ease); }
tbody tr:hover { background: var(--surface-2); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ─── Key/value lists ────────────────────────────────────────────────────── */
.kv { display: grid; gap: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kv > div:last-child { border-bottom: 0; }
.kv dt, .kv .k { color: var(--muted); }
.kv dd, .kv .v { margin: 0; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.kv .total { font-weight: 700; color: var(--text); }

/* ─── Stats ──────────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.stat { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat .label { color: var(--muted); font-size: 12.5px; font-weight: 500; margin: 0; }
.stat .value { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat .sub { color: var(--faint); font-size: 12.5px; margin-top: 2px; }
.stat-accent .value { color: var(--accent); }

.chart { padding: 20px; }
.chart svg { width: 100%; height: 160px; }
.chart .bar { fill: var(--accent); opacity: 0.85; }
.chart .bar-bg { fill: var(--surface-2); }
.chart .axis { fill: var(--faint); font-size: 11px; }

/* ─── Stepper ────────────────────────────────────────────────────────────── */
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stepper li { position: relative; padding-top: 16px; font-size: 13px; color: var(--faint); font-weight: 600; }
.stepper li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 3px; background: var(--line-2); }
.stepper li.done { color: var(--text-2); }
.stepper li.done::before { background: var(--accent); }
.stepper li.current { color: var(--text); }
.stepper li.current::before { background: linear-gradient(90deg, var(--accent), var(--line-2)); }
.stepper li.halt::before { background: var(--danger); }
.stepper li.halt { color: var(--danger); }
.stepper small { display: block; font-weight: 400; color: var(--faint); font-size: 12px; }
@media (max-width: 600px) { .stepper small { display: none; } }

/* ─── Order page ─────────────────────────────────────────────────────────── */
.order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: 20px; align-items: start; }
.order-layout .side { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 1000px) { .order-layout { grid-template-columns: 1fr; } .order-layout .side { position: static; } }
.deposit-box { padding: 22px; border-radius: var(--radius); border: 1px dashed var(--accent-line); background: linear-gradient(180deg, var(--accent-soft), transparent 80%), var(--surface); }
.amount-big { font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.addr { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 6px 6px 14px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line-2); }
.addr code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; color: var(--text); }
.delivery-box { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 13.5px; white-space: pre-line; overflow-wrap: anywhere; }
.product-line { display: flex; align-items: center; gap: 14px; }

/* ─── Chat ───────────────────────────────────────────────────────────────── */
.chat { display: flex; flex-direction: column; height: min(78vh, 720px); min-height: 460px; overflow: hidden; }
.chat-page .chat { height: min(74vh, 760px); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-head .who { flex: 1; min-width: 0; }
.chat-head .who strong { display: block; font-size: 14.5px; line-height: 1.3; }
.chat-head .who span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.chat-safety { display: flex; gap: 8px; align-items: flex-start; padding: 9px 16px; font-size: 12px; color: var(--muted); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.chat-safety svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; scroll-behavior: smooth; overscroll-behavior: contain; }
.chat-body::-webkit-scrollbar { width: 8px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; }
.chat-empty { margin: auto; text-align: center; color: var(--faint); font-size: 13px; max-width: 260px; }

.msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 84%; margin-top: 8px; animation: msg-in .22s var(--ease); }
.msg + .msg.same { margin-top: 2px; }
.msg.same .msg-meta { display: none; }
.msg-meta { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--faint); margin: 0 4px 4px; }
.msg-meta strong { color: var(--text-2); font-weight: 600; }
.msg-bubble { padding: 9px 13px; border-radius: 16px; border-top-left-radius: 5px; background: var(--surface-3); color: var(--text); font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.mine { align-self: flex-end; align-items: flex-end; }
.msg.mine .msg-bubble { background: var(--accent); color: var(--accent-ink); border-radius: 16px; border-top-right-radius: 5px; font-weight: 500; }
.msg.moderator .msg-bubble { background: var(--info-soft); border: 1px solid rgba(124, 180, 255, 0.3); }
.msg.mine.moderator .msg-bubble { background: #9cc8ff; color: #0b1a33; border: 0; }
.msg.system { align-self: center; align-items: center; max-width: 92%; margin: 12px 0 6px; }
.msg.system .msg-bubble { background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; border-radius: 12px; text-align: center; padding: 8px 14px; }
.msg.system .msg-meta { display: none; }
.msg.pending .msg-bubble { opacity: 0.6; }
.msg.failed .msg-bubble { outline: 1px solid var(--danger); }
.role-tag { display: inline-block; padding: 1px 6px; border-radius: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: var(--surface-2); color: var(--muted); }
.role-tag.moderator { background: var(--info-soft); color: var(--info); }
.day-sep { align-self: center; font-size: 11.5px; color: var(--faint); margin: 14px 0 4px; }
@keyframes msg-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.chat-compose { border-top: 1px solid var(--line); padding: 12px; display: flex; gap: 8px; align-items: flex-end; background: var(--surface); }
.chat-compose textarea { min-height: 44px; height: 44px; max-height: 160px; resize: none; padding: 11px 14px; border-radius: 12px; }
.chat-compose .btn { height: 44px; width: 44px; padding: 0; border-radius: 12px; flex-shrink: 0; }
.chat-compose .btn svg { width: 18px; height: 18px; }
.chat-foot-note { padding: 0 14px 10px; font-size: 11.5px; color: var(--faint); display: flex; justify-content: space-between; gap: 8px; }
.chat-closed { padding: 14px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; }
.chat-error { color: var(--danger); }

/* ─── Inbox ──────────────────────────────────────────────────────────────── */
.inbox { display: grid; }
.inbox-row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); transition: background .12s var(--ease); }
.inbox-row:last-child { border-bottom: 0; }
.inbox-row:hover { background: var(--surface-2); color: var(--text); }
.inbox-row .body { flex: 1; min-width: 0; }
.inbox-row .top { display: flex; align-items: center; gap: 8px; }
.inbox-row .top strong { font-size: 14.5px; }
.inbox-row .preview { color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.inbox-row.unread .preview { color: var(--text-2); font-weight: 500; }
.inbox-row .when { color: var(--faint); font-size: 12px; white-space: nowrap; }
.unread-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 0 3px var(--accent-soft); }

/* ─── Tabs ───────────────────────────────────────────────────────────────── */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.tabs a { padding: 7px 14px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.tabs a:hover { color: var(--text); }
.tabs a.is-active { background: var(--surface-3); color: var(--text); }

/* ─── Empty states ───────────────────────────────────────────────────────── */
.empty { padding: clamp(32px, 6vw, 56px) 20px; text-align: center; }
.empty .icon-tile { margin: 0 auto 14px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--muted); font-size: 14px; max-width: 420px; margin: 0 auto; }
.empty .btn { margin-top: 18px; }

/* ─── Listing page ───────────────────────────────────────────────────────── */
.crumbs { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.crumbs span { color: var(--faint); }
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 390px); gap: 20px; align-items: start; }
.listing-layout .side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
@media (max-width: 960px) { .listing-layout { grid-template-columns: 1fr; } .listing-layout .side { position: static; } }
.listing-hero { display: flex; gap: 18px; align-items: center; }
.listing-hero .game-mark { width: 64px; height: 64px; border-radius: 16px; font-size: 22px; }
.guarantee { display: grid; gap: 12px; }
.guarantee div { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); }
.guarantee svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.seller-card { display: flex; align-items: center; gap: 14px; }
.seller-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.seller-stats div { padding: 10px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); text-align: center; }
.seller-stats strong { display: block; font-size: 16px; }
.seller-stats span { color: var(--muted); font-size: 11.5px; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ─── Auth ───────────────────────────────────────────────────────────────── */
.auth-wrap { display: grid; place-items: center; padding: clamp(32px, 7vw, 80px) var(--pad); }
.auth-card { width: 100%; max-width: 440px; padding: clamp(24px, 4vw, 36px); }
.auth-card .logo { justify-content: center; width: 100%; margin-bottom: 20px; }
.auth-card h1 { font-size: 24px; text-align: center; }
.auth-card .sub { color: var(--muted); text-align: center; margin: 6px 0 24px; font-size: 14px; }
.auth-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.auth-foot a { color: var(--accent); font-weight: 600; }

/* ─── Admin ──────────────────────────────────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.admin-side { position: sticky; top: calc(var(--header-h) + 20px); }
.admin-nav { display: grid; gap: 2px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-2); font-size: 14px; font-weight: 500; }
.admin-nav a svg { width: 17px; height: 17px; color: var(--muted); }
.admin-nav a:hover { background: var(--surface); color: var(--text); }
.admin-nav a.is-active { background: var(--surface-2); color: var(--text); }
.admin-nav a.is-active svg { color: var(--accent); }
.admin-nav .count { margin-left: auto; box-shadow: none; }
.admin-nav .group { color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; padding: 16px 12px 6px; }
.admin-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-title p { color: var(--muted); margin-top: 4px; font-size: 14px; }
@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { position: static; }
  .admin-nav { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .admin-nav .group { display: none; }
  .admin-nav a { white-space: nowrap; }
}
.settings-group { margin-bottom: 20px; }
.settings-group .card-body { display: grid; gap: 16px; }

/* ─── Legal / prose ──────────────────────────────────────────────────────── */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 2px; }
.legal-nav a { padding: 9px 12px; border-radius: var(--radius-sm); color: var(--muted); font-size: 14px; }
.legal-nav a:hover { color: var(--text); background: var(--surface); }
.legal-nav a.is-active { color: var(--text); background: var(--surface-2); font-weight: 600; }
@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; }
  .legal-nav a { white-space: nowrap; }
}
.prose { max-width: 76ch; color: var(--text-2); font-size: 15.5px; line-height: 1.75; }
.prose h1 { color: var(--text); margin-bottom: 6px; }
.prose h2 { color: var(--text); font-size: 20px; margin: 40px 0 12px; padding-top: 8px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { color: var(--text); font-size: 16px; margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--faint); }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.prose .meta { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.prose .callout { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-2); border-left: 3px solid var(--accent); margin: 18px 0; font-size: 14.5px; }
.prose .toc { padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin-bottom: 28px; }
.prose .toc ol { margin: 8px 0 0; columns: 2; column-gap: 32px; font-size: 14px; }
@media (max-width: 600px) { .prose .toc ol { columns: 1; } }
.prose table { margin: 12px 0 18px; font-size: 14px; }
.prose table td, .prose table th { padding: 10px 12px; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.ftr { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); background: var(--bg-2); }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding: clamp(36px, 5vw, 56px) 0 32px; }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }
.ftr h4 { color: var(--text); margin-bottom: 14px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr ul a { color: var(--muted); font-size: 14px; }
.ftr ul a:hover { color: var(--text); }
.ftr-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 38ch; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.social { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 13px; font-weight: 500; }
.social:hover { border-color: var(--line-2); color: var(--text); }
.social svg { width: 15px; height: 15px; }
.ftr-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }

/* ─── Mobile header ──────────────────────────────────────────────────────── */
.mobile-menu { display: none; }
@media (max-width: 860px) {
  .hdr-search { display: none; }
  .nav-link .count { position: absolute; top: 3px; right: 0; box-shadow: 0 0 0 2px var(--bg); }
  .hdr-nav .nav-text { display: none; }
  .nav-link { padding: 0 10px; }
}
@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hdr-nav .desktop-only { display: none; }
  .mobile-menu { display: block; }
}

/* Honour reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Tables nested inside a card lose their own frame. */
.table-wrap.card-flat { border: 0; border-radius: 0 0 var(--radius) var(--radius); background: transparent; }
.table-wrap.card-flat th { background: transparent; }

/* ==========================================================================
   v2 — trust components and motion polish
   ========================================================================== */

/* ─── Page-to-page transitions (Chromium; others simply navigate) ────────── */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; animation-timing-function: var(--ease); }
.hdr { view-transition-name: site-header; }

/* ─── Depth: film grain behind content, hairline under the header ────────── */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .ftr, .bar { position: relative; z-index: 1; }
.hdr::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent-line) 30%, rgba(124, 180, 255, .25) 70%, transparent);
}

/* ─── Logo ───────────────────────────────────────────────────────────────── */
.logo-img { height: 34px; width: auto; max-width: 190px; object-fit: contain; display: block; }
.logo-mark { position: relative; overflow: hidden; }
.logo-mark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255, 255, 255, .35), transparent 55%); }

/* ─── Motion: hero glow, floating mock cards, button shine ───────────────── */
.hero::before { animation: aurora 16s ease-in-out infinite alternate; transform-origin: 30% 20%; }
@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(3%, 2%, 0) scale(1.08); }
  100% { transform: translate3d(-2%, -1%, 0) scale(1.03); }
}
.mock { animation: float 8s ease-in-out infinite; }
.mock + .mock { animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(130%); }

/* Gradient ring on interactive cards. */
.offer-card, .game { position: relative; }
.offer-card::before, .game::before, .feature::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, var(--accent-line), transparent 38%, transparent 62%, rgba(124, 180, 255, .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s var(--ease);
}
.offer-card:hover::before, .game:hover::before, .feature:hover::before { opacity: 1; }
.feature { position: relative; transition: transform .2s var(--ease), background .2s var(--ease); }
.feature:hover { transform: translateY(-3px); background: var(--surface-2); }
.game-mark { position: relative; overflow: hidden; }
.game-mark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255, 255, 255, .28), transparent 55%); }

/* Scroll reveal, driven by the scroll position itself (no JavaScript). */
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 20%; }
  @keyframes reveal { from { opacity: 0; transform: translateY(22px) scale(.985); } to { opacity: 1; transform: none; } }
}

/* ─── Ratings ────────────────────────────────────────────────────────────── */
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.rating .i { width: 13px; height: 13px; }
.rating small { color: var(--faint); font-weight: 500; font-size: 12px; }
.rating.mid { color: var(--warn); }
.rating.low { color: var(--danger); }
.rating.none { color: var(--faint); font-weight: 500; }
.meter { width: 100%; height: 6px; display: block; }
.meter .bg { fill: var(--danger-soft); }
.meter .fg { fill: var(--accent); }

/* Thumbs up / down picker built from radio buttons. */
.vote { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; }
/* Hidden but focusable. The 1px size stops the global input width rule from
   stretching them past the edge of the screen on phones. */
.vote input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.vote label {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 58px; margin: 0;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2);
  font-size: 15px; font-weight: 600; color: var(--text-2); cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease), transform .1s var(--ease);
}
.vote label:hover { border-color: #3a4459; color: var(--text); }
.vote label:active { transform: scale(.98); }
.vote label .i { width: 21px; height: 21px; }
.vote input:checked + label.up { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.vote input:checked + label.down { border-color: rgba(248, 113, 113, .6); background: var(--danger-soft); color: var(--danger); }
.vote input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.review { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.review:first-child { padding-top: 0; }
.review:last-child { border-bottom: 0; padding-bottom: 0; }
.review-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.review-icon .i { width: 18px; height: 18px; }
.review-icon.up { background: var(--accent-soft); color: var(--accent); }
.review-icon.down { background: var(--danger-soft); color: var(--danger); }
.review.is-hidden { opacity: .55; }

/* ─── Seller profile ─────────────────────────────────────────────────────── */
.profile { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.profile-cover {
  height: clamp(110px, 16vw, 170px); position: relative;
  background:
    radial-gradient(420px 180px at 15% 0%, var(--accent-soft), transparent 70%),
    radial-gradient(520px 220px at 90% 30%, rgba(124, 180, 255, .14), transparent 70%),
    linear-gradient(180deg, var(--surface-3), var(--surface));
}
.profile-cover::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}
.profile-head { display: flex; align-items: flex-end; gap: 18px; padding: 0 clamp(18px, 3vw, 28px) 22px; margin-top: -44px; position: relative; flex-wrap: wrap; }
.profile-head .avatar { width: 92px; height: 92px; font-size: 32px; border: 4px solid var(--surface); box-shadow: var(--shadow-pop); }
.profile-head h1 { display: flex; align-items: center; gap: 10px; }
.profile-head h1 .verified .i { width: 22px; height: 22px; }
.profile-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.profile-stats > div { padding: 16px clamp(16px, 2.4vw, 24px); border-right: 1px solid var(--line); }
.profile-stats > div:last-child { border-right: 0; }
.profile-stats strong { display: block; font-size: 20px; letter-spacing: -.02em; }
.profile-stats span { color: var(--muted); font-size: 12.5px; }
@media (max-width: 640px) {
  .profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-stats > div:nth-child(2) { border-right: 0; }
  .profile-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ─── Admin: users, uploads, colour ──────────────────────────────────────── */
.user-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.user-cell strong { display: flex; align-items: center; gap: 6px; }
.row-flag { box-shadow: inset 3px 0 0 var(--danger); }
.actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.action-card { padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); display: grid; gap: 10px; align-content: start; }
.action-card h4 { display: flex; align-items: center; gap: 8px; }
.action-card .i { width: 17px; height: 17px; }

.upload { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px dashed var(--line-2); border-radius: 14px; background: var(--bg-2); flex-wrap: wrap; }
.upload-preview {
  width: 72px; height: 72px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; overflow: hidden;
  background: repeating-conic-gradient(var(--surface-2) 0% 25%, var(--surface-3) 0% 50%) 50% / 14px 14px;
  border: 1px solid var(--line);
}
.upload-preview img { max-width: 88%; max-height: 88%; object-fit: contain; }
.upload .grow { min-width: 200px; }
.upload input[type="file"] { height: auto; padding: 9px; font-size: 13px; cursor: pointer; }
.upload input[type="file"]::file-selector-button {
  margin-right: 10px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-2);
  background: var(--surface-3); color: var(--text); font-weight: 600; cursor: pointer;
}
.color-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
input[type="color"] { width: 54px; height: 44px; padding: 4px; cursor: pointer; background: var(--bg-2); }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch { width: 28px; height: 28px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; padding: 0; transition: transform .12s var(--ease), border-color .12s var(--ease); }
.swatch:hover { transform: scale(1.1); border-color: var(--text); }
.sw-green { background: #4ade80; } .sw-emerald { background: #10b981; } .sw-cyan { background: #22d3ee; }
.sw-blue { background: #60a5fa; } .sw-violet { background: #a78bfa; } .sw-pink { background: #f472b6; }
.sw-orange { background: #fb923c; } .sw-gold { background: #facc15; } .sw-red { background: #f87171; }

/* ─── Footer wordmark ────────────────────────────────────────────────────── */
.ftr-mark {
  font-size: clamp(64px, 17vw, 220px); font-weight: 900; letter-spacing: -.07em; line-height: .78;
  text-align: center; user-select: none; pointer-events: none; overflow: hidden; padding-top: 8px;
  color: transparent; -webkit-text-stroke: 1px var(--line-2);
  background: linear-gradient(180deg, var(--surface-2), transparent 80%); -webkit-background-clip: text; background-clip: text;
}

/* Built-in logo: full wordmark, or just the mark on very narrow phones. */
.logo-wide { height: 35px; }
.logo-compact { display: none; height: 34px; }
.logo-text { margin-left: 2px; }
.auth-card .logo-wide { height: 40px; }
.ftr .logo-wide { height: 38px; }
@media (max-width: 359px) { .hdr .logo-wide { display: none; } .hdr .logo-compact { display: block; } }

/* ==========================================================================
   v3 — listing photos, phone tab bar, tables as cards on small screens
   ========================================================================== */

/* ─── Photos ─────────────────────────────────────────────────────────────── */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.photo-card { overflow: hidden; }
.photo-thumb { display: block; aspect-ratio: 4 / 3; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-card select { height: 34px; font-size: 13px; }

.gallery { overflow: hidden; }
.gallery-main { display: block; aspect-ratio: 16 / 10; background: var(--bg-2); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; border-top: 1px solid var(--line); }
.gallery-thumbs a { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.gallery-thumbs a:hover { border-color: var(--accent-line); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.offer-cover { margin: -18px -18px 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.offer-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.offer-card:hover .offer-cover img { transform: scale(1.04); }
.offer-cover-art { width: 100%; height: 100%; display: grid; place-items: center; position: relative; opacity: .9; }
.offer-cover-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .35)); }
.offer-cover-art span { font-size: 34px; font-weight: 900; letter-spacing: -.04em; color: rgba(255, 255, 255, .92); position: relative; z-index: 1; text-shadow: 0 4px 24px rgba(0, 0, 0, .35); }

.c-title { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.row-thumb { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-thumb .game-mark { width: 100%; height: 100%; border-radius: 0; }

.game-edit { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.game-edit input[name="name"] { flex: 1; min-width: 160px; }
.w-sort { width: 90px !important; flex: 0 0 90px; }

/* ─── Phone tab bar ──────────────────────────────────────────────────────── */
.tabbar { display: none; }
@media (max-width: 720px) {
  .tabbar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; view-transition-name: tabbar;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(10, 13, 19, .94); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-top: 1px solid var(--line);
  }
  .tabbar a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 50px; border-radius: 12px; font-size: 11px; font-weight: 600; color: var(--muted);
    -webkit-tap-highlight-color: transparent;
  }
  .tabbar a .i { width: 22px; height: 22px; }
  .tabbar a.is-active { color: var(--accent); }
  .tabbar a:active { background: var(--surface-2); }
  .tabbar .count { position: absolute; top: 3px; left: calc(50% + 5px); box-shadow: 0 0 0 2px var(--bg); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

  /* The tab bar carries navigation; the header keeps the logo and account menu. */
  .hdr-nav .nav-link { display: none; }
  .hdr-inner { height: 60px; }
  .dropdown-menu { position: fixed; top: 64px; right: 12px; left: auto; width: min(300px, calc(100vw - 24px)); }
  .ftr { margin-bottom: 0; }
}

/* ─── Tables become stacked cards on phones ──────────────────────────────── */
@media (max-width: 720px) {
  .table-cards thead { display: none; }
  .table-cards, .table-cards tbody, .table-cards tr, .table-cards td { display: block; width: 100%; }
  .table-cards tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .table-cards tr:last-child { border-bottom: 0; }
  .table-cards td { border: 0; padding: 5px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: right; }
  .table-cards td::before { content: attr(data-label); color: var(--muted); font-size: 12px; font-weight: 500; text-align: left; flex-shrink: 0; }
  .table-cards td:not([data-label])::before { content: none; }
  .table-cards td:not([data-label]) { justify-content: flex-end; }
  .table-cards td:first-child { justify-content: flex-start; text-align: left; }
  .table-cards td:first-child::before { content: none; }
  .table-cards .user-cell { justify-content: flex-start; }
}

/* ─── Tablet and phone fine-tuning ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { gap: 32px; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
}
@media (max-width: 720px) {
  .page { padding-top: 20px; }
  h1 { font-size: 24px; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 36px; }
  .order-head { margin-bottom: 16px; }
  .order-head h2 { font-size: 19px; }
  .stepper { gap: 5px; }
  .stepper li { font-size: 12px; }
  .chat { height: min(72vh, 620px); min-height: 420px; }
  .admin-title { margin-bottom: 16px; }
  .tabs { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs a { white-space: nowrap; }
  .between > form.row-nowrap { width: 100%; }
  .cta { text-align: left; }
  .card-pad { padding: 16px; }
  .offer-cover { margin: -18px -18px 0; }
  .ftr-grid { gap: 24px; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 32px; }
  .hero-search { flex-direction: column; padding: 8px; }
  .hero-search .btn { width: 100%; }
  .profile-head .avatar { width: 76px; height: 76px; font-size: 26px; }
  .vote label { height: 52px; font-size: 14px; }
}
/* Touch devices: no hover lift, bigger targets. */
@media (hover: none) {
  .offer-card:hover, .game:hover, .feature:hover { transform: none; }
  input, select, textarea { font-size: 16px; }   /* stops iOS zooming into fields */
}

/* Grid columns may shrink below their content, so wide tables and scrolling
   nav rows scroll inside their own box instead of widening the page. */
.admin-layout > *, .listing-layout > *, .order-layout > *, .legal-layout > * { min-width: 0; }
@media (max-width: 1000px) { .order-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 960px) { .listing-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .admin-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .legal-layout { grid-template-columns: minmax(0, 1fr); } }

/* ─── Game logos ─────────────────────────────────────────────────────────── */
.game-mark.has-icon { background: var(--surface-2); border: 1px solid var(--line); padding: 0; }
.game-mark.has-icon img { width: 100%; height: 100%; object-fit: cover; }
.game-mark.has-icon::after { content: none; }
.offer-cover-art.has-icon { background: radial-gradient(circle at 50% 40%, var(--surface-3), var(--bg-2)); }
.offer-cover-art.has-icon::after { background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .25)); }
.offer-cover-art.has-icon img { position: relative; z-index: 1; width: 38%; max-height: 70%; aspect-ratio: 1; object-fit: cover; border-radius: 22%; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7); }
.game-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.game-row .game-edit { flex: 1; min-width: 260px; }
.game-icon-edit { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; }
.game-icon-pick { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; margin: 0; }
.game-icon-pick:hover .game-mark { outline: 2px solid var(--accent-line); outline-offset: 2px; }

/* ─── Middleman (/mm) ────────────────────────────────────────────────────── */
.mm-mock-parties { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13px; color: var(--text-2); }
.mm-mock-parties > span:not(.mm-mock-line) { display: flex; align-items: center; gap: 8px; }
.mm-mock-line { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent-line), var(--accent), var(--accent-line)); }
.mm-tick { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.mm-tick .i { width: 12px; height: 12px; }
.mm-role input:checked + label.up { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.mm-terms-input { min-height: 150px; }
.delivery-box.mm-terms { font-family: inherit; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.mm-invite { user-select: all; }
.mm-parties { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.mm-party { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); }
.mm-party.is-empty { border-style: dashed; }
.mm-party.is-empty strong { color: var(--muted); font-weight: 500; }
.mm-party .chip { flex-shrink: 0; }
