/* Profile page */

.name-lockup {
  --title-h: 44px;
  margin: 0.5rem 0 1.25rem;
}

.name-lockup img {
  height: var(--title-h);
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .name-lockup {
    --title-h: 58px;
    margin-top: 0.75rem;
  }
}

.profile-layout {
  /* mobile: stacked */
}

@media (min-width: 768px) {
  .profile-layout {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
  }
}

.profile-photo-mobile {
  display: block;
}

.profile-photo-mobile img {
  display: block;
  width: 100%;
  height: 70vw;
  max-height: 360px;
  border-radius: 0.5rem;
  object-fit: cover;
  object-position: top;
}

.profile-info {
  margin-top: 1.5rem;
  min-width: 0;
  flex: 1;
}

@media (min-width: 768px) {
  .profile-photo-mobile {
    display: none;
  }

  .profile-info {
    margin-top: 0;
  }
}

.profile-photo-desktop {
  display: none;
}

@media (min-width: 768px) {
  .profile-photo-desktop {
    display: block;
    width: 380px;
    flex-shrink: 0;
  }

  .profile-photo-desktop img {
    display: block;
    width: 100%;
    border-radius: 0.5rem;
    object-fit: cover;
    object-position: top;
  }
}

@media (min-width: 1024px) {
  .profile-photo-desktop {
    width: 440px;
  }
}

/* SNS rows — matching debut-list spacing */
.sns-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sns-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  line-height: 1.45;
  font-size: 13px;
}

.sns-label {
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
  font-size: 13px;
  line-height: 1;
}

.sns-label .debut-cat {
  min-width: 3em;
}

/* Photo icons (규램, 보라알) */
.sns-photo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-right: 0.45rem;
  transition: opacity 0.15s ease, transform 0.15s ease;
  vertical-align: middle;
}

.sns-photo-link:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.sns-photo-link img {
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  object-fit: cover;
  display: block;
}

/* Text links */
.sns-link-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
}

.sns-link {
  font-size: 13px;
  font-weight: 500;
  color: #262626;
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
  padding: 1px 0;
}

.sns-link:hover {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sns-sep {
  margin: 0 0.35rem;
  color: #cbd5e1;
  font-weight: 400;
  user-select: none;
}

.sns-link--x {
  display: inline-flex;
  align-items: center;
}

.sns-x-icon {
  width: 12px;
  height: 12px;
  display: inline-block;
  vertical-align: -1px;
  object-fit: contain;
  transition: opacity 0.15s ease;
}

.sns-link--x:hover .sns-x-icon {
  opacity: 0.6;
}

/* Antenna row: breathing room above footer */
.info-table tr:last-child td {
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .info-table tr:last-child td {
    padding-bottom: 1.75rem;
  }
}
