/* Site preferences / consent notice - Unfair Golf
   Dark, legible toast over the 3D scene. Green golf accent, Nunito, rounded.
   Bottom-left, max 440px. Neutral class names (sp-*) so cookie-/consent-blockers
   don't hide it. */

.sp-notice {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: auto;
  width: calc(100vw - 40px);
  max-width: 440px;
  background: #17202b;
  border: 1px solid rgba(91, 214, 166, 0.40);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 4px 14px rgba(0, 0, 0, 0.35);
  padding: 18px 20px 16px;
  font-family: 'Nunito', system-ui, sans-serif;
  color: #eef3f0;
  z-index: 100000;
  transform: translateY(130%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.32s ease;
}

.sp-notice.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.sp-notice__title {
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 7px;
  line-height: 1.25;
}

.sp-notice__body {
  font-size: 14px;
  line-height: 1.55;
  color: #aebccb;
  margin: 0 0 15px;
}

.sp-notice__body a {
  color: #5bd6a6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sp-notice__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.sp-btn {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  line-height: 1.2;
}

.sp-btn--accept {
  background: #5bd6a6;
  color: #0d1620;
  border-color: #5bd6a6;
}

.sp-btn--accept:hover {
  background: #74e2b7;
  transform: translateY(-1px);
}

.sp-btn--decline {
  background: transparent;
  color: #aebccb;
  border-color: rgba(174, 188, 203, 0.4);
}

.sp-btn--decline:hover {
  background: rgba(174, 188, 203, 0.12);
}

@media (max-width: 540px) {
  .sp-notice {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    bottom: 12px;
    padding: 16px 16px 14px;
  }
  .sp-btn {
    flex: 1;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-notice {
    transition: opacity 0.18s ease;
    transform: none;
  }
}
