/* lw_stars.css - Lisa's gold sparkles, as on lisawetsel.com.
   Floating at the top right and bottom left of every page (they never catch a click,
   and sit under the top bar and any pop-up), plus a small sparkle before each section label.
   Linked from LwHeadAssets (lw_shell.asp) and the standalone public pages. */
body::before,body::after{content:"";position:fixed;z-index:15;opacity:.9;pointer-events:none;background-repeat:no-repeat;background-size:contain;animation:lwTwinkle 8s ease-in-out infinite}
body::before{top:78px;right:-24px;width:min(460px,48vw);aspect-ratio:906/262;background-image:url(images/lw_stars_right.webp)}
body::after{bottom:18px;left:-30px;width:min(340px,42vw);aspect-ratio:662/376;background-image:url(images/lw_stars_left.webp);animation-delay:-4s}
@keyframes lwTwinkle{50%{opacity:.45}}
/* phones: the text needs every bit of the width */
@media (max-width:760px){body::before,body::after{display:none}}
/* member pages (the sidebar shell): behind the cards, so they never sit over text or rows */
body:has(.shell){isolation:isolate}
body:has(.shell)::before,body:has(.shell)::after{z-index:-1}
body:has(.shell)::after{left:auto;right:-30px;bottom:18px}
/* pages that already place their own sparkles in a header keep just those */
body:has(.stars-r)::before,body:has(.stars-l)::after{display:none}
/* member pages: a fuller sky of sparkles across the whole page (still behind the cards),
   including pages with their own header sparkles, like the dashboard */
body:has(.shell)::before{display:block;top:0;right:0;bottom:0;left:0;width:auto;aspect-ratio:auto;
  background-image:url(images/lw_stars_right.webp),url(images/lw_stars_left.webp),url(images/lw_stars_right.webp),url(images/lw_stars_left.webp),url(images/lw_stars_right.webp);
  background-position:right -30px top 70px,left 22% top 30%,right 3% top 52%,left 30% top 74%,right 12% bottom 10px;
  background-size:min(440px,36vw) auto,min(300px,26vw) auto,min(380px,32vw) auto,min(320px,28vw) auto,min(360px,30vw) auto}
body:has(.shell)::after{display:block;top:0;right:0;bottom:0;left:0;width:auto;aspect-ratio:auto;
  background-image:url(images/lw_stars_left.webp),url(images/lw_stars_right.webp);
  background-position:right 30% top 14%,left 45% bottom 22%;background-size:min(260px,22vw) auto,min(300px,26vw) auto}
/* the dashboard's cards: a few gold sparkles in the lower right of each, like her site */
.doors .p::after{content:"";position:absolute;right:4px;bottom:14px;width:230px;aspect-ratio:906/262;pointer-events:none;opacity:.85;
  background:url(images/lw_stars_right.webp) no-repeat center/contain}
.doors .p:nth-child(even)::after{width:170px;aspect-ratio:662/376;right:6px;bottom:8px;background-image:url(images/lw_stars_left.webp)}
.doors .p > *{position:relative;z-index:1}
/* a small sparkle before section labels (and anything given class="lw-spark") */
.eyebrow::before,.lw-spark::before{content:"";display:inline-block;width:.8em;height:1.25em;margin:0 .45em -.24em 0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 32'%3E%3Cpath d='M10 1C10.6 11 12 15 19 16C12 17 10.6 21 10 31C9.4 21 8 17 1 16C8 15 9.4 11 10 1Z' fill='none' stroke='%23c0a377' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain}
@media (prefers-reduced-motion:reduce){body::before,body::after{animation:none}}
@media print{body::before,body::after{display:none}}
