.rane-reviews {
  --rane-accent: #04a390;
  --rane-bg: #ffffff;
  --rane-muted: #6b7280;
  --rane-border: #e5e7eb;
  --rane-text: #111827;
  font-family: Arial, sans-serif;
  color: var(--rane-text);
  border-radius: 20px;
  overflow: hidden;
  background: none!important;  
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.08),
    0 10px 24px rgba(16, 24, 40, 0.12),
    0 20px 40px rgba(16, 24, 40, 0.08);
}

.rane-reviews * {
  box-sizing: border-box; 
}

.rane-reviews__header {
  background: var(--rane-bg);
  border: 1px solid var(--rane-border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 14px;
}

.rane-reviews__title {
  margin: 0 0 8px;
  font-size: 20px;
}

.rane-reviews__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.rane-reviews__score {
  color: var(--rane-accent);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}

.rane-reviews__stars {
  letter-spacing: 2px;
  color: #f59e0b;
}

.rane-reviews__count {
  color: var(--rane-muted);
  font-size: 14px;
}

.rane-reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.rane-reviews__card {
  border: 1px solid var(--rane-border);
  border-radius: 12px;
  background: var(--rane-bg);
  padding: 14px;
}

.rane-reviews__name {
  margin: 0 0 6px;
  font-size: 16px;
}

.rane-reviews__text {
  margin: 8px 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
}

.rane-reviews__foot {
  font-size: 12px;
  color: var(--rane-muted);
}

.rane-reviews__error,
.rane-reviews__loading {
  border: 1px solid var(--rane-border);
  border-radius: 12px;
  padding: 14px;
  background: #f8fafc;
  color: var(--rane-muted);
}

.rane-reviews-floating-left {
  position: fixed;
  left: 16px;
  bottom: 60px;
  width: min(300px, calc(100vw - 32px));
  max-height: 11vh;
  overflow: auto;
  z-index: 9999;
  border-radius: 20px;
  background: none!important;
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.10),
    0 16px 40px rgba(0, 0, 0, 0.14);
}

@media (max-width: 640px) {
  .rane-reviews-floating-left {
    position: static;
    left: auto;
    bottom: auto;
    width: auto;
    max-height: none;
    margin: 14px 10px 10px;
  }
}

.rane-reviews-cycle {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.rane-reviews-cycle-hidden {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .rane-reviews-cycle {
    transition: none;
  }
}
