/* HUNT.PL www — styl zgodny z aplikacją i działem broni (ciemna zieleń, mosiądz, kremowe karty). */
:root {
  --bg: #0b1511; --bg2: #0f1d17; --panel: #13241c; --panel2: #1a2e25; --line: rgba(201,169,110,.18);
  --text: #f3eee2; --muted: #a9b4a7; --brass: #c9a96e; --brass2: #e5cc98; --brassDeep: #8a6a2c;
  --cream: #f8f4ea; --creamText: #1c2420; --creamMuted: #5e675f;
  --danger: #e38a7a; --ok: #86c896; --r: 22px; --rs: 14px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: radial-gradient(1200px 600px at 50% -200px, #16291f 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--brass2); }
h1, h2, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: .01em; }
h1 { font-size: 30px; line-height: 1.15; margin: 4px 0 14px; }
h2 { font-size: 21px; margin: 22px 0 10px; }

/* nagłówek */
.top { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  justify-content: space-between; padding: calc(10px + env(safe-area-inset-top)) 18px 10px;
  background: rgba(11,21,17,.86); border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand .mark { display: block; color: var(--text); font-family: var(--serif); font-size: 21px; letter-spacing: .06em; line-height: 1.05; }
.brand .sub { display: block; color: var(--brass); font-size: 11px; text-transform: uppercase; letter-spacing: .18em; }
nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
nav a.active { background: rgba(201,169,110,.16); color: var(--brass2); }
@media (max-width: 520px) { nav { gap: 2px; width: 100%; } nav a { padding: 7px 9px; font-size: 13px; } nav .link { margin-left: auto; font-size: 13px; } }
button.link { background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; padding: 8px 6px; }

main { max-width: 1280px; margin: 0 auto; padding: 18px 16px 8px; min-height: 60vh; }
.muted { color: var(--muted); } .center { text-align: center; } .small { font-size: 13px; }

/* baner ze zdjęciem — jak „Giełda Hunt PL” w aplikacji */
.hero { position: relative; overflow: hidden; border-radius: 28px; min-height: 210px; margin-bottom: 18px;
  background: #0d1a14 url(img/hero.jpg) center 35%/cover no-repeat; display: flex; align-items: flex-end; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,15,12,.05) 0%, rgba(8,15,12,.35) 45%, rgba(8,15,12,.92) 100%); }
.hero .in { position: relative; z-index: 1; padding: 22px 24px; }
.hero h1 { margin: 0; font-size: 34px; }
.hero p { margin: 4px 0 0; color: #ddd6c6; font-size: 15px; }
.hero.tall { min-height: 300px; }
@media (min-width: 760px) { .hero { min-height: 260px; } .hero.tall { min-height: 360px; } .hero h1 { font-size: 42px; } }

/* karty */
.card { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.stack > * + * { margin-top: 12px; }
.notice { border: 1px solid var(--line); border-left: 3px solid var(--brass); padding: 12px 14px;
  background: rgba(201,169,110,.07); border-radius: var(--rs); }

/* przyciski */
.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--brass); background: var(--brass); color: #1b1408;
  font: 700 15px var(--sans); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--brass2); }
.btn.ghost { background: transparent; color: var(--brass2); }
.btn.ghost:hover { background: rgba(201,169,110,.12); }
.btn.danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn:disabled { opacity: .5; cursor: default; }

/* formularze */
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; letter-spacing: .02em; }
input, select, textarea { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--rs);
  border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.25); color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(201,169,110,.18); }
textarea { min-height: 140px; resize: vertical; }
select option { background: var(--panel); }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 14px; }
.check input { width: 22px; min-height: 22px; margin-top: 2px; flex: none; accent-color: var(--brass); }
.grid2 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }

/* filtry: kategorie jako „pigułki” */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03);
  color: var(--text); font: 600 14px var(--sans); cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--brass); border-color: var(--brass); color: #1b1408; }
.chip { text-decoration: none; }
.filters-box { margin: 6px 0 14px; }
.filters-box summary { cursor: pointer; color: var(--brass2); font-weight: 600; padding: 8px 0; }
.filters { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 8px 0 4px; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.02); }
@media (min-width: 760px) { .filters { grid-template-columns: repeat(4, 1fr); } }

/* wyszukiwarka i kategorie na stronie głównej (jak eGun) */
.search { display: flex; gap: 10px; }
.search input { flex: 1; }
.groups { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .groups { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .groups { grid-template-columns: 1fr 1fr 1fr; } }
.group { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.group .gh { display: flex; justify-content: space-between; align-items: center; text-decoration: none; color: var(--text);
  font-size: 19px; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.group ul { list-style: none; margin: 0; padding: 0; }
.group li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; font-size: 14px; }
.group li a { color: #d9d3c4; text-decoration: none; } .group li a:hover { color: var(--brass2); }
.count { color: var(--muted); font-size: 13px; min-width: 24px; text-align: right; }
.gh .count { color: var(--brass); font-size: 15px; }
.crumbs { color: var(--muted); font-size: 13px; margin: 2px 0 6px; } .crumbs a { color: var(--muted); }
.empty-state { text-align: center; padding: 28px; margin-top: 18px; } .empty-state .btn { margin-top: 6px; }

/* szczegóły ogłoszenia: dwie kolumny jak w serwisach aukcyjnych */
.detail { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .detail { grid-template-columns: 1.6fr 1fr; } .side { position: sticky; top: 84px; align-self: start; } }
.price.big { font-size: 30px; font-family: var(--serif); font-weight: 400; color: var(--brass2); }
.timer { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: var(--rs); background: rgba(201,169,110,.08); border: 1px solid var(--line); }
.timer strong { font-size: 20px; color: var(--text); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(28,36,32,.07); color: var(--creamMuted); white-space: nowrap; }
.badge.auction { background: #1c2f25; color: #f0dcae; }
table.bids { width: 100%; border-collapse: collapse; font-size: 14px; }
table.bids td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
table.bids tr.you td { color: var(--brass2); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(0,0,0,.3); border: 1px solid var(--line); gap: 4px; }
.seg label { margin: 0; padding: 9px 18px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer; }
.seg input { display: none; }
.seg label:has(input:checked) { background: var(--brass); color: #1b1408; }

/* lista ofert — kremowe karty jak w aplikacji */
.list { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .list { grid-template-columns: 1fr 1fr 1fr; } }
.offer { display: flex; flex-direction: column; text-decoration: none; color: var(--creamText); background: var(--cream);
  border-radius: var(--r); overflow: hidden; box-shadow: 0 10px 28px rgba(0,0,0,.3); transition: transform .15s; }
.offer:hover { transform: translateY(-2px); }
.offer .ph { aspect-ratio: 4/3; background: #d9d2c2 center/cover no-repeat; }
.offer .ph.empty { display: flex; align-items: center; justify-content: center; color: #8d8574; font-family: var(--serif); }
.offer .bd { padding: 12px 14px 14px; }
.offer .t { font-family: var(--serif); font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
.offer .m { color: var(--creamMuted); font-size: 13px; }
.price { color: var(--brass); font-weight: 800; font-size: 19px; }
.offer .price { color: var(--brassDeep); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; border: 1px solid currentColor; color: var(--muted); }
.offer .tag { color: var(--creamMuted); }
.tag.pending { color: var(--brassDeep); } .tag.published { color: #2f7a43; } .tag.rejected, .tag.sold { color: #a8432f; }

/* szczegóły */
.gallery { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery img { width: 100%; border-radius: var(--r); display: block; }
dl.specs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; }
dl.specs dt { color: var(--muted); } dl.specs dd { margin: 0; overflow-wrap: anywhere; }
.error { color: var(--danger); } .okmsg { color: var(--ok); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs .th { position: relative; width: 90px; height: 90px; border-radius: var(--rs); background: var(--panel2) center/cover; }
.thumbs .th button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.narrow { max-width: 460px; margin: 0 auto; }

.legal { max-width: 1280px; margin: 28px auto 0; padding: 18px 16px calc(28px + env(safe-area-inset-bottom));
  color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }
.legal a { color: var(--muted); }

.terms { padding: 12px 14px; border-radius: var(--rs); background: rgba(201,169,110,.06); border: 1px solid var(--line); }
.terms a { color: var(--brass2); }

/* ---------- HUNT.PL www: kafle kategorii i promocje ---------- */
.tiles { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-height: 84px; padding: 14px 16px;
  border-radius: var(--rs); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel2), var(--panel));
  color: var(--text); text-decoration: none; font-family: var(--serif); font-size: 17px; line-height: 1.2; overflow-wrap: anywhere; }
.tile:hover { border-color: var(--brass); }
.tile .count { align-self: flex-end; color: var(--brass); font-family: var(--sans); font-size: 14px; }
.tile.gated { border-style: dashed; }
.tile.gated .small { font-family: var(--sans); color: var(--muted); }
.promo { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 22px; }
@media (min-width: 760px) { .promo { grid-template-columns: repeat(3, 1fr); } }
.promo-card { text-decoration: none; color: var(--text); }
.promo-card h2 { margin: 0 0 6px; color: var(--brass2); }
.promo-card p { margin: 0; }
a.promo-card:hover { border-color: var(--brass); }
.hero { background-image: url(img/hero.jpg); }
/* telefon: galeria przewijana w poziomie, żeby cena i kontakt były od razu pod zdjęciami */
@media (max-width: 759px) {
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; }
  .gallery img { flex: 0 0 86%; scroll-snap-align: start; max-height: 60vh; object-fit: cover; }
}

/* ---- strona główna jak w aplikacji: duże kafle (HomePrimaryModuleTile) ---- */
.hero.home{background-image:linear-gradient(180deg,rgba(6,12,9,.15),rgba(6,12,9,.85)),url(img/hero-home.jpg);background-size:cover;background-position:center;min-height:300px;display:flex;align-items:flex-end}
.hero.home h1{font-size:clamp(34px,6vw,56px);margin:0 0 6px}
.bigtiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.bigtile{position:relative;display:flex;align-items:center;gap:16px;min-height:168px;padding:20px 22px;border-radius:28px;border:1px solid rgba(201,162,75,.55);background-size:cover;background-repeat:no-repeat;color:#fff;text-decoration:none;overflow:hidden;isolation:isolate;box-shadow:0 10px 28px rgba(0,0,0,.35);transition:transform .15s,border-color .15s}
.bigtile::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(6,12,9,.92) 0%,rgba(6,12,9,.7) 42%,rgba(6,12,9,.1) 100%)}
.bigtile:hover{transform:translateY(-2px);border-color:#c9a24b}
.bt-ic{flex:0 0 46px;width:46px;height:46px;color:#c9a24b}
.bt-ic svg{width:100%;height:100%}
.bt-tx{display:flex;flex-direction:column;gap:6px;min-width:0}
.bt-t{font-weight:800;font-size:21px;letter-spacing:.04em;text-transform:uppercase;line-height:1.15}
.bt-s{color:#d9b866;font-size:14.5px;line-height:1.35}
.bt-ar{margin-left:auto;font-size:22px;color:#c9a24b}
.app-note{margin-top:28px}
@media (max-width:760px){.bigtiles{grid-template-columns:1fr;gap:12px}.bigtile{min-height:132px;border-radius:24px;padding:16px 18px}.bt-t{font-size:18px}.bt-s{font-size:13.5px}.hero.home{min-height:220px}}

/* ---- psy myśliwskie: akcje i atlas ras ---- */
.actions3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 14px}
.action{display:flex;gap:14px;align-items:center;padding:16px 18px;border-radius:20px;border:1px solid rgba(201,162,75,.45);background:var(--panel,#13241c);color:inherit;text-decoration:none;transition:border-color .15s,transform .15s}
.action:hover{border-color:#c9a24b;transform:translateY(-1px)}
.action strong{display:block;font-size:16px;margin-bottom:2px}
.a-ic{flex:0 0 38px;width:38px;height:38px;color:#c9a24b}.a-ic svg{width:100%;height:100%}
.breeds{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.breed{display:block;border-radius:16px;overflow:hidden;border:1px solid var(--line,rgba(201,169,110,.18));background:var(--panel,#13241c);color:inherit;text-decoration:none}
.breed:hover{border-color:#c9a24b}
.breed .ph{height:120px;background-size:cover;background-position:center}
.breed .ph.empty{display:flex;align-items:center;justify-content:center;color:rgba(201,162,75,.55)}
.breed .ph.empty svg{width:42px;height:42px}
.breed .bd{padding:10px 12px}.breed .t{font-weight:700}.breed .m{color:var(--muted,#a9b4a7);font-size:13px}
.breed-photo{margin:0;border-radius:18px;overflow:hidden}.breed-photo img{display:block;width:100%;max-height:440px;object-fit:cover}
.breed-photo figcaption{font-size:12px;color:var(--muted,#a9b4a7);padding:6px 2px}
@media (max-width:760px){.actions3{grid-template-columns:1fr}.breeds{grid-template-columns:repeat(2,minmax(0,1fr))}}
.side .chips{flex-wrap:wrap;overflow:visible}
.bron-banner{display:flex;align-items:center;gap:14px;margin:6px 0 14px;padding:16px 20px;border-radius:20px;border:1px solid rgba(201,162,75,.6);
  background:linear-gradient(90deg,rgba(6,12,9,.92),rgba(6,12,9,.55)),url(bron/img/hero.jpg) right center/cover no-repeat;color:#fff;text-decoration:none}
.bron-banner strong{display:block;font-size:18px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
.bron-banner:hover{border-color:#c9a24b}
.chip.gated-chip{border-color:rgba(201,162,75,.7);color:#d9b866}

/* Zamknięty dział broni (21.10.2026) */
.chip.locked-chip{opacity:.55;border-style:dashed}
.chip.locked-chip:hover{opacity:.8}

/* Kafel działu broni w Giełdzie + okno „tylko dla uprawnionych” (21.10.2026) */
.bron-tile{display:flex;margin:6px 0 16px;min-height:150px}
.modal-bg{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:16px}
.modal{max-width:460px;width:100%;box-shadow:0 20px 50px rgba(0,0,0,.5)}
.gate-steps{margin:0;padding-left:20px;line-height:1.6}
.gate-steps li.done{color:#9fd39f}

/* Kafle kategorii Giełdy ze zdjęciami (21.10.2026) */
.ktiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (min-width:700px){.ktiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1000px){.ktiles{grid-template-columns:repeat(4,minmax(0,1fr))}}
.ktile{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;border-radius:18px;overflow:hidden;border:1px solid rgba(201,162,75,.35);
  background:linear-gradient(180deg,var(--panel2),var(--panel));text-decoration:none;color:inherit;transition:transform .15s,border-color .15s}
.ktile:hover{transform:translateY(-2px);border-color:#c9a24b}
.kimg{grid-column:1/-1;aspect-ratio:3/1;background-size:cover;background-position:center}
.ktx{display:flex;flex-direction:column;gap:2px;padding:10px 12px}
.kt{font-weight:700;font-size:15px;line-height:1.2}
.kc{font-size:12px;color:var(--muted)}
.kar{align-self:center;padding-right:12px;color:var(--brass);font-size:20px}
.kat-head{height:110px;border-radius:18px;background-size:cover;background-position:center;margin:8px 0 12px;border:1px solid rgba(201,162,75,.35)}
.chip .sc{opacity:.7;font-size:.85em}

/* Lista ogłoszeń z panelem filtrów – jak OLX / Allegro / Vinted (21.10.2026) */
.kat-head{position:relative;display:flex;align-items:flex-end;height:120px;padding:14px 18px;overflow:hidden}
.kat-head::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,12,9,.7),rgba(6,12,9,.05) 70%)}
.kat-head h1{position:relative;margin:0;color:#fff}
.chips.scroll{flex-wrap:wrap;overflow:visible;padding-bottom:4px}
.chips.scroll .chip{white-space:nowrap}
.lv{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start;margin-top:12px}
.lv.nopanel{grid-template-columns:minmax(0,1fr)}
.fpanel{position:sticky;top:12px;background:linear-gradient(180deg,var(--panel2),var(--panel));border:1px solid var(--line);border-radius:16px;padding:6px 14px 12px}
.fpanel .fp-head,.fpanel .fp-show{display:none}
.fsec{border-bottom:1px solid var(--line);padding:10px 0}
.fsec:last-of-type{border-bottom:0}
.fsec summary{cursor:pointer;font-weight:700;font-size:14px;list-style:none}
.fsec summary::after{content:"▾";float:right;color:var(--muted)}
.fsec:not([open]) summary::after{content:"▸"}
.fsec>*:not(summary){margin-top:8px}
.pills{display:flex;flex-wrap:wrap;gap:6px}
.pill{padding:5px 10px;border-radius:999px;border:1px solid var(--line);font-size:13px;color:var(--text);text-decoration:none;background:rgba(255,255,255,.03)}
.pill:hover{border-color:var(--brass)}
.pill.on{background:var(--brass);border-color:var(--brass);color:#1a1408;font-weight:700}
.fin{width:100%;box-sizing:border-box}
.price-row{display:flex;align-items:center;gap:6px}
.price-row .fin{min-width:0}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.toolbar select{width:auto}
.toolbar .fbtn{display:none}
.active{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:12px}
.achip{padding:4px 10px;border-radius:999px;background:rgba(201,169,110,.15);border:1px solid rgba(201,169,110,.45);font-size:13px;color:var(--text);text-decoration:none}
.achip:hover{border-color:var(--brass)}
.aclear{font-size:13px;margin-left:4px}
body.noscroll{overflow:hidden}
@media (max-width:760px){
  .lv{grid-template-columns:minmax(0,1fr)}
  .toolbar .fbtn{display:inline-flex}
  .fpanel{display:none}
  .fpanel.open{display:block;position:fixed;inset:0;z-index:60;border-radius:0;overflow-y:auto;padding:12px 16px 90px;background:var(--bg)}
  .fpanel.open .fp-head{display:flex;justify-content:space-between;align-items:center;padding:6px 0 10px;border-bottom:1px solid var(--line)}
  .fpanel.open .fp-show{display:block;position:fixed;left:16px;right:16px;bottom:16px;width:auto}
  .kat-head{height:96px}
  .toolbar .row{flex-wrap:nowrap}
  .toolbar select{max-width:150px;padding:8px 10px;font-size:14px}
  .toolbar .fbtn{padding:8px 14px}
}

/* Przełącznik języka PL / DE / EN (22.10.2026) */
.lang-sw{display:inline-flex;gap:2px;margin-left:8px;border:1px solid var(--line);border-radius:999px;padding:2px}
.lang-sw button{background:none;border:0;color:var(--muted);font-size:12px;font-weight:700;padding:4px 8px;border-radius:999px;cursor:pointer}
.lang-sw button.on{background:var(--brass);color:#1a1408}
.tr-note{margin:-6px 0 12px}

/* Dodawanie oferty turystyki ze strony (22.10.2026) */
.add-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:4px 0 14px}
.offer-form{max-width:860px}
.drop{display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;text-align:center;padding:26px 16px;border:2px dashed rgba(201,169,110,.45);border-radius:16px;cursor:pointer}
.drop.over,.drop:hover{border-color:var(--brass);background:rgba(201,169,110,.06)}
.thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}
.thumb{position:relative;border-radius:12px;overflow:hidden;border:1px solid var(--line);background:#0b1511;aspect-ratio:4/3}
.thumb img,.thumb video{width:100%;height:100%;object-fit:cover;display:block}
.thumb .bar{position:absolute;left:0;right:0;bottom:0;height:4px;background:rgba(0,0,0,.4)}
.thumb .bar div{height:100%;background:var(--brass)}
.thumb .st{position:absolute;left:6px;bottom:8px;font-size:11px;background:rgba(0,0,0,.6);padding:2px 6px;border-radius:6px}
.thumb.error{border-color:#d9534f}
.thumb .rm{position:absolute;top:6px;right:6px;border:0;border-radius:50%;width:26px;height:26px;background:rgba(0,0,0,.65);color:#fff;cursor:pointer}
.thumb .cover,.thumb .vtag{position:absolute;top:6px;left:6px;font-size:11px;background:var(--brass);color:#1a1408;padding:2px 6px;border-radius:6px;font-weight:700}
.vid{width:100%;border-radius:14px;background:#000;max-height:520px}
.yt{position:relative;padding-top:56.25%;border-radius:14px;overflow:hidden}
.yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* Pole „wybierz z listy albo wpisz” – producent, marka, rasa, kraj (22.10.2026) */
.combo{position:relative}
.combo input{width:100%;box-sizing:border-box;padding-right:34px}
.combo-arrow{position:absolute;right:4px;top:50%;transform:translateY(-50%);border:0;background:none;color:var(--brass);font-size:16px;cursor:pointer;padding:6px 8px}
.combo-list{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:40;max-height:280px;overflow:auto;background:var(--panel2);
  border:1px solid var(--brass);border-radius:12px;box-shadow:0 14px 34px rgba(0,0,0,.5);padding:4px}
.combo-opt{display:block;width:100%;text-align:left;border:0;background:none;color:var(--text);font:inherit;font-size:14px;padding:8px 10px;border-radius:8px;cursor:pointer}
.combo-opt:hover,.combo-opt.act{background:rgba(201,169,110,.18);color:var(--brass2)}
.combo-opt.own{border-top:1px solid var(--line);color:var(--brass2);font-weight:600}
.combo-empty{padding:8px 10px;color:var(--muted);font-size:13px}
.fpanel .combo-list{position:static;margin-top:4px;max-height:240px}
/* Podgląd oferty przed wysłaniem */
.pv-modal{max-width:760px;max-height:calc(100vh - 32px);overflow:auto}
.pv .gallery img{max-height:300px;object-fit:cover}

/* Dodawanie ogłoszeń we wszystkich działach (22.10.2026) */
nav a.nav-add{background:var(--brass);color:#1a1408;font-weight:700}
nav a.nav-add:hover,nav a.nav-add.active{background:var(--brass2);color:#1a1408}
.add-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;min-height:130px;padding:18px 20px;margin:4px 0 14px;border-radius:var(--r);
  border:1px solid var(--line);background:linear-gradient(90deg,rgba(6,12,9,.92),rgba(6,12,9,.35)),var(--panel) center/cover no-repeat}
.add-head h1{margin:2px 0 0}
.add-head{background-size:cover;background-position:center}
.step{display:flex;align-items:center;gap:10px;margin:0;font-size:20px}
.step span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--brass);color:#1a1408;font:700 14px var(--sans)}
.pills.big .pill{padding:9px 14px;font-size:14px}
.grid2 .span2{grid-column:1/-1}
.offer-form label{display:block;font-size:13px;color:var(--muted);margin-bottom:4px}
.offer-form label.check{display:flex;gap:10px;align-items:flex-start;color:var(--text);font-size:14px}
.offer-form input,.offer-form select,.offer-form textarea{width:100%;box-sizing:border-box}
.drop-ic{font-size:26px}
.thumb .star{position:absolute;left:6px;top:6px;width:28px;height:28px;border-radius:50%;border:0;background:rgba(0,0,0,.6);color:var(--brass2);cursor:pointer}
.mine-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.btn.danger{color:var(--danger);border-color:rgba(227,138,122,.5)}
.st-published{color:var(--ok)} .st-rejected{color:var(--danger)} .st-pending{color:var(--brass2)}
.ok-ic{width:64px;height:64px;margin:0 auto;border-radius:50%;background:var(--ok);color:#0b1511;font-size:34px;display:flex;align-items:center;justify-content:center}
.regions{margin:4px 0 10px}
.regions .chip{font-weight:600}
.hint-row{margin:4px 0 0}

/* Wiadomości (22.10.2026) */
.nbadge{display:inline-flex;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--danger);color:#fff;font-size:12px;align-items:center;justify-content:center;margin-left:4px}
.msg-btn{width:100%}
.msg-modal{max-width:560px}
.msg-about{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.03)}
.msg-about strong{display:block}
.ma-img{flex:0 0 52px;width:52px;height:52px;border-radius:12px;background:var(--panel2) center/cover}
.composer{display:flex;gap:8px;align-items:flex-end}
.composer textarea{flex:1;min-height:48px;max-height:160px;resize:vertical}
.composer .mic{flex:0 0 48px;height:48px;border-radius:50%;border:1px solid var(--brass);background:transparent;color:var(--brass2);font-size:20px;cursor:pointer}
.composer .mic.rec{background:var(--danger);border-color:var(--danger);color:#fff;animation:pulse 1.2s infinite}
.composer .mic.mic-off{opacity:.6}
.composer .send{min-height:48px}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(227,138,122,.6)}70%{box-shadow:0 0 0 12px rgba(227,138,122,0)}100%{box-shadow:0 0 0 0 rgba(227,138,122,0)}}
.comp-note{margin:6px 0 0}
.inbox{display:grid;grid-template-columns:340px 1fr;gap:14px;min-height:70vh}
.ib-list{padding:0;overflow:hidden;display:flex;flex-direction:column}
.ib-head{padding:16px 16px 10px;border-bottom:1px solid var(--line)}
#convs{overflow:auto;max-height:72vh}
.ib-item{display:flex;gap:12px;align-items:center;padding:12px 14px;text-decoration:none;color:var(--text);border-bottom:1px solid var(--line);position:relative}
.ib-item:hover,.ib-item.on{background:rgba(201,169,110,.10)}
.ib-item.unread strong{color:var(--brass2)}
.ib-img{position:relative;flex:0 0 52px;width:52px;height:52px;border-radius:14px;background:var(--panel2) center/cover}
.ib-av{position:absolute;right:-6px;bottom:-6px;width:26px;height:26px;border-radius:50%;background:var(--brass);color:#1a1408;font:700 11px var(--sans);display:flex;align-items:center;justify-content:center;border:2px solid var(--panel)}
.ib-tx{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.ib-top{display:flex;justify-content:space-between;gap:8px}
.ib-title,.ib-last{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ib-title{color:var(--brass)}
.ib-badge{min-width:22px;height:22px;border-radius:999px;background:var(--danger);color:#fff;font-size:12px;display:flex;align-items:center;justify-content:center;padding:0 6px}
.ib-none,.ib-empty{padding:28px;text-align:center}
.ib-ic{font-size:44px;color:var(--brass)}
.ib-conv{display:flex;flex-direction:column;padding:0;overflow:hidden}
.cv-head{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line)}
.cv-listing{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--text);min-width:0;flex:1}
.cv-listing span{display:flex;flex-direction:column;min-width:0}
.cv-listing .small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cv-actions{display:flex;gap:10px}
.back-m{display:none}
.cv-msgs{flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px;max-height:60vh;min-height:300px}
.bubble{max-width:78%;padding:10px 14px;border-radius:18px;line-height:1.45}
.bubble.me{align-self:flex-end;background:var(--brass);color:#1a1408;border-bottom-right-radius:6px}
.bubble.them{align-self:flex-start;background:var(--panel2);border:1px solid var(--line);border-bottom-left-radius:6px}
.bubble .bt{white-space:pre-wrap;word-wrap:break-word}
.bubble .bo{margin-top:6px;padding-top:6px;border-top:1px dashed rgba(255,255,255,.25);opacity:.85;white-space:pre-wrap}
.bubble .bm{opacity:.7;margin-top:4px}
.bubble.me .bm{color:#3a2d10}
.bubble .link.tr{padding:0;font-size:12px}
.bubble .warn{background:rgba(227,138,122,.15);border:1px solid rgba(227,138,122,.5);border-radius:10px;padding:6px 8px;margin-bottom:6px;color:var(--danger)}
.safety{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:rgba(134,200,150,.06);color:var(--muted)}
.ib-conv .composer{padding:10px 16px 0}
.ib-conv .comp-note,.ib-conv #merr{padding:0 16px}
@media (max-width:760px){
  .inbox{grid-template-columns:1fr}
  .inbox.has-conv .ib-list{display:none}
  .inbox:not(.has-conv) .ib-conv{display:none}
  .back-m{display:inline}
  .cv-msgs{max-height:58vh}
  .bubble{max-width:88%}
}

/* Push: baner i dymek powiadomienia (22.10.2026) */
.push-ban{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:10px 14px;margin:0;border-bottom:1px solid var(--line);background:rgba(201,169,110,.08);font-size:13px}
.push-ban .btn{min-height:36px;padding:0 14px}
.toast{position:fixed;right:16px;bottom:16px;z-index:60;display:flex;flex-direction:column;gap:2px;max-width:320px;padding:12px 16px;border-radius:14px;
  background:var(--panel2);border:1px solid var(--brass);color:var(--text);text-decoration:none;box-shadow:0 14px 34px rgba(0,0,0,.5)}

/* Konto, rejestracja, cennik, status ogłoszeniodawcy (22.10.2026) */
nav #navReg{border:1px solid var(--brass);}
.reg{max-width:860px;margin:0 auto}
.keybox{background:var(--panel2)}
.keypoints{margin:0;padding-left:20px;display:grid;gap:8px;line-height:1.5}
.fullterms summary{cursor:pointer;color:var(--brass2);font-weight:700;margin-top:8px}
.fullterms iframe{width:100%;height:420px;border:1px solid var(--line);border-radius:12px;background:#fff;margin-top:8px}
.acc-grid{display:grid;gap:14px;grid-template-columns:1fr}
@media (min-width:820px){.acc-grid{grid-template-columns:1fr 1fr}}
.badge.biz{background:rgba(134,200,150,.16);color:var(--ok);border-color:rgba(134,200,150,.45)}
.seller-box .badge{font-size:12px}
.price-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));margin-top:14px}
.price-card ul{margin:0;padding-left:18px;line-height:1.55}
.price-card.hl{border-color:var(--brass);box-shadow:0 0 0 1px var(--brass) inset}

/* Pola wyboru w formularzach – zawsze obok tekstu, nie na całą szerokość (22.10.2026) */
.offer-form input[type=checkbox],.offer-form input[type=radio],label.check input[type=checkbox]{width:20px;height:20px;min-width:20px;flex:0 0 20px;margin:2px 0 0;accent-color:var(--brass);cursor:pointer}
label.check{display:flex;gap:12px;align-items:flex-start;line-height:1.5;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.02);cursor:pointer}
label.check:hover{border-color:var(--brass)}
label.check > span{flex:1;min-width:0}
/* O nas */
.about-top{display:grid;gap:14px;grid-template-columns:1fr;margin-top:16px}
@media (min-width:860px){.about-top{grid-template-columns:1.2fr 1fr}}
.doc-tiles{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.doc-tile{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--text);text-decoration:none;transition:border-color .15s}
.doc-tile:hover{border-color:var(--brass)}
.doc-tile strong{font-family:var(--serif);font-size:18px;font-weight:400;color:var(--brass2)}
.dt-ar{margin-top:auto;color:var(--brass);font-size:13px;font-weight:700}
.about-more summary{cursor:pointer;list-style:none}
.about-more summary::after{content:" ▾";color:var(--brass)}
.about-more ul{margin:10px 0 0;padding-left:20px;line-height:1.6}

.notice.trial{border-color:var(--brass);background:rgba(201,162,77,.10);color:var(--text,#f3ead8)}

/* ---- Reklama (22.10.2026) ---- */
.ad-slot{margin:16px 0}.ad-slot:empty{display:none}
.ad{position:relative;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel);color:inherit;text-decoration:none}
.ad img{display:block;width:100%;object-fit:cover}
.ad-home img{aspect-ratio:6/1}.ad-cat img{aspect-ratio:8/1}.ad-side img{aspect-ratio:6/5}
.ad-lbl{position:absolute;top:8px;left:8px;font-size:11px;letter-spacing:.02em;background:rgba(0,0,0,.62);color:#e9e2d0;padding:2px 9px;border-radius:999px}
.ad-tx{display:flex;flex-direction:column;gap:2px;padding:10px 14px;font-size:14px}.ad-tx span{color:var(--muted)}
.ad-house{border:1px dashed var(--brass);background:linear-gradient(135deg,rgba(201,162,77,.10),rgba(201,162,77,.02));padding:16px 18px;gap:4px}
.ad-house:hover{background:linear-gradient(135deg,rgba(201,162,77,.18),rgba(201,162,77,.05))}
.ad-house-t{font-weight:700;font-size:16px}.ad-house-s{color:var(--muted);font-size:13px}.ad-house-b{color:var(--brass);font-weight:600;font-size:14px;margin-top:4px}
.ad-home.ad-house,.ad-cat.ad-house{flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:18px}
.ad-cat.ad-house{padding:12px 16px}
.fpanel .ad-slot{margin:14px 0 0}
.admap{border:1px solid var(--line);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px;font-size:12px;background:rgba(255,255,255,.02)}
.am-nav{opacity:.6}.am-row{display:flex;gap:8px}.am-tile{flex:1;height:34px;border-radius:8px;background:rgba(255,255,255,.06)}
.am-ad{border:1px dashed var(--brass);border-radius:8px;padding:8px;color:var(--brass);font-weight:600;background:rgba(201,162,77,.08)}
.am-side{width:36%;display:flex;flex-direction:column;gap:8px}.am-f{height:60px;border-radius:8px;background:rgba(255,255,255,.06);padding:6px;opacity:.7}
.am-box{min-height:70px}.am-list{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:8px}.am-list div{height:62px;border-radius:8px;background:rgba(255,255,255,.06)}
.ad-prev img{max-width:100%;max-height:200px;border-radius:10px;margin-top:8px}
.ad-row{align-items:center;gap:12px;flex-wrap:wrap}.ad-thumb{width:120px;height:50px;object-fit:cover;border-radius:8px}.grow{flex:1;min-width:200px}

/* 22.10.2026: podkategorie zawsze w całości (zawijanie zamiast ucinania) */
.chips{flex-wrap:wrap;overflow:visible}
.chips .chip{white-space:nowrap}
/* Długie nazwy (rasy, kategorie, niemieckie słowa) łamią się zamiast wychodzić poza kafel */
.breed .t,.breed .m,.kt,.bt-t,.ktx,.price-card h2,.card h2{overflow-wrap:anywhere;hyphens:auto}

/* Przepisy Redakcji (22.10.2026) */
.rgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;margin:10px 0 6px}
.rcard{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--panel);color:inherit;text-decoration:none;transition:border-color .15s,transform .15s}
.rcard:hover{border-color:var(--brass);transform:translateY(-2px)}
.rimg{display:block;aspect-ratio:4/3;background-size:cover;background-position:center}
.rtx{display:flex;flex-direction:column;gap:4px;padding:10px 12px 12px}.rt{font-weight:700;line-height:1.3;overflow-wrap:anywhere}.rm{color:var(--muted);font-size:13px}
.rhero{aspect-ratio:16/9;border-radius:18px;background-size:cover;background-position:center;border:1px solid var(--line)}
.ing{margin:0;padding-left:18px;line-height:1.7}.steps-ol{margin:0;padding-left:20px;line-height:1.65}.steps-ol li{margin-bottom:6px}
.tipcard{border-color:rgba(201,162,77,.45);background:rgba(201,162,77,.06)}

/* 22.10.2026: PL | DE | EN w prawym górnym rogu */
@media (min-width:1700px){.top{padding-right:150px}}
.lang-sw.corner{position:absolute;top:calc(14px + env(safe-area-inset-top));right:18px;margin:0;background:rgba(11,21,17,.9);border-color:rgba(201,169,110,.55)}
.lang-sw.corner button{font-size:13px;padding:6px 11px}
@media (max-width:760px){.lang-sw.corner{top:calc(12px + env(safe-area-inset-top));right:12px}.lang-sw.corner button{font-size:12px;padding:5px 9px}}

/* 22.10.2026: pasek powrotu */
.backbar{display:flex;align-items:center;gap:14px;margin:0 0 12px}
.back-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:999px;border:1px solid rgba(201,169,110,.55);background:rgba(201,169,110,.08);color:var(--brass2);font:inherit;font-weight:600;font-size:14px;cursor:pointer}
.back-btn:hover{background:rgba(201,169,110,.18)}
.back-home{color:var(--muted);font-size:14px}
