/*alters.css*/

.info-card {
  background: #f9f9ff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  text-align: center;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
}
.info-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 20px rgba(255,120,190,0.2);
}
.alter-image {
  width: 80px;
  height: 80px;
  background: #eee;
  border-radius: 50%;
  margin-bottom: 8px;
  border: 2px solid #ffd6ea;
}
.alter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.alter-pronouns {
  font-size: 12px;
  opacity: 0.7;
  margin: 2px 0;
}
.alter-desc {
  font-size: 13px;
  margin: 6px 0;
}
.alter-tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}
.alter-tags span {
  background: #ffd6ea;
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 11px;
}
.alter-link {
  text-decoration: none;
  color: inherit;
}

/* === ALTER PAGE LAYOUT ===================================== */

.alter-title-section {
  margin-bottom: 20px;
}
.alter-title {
  margin: 0;
}
.alter-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.alter-main,
.alter-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* sidebar cards get a slightly tinted background */
.alter-side .profile-section {
  background: #fff6fb;
}

/* profile image + summary side by side */
.alter-top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.profile-image {
  width: 175px;
  height: 175px;
  flex-shrink: 0;
  background: #eee;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid #ffd6ea;
}
.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.alter-summary {
  flex: 1;
}
.alter-summary h3 {
  margin-top: 0;
}
.alter-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 12px;
}
.alter-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #eee;
}

/* scrollable content area (about me, etc.) */
.scrollable-section {
  max-height: 260px;
  overflow-y: auto;
  padding-right: 8px;
}
.scrollable-section p:first-child { margin-top: 0; }
.scrollable-section p:last-child  { margin-bottom: 0; }

/* profile sections — consistent heading spacing */
.profile-section h2 {
  margin-top: 0;
}
.profile-section ul {
  margin: 0;
  padding-left: 18px;
}

/* spotify iframe rounding */
.profile-section iframe {
  border-radius: 12px;
  display: block;
}

/* === SOURCE LIST =========================================== */

.source-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
}
.source-col {
  padding: 0 16px;
  border-left: 1px solid #eee;
}
.source-col:first-child {
  border-left: none;
  padding-left: 0;
}
.source-col h4 {
  margin-top: 0;
}
.source-col ul {
  padding-left: 18px;
  margin: 0;
}

/* scroll on the longer columns, not the short one */
.source-col-scroll {
  max-height: 220px;
  overflow-y: auto;
}