.plan[data-plan-light] { isolation: isolate; scroll-margin-top: 90px; }
[data-plan-edge] { position: relative; isolation: isolate; scroll-margin-top: 90px; }
[data-plan-edge] > .plan-edge-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 140ms ease-out;
  --spec-x: var(--edge-x, 50%);
  --spec-y: var(--edge-y, 0%);
}
.plan-edge-field::before, .plan-edge-field::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.plan-edge-field::before {
  padding: 1px;
  background:
    radial-gradient(100px circle at var(--spec-x) var(--spec-y), #f6f7fac4, #eef1f450 45%, transparent),
    radial-gradient(ellipse 106% 106% at var(--spec-x) var(--spec-y), #e8edf07a, #e8edf039 50%, #e8edf00e 86%, #e8edf005 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.plan-edge-field::after {
  background: radial-gradient(90px circle at var(--spec-x) var(--spec-y), #e2e8f112, #d6dfeb07 52%, transparent);
}
[data-plan-edge]:is(.has-edge-pointer, .has-edge-press, :focus-visible, :has(:focus-visible)) > .plan-edge-field { opacity: 1; }
@starting-style {
  [data-plan-edge]:is(.has-edge-pointer, .has-edge-press, :focus-visible, :has(:focus-visible)) > .plan-edge-field { opacity: 0; }
}
[data-plan-edge]:is(:focus-visible, :has(:focus-visible)):not(.has-edge-pointer, .has-edge-press) > .plan-edge-field {
  --spec-x: 50%;
  --spec-y: 0%;
}
[data-plan-edge].plan > :not(.plan-edge-field, .frost),
[data-plan-edge].store-card > :is(header, h2, h3, p, ul, button, a) { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  [data-plan-edge] > .plan-edge-field {
    transition: none;
    --spec-x: 50%;
    --spec-y: 0%;
  }
}
.plan[id]:target { outline: 1px solid #d5d5df; outline-offset: 3px; }
.plan[data-plan-light] > :not(.plan-light-field, .frost) { position: relative; z-index: 1; }
[data-plan-light] > .plan-light-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease-out;
}
[data-plan-light] > .plan-light-field.is-lit { opacity: 1; }
.plan-light-field canvas { display: block; width: 100%; height: 100%; }
.plan-light-field.is-fallback::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: repeating-radial-gradient(ellipse at 98% 94%, transparent 0 9px, #e4e4ec55 10px, transparent 12px 18px);
  mask-image: linear-gradient(125deg,transparent 12%,#000 78%);
  transform: translate(var(--light-x, 0px), var(--light-y, 0px));
}
[data-plan-light="2"] .is-fallback::before { background: linear-gradient(112deg, transparent 36%, #eee4 47%, #fff8 49%, #ddd2 56%, transparent 70%); }
[data-plan-light="3"] .is-fallback::before { background: repeating-conic-gradient(from 120deg at 115% 5%, #fff0 0 6deg, #fff4 11deg, #fff0 17deg 24deg); }
[data-plan-light="4"] .is-fallback::before { background: repeating-radial-gradient(ellipse 85% 31% at 76% 74%, #fff0 0 12px, #fff6 13px, #fff0 14px 24px); }
[data-plan-light="5"] .is-fallback::before { background: conic-gradient(from 28deg at 70% 69%, #fff0, #fff5 50deg, #fff0 51deg 149deg, #fff5 150deg, #fff0 210deg, #fff4 251deg, #fff0 252deg); }
[data-plan-light="6"] .is-fallback::before { background: radial-gradient(circle at 84% 104%, #fff0 31%, #fff8 33%, #fff3 35%, #fff0 44%); }
[data-plan-light="7"] .is-fallback::before { background: repeating-conic-gradient(from 25deg at 74% 68%, #fff0 0 40deg, #fff2 41deg 60deg, #fff5 61deg 68deg, #fff0 69deg 95deg); }
[data-plan-light="8"] .is-fallback::before { background: repeating-linear-gradient(76deg, #fff0 0 13%, #fff3 16%, #fff1 18%, #fff0 23%); mask-image: radial-gradient(ellipse at 70% 60%,#000,transparent 60%); }
[data-plan-light="9"] .is-fallback::before { background: repeating-radial-gradient(ellipse 150% 70% at 95% 145%, #fff1 0 16px, #fff5 25px, #fff1 27px, #fff0 39px); }
[data-plan-light="10"] .is-fallback::before { background: radial-gradient(ellipse at 70% 68%,#fff2,transparent 55%),radial-gradient(1.5px 1.5px at 18px 14px,#fffd,transparent),radial-gradient(1px 1px at 8px 6px,#fffa,transparent); background-size: auto, 41px 53px, 31px 29px; }
@media (prefers-reduced-motion: reduce) {
  [data-plan-light] > .plan-light-field { transition: none; }
  .plan-light-field.is-fallback::before { transform: none; }
}
