/* featbar.css — #gwFeatureBar: the big auto-rotating strip of clickable
   square tiles on the landing (featbar.js). One continuous marquee of
   200px squares — local art only, pauses on hover, honest links.
   Scoped .fb-*; themed via shared vars for wtf/dark. */

#gwFeatureBar{
  margin:34px 0 10px;
  overflow:hidden;
}

#gwFeatureBar .fb-rail{
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
}

#gwFeatureBar .fb-track{
  display:flex;
  gap:18px;
  width:max-content;
  padding:8px 4px 14px;
  animation:fbScroll 55s linear infinite;
  will-change:transform;
}
#gwFeatureBar .fb-rail:hover .fb-track{ animation-play-state:paused; }
@media (prefers-reduced-motion: reduce){
  #gwFeatureBar .fb-track{ animation:none; overflow-x:auto; }
}

@keyframes fbScroll{
  from{ transform:translateX(0); }
  to  { transform:translateX(-50%); }
}

/* ---- the big square tile ---------------------------------------------- */
#gwFeatureBar .fb-tile{
  flex:0 0 200px;
  display:flex;
  flex-direction:column;
  gap:0;
  text-decoration:none;
  color:inherit;
  border-radius:20px;
  overflow:hidden;
  background:var(--panel,#17131f);
  border:1px solid var(--hairline,rgba(255,255,255,.09));
  box-shadow:0 10px 26px -16px rgba(10,4,26,.6);
  transition:transform .16s ease, border-color .16s ease;
}
#gwFeatureBar .fb-tile:hover{
  transform:translateY(-4px) scale(1.02);
  border-color:var(--p400,#ff5470);
}

#gwFeatureBar .fb-art{
  position:relative;
  display:grid;
  place-items:center;
  width:200px;
  height:200px;   /* true square — matches the founder's -square art set */
  overflow:hidden;
}
#gwFeatureBar .fb-art img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
#gwFeatureBar .fb-emoji{
  font-size:64px;
  line-height:1;
  filter:drop-shadow(0 6px 14px rgba(0,0,0,.35));
}

#gwFeatureBar .fb-label{
  padding:11px 14px 12px;
  font-size:14.5px;
  font-weight:700;
  color:var(--ink-hi,#f6f1fa);
  background:var(--raised,rgba(255,255,255,.04));
  border-top:1px solid var(--hairline,rgba(255,255,255,.07));
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

@media (max-width:640px){
  #gwFeatureBar .fb-tile{ flex-basis:160px; }
  #gwFeatureBar .fb-art{ width:160px; height:160px; }
  #gwFeatureBar .fb-emoji{ font-size:52px; }
  #gwFeatureBar .fb-label{ font-size:13px; padding:9px 12px 10px; }
}
