.subtitle {
  max-width: 560px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  transition: background .15s ease;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item:hover {
  background: var(--card-hover);
}

.contact-item:hover .contact-arrow {
  transform: translateX(4px);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.icon-mastodon { background: rgba(99, 100, 255, .18); color: #6364ff; }
.icon-github   { background: rgba(230, 237, 243, .08); color: #e6edf3; }
.icon-gitlab   { background: rgba(252, 109, 38, .18); color: #fc6d26; }
.icon-email    { background: var(--accent-bg); color: var(--accent); }
.icon-signal   { background: rgba(58, 118, 240, .18); color: #3a76f0; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.contact-info strong {
  font-size: .975rem;
  font-weight: 600;
  color: var(--text);
}

.contact-info span {
  font-size: .85rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-arrow {
  color: var(--soft);
  font-size: 1rem;
  transition: transform .15s ease;
  flex-shrink: 0;
}

.signal-btn {
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.signal-btn:last-child {
  border-bottom: none;
}
