/* divno · «Tavan» — токены и компоненты. Цвета только через переменные; новых HEX в шаблонах не заводить. */
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya.2f1802b61d14.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-italic.971b7cc4e404.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/onest.ff44ebbf49a8.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #F5EFE4;      /* фон */
  --card: #FFFDF8;       /* карточки */
  --ink: #2A1F1A;        /* текст, тёмные блоки */
  --ink-2: #4A3D35;      /* второстепенный текст на бумаге */
  --muted: #6B5B50;      /* подписи (контраст на --paper ≥ 4.5:1) */
  --line: #E2D7C6;
  --line-2: #CDBFAC;
  --brick: #A8432A;      /* «Postavi oglas», ссылки */
  --brick-dark: #7E2F1C;
  --brick-soft: #F1E3D9;
  --gold: #E0B36A;       /* «Nađi mi», дукаты на тёмном */
  --gold-soft: #F4E8CF;
  --gold-ink: #6A4A0E;
  --olive: #5C6B3A;
  --olive-soft: #E9ECDD;
  --olive-ink: #3F4A26;
  --night: #3A2D26;      /* карточки на тёмном фоне */
  --night-line: #54443A;
  --night-text: #DCD0C0;
  --serif: "Alegreya", Georgia, serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 10px; --r: 16px; --r-lg: 22px; --r-xl: 26px;
  --wrap: 1280px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: var(--brick); }
a:hover { color: var(--brick-dark); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 640px) { .wrap { padding-inline: 16px; } }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 10; }

/* --- верхняя полоса и шапка */
.strip { background: var(--ink); color: var(--paper); font-size: 13px; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-block: 8px; }
.strip a { color: #CFC3B2; text-decoration: none; }
.strip a.on { color: var(--paper); font-weight: 600; }
.strip .sw { display: flex; gap: 14px; flex-wrap: wrap; margin-left: auto; }
.strip .strip-x { font-size: 20px; line-height: 1; padding: 0 4px; color: #CFC3B2; }
.strip .strip-x:hover { color: var(--paper); }
/* Языки после выбора: компактное меню в шапке и строка в подвале */
.lang-menu { position: relative; }
.head .wrap { position: relative; }
@media (max-width: 700px) {  /* на телефоне: логотип и язык — первая строка, поиск — всегда отдельной строкой */
  .head .lang-menu { position: absolute; top: 22px; right: 16px; }
  .head .search { flex-basis: 100%; }
}
#strip ~ .head .lang-menu { display: none; }  /* пока полоса с языками на месте — меню не дублируем */
.lang-menu > summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary::after { content: " ▾"; font-size: 11px; }
.lang-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; display: flex; flex-direction: column; min-width: 110px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 8px 24px rgba(42, 31, 26, .12); }
.lang-list a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 14px; }
.lang-list a:hover, .lang-list a[aria-current] { background: var(--paper); }
.lang-list a[aria-current] { font-weight: 700; }
.foot-langs { flex-basis: 100%; display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.foot-langs a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }
.head { border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; padding-block: 18px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.wm { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 38px; letter-spacing: -.5px; line-height: 1; color: var(--ink); }
.wm-s { font-size: 22px; }
/* Знак: осмоконечная «пиротская» звезда вместо точки над i (design/make_brand.py) */
.dot-i { position: relative; display: inline-block; }
.brandword, .gloss { white-space: nowrap; }  /* «di / vno» по разным строкам — нельзя */
.dot-i .pirot { position: absolute; left: 50%; top: -.16em; width: .5em; height: .5em; transform: translateX(-34%); fill: var(--brick); }
.ico { width: 1.05em; height: 1.05em; vertical-align: -.17em; fill: currentColor; }
.search { flex: 999 1 400px; min-width: 0; display: flex; align-items: center; gap: 10px; background: var(--card); border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 6px 4px 18px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; padding: 10px 0; outline: none; color: var(--ink); }
.nav { flex: 1 1 auto; display: flex; gap: 8px 18px; align-items: center; flex-wrap: wrap; font-weight: 500; }
/* слева разделы, справа — кнопки, вход/кабинет и язык (Коста, 09.11) */
.nav .nav-push { margin-left: auto; }
.nav-tools { display: contents; }  /* на широком экране кнопки — прямо в строке навигации */
.nav-links { display: inline-flex; gap: 8px 18px; flex-wrap: wrap; }
.nav-user { display: inline-flex; align-items: center; gap: 18px; }
@media (max-width: 700px) {  /* телефон: вход/кабинет — в первой строке рядом с языком, две кнопки — одной строкой */
  .head .nav-user { position: absolute; top: 30px; right: 92px; gap: 14px; }
  #strip ~ .head .nav-user { right: 16px; }
  .nav .nav-push { margin-left: 0; }
  .nav { column-gap: 10px; }
  .nav-links { flex-basis: 100%; }  /* разделы — своей строкой, кнопки — под ними */
  .nav .btn-pill { padding: 10px 12px; font-size: 14.5px; white-space: nowrap; }
  /* телефон: Nađi mi и Šta je ovo? рядом, Postavi oglas — на всю ширину под ними (три равных инструмента, 11.11) */
  .nav-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex-basis: 100%; }
  .nav-tools .btn-brick { grid-column: 1 / -1; }
}
@media (max-width: 380px) {  /* узкий телефон рядом с меню языка: только «Вход», регистрация — ссылкой со страницы входа */
  .auth-links > span, .auth-links > a + span + a { display: none; }
  #strip ~ .head .auth-links > span, #strip ~ .head .auth-links > a + span + a { display: inline; }  /* без меню языка место есть */
}
.nav a { color: var(--ink); text-decoration: none; }

/* --- кнопки */
.btn { display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 600; text-decoration: none; border-radius: 14px; padding: 15px 24px; font-size: 17px; text-align: center; }
.btn-pill { border-radius: 999px; padding: 11px 20px; font-size: 16px; }
.btn-ink { background: var(--ink); color: var(--paper) !important; }
.btn-brick { background: var(--brick); color: #fff !important; }
.btn-gold { background: var(--gold); color: var(--ink) !important; font-weight: 700; }
.btn-olive { background: var(--olive); color: #fff !important; }  /* «Šta je ovo?» — третий инструмент */
.btn-line { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--ink); }
.chip { display: inline-block; border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* --- главная */
.hero { display: flex; flex-wrap: wrap; gap: 40px; padding-block: 56px 40px; }
.hero .lead { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.kicker { font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -1px; line-height: 1.02; }
.hero h1 i { color: var(--brick); }
.hero p { margin: 0; font-size: 19px; max-width: 620px; color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.shelf { display: block; width: 100%; height: auto; border-radius: var(--r-xl); border: 1px solid var(--line); }

.sec { padding-block: 40px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-head h2 { font-size: 34px; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cat { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 10px 10px 18px; text-decoration: none; color: var(--ink); min-height: 92px; }
.cat b { display: block; font-family: var(--serif); font-size: 21px; line-height: 1.15; }
.cat small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.cat img { flex: none; width: 60px; height: 75px; object-fit: cover; border-radius: var(--r-sm); margin-left: auto; }

.dark { background: var(--ink); color: var(--paper); }
.dark .wrap { display: flex; flex-wrap: wrap; gap: 32px; padding-block: 48px; }
.dark .intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.dark .intro .kicker { color: var(--gold); }
.dark .intro h2 { font-size: 44px; }
.dark .intro p { margin: 0; color: var(--night-text); font-size: 17px; }
.dark .intro p b { color: var(--gold); }
.reqs { flex: 999 1 600px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.req { background: var(--night); border: 1px solid var(--night-line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.req .meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: #CFC3B2; }
.req .what { display: flex; gap: 12px; align-items: center; }
.req .what img { flex: none; width: 56px; height: 70px; object-fit: cover; border-radius: var(--r-sm); }
.req .what b { font-family: var(--serif); font-size: 21px; line-height: 1.2; color: var(--card); }
.req .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.req .price { font-size: 19px; font-weight: 700; color: var(--card); }
.req .pledge { font-size: 13px; color: var(--gold); }
.empty-dark { color: var(--night-text); border: 1px dashed var(--night-line); border-radius: 18px; padding: 18px; }

/* --- карточки лотов */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 36px 20px; }
.card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.card .p { margin-top: auto; }   /* цена — внизу карточки: в ряду все цены на одной линии, под своей карточкой */
.card .ph { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .src { position: absolute; z-index: 1; top: 12px; left: 12px; background: var(--card); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; color: var(--ink); }
.card .t { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .m { font-size: 13px; color: var(--muted); }
.card .p { font-size: 18px; font-weight: 700; }
.card .p-text { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.card .p-offer { align-self: flex-start; color: var(--brick); border: 1px solid var(--brick); border-radius: 999px; padding: 3px 12px; }
.empty { border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); padding: 28px; color: var(--muted); text-align: center; }

.donate { border: 1.5px dashed var(--brick); border-radius: var(--r-xl); padding: 30px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.donate h2 { font-size: 30px; margin-bottom: 6px; }
.donate p { margin: 0; color: var(--ink-2); }
.foot-main { border-top: 1px solid var(--line); }
.foot-main .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; padding-block: 28px 40px; font-size: 14px; color: var(--muted); }
.foot-main a { color: var(--muted); }
.foot-main .links { display: flex; gap: 18px; flex-wrap: wrap; }

/* --- каталог */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.page-title { font-size: 46px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 26px; }
.cols { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.filters-box { flex: 1 1 260px; max-width: 300px; }
.filters-box > summary { display: none; }
.filters { display: flex; flex-direction: column; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.filters legend { font-family: var(--serif); font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.filters label { display: flex; gap: 10px; align-items: center; }
.results { flex: 999 1 560px; min-width: 0; }
.filters select, .price-range input { font: inherit; font-size: 15px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); min-width: 0; }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 6px; align-items: center; }
.filters .reset { font-size: 14px; text-align: center; }
.results-count { margin: 0 0 12px; font-size: 15px; }
@media (max-width: 700px) {
  .filters-box { max-width: none; flex-basis: 100%; }
  .filters-box > summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none;
    background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-weight: 600; }
  .filters-box > summary::-webkit-details-marker { display: none; }
  .filters-box > summary::after { content: "▾"; }
  .filters-box[open] > summary { border-radius: 14px 14px 0 0; border-bottom: 0; }
  .filters-box[open] > summary::after { content: "▴"; }
  .filters-box[open] .filters { border-radius: 0 0 20px 20px; }
}

/* --- карточка лота */
.item { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "gallery info" "more info"; column-gap: 36px; row-gap: 16px; align-items: start; }
.item > .gallery { grid-area: gallery; } .item > .info { grid-area: info; } .item > .more { grid-area: more; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 1023px) { .item { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "info" "more"; row-gap: 24px; } }
.gallery { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery .main { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 75%; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.info { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.info h1 { font-size: 42px; }
.info .price { font-size: 36px; font-weight: 700; }
.facts { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 8px 20px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.facts dt { padding: 10px 0; color: var(--muted); border-bottom: 1px solid #EFE6D8; }
.facts dd { margin: 0; padding: 10px 0; border-bottom: 1px solid #EFE6D8; }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
.badge { display: inline-block; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.badge.ok { background: var(--olive-soft); color: var(--olive-ink); border-color: transparent; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.box h2 { font-size: 26px; margin-bottom: 8px; }
.deal { background: var(--olive-soft); border-radius: var(--r-lg); padding: 24px; color: var(--olive-ink); }

/* --- Nađi mi */
.nm-hero h1 { font-size: 60px; }
.nm-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; flex: 1 1 520px; }
.nm-steps li { background: var(--night); border-radius: 14px; padding: 14px; }
.nm-steps b { color: var(--gold); }
.prow { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }
.prow img { flex: none; width: 84px; height: 105px; object-fit: cover; border-radius: 14px; }
.prow .body { flex: 999 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.prow .body b { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.prow .side { flex: 1 1 170px; display: flex; flex-direction: column; gap: 8px; text-align: right; }
.prow .side .price { font-size: 22px; font-weight: 700; }
.status { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; background: var(--olive-soft); color: var(--olive-ink); }
.coin { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-soft); color: var(--gold-ink); border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 14px; }

/* Автоперевод пользовательского текста: пометка и оригинал под ней */
.auto-tr { font-size: 14px; color: var(--muted); margin-top: -4px; }
.auto-tr summary { cursor: pointer; width: fit-content; }
.auto-tr p { margin: 6px 0 0; padding-left: 10px; border-left: 2px solid var(--line); white-space: pre-line; }

/* «divno» в en/de: слово с подсказкой-переводом (наведение, фокус с клавиатуры, тап).
   Подсказка прижата к левому краю заголовка, а не к слову — иначе на телефоне уезжает за экран. */
.hero h1 { position: relative; }
.gloss { cursor: help; text-decoration: underline dotted 2px; text-underline-offset: 8px; }
.gloss:focus-visible { outline: 2px solid var(--brick); outline-offset: 4px; border-radius: 4px; }
.gloss .tip { display: none; position: absolute; left: 0; top: 100%; margin-top: 10px; z-index: 5;
  width: max-content; max-width: min(340px, 80vw); padding: 8px 12px; border-radius: var(--r-sm); white-space: normal;
  background: var(--ink); color: var(--paper); font: 500 15px/1.35 var(--sans); font-style: normal; letter-spacing: 0; }
.gloss:hover .tip, .gloss:focus .tip { display: block; }

/* Pravila korišćenja: длинный текст — узкая колонка, удобные отступы, якоря не прячутся под шапкой */
.rules { max-width: 820px; padding-block: 24px 64px; }
.rules h2 { font-size: 28px; margin: 36px 0 10px; scroll-margin-top: 16px; }
.rules section { scroll-margin-top: 16px; }
.rules p, .rules li { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.rules ul { padding-left: 22px; margin: 8px 0; }
.rules li { margin-bottom: 8px; }
.rules .toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; margin: 18px 0 8px; }
.rules .toc ol { margin: 0; padding-left: 22px; columns: 2 240px; column-gap: 28px; }
.rules .toc li { font-size: 15px; margin-bottom: 4px; }
.rules .rules-short { margin-top: 24px; }
.rules .rules-short h2 { margin-top: 0; }
#zabranjeno ul li::marker { color: var(--brick); }
.hero h1 i .pirot { fill: var(--gold); }

.about-mark { flex-basis: 100%; max-width: 760px; margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.about-mark .ico { fill: var(--brick); }

/* «Šta je ovo?» — экспертиза силами пользователей */
.sjo { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.sjo-list { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.sjo-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.sjo-side h2 { font-size: 22px; margin: 0 0 10px; }
.upit-row { text-decoration: none; color: inherit; }
.upit-row:hover { border-color: var(--brick); }
.status.open { background: var(--gold-soft); color: var(--gold-ink); }
.rewards { width: 100%; border-collapse: collapse; font-size: 15px; }
.rewards td { padding: 8px 0; border-top: 1px solid var(--line); vertical-align: top; }
.rewards td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; color: var(--gold-ink); }
.rewards small { font-weight: 400; color: var(--muted); }
.rewards tr.sure td { color: var(--brick); }
.experts { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.experts li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.experts .coin { margin-left: auto; }
.rank { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--brick); color: var(--paper); }
.upit { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 14px; }
.upit .gallery { flex: 1 1 420px; }
.upit .gallery img.main { width: 100%; height: auto; max-height: 560px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; background: var(--card); }
.upit .info { flex: 1 1 340px; display: flex; flex-direction: column; gap: 14px; }
.upit .info h1 { font-size: 40px; margin: 0; }
.upit .final { background: var(--olive-soft); }
.procene { display: flex; flex-direction: column; gap: 14px; }
.procena { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.procena.best { border: 2px solid var(--gold); }
.procena header { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.procena h3 { font-family: var(--serif); font-size: 22px; margin: 0; }
.procena .why { margin: 0; white-space: pre-line; color: var(--ink-2); }
.procena .meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.procena .val { font-weight: 700; font-size: 18px; }
.conf { padding: 3px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.conf-sure { border-color: var(--olive-ink); color: var(--olive-ink); font-weight: 600; }
.buy { padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-weight: 600; cursor: help; }
.best-badge { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--brick); }
.best-badge .ico { fill: var(--brick); }
.disagree { margin: 0; padding: 8px 12px; border-left: 3px solid var(--line); color: var(--muted); font-size: 14px; }
.procena footer .btn { padding: 8px 14px; font-size: 14px; }
.sjo-teaser .lead { margin: -6px 0 16px; color: var(--ink-2); max-width: 640px; }
.teaser-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.teaser-grid .prow .body b { font-size: 19px; }
.ask-card { justify-content: center; text-decoration: none; color: var(--brick); border-style: dashed; min-height: 145px; gap: 10px; }
.ask-card .ico { width: 28px; height: 28px; fill: var(--brick); }
.ask-card b { font-family: var(--serif); font-size: 22px; }

/* Главная: три пути — продать, найти, спросить (решение 07.11.2026: все три равноправно и наверху) */
.hero { flex-direction: column; gap: 28px; padding-block: 48px 32px; }
.hero .lead { flex: none; gap: 18px; }
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.path { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px; background: var(--card);
  border: 1px solid var(--line); border-top: 5px solid var(--accent); text-decoration: none; color: var(--ink);
  transition: transform .15s, box-shadow .15s; }
.path:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(42, 31, 26, .10); }
.path b { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.path > span:not(.btn):not(.path-ico) { color: var(--ink-2); font-size: 16px; line-height: 1.45; flex: 1; }
.path .btn { align-self: flex-start; margin-top: 4px; }
.path-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.path-ico svg { width: 22px; height: 22px; fill: currentColor; }
.path-ico svg[stroke] { fill: none; }
.path-sell { --accent: var(--brick); --accent-soft: var(--brick-soft); }
.path-find { --accent: var(--gold); --accent-soft: var(--gold-soft); }
.path-find .path-ico { color: var(--gold-ink); }
.path-ask { --accent: var(--ink); --accent-soft: var(--olive-soft); }
.path-ask .path-ico { color: var(--olive-ink); }
@media (prefers-reduced-motion: reduce) { .path { transition: none; } .path:hover { transform: none; } }
@media (max-width: 700px) {   /* на телефоне три карточки компактнее: значок и заголовок в одну строку */
  .paths { gap: 12px; }
  .path { display: grid; grid-template-columns: 42px 1fr; gap: 8px 12px; padding: 16px 18px; }
  .path b { align-self: center; font-size: 22px; }
  .path > span:not(.btn):not(.path-ico) { grid-column: 1 / -1; font-size: 15px; }
  .path .btn { grid-column: 1 / -1; justify-self: start; margin-top: 2px; padding: 11px 18px; }
}

/* Вход, кабинет, профиль */
.auth { display: flex; justify-content: center; padding-block: 48px 72px; }
.auth-card { width: 100%; max-width: 460px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.auth-card h1 { font-size: 36px; margin: 0; }
.auth-card p { margin: 0; }
.auth-form, .acc-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form input, .acc-form input:not([type=radio]):not([type=checkbox]), .acc-form textarea, .source-add input, .source-add select {
  font: inherit; font-size: 17px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); width: 100%; box-sizing: border-box; }
.auth-form input:focus, .acc-form input:focus, .acc-form textarea:focus { outline: 2px solid var(--brick); outline-offset: 1px; }
.code-input { font-size: 28px !important; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.form-error { color: var(--brick); font-weight: 600; font-size: 15px; margin: -4px 0 0; }
.small { font-size: 14px; }
.auth-switch { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.auth-switch a, .form-error a { color: var(--brick); font-weight: 600; }
.auth-gift { background: var(--paper, transparent); border: 1px dashed var(--line); border-radius: 12px; padding: 10px 12px; }
.auth-gift .ico { width: 18px; height: 18px; color: var(--brick); vertical-align: -3px; margin-right: 4px; }
.auth-gift b { white-space: nowrap; }
.auth-form label.check { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.auth-form label.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; padding: 0; }
.form-ok { color: var(--ink); font-weight: 600; }
.auth-links { display: inline-flex; gap: 8px; align-items: center; }
.auth-links > span { color: var(--muted, #8a7a70); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brick); text-decoration: underline; cursor: pointer; }
.auth-again { font-size: 14px; }
.account { max-width: 760px; padding-block: 24px 64px; display: flex; flex-direction: column; gap: 18px; }
.account .box h2 { font-size: 24px; margin: 0 0 6px; }
.account .box { display: flex; flex-direction: column; gap: 10px; }
.acc-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.acc-form label.check { flex-direction: row; align-items: center; gap: 10px; }
.acc-form .choice { flex-direction: row; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 400; }
.acc-form .choice:has(input:checked) { border-color: var(--brick); background: var(--brick-soft); }
.acc-form .choice input { margin-top: 4px; accent-color: var(--brick); }
.acc-form .choice b { display: block; font-size: 17px; }
.acc-form .choice small { display: block; color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.hint { margin: 0; color: var(--muted); font-size: 14px; }
.notice { padding: 12px 16px; border-radius: 14px; background: var(--gold-soft); color: var(--ink); margin: 0; }
.notice.ok { background: var(--olive-soft); }
/* поля магазина и торговца — только когда выбрано (без JS видно всё) */
.box:has(input[name=mode]:not([value=trader]):checked) .shop-fields,
.box:has(input[name=mode]:not([value=trader]):checked) .trader-fields { display: none; }
.acc-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-fields, .trader-fields { display: flex; flex-direction: column; gap: 10px; }
.sources { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.sources li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sources form { margin-left: auto; }
.source-add { display: grid; grid-template-columns: 140px 1fr auto; gap: 8px; }
@media (max-width: 560px) { .source-add { grid-template-columns: 1fr; } }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--brick); color: var(--paper); display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 30px; flex: none; }
.avatar.sm { width: 30px; height: 30px; font-size: 15px; }
.me { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 700px) { .me-name { display: none; } }
.profile-page { padding-block: 28px 64px; }
.profile-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.profile-head h1 { margin: 0 0 6px; }
.profile-head .badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.profile-head p { margin: 6px 0 0; }
.profile-page .about { max-width: 720px; white-space: pre-line; }
.profile-page .legal { max-width: 520px; margin-top: 14px; }
.profile-page .notice { max-width: 720px; margin-top: 14px; font-size: 15px; }
.pstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 20px 0 0; max-width: 1080px; }
.pstats > div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.pstats dd { grid-row: 1 / 3; margin: 0; font-size: 28px; font-weight: 700; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.pstats dt { font-size: 15px; font-weight: 600; }
.pstats span { font-size: 13px; color: var(--muted); }
.prows { display: flex; flex-direction: column; gap: 12px; }
a.plink { color: inherit; text-decoration: none; }
a.plink:hover { border-color: var(--gold); }
.plist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.plist li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.plist a { font-family: var(--serif); font-size: 19px; font-weight: 700; }
.reviews { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.review { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--line-2); border-radius: 14px; padding: 12px 16px; }
.review.mood-good { border-left-color: var(--olive); }
.review.mood-bad { border-left-color: var(--brick); }
.review header { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.review .mood { font-weight: 700; }
.review p { margin: 6px 0 0; white-space: pre-line; }
.review-reply { margin-top: 8px; padding: 8px 12px; background: var(--paper); border-radius: 10px; font-size: 15px; }
.review-form { display: flex; flex-direction: column; gap: 8px; }
.review-form .btn { align-self: flex-start; }
.review-form .moods { display: flex; flex-wrap: wrap; gap: 8px; }
.mood-pick { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); cursor: pointer; }
.mood-pick:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
a.person { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a.person:hover { color: var(--brick); text-decoration-color: currentColor; }
.seller-status { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--muted); }
.seller-status.ok { color: var(--olive-ink); font-weight: 600; }

/* Переписка */
.msgs { max-width: 760px; padding-block: 24px 64px; display: flex; flex-direction: column; gap: 12px; }
.conv { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; text-decoration: none; color: var(--ink); }
.conv.unread { border-color: var(--brick); }
.conv-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.conv .snippet { color: var(--ink-2); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 13px; color: var(--muted); }
.dot { min-width: 22px; height: 22px; border-radius: 11px; background: var(--brick); color: var(--paper); font-size: 12px; font-weight: 700;
  display: inline-grid; place-items: center; padding: 0 6px; box-sizing: border-box; }
.bubbles { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.bubble { max-width: 80%; align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 10px 14px; }
.bubble.mine { align-self: flex-end; background: var(--brick-soft); border-color: transparent; border-radius: 16px 16px 4px 16px; }
.bubble p { margin: 0; overflow-wrap: anywhere; }
.bubble time { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.msg-form { display: flex; flex-direction: column; gap: 10px; }
.msg-form textarea, .review-form textarea, .inline-form textarea, .inline-form input, .inline-form select { font: inherit; font-size: 16px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); width: 100%; box-sizing: border-box; }
.msg-form .btn { align-self: flex-start; }
.mail { position: relative; display: inline-flex; color: var(--ink); }
.mail .dot { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; font-size: 11px; }
.procena footer { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn.is-static { cursor: default; }
.btn.on { border-color: var(--olive-ink); color: var(--olive-ink); }
details.inline summary { cursor: pointer; color: var(--brick); font-size: 14px; width: fit-content; }
.inline-form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.inline-form .btn { align-self: flex-start; }
.inline-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.inline-form label.check { flex-direction: row; align-items: center; font-weight: 400; }
.inline-form .range { display: grid; grid-template-columns: 1fr 1fr 110px; gap: 8px; }
.conf-pick { border: 0; padding: 0; margin: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.conf-pick legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.conf-pick label { flex-direction: row; font-weight: 400; align-items: center; gap: 6px; }
.comments { display: flex; flex-direction: column; gap: 6px; }
.comments p { margin: 0; padding: 8px 12px; background: var(--paper); border-radius: 12px; font-size: 15px; overflow-wrap: anywhere; }
#nova-procena .box h2 { margin: 0 0 8px; }
.inline-form input[type=checkbox], .inline-form input[type=radio] { width: auto; padding: 0; accent-color: var(--brick); }
.conf-pick small { color: var(--muted); font-weight: 400; }
@media (max-width: 560px) { .inline-form .range { grid-template-columns: 1fr 1fr; } }

/* --- «Šta je divno» (/o-divno/) — презентация сайта */
.about { padding-bottom: 56px; }
.about-hero { padding-top: 28px; }
.about-hero-row { display: flex; align-items: center; gap: 32px; justify-content: space-between; }
.about-lead { font-family: var(--serif); font-size: 26px; line-height: 1.3; margin: 14px 0 10px; max-width: 760px; }
.about-star { width: 132px; height: 132px; flex: none; fill: var(--brick); }
.about-sec { padding-top: 44px; }
.about-dark, .about-sign > div { max-width: 980px; }
.about-sec h2 { font-size: 32px; margin-bottom: 14px; }
.about-sec p { max-width: 760px; margin: 0 0 12px; font-size: 17px; line-height: 1.6; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.about-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.about-card img { width: 48px; height: 60px; }
.about-card h3 { font-size: 22px; }
.about-card p { font-size: 15.5px; line-height: 1.55; margin: 0; }
.about-dark { background: var(--ink); color: var(--paper); border-radius: 24px; padding: 28px; }
.about-dark h2 { color: var(--gold); }
.about-dark p { color: var(--paper); margin: 0; }
.about-sign { display: flex; gap: 28px; align-items: flex-start; }
.about-star.big { width: 96px; height: 96px; margin-top: 6px; }
.about-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.strip .strip-more { color: var(--gold); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .about-star { width: 72px; height: 72px; }
  .about-hero-row { align-items: flex-start; gap: 16px; }
  .about-lead { font-size: 21px; }
  .about-sec { padding-top: 32px; }
  .about-sec h2 { font-size: 27px; }
  .about-sign { gap: 16px; }
  .about-star.big { width: 56px; height: 56px; }
  .about-cta .btn { flex: 1 1 auto; }
}

/* --- подача: объявление, «Šta je ovo?», «Nađi mi» (10.11) */
.post-page { max-width: 820px; padding-block: 24px 64px; display: flex; flex-direction: column; gap: 18px; }
.post-form .box { display: flex; flex-direction: column; gap: 10px; }
.post-form .box h2 { font-size: 24px; margin: 0 0 4px; }
.acc-form select { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); width: 100%; }
.acc-form select:focus { outline: 2px solid var(--brick); outline-offset: 1px; }
.acc-form textarea { font: inherit; resize: vertical; }
.post-form label.check { font-weight: 400; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-opt { flex-direction: row !important; align-items: center; gap: 8px !important; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 500 !important; }
.seg-opt:has(input:checked) { border-color: var(--brick); background: var(--brick-soft); }
.seg-opt input { accent-color: var(--brick); margin: 0; }
.photo-drop { position: relative; display: flex !important; align-items: center; justify-content: center; text-align: center; min-height: 110px; border: 2px dashed var(--line); border-radius: 16px; background: var(--card); cursor: pointer; padding: 16px; }
.photo-drop:hover, .photo-drop:focus-within { border-color: var(--brick); }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.photo-drop-text b { display: block; font-size: 17px; color: var(--brick); }
.photo-drop-text small { display: block; font-weight: 400; color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.photo-input.busy .photo-drop { opacity: .6; }
.photo-previews, .photo-current { display: flex; flex-wrap: wrap; gap: 10px; }
.photo-previews:empty { display: none; }
.photo-tile { position: relative; display: flex; flex-direction: column; gap: 4px; width: 120px; }
.photo-tile img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); }
.photo-tile label.check { font-size: 14px; gap: 6px !important; }
.photo-name { display: flex; align-items: center; justify-content: center; width: 120px; height: 120px; border-radius: 12px; border: 1px solid var(--line); font-size: 12px; word-break: break-all; padding: 6px; text-align: center; }
.photo-x { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); font-size: 18px; line-height: 1; cursor: pointer; }
.gallery .main-link { display: block; }
.gallery img.main { width: 100%; height: auto; max-height: 640px; object-fit: contain; background: var(--card); }
.gallery .thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery .thumb { padding: 0; border: 2px solid transparent; border-radius: 12px; background: none; cursor: pointer; }
.gallery .thumb.on { border-color: var(--brick); }
.gallery .thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; display: block; }
.owner-box { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1.5px dashed var(--brick); border-radius: 16px; }
.owner-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.owner-actions form { display: flex; gap: 8px; margin: 0; }
.owner-actions .btn { padding: 9px 14px; font-size: 15px; }
.linklike.danger { color: var(--brick); }
.my-row { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; }
.my-row img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; display: block; }
.my-row .body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.acc-links { display: flex; flex-wrap: wrap; gap: 10px; }
.acc-links .btn { padding: 10px 16px; font-size: 15px; }
.prow.just-new { outline: 2px solid var(--gold); }
.prow > img, .upit-row > img { object-fit: cover; border-radius: 12px; }
.small { font-size: 14px; }

/* --- уведомления, поиск «Nađi mi» (10.11) */
.note-row { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); text-decoration: none; }
.note-row.new { border-color: var(--brick); background: var(--brick-soft); }
.note-title { font-weight: 700; }
.note-text { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user .mail + .mail { margin-left: -4px; }
.hunt { display: flex; flex-direction: column; gap: 10px; }
.hunt.found { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }
.hunt-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.hunt-head a { margin-left: auto; }
.cancel-form { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin-top: 16px; }
#lov .box, #lovci .box { margin-bottom: 12px; }
a.req { color: inherit; text-decoration: none; }
a.req:hover { border-color: var(--gold); }
.row-link { color: inherit; text-decoration: none; }
.row-link:hover { text-decoration: underline; }
.offer-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.offer-row label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.offer-row input, .offer-row select { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); width: 160px; }
.report-link { font-size: 13px; color: var(--ink-2) !important; text-decoration: underline; text-underline-offset: 2px; }
.info .report-link, #lov + .report-link { align-self: flex-start; }
.profile-acts { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.deal-panel { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1.5px dashed var(--gold); border-radius: 16px; background: var(--card); margin-bottom: 14px; }
.deal-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.deal-row > span { flex: 1 1 260px; }
.deal-row select, .deal-price input { font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); max-width: 100%; }
.deal-price { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.deal-price input { width: 140px; }
.ips-qr { display: flex; gap: 14px; align-items: center; margin: 0; flex-wrap: wrap; }
.ips-qr img { width: 180px; height: 180px; background: white; border-radius: 8px; }
.ips-qr figcaption { flex: 1 1 180px; font-size: 14px; }
.activity .box { display: flex; flex-direction: column; gap: 6px; }
.activity .box h2 { font-size: 22px; margin: 0; }
.act-row { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.act-row:hover b { text-decoration: underline; }
.act-row .hot { color: var(--brick); font-weight: 700; }

/* обсуждения: комментарии с ответами (листинг, потрага, «Šta je ovo?») и блок на главной */
.cthread { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.cmt { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.cmt p { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.cmt.reply { margin: 10px 0 0 22px; background: var(--paper); border-color: transparent; }
.cmt-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.cmt-meta details.inline { flex-basis: 100%; order: 3; }
.cmt-meta details.inline[open] summary { margin-bottom: 0; }
.cmt-meta details.inline:not([open]) { flex-basis: auto; order: 0; }
article .cthread { margin-top: 10px; }
.talk { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.talk a { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 14px 16px; background: var(--card);
  border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; }
.talk a:hover { border-color: var(--line-2); color: var(--ink); }
.talk q { quotes: "„" "“"; font-size: 15px; overflow-wrap: anywhere; }
.talk .on { font-family: var(--serif); font-size: 17px; line-height: 1.25; color: var(--brick); }
.talk .who { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .cmt.reply { margin-left: 12px; } }
.masked { color: var(--muted); font-style: italic; }
.bubble .link-warn { margin: 6px 0 0; padding: 6px 10px; border-radius: 10px; background: var(--brick-soft); color: var(--brick-dark); font-size: 13px; }

/* оценка знатоков на объявлении (из «Šta je ovo?») */
.appraisal { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--olive-soft);
  color: var(--olive-ink); text-decoration: none; }
.appraisal:hover { color: var(--olive-ink); background: var(--gold-soft); }
.appraisal b { font-size: 14px; }
.appraisal small { font-size: 13px; }
.price.price-text { font-size: clamp(22px, 5vw, 28px); line-height: 1.2; }

/* баннер согласия (правила, политика, статистика) — 11.11.2026 */
.consent { position: fixed; inset: auto 0 0 0; z-index: 50; padding: 0 12px 12px; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-in { pointer-events: auto; max-width: 720px; margin: 0 auto; padding: 16px 18px; border-radius: 18px; background: var(--ink);
  color: var(--paper); box-shadow: 0 10px 40px rgba(0, 0, 0, .25); font-size: 15px; }
.consent-in p { margin: 0 0 8px; }
.consent-in a:not(.btn) { color: var(--paper); text-decoration: underline; }
.consent-t { font-family: var(--serif); font-size: 20px; }
.consent-small { font-size: 13px; opacity: .85; }
.consent-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0 !important; }
@media (max-width: 560px) { .consent-btns .btn { flex: 1 1 100%; text-align: center; } }
.consent .consent-btns a.btn-line { color: var(--paper) !important; background: transparent; border-color: rgba(245, 239, 228, .7); }
.consent .consent-btns a.btn-line:hover { color: var(--ink) !important; background: var(--paper); }
@media (max-width: 560px) {
  .consent-in { font-size: 14px; padding: 14px; }
  .consent-t { font-size: 18px; }
  .consent-small { font-size: 12.5px; }
  .consent-btns .btn { padding-block: 10px; }
}
.ico-q path { fill: none; stroke: var(--olive); stroke-width: 2.6; stroke-linecap: round; }
.ico-q circle + path + circle { fill: var(--olive); }

/* «Kako postaviti oglas» — 11.11.2026 */
.howto-steps { list-style: none; counter-reset: step; padding-top: 24px; display: flex; flex-direction: column; gap: 28px; }
.howto-step { counter-increment: step; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; padding: 24px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg); }
.howto-text { flex: 1 1 340px; min-width: 0; }
.howto-text h2 { font-size: 26px; margin-bottom: 10px; }
.howto-text h2::before { content: counter(step) "."; color: var(--brick); margin-right: .3em; }
.howto-text p { margin: 0 0 10px; font-size: 16.5px; line-height: 1.6; max-width: 640px; }
.howto-shot { flex: 0 1 300px; margin: 0; }
.howto-shot img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line-2); box-shadow: 0 8px 24px rgba(42, 31, 26, .08); }
.howto-step.soon { background: transparent; border-style: dashed; }
.badge-soon { display: inline-block; vertical-align: middle; font-family: var(--sans); font-size: 13px; font-weight: 600; padding: 3px 10px;
  border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); }
@media (max-width: 560px) { .howto-step { padding: 16px; } .howto-text h2 { font-size: 22px; } .howto-shot { flex-basis: 100%; } }

/* /podrzi/ — 11.11.2026 */
.support-page { padding-block: 32px 64px; }
.support-ways { margin: 8px 0 28px; padding-left: 20px; font-size: 17px; line-height: 1.7; max-width: 760px; }
.support-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.support-grid > #poruka { flex: 999 1 420px; min-width: 0; }
.support-contacts { flex: 1 1 280px; }
.support-contacts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.support-contacts li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 16px; }
.support-contacts li span { color: var(--muted); }
.support-contacts a { font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* демо-контент прототипа — плашка «primer» (11.11.2026, market/demo.py) */
.demo-badge { position: absolute; z-index: 1; top: 12px; right: 12px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.demo-badge.inline { position: static; vertical-align: middle; font-size: 11px; padding: 2px 8px; }
.demo-note { background: var(--gold-soft); color: var(--gold-ink); }

/* --- Buvljaci (/buvljaci/): компактная выжимка, подробности на kuklalutka.com */
.bv-lead { font-family: var(--serif); font-size: 21px; line-height: 1.35; margin: 12px 0 0; max-width: 760px; }
.bv-sec { padding-top: 28px; }
.bv-sec h2 { font-size: 28px; margin-bottom: 8px; }
.bv-note { font-size: 14px; margin: 0 0 12px; }
.bv-ext { color: var(--muted); font-size: .85em; margin-left: 3px; }
.bv-day { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; }
.bv-day > summary { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 12px 16px;
  cursor: pointer; list-style: none; }
.bv-day > summary::-webkit-details-marker { display: none; }
.bv-day > summary::before { content: "▸"; color: var(--muted); margin-right: 8px; }
.bv-day[open] > summary::before { content: "▾"; }
.bv-when { flex: 1; }
.bv-day.weekend .bv-when { font-weight: 600; }
.bv-count { color: var(--muted); font-size: 14px; white-space: nowrap; }
.bv-day > p { margin: 0; padding: 0 16px 14px; }
.bv-list { list-style: none; margin: 0; padding: 0 16px 14px; columns: 3 260px; column-gap: 28px; }
.bv-list li { break-inside: avoid; padding: 4px 0; line-height: 1.35; }
.bv-list a { text-decoration: none; font-weight: 500; }
.bv-list a:hover { text-decoration: underline; }
.bv-src, .bv-time, .bv-sch { color: var(--muted); font-size: 14px; font-weight: 400; }
.bv-time { margin-left: 4px; white-space: nowrap; }
.bv-sch { display: block; }
.bv-tag { font-size: 12px; font-weight: 600; color: var(--olive-ink); background: var(--olive-soft); border-radius: 999px;
  padding: 1px 8px; margin-left: 4px; white-space: nowrap; }
.bv-city-list { margin: 0; padding: 0 16px 14px; }
.bv-city-list > div { padding: 6px 0; border-top: 1px solid var(--line); line-height: 1.45; }
.bv-city-list dt { font-weight: 700; display: inline; margin-right: 8px; }
.bv-city-list dd { display: inline; margin: 0; }
.bv-city-list a { text-decoration: none; }
.bv-city-list a.bv-time { color: var(--brick); font-size: 15px; margin-left: 0; }
.bv-more { background: var(--gold-soft); border-radius: var(--r-lg); padding: 22px 24px; max-width: 760px; }
.bv-more h2 { font-size: 26px; }
.bv-more p { margin: 10px 0 0; }
.bv-leave { font-size: 14px; color: var(--gold-ink); }
.bv-sources { font-size: 14px; max-width: 760px; margin-top: 16px; }
@media (max-width: 720px) {
  .bv-lead { font-size: 18px; }
  .bv-sec h2 { font-size: 24px; }
  .bv-day > summary { padding: 11px 14px; }
  .bv-list { padding-inline: 14px; }
}
p.auto-tr.foreign { margin: 2px 0 10px; }
.ill-note { font-size: 13px; color: var(--muted); margin: 6px 0 0; text-align: center; }

/* --- Поделиться (_share.html) */
.share { margin: 4px 0 2px; }
.share-label { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.share-row { display: flex; flex-wrap: wrap; gap: 6px; }
button.chip { background: none; font: inherit; font-size: 14px; cursor: pointer; }
.chip:hover { border-color: var(--ink); }

/* --- Вставка текста поста (listing_form, paste.js) */
.paste-box > summary { cursor: pointer; list-style: none; line-height: 1.45; }
.paste-box > summary::-webkit-details-marker { display: none; }
.paste-box > summary .muted { display: block; font-size: 14px; }
.paste-box[open] > summary { margin-bottom: 10px; }
.paste-box textarea { width: 100%; }
.paste-box .paste-go { margin-top: 10px; }

/* --- Вход через Google / Facebook (_social.html) */
.social-login { display: grid; gap: 10px; margin: 6px 0 4px; }
.social-btn { width: 100%; justify-content: center; }
.social-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.social-or::before, .social-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* --- Фото вещи (_photos.html, film.js): обложка по центру, соседи приглушены; одна высота, ширина по пропорциям */
.film { position: relative; }
.film-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  height: clamp(300px, 62vh, 600px); outline: none; overscroll-behavior-x: contain; }
.film-track::-webkit-scrollbar { display: none; }
.film-item { flex: 0 0 auto; height: 100%; max-width: 100%; scroll-snap-align: center; border-radius: var(--r-lg); overflow: hidden;
  background: var(--card); border: 1px solid var(--line); position: relative; cursor: zoom-in; }
.film:not(.js) .film-item:first-child { margin-left: auto; }   /* без JS: мало фото — по центру */
.film:not(.js) .film-item:last-child { margin-right: auto; }
.film-item img { display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity .25s, filter .25s; }
.film.js .film-item:not(.on) { cursor: pointer; }
.film.js .film-item:not(.on) img { opacity: .38; filter: saturate(.5) blur(1.5px); }     /* «размыть в белое» */
.film-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); background: color-mix(in srgb, var(--card) 90%, transparent); color: var(--ink);
  font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; box-shadow: 0 2px 8px rgb(0 0 0 / .12); }
.film-nav:disabled { opacity: .3; cursor: default; }
.film-nav.prev { left: 10px; }
.film-nav.next { right: 10px; }
.film-count { position: absolute; right: 12px; bottom: 12px; font-size: 13px; padding: 2px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 70%, transparent); color: var(--paper); pointer-events: none; }
.film.single .film-count { display: none; }
@media (max-width: 720px) {
  .film-track { height: min(115vw, 70vh); }
  .film-nav { display: none; }                   /* на телефоне листают пальцем */
}

/* Полноэкранный просмотр (film.js) */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--ink); color: var(--paper); overflow: hidden; }
.lightbox::backdrop { background: color-mix(in srgb, var(--ink) 96%, transparent); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--paper) 14%, transparent); color: var(--paper);
  cursor: pointer; display: grid; place-items: center; line-height: 1; }
.lightbox button:hover { background: color-mix(in srgb, var(--paper) 26%, transparent); }
.lb-close { top: 14px; right: 14px; width: 52px; height: 52px; font-size: 36px; padding-bottom: 4px; z-index: 2; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 38px; padding-bottom: 5px; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-count { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-size: 15px; opacity: .85; }
.lb-open { overflow: hidden; }
@media (max-width: 720px) { .lb-nav { width: 44px; height: 44px; font-size: 30px; } }

/* Цена в другой валюте — «(≈ 38 €)»: мельче и светлее основной */
.price-alt { font-weight: 400; color: var(--muted); font-size: .62em; white-space: nowrap; }
.card .price-alt { font-size: 14px; }
.req .price-alt { color: color-mix(in srgb, var(--card) 65%, transparent); font-size: 14px; }

/* «Sačuvaj» и страница проданного (13.11.2026) */
.save-form { margin: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.save { background: none; border: 0; padding: 4px 0; font: inherit; color: var(--brick); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
.save.on { font-weight: 600; text-decoration: none; }
.sold-page { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 32px; align-items: center; margin: 32px 0 8px; }
.sold-page img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; filter: grayscale(.35); }
.sold-page .btn { margin: 6px 8px 0 0; }
@media (max-width: 640px) { .sold-page { grid-template-columns: 1fr; gap: 16px; } .sold-page img { max-width: 240px; } }

/* Форма отправляется (send.js): видно, что нажатие принято */
form.sending button[type=submit], form.sending button:not([type]) { opacity: .6; cursor: progress; }

/* Порядок фото и обложка (photos.js, стандарт с 13.11.2026): первая — обложка */
.photo-nav { display: flex; gap: 6px; }
.photo-mv { flex: 1; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 13px; line-height: 1; }
.photo-mv:hover { border-color: var(--ink); }
.photo-tile:first-of-type .photo-nav .photo-mv:first-child, .photo-tile:last-of-type .photo-nav .photo-mv:last-child { visibility: hidden; }
.photo-tile:has(.cover-pick input:checked) img { outline: 3px solid var(--brick); outline-offset: -3px; }

/* Главная «вещи сразу» (13.11.2026): заголовок, закреплённые действия, витрина, пояснения свёрнуты */
.feed-top { padding-block: 28px 12px; }
.feed-title { font-size: clamp(28px, 4.2vw, 44px); letter-spacing: -.5px; line-height: 1.08; max-width: 26ch; text-wrap: balance; }
.feed-title i { color: var(--brick); }
.actions-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 30; background: var(--paper);
  border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); box-shadow: 0 6px 18px rgba(42, 31, 26, .08);
  transform: translateY(-110%); transition: transform .2s ease; }
.actions-bar.show { transform: none; }
@media (prefers-reduced-motion: reduce) { .actions-bar { transition: none; } }
.actions-row { display: flex; gap: 10px; padding-block: 8px; justify-content: flex-end; overflow-x: auto; scrollbar-width: none; }
.actions-row::-webkit-scrollbar { display: none; }
.actions-row .btn { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.actions-row .ico { width: 16px; height: 16px; fill: currentColor; }
.kako-radi { border: 1px solid var(--line); border-radius: 22px; background: var(--card); padding: 4px 20px; }
.kako-radi summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding-block: 16px; }
.kako-radi summary::-webkit-details-marker { display: none; }
.kako-radi summary h2 { display: inline; }
.kako-radi summary h2::after { content: " +"; color: var(--brick); }
.kako-radi[open] summary h2::after { content: " −"; }
.kako-hint { color: var(--ink-2); }
.kako-radi .hero { padding-block: 4px 20px; }
.kako-radi .shelf { margin-bottom: 20px; }
@media (max-width: 520px) {
  .actions-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .actions-row .btn { white-space: normal; justify-content: center; text-align: center; font-size: 13.5px; line-height: 1.15;
    padding: 8px 6px; border-radius: 14px; min-height: 44px; }
}

/* Короткий адрес профиля divno.rs/<ник> (13.11.2026) */
.handle-input { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.handle-prefix { display: flex; align-items: center; padding-inline: 12px; background: var(--paper); color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.handle-input input { border: 0 !important; border-radius: 0 !important; flex: 1; min-width: 0; }
.profile-share { margin: 16px 0 8px; display: grid; gap: 6px; }
.handle-link { margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 700; }
.handle-link a { color: var(--brick); text-decoration: none; }
