﻿@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap');

.agr-widget {
  --agr-text: #1f1f1f;
  --agr-muted: #6f6f6f;
  --agr-border: #d6d6d6;
  --agr-card-bg: #ffffff;
  --agr-star: #f5b400;
  --agr-star-muted: #e1e1e1;
  --agr-blue: #1a73e8;
  --agr-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  font-family: 'Sora', 'Segoe UI', Arial, sans-serif;
  color: var(--agr-text);
}

.agr-summary {
  text-align: center;
  margin-bottom: 24px;
}

.agr-level {
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-size: 18px;
}

.agr-based {
  margin-top: 6px;
  font-size: 14px;
  color: var(--agr-muted);
}

.agr-google-logo {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.agr-more-link-wrap {
  margin-top: 14px;
}

.agr-more-link {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--agr-border);
  background: #fff;
  color: var(--agr-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--agr-shadow);
}

.agr-more-link:hover {
  border-color: #bdbdbd;
}

.agr-google-svg {
  width: 48px;
  height: 48px;
}

.agr-google-svg-small {
  width: 20px;
  height: 20px;
}

.agr-slider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agr-track {
  --agr-gap: 18px;
  display: flex;
  gap: var(--agr-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 24px;
  padding: 8px 4px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.agr-track::-webkit-scrollbar {
  display: none;
}

.agr-track::-webkit-scrollbar-thumb {
  display: none;
}

.agr-card {
  flex: 0 0 calc((100% - (2 * var(--agr-gap))) / 3);
  background: var(--agr-card-bg);
  border: 1px solid var(--agr-border);
  border-radius: 16px;
  padding: 16px;
  scroll-snap-align: start;
  box-shadow: var(--agr-shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agr-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agr-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.agr-card-meta {
  flex: 1;
  min-width: 0;
}

.agr-name {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agr-time {
  font-size: 12px;
  color: var(--agr-muted);
  margin-top: 2px;
}

.agr-card-google {
  flex-shrink: 0;
}

.agr-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.agr-verified {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--agr-blue);
  color: #fff;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}

.agr-text {
  font-size: 13px;
  color: var(--agr-text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.agr-text.is-expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.agr-more {
  border: 1px solid var(--agr-btn-border, var(--agr-border));
  background: var(--agr-btn-bg, #fff);
  color: var(--agr-btn-text, var(--agr-text));
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: var(--agr-shadow);
}

.agr-more:hover {
  border-color: var(--agr-btn-border, #bdbdbd);
}

.agr-nav {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--agr-btn-border, var(--agr-border));
  background: var(--agr-btn-bg, #fff);
  box-shadow: var(--agr-shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--agr-btn-text, var(--agr-text));
  flex-shrink: 0;
}

.agr-stars {
  position: relative;
  display: inline-block;
  line-height: 1;
  font-family: 'Segoe UI Symbol', 'Sora', Arial, sans-serif;
}

.agr-stars-base,
.agr-stars-fill {
  display: inline-block;
  white-space: nowrap;
}

.agr-stars-base {
  color: var(--agr-star-muted);
}

.agr-stars-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  color: var(--agr-star);
}

.agr-stars-large {
  font-size: 22px;
}

.agr-stars-normal {
  font-size: 18px;
}

.agr-stars-small {
  font-size: 16px;
}

.agr-empty {
  padding: 16px;
  border: 1px dashed var(--agr-border);
  border-radius: 12px;
  color: var(--agr-muted);
  font-size: 14px;
}

@media (max-width: 680px) {
  .agr-card {
    flex: 0 0 85%;
  }

  .agr-track {
    padding: 8px 24px 16px;
  }

  .agr-nav {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}
