.artmink-pwa-hint {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 74px);
  right: 0.75rem;
  z-index: 9999;
  width: min(19rem, calc(100vw - 1.5rem));
  padding: 0.75rem 2.35rem 0.75rem 0.85rem;
  border: 1px solid rgba(161, 38, 22, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: #1d2430;
  box-shadow: 0 12px 28px rgba(25, 25, 25, 0.16);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

.artmink-pwa-hint::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 24px;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.96);
  border-left: 1px solid rgba(161, 38, 22, 0.24);
  border-top: 1px solid rgba(161, 38, 22, 0.24);
  transform: rotate(45deg);
}

.artmink-pwa-hint__title {
  margin: 0 0 0.2rem;
  color: #7a1209;
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 800;
}

.artmink-pwa-hint__body {
  color: #4f5968;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 650;
}

.artmink-pwa-hint__close {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5b6678;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.artmink-pwa-hint__close:focus-visible {
  outline: 2px solid #a12616;
  outline-offset: 2px;
}

@media (min-width: 821px) {
  .artmink-pwa-hint {
    display: none;
  }
}
