/* Shared interaction polish across Zeelin platform surfaces.
   Deliberately color-neutral: preserves each portal's own palette. */
:root{
  --platform-motion:cubic-bezier(.16,1,.3,1);
}
button,
a[href],
[role="button"],
[onclick],
.card,
.pcard,
.metric,
.stat,
[class*="card"],
[class*="tile"]{
  transition:transform .2s var(--platform-motion),box-shadow .2s ease,border-color .2s ease,filter .2s ease,background-color .2s ease,color .2s ease;
}
@media(hover:hover) and (pointer:fine){
  button:not(:disabled):hover,
  a[href]:hover,
  [role="button"]:hover,
  [onclick]:hover{
    transform:translateY(-2px);
  }
  button:not(:disabled):hover{
    filter:brightness(1.035);
  }
  .card:hover,
  .pcard:hover,
  [class*="card"]:hover,
  [class*="tile"]:hover{
    transform:translateY(-3px);
    box-shadow:0 14px 30px rgba(0,0,0,.12);
  }
  img{transition:transform .28s var(--platform-motion),filter .2s ease}
  a:hover img,
  [class*="card"]:hover img,
  [class*="tile"]:hover img{transform:scale(1.02)}
}
button:not(:disabled):active,
a[href]:active,
[role="button"]:active,
[onclick]:active{
  transform:translateY(0) scale(.985);
}
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible{
  outline:3px solid currentColor;
  outline-offset:3px;
}
[data-platform-star]{
  cursor:pointer;
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
  }
}

.platform-star-selected,
.platform-star-preview{
  color:#D4A02A!important;
  filter:drop-shadow(0 3px 7px rgba(212,160,42,.22));
  transform:translateY(-1px) scale(1.04);
}


/* Strong visual previews requested across Zeelin platform. */
@media(hover:hover) and (pointer:fine){
  button:not(:disabled):hover,
  a[href]:hover,
  [role="button"]:hover,
  [onclick]:hover{
    transform:translateY(-3px) scale(1.035);
    filter:brightness(1.04);
  }
  .card:hover,
  .pcard:hover,
  [class*="card"]:hover,
  [class*="tile"]:hover{
    transform:translateY(-7px) scale(1.022);
    box-shadow:0 20px 40px rgba(0,0,0,.16);
  }
  .overview-sidebar-copy .nav-item:not(.active):hover{
    transform:translateX(6px) scale(1.015)!important;
    background:rgba(255,255,255,.17)!important;
    box-shadow:0 7px 16px rgba(0,0,0,.10)!important;
  }
  .overview-sidebar-copy .nav-item.active:hover{
    transform:scale(1.015)!important;
    box-shadow:0 8px 20px rgba(242,193,72,.42)!important;
  }
}
button:not(:disabled):active,
a[href]:active,
[role="button"]:active,
[onclick]:active{
  transform:translateY(0) scale(.96);
}
