#review-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 5, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

#review-overlay.active {
  display: flex;
  animation: nlFadeIn .22s ease;
}

.review-panel {
  max-width: 920px;
  width: min(920px, calc(100vw - 48px));
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-rating {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.review-star {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(0, 229, 255, .18);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .28);
  font-size: 1.45rem;
  cursor: pointer;
  transition: transform .18s, border-color .18s, color .18s, box-shadow .18s;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
}

.review-star:hover,
.review-star.is-active {
  color: #ffd86b;
  border-color: rgba(255, 216, 107, .5);
  box-shadow: 0 0 0 3px rgba(255, 216, 107, .1);
  transform: translateY(-2px);
}

.review-textarea {
  min-height: 148px;
  resize: vertical;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
}

@media (max-width: 640px) {
  .review-panel {
    width: min(100%, calc(100vw - 24px));
    max-width: none;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-rating {
    flex-wrap: wrap;
  }
}
