/* Registrierte Clans – Night */

table:has(> tbody > tr > td.body_mc .cclans) {
  width: 100%;
  table-layout: fixed;
}

.cclans,
.cclans * {
  box-sizing: border-box;
}

.cclans {
  width: 100%;
  max-width: min(1100px, 100%);
  min-width: 0;
  margin: 0 auto 8px;
  text-align: left;
  color: var(--text);
}

.cclans-head {
  margin: 0 0 16px;
}

.cclans-kicker {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.cclans-head h1,
.body_mc .cclans-head h1 {
  margin: 0 0 8px;
  text-align: left;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

.cclans-lead {
  margin: 0;
  max-width: 48em;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.cclans-lead a {
  font-weight: 650;
}

.cclans-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 16px;
}

.cclans-toolbar .standardButton {
  width: auto !important;
  margin: 0 !important;
}

.cclans .cc_pager {
  width: 100%;
  max-width: none;
  margin: 0 0 14px;
}

.cclans-panel {
  margin: 0 0 18px;
  padding: 16px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  min-width: 0;
}

.cclans-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
}

.cclans-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(62, 207, 255, 0.12);
  color: var(--accent);
}

.cclans-panel-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cclans-panel-head h2,
.body_mc .cclans-panel-head h2 {
  margin: 0 0 4px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.cclans-panel-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cclans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 18px;
}

.cclans-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cclans-link {
  display: block;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
  line-height: 1.35;
  word-break: break-word;
  transition: border-color var(--ease), background-color var(--ease), color var(--ease);
}

.cclans-link:hover {
  color: var(--accent);
  border-color: var(--border);
  background: rgba(62, 207, 255, 0.06);
  text-decoration: none;
}

@media (max-width: 900px) {
  .cclans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cclans-panel {
    padding: 14px;
  }

  .cclans-grid {
    grid-template-columns: 1fr;
  }

  .cclans-toolbar .standardButton {
    width: 100% !important;
  }
}
