/* Відгуки про сервери — кольори з теми (--accent, --grad), без теми — золото */
.rv { --rc1: var(--accent, #e2b45a); --rgrad: var(--grad, linear-gradient(135deg, #f3d58f, #d9a648)); }
.rv-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.rv-star { width: 14px; height: 14px; display: inline-block; background: rgba(255,255,255,.14);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") center/contain no-repeat; }
.rv-star.is-on { background: #fbbf24; }
.rv-star.is-half { background: linear-gradient(90deg, #fbbf24 50%, rgba(255,255,255,.14) 50%); }
.rv-mini { display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #fde68a; background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.35); white-space: nowrap; }
.tag--off { color: #fca5a5; background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.35); }

.rv { margin-top: 16px; }
.rv__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rv__score { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 130px; }
.rv__score > b { font-family: var(--font-d, inherit); font-size: 46px; font-weight: 900; line-height: 1; color: #fff; text-shadow: 0 0 24px rgba(251,191,36,.45); }
.rv__score .rv-star { width: 18px; height: 18px; }
.rv__score small { color: var(--muted); font-size: 12px; }
.rv__dist { display: flex; flex-direction: column; gap: 4px; max-width: 420px; }
.rv__bar { display: grid; grid-template-columns: 34px minmax(0, 1fr) 30px; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.rv__bar i { height: 7px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; display: block; }
.rv__bar em { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #f59e0b, #fde68a); }
.rv__bar small { text-align: right; }
.rv__cta { text-align: right; max-width: 260px; }
.rv__cta p { margin: 0 0 8px; }

.rv__form { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rv__form[hidden] { display: none; }
.rv__form textarea { width: 100%; resize: vertical; min-height: 96px; }
.rv__formbtns { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
/* зірки-оцінка: radio справа наліво, щоб :hover підсвічував усі попередні */
.rv__rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rv__rate input { position: absolute; opacity: 0; pointer-events: none; }
.rv__rate label { font-size: 32px; line-height: 1; cursor: pointer; color: rgba(255,255,255,.18); transition: color .15s, transform .15s, text-shadow .15s; }
.rv__rate label:hover, .rv__rate label:hover ~ label, .rv__rate input:checked ~ label { color: #fbbf24; text-shadow: 0 0 14px rgba(251,191,36,.6); }
.rv__rate label:hover { transform: scale(1.15); }
.rv__rate input:focus-visible + label { outline: 2px solid var(--rc1); border-radius: 4px; }

.rv__list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.rv__item { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.rv__item.is-own { border-color: rgba(251,191,36,.35); }
.rv__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv__ava { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; font-weight: 900; color: #fff; background: var(--rgrad); }
.rv__body { margin: 8px 0 0; line-height: 1.6; word-break: break-word; }
.rv__reply { margin-top: 10px; padding: 10px 12px; border-left: 3px solid var(--rc1); border-radius: 0 10px 10px 0; background: rgba(255,255,255,.03); }
.rv__reply b { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--rc1); }
.rv__reply .ico { width: 14px; height: 14px; }
.rv__reply p { margin: 4px 0 0; }
.rv__replyform { margin-top: 8px; }
.rv__replyform summary { cursor: pointer; color: var(--accent2, var(--rc1)); font-size: 13px; font-weight: 700; }
.rv__replyform form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; align-items: flex-start; }
.rv__replyform textarea { width: 100%; }
.rv__empty { margin: 16px 0 0; }

@media (max-width: 760px) {
  .rv__top { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .rv__cta { text-align: left; max-width: none; }
}
