.tyche-region-notice[hidden] {
  display: none !important;
}

.tyche-region-notice {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 2147483000;
  color: #111827;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.tyche-region-notice__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1120px);
  min-height: 76px;
  margin: 0 auto;
  padding: 16px 18px 16px 22px;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.18);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.tyche-region-notice__copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 24px;
  font-size: 14px;
  line-height: 1.45;
}

.tyche-region-notice__copy strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.tyche-region-notice__copy span {
  color: #4b5563;
}

.tyche-region-notice__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

.tyche-region-notice__primary,
.tyche-region-notice__secondary,
.tyche-region-notice__close {
  box-sizing: border-box;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.tyche-region-notice__primary,
.tyche-region-notice__secondary {
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  line-height: 20px;
  text-align: center;
  text-decoration: none !important;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.tyche-region-notice__primary {
  color: #ffffff !important;
  background: #df1883;
  box-shadow: 0 7px 20px rgba(223, 24, 131, 0.22);
}

.tyche-region-notice__secondary {
  color: #172033;
  background: #f1f3f5;
}

.tyche-region-notice__primary:hover,
.tyche-region-notice__secondary:hover {
  transform: translateY(-1px);
}

.tyche-region-notice__primary:focus-visible,
.tyche-region-notice__secondary:focus-visible,
.tyche-region-notice__close:focus-visible {
  outline: 3px solid rgba(223, 24, 131, 0.28);
  outline-offset: 2px;
}

.tyche-region-notice__close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  color: #6b7280;
  background: transparent;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.tyche-region-notice__close:hover {
  color: #111827;
  background: #f3f4f6;
}

@media (max-width: 760px) {
  .tyche-region-notice {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .tyche-region-notice__inner {
    align-items: flex-start;
    padding: 18px;
    border-radius: 16px;
  }

  .tyche-region-notice__copy {
    padding-right: 8px;
  }

  .tyche-region-notice__actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 180px;
  }

  .tyche-region-notice__primary,
  .tyche-region-notice__secondary {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .tyche-region-notice__inner {
    display: block;
  }

  .tyche-region-notice__copy {
    padding: 0 34px 14px 0;
  }

  .tyche-region-notice__actions {
    display: grid;
    max-width: none;
  }

  .tyche-region-notice__close {
    position: absolute;
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tyche-region-notice__primary,
  .tyche-region-notice__secondary {
    transition: none;
  }
}
