/* Lexacron v2.0: the living sky on every page, the Contact beacon, soft page-to-page fades.
   Loaded after each page's own stylesheet. Nothing here is needed to read or use the site. */

/* ---------- the living sky (sky.js draws it; these only place it and retire the old painted layers) ---------- */
#lxsky{position:fixed;inset:0;width:100%;height:100%;display:block;pointer-events:none;z-index:-3}
html.lx-field #lxsky{z-index:0}
html.lx-gl #nebula,html.lx-gl #anomaly,html.lx-gl .lx-sky{display:none}
/* the old film grain goes wherever the living sky is: it read as dots */
html.lx-gl:not(.lx-field) body::before,html.lx-gl:not(.lx-field) body::after{content:none}

/* ---------- the Contact beacon: a small satellite in the corner; point at it and it opens to a word ---------- */
.beacon-dock{position:fixed;z-index:16;right:max(20px,env(safe-area-inset-right,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px));display:flex;margin:0;
  transition:opacity .35s,transform .5s cubic-bezier(.22,1,.36,1),visibility 0s}
.beacon{display:inline-flex;flex-direction:row-reverse;align-items:center;height:46px;min-width:46px;border-radius:23px;text-decoration:none;color:#E8EAF0;
  background:rgba(9,11,18,.62);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(201,169,110,.26);
  box-shadow:0 0 0 0 rgba(94,230,208,0),0 8px 28px rgba(0,0,0,.42);transition:border-color .4s,background .4s,box-shadow .5s,transform .5s cubic-bezier(.22,1,.36,1);
  -webkit-tap-highlight-color:transparent;animation:lx-beacon-in 1.1s cubic-bezier(.22,1,.36,1) 1.2s backwards}
.beacon-orb{position:relative;flex:none;width:44px;height:44px;display:block}
/* the heart, two orbits seen at an angle, and one small moon on each */
.beacon-orb::before{content:"";position:absolute;left:50%;top:50%;width:7px;height:7px;margin:-3.5px;border-radius:50%;background:radial-gradient(circle,#FFF4DC 0,#E2C996 45%,#C9A96E 100%);box-shadow:0 0 10px 2px rgba(226,201,150,.55);animation:lx-beacon-heart 4.6s ease-in-out infinite}
.beacon-orb i{position:absolute;left:50%;top:50%;width:30px;height:30px;margin:-15px;border-radius:50%;border:1px solid rgba(163,169,186,.42);transform:rotate(-24deg) scaleY(.36)}
.beacon-orb i+i{width:22px;height:22px;margin:-11px;border-color:rgba(163,169,186,.3);transform:rotate(58deg) scaleY(.42)}
.beacon-orb i::after{content:"";position:absolute;left:50%;top:50%;width:4px;height:4px;margin:-2px;border-radius:50%;background:#5EE6D0;box-shadow:0 0 6px 1px rgba(94,230,208,.8);
  offset-path:circle(50% at 50% 50%);offset-rotate:0deg;animation:lx-beacon-orbit 7s linear infinite}
.beacon-orb i+i::after{width:3px;height:3px;margin:-1.5px;background:#E8EAF0;box-shadow:0 0 5px 1px rgba(232,234,240,.7);animation-duration:4.4s;animation-direction:reverse}
/* every so often it sends one quiet ring out */
.beacon-orb b{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px;border-radius:50%;border:1px solid rgba(94,230,208,.55);opacity:0;animation:lx-beacon-ping 9s cubic-bezier(.2,.7,.3,1) 3s infinite}
.beacon-t{font:500 10.5px/1 "JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;letter-spacing:.2em;text-transform:uppercase;white-space:nowrap;
  max-width:0;opacity:0;overflow:hidden;padding:0;transition:max-width .55s cubic-bezier(.22,1,.36,1),opacity .35s,padding .55s cubic-bezier(.22,1,.36,1)}
.beacon:hover,.beacon:focus-visible{border-color:rgba(226,201,150,.7);background:rgba(11,14,23,.86);box-shadow:0 0 0 5px rgba(94,230,208,.06),0 8px 32px rgba(0,0,0,.5);outline:none}
.beacon:focus-visible{box-shadow:0 0 0 2px #5EE6D0,0 8px 32px rgba(0,0,0,.5)}
.beacon:hover .beacon-t,.beacon:focus-visible .beacon-t{max-width:120px;opacity:1;padding:0 2px 0 18px}
.beacon:hover .beacon-orb i::after,.beacon:focus-visible .beacon-orb i::after{animation-duration:2.2s}
.beacon:active{transform:scale(.96)}
@keyframes lx-beacon-in{from{opacity:0;transform:translateY(10px) scale(.86)}to{opacity:1;transform:none}}
@keyframes lx-beacon-orbit{to{offset-distance:100%}}
@keyframes lx-beacon-heart{0%,100%{transform:scale(1);opacity:.92}50%{transform:scale(1.22);opacity:1}}
@keyframes lx-beacon-ping{0%{transform:scale(.5);opacity:0}4%{opacity:.7}22%,100%{transform:scale(1.9);opacity:0}}
/* where the moons cannot ride a path, they rest at the top of their orbits */
@supports not (offset-path:circle(50% at 50% 50%)){.beacon-orb i::after{top:0}}

/* stepping aside: gone from sight, from the pointer and from the tab order */
html.lx-foot .beacon-dock,html.lx-diving .beacon-dock{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .35s,transform .5s cubic-bezier(.22,1,.36,1),visibility 0s linear .35s}
/* a page's footer keeps a clear strip the size of the beacon, so nothing can be left under it at the end of a page (the beacon also steps aside there) */
.site-foot{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
.foot{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}

/* the Field (home and sector pages): the fine print makes room on wide screens */
@media (min-width:900px){html.lx-field .fine{right:calc(var(--gr) + 62px);bottom:calc(20px + var(--sb))}
  html.lx-field .timebar{right:calc(322px + var(--gr))}
  /* with a card open at the right, the beacon moves to the left corner of the sky, clear of the card whatever its height */
  html.lx-field:has(.peek.in) .beacon-dock{right:auto;left:calc(var(--rail) + var(--gl) + 24px)}
  html.lx-field.rail-closed:has(.peek.in) .beacon-dock{left:var(--gl)}
  html.lx-field:has(.peek.in) .beacon{flex-direction:row}
  html.lx-field:has(.peek.in) .beacon:hover .beacon-t,html.lx-field:has(.peek.in) .beacon:focus-visible .beacon-t{padding:0 18px 0 2px}}
/* on a narrower desktop there is no room beside Replay for the word, so the docked beacon stays a circle there (its name is still read out) */
@media (min-width:900px) and (max-width:1279px){html.lx-field:has(.peek.in) .beacon:hover .beacon-t,html.lx-field:has(.peek.in) .beacon:focus-visible .beacon-t{max-width:0;opacity:0;padding:0}}
/* a phone's Field keeps the directory sheet along the bottom, so the beacon floats just above it, level with Replay */
@media (max-width:899px){
  .beacon{height:44px;min-width:44px;border-radius:22px}
  .beacon-dock{right:max(12px,env(safe-area-inset-right,0px));bottom:calc(14px + env(safe-area-inset-bottom,0px))}
  html.lx-field .beacon-dock{bottom:calc(var(--sheet,172px) + 12px);z-index:14}
  html.lx-field.sheet-open .beacon-dock,html.lx-field:has(.peek.in) .beacon-dock,html.lx-field.searching .beacon-dock{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .35s,transform .5s cubic-bezier(.22,1,.36,1),visibility 0s linear .35s}
}
@media (max-width:899px) and (max-height:540px) and (orientation:landscape){html.lx-field .beacon-dock{right:auto;left:max(12px,env(safe-area-inset-left,0px));bottom:calc(var(--sheet,58px) + 10px)}}
html.still .beacon,html.still .beacon *,html.lx-still .beacon,html.lx-still .beacon *,html.still .beacon *::before,html.still .beacon *::after,html.lx-still .beacon *::before,html.lx-still .beacon *::after{animation:none!important}
html.still .beacon-orb i::after,html.lx-still .beacon-orb i::after{offset-distance:12%}
@media (prefers-reduced-motion:reduce){.beacon,.beacon *,.beacon *::before,.beacon *::after{animation:none!important;transition-duration:.01ms!important}.beacon-dock{transition-duration:.01ms!important}.beacon-orb i::after{offset-distance:12%}}
@media print{.beacon-dock,#lxsky{display:none!important}}
@media (forced-colors:active){.beacon{border:1px solid ButtonText}.beacon-t{max-width:120px;opacity:1;padding:0 2px 0 18px}}

/* ---------- words over the living sky on the Field: the header's small text carries a soft dark halo (the gas is also held darker under the header, in sky.js) ---------- */
html.lx-gl.lx-field .hint,html.lx-gl.lx-field .top .tool,html.lx-gl.lx-field .tagline,html.lx-gl.lx-field .top .crumbs,html.lx-gl.lx-field .fine{text-shadow:0 0 3px #03040A,0 0 7px #03040A,0 0 12px rgba(3,4,10,.9)}
html.lx-gl.lx-field .hint{color:#C3C8D6}
/* if the graphics context is lost the layer hides and the painted sky returns */
html:not(.lx-gl) #lxsky{visibility:hidden}

/* ---------- page to page: a short cross-fade instead of a hard cut (browsers that do not know this ignore it) ---------- */
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  ::view-transition-old(root){animation:lx-vt-out .26s ease both}
  ::view-transition-new(root){animation:lx-vt-in .42s ease both}
}
/* Motion off (the site's own switch) means no fade either */
html.still::view-transition-old(root),html.still::view-transition-new(root),html.lx-still::view-transition-old(root),html.lx-still::view-transition-new(root){animation:none!important}
@keyframes lx-vt-out{to{opacity:0}}
@keyframes lx-vt-in{from{opacity:0}}
