@media (display-mode: standalone) {
  .event-buttons-inner .checkin-full-width {
    display: flex !important;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
  #pwa-nav-loading {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(255, 255, 255, 0.9);
    align-items: center;
    justify-content: center;
  }
  #pwa-nav-loading.show {
    display: flex;
  }
  #pwa-nav-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #eee;
    border-top-color: #577cff;
    border-radius: 50%;
    animation: pwa-nav-spin 0.8s linear infinite;
  }
  @keyframes pwa-nav-spin {
    to {
      transform: rotate(360deg);
    }
  }
  .pwa-disabled-link {
    pointer-events: none;
    opacity: 0.5;
  }
  .pwa-disabled-hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #999;
  }
}
.pwa-disabled-hint {
  display: none;
}

body.events-pwa #sidebar-toggle li {
  display: none !important;
}

#pwa-install-banner.alert {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  z-index: 1030;
  margin: 0;
  border-radius: 10px;
  text-align: center;
}
