/* public/css/club.css */

/* === クラブヘッダー === */
.club-header-card {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-card);
  border: none;
  box-shadow: none;
}

.club-cover {
  width: 100%;
  aspect-ratio: 3 / 1;
  max-height: 320px;
  margin-bottom: 18px;
  overflow: hidden;
  background: #111827;
}

.club-cover-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.club-identity {
  display: flex;
  align-items: flex-start; /* 上揃えに変更 */
  gap: 16px;
}

/* ★修正2: カスタムアイコンのサイズ制限 */
.club-badge {
  width: 80px; /* 少し大きく */
  height: 80px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  flex-shrink: 0; /* 縮小させない */
  border: 0;
  box-shadow: none;
}

.club-info-main { flex: 1; min-width: 0; }

.club-info-main h1 {
  margin: 0 0 4px 0;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.club-name-text {
  min-width: 0;
}

.club-tag { color: var(--text-sub); font-family: monospace; font-size: 0.9rem; font-weight: 600; }

.club-desc {
  margin-top: 16px;
  line-height: 1.6;
  white-space: pre-wrap;
  color: var(--text-main);
  font-size: 0.95rem;
  border-top: 1px solid var(--border-soft);
}

.club-desc-original { margin: 0; }
.club-desc-custom {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-soft);
}

.club-api-warning {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  background: #fffbeb;
  color: #92400e;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

/* === 編集ボタン & SNSリンク === */
.btn-edit-club {
  margin-top: 10px;
  background: var(--text-main);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}
.btn-edit-club:hover { opacity: 0.85; }

.club-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.club-links--inline {
  margin-top: 0;
  display: inline-flex;
  vertical-align: middle;
  gap: 8px;
}
.club-link-item {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.club-links--inline .club-link-item {
  width: 32px;
  height: 32px;
  box-shadow: none;
}
.club-links--inline .club-link-icon {
  width: 21px;
  height: 21px;
}
.club-links--inline .club-link-item--x .club-link-icon img {
  max-width: 15px;
  max-height: 15px;
}
.club-links--inline .club-link-item--youtube .club-link-icon img {
  max-width: 22px;
  max-height: 16px;
}
.club-links--inline .club-link-item--discord .club-link-icon img {
  max-width: 17px;
  max-height: 13px;
}
.club-link-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.2);
  opacity: 0.92;
}
.club-link-item--x {
  background: #fff;
  border: 1px solid var(--border-soft);
}
.club-link-item--youtube {
  background: #ff0000;
  border: 1px solid #ff0000;
}
.club-link-item--discord {
  background: #5865f2;
}
.club-link-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.club-link-icon img {
  width: auto;
  height: auto;
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
}
.club-link-item--youtube .club-link-icon {
  width: 26px;
  height: 20px;
}
.club-link-item--youtube .club-link-icon img {
  max-width: 26px;
  max-height: 20px;
}
.club-link-item--x .club-link-icon img {
  max-width: 18px;
  max-height: 18px;
}
.club-link-item--discord .club-link-icon img {
  max-width: 20px;
  max-height: 15px;
}

/* === 統計データ (グリッド) === */
.club-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
@media (max-width: 600px) { .club-stats { grid-template-columns: repeat(2, 1fr); } }

.stat-box {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 12px;
  padding: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: var(--shadow-card);
}
.stat-label { font-size: 11px; color: var(--text-sub); margin-bottom: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-value { font-size: 16px; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 6px; }
.stat-icon { width: 18px; height: 18px; object-fit: contain; }
.stat-value-megapig { flex-wrap: wrap; justify-content: center; }
.stat-value-megapig small {
  flex: 0 0 100%;
  color: var(--text-sub);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

/* === メンバーリスト === */
.member-list-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-soft); }
.member-count-badge { background: var(--bg-page); color: var(--text-sub); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.member-role-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.member-sort-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.member-sort-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-page);
  color: var(--text-main);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}
.member-sort-tab.is-active {
  background: var(--text-main);
  color: #fff;
}
.members-grid { display: flex; flex-direction: column; gap: 8px; }
.member-item { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; padding: 8px; border-radius: 8px; transition: background 0.1s; }
.member-item:hover { background: var(--bg-page); }
.member-rank { font-size: 14px; font-weight: 700; color: var(--text-sub); width: 24px; text-align: center; }
.member-avatar { width: 40px; height: 40px; border-radius: 8px; background: #000; object-fit: cover; }
.member-info { flex: 1; min-width: 0; }
.member-name { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.member-role { font-size: 11px; display: inline-block; padding: 2px 6px; border-radius: 4px; margin-top: 2px; font-weight: 600; }
.member-status {
  display: inline-block;
  margin-left: 6px;
  margin-top: 2px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.member-status.is-online { background: #dcfce7; color: #166534; }
.member-status.is-offline { background: #f1f5f9; color: #64748b; }
.role-leader { background: #dbeafe; color: #1e40af; }
.role-senior { background: #fef3c7; color: #92400e; }
.role-subleader { background: #fee2e2; color: #991b1b; }
.role-member { background: #f3f4f6; color: #4b5563; }
.member-trophies {
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.trophy-val {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  font-weight: 800;
  text-shadow: none;
}

.member-trophy-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.trophy-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}


/* === ★修正3: 編集モーダルのレイアウト修正 === */
.bs-modal__body form {
  display: flex; flex-direction: column; gap: 16px; /* 各入力欄の間隔を広げる */
  margin-top: 12px;
}

/* 各入力フィールドのラッパー */
.bs-modal__body form .form-group {
  display: flex; flex-direction: column; gap: 6px;
}

.bs-modal__body label {
  font-size: 14px; font-weight: 700; color: var(--text-main); display: block;
}

/* 入力欄のスタイル */
.bs-modal__body input[type="text"],
.bs-modal__body input[type="url"],
.bs-modal__body textarea,
.bs-modal__body input[type="file"] {
  width: 100%; padding: 10px 12px; background: #fff; border: 1px solid var(--border-soft); border-radius: 8px;
  font-size: 14px; line-height: 1.5; color: var(--text-main); box-sizing: border-box;
}
.bs-modal__body input:focus, .bs-modal__body textarea:focus {
  border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
/* ファイル入力欄を少しリッチに */
.bs-modal__body input[type="file"] { padding: 6px; background: var(--bg-page); cursor: pointer; }

.bs-modal__body .note { font-size: 12px; color: var(--text-sub); margin-top: 4px; }
.bs-modal__body button[type="submit"] {
  margin-top: 8px; padding: 12px; font-weight: 700; font-size: 15px; width: 100%; background: var(--accent); color: white; border: none; border-radius: 8px; cursor: pointer;
}
.bs-modal__body button[type="submit"]:hover { opacity: 0.9; }

.member-metrics {
  min-width: 360px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex-wrap: nowrap;
}

.member-metric-cell {
  min-height: 32px;
  padding: 0 12px;
  border-left: 1px solid var(--border-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.member-metric-cell:first-child {
  border-left: 0;
}

.member-ranked {
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-ranked-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.member-trophies {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 120px;
}

.trophy-val {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  font-weight: 900;
}

.member-trophy-icon {
  width: auto;
  height: 17px;
  max-width: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.trophy-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.member-megapig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 130px;
}

.mega-val {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  min-width: 42px;
}

.mega-icon {
  width: auto;
  height: 16px;
  max-width: 18px;
  object-fit: contain;
}

.member-group-divider {
  margin: 8px 0 2px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--text-sub);
  font-size: 12px;
  font-weight: 800;
}

/* =========================
   Responsive (Tablet / Mobile)
   ========================= */

/* --- Tablet: 1024px以下（iPad横〜小さめPC） --- */
@media (max-width: 1024px) {
  .club-header-card {
    padding: 18px;
  }

  .club-badge {
    width: 72px;
    height: 72px;
  }

  .club-info-main h1 {
    font-size: 1.35rem;
  }

  .club-stats {
    gap: 10px;
  }

  .stat-value {
    font-size: 15px;
  }

  .member-item {
    padding: 8px;
    gap: 10px;
  }

  .member-rank {
    width: 20px;
  }

  .member-metrics {
    min-width: 0;              /* 固定幅を解除 */
    gap: 0;
  }

  .member-ranked-icon {
    width: 34px;
    height: 34px;
  }

  .trophy-val {
    padding: 4px 10px;
  }
}

/* --- Tablet: 840px以下（iPad縦あたり） --- */
@media (max-width: 840px) {
  .club-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .club-links {
    gap: 10px;
  }

  .member-name {
    font-size: 13.5px;
  }
}

/* --- Mobile: 600px以下（スマホ） --- */
@media (max-width: 600px) {
  .club-header-card {
    padding: 14px;
  }

  /* ヘッダーを縦積みに */
  .club-identity {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .club-badge {
    width: 64px;
    height: 64px;
  }

  .club-info-main {
    width: 100%;
  }

  .club-tag {
    display: inline-block;
    margin-top: 4px;
  }

  .club-links {
    justify-content: center;
  }

  .club-desc {
    margin-top: 12px;
    padding-top: 12px;
    font-size: 0.92rem;
  }

  /* 統計カード：2列（既に600以下2列定義あり）を維持しつつ余白だけ調整 */
  .club-stats {
    gap: 10px;
  }

  .stat-box {
    padding: 10px;
  }

  /* メンバー行：右端のメトリクスを下段に落とす */
  .member-item {
    flex-wrap: wrap;
    align-items: center;
  }

  .member-avatar {
    width: 36px;
    height: 36px;
  }

  .member-info {
    flex: 1;
    min-width: 160px;
  }

  .member-metrics {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    margin-top: 6px;
    gap: 0;
    flex-wrap: wrap;
  }

  .member-ranked-icon {
    width: 34px;
    height: 34px;
  }

  .member-trophies {
    justify-content: flex-start;
  }

  .trophy-val {
    padding: 4px 9px;
  }

  .trophy-num {
    font-size: 14px;
  }
}

/* --- Small Mobile: 420px以下（小さいスマホ） --- */
@media (max-width: 420px) {
  .club-stats {
    grid-template-columns: 1fr;
  }

  .member-rank {
    display: none; /* かなり狭いので順位は非表示 */
  }

  .member-info {
    min-width: 140px;
  }

  .member-ranked-icon {
    width: 32px;
    height: 32px;
  }

  .trophy-num {
    font-size: 13px;
  }
}

/* =========================
   Mobile / Tablet fixes
   ========================= */

/* メンバーの「区切り」を常に出して見やすく（全端末共通） */
.members-grid {
  gap: 10px;
}

.member-item {
  background: var(--bg-card);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 10px 12px;
  transition: transform 0.08s ease, border-color 0.12s ease, background 0.12s ease;
}

.member-item:hover {
  background: var(--bg-page);
  transform: translateY(-1px);
}

/* --- Tablet（iPad縦〜）: 900px以下 --- */
@media (max-width: 900px) {
  .club-header-card { padding: 18px; }
  .club-badge { width: 72px; height: 72px; }

  /* 右側が詰まりがちなので少し余裕 */
  .member-item { gap: 10px; }
}

/* --- Mobile: 600px以下 --- */
@media (max-width: 600px) {
  /* クラブヘッダーを縦積み＋中央揃え */
  .club-identity {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .club-info-main {
    width: 100%;
    text-align: center;
  }

  /* ★ここがクラブ名の中央揃えの本体（h1がflexなので justify-content が必要） */
  h1.club-name,
  .club-info-main h1 {
    width: 100%;
    justify-content: center;
  }

  .club-tag {
    display: block;
    width: 100%;
    text-align: center;
  }

  .club-links {
    justify-content: center;
  }

  /* メンバー行：情報を詰め込みすぎない（右端メトリクスを下段へ） */
  .member-item {
    flex-wrap: wrap;
    align-items: center;
  }

  .member-avatar { width: 40px; height: 40px; }

  .member-info {
    flex: 1;
    min-width: 160px;
  }

  .member-metrics {
    width: 100%;
    justify-content: flex-start;
    margin-top: 6px;
    gap: 0;
    min-width: 0;
    flex-wrap: wrap;
  }

  /* ガチバトルアイコンを少し大きめ（今の二重定義対策でここで確実に上書き） */
  .member-ranked-icon {
    width: 34px;
    height: 34px;
  }

  .trophy-num {
    font-size: 14px;
  }
}

/* --- Small Mobile: 420px以下 --- */
@media (max-width: 420px) {
  .member-rank { display: none; } /* かなり狭い端末は順位を隠すと読みやすい */
  .member-info { min-width: 140px; }
  .member-ranked-icon { width: 32px; height: 32px; }
}

/* Final club page layout overrides */
.club-error-card {
  text-align: center;
  padding: 40px;
}

.club-header-card {
  padding: 0;
  overflow: hidden;
  border: none;
  box-shadow: none;
}

.club-cover {
  margin: 0;
  max-height: none;
  aspect-ratio: 3 / 1;
  background: #0f172a;
}

.club-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.club-identity {
  padding: 24px;
  gap: 20px;
  align-items: center;
}

.club-badge {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.club-badge.is-custom {
  background: #fff;
  border: 5px solid #fff;
  box-shadow: none;
}

.club-info-main h1,
h1.club-name {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  gap: 10px;
  margin-bottom: 8px;
}

.club-subline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.club-verified-badge {
  width: 28px;
  height: 28px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: inherit;
  font-size: 0;
  font-weight: inherit;
  line-height: 1;
  box-shadow: none;
  overflow: visible;
}

.club-verified-badge img {
  width: 100%;
  height: 100%;
  display: block;
}

.favorite-club-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, .35);
  background: rgba(255, 251, 235, .85);
  color: #92400e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.favorite-club-btn:hover {
  transform: translateY(-1px);
  background: #fef3c7;
}

.favorite-club-btn.is-favorite {
  background: #fef3c7;
  border-color: rgba(245, 158, 11, .7);
  color: #b45309;
}

.favorite-club-btn:disabled {
  opacity: .62;
  cursor: not-allowed;
  transform: none;
}

.club-actions {
  margin-top: 12px;
}

.club-desc {
  margin: 0 24px;
  padding: 14px 0 0;
  border-top: 1px solid var(--border-soft);
  line-height: 1.75;
  white-space: pre-wrap;
}

.club-desc-original {
  margin: 0;
}

.club-desc-custom {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-soft);
}

.club-stats {
  padding: 0 24px 24px;
  margin-top: 22px;
  margin-bottom: 0;
}

.club-members-card {
  border: none;
  box-shadow: none;
}

.member-list-header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.member-list-header {
  flex-wrap: wrap;
}

.member-sort-tabs {
  margin-bottom: 16px;
}

.member-item {
  display: grid;
  grid-template-columns: 34px 48px minmax(0, 1fr) minmax(340px, auto);
  align-items: center;
  gap: 12px;
  min-height: 64px;
  border-bottom: 1px solid var(--border-soft);
  border-radius: 0;
  background: transparent;
  padding: 10px 8px;
}

.member-item:last-child {
  border-bottom: 0;
}

.member-item:hover {
  background: rgba(241, 245, 249, .72);
  transform: none;
}

.member-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.member-info {
  min-width: 0;
}

.member-name {
  font-size: 15px;
}

.member-metrics {
  min-width: 340px;
  display: grid;
  grid-template-columns: 54px 140px 150px;
  align-items: center;
  justify-content: end;
}

.member-metric-cell {
  min-height: 36px;
  padding: 0 12px;
  border-left: 1px solid var(--border-soft);
}

.member-ranked-icon {
  width: 34px;
  height: 34px;
}

.trophy-val,
.mega-val {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.member-trophy-icon {
  height: 18px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.member-megapig {
  min-width: 0;
  gap: 14px;
}

.mega-val {
  min-width: 48px;
}

.form-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
}

.form-check input {
  width: 18px;
  height: 18px;
}

.current-media-preview img {
  max-width: 84px;
  height: auto;
}

.current-media-preview--wide img {
  max-width: 260px;
}

.modal-close-btn {
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  .club-header-card {
    border-radius: 24px;
  }

  .club-cover {
    aspect-ratio: 2.2 / 1;
  }

  .club-identity {
    padding: 0 18px 22px;
    flex-direction: column;
    text-align: center;
  }

  .club-header-card.has-cover .club-identity {
    margin-top: -42px;
  }

  .club-header-card.no-cover .club-identity {
    padding-top: 26px;
    margin-top: 0;
  }

  .club-badge {
    width: 118px;
    height: 118px;
    background: transparent;
  }

  .club-info-main {
    width: 100%;
  }

  .club-info-main h1,
  h1.club-name {
    justify-content: center;
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.1;
  }

  .club-links--inline {
    flex-basis: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .club-link-item,
  .club-links--inline .club-link-item {
    width: 44px;
    height: 44px;
  }

  .club-subline {
    justify-content: center;
  }

  .club-desc {
    margin: 0 18px;
    padding-top: 12px;
    font-size: 1.05rem;
  }

  .club-stats {
    padding: 0 18px 20px;
    grid-template-columns: 1fr;
  }

  .member-list-header {
    align-items: flex-start;
    gap: 10px;
  }

  .member-role-summary {
    justify-content: flex-start;
  }

  .member-item {
    grid-template-columns: 42px 1fr;
    gap: 10px;
    padding: 12px 4px;
  }

  .member-rank {
    grid-column: 1;
    grid-row: 1;
    width: 32px;
  }

  .member-avatar {
    grid-column: 1;
    grid-row: 2;
  }

  .member-info {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-width: 0;
    text-align: left;
  }

  .member-metrics {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    min-width: 0;
    grid-template-columns: 54px 1fr 1fr;
    justify-content: stretch;
    margin-top: 4px;
  }

  .member-metric-cell {
    justify-content: center;
  }
}
