/* Карточки «Сообщество» и «Амбассадор» в кабинете — визуальный рефреш 2026-05-30.
   Контент и ссылки прежние; меняем только подачу: иконка-марк в шапке,
   действия как сетка тайлов (иконка + подпись) вместо бледных пилюль. */

.cc-card { padding: 20px; margin-bottom: 16px; }

.cc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.cc-mark {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft, rgba(13, 148, 136, 0.1));
  color: var(--accent, #0d9488);
}
.cc-mark svg { width: 22px; height: 22px; }

.cc-head-text { flex: 1 1 auto; min-width: 0; }
.cc-title { font-size: 1.05rem; font-weight: 600; margin: 0; line-height: 1.2; color: var(--text, #0f172a); }
.cc-sub { font-size: 0.82rem; color: var(--text-secondary, #6b7280); margin: 3px 0 0; line-height: 1.4; }

.cc-link {
  flex-shrink: 0;
  font-size: 0.82rem; font-weight: 500;
  color: var(--accent, #0d9488); text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s var(--ease, ease);
}
.cc-link:hover { opacity: 0.7; }

/* Сетка действий-тайлов */
.cc-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cc-actions--two { grid-template-columns: repeat(2, 1fr); }

.cc-tile {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 14px 8px;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.06));
  border-radius: 12px;
  background: var(--surface, #fff);
  color: var(--text, #0f172a);
  font-size: 0.82rem; font-weight: 500;
  text-decoration: none; text-align: center;
  transition: transform 0.14s var(--ease, ease),
              border-color 0.14s var(--ease, ease),
              background 0.14s var(--ease, ease),
              box-shadow 0.14s var(--ease, ease);
}
.cc-tile svg { width: 20px; height: 20px; color: var(--accent, #0d9488); }
.cc-tile:hover {
  transform: translateY(-2px);
  border-color: var(--accent, #0d9488);
  background: var(--accent-soft, rgba(13, 148, 136, 0.06));
  box-shadow: var(--shadow-card, 0 6px 16px rgba(0, 0, 0, 0.1));
}
.cc-tile:active { transform: translateY(0); }

/* Амбассадор: бейдж тира, стипендия, основная CTA */
.cc-amb-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.cc-tier {
  display: inline-flex; align-items: center;
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 0.82rem; font-weight: 600;
  color: #fff;
  background: #6b7280;
}
.cc-stipend {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 0.75rem; font-weight: 600;
  background: rgba(124, 58, 237, 0.1); color: #7c3aed;
}
.cc-join {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 22px;
  border-radius: 12px;
  border: none;
  font-size: 0.9rem; font-weight: 700;
  color: #fff; text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent, #0d9488), #0b7c72);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
  transition: transform 0.12s var(--ease, ease);
}
.cc-join:active { transform: translateY(1px); }

@media (max-width: 360px) {
  .cc-tile { padding: 12px 4px; font-size: 0.78rem; }
}
