.gb-pwa-sheet {
  position: fixed;
  z-index: 5000;
  left: 0;
  right: 0;
  width: calc(100% - 24px);
  max-width: 400px;
  margin: 0 auto;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  color: #1f2937;
  border: 1px solid #e5efe8;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  padding: 16px 16px 14px;
  font-family: inherit;
}
.gb-pwa-sheet[hidden] { display: none !important; }
.gb-pwa-x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.gb-pwa-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  padding-right: 28px;
  margin: 0 0 8px;
}
.gb-pwa-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #475569;
}
.gb-pwa-btn,
.gb-pwa-btn-ghost {
  display: block;
  width: 100%;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.gb-pwa-btn {
  border: 0;
  background: #1f8a3b;
  color: #fff;
}
.gb-pwa-btn:active { transform: scale(0.99); }
.gb-pwa-btn-ghost {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-weight: 600;
}
.gb-pwa-steps { margin-top: 12px; }
.gb-pwa-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.4;
  color: #334155;
}
.gb-pwa-step svg { flex: 0 0 auto; margin-top: 1px; }
.gb-pwa-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #64748b;
}
@media (max-width: 768px) {
  body:has(.rez-tabbar) .gb-pwa-sheet {
    bottom: calc(var(--rez-tab-h, 70px) + 10px);
  }
}
