.arstinla-pwa-install {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  right: 12px;
  z-index: 100000;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 4px;
  background: #c45b2f;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  font: 600 12px/1 "IBM Plex Sans Thai", system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.arstinla-pwa-install:hover,
.arstinla-pwa-install:focus-visible {
  background: #a94722;
}

.arstinla-pwa-install[hidden] {
  display: none;
}

.arstinla-pwa-note {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  z-index: 100001;
  width: min(420px, calc(100vw - 32px));
  padding: 13px 16px;
  transform: translate(-50%, 18px);
  border-radius: 4px;
  background: #151814;
  color: #fff;
  box-shadow: 0 14px 36px rgba(0,0,0,.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  font: 400 13px/1.55 "IBM Plex Sans Thai", system-ui, sans-serif;
  text-align: center;
}

.arstinla-pwa-note.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 560px) {
  .arstinla-pwa-install {
    min-height: 38px;
    padding: 0 12px;
    font-size: 10px;
  }
}
