html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}

#root {
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  background: #fff;
  color: #000;
  transition: transform 0.05s ease, opacity 0.1s ease;
}
.btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.pwa-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.6);
  display: none;
}
.pwa-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #111;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding: calc(16px + env(safe-area-inset-bottom));
}
.pwa-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}
.pwa-text {
  font-size: 14px;
  opacity: 0.8;
}
.pwa-actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
}
