/* ==========================================================================
   Profile page — /profile.html
   ========================================================================== */

.profile-page {
  min-height: calc(100dvh - var(--app-header-height) - var(--app-footer-height) - var(--app-bottom-nav-height) - env(safe-area-inset-bottom));
  padding: 16px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  margin-bottom: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
}

.profile-card__avatar {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  color: var(--text-inverse);
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  font-size: 26px;
}

.profile-card__meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.profile-card__meta strong {
  font-size: 16px;
}

.profile-card__meta span {
  color: var(--text-secondary);
  font-size: 12px;
}

.profile-menu {
  padding: 0;
  margin: 0;
  overflow: hidden;
  list-style: none;
  background: var(--bg-card);
  border-radius: var(--radius-md);
}

.profile-menu li + li {
  border-top: 1px solid var(--border);
}

.profile-menu a {
  display: block;
  padding: 15px 16px;
  font-size: 14px;
}

.profile-menu a:active {
  background: var(--bg-card-hover);
}
