/* ===== Quick rating in profile hero ===== */
.profile__quick-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 6px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: all 0.18s ease;
  width: fit-content;
}
.profile__quick-rating:hover {
  border-color: #ffd14a;
  background: rgba(255, 209, 74, 0.04);
  box-shadow: 0 0 18px rgba(255, 209, 74, 0.18);
}
.profile__quick-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: #ffd14a;
  text-shadow: 0 0 12px rgba(255, 209, 74, 0.5);
  letter-spacing: -0.02em;
  line-height: 1;
}
.profile__quick-count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  border-left: 1px solid var(--line);
  padding-left: 12px;
  margin-left: 4px;
}
.profile__quick-jump {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-left: auto;
  padding-left: 14px;
}

/* ===== Ratings & Reviews ===== */
.reviews { margin-top: 28px; }

/* Stars */
.stars {
  display: inline-flex;
  gap: 2px;
  font-size: var(--star-size, 14px);
  color: var(--star-color, #ffd14a);
  letter-spacing: 0;
  line-height: 1;
}
.star { text-shadow: 0 0 4px var(--star-color, #ffd14a); }
.star--empty { color: rgba(255, 209, 74, 0.22); text-shadow: none; }
.star--half {
  background: linear-gradient(90deg, var(--star-color, #ffd14a) 50%, rgba(255, 209, 74, 0.22) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Header / aggregated card ===== */
.reviews__head {
  --tool-color: #00f0ff;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55)),
    radial-gradient(circle at 0% 0%, color-mix(in oklab, var(--tool-color) 12%, transparent), transparent 60%);
  padding: 24px 26px;
}
.reviews__head-main {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 36px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--line);
}
.reviews__overall { display: flex; gap: 18px; align-items: center; }
.reviews__overall-num {
  font-family: var(--font-display);
  font-size: 78px;
  font-weight: 700;
  line-height: 0.9;
  color: var(--tool-color);
  text-shadow: 0 0 26px color-mix(in oklab, var(--tool-color) 45%, transparent);
  letter-spacing: -0.04em;
}
.reviews__overall-meta { display: flex; flex-direction: column; gap: 6px; }
.reviews__overall-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}
.reviews__overall-updated {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--lime);
  display: flex; align-items: center; gap: 6px;
}
.reviews__overall-updated .dot--live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse { 50% { opacity: 0.4; } }

/* Distribution bars */
.reviews__dist { display: flex; flex-direction: column; gap: 6px; }
.reviews__dist-row {
  display: grid;
  grid-template-columns: 28px 1fr 42px;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-dim);
}
.reviews__dist-n { color: #ffd14a; letter-spacing: 0.04em; }
.reviews__dist-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.reviews__dist-fill {
  height: 100%;
  box-shadow: 0 0 10px currentColor;
  transition: width 0.8s cubic-bezier(.2,.8,.2,1);
}
.reviews__dist-pct { text-align: right; color: var(--ink); }

/* Per-source grid */
.reviews__sources {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.reviews__source {
  --src-color: #e0e0e0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  font-family: var(--font-mono);
  transition: all 0.18s ease;
  cursor: pointer;
}
.reviews__source:hover {
  border-color: var(--src-color);
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 0 1px color-mix(in oklab, var(--src-color) 40%, transparent);
}
.reviews__source-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--src-color);
}
.reviews__source-glyph { font-size: 13px; }
.reviews__source-name { flex: 1; }
.reviews__source-arrow { opacity: 0.5; }
.reviews__source-body {
  display: flex; flex-direction: column; gap: 3px;
}
.reviews__source-rating {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.reviews__source-count {
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}
.reviews__source-domain {
  font-size: 9px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  border-top: 1px dashed var(--line);
  padding-top: 6px;
  margin-top: auto;
}

/* ===== Themes ===== */
.reviews__themes {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 18px 22px;
}
.reviews__themes-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
  margin-bottom: 12px;
}
.reviews__themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.reviews__theme {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.reviews__theme-pol {
  font-size: 14px;
  width: 16px; text-align: center;
  font-weight: 700;
}
.reviews__theme--pos .reviews__theme-pol { color: var(--lime); text-shadow: 0 0 6px var(--lime); }
.reviews__theme--mixed .reviews__theme-pol { color: #ffb547; text-shadow: 0 0 6px #ffb547; }
.reviews__theme--neg .reviews__theme-pol { color: #ff3b6a; text-shadow: 0 0 6px #ff3b6a; }
.reviews__theme-label { flex: 1; color: var(--ink); }
.reviews__theme-score {
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ===== Review list ===== */
.reviews__list { margin-top: 22px; }
.reviews__list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.reviews__list-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}
.reviews__list-filters {
  display: flex; gap: 4px;
}
.reviews__list-filters button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.reviews__list-filters button:hover { border-color: var(--cyan); color: var(--cyan); }
.reviews__list-filters button.is-active {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  box-shadow: 0 0 14px color-mix(in oklab, var(--cyan) 50%, transparent);
}

.review {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 16px 20px;
  margin-bottom: 10px;
}
.review__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.review__author { color: var(--ink); font-weight: 600; }
.review__src { letter-spacing: 0.06em; }
.review__ago { color: var(--ink-faint); }
.review__stars { margin-left: auto; }
.review__text {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  font-family: var(--font-display);
  margin-bottom: 10px;
  text-wrap: pretty;
}
.review__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.review__helpful { color: var(--lime); }
.review__permalink {
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}
.review__permalink:hover { color: var(--cyan); }

.reviews__loadmore {
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: all 0.18s ease;
}
.reviews__loadmore:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.04);
  box-shadow: inset 0 0 24px rgba(0, 240, 255, 0.06);
}

/* Responsive squeeze */
@media (max-width: 960px) {
  .reviews__head-main { grid-template-columns: 1fr; gap: 18px; }
  .reviews__sources { grid-template-columns: repeat(2, 1fr); }
}
