/* Zenvy — dark digital marketplace theme. No external fonts or CDNs. */
:root {
  --bg: #0a0c11; --bg-2: #0e1118; --surface: #131722; --surface-2: #1a1f2d; --surface-3: #222839;
  --ink: #eef0f6; --ink-2: #c3c8d6; --muted: #8b92a5; --line: #262c3c; --line-2: #333b50;
  --accent: #9d85ff; --accent-2: #22d3ee; --accent-ink: #0a0c11; --accent-soft: rgb(157 133 255 / .14);
  --grad: linear-gradient(135deg, #8b6cff 0%, #5b8cff 50%, #22d3ee 100%);
  --sage: #22d3ee; --sage-soft: rgb(34 211 238 / .12);
  --ok: #4ade80; --ok-soft: rgb(74 222 128 / .12); --warn: #fbbf24; --warn-soft: rgb(251 191 36 / .12);
  --bad: #f87171; --bad-soft: rgb(248 113 113 / .12); --focus: #a5b4ff;
  --radius: 16px; --radius-sm: 10px; --shadow: 0 10px 40px rgb(0 0 0 / .35);
  --serif: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1240px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: radial-gradient(1200px 600px at 80% -10%, rgb(139 108 255 / .10), transparent 60%), var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, .h3, .h4, .brand-name, .footer-brand, .collection-name { font-family: var(--sans); font-weight: 750; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: .2em 0 .4em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 .6em; }
h3, .h3 { font-size: 1.25rem; margin: 0 0 .5em; }
.h4 { font-size: 1.05rem; margin: 1em 0 .4em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--bg); padding: .6rem 1rem; z-index: 100; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 760px; }
.section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--accent-2); font-weight: 700; margin: 0; font-family: var(--mono); }
.note { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: .7rem; }
.plain { list-style: none; padding: 0; margin: 0; } .plain li { margin: .45rem 0; }
.site-footer .plain li { display: flex; gap: .5rem; align-items: flex-start; }
mark.placeholder { background: rgb(251 191 36 / .18); color: #fcd34d; outline: 1px dashed rgb(251 191 36 / .5); padding: 0 .25em; border-radius: 3px; font-family: var(--sans); font-size: .9em; }
.icon { flex: none; vertical-align: middle; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Header */
.test-banner { background: repeating-linear-gradient(45deg, #2a2110, #2a2110 12px, #241c0d 12px, #241c0d 24px); color: var(--warn); text-align: center; font-size: .82rem; padding: .45rem 16px; font-family: var(--mono); }
.site-header { background: rgb(10 12 17 / .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; }
.brand-name { font-size: 1.25rem; letter-spacing: -.03em; }
.site-nav ul { list-style: none; display: flex; gap: 1.3rem; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--accent); }
.search { margin-left: auto; display: flex; align-items: center; background: var(--surface-2); border-radius: 999px; padding: 0 .3rem 0 .9rem; }
.search input { border: 0; background: transparent; padding: .5rem 0; width: 11rem; color: var(--ink); font: inherit; }
.search input:focus { outline: none; } .search:focus-within { outline: 3px solid var(--focus); }
.header-actions { display: flex; gap: .25rem; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; position: relative; text-decoration: none; }
.icon-btn:hover { background: var(--surface-2); }
.badge { position: absolute; top: 2px; right: 0; background: var(--accent); color: var(--accent-ink); font-size: .7rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; }
.nav-toggle { display: none; }
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 16px 1rem; }
  .site-nav a { display: block; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .search input { width: 7rem; }
}
@media (max-width: 520px) { .brand-name { display: none; } .search { flex: 1; } .search input { width: 100%; } }

/* Messages */
.messages { margin-top: 1rem; }
.msg { padding: .8rem 1rem; border-radius: var(--radius-sm); margin: .5rem 0; background: var(--surface-2); border-left: 4px solid var(--sage); }
.msg-success { background: var(--ok-soft); border-color: var(--ok); }
.msg-warning { background: var(--warn-soft); border-color: var(--warn); }
.msg-error { background: var(--bad-soft); border-color: var(--bad); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .75rem 1.3rem; border-radius: 12px; border: 0; background: var(--grad); color: #fff; font: 650 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; box-shadow: 0 6px 24px rgb(139 108 255 / .28); }
.btn:hover { filter: brightness(1.08); box-shadow: 0 8px 30px rgb(139 108 255 / .4); }
.btn:hover { transform: translateY(-1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-secondary { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-secondary:hover { background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost { background: transparent; color: var(--ink-2); box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }
.btn-ghost:hover { box-shadow: none; color: var(--ink); }
.btn-strong { background: var(--grad); }
.btn-danger { background: #b91c1c; color: #fff; box-shadow: none; }
.btn-small { padding: .45rem .9rem; font-size: .85rem; }
.btn-wide { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; font: inherit; cursor: pointer; }
.danger-link { color: var(--bad); }
form.inline { display: inline; }

/* Forms */
.field { margin: 0 0 1rem; }
.field label, legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  width: 100%; padding: .7rem .85rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--ink); font: inherit; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: 2px solid transparent; box-shadow: 0 0 0 3px rgb(31 95 191 / .25); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); }
.help { font-size: .85rem; color: var(--muted); margin: .3rem 0 0; }
.error { color: var(--bad); font-size: .88rem; font-weight: 600; margin: .3rem 0 0; }
.req { font-weight: 400; color: var(--muted); font-size: .85em; }
.check { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; accent-color: var(--accent); }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
fieldset ul, .field ul { list-style: none; padding: 0; margin: 0; } .field ul li label { font-weight: 400; display: flex; gap: .5rem; }
.field-row { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; }
.inline-field { display: flex; gap: .5rem; } .inline-field input { flex: 1; }
.radio-card { display: flex; gap: .7rem; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .6rem; cursor: pointer; background: var(--surface); }
.radio-card:has(input:checked) { border-color: var(--accent); }
.consent-box { background: var(--surface-2); padding: .9rem 1rem; border-radius: var(--radius-sm); }
.qty { width: 5rem !important; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; padding-top: 3rem; padding-bottom: 3rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.5rem 0; }
@media (max-width: 820px) { .hero-inner { grid-template-columns: 1fr; } .hero-art { max-width: 340px; margin: 0 auto; } }

/* Sections, grids, cards */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.category-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.category-tile { display: flex; flex-direction: column; gap: .2rem; padding: 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.category-tile:hover { border-color: var(--ink); }
.cat-name { font-size: 1.1rem; font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.4rem; }
@media (max-width: 520px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card-link { color: inherit; text-decoration: none; display: block; height: 100%; }
.card-media { position: relative; aspect-ratio: 3 / 2; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card-link:hover .card-media img { transform: scale(1.03); }
.card-body { padding: .9rem 1rem 1.1rem; }
.card-title { font-size: 1rem; font-weight: 650; margin: 0 0 .35rem; line-height: 1.3; }
.card-meta { margin: 0; font-size: .8rem; color: var(--muted); }
.card-price { margin: .4rem 0 0; font-weight: 600; }
.tag { position: absolute; top: .7rem; right: .7rem; background: rgb(10 12 17 / .8); color: var(--ink); font-size: .72rem; font-weight: 650; padding: .25rem .6rem; border-radius: 999px; backdrop-filter: blur(6px); }
.tag-muted { color: var(--muted); }
.collections { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.collection-banner { display: flex; flex-direction: column; gap: .4rem; padding: 2rem 1.6rem; border-radius: var(--radius); text-decoration: none; color: var(--ink); min-height: 220px; justify-content: flex-end; }
.collection-name { font-size: 1.7rem; }
.tone-clay { background: var(--accent-soft); } .tone-sage { background: var(--sage-soft); } .tone-sand { background: var(--surface-2); }
.link-arrow { display: inline-flex; gap: .3rem; align-items: center; font-weight: 600; color: var(--accent); margin-top: .4rem; }
.empty { text-align: center; padding: 2.5rem 1rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.empty.big { padding: 4rem 1rem; } .empty h2 { color: var(--ink); }
.support-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; border-top: 1px solid var(--line); }
.support-item { display: flex; gap: .9rem; } .support-item svg { color: var(--sage); margin-top: .2rem; } .support-item p { margin: 0; color: var(--ink-2); font-size: .93rem; }

/* Listing */
.page-head { padding-top: 2rem; }
.breadcrumbs { font-size: .85rem; color: var(--muted); } .breadcrumbs a { color: var(--muted); }
.listing { display: grid; grid-template-columns: 230px 1fr; gap: 2rem; padding-bottom: 3rem; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; align-self: start; position: sticky; top: 90px; }
@media (max-width: 820px) { .listing { grid-template-columns: 1fr; } .filters { position: static; } }
.pagination { display: flex; gap: 1rem; justify-content: center; align-items: center; margin: 2rem 0; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; margin: 1rem 0 2rem; }
.pdp-media { display: grid; gap: 1rem; } .pdp-media figure { margin: 0; } .pdp-media img { border-radius: var(--radius); background: var(--surface-2); }
.pdp-info { align-self: start; position: sticky; top: 90px; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 1.5rem; } .pdp-info { position: static; } }
.pdp-price { font-size: 1.6rem; font-weight: 600; margin: .8rem 0 .2rem; }
.price-ref { color: var(--muted); font-size: .7em; font-weight: 400; }
.price-now { color: var(--accent-2); }
.stock { font-weight: 600; color: var(--sage); }
.buy-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; margin: 1.2rem 0; }
.buy-row { display: flex; gap: .7rem; } .buy-row .btn { flex: 1; }
.variant-picker { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.variant-picker legend { width: 100%; }
.variant-option input { position: absolute; opacity: 0; }
.variant-option span { display: inline-block; padding: .5rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .9rem; }
.variant-option input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.variant-option input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.pdp-details details { border-top: 1px solid var(--line); padding: .8rem 0; }
.pdp-details summary { cursor: pointer; font-weight: 600; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1.2rem; margin: .7rem 0; } .specs dt { color: var(--muted); }
.reviews { list-style: none; padding: 0; } .review { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.stars span { color: var(--line); } .stars .on { color: var(--accent); }
.verified { color: var(--ok); font-weight: 600; }
.review-form summary { list-style: none; display: inline-flex; margin: 1rem 0; } .review-form summary::-webkit-details-marker { display: none; }

/* Cart & checkout */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; padding-bottom: 3rem; align-items: start; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 90px; }
@media (max-width: 900px) { .summary { position: static; } }
.totals { margin: 1rem 0; } .totals > div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.totals dt { color: var(--ink-2); } .totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals .grand { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .7rem; font-size: 1.15rem; font-weight: 700; } .totals .grand dt { color: var(--ink); }
.totals .vat, .totals .vat-row { font-size: .82rem; color: var(--muted); } .totals .discount dd { color: var(--ok); }
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.cart-table th { text-align: left; font-size: .8rem; color: var(--muted); font-weight: 600; padding: .5rem; border-bottom: 1px solid var(--line); }
.cart-table td { padding: .9rem .5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-product { display: flex; gap: .8rem; align-items: center; } .cart-product img { border-radius: var(--radius-sm); }
@media (max-width: 640px) {
  .cart-table thead { display: none; } .cart-table tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); padding: .6rem 0; }
  .cart-table td { border: 0; padding: .2rem 0; } .cart-table td[data-label="Product"] { grid-column: 1 / -1; }
  .cart-table td[data-label]:not([data-label="Product"])::before { content: attr(data-label) ": "; color: var(--muted); font-size: .8rem; }
}
.line-items { list-style: none; padding: 0; margin: 0; }
.line { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.line img { border-radius: var(--radius-sm); } .line-info { flex: 1; display: flex; flex-direction: column; } .line-total { font-weight: 600; }
.steps { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: .5rem 0 1.5rem; font-size: .9rem; color: var(--muted); }
.steps [aria-current] { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--accent); }
.steps a { color: inherit; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; margin-bottom: 1.2rem; }
.panel.attention { border-color: var(--warn); background: var(--warn-soft); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin: 0; } .kv dt { color: var(--muted); } .kv dd { margin: 0; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: .5rem; } }
.status-hero { display: flex; align-items: center; gap: 1rem; } .status-hero h1 { margin: 0; }
.status-hero.ok svg { color: var(--ok); } .status-hero.bad svg { color: var(--bad); }
.status-pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.pill { display: inline-block; font-size: .78rem; font-weight: 600; padding: .2rem .65rem; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.pill-paid { background: var(--ok-soft); color: var(--ok); } .pill-failed, .pill-expired { background: var(--bad-soft); color: var(--bad); }
.pill-pending, .pill-processing, .pill-refund_pending { background: var(--warn-soft); color: var(--warn); }
.timeline { list-style: none; padding: 0; margin: 0; font-size: .9rem; } .timeline li { padding: .35rem 0; border-left: 2px solid var(--line); padding-left: .8rem; }
.timeline time { color: var(--muted); margin-right: .5rem; font-variant-numeric: tabular-nums; }

/* Tables */
.data { width: 100%; border-collapse: collapse; font-size: .92rem; margin: .5rem 0 1rem; }
.data th, .data td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data th { font-size: .8rem; color: var(--muted); font-weight: 600; } .data .num { text-align: right; font-variant-numeric: tabular-nums; }
.data tfoot th { color: var(--ink-2); text-align: right; } .data .grand { font-weight: 700; }
.panel, .staff-main, .legal .prose { overflow-x: auto; }

/* Legal & prose */
.prose { max-width: 72ch; } .prose h2 { margin-top: 1.8rem; font-size: 1.35rem; } .prose li { margin: .3rem 0; }
.review-flag { background: var(--warn-soft); border-left: 4px solid var(--warn); padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 1.5rem; }
.model-form { border: 1px solid var(--line); padding: 1rem 1.3rem; border-radius: var(--radius-sm); background: var(--surface); }

/* Account & staff */
.account-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.account-nav a { color: var(--ink-2); text-decoration: none; } .account-nav a[aria-current] { color: var(--ink); font-weight: 700; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.2rem; align-items: start; }
.address-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.staff-layout { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; padding-top: 1.5rem; padding-bottom: 3rem; }
.staff-nav { display: flex; flex-direction: column; gap: .15rem; position: sticky; top: 90px; align-self: start; }
.staff-nav a { color: var(--ink-2); text-decoration: none; padding: .45rem .7rem; border-radius: var(--radius-sm); }
.staff-nav a:hover { background: var(--surface-2); color: var(--ink); }
@media (max-width: 820px) { .staff-layout { grid-template-columns: 1fr; } .staff-nav { flex-direction: row; flex-wrap: wrap; position: static; } }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.2rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; display: flex; flex-direction: column; }
.stat-label { font-size: .8rem; color: var(--muted); } .stat-value { font-size: 1.6rem; font-weight: 750; letter-spacing: -.02em; }
.filter-bar { display: flex; gap: .7rem; flex-wrap: wrap; align-items: flex-end; margin-bottom: 1rem; }
.filter-bar label { font-size: .85rem; } .filter-bar input, .filter-bar select { width: auto; }
.variant-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .6rem; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.thumb-list { list-style: none; padding: 0; display: flex; gap: 1rem; flex-wrap: wrap; } .thumb-list img { border-radius: var(--radius-sm); }

/* Footer & cookie banner */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); margin-top: 4rem; padding-top: 3rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-size: 1.3rem; margin: 0; } .footer-title { font-weight: 700; margin: 0 0 .5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; } .site-footer li { margin: .35rem 0; } .site-footer nav a { color: var(--ink-2); }
.newsletter label { font-weight: 600; display: block; margin: 1rem 0 .3rem; } .newsletter .check { font-size: .8rem; margin-top: .5rem; color: var(--muted); }
.footer-base { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; padding-bottom: 1.5rem; color: var(--muted); font-size: .82rem; }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgb(0 0 0 / .1); z-index: 50; padding: 1rem 0; }
.cookie-inner { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-inner h2 { font-size: 1.1rem; margin: 0 0 .2rem; } .cookie-inner p { margin: 0; max-width: 70ch; font-size: .9rem; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* Invoice / print */
.invoice-head { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
@media print { .no-print, .site-header, .site-footer, .test-banner { display: none; } body { background: #fff; color: #000; } }
.invoice-page { background: #fff; color: #111; --ink: #111; --ink-2: #333; --muted: #555; --line: #ddd; --surface: #fff; }

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

/* Header search sits inside its own pill: undo the generic input styling. */
.site-header .search input:not([type=checkbox]) { border: 0; background: transparent; padding: .5rem 0; box-shadow: none; }

/* Two-factor authentication */
.steps-list { padding-left: 1.2rem; } .steps-list > li { margin-bottom: 1.5rem; }
.qr { background: #fff; padding: 12px; border-radius: var(--radius-sm); width: 232px; margin: .8rem 0; }
.qr svg { width: 208px; height: 208px; display: block; }
.secret code { font-size: 1.05rem; letter-spacing: .05em; word-break: break-all; }
.backup-codes { list-style: none; padding: 1rem; margin: 1rem 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.backup-codes code { font-size: 1.1rem; letter-spacing: .08em; }

/* ---- Marketplace components ---- */
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); pointer-events: none; }
.hero-inner { position: relative; padding-top: 4rem; padding-bottom: 4rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-search { display: flex; gap: .5rem; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: .4rem; max-width: 560px; margin: 1.4rem 0 1rem; box-shadow: var(--shadow); }
.hero-search input:not([type=checkbox]) { border: 0; background: transparent; font-size: 1.05rem; }
.hero-search input:focus { box-shadow: none; }
.hero-search:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--ink-2); font-size: .88rem; margin-top: 1rem; }
.trust-row span { display: inline-flex; gap: .4rem; align-items: center; } .trust-row svg { color: var(--accent-2); }
.hero-art img { filter: drop-shadow(0 30px 60px rgb(139 108 255 / .25)); }
.category-tile { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.category-tile::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: var(--grad); opacity: .12; filter: blur(10px); transition: opacity .2s; }
.category-tile:hover { border-color: var(--accent); } .category-tile:hover::after { opacity: .3; }
.category-tile .icon { color: var(--accent-2); margin-bottom: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .5rem; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.chip-accent { background: var(--accent-soft); color: #c8bcff; border-color: rgb(139 108 255 / .3); }
.chip-ok { background: var(--ok-soft); color: var(--ok); border-color: rgb(74 222 128 / .25); }
.chip-warn { background: var(--warn-soft); color: var(--warn); border-color: rgb(251 191 36 / .25); }
.card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-top: .6rem; }
.card-price { font-size: 1.15rem; font-weight: 750; margin: 0; }
.card-price s { color: var(--muted); font-weight: 400; font-size: .8rem; margin-left: .3rem; }
.stock-dot { font-size: .75rem; color: var(--muted); display: inline-flex; align-items: center; gap: .3rem; }
.stock-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.stock-dot.out::before { background: var(--bad); box-shadow: none; }
.steps-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; counter-reset: step; list-style: none; padding: 0; }
.steps-flow li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; position: relative; }
.steps-flow li::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: .8rem; color: var(--accent-2); display: block; margin-bottom: .5rem; }
.steps-flow h3 { font-size: 1.05rem; margin-bottom: .3rem; } .steps-flow p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: 1rem 0; }
.info-grid div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .85rem; }
.info-grid dt { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-family: var(--mono); }
.info-grid dd { margin: .15rem 0 0; font-weight: 600; font-size: .92rem; }
@media (max-width: 520px) { .info-grid { grid-template-columns: 1fr; } }
.code-box { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: .7rem .9rem; margin: .4rem 0; }
.code-box code { font-family: var(--mono); font-size: 1.1rem; letter-spacing: .08em; color: var(--accent-2); user-select: all; word-break: break-all; }
.code-masked { font-family: var(--mono); color: var(--muted); letter-spacing: .2em; }
.delivery-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: .8rem; background: var(--bg-2); }
.delivery-card h3 { font-size: 1rem; margin: 0 0 .4rem; }
.notice { display: flex; gap: .7rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.notice svg { color: var(--accent-2); flex: none; margin-top: .15rem; }
.compliance-list { list-style: none; padding: 0; } .compliance-list li { padding: .3rem 0; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .5s ease both; } .hero-copy > *:nth-child(2) { animation-delay: .05s; } .hero-copy > *:nth-child(3) { animation-delay: .1s; } .hero-copy > *:nth-child(4) { animation-delay: .15s; }

.filters summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); }
.filters details[open] summary::after { content: "–"; }
.filters summary h2 { margin: 0; }
.filters details[open] summary { margin-bottom: .8rem; }

/* ---- Zenvy marketplace: games, offers, sellers ---- */
.sell-link { padding: .45rem .9rem; margin-right: .2rem; }
@media (max-width: 520px) { .sell-link { display: none; } }
.game-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .9rem; }
.game-tile { --game: var(--accent); position: relative; display: flex; flex-direction: column; gap: .25rem; padding: 1rem; min-height: 150px; justify-content: flex-end; border-radius: var(--radius); text-decoration: none; color: var(--ink); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, color-mix(in srgb, var(--game) 32%, var(--surface)) 0%, var(--surface) 70%); transition: transform .2s ease, border-color .2s ease; }
.game-tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--game) 60%, var(--line)); }
.game-initials { position: absolute; top: .7rem; left: .8rem; font-weight: 900; font-size: 2.2rem; letter-spacing: -.05em; color: color-mix(in srgb, var(--game) 75%, #fff); opacity: .9; line-height: 1; }
.game-initials.big { position: static; font-size: 3.4rem; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 22px; background: color-mix(in srgb, var(--game) 25%, var(--surface)); border: 1px solid color-mix(in srgb, var(--game) 50%, var(--line)); flex: none; }
.game-name { font-weight: 750; font-size: 1.02rem; line-height: 1.2; }
.game-hero { --game: var(--accent); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--game) 18%, transparent), transparent); padding: 1.5rem 0 2rem; }
.game-hero-inner { display: flex; gap: 1.2rem; align-items: center; margin-top: 1rem; } .game-hero h1 { margin: 0 0 .2rem; }
.games-search { max-width: 420px; margin-top: 1rem; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: .8rem; margin-bottom: 1rem; }
.tabs a { padding: .45rem .9rem; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: .9rem; background: var(--surface); border: 1px solid var(--line); }
.tabs a[aria-current] { background: var(--accent-soft); color: var(--ink); border-color: var(--accent); }
.offer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.offer { display: grid; grid-template-columns: 1fr 170px 170px 130px auto; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; transition: border-color .15s; }
.offer:hover { border-color: var(--line-2); }
.offer-main { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: .4rem; } .offer-title { font-weight: 650; }
.offer-main .chips { margin: 0; }
.offer-price { display: flex; flex-direction: column; align-items: flex-end; gap: .1rem; } .offer-price strong { font-size: 1.15rem; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr auto; } .offer-seller, .offer-delivery { grid-column: 1; } .offer-price { grid-column: 2; grid-row: 1; } .offer .btn { grid-column: 2; } }
.card-game { margin: 0 0 .15rem; font-size: .75rem; color: var(--accent-2); font-weight: 650; text-transform: uppercase; letter-spacing: .06em; }
.card-seller { margin: 0; color: var(--muted); display: flex; gap: .3rem; align-items: center; }
.verified-dot { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--ok); color: #06210f; font-size: .65rem; font-weight: 900; }
.seller-box { display: flex; gap: .9rem; align-items: flex-start; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; margin: 1rem 0; }
.seller-avatar { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--grad); color: #fff; flex: none; text-transform: uppercase; }
.sell-banner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 2rem; border-radius: var(--radius); border: 1px solid rgb(139 108 255 / .35); background: radial-gradient(600px 200px at 0% 0%, rgb(139 108 255 / .22), transparent), radial-gradient(500px 200px at 100% 100%, rgb(34 211 238 / .15), transparent), var(--surface); }
.sell-banner h2 { margin: .3rem 0; }
.step-list { list-style: none; padding: 0; counter-reset: s; display: grid; gap: .7rem; }
.step-list li { display: flex; gap: .9rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.step-list .num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--surface-3); flex: none; }
.step-list .done .num { background: var(--ok); color: #06210f; } .step-list .current { border-color: var(--accent); }
.step-list .step-body { flex: 1; } .step-list h3 { margin: 0; font-size: 1rem; } .step-list p { margin: .1rem 0 0; font-size: .88rem; color: var(--muted); }
.perk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.perk { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; } .perk svg { color: var(--accent-2); } .perk h3 { font-size: 1.02rem; margin: .5rem 0 .3rem; } .perk p { margin: 0; color: var(--ink-2); font-size: .92rem; }

@media (max-width: 920px) and (min-width: 521px) { .brand-name { display: none; } }

.site-nav a { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 921px) { .site-nav li:nth-child(n+4) { display: none; } }

/* =========================================================================
   Polish pass (Zenvy) — forms, header, messages, footer, auth
   ========================================================================= */
/* Forms */
.field label, legend { font-weight: 600; font-size: .86rem; color: var(--ink-2); letter-spacing: .01em; }
.req-dot { color: var(--accent); }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  min-height: 46px; padding: .7rem .9rem; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
textarea { min-height: 0; line-height: 1.5; }
input:not([type=checkbox]):not([type=radio]):hover, select:hover, textarea:hover { border-color: #3d4660; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgb(139 108 255 / .18); background: #0f131c; }
input::placeholder, textarea::placeholder { color: #5d667c; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238b92a5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95rem center; }
.has-error input, .has-error select, .has-error textarea, input[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 4px rgb(248 113 113 / .12); }
.error { font-weight: 550; display: flex; gap: .35rem; align-items: center; }
.error::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--bad); color: #1a0606; font-size: .7rem; font-weight: 900; flex: none; }
.check input { width: 1.2rem; height: 1.2rem; accent-color: var(--accent); }
.field-check { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: .75rem .9rem; }
.btn { min-height: 44px; }
.btn-lg { min-height: 52px; font-size: 1rem; border-radius: 14px; }
.btn-small { min-height: 34px; }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.btn:active { transform: translateY(0) scale(.99); }

/* Header */
.site-nav a { padding: .4rem .7rem; border-radius: 10px; color: var(--ink-2); transition: background .15s, color .15s; }
.site-nav a:hover { background: var(--surface-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); }
.site-nav ul { gap: .2rem; }
.header-inner { min-height: 64px; }
.brand-name { font-weight: 800; }

/* Messages → toasts */
.messages { position: relative; z-index: 5; }
.msg { display: flex; gap: .7rem; align-items: flex-start; border: 1px solid var(--line); border-left-width: 4px; background: var(--surface); box-shadow: var(--shadow); animation: rise .3s ease both; }
.msg::before { content: "i"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-3); font-weight: 800; font-size: .75rem; flex: none; margin-top: .1rem; }
.msg-success { border-color: rgb(74 222 128 / .35); border-left-color: var(--ok); background: linear-gradient(90deg, var(--ok-soft), var(--surface) 60%); } .msg-success::before { content: "✓"; background: var(--ok); color: #06210f; }
.msg-warning { border-color: rgb(251 191 36 / .3); border-left-color: var(--warn); background: linear-gradient(90deg, var(--warn-soft), var(--surface) 60%); } .msg-warning::before { content: "!"; background: var(--warn); color: #241a02; }
.msg-error { border-color: rgb(248 113 113 / .35); border-left-color: var(--bad); background: linear-gradient(90deg, var(--bad-soft), var(--surface) 60%); } .msg-error::before { content: "!"; background: var(--bad); color: #1a0606; }

/* Sections & cards */
.section-head h2 { position: relative; padding-left: .85rem; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: var(--grad); }
.card-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgb(10 12 17 / .55), transparent); pointer-events: none; }
.card-price { font-size: 1.2rem; }
.panel { border-radius: 18px; background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 85%, var(--bg))); }
.empty { border-style: solid; background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.empty svg { color: var(--accent); opacity: .85; }
.data th { text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.data tbody tr:hover td { background: rgb(255 255 255 / .02); }

/* Footer */
.site-footer { background: linear-gradient(180deg, var(--bg-2), #07090d); }
.footer-brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; }
.footer-title { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--muted); font-family: var(--mono); }
.site-footer nav a { text-decoration: none; } .site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.newsletter .inline-field input { min-height: 42px; }

/* Auth pages */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); min-height: calc(100vh - 140px); max-width: 1100px; margin: 2.5rem auto; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 80px rgb(0 0 0 / .45); }
.auth-aside { position: relative; padding: 3rem; background: radial-gradient(500px 300px at 10% 0%, rgb(139 108 255 / .35), transparent), radial-gradient(400px 300px at 100% 100%, rgb(34 211 238 / .22), transparent), #0d1018; border-right: 1px solid var(--line); display: flex; align-items: flex-end; }
.auth-aside::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.auth-aside-inner { position: relative; }
.auth-aside-title { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 1.2rem 0 1.4rem; max-width: 20ch; }
.auth-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; color: var(--ink-2); }
.auth-points li { display: flex; gap: .6rem; align-items: center; } .auth-points svg { color: var(--accent-2); }
.auth-card { padding: 3rem clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.auth-card h1 { font-size: clamp(1.8rem, 3vw, 2.2rem); margin: .3rem 0 .5rem; }
.auth-form { margin-top: 1.4rem; display: grid; gap: .2rem; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; margin: .3rem 0 1rem; }
.auth-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid rgb(139 108 255 / .35); margin-bottom: .6rem; }
.code-input input:not([type=checkbox]) { font-family: var(--mono); font-size: 2rem; font-weight: 700; letter-spacing: .6em; text-align: center; padding-left: .6em; min-height: 72px; border-radius: 16px; background: #0b0e15; }
.code-input input::placeholder { color: #384055; letter-spacing: .6em; }
.dev-box { margin: 1rem 0 0; padding: .9rem 1rem; border-radius: 12px; border: 1px dashed rgb(251 191 36 / .5); background: var(--warn-soft); color: #fde68a; font-size: .9rem; }
.dev-box code { font-family: var(--mono); font-size: 1.15rem; letter-spacing: .2em; color: #fff; background: rgb(0 0 0 / .35); padding: .1rem .45rem; border-radius: 6px; }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; margin: 1rem 16px; min-height: 0; } .auth-aside { display: none; } .auth-card { padding: 2rem 1.3rem; } }

/* Account head */
.page-head h1 { margin-bottom: .4rem; }
.account-nav { gap: .3rem; border-bottom: 0; padding: .35rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; width: fit-content; max-width: 100%; }
.account-nav a, .account-nav .link { padding: .45rem .8rem; border-radius: 10px; text-decoration: none; }
.account-nav a[aria-current] { background: var(--accent-soft); }
.account-nav form { margin: 0; }

/* Coming-soon landing (COMING_SOON) */
.soon-page { min-height: 100vh; background: radial-gradient(700px 420px at 15% -5%, rgb(139 108 255 / .28), transparent), radial-gradient(600px 400px at 100% 100%, rgb(34 211 238 / .16), transparent), var(--bg); }
.soon { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 16px; }
.soon-card { width: 100%; max-width: 640px; }
.soon-brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.25rem; margin: 0 0 2.2rem; }
.soon h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -.035em; margin: .4rem 0 1rem; }
.soon-lead { color: var(--ink-2); font-size: 1.08rem; line-height: 1.6; margin: 0 0 1.8rem; }
.soon-form { display: grid; gap: .8rem; margin-bottom: 2.4rem; }
.soon-form .inline-field input { flex: 1; min-width: 0; }
.soon .messages { margin: 0 0 1rem; padding: 0; }
.soon-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.soon-points li { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm); padding: .9rem 1rem; display: grid; gap: .25rem; }
.soon-points span { color: var(--muted); font-size: .9rem; }
.soon-footer { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-top: 3rem; }
.soon-footer a { color: var(--muted); }
@media (max-width: 640px) { .soon-points { grid-template-columns: 1fr; } .soon-form .inline-field { flex-direction: column; } .soon-form .btn { width: 100%; } }
