/* SIIK Reviews: rating summary + review wall. Scoped to .srv */
.srv {
  --srv-text: #F4F4F8;
  --srv-muted: #A7AEC4;
  --srv-accent: #B197FF;
  --srv-star: #F5B942;
  --srv-card: rgba(14, 14, 24, 0.5);
  --srv-line: rgba(255, 255, 255, 0.08);
  color: var(--srv-text);
  font-family: Roboto, system-ui, sans-serif;
  font-weight: 400;
  text-align: left;
}
.srv *, .srv *::before, .srv *::after { box-sizing: border-box; }
.srv p { margin: 0; }

/* summary */
.srv-sum {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px;
  padding: 24px 28px; margin-bottom: 20px;
  border-radius: 20px; border: 1px solid var(--srv-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)), var(--srv-card);
}
.srv-score { display: flex; align-items: center; gap: 18px; }
.srv-score > b { font-family: Poppins, system-ui, sans-serif; font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.srv-score p { margin-top: 4px; font-size: 14px; color: var(--srv-muted); }
.srv-stars { color: var(--srv-star); letter-spacing: 2px; font-size: 15px; line-height: 1; white-space: nowrap; }
.srv-stars i { font-style: normal; color: rgba(255, 255, 255, .18); }
.srv-stars--lg { font-size: 22px; letter-spacing: 3px; }
.srv-dist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; width: min(100%, 360px); }
.srv-dist li { display: grid; grid-template-columns: 28px 1fr 38px; align-items: center; gap: 10px; font-size: 13px; color: var(--srv-muted); font-variant-numeric: tabular-nums; }
.srv-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.srv-bar i { display: block; height: 100%; border-radius: 3px; background: var(--srv-star); }
.srv-pct { text-align: right; }

/* wall */
.srv-list { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: 20px; }
.srv-card {
  break-inside: avoid; margin: 0 0 20px; padding: 22px 22px 20px;
  display: flex; flex-direction: column; gap: 12px;
  border-radius: 18px; border: 1px solid var(--srv-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)), var(--srv-card);
}
.srv:not(.is-open) .srv-later { display: none; }
.srv .srv-text { margin: 0; padding: 0; border: 0; quotes: none; font-family: Roboto, system-ui, sans-serif; font-size: 16px; font-weight: 400; font-style: normal; line-height: 1.55; color: var(--srv-text); }
.srv .srv-text::before, .srv .srv-text::after { content: none; }
.srv-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; padding-top: 4px; }
.srv-who { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
/* Poppins: names with accents (ě, ł…) then load an 8 KB file instead of Roboto's 26 KB one */
.srv-who b { font-family: Poppins, system-ui, sans-serif; font-weight: 500; color: var(--srv-text); }
.srv-ver { font-size: 12px; color: #8ff0b0; }
.srv-ver::before { content: "✓ "; }
.srv .srv-on { font-size: 13px; font-weight: 500; color: var(--srv-accent); text-decoration: none; }
.srv .srv-on:hover { text-decoration: underline; text-underline-offset: 3px; }
.srv .srv-on::before { content: "on "; color: var(--srv-muted); font-weight: 400; }

.srv .srv-more {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: block; margin: 4px auto 0; height: 46px; padding: 0 24px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04);
  color: var(--srv-text); font-family: Roboto, system-ui, sans-serif; font-size: 15px; font-weight: 500; line-height: 46px;
  transition: background-color .15s, border-color .15s;
}
.srv .srv-more:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .3); }
.srv .srv-more:focus-visible { outline: 2px solid var(--srv-accent); outline-offset: 2px; }
.srv.is-open .srv-more { display: none; }

/* phones: summary stacks, reviews swipe */
@media (max-width: 767px) {
  .srv-sum { padding: 20px; gap: 16px; }
  .srv-score > b { font-size: 46px; }
  .srv-dist { width: 100%; }
  .srv-list { columns: auto; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .srv-list::-webkit-scrollbar { display: none; }
  .srv-card { flex: 0 0 84%; margin: 0; scroll-snap-align: start; }
  .srv:not(.is-open) .srv-later { display: flex; }
  .srv .srv-more { display: none; }
  .srv .srv-text { font-size: 15px; }
}
.srv a:focus:not(:focus-visible) { outline: none; box-shadow: none; }
