.attention-surface { position: relative; isolation: isolate; }
.attention-surface .attention-anchor { position: relative; z-index: 31; }
.invitation-shade {
  position: absolute; inset: 0; z-index: 30; border-radius: inherit;
  background: #020910; opacity: 0; pointer-events: none;
  transition: opacity .45s ease;
}
.invitation-spotlight > .invitation-shade { opacity: .58; }
.attention-surface .demo-invitation {
  position: relative; display: block; padding: 13px 19px;
  border: 1px solid #a7efff; border-radius: 9px;
  background: #65d9f1; color: #08222d; cursor: pointer;
  font: 600 14px/1.4 Arial, Helvetica, sans-serif;
  box-shadow: 0 6px 22px #0005; text-align: center;
  transform-origin: 80% 100%;
}
.attention-surface .demo-invitation::after {
  content: ''; position: absolute; right: 35px; bottom: -5px;
  width: 8px; height: 8px; background: inherit;
  border-right: 1px solid #a7efff; border-bottom: 1px solid #a7efff;
  transform: rotate(45deg);
}
.attention-surface .demo-invitation:hover { background: #a7efff; }
.attention-surface .demo-invitation:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.attention-surface .demo-invitation[hidden] { display: none; }
.invitation-spotlight .demo-invitation { animation: invitation-pulse 1.25s ease-in-out 2; }
@keyframes invitation-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 22px #0005, 0 0 0 0 #65d9f100; }
  50% { transform: scale(1.04); box-shadow: 0 6px 22px #0005, 0 0 0 9px #65d9f12b; }
}
@media (prefers-reduced-motion: reduce) {
  .invitation-shade { transition: none; }
  .invitation-spotlight .demo-invitation { animation: none; }
}
