/* ================= TRACK CARD ================= */
.track{
  display:flex;
  align-items:center;
  gap:12px;
  background:linear-gradient(180deg,var(--cardTop),var(--cardBot));
  margin-bottom:12px;
  padding:12px;
  border-radius:14px;
  position:relative;
  overflow:visible;
}
.track.open{ margin-bottom:64px; }

/* RANK */
.rank{
  width:56px;
  min-width:56px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  font-weight:700;
  color:var(--blue2);
}
.rank-num{ font-size:15px; }
.rank-badge{
  background:#ff2e2e;
  color:#fff;
  font-size:10px;
  padding:2px 6px;
  border-radius:999px;
}

/* TREND */
.trend{ font-size:12px; font-weight:800; }
.trend.up::before{ content:"▲"; color:#3cff9e; }
.trend.down::before{ content:"▼"; color:#ff5b5b; }
.trend.same::before{ content:"–"; color:#9aa4b2; }

/* COVER */
.cover{
  width:64px;
  height:64px;
  border-radius:10px;
  overflow:hidden;
  background:#000;
  position:relative;
}
.cover img{ width:100%; height:100%; object-fit:cover; }

.trend-bubble{
  position:absolute;
  top:-6px; right:-6px;
  width:22px; height:22px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:800;
  box-shadow:0 2px 6px rgba(0,0,0,.4);
}
.trend-bubble.up{ background:#3cff9e; color:#062b1c; }
.trend-bubble.down{ background:#ff5b5b; color:#3a0000; }
.trend-bubble.same{ background:#9aa4b2; color:#0b1220; }

/* INFO */
.info{ flex:1; min-width:0; }
.info strong{
  font-size:15px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.meta{
  font-size:13px;
  color:#aeb8cc;
  margin-top:4px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}