/* «Написать продавцу», отзывы и рейтинг (js/obv/obv-talk.js) — на странице объявления и фирмы; формы переписки и
   отзывов — и в кабинете (account.html подключает этот же файл). Поля ввода — 16px (телефон не увеличивает страницу),
   длинный текст переносится (без горизонтальной прокрутки на 375/414 px). */
html[data-skin] .talk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html[data-skin] .obv-item__talk { margin: 14px 0 0; min-width: 0; }
html[data-skin] .talk-open { width: 100%; }
html[data-skin] .talk-form { display: grid; gap: 10px; margin: 12px 0 0; min-width: 0; }
html[data-skin] .talk-fld { display: grid; gap: 6px; min-width: 0; }
html[data-skin] .talk-fld > span { font-size: 14px; color: var(--sk-muted); }
html[data-skin] .talk-form textarea,
html[data-skin] .talk-form input[type="text"] {
  box-sizing: border-box; width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid var(--sk-line); border-radius: 10px;
  background: var(--sk-bg, #fff); color: var(--sk-ink); font: 400 16px/1.4 var(--sk-font); resize: vertical;
}
html[data-skin] .talk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
html[data-skin] .talk-file { position: relative; }
html[data-skin] .talk-note { margin: 0; font-size: 13px; color: var(--sk-muted); overflow-wrap: anywhere; }
html[data-skin] .talk-err { margin: 0; color: #b42318; font-size: 14px; overflow-wrap: anywhere; }
html[data-skin] .talk-ok { margin: 0 0 8px; color: #067647; font-size: 14px; overflow-wrap: anywhere; }
html[data-skin] .talk-ok a { color: inherit; font-weight: 600; }
html[data-skin] .talk-link { border: 0; background: none; padding: 0; color: var(--sk-muted); font: 400 13px/1.3 var(--sk-font); text-decoration: underline; cursor: pointer; }
html[data-skin] .talk-shots { display: flex; flex-wrap: wrap; gap: 8px; }
html[data-skin] .talk-shot { position: relative; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--sk-soft); }
html[data-skin] .talk-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
html[data-skin] .talk-shot button { position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 16px; line-height: 24px; cursor: pointer; }

/* рейтинг и отзывы */
html[data-skin] .talk-stars { color: #f5a524; letter-spacing: 1px; white-space: nowrap; }
html[data-skin] .talk-stars i { color: var(--sk-line); font-style: normal; }
html[data-skin] .talk-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--sk-ink); font-size: 14px; text-decoration: none; }
html[data-skin] .talk-rating-slot { margin: 6px 0 0 !important; }
html[data-skin] .talk-revs { margin: 24px 0 0; min-width: 0; }
html[data-skin] .talk-revs__list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; }
html[data-skin] .talk-rev { padding: 12px 14px; border: 1px solid var(--sk-line); border-radius: 10px; min-width: 0; overflow-wrap: anywhere; }
html[data-skin] .talk-rev p { margin: 0 0 6px; }
html[data-skin] .talk-rev__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
html[data-skin] .talk-rev__head small { color: var(--sk-muted); }
html[data-skin] .talk-rev__text { white-space: pre-line; }
html[data-skin] .talk-rev__reply { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid var(--sk-line); background: var(--sk-soft); border-radius: 0 8px 8px 0; }
html[data-skin] .talk-rev__reply p { white-space: pre-line; }
html[data-skin] .talk-rev__rh { font-size: 13px; color: var(--sk-muted); white-space: normal !important; }
html[data-skin] .talk-rev__act { margin: 6px 0 0 !important; }
html[data-skin] .talk-rate { margin: 0; padding: 0; border: 0; min-width: 0; }
html[data-skin] .talk-rate legend { margin: 0 0 6px; padding: 0; font-size: 14px; color: var(--sk-muted); }
/* звёзды справа налево: выбранная и все «меньшие» (правее в разметке) — жёлтые */
html[data-skin] .talk-rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
html[data-skin] .talk-rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
html[data-skin] .talk-rate__stars label { font-size: 30px; line-height: 1; color: var(--sk-line); cursor: pointer; padding: 4px; }
html[data-skin] .talk-rate__stars input:checked ~ label,
html[data-skin] .talk-rate__stars label:hover,
html[data-skin] .talk-rate__stars label:hover ~ label { color: #f5a524; }
html[data-skin] .talk-rate__stars input:focus-visible + label { outline: 2px solid var(--sk-accent); border-radius: 6px; }
