/* dashboard.css — the "My Team" hub. Shared primitives from base.css. */

.db-grade-card {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  background: radial-gradient(900px 240px at 12% -50%, rgba(243, 156, 44,0.10), transparent 70%), var(--bg-panel);
  border: 1px solid var(--stroke); border-left: 3px solid var(--accent-gold);
  border-radius: var(--radius); box-shadow: var(--shadow-2);
  padding: 24px 26px; margin-bottom: 18px;
}
.db-verdict {
  font-family: var(--font-display); font-size: 34px; font-weight: 800;
  letter-spacing: -0.02em; color: var(--accent-gold); line-height: 1;
}
.db-headline { margin: 10px 0 16px; color: var(--text-2); font-size: 15px; line-height: 1.55; max-width: 640px; }
.db-grade-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--text-muted); }
.db-grade-meta b { color: var(--text); font-family: var(--font-mono); }
.db-share-btn {
  flex-shrink: 0; background: var(--bg-input); border: 1px solid var(--stroke);
  color: var(--text-2); padding: 9px 16px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .15s, color .15s;
}
.db-share-btn:hover { border-color: var(--accent-gold); color: var(--accent-gold); }

.db-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
@media (max-width: 760px) { .db-grid { grid-template-columns: 1fr; } }
.db-panel {
  background: var(--bg-panel); border: 1px solid var(--stroke);
  border-radius: var(--radius); padding: 16px 18px;
}
.db-panel h3 {
  margin: 0 0 12px; font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text-2);
}
.db-hint { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text-faint); font-size: 11px; margin-left: 6px; }
.db-none { font-size: 13px; padding: 4px 0; }

.db-target { padding: 10px 0; border-bottom: 1px solid var(--stroke-soft); }
.db-target:last-child { border-bottom: 0; }
.db-target-meta { display: flex; gap: 14px; font-size: 12px; margin-top: 3px; font-family: var(--font-mono); }
.db-pos {
  font-family: var(--font-mono); font-size: 10px; background: var(--bg-chip);
  border: 1px solid var(--stroke); border-radius: 5px; padding: 1px 5px; color: var(--text-muted); margin-left: 4px;
}
.db-thin-row, .db-mover-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--stroke-soft); font-size: 14px;
}
.db-thin-row:last-child, .db-mover-row:last-child { border-bottom: 0; }
.db-mover-row span:last-child { font-family: var(--font-mono); font-weight: 700; }

/* trade feed styles moved to league_view.css (feature relocated there) */
@media (max-width: 600px) {
  .db-grade-card { flex-direction: column; }
}

/* ---------- position depth + decay risk (moved from League View) ---------- */
.db-depth-row {
  display: grid; grid-template-columns: 40px 80px 90px 1fr; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--stroke-soft); font-size: 13px;
}
.db-depth-row:last-child { border-bottom: 0; }
.db-depth-pos { font-family: var(--font-mono); font-weight: 700; }
.db-depth-val { font-family: var(--font-mono); }
.db-depth-rank { font-family: var(--font-mono); font-size: 12px; }
.db-depth-meta { font-size: 11px; }
.db-decay { padding: 7px 10px; margin-bottom: 6px; font-size: 13px; border-radius: var(--radius-sm); background: rgba(245,166,35,0.08); border-left: 3px solid #f5a623; }

/* Ranked roster with position toggles */
.db-roster-panel { margin-bottom: 18px; }
.db-pos-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.db-pos-chip {
  font: 600 12px var(--font-mono); letter-spacing: 0.03em;
  background: transparent; border: 1px solid var(--stroke);
  color: var(--text-muted); padding: 4px 12px; border-radius: var(--radius-pill);
  cursor: pointer; transition: border-color .12s, color .12s, background .12s;
}
.db-pos-chip:hover { border-color: var(--accent-gold); color: var(--text-2); }
.db-pos-chip.active { background: var(--accent-gold); border-color: var(--accent-gold); color: #1a1205; }
.db-roster-row {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center;
  gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--stroke);
}
.db-roster-row:last-child { border-bottom: none; }
.db-roster-rank { font-size: 12px; text-align: right; }
.db-roster-name { font-size: 14px; }
.db-roster-val { font-size: 14px; color: var(--text); font-weight: 700; }
