.roster { max-width: 1420px; padding-block: clamp(15px, 3vw, 38px); }
.roster-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.roster h1 { margin: 0 0 8px; }
#roster-count { margin: 0; color: var(--ink); font-size: 16px; font-weight: 600; }
#roster-status { margin: 10px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--wash); font-size: 14px; }
.roster-group { margin-top: 26px; }
.roster-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 12px; padding: 10px 16px; border-radius: 12px; background: var(--family); color: #fff; }
.roster-group-heading h2 { margin: 0; font: 400 clamp(24px, 2.6vw, 32px)/1.15 var(--fauna-display, Georgia, serif); }
.roster-group-count { font-size: 15px; font-weight: 600; }
.roster-needs-count { padding: 3px 10px; border-radius: 999px; background: #ffc83d; color: #3d2600; font-weight: 700; white-space: nowrap; }
.roster-group[data-family="fable"], .roster-artist[data-family="fable"] { --family: #1f6b4a; --family-wash: #e4f1e7; }
.roster-group[data-family="astra"], .roster-artist[data-family="astra"] { --family: #a8521a; --family-wash: #f7eadf; }
.roster-group[data-family="other"], .roster-artist[data-family="other"] { --family: #5a5f6b; --family-wash: #eceef1; }
.roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.roster-artist { display: flex; flex-direction: column; gap: 6px; min-width: 0; min-height: 176px; overflow: hidden; padding: 0 14px 14px; border: 1px solid var(--line); border-left: 6px solid var(--family); border-radius: var(--fauna-card-radius, 18px); background: var(--white); box-shadow: var(--fauna-card-shadow, none); color: var(--ink); text-decoration: none; }
.roster-artist:hover { border-color: var(--family); }
.roster-artist:active { transform: scale(.985); }
.roster-artist:focus-visible { outline: 3px solid var(--family); outline-offset: 3px; }
.roster-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin: 0 -14px 4px; padding: 6px 14px; background: var(--family-wash); }
.roster-family { padding: 4px 12px; border-radius: 999px; background: var(--family); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.roster-state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.roster-state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.roster-artist[data-state="working"] .roster-state { color: var(--ink); font-weight: 650; }
.roster-artist[data-state="working"] .roster-state::before { background: #2fa866; box-shadow: 0 0 0 4px #2fa86633; }
.roster-names { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.roster-names h3 { margin: 0; font: 400 clamp(20px, 2vw, 25px)/1.2 var(--fauna-display, Georgia, serif); overflow-wrap: anywhere; }
.roster-model { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
.roster-piece { margin: 2px 0 0; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.roster-room { margin-right: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.roster-none { color: var(--muted); }
.roster-protocol { margin: 0; min-height: 20px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.roster-command { margin-right: 8px; padding: 1px 6px; border-radius: 4px; background: var(--family-wash); color: var(--ink); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.roster-goal { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.roster-open { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--family); }
.roster-empty { color: var(--muted); }

/* Needing Jay is amber and filled, apart from the burnt orange that marks the Astra family. */
.roster-artist[data-state="approval"], .roster-artist[data-state="input"] { background: #fff4cc; border-color: #e0a100; border-left-color: var(--family); box-shadow: 0 0 0 2px #e0a100; }
.roster-artist[data-state="approval"] .roster-state, .roster-artist[data-state="input"] .roster-state { padding: 5px 12px; border-radius: 999px; background: #ffc83d; color: #3d2600; font-size: 14px; font-weight: 700; }
.roster-artist[data-state="approval"] .roster-state::before, .roster-artist[data-state="input"] .roster-state::before { background: #3d2600; }
@media (max-width: 900px) {
    .roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .roster-grid { grid-template-columns: 1fr; }
}

/* Needs you: one row for each artist that has stopped for Jay, above the families. */
.roster-needs { margin-top: 18px; padding: 12px 16px 14px; border: 2px solid #e0a100; border-radius: 14px; background: #fff4cc; color: #3d2600; }
.roster-needs[hidden] { display: none; }
.roster-needs h2 { margin: 0 0 8px; font: 400 clamp(22px, 2.4vw, 28px)/1.15 var(--fauna-display, Georgia, serif); }
.roster-needs-list { display: grid; gap: 8px; }
.roster-needs-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; min-height: 52px; padding: 8px 14px; border-radius: 10px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px #e0a100; }
.roster-needs-row[data-family="fable"] { --family: #1f6b4a; }
.roster-needs-row[data-family="astra"] { --family: #a8521a; }
.roster-needs-row[data-family="other"] { --family: #5a5f6b; }
.roster-needs-row:active { transform: scale(.99); }
.roster-needs-row strong { font-size: 17px; }
.roster-needs-what { padding: 3px 10px; border-radius: 999px; background: #ffc83d; color: #3d2600; font-size: 14px; font-weight: 700; white-space: nowrap; }
.roster-needs-piece { flex: 1; min-width: 120px; font-size: 15px; overflow-wrap: anywhere; }
.roster-needs-open { font-size: 14px; font-weight: 600; color: var(--family); white-space: nowrap; }
.roster-latest { margin: 2px 0 0; padding: 6px 10px; border-radius: 8px; background: var(--family-wash); font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.roster-latest time { margin-right: 8px; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.roster-artist[data-state="approval"] .roster-latest, .roster-artist[data-state="input"] .roster-latest { background: #ffffffb3; }
