/* ============ LLoot brand system ============ */
:root {
  color-scheme: dark;
  /* Layout: dark plum ground; colour is carried by one violet-to-pink gradient */
  --bg: #0e0a1a;
  --bg-2: #130d23;
  --surface: #1a1330;
  --surface-2: #241a41;
  --line: #33285a;
  --text: #f5f1ff;
  --body: #d4cce8;
  --muted: #9b91b8;
  --violet: #8b5cf6;
  --magenta: #d946ef;
  --pink: #ec4899;
  --accent: #f472b6;
  --on-accent: #ffffff;
  --grad: linear-gradient(120deg, var(--violet) 0%, var(--magenta) 52%, var(--pink) 100%);
  --red: #ff5c7a;
  --blue: #60a5fa;
  --green: #34d399;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .4);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
body { overflow-x: clip; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.02em; margin: 0 0 .5em; line-height: 1.15; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.small { font-size: 13px; }
.hidden { display: none !important; }

/* ---- Top bar ---- */
.promo { background: var(--grad); color: var(--on-accent); font-weight: 600; font-size: 13px; text-align: center; padding: 7px 12px; }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(10, 13, 22, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { display: inline-flex; align-items: baseline; gap: 0; line-height: 1; font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: -.02em; }
.subnav { border-top: 1px solid var(--line); }
.logo-svg { display: block; height: 1.3em; width: auto; overflow: visible; color: var(--text); }
.logo-svg text { font-family: var(--display); font-weight: 700; }
.nav-cats { display: flex; gap: 4px; height: 44px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav-cats a { white-space: nowrap; padding: 6px 11px; border-radius: 9px; color: var(--muted); font-weight: 500; font-size: 14px; }
.nav-cats a:hover, .nav-cats a.active { color: var(--text); background: var(--surface); }
.nav-search { flex: 1; position: relative; }
.nav-search input { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px 9px 36px; outline: none; }
.nav-search input:focus { border-color: var(--accent); }
.nav-search::before { content: "⌕"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; }
.search-results { position: absolute; top: 46px; left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 380px; overflow: auto; padding: 6px; }
.search-results a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; }
.search-results a:hover { background: var(--surface-2); }
.nav-right { display: flex; align-items: center; gap: 8px; }
select.pill, .pill { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; font-size: 13px; cursor: pointer; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); padding: 10px 16px; border-radius: 10px; font-weight: 600; cursor: pointer; transition: transform .08s, background .15s; white-space: nowrap; }
.btn:hover { background: var(--surface-2); }
.btn:focus-visible, a:focus-visible, .field:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: var(--on-accent); border-color: transparent; box-shadow: 0 6px 20px rgba(217, 70, 239, .28); }
.btn-primary:hover { background: var(--grad); filter: brightness(1.1); }
.btn-ghost { background: transparent; }
.btn-lg { padding: 14px 22px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-danger { color: var(--red); border-color: rgba(255, 92, 122, .4); }

/* ---- Hero ---- */
.hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 700px; height: 700px; background: radial-gradient(circle, rgba(139, 92, 246, .35), transparent 60%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -200px; bottom: -300px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(236, 72, 153, .22), transparent 60%); pointer-events: none; }
.hero-grid > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; font-size: 13px; color: var(--muted); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px var(--pink); }
.hero h1 { font-size: clamp(36px, 5.2vw, 64px); margin: 18px 0 14px; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .strike { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red); font-weight: 500; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.hero-search { display: flex; gap: 8px; margin: 26px 0 16px; max-width: 560px; }
.hero-search input { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; outline: none; font-size: 16px; }
.hero-search input:focus { border-color: var(--accent); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); cursor: pointer; }
.tag:hover { color: var(--text); border-color: var(--muted); }

.fee-card { background: linear-gradient(160deg, var(--surface-2), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent; border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.fee-card h3 { font-size: 18px; }
.fee-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.fee-row:last-child { border: 0; }
.fee-big { font-family: var(--display); font-size: 28px; font-weight: 700; }
.range { width: 100%; accent-color: var(--accent); margin: 8px 0 14px; }
.fee-row > div:first-child { flex: 1; min-width: 0; margin-right: 12px; }
.bar { max-width: 220px; height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin: 6px 0 2px; }
.bar > span { display: block; height: 100%; border-radius: 99px; }

/* ---- Sections ---- */
section.block { padding: 36px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 18px; gap: 12px; }
.section-head h2 { font-size: 26px; margin: 0; }
.grid { display: grid; gap: 14px; }
.g-6 { grid-template-columns: repeat(6, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2 { grid-template-columns: repeat(2, 1fr); }

.cat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: border-color .15s, transform .15s; display: block; }
.cat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-card .ico { font-size: 26px; }
.cat-card h3 { font-size: 17px; margin: 10px 0 4px; }
.cat-card .fee-badge { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--accent); }

.game-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, transform .15s; display: block; }
.game-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.game-art { aspect-ratio: 16 / 10; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 34px; color: rgba(255, 255, 255, .92); text-shadow: 0 2px 12px rgba(0, 0, 0, .4); position: relative; }
.game-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 12px); }
.game-card .gbody { padding: 12px 14px; }
.game-card .gname { font-weight: 600; }
.game-card .gcats { font-size: 12px; color: var(--muted); }
.gicon { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 13px; flex: none; }

.steps .step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step-n { width: 30px; height: 30px; border-radius: 8px; background: var(--grad); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.trust { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.trust .ico { font-size: 24px; }
.trust h4 { margin: 0 0 4px; font-size: 16px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat b { display: block; font-family: var(--display); font-size: 28px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }

.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stars { color: var(--accent); letter-spacing: 2px; }

/* ---- Listing page ---- */
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 6px; }
.crumbs a:hover { color: var(--text); }
.game-head { display: flex; align-items: center; gap: 16px; padding: 10px 0 18px; }
.game-head .gicon { width: 64px; height: 64px; font-size: 20px; border-radius: 14px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.active { color: var(--text); border-color: var(--accent); }
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 20px; align-items: start; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 126px; }
.filters h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 8px; }
.filters h4:first-child { margin-top: 0; }
.field { width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; outline: none; }
.field:focus { border-color: var(--accent); }
textarea.field { min-height: 120px; resize: vertical; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; cursor: pointer; }
.check input { accent-color: var(--accent); width: 16px; height: 16px; }
.toolbar > div { flex-wrap: wrap; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; flex-wrap: wrap; }

.offer { display: grid; grid-template-columns: 1fr 190px 150px 130px; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; transition: border-color .15s; }
.offer:hover { border-color: #4a3b7d; }
.offer.mine { border-color: rgba(236, 72, 153, .5); }
.offer-title { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.chip { font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.chip.accent { background: rgba(236, 72, 153, .12); color: var(--accent); }
.seller { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; position: relative; flex: none; }
.avatar.online::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); border: 2px solid var(--surface); }
.lvl { font-size: 11px; font-weight: 700; }
.price { font-family: var(--display); font-size: 20px; font-weight: 700; }
.price small { font-size: 12px; font-weight: 500; color: var(--muted); font-family: var(--font); }
.empty { text-align: center; padding: 50px 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* ---- Offer detail ---- */
.detail { display: grid; grid-template-columns: 1fr 380px; gap: 22px; align-items: start; padding-bottom: 40px; }
.panel { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.panel h3 { font-size: 17px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 14px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.buybox { position: sticky; top: 126px; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 38px; height: 38px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; font-size: 18px; }
.qty input { width: 90px; text-align: center; }
.line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.line.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 18px; font-weight: 700; }
.guard { display: flex; gap: 10px; align-items: flex-start; background: rgba(236, 72, 153, .07); border: 1px solid rgba(236, 72, 153, .25); border-radius: 12px; padding: 12px; font-size: 13px; margin-top: 14px; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.pay { border: 1px solid var(--line); border-radius: 10px; padding: 10px; cursor: pointer; font-size: 13px; background: var(--bg-2); }
.pay.active { border-color: var(--accent); background: rgba(236, 72, 153, .06); }

/* ---- Sell wizard ---- */
.wizard-steps { display: flex; gap: 8px; margin: 10px 0 22px; }
.wstep { flex: 1; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.wstep.active { border-color: var(--accent); color: var(--text); }
.wstep.done { color: var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label.lbl { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.pick { cursor: pointer; }
.pick.active { border-color: var(--accent); }

/* ---- Order ---- */
.timeline { display: flex; gap: 0; margin: 14px 0; }
.tl { flex: 1; text-align: center; font-size: 12px; color: var(--muted); position: relative; }
.tl::before { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line); margin: 0 auto 6px; position: relative; z-index: 1; }
.tl::after { content: ""; position: absolute; top: 7px; left: 50%; width: 100%; height: 2px; background: var(--line); }
.tl:last-child::after { display: none; }
.tl.done { color: var(--text); }
.tl.done::before { background: var(--pink); border-color: var(--pink); }
.tl.done::after { background: var(--grad); }
.chat { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; height: 260px; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 75%; padding: 8px 12px; border-radius: 12px; font-size: 14px; background: var(--surface-2); }
.msg.me { align-self: flex-end; background: rgba(236, 72, 153, .14); }
.msg.sys { align-self: center; background: transparent; color: var(--muted); font-size: 12px; }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.st-paid { background: rgba(79, 179, 255, .15); color: var(--blue); }
.st-delivered { background: rgba(139, 92, 246, .18); color: #c4b5fd; }
.st-completed { background: rgba(236, 72, 153, .15); color: var(--accent); }
.st-disputed { background: rgba(255, 92, 122, .15); color: var(--red); }
.st-refunded { background: rgba(139, 147, 167, .15); color: var(--muted); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tbl th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 10px; border-bottom: 1px solid var(--line); }
table.tbl td { padding: 12px 10px; border-bottom: 1px solid var(--line); }
table.tbl tr:last-child td { border: 0; }

/* ---- Docs (rules / fees) ---- */
.doc { max-width: 860px; padding-bottom: 50px; }
.doc h2 { margin-top: 34px; font-size: 24px; }
.doc h3 { margin-top: 22px; font-size: 18px; }
.doc p, .doc li { color: var(--body); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.callout { background: var(--surface); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; padding: 14px 16px; margin: 16px 0; }

/* ---- Modal & toast ---- */
.modal-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); display: grid; place-items: center; z-index: 100; padding: 16px; }
.modal { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; width: 100%; max-width: 460px; padding: 24px; box-shadow: var(--shadow); max-height: 90vh; overflow: auto; }
.toast { position: fixed; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); background: var(--grad); color: var(--on-accent); font-weight: 700; padding: 12px 18px; border-radius: 12px; z-index: 200; box-shadow: var(--shadow); }

footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 40px 0 30px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
footer h4 { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
footer a { display: block; padding: 3px 0; color: var(--body); font-size: 14px; }
footer a:hover { color: var(--accent); }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .g-6 { grid-template-columns: repeat(3, 1fr); }
  .offer { grid-template-columns: 1fr 160px 120px; }
  .offer .delivery { display: none; }
}
@media (max-width: 860px) {
  .hero-grid, .detail, .listing { grid-template-columns: 1fr; }
  .filters, .buybox { position: static; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3, .g-2, .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-right .hide-sm { display: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .g-6 { grid-template-columns: repeat(2, 1fr); }
  .offer { grid-template-columns: 1fr; }
  .nav-search { display: none; }
  .kv { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* ---- Live app additions ---- */
[hidden] { display: none !important; }
button.cat-card { width: 100%; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.toast-bad { background: var(--red); }
.danger { color: var(--red); }
.loading { padding: 80px 0; text-align: center; color: var(--muted); }
.rowlink { cursor: pointer; }
.rowlink:hover td { background: var(--surface-2); }
.selectable { user-select: all; }
.paybox { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 12px 0; }
.addr { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.addr code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; user-select: all; }
.stars-pick { display: flex; gap: 4px; }
.stars-pick button { background: none; border: 0; font-size: 28px; color: var(--line); cursor: pointer; padding: 0 2px; }
.stars-pick button.on { color: var(--accent); }
.st-awaiting_payment, .st-requested, .st-paused { background: rgba(155, 145, 184, .15); color: var(--muted); }
.st-cancelled, .st-rejected { background: rgba(255, 92, 122, .12); color: var(--red); }
.st-active, .st-sent { background: rgba(52, 211, 153, .14); color: var(--green); }
#authBtn { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.ticket-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ticket-row:last-child { border-bottom: 0; }
.ticket-row:hover b, .ticket-row:hover > span:first-child { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-open { background: rgba(96, 165, 250, .15); color: var(--blue); }
.st-answered { background: rgba(52, 211, 153, .14); color: var(--green); }
.st-closed { background: rgba(155, 145, 184, .15); color: var(--muted); }
.pay-note { margin-top: 18px; font-size: 14px; color: var(--body); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; max-width: 560px; }
.seo-block { margin: 36px 0 10px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 860px; }
.seo-block h2 { font-size: 22px; }
.seo-block h3 { font-size: 16px; margin-top: 22px; }
.seo-block p { color: var(--body); }
.faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 8px 0 0; }
.alert-bad { background: rgba(255, 92, 122, .12); border: 1px solid rgba(255, 92, 122, .45); color: var(--text); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.check-email { text-align: left; }
.check-email .check-icon { font-size: 40px; margin-bottom: 6px; }
.check-email ul { padding-left: 18px; color: var(--body); }
.check-email li { margin: 6px 0; }

/* ================= Mobile ================= */
.show-sm { display: none !important; }
.promo-short { display: none; }
.icon-btn { width: 44px; height: 44px; padding: 0; font-size: 20px; }
.drawer { border-top: 1px solid var(--line); background: var(--bg-2); max-height: calc(100vh - 120px); overflow-y: auto; }
.drawer-inner { display: grid; gap: 16px; padding-block: 16px 20px; }
.drawer-search { display: flex; gap: 8px; }
.drawer-search input { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.drawer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer-links a { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-weight: 600; font-size: 14px; }
.drawer-prefs { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; }
.drawer-prefs .lbl { margin: 0; }
.mobile-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: rgba(14, 10, 26, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.mobile-buybar .price { font-size: 18px; }

@media (max-width: 860px) {
  .show-sm { display: inline-flex !important; }
  .mobile-buybar.show-sm { display: flex !important; }
  #fToggle { margin-bottom: 4px; }
  .filters { display: none; }
  .filters.open { display: block; }
  .detail.order-detail > aside { order: -1; }
  .detail.order-detail { display: flex; flex-direction: column; }
  body:has(.mobile-buybar) footer { padding-bottom: 90px; }
}
@media (max-width: 600px) {
  .promo-long { display: none; }
  .promo-short { display: inline; }
  .promo { font-size: 12px; padding: 6px 12px; }
  .nav { height: 58px; gap: 10px; }
  .logo { font-size: 22px; }
  #authBtn { padding: 9px 12px; max-width: 140px; }
  input, select, textarea, .field { font-size: 16px; }   /* stops iPhone zooming into fields */
  .hero { padding: 32px 0 24px; }
  .hero h1 { font-size: 34px; }
  .hero p.lead { font-size: 16px; }
  .game-head { gap: 12px; }
  .game-head .gicon { width: 48px; height: 48px; font-size: 15px; }
  .game-head h1 { font-size: 26px; }
  h1 { font-size: 26px; }
  .section-head { flex-wrap: wrap; }
  .section-head h2 { font-size: 22px; }
  .toolbar > div { width: 100%; }
  .toolbar .pill { flex: 1; }
  .offer { gap: 10px; padding: 14px; }
  .offer > div:last-child { text-align: left !important; display: flex; align-items: baseline; gap: 8px; }
  .modal-bg { align-items: end; padding: 0; }
  .modal { max-width: none; border-radius: 18px 18px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom, 0px)); max-height: 92vh; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px; }
  .stat b { font-size: 22px; }
  .panel { padding: 16px; }
  .chat { height: 320px; }
  .wizard-steps { gap: 6px; }
  .wstep { padding: 8px; font-size: 12px; }
  .timeline .tl { font-size: 11px; }
  /* tables become cards */
  table.tbl, table.tbl tbody, table.tbl tr, table.tbl td { display: block; width: 100%; }
  table.tbl tr:first-child { display: none; }
  table.tbl tr { border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; margin-bottom: 10px; background: var(--bg-2); }
  table.tbl td { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); text-align: right; }
  table.tbl tr td:last-child { border-bottom: 0; }
  table.tbl td::before { content: attr(data-label); color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; text-align: left; flex: none; }
  table.tbl td[data-label=""]::before, table.tbl td:not([data-label])::before { content: none; }
  table.tbl td:not([data-label]) { justify-content: flex-start; flex-wrap: wrap; }
  .foot-grid { gap: 18px; }
}
.nav-right { margin-left: auto; }
