/* Espace club : bouton de la fiche club, demande d'accès, panneau de gestion (charte : contrôles 8 px, cartes 10 px, étiquettes 4 px) */
.cs-open { display: inline-flex; align-items: center; gap: 6px; }
.cs-ok { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--green, #1f9d55); color: #fff; font-size: 10px; font-weight: 900; }
.ct-src.cs-by { color: var(--green, #1f9d55); font-weight: 700; text-decoration: none; }
.cs-dialog { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.cs-dialog form { display: grid; gap: 10px; }
.cs-dialog.cs-wide { width: min(640px, 100%); }
.cs-tabs { margin: 4px 0 12px; }
.cs-body { display: grid; gap: 10px; }
.cs-staff, .cs-list { display: grid; gap: 6px; }
.cs-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; align-items: center; }
.cs-list .cs-row { grid-template-columns: 1fr 96px auto; padding: 4px 0; border-bottom: 1px solid var(--border); }
.cs-list .cs-row:last-child { border-bottom: 0; }
.cs-name { font-size: 13px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-row input, .cs-row select { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--r-ctl, 8px); background: var(--bg-subtle); color: var(--text-main); font: inherit; font-size: 13px; }
.cs-row .sp-btn { white-space: nowrap; }
.cs-acts { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; }
.cs-rights { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 600 !important; color: var(--text-main) !important; }
.cs-rights input { width: auto; margin-top: 2px; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.cs-card { display: grid; justify-items: center; gap: 6px; padding: 10px 8px; border: 1px solid var(--border); border-radius: var(--r-card, 10px); background: var(--bg-subtle); text-align: center; }
.cs-card img, .cs-none { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; }
.cs-none { display: grid; place-items: center; background: var(--bg-card); color: var(--text-dim); font-weight: 800; font-size: 18px; }
.cs-card b { font-size: 12px; line-height: 1.2; min-height: 2.4em; }
.cs-file { cursor: pointer; }
.cs-del { background: none; border: 0; padding: 0; color: var(--text-dim); font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.cs-st { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: var(--r-tag, 4px); font-size: 11px; font-weight: 800; background: var(--bg-subtle); color: var(--text-dim); }
.cs-st.cs-pending { background: var(--ball, #f5c518); color: #111; }
.cs-st.cs-active { background: var(--green, #1f9d55); color: #fff; }
@media (max-width: 520px) {
  .cs-row { grid-template-columns: 1fr auto; }
  .cs-row input:nth-child(2) { grid-column: 1; }
  .cs-staff .cs-row { padding-bottom: 6px; border-bottom: 1px solid var(--border); }
  .cs-staff .cs-row .sp-btn { grid-row: 1; grid-column: 2; }
}
