.hslands-geo__backdrop[hidden],
.hslands-geo__pill[hidden] {
  display: none !important;
}

.hslands-geo-is-open {
  overflow: hidden;
}

.hslands-geo__backdrop {
  position: fixed;
  inset: 0;
  z-index: 100020;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 24, 12, 0.58);
  backdrop-filter: blur(3px);
}

.hslands-geo__dialog {
  position: relative;
  width: min(100%, 510px);
  padding: 34px 34px 28px;
  overflow: hidden;
  border: 1px solid rgba(22, 113, 26, 0.16);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 43, 14, 0.28);
  color: #17201a;
  outline: none;
}

.hslands-geo__dialog::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #16711a, #58ae61);
  content: '';
}

.hslands-geo__close {
  position: absolute;
  top: 14px;
  right: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f2f5f2;
  color: #435047;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.hslands-geo__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 18px;
  background: #eaf6eb;
  color: #16711a;
  font-size: 27px;
}

.hslands-geo__eyebrow {
  margin: 0 0 5px;
  color: #16711a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hslands-geo__dialog h2 {
  margin: 0 34px 12px 0;
  color: #122319;
  font-size: clamp(23px, 4vw, 30px);
  line-height: 1.2;
}

.hslands-geo__dialog > p:not(.hslands-geo__eyebrow) {
  color: #566159;
  font-size: 15px;
  line-height: 1.6;
}

.hslands-geo__status {
  min-height: 0;
  margin: 15px 0 0;
  padding: 0;
  border-radius: 10px;
  font-weight: 600;
}

.hslands-geo__status:not(:empty) {
  padding: 10px 12px;
  background: #f2f6f2;
}

.hslands-geo__status.is-error:not(:empty) {
  background: #fff3f2;
  color: #a33128;
}

.hslands-geo__status.is-success:not(:empty) {
  background: #eaf6eb;
  color: #136218;
}

.hslands-geo__actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.hslands-geo__actions button {
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}

.hslands-geo__allow {
  flex: 1;
  border: 1px solid #16711a;
  background: #16711a;
  color: #fff;
  box-shadow: 0 8px 22px rgba(22, 113, 26, .2);
}

.hslands-geo__allow:hover,
.hslands-geo__allow:focus-visible {
  background: #0f5e14;
}

.hslands-geo__allow:disabled {
  cursor: wait;
  opacity: .75;
}

.hslands-geo__later {
  border: 1px solid #d8dfd9;
  background: #fff;
  color: #344039;
}

.hslands-geo__privacy {
  margin: 16px 0 0 !important;
  color: #78817b !important;
  font-size: 12.5px !important;
}

.hslands-geo__privacy i {
  margin-right: 4px;
  color: #16711a;
}

.hslands-geo__spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 7px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -2px;
  animation: hslands-geo-spin .7s linear infinite;
}

.hslands-geo__pill {
  position: fixed;
  z-index: 9990;
  bottom: 22px;
  left: 22px;
  display: inline-flex;
  max-width: min(390px, calc(100vw - 44px));
  min-height: 43px;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: #146817;
  box-shadow: 0 8px 26px rgba(0, 49, 8, .25);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.hslands-geo__pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hslands-geo__disable {
  position: fixed;
  z-index: 9989;
  bottom: 70px;
  left: 30px;
  padding: 4px 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
  color: #5c655f;
  font-size: 11px;
  cursor: pointer;
}

@keyframes hslands-geo-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 549px) {
  .hslands-geo__backdrop {
    align-items: end;
    padding: 0;
  }

  .hslands-geo__dialog {
    width: 100%;
    padding: 29px 22px calc(22px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
  }

  .hslands-geo__actions {
    flex-direction: column;
  }

  .hslands-geo__later {
    min-height: 44px !important;
  }

  .hslands-geo__pill {
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: 14px;
    max-width: calc(100vw - 28px);
  }

  .hslands-geo__disable {
    bottom: calc(62px + env(safe-area-inset-bottom));
    left: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hslands-geo__spinner { animation-duration: 1.5s; }
}
