.clubs__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.clubs__h1 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin: 2px 0 8px; }
.clubs__lead { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); max-width: 560px; }
.clubs__lead a { color: var(--ember-ink); text-decoration: none; }
.clubs__lead a:hover { text-decoration: underline; }

.clubs__table-card { overflow: hidden; }

.clubs__row {
  display: grid; grid-template-columns: 66px 1fr 96px 148px 110px; gap: 12px; align-items: center;
  padding: 11px 16px;
}
.clubs__row--head {
  background: var(--surface-bg);
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(var(--fg-rgb), .5);
}
.clubs__col-action { text-align: right; }

.clubs__data-row { border-bottom: 1px solid var(--hairline-min); }
.clubs__data-row:last-child { border-bottom: none; }

.clubs__logo-slot {
  width: 46px; height: 46px; border-radius: var(--radius-input); background: var(--surface-bg);
  border: 1px solid rgba(var(--fg-rgb), .08); display: grid; place-items: center; overflow: hidden; position: relative;
  cursor: pointer;
}
.clubs__logo-slot.is-dragover { border-color: var(--pulse); background: rgba(251,146,60,.08); }
.clubs__logo-slot img { width: 100%; height: 100%; object-fit: cover; }
.clubs__logo-slot input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.clubs__logo-slot .crest { width: 46px; height: 46px; font-size: 18.4px; }

.clubs__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.clubs__name strong { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clubs__name span { font-size: 11.5px; color: rgba(var(--fg-rgb), .5); }

.clubs__abbr { display: flex; align-items: center; gap: 8px; }
.clubs__abbr .crest { width: 24px; height: 24px; font-size: 9.6px; }
.clubs__abbr-code { font-size: 13px; font-weight: 600; letter-spacing: .04em; }

.clubs__swatches { display: flex; gap: 6px; }
.clubs__swatch {
  width: 22px; height: 22px; border-radius: var(--radius-badge-lg); border: 2px solid transparent;
  cursor: pointer; padding: 0;
}
.clubs__swatch.is-active { border-color: var(--text-primary); }

.clubs__actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.clubs__edit {
  height: 32px; padding: 0 12px; border-radius: var(--radius-input); border: 1px solid var(--hairline-min);
  background: transparent; font-family: var(--font); font-size: 12.5px; font-weight: 600; color: var(--text-primary); cursor: pointer;
}
.clubs__delete {
  width: 32px; height: 32px; border-radius: var(--radius-input); border: none; background: transparent;
  color: var(--red-strong); font-size: 16px; cursor: pointer;
}
.clubs__delete:hover { background: rgba(190,60,45,.1); }

.clubs__row--add {
  background: rgba(251,146,60,.07); align-items: center;
}
.clubs__row--add[hidden] { display: none; }
.clubs__add-tile {
  width: 46px; height: 46px; border-radius: var(--radius-input); border: 1px dashed rgba(var(--fg-rgb), .3);
  display: grid; place-items: center; font-size: 18px; color: rgba(var(--fg-rgb), .45);
}
.clubs__add-name, .clubs__add-abbr {
  height: 36px; border-radius: var(--radius-input); border: 1px solid var(--hairline-min);
  background: var(--surface-fill); color: var(--text-primary); font-family: var(--font); padding: 0 10px;
}
.clubs__add-name { font-size: 13.5px; }
.clubs__add-abbr { font-size: 13px; text-transform: uppercase; width: 100%; }
.clubs__add-save {
  height: 32px; padding: 0 14px; border-radius: var(--radius-input); border: none;
  background: var(--text-primary); color: var(--surface-bg); font-family: var(--font); font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.clubs__add-save:disabled { opacity: .4; cursor: not-allowed; }
.clubs__add-cancel {
  width: 32px; height: 32px; border-radius: var(--radius-input); border: none; background: transparent;
  font-size: 16px; color: rgba(var(--fg-rgb), .5); cursor: pointer;
}

.clubs__footnote { font-size: 11.5px; line-height: 1.5; color: rgba(var(--fg-rgb), .45); margin-top: 14px; }

@media (max-width: 720px) {
  .clubs__row { grid-template-columns: 46px 1fr 80px; }
  .clubs__row > :nth-child(4), .clubs__row > :nth-child(5) { display: none; }
}
