/**
 * [회원 공개 프로필]
 * - 역할: /members/{mb_id}/ — 아티스트 상세와 동일 DS (레일·탭·액션·피드)
 * - 작성/수정일: 2026-08-25
 */

.an-mprof {
  color: var(--title-color, #171717);
  padding-top: var(--space-40, 40px);
  padding-bottom: var(--space-60, 60px);
}

/* [공개 프로필 커버] 역할: 아바타와 연결되는 넉넉한 파노라마 헤더 제공 · 작성/수정일: 2026-09-24 */
.an-mprof--has-cover {
  padding-top: 0px;
}

.an-mprof__hero {
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 3;
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  background: var(--light-color, #f5f5f5);
}

.an-mprof__hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.an-mprof__layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: var(--space-40, 40px);
  align-items: start;
}

.an-mprof--has-cover .an-mprof__rail {
  margin-top: -58px;
}

.an-mprof--has-cover .an-mprof__main {
  padding-top: 24px;
}

/* ---------- 레일 ---------- */
.an-mprof__rail {
  position: sticky;
  top: 100px;
}

.an-mprof__identity {
  text-align: center;
}

.an-mprof__avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-20, 20px);
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-color, #fff);
  border: 5px solid var(--surface-color, #fff);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.an-mprof__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.an-mprof__name {
  margin: 0;
  font-size: var(--fs-h4, 24px);
  font-weight: 700;
  letter-spacing: var(--letter-tight, -0.02em);
  line-height: 1.3;
  color: var(--title-color, #171717);
}

.an-mprof__handle {
  margin: 6px 0 0;
  font-size: var(--fs-caption, 12px);
  color: var(--muted-color, #7c7c7c);
}

.an-mprof__meta {
  margin: 10px 0 0;
  font-size: var(--fs-caption, 12px);
  color: var(--muted-color, #7c7c7c);
  line-height: 1.5;
}

.an-mprof__badge {
  display: inline-flex;
  align-items: center;
  margin: 10px 0 0;
  padding: 4px 10px;
  border-radius: var(--radius-sm, 6px);
  font-size: var(--fs-xs, 11px);
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--title-color, #171717);
  color: var(--white-color, #fff);
}

.an-mprof__tagline {
  margin: 14px 0 0;
  padding: 0 8px;
  font-size: var(--fs-body, 15px);
  line-height: 1.6;
  color: var(--text-color, #444);
  word-break: keep-all;
}

.an-mprof__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: var(--space-25, 24px) 0 0;
  padding: 14px 0;
  border-top: 1px solid var(--border-color, #e5e5e5);
  border-bottom: 1px solid var(--border-color, #e5e5e5);
}

.an-mprof__stats div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: center;
}

.an-mprof__stats dt {
  margin: 0;
  font-size: var(--fs-xs, 11px);
  color: var(--muted-color, #7c7c7c);
}

.an-mprof__stats dd {
  order: -1;
  margin: 0;
  font-size: var(--fs-h6, 18px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--title-color, #171717);
}

.an-mprof__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: var(--space-25, 24px);
}

/* [액션] 아티스트 an-ar-action과 동일 토큰 — 작성/수정일: 2026-08-25 */
.an-mprof-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-sm, 6px);
  font-family: inherit;
  font-size: var(--fs-label, 14px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.an-mprof-action i {
  font-size: 16px;
  line-height: 1;
}

.an-mprof-action--primary {
  border: 1px solid var(--primary-color, #171717);
  background: var(--primary-color, #171717);
  color: var(--white-color, #fff);
}

.an-mprof-action--primary:hover {
  opacity: 0.88;
  color: var(--white-color, #fff);
}

.an-mprof-action--primary.is-on {
  background: transparent;
  color: var(--title-color, #171717);
  border-color: var(--border-color, #eeeeee);
}

.an-mprof-action--ghost {
  border: 1px solid var(--border-color, #eeeeee);
  background: var(--surface-color, #fff);
  color: var(--title-color, #171717);
}

.an-mprof-action--ghost:hover {
  background: var(--chip-color, #f2f2f2);
  color: var(--title-color, #171717);
}

.an-mprof__mutual {
  margin-top: var(--space-20, 20px);
  padding-top: 16px;
  border-top: 1px solid var(--border-color, #e5e5e5);
}

.an-mprof__mutual-label {
  margin: 0 0 10px;
  font-size: var(--fs-caption, 12px);
  color: var(--muted-color, #7c7c7c);
}

.an-mprof__mutual-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.an-mprof__mutual-list a {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-color, #e5e5e5);
  background: var(--light-color, #f5f5f5);
}

.an-mprof__mutual-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 메인 ---------- */
.an-mprof__main {
  min-width: 0;
}

.an-mprof__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: var(--space-30, 30px);
  border-bottom: 1px solid var(--border-color, #e5e5e5);
}

.an-mprof__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 12px 2px 14px;
  color: var(--muted-color, #7c7c7c);
  text-decoration: none;
  font-size: var(--fs-label, 14px);
  font-weight: 600;
}

.an-mprof__tab em {
  margin-left: 5px;
  color: var(--muted-color, #8a8a8a);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.an-mprof__tab.is-active em {
  color: inherit;
}

.an-mprof__tab:hover {
  color: var(--title-color, #171717);
}

.an-mprof__tab.is-active {
  color: var(--title-color, #171717);
}

.an-mprof__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--title-color, #171717);
}

.an-mprof__block {
  margin-bottom: var(--space-40, 40px);
}

/* [개요 구분] 섹션 사이만 얇은 구분 — 작성/수정일: 2026-08-25 */
.an-mprof__overview > .an-mprof__block + .an-mprof__block {
  margin-top: var(--space-20, 20px);
  padding-top: var(--space-30, 30px);
  border-top: 1px solid var(--border-color, #e5e5e5);
}

.an-mprof__block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.an-mprof__block-head .an-mprof__block-title {
  margin: 0;
}

.an-mprof__block-head a {
  font-size: var(--fs-caption, 12px);
  color: var(--muted-color, #7c7c7c);
  text-decoration: none;
}

.an-mprof__block-head a:hover {
  color: var(--title-color, #171717);
}

.an-mprof__block-title {
  margin: 0 0 14px;
  font-size: var(--fs-h5, 18px);
  font-weight: 700;
  letter-spacing: var(--letter-tight, -0.02em);
}

.an-mprof__block-head .an-mprof__block-title {
  margin: 0;
}

.an-mprof__prose {
  font-size: var(--fs-body, 15px);
  line-height: 1.75;
  color: var(--text-color, #444);
  word-break: keep-all;
}

.an-mprof__edit-links {
  margin: 16px 0 0;
  font-size: var(--fs-caption, 12px);
  color: var(--muted-color, #7c7c7c);
}

.an-mprof__edit-links a {
  color: var(--title-color, #171717);
  text-decoration: none;
}

.an-mprof__edit-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 연결 프로필 ---------- */
.an-mprof__connected-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.an-mprof-connected__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border-color, #e5e5e5);
  border-radius: var(--radius-md, 6px);
  text-decoration: none;
  color: inherit;
  background: var(--surface-color, #fff);
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.an-mprof-connected__card:hover {
  border-color: var(--title-color, #171717);
  background: var(--chip-color, #f2f2f2);
}

.an-mprof-connected__media {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md, 6px);
  overflow: hidden;
  background: var(--light-color, #f5f5f5);
  flex: 0 0 48px;
}

.an-mprof-connected__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.an-mprof-connected__ph {
  display: block;
  width: 100%;
  height: 100%;
}

.an-mprof-connected__label {
  display: block;
  font-size: var(--fs-xs, 11px);
  color: var(--muted-color, #7c7c7c);
}

.an-mprof-connected__name {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-label, 14px);
  font-weight: 600;
  color: var(--title-color, #171717);
}

/* ---------- 컬렉션 그리드 ---------- */
.an-mprof__cl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 16px;
}

.an-mprof__cl-grid .an-cl-card {
  margin: 0;
}

.an-mprof__cl-grid .an-cl-card__media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-md, 10px);
  background: var(--light-color, #f5f5f5);
  border: 1px solid var(--border-color, #e5e5e5);
}

.an-mprof__cl-grid .an-cl-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.an-mprof__cl-grid .an-cl-card__placeholder {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--section-bg-color, #f7f7f7);
}

/* [공개 프로필 컬렉션] 역할: 커버가 없는 컬렉션을 빈 회색 면 대신 폴더 형태로 안내 · 작성/수정일: 2026-09-24 */
.an-mprof__cl-grid .an-cl-card__placeholder::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 30px;
  border: 1.5px solid var(--muted-color, #8a8a8a);
  border-radius: 5px;
  transform: translate(-50%, -42%);
  opacity: 0.55;
}

.an-mprof__cl-grid .an-cl-card__placeholder::after {
  content: "";
  position: absolute;
  left: calc(50% - 21px);
  top: calc(50% - 20px);
  width: 18px;
  height: 7px;
  border: 1.5px solid var(--muted-color, #8a8a8a);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  opacity: 0.55;
}

.an-mprof__cl-grid .an-cl-card__body {
  padding: 10px 2px 0;
}

.an-mprof__cl-grid .an-cl-card__title {
  margin: 0;
  font-size: var(--fs-label, 14px);
  font-weight: 600;
  line-height: 1.45;
}

.an-mprof__cl-grid .an-cl-card__title a {
  color: var(--title-color, #171717);
  text-decoration: none;
}

.an-mprof__cl-grid .an-cl-card__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.an-mprof__cl-grid .an-cl-card__meta {
  margin: 4px 0 0;
  font-size: var(--fs-caption, 12px);
  color: var(--muted-color, #7c7c7c);
}

/* ---------- 활동 피드 (공개 페이지 자체 스타일) ---------- */
.an-mprof-feed {
  margin: 0;
  padding: 0;
  list-style: none;
}

.an-mprof-feed .an-mp-feed__item,
.an-mprof-feed > li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color, #e5e5e5);
}

.an-mprof-feed .an-mp-feed__item:last-child,
.an-mprof-feed > li:last-child {
  border-bottom: 0;
}

.an-mprof-feed .an-mp-feed__body {
  flex: 1;
  min-width: 0;
}

.an-mprof-feed .an-mp-feed__media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid var(--border-color, #e5e5e5);
  border-radius: var(--radius-md, 8px);
  background: var(--light-color, #f5f5f5);
  color: var(--muted-color, #7c7c7c);
  text-decoration: none;
}

.an-mprof-feed .an-mp-feed__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.an-mprof-feed .an-mp-feed__media .bi {
  font-size: 20px;
}

.an-mprof-feed .an-mp-feed__title {
  display: block;
  font-size: var(--fs-body, 15px);
  font-weight: 600;
  color: var(--title-color, #171717);
  text-decoration: none;
  word-break: keep-all;
  line-height: 1.45;
}

.an-mprof-feed a.an-mp-feed__title:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.an-mprof-feed .an-mp-feed__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: var(--fs-caption, 12px);
  color: var(--muted-color, #7c7c7c);
  line-height: 1.4;
}

.an-mprof-feed .an-mp-feed__badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--chip-color, #f2f2f2);
  color: var(--muted-color, #666);
  font-size: 10px;
  font-weight: 600;
}

.an-mprof-feed .an-mp-feed__summary {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: var(--text-color, #555);
  font-size: var(--fs-caption, 12px);
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

/* [공개 프로필 활동] 역할: 활동 유형을 작은 아이콘 면으로 구분해 긴 가로 행의 탐색성을 높임 · 작성/수정일: 2026-09-24 */
.an-mprof-feed .an-mp-feed__item--activity {
  align-items: center;
  min-height: 76px;
}

.an-mprof-feed .an-mprof-feed__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--chip-color, #f2f2f2);
  color: var(--title-color, #171717);
  font-size: 15px;
}

/* [공개 프로필 팔로잉] 역할: 서로 다른 엔티티의 이미지·이름·요약을 2열 카드로 비교 · 작성/수정일: 2026-09-24 */
.an-mprof-follow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.an-mprof-follow-grid .an-mp-feed__item--follow-public {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--border-color, #e5e5e5);
  border-radius: var(--radius-md, 10px);
  background: var(--surface-color, #fff);
}

.an-mprof-follow-grid .an-mp-feed__item--follow-public:last-child {
  border-bottom: 1px solid var(--border-color, #e5e5e5);
}

.an-mprof-follow-grid .an-mp-feed__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 활동 탭 (서브칩·검색·정렬) ---------- */
.an-mprof-act__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-20, 20px);
}

.an-mprof-act__chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill, 999px);
  background: var(--chip-color, #f2f2f2);
  color: var(--title-color, #171717);
  font-size: var(--fs-caption, 12px);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.an-mprof-act__chip:hover {
  opacity: 0.85;
}

.an-mprof-act__chip.is-active {
  background: var(--primary-color, #171717);
  color: var(--primary-on-color, #fff);
}

.an-mprof-act__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: var(--space-20, 20px);
}

.an-mprof-act__search {
  flex: 1 1 200px;
  min-width: 0;
  margin: 0;
}

/* [공개 프로필 활동 검색] 역할: 검색창과 정렬 버튼을 동일한 42px 높이로 정렬 · 작성/수정일: 2026-09-24 */
.an-mprof-act__search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--border-color, #e5e5e5);
  border-radius: var(--radius-sm, 6px);
  background: var(--white-color, #fff);
}

.an-mprof-act__search-box:focus-within {
  border-color: var(--title-color, #171717);
}

.an-mprof-act__search-box i {
  flex-shrink: 0;
  color: var(--muted-color, #8a8a8a);
  font-size: var(--fs-label, 14px);
}

.an-mprof-act__search-input {
  flex: 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: var(--fs-label, 14px);
  color: var(--title-color, #171717);
  outline: none;
}

.an-mprof-act__search-input::placeholder {
  color: var(--muted-color, #7c7c7c);
}

.an-mprof-act__search-input::-webkit-search-decoration,
.an-mprof-act__search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.an-mprof-act__sort {
  flex: 0 0 auto;
}

.an-mprof-act__sort .an-sort__toggle {
  height: 42px;
  min-height: 42px;
  font-size: var(--fs-label, 14px);
}

.an-mprof-act__sort .an-sort__toggle .bi-chevron-down {
  font-size: var(--fs-label, 14px);
}

@media (max-width: 640px) {
  .an-mprof-act__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  /* [공개 프로필 활동 도구막대] 역할: 가로 flex 기준값이 모바일에서 세로 여백으로 변환되지 않도록 해제 · 작성/수정일: 2026-09-24 */
  .an-mprof-act__search {
    flex: 0 0 auto;
    width: 100%;
  }

  .an-mprof-act__sort {
    align-self: flex-end;
  }
}

.an-mprof-feed .an-mp-feed__avatar {
  width: 40px;
  height: 40px;
  overflow: hidden;
  flex: none;
  border-radius: 50%;
  background: var(--light-color, #f5f5f5);
  border: 1px solid var(--border-color, #e5e5e5);
}

.an-mprof-feed .an-mp-feed__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.an-mprof__more {
  margin-top: var(--space-20, 20px);
  text-align: center;
}

/* [페이징] DS .an-pagination — 작성/수정일: 2026-08-25 */
.an-mprof__paging {
  margin-top: var(--space-30, 30px);
}

.an-mprof__paging .an-pagination--ex {
  margin-top: 0;
}

.an-mprof__paging .an-pagination--ex .an-pagination__nav {
  width: auto;
  min-width: 72px;
  padding: 0 14px;
  font-size: var(--fs-caption, 12px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.an-mprof.is-busy [data-an-mprof-list] {
  opacity: 0.55;
  pointer-events: none;
}

.an-mprof.is-busy [data-an-mprof-paging] {
  opacity: 0.55;
  pointer-events: none;
}

.an-mprof-empty {
  margin: 0;
}

.an-mprof-empty.an-empty--sm {
  margin: 0;
}

.an-mprof__block > .an-mprof-empty {
  margin-top: 4px;
}

/* ---------- 다크 ---------- */
html.dark .an-mprof-action--primary,
body.dark .an-mprof-action--primary {
  background: var(--cta-surface, #2a2a2a);
  border-color: var(--border-color, #333);
  color: var(--on-dark, #f5f5f5);
}

html.dark .an-mprof-action--primary.is-on,
body.dark .an-mprof-action--primary.is-on {
  background: transparent;
  color: var(--title-color, #f5f5f5);
}

html.dark .an-mprof-action--ghost,
body.dark .an-mprof-action--ghost {
  background: var(--surface-color, #1c1c1c);
  border-color: var(--border-color, #333);
  color: var(--title-color, #f5f5f5);
}

html.dark .an-mprof__badge,
body.dark .an-mprof__badge {
  background: var(--cta-surface, #2a2a2a);
  color: var(--on-dark, #f5f5f5);
}

/* [공개 프로필 다크모드] 역할: 활성 활동 필터의 배경과 글자 대비를 명확하게 유지 · 작성/수정일: 2026-09-24 */
html.dark .an-mprof-act__chip.is-active,
body.dark .an-mprof-act__chip.is-active {
  background: var(--title-color, #f5f5f5);
  color: var(--surface-color, #171717);
}

/* ---------- 반응형 ---------- */
@media (max-width: 991.98px) {
  .an-mprof__layout {
    grid-template-columns: 1fr;
    gap: var(--space-30, 30px);
  }

  .an-mprof--has-cover .an-mprof__hero {
    margin-bottom: 0;
  }

  .an-mprof__rail {
    position: static;
  }

  .an-mprof--has-cover .an-mprof__rail {
    margin-top: -44px;
  }

  .an-mprof--has-cover .an-mprof__main {
    padding-top: 0;
  }

  .an-mprof__identity {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0 16px;
    align-items: start;
    text-align: left;
  }

  .an-mprof__avatar {
    width: 88px;
    height: 88px;
    margin-bottom: 0;
    grid-row: 1 / span 4;
  }

  .an-mprof__name {
    /* [공개 프로필 반응형 헤더] 역할: 이름을 커버 아래에 배치해 이미지와 겹칠 때의 가독성 저하 방지 · 작성/수정일: 2026-09-24 */
    margin-top: 50px;
    font-size: var(--fs-h5, 20px);
  }

  .an-mprof__stats {
    margin-top: var(--space-20, 20px);
  }

  .an-mprof__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .an-mprof-action {
    width: auto;
    flex: 1 1 calc(50% - 5px);
    min-width: 120px;
  }

  .an-mprof__cl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .an-mprof__hero {
    aspect-ratio: 16 / 4.5;
    margin-bottom: 0;
    border-radius: var(--radius-sm, 6px);
  }

  .an-mprof--has-cover .an-mprof__rail {
    margin-top: -28px;
  }

  .an-mprof__identity {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 0 14px;
  }

  .an-mprof__avatar {
    width: 78px;
    height: 78px;
    border-width: 4px;
  }

  .an-mprof__name {
    margin-top: 34px;
  }

  .an-mprof__tagline {
    padding: 0;
    font-size: var(--fs-label, 14px);
  }

  .an-mprof__cl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .an-mprof__tabs {
    gap: 4px 14px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .an-mprof__tab {
    flex: none;
    white-space: nowrap;
  }

  .an-mprof-follow-grid {
    grid-template-columns: 1fr;
  }

  .an-mprof-follow-grid .an-mp-feed__item--follow-public {
    padding: 12px;
  }

  .an-mprof-feed .an-mp-feed__media {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }
}
