/* Orbit micro-interactions: no business logic or persistence changes. */
@media (hover:hover) and (pointer:fine) {
  :is(.app,.chart-app,.panel,.connection-dashboard) :is(
    .btn,button,.interest-choice,.profile-tab-current,.profile-tab-preview
  ):not(:disabled):not([aria-disabled="true"]):hover {
    filter:brightness(1.07);
    box-shadow:0 3px 18px rgba(190,151,225,.13);
  }
}
:is(.app,.chart-app,.panel,.connection-dashboard) :is(
  .btn,button,.interest-choice,.profile-tab-current,.profile-tab-preview
):not(:disabled):not([aria-disabled="true"]):active {
  transform:scale(.975);
  filter:brightness(1.10);
}
:is(.app,.chart-app,.panel,.connection-dashboard) :is(
  .btn,button,.interest-choice,.profile-tab-current,.profile-tab-preview
):not(:disabled) {
  transition:transform 160ms cubic-bezier(.2,.8,.2,1),
             filter 160ms ease,box-shadow 180ms ease,
             background-color 160ms ease,border-color 160ms ease;
}
/* Keep navigation itself stationary: only its active underline should move. */
#mobileNav.bottom > button:active,
.chart-mobile-bottom > a:active {transform:none!important;}
#orbit-nav-glide {
  position:fixed;
  left:0;top:0;
  width:24px;height:2px;
  border-radius:999px;
  background:#f1cb86;
  box-shadow:0 0 9px rgba(241,203,134,.35);
  z-index:10002;
  pointer-events:none;
  opacity:0;
  transform:translate3d(0,0,0);
  transition:left 270ms cubic-bezier(.22,1,.36,1),
             top 270ms cubic-bezier(.22,1,.36,1),
             width 270ms cubic-bezier(.22,1,.36,1),
             opacity 150ms ease;
}
html.orbit-glide-ready #mobileNav.bottom > button.active::after,
html.orbit-glide-ready .chart-mobile-bottom > a.active::after {
  opacity:0!important;
}
#orbit-toast-stack {
  position:fixed;
  z-index:11000;
  inset:auto 12px calc(90px + env(safe-area-inset-bottom,0px));
  display:flex;flex-direction:column;align-items:center;gap:8px;
  pointer-events:none;
}
.orbit-toast {
  max-width:min(390px,calc(100vw - 32px));
  padding:12px 18px;
  color:#fff6ff;
  background:rgba(31,21,46,.94);
  border:1px solid rgba(241,203,134,.44);
  border-radius:14px;
  font:500 13px/1.45 Inter,system-ui,sans-serif;
  letter-spacing:.01em;
  text-align:center;
  box-shadow:0 10px 26px rgba(9,5,23,.23);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  opacity:0;transform:translate3d(0,9px,0);
  transition:opacity 220ms ease,transform 220ms ease;
}
.orbit-toast.is-visible {opacity:1;transform:translate3d(0,0,0)}
@media (min-width:701px) {
  #orbit-nav-glide {display:none!important}
  #orbit-toast-stack {inset:auto 20px 24px auto;align-items:flex-end}
}
@media (prefers-reduced-motion:reduce) {
  #orbit-nav-glide,.orbit-toast,
  :is(.app,.chart-app,.panel,.connection-dashboard) :is(
    .btn,button,.interest-choice,.profile-tab-current,.profile-tab-preview
  ) {transition:none!important;animation:none!important;}
  :is(.app,.chart-app,.panel,.connection-dashboard) :is(
    .btn,button,.interest-choice,.profile-tab-current,.profile-tab-preview
  ):active {transform:none!important}
}
