/* PROVADIA — THE NEXUS (nexus-instrument-v1).
   A persistent cross-world instrument, never an 11th door: a 44px (mobile)
   / 48px (desktop) antique-gold astrolabe sphere riding every door at
   z-index 35, opening on tap into six genuine satellites — Share This
   World · My PROVADIA · Solnik · The Agora · External Communities ·
   Support & Human Escalation — and reassembling on tap / Esc / outside
   tap. Only real doors open: X (@ProvadiaCoin) and the PROVADIA Discord
   are live tonight; Telegram rides visibly SEALED and non-clickable.
   Sharing is always the visitor's own act — intents, the native sheet,
   downloads, clipboard — zero credential custody, payloads built only
   from the page's public share manifest. On /coin/ the sphere rests at
   the bottom-right so CONNECT WALLET / TRADE PROVADIA stay unobstructed. */

.nexus-root{position:fixed;top:16px;right:16px;z-index:35;font-family:Inter,system-ui,sans-serif}
@media (min-width:761px){.nexus-root{top:20px;right:24px}}
body[data-nexus-anchor="bottom"] .nexus-root{top:auto;bottom:24px}

.nexus-sphere{width:44px;height:44px;border-radius:50%;border:1px solid #C9A227;cursor:pointer;padding:0;
  background:radial-gradient(circle at 35% 30%,#3a2c10,#141210 72%);
  box-shadow:0 0 0 3px rgba(201,162,39,.18),0 4px 18px rgba(0,0,0,.55),inset 0 0 12px rgba(201,162,39,.35);
  display:flex;align-items:center;justify-content:center;position:relative;z-index:2}
@media (min-width:761px){.nexus-sphere{width:48px;height:48px}}
.nexus-sphere::after{content:"";width:12px;height:12px;border-radius:50%;background:#C9A227;
  box-shadow:0 0 10px rgba(228,198,91,.8);animation:nexusBreath 3.6s ease-in-out infinite}
@keyframes nexusBreath{0%,100%{opacity:.55;transform:scale(.85)}50%{opacity:1;transform:scale(1.1)}}
.nexus-sphere:focus-visible{outline:2px solid #C9A227;outline-offset:3px}

.nexus-scrim{position:fixed;inset:0;background:rgba(20,18,16,.92);z-index:1;opacity:0;pointer-events:none;transition:opacity .3s ease}
.nexus-root.open .nexus-scrim{opacity:1;pointer-events:auto}

.nexus-orbit{position:fixed;inset:0;z-index:1;display:none;align-items:center;justify-content:center;pointer-events:none}
.nexus-root.open .nexus-orbit{display:flex}
.nexus-core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:92px;height:92px;border-radius:50%;
  border:1px solid #C9A227;background:radial-gradient(circle at 40% 32%,#2c2008,#141210 75%);
  display:flex;align-items:center;justify-content:center;text-align:center;pointer-events:auto;cursor:pointer;z-index:3}
.nexus-core span{font-family:Cinzel,serif;letter-spacing:.14em;font-size:.58rem;color:#E9DDC6;text-transform:uppercase;line-height:1.5;padding:0 10px}
.nexus-core:focus-visible{outline:2px solid #C9A227;outline-offset:3px}

.nexus-sat{position:absolute;left:50%;top:50%;width:186px;pointer-events:auto;
  transform:translate(calc(-50% + var(--dx,0px)),calc(-50% + var(--dy,0px)));
  background:rgba(20,18,16,.96);border:1px solid rgba(201,162,39,.55);padding:11px 12px;z-index:2;
  animation:nexusIn .32s ease both}
@keyframes nexusIn{from{opacity:0}to{opacity:1}}
.nexus-sat .nexus-sat-tag{font-family:Cinzel,serif;letter-spacing:.18em;font-size:.56rem;color:#C9A227;text-transform:uppercase;margin:0 0 4px}
.nexus-sat .nexus-sat-title{font-family:Cinzel,serif;font-size:.92rem;color:#E9DDC6;margin:0 0 5px;line-height:1.25}
.nexus-sat .nexus-sat-body{font-size:.76rem;line-height:1.5;color:rgba(233,221,198,.82);margin:0 0 8px}
.nexus-sat a.nexus-go,.nexus-sat button.nexus-go{display:inline-block;font-family:Cinzel,serif;letter-spacing:.12em;font-size:.64rem;
  text-transform:uppercase;color:#141210;background:#C9A227;border:1px solid #C9A227;text-decoration:none;
  padding:.45rem .75rem;cursor:pointer;margin:0 6px 6px 0}
.nexus-sat a.nexus-go.ghost,.nexus-sat button.nexus-go.ghost{background:transparent;color:#C9A227}
.nexus-sat a.nexus-go:hover,.nexus-sat button.nexus-go:hover{background:#E9DDC6;border-color:#E9DDC6;color:#141210}
.nexus-sat a.nexus-go.ghost:hover,.nexus-sat button.nexus-go.ghost:hover{background:rgba(201,162,39,.15);color:#E9DDC6}
.nexus-sat .nexus-sealed{display:inline-block;font-family:Cinzel,serif;letter-spacing:.16em;font-size:.62rem;text-transform:uppercase;
  color:#cfc6ae;background:#30251B;border:1px solid rgba(160,150,125,.55);padding:.45rem .75rem;cursor:not-allowed;user-select:none}
.nexus-sat .nexus-badge{display:inline-block;font-family:Cinzel,serif;letter-spacing:.14em;font-size:.56rem;text-transform:uppercase;
  color:#E9DDC6;border:1px solid rgba(201,162,39,.5);padding:.2rem .5rem;margin-left:6px;vertical-align:middle}
.nexus-sat .nexus-leader{position:absolute;left:50%;top:100%;width:1px;height:26px;background:rgba(201,162,39,.5)}
.nexus-sat .nexus-tip{position:absolute;left:50%;top:calc(100% + 26px);width:6px;height:6px;margin-left:-3px;border-radius:50%;background:#E4C65B}

.nexus-share{margin-top:2px}
.nexus-share-grid{display:flex;flex-wrap:wrap;gap:5px}
.nexus-share-grid a,.nexus-share-grid button{font-size:.68rem;letter-spacing:.04em;color:#E9DDC6;background:rgba(201,162,39,.1);
  border:1px solid rgba(201,162,39,.4);padding:.34rem .55rem;cursor:pointer;text-decoration:none;font-family:Inter,system-ui,sans-serif}
.nexus-share-grid a:hover,.nexus-share-grid button:hover{background:rgba(201,162,39,.25)}
.nexus-share-note{font-size:.68rem;line-height:1.45;color:rgba(233,221,198,.6);margin:7px 0 0}
.nexus-copied{font-size:.68rem;color:#C9A227;margin:5px 0 0;min-height:1em}

@media (max-width:760px){
  .nexus-sat{width:158px;padding:10px 11px}
  .nexus-sat .nexus-sat-body{font-size:.7rem}
  .nexus-core{width:76px;height:76px}
}
@media (prefers-reduced-motion:reduce){
  .nexus-sphere::after{animation:none}
  .nexus-sat{animation:none}
  .nexus-scrim{transition:none}
}
