/* SL Отзывы — тёмная тема SportsLegion */

.slr { color: #fff; font-family: inherit; margin-top: 8px; }
.slr * { box-sizing: border-box; }

/* ── Сводка ── */
.slr-summary {
  display: flex; gap: 28px; flex-wrap: wrap; align-items: center;
  padding-bottom: 18px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.slr-summary-score { text-align: center; min-width: 120px; }
.slr-avg { font-size: 44px; font-weight: 700; line-height: 1; }
.slr-count { color: #b7a8cc; font-size: 13px; margin-top: 6px; }
.slr-dist { flex: 1 1 240px; min-width: 220px; }
.slr-dist-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #b7a8cc; margin: 4px 0; }
.slr-dist-row.is-clickable { cursor: pointer; border-radius: 6px; padding: 2px 6px; margin: 2px -6px; transition: background .12s; }
.slr-dist-row.is-clickable:hover { background: rgba(255,255,255,.06); }
.slr-dist-row.is-active { background: rgba(192,73,127,.2); }
.slr-dist-row.is-active .slr-dist-lbl { color: #fff; }
.slr-dist-lbl { width: 26px; }
.slr-dist-bar { flex: 1; height: 7px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; }
.slr-dist-bar span { display: block; height: 100%; background: #f5b945; border-radius: 99px; }
.slr-dist-num { width: 30px; text-align: right; }

/* ── Звёзды (дробные через наложение) ── */
.slr-stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 1px; }
.slr-stars-bg { color: #5a4a72; }
.slr-stars-fg { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: #f5b945; }

/* ── Управление ── */
.slr-controls { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.slr-btn {
  background: linear-gradient(135deg, #7c3aed, #db2777); color: #fff; border: 0; border-radius: 99px;
  padding: 9px 18px; font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: filter .15s;
}
.slr-btn:hover { filter: brightness(1.1); }
.slr-chip {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.22);
  border-radius: 99px; padding: 7px 14px; font-size: 12px; cursor: pointer; font-family: inherit;
}
.slr-chip[aria-pressed="true"] { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.slr-sort {
  margin-left: auto; width: auto !important; max-width: 240px; flex: 0 0 auto;
  background: #1e0d3a; color: #fff;
  border: 1px solid rgba(255,255,255,.18); border-radius: 8px;
  padding: 7px 10px; font-size: 12px; font-family: inherit;
}

/* ── Форма ── */
.slr-form-wrap { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 18px; margin-bottom: 20px; }
.slr-form .slr-field { margin-bottom: 14px; }
.slr-form label { display: block; font-size: 13px; color: #d8cce8; margin-bottom: 6px; }
.slr-hint { color: #8a7aa3; font-size: 12px; }
.slr-row { display: flex; gap: 12px; flex-wrap: wrap; }
.slr-row .slr-field { flex: 1 1 180px; }
.slr-row-3 .slr-field { flex: 1 1 150px; }
.slr .slr-form input[type="text"],
.slr .slr-form input[type="email"],
.slr .slr-form textarea {
  width: 100%;
  background: #1e0d3a !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  box-shadow: none !important;
}
.slr .slr-form input[type="text"]::placeholder,
.slr .slr-form input[type="email"]::placeholder,
.slr .slr-form textarea::placeholder { color: #8a7aa3 !important; opacity: 1; }
.slr .slr-form input[type="text"]:focus,
.slr .slr-form input[type="email"]:focus,
.slr .slr-form textarea:focus { outline: none; border-color: #c0497f !important; }
.slr .slr-form textarea { resize: vertical; }

.slr-edit-note {
  background: rgba(245,185,69,.1); border: 1px solid rgba(245,185,69,.3);
  color: #f5d08a; font-size: 13px; padding: 10px 12px; border-radius: 8px; margin-bottom: 14px;
}

.slr-rate-input { display: inline-flex; gap: 6px; font-size: 30px; color: #5a4a72; cursor: pointer; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 8px 16px; }
.slr-rate-star { transition: color .1s; }
.slr-rate-star.on { color: #f5b945; }
.slr-charcount { margin-top: 6px; font-size: 12px; color: #8a7aa3; text-align: right; }
.slr-charcount.is-near { color: #d76c9d; }

.slr-upload { display: inline-block; }
.slr-upload-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px dashed rgba(255,255,255,.3); border-radius: 8px;
  padding: 9px 14px; font-size: 13px; color: #d8cce8; cursor: pointer;
}
.slr-upload-btn:hover { border-color: #c0497f; color: #fff; }
.slr-previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.slr-prev { position: relative; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; }
.slr-prev img { width: 100%; height: 100%; object-fit: cover; }
.slr-prev-del {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px;
  background: rgba(0,0,0,.6); color: #fff; border: 0; border-radius: 50%;
  font-size: 12px; line-height: 1; cursor: pointer;
}

.slr-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.slr-form-foot { display: flex; align-items: center; gap: 14px; }
.slr-form-msg { font-size: 13px; }
.slr-form-msg.ok { color: #5dca8f; }
.slr-form-msg.err { color: #ff8585; }
.slr-note { color: #b7a8cc; font-size: 14px; }
.slr-note a { color: #d76c9d; }

/* ── Карточки ── */
.slr-empty { color: #b7a8cc; font-size: 14px; }
.slr-card { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; }
.slr-card:first-child { border-top: 0; }
.slr-card-head { display: flex; align-items: center; gap: 10px; }
.slr-ava { width: 36px; height: 36px; border-radius: 50%; background: #3a2a5c; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; flex: 0 0 auto; overflow: hidden; }
.slr-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slr-card-name { font-size: 14px; }
.slr-verified { color: #5dca8f; font-size: 12px; margin-left: 6px; white-space: nowrap; }
.slr-card-sub { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.slr-date { color: #8a7aa3; font-size: 12px; }
.slr-card-fit { color: #b7a8cc; font-size: 12px; margin: 8px 0 4px; }
.slr-card-section { margin-top: 12px; }
.slr-section-label { font-weight: 700; font-size: 13px; color: #fff; margin-bottom: 5px; }
.slr-card-text { font-size: 14px; line-height: 1.6; margin: 0; color: #cfc6e3; }
.slr-card-photos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.slr-photo { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; display: block; }
.slr-photo img { width: 100%; height: 100%; object-fit: cover; }
.slr-card-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: #b7a8cc; font-size: 12px; }

/* ── Ответ магазина ── */
.slr-reply { margin: 12px 0 0 52px; padding: 11px 14px; background: rgba(192,73,127,.08); border-left: 3px solid #c0497f; border-radius: 0 10px 10px 0; }
.slr-reply-head { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; flex-wrap: wrap; }
.slr-reply-badge { font-size: 12.5px; font-weight: 700; color: #d76c9d; }
.slr-reply-date { font-size: 12px; color: #8a7aa3; }
.slr-reply-text { font-size: 14px; color: #d8cde8; line-height: 1.5; }
@media (max-width: 600px) { .slr-reply { margin-left: 0; } }

.slr-help {
  background: transparent; border: 1px solid; border-radius: 99px;
  padding: 5px 12px; font-size: 12px; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px; line-height: 1;
  transition: background .12s, color .12s, border-color .12s;
}
.slr-help svg { width: 15px; height: 15px; display: block; }
.slr-help.down svg { transform: rotate(180deg); }
.slr-help.up { color: #5dca8f; border-color: rgba(93,202,143,.5); }
.slr-help.down { color: #ff8585; border-color: rgba(255,133,133,.5); }
.slr-help.up:hover { background: rgba(93,202,143,.14); }
.slr-help.down:hover { background: rgba(255,133,133,.14); }
.slr-help.up.active { background: #2fa86a; border-color: #2fa86a; color: #fff; }
.slr-help.down.active { background: #d64a4a; border-color: #d64a4a; color: #fff; }

/* ── Рейтинг в каталоге (DNS-стиль) ── */
.slr-loop { display: inline-flex; align-items: center; gap: 5px; margin: 4px 0; font-size: 13px; text-decoration: none; }
.slr-loop-star { color: #f5b945; font-size: 14px; line-height: 1; }
.slr-loop-num { color: #fff; font-weight: 500; }
.slr-loop-cnt { color: #8a7aa3; }
.slr-loop:hover .slr-loop-num { text-decoration: underline; }
.slr-loop-empty { display: inline-flex; align-items: center; gap: 5px; margin: 4px 0; font-size: 12px; color: #6b5d85; text-decoration: none; }

/* ── Редактирование: удаление существующих фото ── */
.slr-edit-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.slr-edit-photo { position: relative; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; }
.slr-edit-photo img { width: 100%; height: 100%; object-fit: cover; }
.slr-edit-photo-del { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; background: rgba(0,0,0,.65); color: #fff; border: 0; border-radius: 50%; font-size: 13px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.slr-edit-photo-del:hover { background: #d64a4a; }

/* ── Показать ещё / нет результатов ── */
.slr-more { display: inline-block; margin-top: 16px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: 9px 22px; font-size: 13px; cursor: pointer; font-family: inherit; transition: background .12s; }
.slr-more:hover { background: rgba(255,255,255,.08); }
.slr-noresults { color: #b7a8cc; font-size: 14px; margin-top: 12px; }
.slr-more[hidden], .slr-noresults[hidden] { display: none !important; }

/* ── Лайтбокс-галерея ── */
.slr-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(10,2,22,.92); display: flex; align-items: center; justify-content: center; }
.slr-lb-stage { max-width: 92vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.slr-lb-img { max-width: 92vw; max-height: 74vh; border-radius: 10px; object-fit: contain; }
.slr-lb-cap { color: #fff; text-align: center; max-width: 600px; padding: 0 12px; }
.slr-lb-stars { margin-bottom: 4px; }
.slr-lb-author { font-weight: 600; font-size: 14px; }
.slr-lb-text { color: #cbbfe0; font-size: 13px; margin-top: 4px; max-height: 64px; overflow: auto; }
.slr-lb-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.slr-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.slr-lb-nav:hover { background: rgba(255,255,255,.22); }
.slr-lb-prev { left: 16px; }
.slr-lb-next { right: 16px; }
.slr-lb-counter { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #cbbfe0; font-size: 13px; }
@media (max-width: 600px) { .slr-lb-nav { width: 40px; height: 40px; } .slr-lb-img { max-height: 66vh; } }

@media (max-width: 600px) {
  .slr-avg { font-size: 38px; }
  .slr-sort { margin-left: 0; }
  .slr-rate-input { font-size: 34px; }
}

/* ── Лента фото товара (все фото из отзывов) ── */
.slr-photostrip { display: flex; gap: 8px; flex-wrap: wrap; margin: 2px 0 20px; }
.slr-ps-item { position: relative; width: 72px; height: 72px; flex: 0 0 auto; padding: 0; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; overflow: hidden; background: #160a2b; cursor: pointer; transition: border-color .15s; }
.slr-ps-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slr-ps-item:hover { border-color: #c0497f; }
.slr-ps-more .slr-ps-count { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(18,4,38,.66); color: #fff; font-weight: 700; font-size: 15px; }

/* ── Лайтбокс «карточка отзыва» (слева отзыв, справа фото, снизу лента) ── */
.slr-lb2 { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; }
.slr-lb2-backdrop { position: absolute; inset: 0; background: rgba(8,2,18,.85); }
.slr-lb2-modal { position: relative; z-index: 1; display: flex; width: min(1140px, 95vw); max-height: 92vh; background: #160a2b; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; overflow: hidden; }
.slr-lb2-close { position: absolute; top: 10px; right: 12px; z-index: 3; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.slr-lb2-close:hover { background: #c0497f; }
.slr-lb2-review { width: 400px; flex: 0 0 400px; padding: 26px 22px 22px; overflow-y: auto; border-right: 1px solid rgba(255,255,255,.12); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.slr-lb2-review::-webkit-scrollbar { width: 8px; height: 8px; }
.slr-lb2-review::-webkit-scrollbar-track { background: transparent; }
.slr-lb2-review::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 4px; }
.slr-lb2-author { color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.slr-lb2-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.slr-lb2-text { color: #b7a8cc; font-size: 14px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: break-word; word-break: break-word; }
.slr-lb2-gallery { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; background: #0e0420; }
.slr-lb2-stage { position: relative; flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 16px; }
.slr-lb2-img { max-width: 100%; max-height: 64vh; object-fit: contain; border-radius: 8px; }
.slr-lb2-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 20px; cursor: pointer; transition: background .15s; }
.slr-lb2-prev { left: 12px; }
.slr-lb2-next { right: 12px; }
.slr-lb2-nav:hover { background: #c0497f; }
.slr-lb2-counter { text-align: center; color: #8a7aa3; font-size: 12px; padding: 2px 0 8px; }
.slr-lb2-thumbs { display: flex; gap: 8px; padding: 0 16px 16px; overflow-x: auto; flex-wrap: nowrap; }
.slr-lb2-thumb { width: 56px; height: 56px; flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #160a2b; cursor: pointer; opacity: .55; transition: opacity .15s, border-color .15s; }
.slr-lb2-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slr-lb2-thumb.is-active { border-color: #c0497f; opacity: 1; }
.slr-lb2-thumb:hover { opacity: 1; }
@media (max-width: 680px) {
  .slr-lb2-modal { flex-direction: column; width: 96vw; }
  .slr-lb2-review { width: auto; flex: 0 0 auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); max-height: 26vh; padding: 16px; }
  .slr-lb2-img { max-height: 46vh; }
}

/* ── DNS-панель фильтров: поиск + сортировка + чипы оценок ── */
.slr-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.slr-actions .slr-sort { margin-left: auto; }
/* Перебиваем правило темы `.woocommerce div.product select` (width:100%), которое
   растягивало сортировку на всю ширину и переносило её под кнопку.
   Специфичность (0,3,2) > темы (0,2,2); тёмный фон и шеврон остаются от темы. */
.woocommerce div.product select.slr-sort,
.slr-actions select.slr-sort {
  width: auto !important;
  max-width: 260px !important;
  min-width: 200px !important;
  flex: 0 0 auto !important;
  display: inline-block !important;
  margin-left: auto !important;
  padding: 10px 36px 10px 14px !important;
}
.slr-fbar { margin-bottom: 16px; }
.slr-search {
  display: block; width: 100%; box-sizing: border-box; margin-bottom: 12px;
  background-color: rgba(255,255,255,.05) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 12px !important;
  padding: 13px 44px 13px 16px !important;
  font-size: 14px; font-family: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a7aa3' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.slr-search::placeholder { color: #8a7aa3 !important; }
.slr-search:focus { outline: none; border-color: #c0497f !important; }
.slr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.slr-chip { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.04); color: #fff; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 7px 12px; font-size: 13px; line-height: 1; cursor: pointer; font-family: inherit; transition: border-color .15s, background .15s; }
.slr-chip:hover { border-color: rgba(255,255,255,.4); }
.slr-chip-box { position: relative; width: 16px; height: 16px; flex: 0 0 auto; border: 1.5px solid rgba(255,255,255,.4); border-radius: 4px; }
.slr-chip.is-active { border-color: #c0497f; background: rgba(192,73,127,.14); }
.slr-chip.is-active .slr-chip-box { background: #c0497f; border-color: #c0497f; }
.slr-chip.is-active .slr-chip-box::after { content: ""; position: absolute; left: 4.5px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.slr-chip-stars { color: #f5b945 !important; letter-spacing: 1px; }
.slr-chip-n { color: #8a7aa3; }
.slr-chip.is-active .slr-chip-n { color: #d76c9d; }

/* ── Плашки в карточке отзыва (оценка, размер, рост, цвет) ── */
.slr-card-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 8px; }
.slr-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 4px 10px; font-size: 12.5px; color: #b7a8cc; line-height: 1.5; }
.slr-badge-rate { color: #fff; }
.slr-badge-rate .slr-stars { font-size: 13px; }

/* ── Вопросы о товаре (Q&A) ── */
.slr-q { color: #e8e6f0; }
.slr-q-actions { margin-bottom: 16px; }
.slr-q-needlogin { color: #b7a8cc; font-size: 14px; margin: 0 0 16px; }
.slr-q-form-wrap { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 18px; margin-bottom: 22px; }
.slr-q-form .slr-field { margin-bottom: 14px; }
.slr-q-form label { display: block; font-size: 13px; color: #d8cce8; margin-bottom: 6px; }
.slr-q-form input[type="text"],
.slr-q-form input[type="email"],
.slr-q-form textarea {
  width: 100%; box-sizing: border-box;
  background: #1e0d3a !important; color: #fff !important;
  border: 1px solid rgba(255,255,255,.18) !important; border-radius: 12px !important;
  padding: 10px 12px; font-size: 14px; font-family: inherit; box-shadow: none !important;
}
.slr-q-form input::placeholder, .slr-q-form textarea::placeholder { color: #8a7aa3 !important; opacity: 1; }
.slr-q-form input:focus, .slr-q-form textarea:focus { outline: none; border-color: #c0497f !important; }
.slr-q-form textarea { resize: vertical; }
.slr-q-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.slr-q-msg { font-size: 13px; }
.slr-q-msg.is-error { color: #ff8da3; }
.slr-q-success { color: #7ee0a0; font-size: 14px; margin: 0; }

.slr-q-list { display: flex; flex-direction: column; gap: 16px; }
.slr-q-empty { color: #8a7aa3; font-size: 14px; }
.slr-q-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 16px 18px; }
.slr-q-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.slr-q-icon { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #db2777); color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.slr-q-author { color: #fff; font-weight: 600; font-size: 14px; }
.slr-q-date { color: #8a7aa3; font-size: 12px; }
.slr-q-title { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.slr-q-text { color: #cfc6e3; font-size: 14px; line-height: 1.6; overflow-wrap: break-word; word-break: break-word; }
.slr-q-answer { margin-top: 12px; padding: 12px 14px; background: rgba(124,58,237,.10); border: 1px solid rgba(124,58,237,.28); border-radius: 10px; }
.slr-q-answer-head { color: #c9b6ff; font-weight: 700; font-size: 13px; margin-bottom: 5px; }
.slr-q-answer-date { color: #8a7aa3; font-weight: 400; }
.slr-q-answer-text { color: #e0d9f0; font-size: 14px; line-height: 1.6; overflow-wrap: break-word; word-break: break-word; }

/* ── Q&A: аватар вопроса + ответы (тред) ── */
.slr-q-ava { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #db2777); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.slr-q-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }

.slr-a-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; padding-left: 18px; border-left: 2px solid rgba(255,255,255,.08); }
.slr-a-card { display: flex; gap: 10px; }
.slr-a-ava { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; background: #3a2a5c; color: #fff; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.slr-a-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slr-a-body { flex: 1 1 auto; min-width: 0; }
.slr-a-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.slr-a-author { color: #fff; font-weight: 600; font-size: 13.5px; }
.slr-a-badge { background: linear-gradient(135deg, #7c3aed, #db2777); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.slr-a-date { color: #8a7aa3; font-size: 12px; }
.slr-a-text { color: #cfc6e3; font-size: 13.5px; line-height: 1.55; overflow-wrap: break-word; word-break: break-word; }
.slr-a-card.is-official .slr-a-text { color: #e0d9f0; }

.slr-a-reply { margin-top: 14px; }
.slr-a-toggle { background: transparent; border: 1px solid rgba(255,255,255,.2); color: #d8cce8; border-radius: 99px; padding: 6px 16px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; transition: border-color .15s, color .15s; }
.slr-a-toggle:hover { border-color: #c0497f; color: #fff; }
.slr-a-needlogin { color: #b7a8cc; font-size: 13px; margin: 10px 0 0; }
.slr-a-form { margin-top: 12px; }
.slr-a-form .slr-field { margin-bottom: 12px; }
.slr-a-form label { display: block; font-size: 13px; color: #d8cce8; margin-bottom: 6px; }
.slr-a-form input[type="text"],
.slr-a-form input[type="email"],
.slr-a-form textarea {
  width: 100%; box-sizing: border-box;
  background: #1e0d3a !important; color: #fff !important;
  border: 1px solid rgba(255,255,255,.18) !important; border-radius: 12px !important;
  padding: 10px 12px; font-size: 14px; font-family: inherit; box-shadow: none !important;
}
.slr-a-form input::placeholder, .slr-a-form textarea::placeholder { color: #8a7aa3 !important; opacity: 1; }
.slr-a-form input:focus, .slr-a-form textarea:focus { outline: none; border-color: #c0497f !important; }
.slr-a-form textarea { resize: vertical; }

/* ── Q&A: вложенные ответы (лесенка) ── */
.slr-a-card .slr-a-list { padding-left: 14px; margin-top: 10px; }
.slr-a-card .slr-a-reply { margin-top: 8px; }
.slr-a-card .slr-a-toggle { padding: 4px 12px; font-size: 12px; }
@media (max-width: 600px) { .slr-a-list { padding-left: 10px; } }
