/* Aukcje — dark premium theme */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/static/fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/static/fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #070a12;
  --bg-2: #0b1020;
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .06);
  --panel-solid: #0f1424;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef1f8;
  --muted: #8a93a8;
  --dim: #5d6579;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --grad: linear-gradient(135deg, #7c5cff 0%, #4f8bff 50%, #22d3ee 100%);
  --good: #34d399; --mid: #fbbf24; --bad: #f87171;
  --olx: #23e5db; --allegro_lokalnie: #ff6a1a; --ebay: #4f7bff;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--text); background: var(--bg);
  font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
body::before { /* ambient glow + faint grid */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(124, 92, 255, .20), transparent 60%),
    radial-gradient(800px 600px at 100% 110%, rgba(34, 211, 238, .12), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg);
  mask-image: linear-gradient(to bottom, #000 0%, #000 60%, rgba(0, 0, 0, .6));
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 750; }
h2 { font-size: 18px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 650; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* icons */
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.ic.sm { width: 15px; height: 15px; vertical-align: -2px; }
.ic.lg { width: 22px; height: 22px; }

/* shell */
.shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 22px 16px;
  border-right: 1px solid var(--line); background: rgba(7, 10, 18, .6); backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; padding: 4px 10px 22px; font-weight: 750; font-size: 17px; letter-spacing: -.01em; }
.brand small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--grad);
  box-shadow: 0 8px 24px -6px rgba(124, 92, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.logo-mark .ic { color: #fff; width: 21px; height: 21px; }
.nav-label { padding: 18px 12px 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.nav a, .nav button {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 12px; border-radius: 10px; color: var(--muted);
  font: inherit; font-weight: 550; background: none; border: 0; cursor: pointer; text-align: left; transition: background .15s, color .15s;
}
.nav a:hover, .nav button:hover { background: var(--panel-2); color: var(--text); }
.nav a.on { background: linear-gradient(90deg, rgba(124, 92, 255, .22), rgba(124, 92, 255, .04)); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
.nav a.on .ic { color: #a996ff; }
.nav .count { margin-left: auto; font-size: 12px; color: var(--muted); }
.nav-cats { overflow-y: auto; min-height: 0; flex: 1; }
.dot { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.sidebar-foot { padding-top: 12px; border-top: 1px solid var(--line); }

.main { min-width: 0; padding: 30px clamp(16px, 4vw, 44px) 80px; }
.page-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head .grow { flex: 1 1 280px; min-width: 0; }
.page-head p { margin-top: 6px; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #a996ff; margin-bottom: 8px; }

/* panels */
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card.glow::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(124, 92, 255, .55), transparent 40%, transparent 60%, rgba(34, 211, 238, .4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-head p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.icon-tile { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, rgba(124, 92, 255, .35), rgba(34, 211, 238, .18)); border: 1px solid var(--line-2); }
.section { margin-top: 34px; }
.section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section-head .more { margin-left: auto; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { display: flex; gap: 14px; align-items: center; padding: 18px; }
.stat .num { font-size: 26px; font-weight: 750; letter-spacing: -.02em; line-height: 1.1; }
.stat .lbl { color: var(--muted); font-size: 13px; }

/* forms */
label { display: block; font-size: 13px; font-weight: 550; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.input-wrap { position: relative; }
.input-wrap .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--dim); pointer-events: none; }
.input-wrap input { padding-left: 38px; }
input, textarea, select {
  width: 100%; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .28);
  color: var(--text); font: inherit; font-size: 14.5px; transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, textarea:focus, select:focus { outline: none; border-color: rgba(124, 92, 255, .8); box-shadow: 0 0 0 4px rgba(124, 92, 255, .18); }
textarea { min-height: 84px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: end; }
.form-grid .wide { grid-column: 1 / -1; }
.search-form { margin-top: 18px; grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr) 110px auto; }
.snipe-form { grid-template-columns: minmax(0, 3fr) 170px 170px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 46px; padding: 6px 8px; border-radius: 11px; cursor: text;
  border: 1px solid var(--line-2); background: rgba(0, 0, 0, .28); transition: border-color .15s, box-shadow .15s; }
.chips:focus-within { border-color: rgba(124, 92, 255, .8); box-shadow: 0 0 0 4px rgba(124, 92, 255, .18); }
.chips[data-kind=include] { --c: var(--accent-2); }
.chips[data-kind=exclude] { --c: var(--bad); }
.chips .chips-entry { flex: 1; min-width: 160px; width: auto; padding: 5px 4px; border: 0; background: none; box-shadow: none; }
.kw { display: inline-flex; align-items: center; gap: 2px; padding: 3px 3px 3px 10px; border-radius: 8px; font-size: 13px; font-weight: 600;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.kw button { width: 22px; height: 22px; display: grid; place-items: center; border: 0; border-radius: 6px; padding: 0; cursor: pointer;
  background: none; color: inherit; font: inherit; font-size: 16px; line-height: 1; opacity: .7; }
.kw button:hover, .kw button:focus-visible { opacity: 1; background: color-mix(in srgb, var(--c) 25%, transparent); outline: none; }
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 11px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; color: #fff; background: var(--grad);
  box-shadow: 0 10px 24px -10px rgba(124, 92, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .12s, filter .15s, background .15s;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.ghost { background: var(--panel-2); border-color: var(--line-2); box-shadow: none; color: var(--text); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.btn.danger { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .3); color: var(--bad); box-shadow: none; }
.btn.sm { padding: 7px 11px; font-size: 13px; border-radius: 9px; }
.btn.block { width: 100%; padding: 13px; }
.icon-btn { width: 36px; height: 36px; padding: 0; }
form.inline { display: inline; }

.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; color: var(--text); font-size: 14px; font-weight: 500; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 42px; height: 24px; flex: none; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid var(--line-2); position: relative; transition: background .2s; }
.switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.switch input:checked + .track { background: var(--grad); border-color: transparent; }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { box-shadow: 0 0 0 4px rgba(124, 92, 255, .3); }
.switch small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }

/* chips & badges */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.site { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  color: var(--c); background: color-mix(in srgb, var(--c) 14%, rgba(7, 10, 18, .85)); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.site::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.site-olx { --c: var(--olx); } .site-allegro_lokalnie { --c: var(--allegro_lokalnie); } .site-ebay { --c: var(--ebay); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  color: var(--c, var(--muted)); background: color-mix(in srgb, var(--c, #8a93a8) 13%, transparent); }
.st-ok { --c: var(--good); } .st-wait { --c: #a996ff; } .st-bad { --c: var(--bad); } .st-warn { --c: var(--mid); }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.cat-card { display: flex; flex-direction: column; gap: 14px; transition: transform .15s, border-color .15s; }
.cat-card:hover { transform: translateY(-2px); border-color: var(--line-2); }
.cat-top { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; font-weight: 750; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, hsl(var(--h) 85% 62%), hsl(calc(var(--h) + 50) 85% 50%));
  box-shadow: 0 10px 24px -10px hsl(var(--h) 85% 55%), inset 0 1px 0 rgba(255, 255, 255, .3); }
.avatar.xl { width: 58px; height: 58px; border-radius: 17px; font-size: 24px; }
.cat-card .crit { color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.cat-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.cat-foot .go { margin-left: auto; color: var(--muted); }
.new-pill { display: inline-flex; align-items: baseline; gap: 5px; font-weight: 700; }
.new-pill b { font-size: 22px; letter-spacing: -.02em; }
.add-card { border-style: dashed; background: transparent; box-shadow: none; }

/* offers */
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.offer { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform .15s, border-color .15s; }
.offer:hover { transform: translateY(-3px); border-color: var(--line-2); }
.offer .media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #141a2e, #0c1020); overflow: hidden; }
.offer .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.offer:hover .media img { transform: scale(1.04); }
.offer .media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); }
.offer .media .ph .ic { width: 40px; height: 40px; stroke-width: 1.5; }
.offer .media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(5, 8, 15, .85)); pointer-events: none; }
.offer .tl { position: absolute; top: 10px; left: 10px; z-index: 1; }
.offer .tr { position: absolute; top: 10px; right: 10px; z-index: 1; }
.offer .bl { position: absolute; left: 12px; bottom: 10px; z-index: 1; font-size: 20px; font-weight: 750; letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.offer .bl small { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.offer .body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.offer .title { font-weight: 600; font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.offer .title:hover { color: #c4b8ff; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); font-size: 12.5px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.ai { display: flex; gap: 9px; padding: 10px 11px; border-radius: 11px; font-size: 13px; color: #cfd5e4;
  background: linear-gradient(135deg, rgba(124, 92, 255, .12), rgba(34, 211, 238, .06)); border: 1px solid rgba(124, 92, 255, .22); }
.ai .ic { color: #b3a3ff; margin-top: 1px; }
.offer .actions { display: flex; gap: 8px; margin-top: auto; }
.offer .actions .btn { flex: 1; }
.score { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; font-weight: 750; font-size: 12.5px;
  background: rgba(7, 10, 18, .78); backdrop-filter: blur(6px); border: 1px solid var(--c); color: var(--c); }
.score.hi { --c: var(--good); } .score.mid { --c: var(--mid); } .score.lo { --c: var(--bad); }

/* lists / rows */
.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.row .sub { color: var(--muted); font-size: 12.5px; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 3px; }
.row .sub span { display: inline-flex; align-items: center; gap: 5px; }
.row .acts { display: flex; gap: 6px; flex: none; }
.alert { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; padding: 8px 10px; border-radius: 9px; font-size: 12.5px;
  color: #fecaca; background: rgba(248, 113, 113, .08); border: 1px solid rgba(248, 113, 113, .25); white-space: normal; }
.alert .ic { color: var(--bad); margin-top: 1px; }

.tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.tabs a { padding: 6px 14px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 13.5px; }
.tabs a.on { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

details.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary .chev { margin-left: auto; transition: transform .2s; color: var(--muted); }
details.fold[open] > summary .chev { transform: rotate(90deg); }
details.fold[open] > summary { margin-bottom: 16px; }
details.log summary { cursor: pointer; color: var(--muted); font-size: 12.5px; margin-top: 6px; }
pre { white-space: pre-wrap; font: 12px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; color: #b9c1d3; margin: 8px 0 0;
  padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }

/* snipes */
.snipe { display: grid; grid-template-columns: minmax(0, 1fr) 130px 190px 230px; gap: 18px; align-items: center; }
.countdown { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 15px; }
.kv { display: flex; flex-direction: column; gap: 2px; }
.kv small { color: var(--muted); font-size: 12px; }

/* flash */
.flash { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; margin-bottom: 20px; font-size: 14px; font-weight: 500; }
.flash.err { color: #fecaca; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .3); }
.flash.ok { color: #bbf7d0; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .3); }

/* empty state */
.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 20px; }
.empty svg.art { width: min(260px, 70%); height: auto; margin-bottom: 6px; }
.empty p { color: var(--muted); max-width: 460px; }

/* hero (dashboard) */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; align-items: center; padding: 26px 28px; overflow: hidden; }
.hero p { color: var(--muted); margin-top: 8px; max-width: 560px; }
.hero .art { width: 220px; height: 160px; }

/* radar art animation */
.sweep { transform-origin: 100px 100px; animation: spin 4.5s linear infinite; }
.blip { animation: blip 4.5s ease-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { 0%, 100% { opacity: .25; } 10% { opacity: 1; } 40% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .sweep, .blip { animation: none; } }

/* login */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 44px; overflow: hidden;
  border-right: 1px solid var(--line); background: radial-gradient(700px 500px at 30% 20%, rgba(124, 92, 255, .25), transparent 65%), radial-gradient(600px 500px at 80% 90%, rgba(34, 211, 238, .16), transparent 60%); }
.auth-art .radar { width: min(440px, 80%); align-self: center; filter: drop-shadow(0 30px 60px rgba(124, 92, 255, .35)); }
.auth-art h1 { font-size: clamp(28px, 3.2vw, 40px); }
.feat { display: grid; gap: 14px; margin-top: 22px; }
.feat div { display: flex; gap: 12px; align-items: flex-start; color: #cdd3e1; }
.feat .icon-tile { width: 34px; height: 34px; border-radius: 10px; }
.auth-form { display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: min(400px, 100%); }
.auth-card h2 { font-size: 24px; }

/* responsive */
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: sticky; z-index: 10; height: auto; flex-direction: row; align-items: center; gap: 4px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { padding: 0 6px 0 0; margin-right: auto; }
  .brand small, .nav-label, .nav-cats, .nav .lbl, .sidebar-foot .lbl { display: none; }
  .nav { display: flex; gap: 2px; }
  .nav a, .nav button { width: auto; padding: 9px; }
  .nav a.on { box-shadow: inset 0 -2px 0 var(--accent); }
  .sidebar-foot { padding: 0; border: 0; }
  .sidebar .nav-cats { display: none; }
  .main { padding-top: 22px; }
  .search-form, .snipe-form { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero .art { display: none; }
  .snipe { grid-template-columns: 1fr 1fr; gap: 12px; }
  .snipe > :first-child, .snipe > :last-child { grid-column: 1 / -1; }
  .snipe > :last-child { justify-content: space-between !important; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { padding: 28px 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .auth-art .radar, .auth-art .feat { display: none; }
}
@media (max-width: 520px) {
  .stats { gap: 10px; }
  .stat { padding: 14px; gap: 10px; }
  .stat .icon-tile { display: none; }
  .row { flex-wrap: wrap; align-items: flex-start; gap: 10px; }
  .row .grow { flex-basis: 100%; }
  .row .acts { width: 100%; }
  .offers { grid-template-columns: 1fr; }
  .offer .media { aspect-ratio: 16 / 10; }
  .card { padding: 16px; }
}
