.invellio-upgrade-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  max-height: calc(100dvh - 36px);
  padding: 0;
  font-family: Manrope, Arial, sans-serif;
  width: min(440px, calc(100% - 36px));
  max-width: none;
  margin: auto;
  color: #fff2e6;
  border: 1px solid #de966969;
  border-radius: 24px;
  background: #251710;
  box-shadow: 0 24px 100px #0008, inset 0 1px #ffdfb536;
  animation: upgrade-in 270ms cubic-bezier(.22,1,.36,1) both;
}
.invellio-upgrade-dialog::backdrop { background: #100a08bb; backdrop-filter: blur(9px); }
.invellio-upgrade-card {
  display: grid;
  justify-items: start;
  gap: 13px;
  padding: clamp(23px, 6vw, 35px);
  background: radial-gradient(ellipse at 10% 0, #a3533255, transparent 66%);
}
.invellio-upgrade-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #f2a66673; border-radius: 13px; background: #563221; color: #ffca91; }
.invellio-upgrade-dialog .invellio-upgrade-card h2 { margin: 0; color: inherit; font: 500 clamp(25px, 7vw, 34px)/1.05 "Ideosphere Satoshi", Satoshi, Arial, sans-serif; letter-spacing: -.035em; }
.invellio-upgrade-dialog .invellio-upgrade-card p { margin: 0; color: #f0cfb5; font-size: .91rem; line-height: 1.6; }
.invellio-upgrade-card button { margin-top: 4px; min-height: 44px; padding: 0 19px; border: 1px solid #ffc393; border-radius: 11px; background: #ffcb9c; color: #3b2118; font-size: .86rem; font-weight: 750; font-family: inherit; cursor: pointer; }
.invellio-upgrade-card button:hover { background: #ffe1bd; }
@keyframes upgrade-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .invellio-upgrade-dialog { animation: none; } }
html[data-motion="paused"] .invellio-upgrade-dialog { animation: none; }
html:has(.invellio-upgrade-dialog[open]) { overflow: hidden; }
.invellio-upgrade-card form { margin: 0; }
.invellio-upgrade-card button:focus-visible { outline: 2px solid #ffcb9c; outline-offset: 3px; }
