.keluvi-auth-required-hint {
  position: fixed;
  left: 50%;
  bottom: calc(82px + env(safe-area-inset-bottom));
  z-index: 295;
  max-width: calc(100% - 36px);
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  color: #fff;
  background: rgba(22, 34, 30, .96);
  box-shadow: 0 14px 34px rgba(22, 34, 30, .22);
  font: 700 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .2s ease, transform .24s cubic-bezier(.2, .8, .2, 1);
}

.keluvi-auth-required-hint.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.keluvi-feedback-region {
  position: fixed;
  right: 16px;
  bottom: calc(var(--kf-toast-above-nav, 84px) + env(safe-area-inset-bottom));
  left: 16px;
  z-index: 300;
  display: grid;
  gap: 8px;
  width: min(398px, calc(100% - 32px));
  margin: 0 auto;
  pointer-events: none;
}

.keluvi-feedback-notice {
  position: relative;
  min-height: 54px;
  margin: 0;
  padding: 11px 42px 11px 48px;
  display: grid;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 15px;
  color: #fff;
  background: rgba(21, 34, 29, .97);
  box-shadow: 0 16px 38px rgba(16, 31, 25, .24);
  font: 700 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .01em;
  opacity: 0;
  overflow-wrap: anywhere;
  transform: translateY(12px) scale(.98);
  transition: opacity .2s ease, transform .24s cubic-bezier(.2, .8, .2, 1);
}

.keluvi-feedback-notice::before {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #183b30;
  background: #d8eee5;
  content: "i";
  font: 800 14px/1 Georgia, serif;
  transform: translateY(-50%);
}

.keluvi-feedback-notice[data-tone="success"]::before {
  color: #0b664d;
  background: #d7f3e7;
  content: "✓";
  font-family: inherit;
}

.keluvi-feedback-notice[data-tone="error"]::before {
  color: #8c372f;
  background: #f7ddd9;
  content: "!";
  font-family: inherit;
}

.keluvi-feedback-notice.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.keluvi-feedback-notice button {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, .74);
  background: transparent;
  font: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
}

.keluvi-feedback-notice button:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.keluvi-feedback-notice button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}

body :is(
  .service-toast,
  .activity-toast,
  .gift-toast,
  .gcd-toast,
  .merchant-toast,
  .event-toast,
  .hotel-toast,
  .email-toast,
  .phone-toast,
  .password-toast,
  .personal-toast,
  .security-toast,
  .social-toast,
  .refund-toast,
  .snapshot-publish-toast
) {
  position: fixed;
  right: 16px;
  bottom: calc(var(--kf-toast-above-nav, 84px) + env(safe-area-inset-bottom));
  left: 16px;
  z-index: 300;
  width: fit-content;
  min-width: min(250px, calc(100% - 32px));
  max-width: min(398px, calc(100% - 32px));
  min-height: 52px;
  margin: 0 auto;
  padding: 11px 16px 11px 47px;
  display: grid;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 15px;
  color: #fff;
  background: rgba(21, 34, 29, .97);
  box-shadow: 0 16px 38px rgba(16, 31, 25, .24);
  font: 700 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .01em;
  text-align: left;
  opacity: 0;
  overflow-wrap: anywhere;
  pointer-events: none;
  transform: translateY(12px) scale(.98);
  transition: opacity .2s ease, transform .24s cubic-bezier(.2, .8, .2, 1);
}

body :is(
  .service-toast,
  .activity-toast,
  .gift-toast,
  .gcd-toast,
  .merchant-toast,
  .event-toast,
  .hotel-toast,
  .email-toast,
  .phone-toast,
  .password-toast,
  .personal-toast,
  .security-toast,
  .social-toast,
  .refund-toast,
  .snapshot-publish-toast
)::before {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #183b30;
  background: #d8eee5;
  content: "i";
  font: 800 14px/1 Georgia, serif;
  transform: translateY(-50%);
}

body :is(
  .service-toast,
  .activity-toast,
  .gift-toast,
  .gcd-toast,
  .merchant-toast,
  .event-toast,
  .hotel-toast,
  .email-toast,
  .phone-toast,
  .password-toast,
  .personal-toast,
  .security-toast,
  .social-toast,
  .refund-toast,
  .snapshot-publish-toast
).show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (min-width: 760px) {
  .keluvi-feedback-region {
    right: 24px;
    bottom: 24px;
    left: auto;
    margin: 0;
  }

  body :is(
    .service-toast,
    .activity-toast,
    .gift-toast,
    .gcd-toast,
    .merchant-toast,
    .event-toast,
    .hotel-toast,
    .email-toast,
    .phone-toast,
    .password-toast,
    .personal-toast,
    .security-toast,
    .social-toast,
    .refund-toast,
    .snapshot-publish-toast
  ) {
    right: 24px;
    bottom: 24px;
    left: auto;
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .keluvi-auth-required-hint,
  .keluvi-feedback-notice,
  body :is(
    .service-toast,
    .activity-toast,
    .gift-toast,
    .gcd-toast,
    .merchant-toast,
    .event-toast,
    .hotel-toast,
    .email-toast,
    .phone-toast,
    .password-toast,
    .personal-toast,
    .security-toast,
    .social-toast,
    .refund-toast,
    .snapshot-publish-toast
  ) {
    transition: none;
  }
}
