/* ======================================
   SKILL CARDS (Skills tab)
   ====================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.6rem;
}

.skill-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  transition: border-color 0.2s;
}
@media (hover: hover) { .skill-card:not(.locked):hover { border-color: var(--accent-ember); } }
.skill-card.locked {
  opacity: 0.4;
  filter: grayscale(0.6);
}
.skill-card.whisper-unlocked { border-color: rgba(144,112,192,0.4); }

.skill-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.skill-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}
.skill-attr-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid var(--border-dim);
  border-radius: 3px;
  padding: 0 4px;
  flex-shrink: 0;
}

.skill-pips {
  display: flex;
  gap: 4px;
  margin-bottom: 0.4rem;
}
.pip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
}
.pip.filled          { background: var(--accent-ember); border-color: var(--accent-ember); }
.pip.filled.whisper  { background: var(--accent-violet); border-color: var(--accent-violet); }

/* skill cards reuse the shared .bar-track.thin / .bar-fill system */
.skill-card .bar-track { margin-bottom: 0.35rem; }

.skill-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
}
.skill-rank-name {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
}
/* .skill-unused was the "Unused for {n} days" line under an idle card. The
   card carries nothing under its bar since 2026-09-18 and the warning moved to
   Tidings, so the rule went with the markup. */

