#paywall {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(ellipse at center, rgba(0,255,0,0.85) 0%, rgba(0,200,0,0.98) 100%),
    #00ff00;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
}
.paywalled #paywall { display: flex; }
.paywalled #stage,
.paywalled #toolbar,
.paywalled #edgeControls,
.paywalled #hud { display: none !important; }

.pw-card {
  background: #fdfaf0;
  border: 2.5px solid #1a1a1a;
  border-radius: 24px;
  padding: 40px 36px 32px;
  box-shadow: 8px 8px 0 #1a1a1a;
  text-align: center;
  max-width: 440px;
  width: 100%;
  transform: rotate(-1deg);
}
.pw-mark {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background: #00ff00;
  border: 3px solid #1a1a1a;
  border-radius: 12px;
  box-shadow: 4px 4px 0 #1a1a1a;
  transform: rotate(-4deg);
}
.pw-title {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}
.pw-price {
  font-size: 92px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 8px 0 4px;
  color: #1a1a1a;
}
.pw-line {
  font-size: 16px;
  color: rgba(26,26,26,0.65);
  margin: 0 0 26px;
  font-style: italic;
}
.pw-btn {
  display: inline-block;
  background: #00ff00;
  color: #1a1a1a;
  border: 2.5px solid #1a1a1a;
  border-radius: 999px;
  padding: 15px 36px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 4px 4px 0 #1a1a1a;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
  font-family: inherit;
}
.pw-btn:hover:not(:disabled) {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #1a1a1a;
}
.pw-btn:active:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #1a1a1a;
}
.pw-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.pw-err {
  color: #c33;
  font-size: 13px;
  margin: 14px 0 0;
  min-height: 18px;
  line-height: 1.4;
}
.pw-note {
  font-size: 14px;
  color: #1a1a1a;
  margin: 22px 0 6px;
  font-style: italic;
}
.pw-heart {
  display: inline-block;
  animation: pwHeart 1.6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes pwHeart {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.2); }
}
.pw-back {
  display: inline-block;
  color: rgba(26,26,26,0.55);
  text-decoration: none;
  font-size: 13px;
  margin-top: 4px;
}
.pw-back:hover { color: #1a1a1a; }
