/**
 * Radiant Optimizer — Cookie & Analytics Consent v2.1
 * Floating square box, bottom-left. No emojis. Red accent.
 */
#ro-consent-box {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100000;
  width: 360px;
  max-width: calc(100vw - 48px);
  background: rgba(15, 19, 26, 0.97);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(220, 38, 38, 0.1);
  padding: 20px 22px 18px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  color: #c9d1d9;
  line-height: 1.55;
  display: none;
  animation: roConsentIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#ro-consent-box.show {
  display: block;
}

@keyframes roConsentIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ro-consent-title {
  font-size: 14px;
  font-weight: 700;
  color: #eaf0f8;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.ro-consent-text {
  color: #8c95a6;
  font-size: 12.5px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.ro-consent-text a {
  color: #ef4444;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.ro-consent-text a:hover {
  color: #f87171;
}

/* Read More expandable */
.ro-consent-more-toggle {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #ef4444;
  cursor: pointer;
  margin-bottom: 12px;
  user-select: none;
  transition: color 0.15s;
}

.ro-consent-more-toggle:hover {
  color: #f87171;
}

.ro-consent-more-toggle::after {
  content: ' ▾';
  font-size: 10px;
}

.ro-consent-more-toggle.open::after {
  content: ' ▴';
}

.ro-consent-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 0;
  font-size: 12px;
  color: #6e7681;
  line-height: 1.65;
  border-top: 1px solid rgba(56, 64, 82, 0.4);
}

.ro-consent-more.open {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 12px;
  padding-top: 10px;
  padding-right: 4px;
}

.ro-consent-more strong {
  color: #8c95a6;
}

.ro-consent-more ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}

.ro-consent-more ul li {
  padding: 2px 0;
  padding-left: 14px;
  position: relative;
}

.ro-consent-more ul li::before {
  content: '•';
  color: #dc2626;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Buttons */
.ro-consent-btns {
  display: flex;
  gap: 8px;
}

.ro-consent-btn {
  flex: 1;
  padding: 9px 0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.18s ease;
  outline: none;
}

.ro-consent-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.4);
}

.ro-consent-btn.decline {
  background: rgba(255, 255, 255, 0.05);
  color: #8c95a6;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ro-consent-btn.decline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #c9d1d9;
  border-color: rgba(255, 255, 255, 0.15);
}

.ro-consent-btn.accept {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.25);
}

.ro-consent-btn.accept:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
}

@media (max-width: 420px) {
  #ro-consent-box {
    bottom: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    padding: 16px 18px 14px;
  }
}