/* ── PWA Install Sheet ── */
.pwa-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 500;
}

.pwa-overlay.active {
  opacity: 1;
  visibility: visible;
}

.pwa-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 400px;
  background: #1A1A1A;
  border-top: 1px solid #2A2A2A;
  border-radius: 24px 24px 0 0;
  padding: 12px 20px 44px;
  z-index: 501;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.pwa-sheet.active {
  transform: translateX(-50%) translateY(0);
}

.pwa-handle {
  width: 36px;
  height: 4px;
  background: #3A3A3A;
  border-radius: 2px;
  margin: 0 auto 22px;
}

.pwa-app-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.pwa-app-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  flex-shrink: 0;
}

.pwa-app-name {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.pwa-app-sub {
  font-size: 13px;
  color: #888888;
  margin-top: 3px;
}

.pwa-desc {
  font-size: 14px;
  color: #888888;
  line-height: 1.55;
  margin-bottom: 22px;
}

.pwa-btn-install {
  width: 100%;
  padding: 15px 0;
  background: #F5A623;
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.pwa-btn-install:active {
  opacity: 0.85;
  transform: scale(0.97);
}

.pwa-btn-install:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.pwa-btn-cancel {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  color: #888888;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.pwa-btn-cancel:active {
  color: #ffffff;
}

.pwa-ios-hint {
  display: none;
  background: #222222;
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 4px;
  font-size: 13px;
  color: #888888;
  line-height: 1.6;
  text-align: center;
}

.pwa-ios-hint strong {
  color: #ffffff;
}
