/* Bazaar74 - one stylesheet for the whole site. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #080d19;
  --bg-2: #0a1120;
  --surface: #0e1629;
  --surface-2: #121c33;
  --surface-3: #17233e;
  --line: #1d2a45;
  --line-2: #293a5d;
  --text: #e9edf6;
  --text-2: #b3bdd2;
  --text-3: #8391ab;
  --gold: #f2b84b;
  --gold-2: #ffcb6b;
  --gold-3: #d6972a;
  --gold-ink: #1d1404;
  --gold-soft: rgba(242, 184, 75, .12);
  --gold-line: rgba(242, 184, 75, .35);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, .12);
  --green-line: rgba(52, 211, 153, .35);
  --red: #f87171;
  --red-soft: rgba(248, 113, 113, .12);
  --red-line: rgba(248, 113, 113, .38);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, .12);
  --amber-line: rgba(251, 191, 36, .38);
  --blue: #60a5fa;
  --blue-soft: rgba(96, 165, 250, .12);
  --blue-line: rgba(96, 165, 250, .38);
  --knight: #fb923c;
  --paladin: #facc15;
  --sorcerer: #c084fc;
  --druid: #4ade80;
  --novoc: #94a3b8;
  --radius: 16px;
  --radius-md: 12px;
  --radius-sm: 9px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .035) inset, 0 14px 34px -16px rgba(0, 0, 0, .7);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .8);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, Menlo, monospace;
  --container: 1200px;
  --header-h: 68px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

/* Components set display: flex/grid; the hidden attribute must still win. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { flex: 1; }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.02em; color: #fff; font-weight: 750; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); letter-spacing: -.03em; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
small, .small { font-size: .875rem; }
strong { color: #fff; font-weight: 650; }
code, .mono { font-family: var(--mono); font-size: .92em; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

::selection { background: rgba(242, 184, 75, .35); color: #fff; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--gold-ink); font-weight: 700;
}
.skip:focus { top: 12px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

.i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.i-lg { width: 1.5em; height: 1.5em; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(8, 13, 25, .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.22rem; letter-spacing: -.03em; }
.brand:hover { color: #fff; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand b { color: var(--gold); font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px; border-radius: 10px; color: var(--text-2); font-weight: 550; font-size: .95rem;
}
.main-nav a:hover { color: #fff; background: var(--surface-2); text-decoration: none; }
.main-nav a.is-active { color: #fff; background: var(--surface-2); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.balance-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--text); font-weight: 600; font-size: .9rem;
}
.balance-chip:hover { border-color: var(--gold-line); color: #fff; text-decoration: none; }
.balance-chip .i { color: var(--gold); }

.user-menu { position: relative; }
.user-menu > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 6px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--text-2); font-weight: 600; font-size: .9rem;
}
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu > summary:hover { color: #fff; border-color: var(--line-2); }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); color: var(--gold-ink); font-weight: 800; font-size: .8rem;
}
.user-menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 8px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
}
.user-menu-panel .who { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; font-size: .85rem; color: var(--text-3); overflow-wrap: anywhere; }
.user-menu-panel a, .user-menu-panel button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 8px;
  color: var(--text-2); font: inherit; font-size: .93rem; background: none; border: 0; cursor: pointer; text-align: left;
}
.user-menu-panel a:hover, .user-menu-panel button:hover { background: var(--surface-3); color: #fff; text-decoration: none; }
.user-menu-panel .count { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: var(--red-soft); color: var(--red); font-size: .75rem; font-weight: 700; }

/* Staff: what waits in the staff panel, with a count like a notification bell. */
.staff-bell > summary { position: relative; padding: 8px; }
.staff-bell .bell-count {
  position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: #dc2626; color: #fff; font-size: .7rem; font-weight: 800; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px var(--bg);
}
.toggle-dot { position: absolute; top: 7px; right: 7px; width: 10px; height: 10px; border-radius: 50%; background: #dc2626; box-shadow: 0 0 0 2px var(--bg); }

.nav-toggle {
  position: relative;
  display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 11px; border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--gold-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 8px 22px -10px rgba(242, 184, 75, .7);
}
.btn-primary:hover { color: var(--gold-ink); background: linear-gradient(180deg, #ffd585, var(--gold-2)); }

.btn-secondary { background: var(--surface-2); color: #fff; border-color: var(--line-2); }
.btn-secondary:hover { color: #fff; border-color: #3a4d75; background: var(--surface-3); }

.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: #fff; background: var(--surface-2); }

.btn-success { background: var(--green); color: #052e1f; }
.btn-success:hover { color: #052e1f; background: #4ee2a8; }

.btn-danger { background: transparent; color: var(--red); border-color: var(--red-line); }
.btn-danger:hover { color: #fff; background: var(--red-soft); }

.btn-sm { min-height: 36px; padding: 7px 14px; font-size: .88rem; border-radius: 9px; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1.02rem; border-radius: 13px; }
.btn-block { width: 100%; }

.link-button { background: none; border: 0; padding: 0; color: var(--gold-2); font: inherit; cursor: pointer; }
.link-button:hover { text-decoration: underline; }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--text-2); font-size: 1.08rem; margin: 0; }
.section-head.left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}

.lead { font-size: 1.12rem; color: var(--text-2); }
.muted { color: var(--text-3); }
.text-2 { color: var(--text-2); }
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-amber { color: var(--amber); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* ---------- Page head ---------- */

.page-head { padding: 44px 0 30px; border-bottom: 1px solid var(--line); background:
  radial-gradient(900px 260px at 15% -40%, rgba(242, 184, 75, .10), transparent 70%), var(--bg); }
.page-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .3em; }
.page-head p { color: var(--text-2); max-width: 760px; margin: 0; font-size: 1.05rem; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .86rem; color: var(--text-3); }
.breadcrumbs a { color: var(--text-3); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .i { width: 14px; height: 14px; }

/* ---------- Cards, badges, alerts ---------- */

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-body { padding: 24px; }
.card-head { padding: 18px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.05rem; letter-spacing: -.01em; }
.card-foot { padding: 16px 24px; border-top: 1px solid var(--line); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 650; line-height: 1.3; border: 1px solid var(--line-2); color: var(--text-2); background: var(--surface-2);
  white-space: nowrap;
}
.badge .i { width: 14px; height: 14px; }
.badge-verified { color: var(--green); background: var(--green-soft); border-color: var(--green-line); }
.badge-gold { color: var(--gold-2); background: var(--gold-soft); border-color: var(--gold-line); }
.badge-amber { color: var(--amber); background: var(--amber-soft); border-color: var(--amber-line); }
.badge-blue { color: var(--blue); background: var(--blue-soft); border-color: var(--blue-line); }
.badge-red { color: var(--red); background: var(--red-soft); border-color: var(--red-line); }
.badge-muted { color: var(--text-3); }

.voc { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--text-2); font-size: .9rem; }
.voc::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--voc, var(--novoc)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--voc, var(--novoc)) 22%, transparent); }
.voc-knight { --voc: var(--knight); }
.voc-paladin { --voc: var(--paladin); }
.voc-sorcerer { --voc: var(--sorcerer); }
.voc-druid { --voc: var(--druid); }
.voc-none { --voc: var(--novoc); }

.alert {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-md);
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text-2); font-size: .95rem;
}
.alert .i { margin-top: 3px; }
.alert p:last-child { margin-bottom: 0; }
.alert strong { color: inherit; }
.alert-info { border-color: var(--blue-line); background: var(--blue-soft); color: #cfe3ff; }
.alert-info .i { color: var(--blue); }
.alert-success { border-color: var(--green-line); background: var(--green-soft); color: #c9f5e3; }
.alert-success .i { color: var(--green); }
.alert-warning { border-color: var(--amber-line); background: var(--amber-soft); color: #fde9b5; }
.alert-warning .i { color: var(--amber); }
.alert-danger { border-color: var(--red-line); background: var(--red-soft); color: #fecaca; }
.alert-danger .i { color: var(--red); }

.flash-wrap { padding-top: 20px; }

/* ---------- Forms ---------- */

.form { display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label, .label { font-weight: 600; font-size: .92rem; color: #fff; }
.field .optional { color: var(--text-3); font-weight: 500; }
.hint { color: var(--text-3); font-size: .85rem; line-height: 1.5; }
.field-error, .validation-summary-errors, span.field-validation-error { color: var(--red); font-size: .86rem; }
.validation-summary-errors ul { margin: 0; padding-left: 1.1em; }
.validation-summary-valid { display: none; }

.input, select.input, textarea.input {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 11px;
  border: 1px solid var(--line-2); background: var(--bg-2); color: #fff;
  font: inherit; font-size: .98rem; transition: border-color .15s, box-shadow .15s, background .15s;
}
textarea.input { min-height: 96px; resize: vertical; line-height: 1.5; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238391ab' stroke-width='2' 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::placeholder { color: #5d6b86; }
.input:hover { border-color: #3a4d75; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242, 184, 75, .16); background: var(--surface); }
.input.input-validation-error, .input[aria-invalid="true"] { border-color: var(--red); }

.input-group { position: relative; display: flex; align-items: stretch; }
.input-group .prefix {
  display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--line-2); border-right: 0;
  border-radius: 11px 0 0 11px; background: var(--surface-2); color: var(--text-2); font-weight: 650;
}
.input-group .prefix + .input { border-radius: 0 11px 11px 0; }
.input-group .suffix-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px;
  border: 0; background: transparent; color: var(--text-3); cursor: pointer;
}
.input-group .suffix-btn:hover { color: #fff; background: var(--surface-3); }
.input-group .input.has-suffix { padding-right: 48px; }

.check { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: .94rem; cursor: pointer; }
.check input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--gold); flex: none; cursor: pointer; }
.check strong { color: #fff; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden; padding: 76px 0 84px;
  background:
    radial-gradient(1000px 520px at 85% -10%, rgba(242, 184, 75, .16), transparent 62%),
    radial-gradient(800px 480px at -10% 110%, rgba(52, 211, 153, .08), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(800px 420px at 70% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(800px 420px at 70% 20%, #000, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { background: linear-gradient(90deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.16rem; color: var(--text-2); max-width: 600px; margin-bottom: 30px; }
.hero-sub strong { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; color: var(--text-2); font-size: .93rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .i { color: var(--green); }

/* The escrow "deal" card in the hero. */
.deal {
  position: relative; padding: 22px; border-radius: 22px; background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
}
.deal::after {
  content: ""; position: absolute; inset: -1px; border-radius: 22px; pointer-events: none;
  background: linear-gradient(140deg, rgba(242, 184, 75, .45), transparent 35%, transparent 70%, rgba(52, 211, 153, .3)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); border: 1px solid transparent;
}
.deal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.deal-title { font-weight: 750; font-size: 1.1rem; color: #fff; }
.deal-sub { color: var(--text-3); font-size: .85rem; }
/* A miniature game screenshot: grass tiles on the left, the Skills window on the right. */
.deal-shot {
  display: grid; grid-template-columns: minmax(0, 1fr) 46%; height: 158px; margin-bottom: 16px;
  border-radius: 14px; border: 1px solid var(--line); overflow: hidden;
}
.deal-game {
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, transparent 40%, rgba(0, 0, 0, .45)),
    repeating-conic-gradient(#2d4b27 0 25%, #33552c 0 50%) 0 0 / 26px 26px;
}
.deal-game::after { content: ""; position: absolute; left: 14%; top: 22%; width: 46%; height: 12px; background: #6b6760; }
.deal-char { position: absolute; left: 50%; top: 52%; width: 16px; height: 22px; margin-left: -8px; border-radius: 5px 5px 3px 3px; background: #b43a2a; box-shadow: 0 -12px 0 -3px #e8b98a, 0 4px 6px rgba(0, 0, 0, .5); }
.deal-skills { background: #2b2b2b; border-left: 1px solid #454545; padding: 8px 12px; font-size: .74rem; color: #c8c8c8; line-height: 1.55; }
.deal-skills .ds-name { height: 12px; width: 62%; margin-bottom: 8px; border-radius: 2px; background: #000; }
.deal-skills .ds-title { color: #f0f0f0; font-weight: 700; border-bottom: 1px solid #454545; margin-bottom: 4px; }
.deal-skills .ds-row { display: flex; justify-content: space-between; gap: 8px; }
.deal-skills .ds-row b { color: #fff; font-weight: 600; }
.deal-price { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 16px; }
.deal-price .amount { font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.deal-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.deal-steps li { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--text-2); }
.deal-steps .dot { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); border: 1px solid var(--line-2); color: var(--text-3); }
.deal-steps .dot .i { width: 14px; height: 14px; }
.deal-steps .done .dot { background: var(--green-soft); border-color: var(--green-line); color: var(--green); }
.deal-steps .now .dot { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold); }
.deal-steps .done { color: var(--text); }
.deal-steps .now { color: #fff; font-weight: 600; }
.deal-steps .when { margin-left: auto; color: var(--text-3); font-size: .8rem; white-space: nowrap; }

/* ---------- Trust strip ---------- */

.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.trust-item { display: flex; gap: 14px; padding: 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); border: 1px solid var(--gold-line); }
.trust-item h3 { font-size: .98rem; margin: 2px 0 4px; }
.trust-item p { margin: 0; color: var(--text-3); font-size: .88rem; line-height: 1.5; }

/* ---------- Old way vs Bazaar74 ---------- */

.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.compare-col { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 26px; }
.compare-col.is-good { border-color: var(--gold-line); background: linear-gradient(180deg, rgba(242, 184, 75, .07), var(--surface) 40%); box-shadow: 0 30px 70px -40px rgba(242, 184, 75, .45); }
.compare-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 18px; }
.compare-col h3 .tag { margin-left: auto; }
.compare-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.compare-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: .96rem; }
.compare-list li strong { display: block; color: #fff; font-weight: 650; margin-bottom: 2px; }
.compare-list .mark { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.compare-list .mark .i { width: 14px; height: 14px; }
.is-bad .mark { background: var(--red-soft); color: var(--red); border: 1px solid var(--red-line); }
.is-good .mark { background: var(--green-soft); color: var(--green); border: 1px solid var(--green-line); }

/* ---------- Steps & timeline ---------- */

.how-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.how-card { padding: 28px; }
.how-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 20px; }
.how-card h3 .i { color: var(--gold); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 18px; }
.steps li { position: relative; padding-left: 46px; color: var(--text-2); font-size: .97rem; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 750; font-size: .85rem; color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold-line);
}
.steps li strong { display: block; color: #fff; margin-bottom: 2px; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 22px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--green)); opacity: .55; }
.tl-point { position: relative; text-align: center; padding: 0 6px; }
.tl-dot { position: relative; z-index: 1; width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--gold); color: var(--gold); font-weight: 800; font-size: .82rem; }
.tl-point:last-child .tl-dot { border-color: var(--green); color: var(--green); }
.tl-point h4 { margin: 0 0 4px; font-size: .98rem; }
.tl-point p { margin: 0; color: var(--text-3); font-size: .87rem; line-height: 1.5; }

/* ---------- Fee ---------- */

.fee { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.fee-figure { padding: 34px; text-align: center; }
.fee-figure .big { font-size: 4.2rem; font-weight: 850; letter-spacing: -.05em; line-height: 1; color: #fff; }
.fee-figure .big span { color: var(--gold); }
.fee-example { margin-top: 22px; text-align: left; }
.fee-example .line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line-2); color: var(--text-2); font-size: .95rem; }
.fee-example .line:last-child { border-bottom: 0; color: #fff; font-weight: 700; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--text-2); }
.ticks .i { color: var(--green); margin-top: 3px; }

/* ---------- FAQ ---------- */

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); transition: border-color .15s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-weight: 650; color: #fff; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--text-3); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(180deg); color: var(--gold); }
.faq .faq-body { padding: 0 20px 18px; color: var(--text-2); }
.faq .faq-body p:last-child, .faq .faq-body ul:last-child { margin-bottom: 0; }
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 1.3rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.faq-group h2 .i { color: var(--gold); }
.faq-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.faq-toc { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 4px; }
.faq-toc a { padding: 8px 12px; border-radius: 9px; color: var(--text-2); font-weight: 550; font-size: .93rem; }
.faq-toc a:hover { background: var(--surface-2); color: #fff; text-decoration: none; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 40px; border-radius: 22px; border: 1px solid var(--gold-line);
  background: radial-gradient(600px 240px at 90% 0%, rgba(242, 184, 75, .22), transparent 70%), var(--surface-2);
}
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--text-2); }

/* ---------- Listing cards ---------- */

.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.listing-card {
  display: flex; flex-direction: column; overflow: hidden; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.listing-card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow-lg); text-decoration: none; color: var(--text); }
.lc-media { position: relative; aspect-ratio: 16 / 10; background: #0b1324; border-bottom: 1px solid var(--line); overflow: hidden; }
.lc-media img { width: 100%; height: 100%; object-fit: contain; }
.lc-media .badge { position: absolute; top: 12px; left: 12px; background: rgba(8, 13, 25, .82); }
.lc-media .badge-sold { left: auto; right: 12px; color: var(--blue); border-color: var(--blue-line); }
.lc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lc-title { font-size: 1.06rem; font-weight: 720; color: #fff; letter-spacing: -.015em; margin: 0; }
.lc-note { color: var(--text-3); font-size: .87rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.lc-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
.lc-price { font-size: 1.28rem; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.lc-price small, .price small { font-size: .62em; font-weight: 650; color: var(--text-3); margin-left: 4px; letter-spacing: 0; }
.lc-age { color: var(--text-3); font-size: .8rem; }
.listing-card.is-sold { opacity: .78; }

.empty-state { text-align: center; padding: 64px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--surface); }
.empty-state .i { width: 40px; height: 40px; color: var(--text-3); margin: 0 auto 14px; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--text-3); max-width: 460px; margin: 0 auto 18px; }

/* ---------- Bazaar page ---------- */

.bazaar-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; padding: 36px 0 80px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); padding: 20px; }
.filters h2 { font-size: 1rem; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group > .label { display: block; margin-bottom: 10px; font-size: .85rem; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; }
.range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; color: var(--text-3); }
.range .input { min-height: 40px; padding: 8px 10px; font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text-2); font-size: .87rem; font-weight: 600;
}
.chip input:checked + span { border-color: var(--gold); color: #fff; background: var(--gold-soft); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.chip span:hover { color: #fff; }
.voc-links { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.voc-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 9px; color: var(--text-2); font-weight: 550; font-size: .93rem; }
.voc-links a:hover { background: var(--surface-2); color: #fff; text-decoration: none; }
.voc-links a.is-active { background: var(--gold-soft); color: #fff; }
.voc-links .count { color: var(--text-3); font-size: .8rem; font-weight: 600; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.results-head p { margin: 0; color: var(--text-3); }
.results-head .sort { display: flex; align-items: center; gap: 10px; }
.results-head .sort .input { min-height: 40px; padding-top: 8px; padding-bottom: 8px; width: auto; }
.filters-toggle { display: none; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-weight: 600; }
.pager a:hover { border-color: var(--line-2); color: #fff; text-decoration: none; }
.pager .is-current { background: var(--gold-soft); border-color: var(--gold-line); color: #fff; }

.seo-copy { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .93rem; max-width: 860px; }
.seo-copy h2 { font-size: 1.15rem; color: var(--text-2); }

/* ---------- Detail page ---------- */

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding: 32px 0 80px; }
.detail-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.shot { margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #0b1324; }
.shot a { display: block; cursor: zoom-in; }
.shot img { width: 100%; }
.shot figcaption { padding: 12px 16px; color: var(--text-3); font-size: .85rem; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.detail-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.detail-title h1 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.buy-box { position: sticky; top: calc(var(--header-h) + 20px); overflow: hidden; }
.buy-box .price { font-size: 2.4rem; font-weight: 850; letter-spacing: -.045em; color: #fff; line-height: 1.1; }
.buy-box .card-body { display: flex; flex-direction: column; gap: 16px; }
.protect { padding: 16px; border-radius: 12px; border: 1px solid var(--green-line); background: var(--green-soft); }
.protect h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .95rem; color: var(--green); }
.protect ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: .88rem; color: #c9f5e3; }
.protect li { display: flex; gap: 8px; }
.protect li .i { width: 15px; height: 15px; margin-top: 3px; flex: none; color: var(--green); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; font-size: .95rem; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; color: #fff; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.kv.left dd { text-align: left; }
.note-box { padding: 20px 22px; }
.note-box h2 { font-size: 1.05rem; }
.note-box p { margin: 0; color: var(--text-2); white-space: pre-line; }

/* ---------- Sell ---------- */

.sell-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; padding: 32px 0 80px; }
.sell-aside { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.promise { display: flex; gap: 14px; }
.promise .trust-icon { width: 38px; height: 38px; border-radius: 11px; }
.promise h3 { font-size: .95rem; margin: 2px 0 2px; }
.promise p { margin: 0; color: var(--text-3); font-size: .86rem; line-height: 1.5; }

.wizard-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.wizard-steps li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text-3); font-weight: 600; font-size: .9rem; }
.wizard-steps .num { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--text-3); font-size: .8rem; font-weight: 750; }
.wizard-steps li.is-current { border-color: var(--gold-line); color: #fff; background: var(--surface-2); }
.wizard-steps li.is-current .num { background: var(--gold); color: var(--gold-ink); }
.wizard-steps li.is-done { color: var(--text-2); }
.wizard-steps li.is-done .num { background: var(--green-soft); color: var(--green); }
.wizard-panel { border: 0; margin: 0; padding: 0; min-width: 0; }
.wizard-panel > legend { padding: 0; margin-bottom: 18px; font-size: 1.25rem; font-weight: 750; color: #fff; letter-spacing: -.02em; }
.js .wizard-panel[hidden] { display: none; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.payout-calc { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 11px; background: var(--green-soft); border: 1px solid var(--green-line); color: #c9f5e3; font-size: .92rem; }
.payout-calc b { color: #fff; font-size: 1.05rem; }

.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 210px; padding: 28px; border-radius: 14px; border: 2px dashed var(--line-2); background: var(--bg-2);
  color: var(--text-2); cursor: pointer; transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--gold); background: var(--gold-soft); }
.dropzone .i { width: 34px; height: 34px; color: var(--gold); }
.dropzone strong { font-size: 1.02rem; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.editor { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #050913; }
.editor-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.editor-tools .hint { margin-left: auto; }
.editor-stage { position: relative; display: flex; justify-content: center; padding: 10px; touch-action: none; }
.editor-stage canvas { max-height: 560px; width: auto; cursor: crosshair; border-radius: 6px; }
.tips { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--text-2); font-size: .9rem; }
.tips li { display: flex; gap: 10px; }
.tips .i { color: var(--gold); margin-top: 3px; flex: none; }

/* ---------- Account & admin ---------- */

.account-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; align-items: start; padding: 32px 0 80px; }
.side-nav { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 2px; padding: 10px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text-2); font-weight: 560; font-size: .94rem; }
.side-nav a:hover { background: var(--surface-2); color: #fff; text-decoration: none; }
.side-nav a.is-active { background: var(--gold-soft); color: #fff; }
.side-nav a.is-active .i { color: var(--gold); }
.side-nav .count { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: var(--red-soft); color: var(--red); font-size: .75rem; font-weight: 700; }
.side-nav .sep { height: 1px; background: var(--line); margin: 8px 6px; }
.content-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.content-head h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.content-head p { margin: 4px 0 0; color: var(--text-3); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.tile { padding: 18px 20px; }
.tile .label { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: .83rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.tile .value { margin-top: 6px; font-size: 1.7rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.15; }
.tile .sub { margin-top: 4px; color: var(--text-3); font-size: .85rem; }
a.tile { color: inherit; transition: border-color .15s, transform .15s; }
a.tile:hover { text-decoration: none; color: inherit; border-color: var(--line-2); transform: translateY(-2px); }
.tile.is-alert { border-color: var(--amber-line); }
.tile.is-alert .value { color: var(--amber); }
.tile.is-ok .value { color: var(--green); }
.tile.is-bad { border-color: var(--red-line); }
.tile.is-bad .value { color: var(--red); }

/* Support tickets (staff). Email text is shown as plain text, line breaks kept. */
.ticket-msg.is-in { border-left: 3px solid var(--blue-line); }
.ticket-msg.is-out { border-left: 3px solid var(--gold-line); background: linear-gradient(var(--gold-soft), var(--gold-soft)), var(--surface); }
.ticket-from { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; overflow-wrap: anywhere; }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-2); line-height: 1.6; }
.msg-quoted summary { cursor: pointer; color: var(--text-3); font-size: .86rem; }
.msg-quoted .msg-body { margin-top: 8px; padding-left: 12px; border-left: 2px solid var(--line-2); color: var(--text-3); font-size: .92rem; }
.attachments { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.attachments a { display: inline-flex; align-items: center; gap: 6px; overflow-wrap: anywhere; }
.ticket-preview { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.text-warn { color: var(--amber); font-weight: 650; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; padding: 12px 16px; color: var(--text-3); font-weight: 650; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: rgba(255, 255, 255, .015); }
.table td.num, .table th.num { text-align: right; white-space: nowrap; }
.table .title-cell { color: #fff; font-weight: 600; }
.table .thumb { width: 64px; height: 40px; border-radius: 7px; object-fit: cover; object-position: top left; border: 1px solid var(--line); }

.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; border: 1px solid; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pending { color: var(--amber); background: var(--amber-soft); border-color: var(--amber-line); }
.status-live { color: var(--green); background: var(--green-soft); border-color: var(--green-line); }
.status-sold { color: var(--blue); background: var(--blue-soft); border-color: var(--blue-line); }
.status-closed { color: var(--text-3); background: var(--surface-2); border-color: var(--line-2); }
.status-bad { color: var(--red); background: var(--red-soft); border-color: var(--red-line); }

.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cred { padding: 14px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); min-width: 0; }
.cred .label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); font-weight: 650; }
.cred .value-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.cred .value { font-family: var(--mono); font-size: 1.08rem; color: #fff; overflow-wrap: anywhere; }
.copy-btn { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text-2); cursor: pointer; }
.copy-btn:hover { color: #fff; border-color: var(--gold-line); }
.copy-btn.is-copied { color: var(--green); border-color: var(--green-line); }

.progress { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.progress li { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.progress li:last-child { padding-bottom: 0; }
.progress li::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--line-2); }
.progress li:last-child::before { display: none; }
.progress .p-dot { position: relative; z-index: 1; width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); border: 1px solid var(--line-2); color: var(--text-3); }
.progress .p-dot .i { width: 16px; height: 16px; }
.progress .p-body { padding-top: 4px; min-width: 0; }
.progress .p-body h4 { margin: 0 0 3px; color: var(--text-2); font-size: .98rem; }
.progress .p-body p { margin: 0; color: var(--text-3); font-size: .9rem; }
.progress li.is-done .p-dot { background: var(--green-soft); border-color: var(--green-line); color: var(--green); }
.progress li.is-done::before { background: var(--green-line); }
.progress li.is-done h4 { color: #fff; }
.progress li.is-now .p-dot { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 5px rgba(242, 184, 75, .1); }
.progress li.is-now h4 { color: #fff; }
.progress li.is-now p { color: var(--text-2); }
.progress li.is-bad .p-dot { background: var(--red-soft); border-color: var(--red-line); color: var(--red); }

.countdown-box { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--gold-line); background: var(--gold-soft); }
.countdown-box .i { width: 28px; height: 28px; color: var(--gold); }
.countdown-box .big { font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.countdown-box p { margin: 0; color: var(--text-2); font-size: .9rem; }

.admin-bar { display: flex; align-items: center; gap: 10px; padding: 8px 0; background: #1a1205; border-bottom: 1px solid var(--gold-line); color: var(--gold-2); font-size: .85rem; }
.inline-form { display: inline; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.form-row .field { flex: 1; min-width: 160px; }
.danger-zone { border-color: var(--red-line); }

.dev-banner { background: repeating-linear-gradient(135deg, #2a1f06 0 14px, #241a05 14px 28px); border-bottom: 1px solid var(--gold-line); color: var(--gold-2); font-size: .82rem; font-weight: 600; text-align: center; padding: 6px 12px; }

/* ---------- Footer ---------- */

.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; color: var(--text-3); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { color: var(--text-3); }
.footer-grid a:hover { color: #fff; }
.footer-about p { max-width: 380px; margin: 14px 0 0; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }

/* ---------- Prose (terms, privacy) ---------- */

.prose { color: var(--text-2); max-width: 780px; }
.prose h2 { font-size: 1.3rem; margin-top: 36px; }
.prose h3 { margin-top: 24px; }
.prose li { margin-bottom: 6px; }

/* ---------- Auth ---------- */

.auth-wrap { display: grid; place-items: center; padding: 56px 16px 80px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card .card-body { padding: 32px; }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-3); margin-bottom: 24px; }
.auth-foot { margin-top: 20px; text-align: center; color: var(--text-3); font-size: .93rem; }

.btn-google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.btn-google:hover { background: #f1f3f4; color: #1f1f1f; }
.btn-google .i { width: 20px; height: 20px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-3); font-size: .85rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Language switch ---------- */

.lang-flags { display: inline-flex; align-items: center; gap: 2px; }
.lang-flags a { display: inline-grid; place-items: center; padding: 7px; border-radius: 9px; opacity: .5; transition: opacity .15s, background .15s; }
.lang-flags a:hover { opacity: 1; background: var(--surface-2); }
.lang-flags a.is-current { opacity: 1; background: var(--surface-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
.flag { display: block; width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.footer-grid .flag { display: inline-block; width: 18px; height: 12px; margin-right: 6px; vertical-align: -1px; }

/* ---------- Guide (how it works) ---------- */

.guide { min-width: 0; }
.guide-intro { margin-bottom: 36px; font-size: 1.05rem; }
.guide-section { margin-bottom: 44px; }
.guide-section > h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.guide-section > h2 .i { color: var(--gold); }
.guide-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.guide-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.guide-steps .num { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 750; font-size: .88rem; color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold-line); }
.guide-steps h3 { font-size: 1.02rem; margin: 4px 0; }
.guide-steps p { margin: 0; color: var(--text-2); font-size: .95rem; }
.req-table td:first-child { color: #fff; font-weight: 600; width: 38%; }
.note { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text-2); font-size: .92rem; }
.note .i { color: var(--blue); margin-top: 3px; }
.card-body > h3 { display: flex; align-items: center; gap: 10px; }
.card-body > h3 .i { color: var(--gold); }
.chip span.is-on { border-color: var(--gold); color: #fff; background: var(--gold-soft); }

/* ---------- Sell: the recovery key and points question ---------- */

.requirement { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: var(--radius-md); border: 1px solid var(--gold-line); background: var(--gold-soft); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); cursor: pointer; font-weight: 600; font-size: .94rem; }
.choice input { accent-color: var(--gold); width: 18px; height: 18px; margin: 0; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--gold); background: var(--surface-2); }

/* ---------- Reviews ---------- */

.stars { display: inline-flex; gap: 2px; color: var(--line-2); }
.stars .i { width: 18px; height: 18px; }
.stars .i.on { color: var(--gold); }
.stars-avg { position: relative; display: inline-block; }
.stars-avg .stars-base, .stars-avg .stars-fill { display: flex; gap: 2px; white-space: nowrap; }
.stars-avg .stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--gold); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review-card { margin: 0; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-card blockquote { margin: 0; color: var(--text); font-size: .98rem; line-height: 1.6; overflow-wrap: anywhere; }
.review-card figcaption { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
.review-card figcaption strong { color: #fff; }
.rating-summary { display: flex; align-items: center; gap: 12px; }
.rating-summary .avg { font-size: 2.2rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; }
.review-subject { display: flex; gap: 18px; align-items: center; }
.review-subject img { width: 132px; border-radius: 10px; border: 1px solid var(--line); }
.star-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.star-field legend { padding: 0; margin-bottom: 8px; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; color: var(--line-2); transition: color .12s; }
.star-input label .i { width: 34px; height: 34px; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-visual { max-width: 560px; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .nav-toggle { display: inline-flex; }
  .main-nav, .header-actions { display: none; }
  .site-header.is-open { height: auto; }
  .site-header.is-open .header-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 16px; row-gap: 10px; }
  .site-header.is-open .main-nav { display: flex; order: 3; flex-direction: column; align-items: stretch; width: 100%; }
  .site-header.is-open .main-nav a { padding: 12px 14px; }
  .site-header.is-open .header-actions { display: flex; order: 4; width: 100%; margin: 0; flex-wrap: wrap; }
  .site-header.is-open .header-actions > * { flex: 1; }
  .site-header.is-open .header-actions > .lang-flags { flex: none; }
  .site-header.is-open .header-actions > .staff-bell { flex: none; }
  .user-menu-panel { left: 0; right: auto; }
  .bazaar-layout, .detail-grid, .sell-grid, .account-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; }
  .filters-toggle { display: inline-flex; }
  .buy-box, .sell-aside, .side-nav, .faq-toc { position: static; }
  .side-nav { flex-direction: row; overflow-x: auto; padding: 6px; }
  .side-nav a { white-space: nowrap; }
  .side-nav .sep { display: none; }
  .faq-toc { flex-direction: row; flex-wrap: wrap; }
  .compare, .how-grid, .fee { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .timeline::before { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 64px 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 56px; }
  .hero-ctas .btn { flex: 1; }
  .trust-strip { grid-template-columns: minmax(0, 1fr); }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .form-grid, .grid-2, .grid-3, .grid-4, .creds { grid-template-columns: minmax(0, 1fr); }
  .wizard-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wizard-steps li { flex-direction: column; text-align: center; padding: 10px 6px; gap: 6px; font-size: .78rem; }
  .card-body { padding: 18px; }
  .card-head { padding: 16px 18px; }
  .cta-band { padding: 28px 22px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deal-steps .when { display: none; }
  .table .hide-sm { display: none; }
  .auth-card .card-body { padding: 24px; }
  .guide-steps li { padding: 14px 16px; gap: 12px; }
  .review-subject { flex-direction: column; align-items: flex-start; }
  .rating-summary .avg { font-size: 1.8rem; }
}

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