/* Public profile — Android-like single-column hero + tabs. Neutral light/dark. */
body.hh-public-profile-page {
  background: var(--hh-bg-1, #fafafa) !important;
  color: var(--hh-ink, #171717);
}

body.hh-public-profile-page .public-profile-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 !important;
}

body.hh-public-profile-page .dashboard {
  padding: 0 0 56px;
}

body.hh-public-profile-page .public-profile-page {
  display: block !important;
  width: 100%;
  margin: 0;
  direction: rtl;
  grid-template-columns: none !important;
}

/* ----- Hero ----- */
body.hh-public-profile-page .pp-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: min(100vw, 720px);
  overflow: visible;
  background: var(--hh-field, #262626);
  isolation: isolate;
}

body.hh-public-profile-page .pp-hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: var(--hh-field, #262626);
  box-shadow: none;
  overflow: hidden;
}

body.hh-public-profile-page .pp-hero__photo img,
body.hh-public-profile-page .pp-hero__photo .default-avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.hh-public-profile-page .pp-hero__photo .default-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hh-field, #e5e5e5);
  color: var(--hh-muted, #525252);
}

body.hh-public-profile-page .pp-hero__photo .default-avatar i {
  font-size: 5.5rem;
}

body.hh-public-profile-page .pp-hero__photo.has-story::after {
  content: none;
  display: none;
}

body.hh-public-profile-page .pp-hero__scrim-top,
body.hh-public-profile-page .pp-hero__scrim-bottom {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 1;
}

body.hh-public-profile-page .pp-hero__scrim-top {
  top: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent);
}

body.hh-public-profile-page .pp-hero__scrim-bottom {
  bottom: 0;
  height: 55%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--hh-bg-1, #fafafa) 18%, transparent) 35%,
    color-mix(in srgb, var(--hh-bg-1, #fafafa) 72%, transparent) 70%,
    var(--hh-bg-1, #fafafa) 100%
  );
}

body.hh-public-profile-page .pp-hero__bar,
body.hh-public-profile-page .pp-hero__chips,
body.hh-public-profile-page .pp-hero__stats,
body.hh-public-profile-page .pp-hero .info-popup {
  position: absolute;
  z-index: 3;
}

body.hh-public-profile-page .pp-hero__bar {
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px 8px;
  color: #fff;
}

body.hh-public-profile-page .pp-hero__identity {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.hh-public-profile-page .pp-hero__name,
body.hh-public-profile-page .profile-name {
  margin: 0;
  color: #fff !important;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

body.hh-public-profile-page .pp-hero__name-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.hh-public-profile-page .pp-hero__verified {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

body.hh-public-profile-page .pp-hero__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

body.hh-public-profile-page .pp-hero__icon-btn,
body.hh-public-profile-page .pp-hero .more-button {
  position: static;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.hh-public-profile-page .pp-hero__icon-btn:hover,
body.hh-public-profile-page .pp-hero .more-button:hover {
  background: rgba(0, 0, 0, 0.46);
  color: #fff;
  transform: none;
}

body.hh-public-profile-page .pp-edit-btn.pp-edit-btn--icon-only {
  width: 36px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

body.hh-public-profile-page .pp-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

body.hh-public-profile-page .pp-edit-btn:hover {
  background: rgba(0, 0, 0, 0.55);
  color: #fff !important;
}

body.hh-public-profile-page .pp-hero .info-popup {
  top: 56px;
  right: auto;
  left: 12px;
  z-index: 6;
}

body.hh-public-profile-page .pp-hero__chips {
  left: 14px;
  right: 14px;
  bottom: 88px;
  display: flex;
  direction: ltr;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

body.hh-public-profile-page .pp-chip {
  direction: rtl;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.22));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

body.hh-public-profile-page .pp-chip i {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.95);
}

body.hh-public-profile-page .pp-chip__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.hh-public-profile-page .pp-hero__stats {
  left: 8px;
  right: 8px;
  bottom: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-evenly;
  gap: 6px;
  color: var(--hh-ink, #171717);
}

body.hh-public-profile-page .pp-stat {
  flex: 1;
  min-width: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0;
  text-align: center;
  color: inherit;
}

html.page-theme-dark body.hh-public-profile-page .pp-stat {
  background: transparent !important;
}

body.hh-public-profile-page .pp-stat .stat-value,
body.hh-public-profile-page .pp-stat--perf .stat-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--hh-ink, #171717);
  line-height: 1.2;
}

body.hh-public-profile-page .pp-stat--perf .stat-value {
  color: var(--perf-color, var(--hh-ink));
}

body.hh-public-profile-page .pp-stat .stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hh-muted, #525252);
  margin-top: 2px;
}

body.hh-public-profile-page .pp-stat .stat-label i {
  display: none;
}

body.hh-public-profile-page .pp-stat .stat-performance-bar {
  width: 72%;
  height: 4px;
  margin: 4px auto 2px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
  overflow: hidden;
}

body.hh-public-profile-page .pp-follow-wrap {
  flex: 1.7;
  display: flex;
  align-items: center;
  min-width: 0;
}

body.hh-public-profile-page .pp-follow-btn {
  flex: 0 0 auto;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  max-width: 92px;
  margin-inline-start: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--hh-line, #e5e5e5);
  background: transparent;
  color: var(--hh-ink, #171717);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: none !important;
}

body.hh-public-profile-page .pp-follow-btn i {
  display: none;
}

body.hh-public-profile-page .pp-follow-btn[data-state="following"] {
  background: var(--hh-field, #f5f5f5);
}

/* ----- Body / tabs ----- */
body.hh-public-profile-page .pp-body {
  padding: 0 14px 8px;
  background: var(--hh-bg-1, #fafafa);
}

body.hh-public-profile-page .profile-grid,
body.hh-public-profile-page .content-card {
  width: 100%;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

body.hh-public-profile-page .profile-tabs-wrap {
  margin: 0;
}

body.hh-public-profile-page .profile-tabs-nav {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 0;
  margin: 0 0 8px;
  padding: 0 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  border-bottom: 1px solid var(--hh-line, #e5e5e5) !important;
}

body.hh-public-profile-page .profile-tabs-nav::-webkit-scrollbar {
  display: none;
}

body.hh-public-profile-page .profile-tab-btn {
  flex: 1 0 auto;
  min-width: 88px;
  min-height: 56px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 8px 10px 10px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--hh-ink, #171717);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: normal;
  box-shadow: none !important;
  transform: none !important;
  border-bottom: 2px solid transparent;
}

body.hh-public-profile-page .profile-tab-btn i {
  font-size: 1.05rem;
  color: currentColor;
}

body.hh-public-profile-page .profile-tab-btn:hover {
  background: transparent !important;
  color: var(--hh-ink, #171717);
}

body.hh-public-profile-page .profile-tab-btn.active {
  background: transparent !important;
  color: var(--hh-ink, #171717) !important;
  border-bottom-color: var(--hh-ink, #171717);
  box-shadow: none !important;
}

body.hh-public-profile-page .bio,
body.hh-public-profile-page .empty-state,
body.hh-public-profile-page .list-item,
body.hh-public-profile-page .profile-ref-summary,
body.hh-public-profile-page .pp-social {
  background: var(--hh-surface, #fff);
  border: 1px solid var(--hh-line, #e5e5e5);
  color: var(--hh-ink, #171717);
}

body.hh-public-profile-page .pp-social {
  margin: 14px 0 0;
  padding: 12px 14px 8px;
  border-radius: 16px;
}

body.hh-public-profile-page .pp-social__title {
  margin: 0 4px 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

body.hh-public-profile-page .pp-social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.hh-public-profile-page .pp-social__links a,
body.hh-public-profile-page .pp-social__links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 999px;
  color: var(--hh-ink, #171717);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

body.hh-public-profile-page .pp-social__links .pp-social__link i {
  font-size: 1.05rem;
  color: currentColor !important;
}

body.hh-public-profile-page .profile-private-lock {
  margin: 24px 16px;
  padding: 28px 18px;
  text-align: center;
  background: var(--hh-surface, #fff);
  border: 1px solid var(--hh-line, #e5e5e5);
  border-radius: 20px;
}

body.hh-public-profile-page .pp-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(92vw, 420px);
  max-width: min(92vw, 420px);
  max-height: min(90vh, 100%);
  border: 1px solid var(--hh-line, #e5e5e5);
  border-radius: 18px;
  padding: 18px;
  background: var(--hh-surface, #fff);
  color: var(--hh-ink, #171717);
  box-shadow: 0 18px 48px rgba(23, 23, 23, 0.18);
}

body.hh-public-profile-page .pp-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

body.hh-public-profile-page .pp-dialog h3 {
  margin: 0 0 8px;
}

body.hh-public-profile-page .pp-dialog p {
  margin: 0 0 14px;
  color: var(--hh-muted, #525252);
  line-height: 1.7;
}

body.hh-public-profile-page .pp-dialog button {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--hh-accent, #262626);
  color: var(--hh-btn-on-accent, #fff);
  font-weight: 800;
  cursor: pointer;
}

html.page-theme-dark body.hh-public-profile-page,
html.page-theme-dark body.hh-public-profile-page .pp-body,
html.page-theme-dark body.hh-public-profile-page .public-profile-page,
html.page-theme-dark body.hh-public-profile-page .profile-card,
html.page-theme-dark body.hh-public-profile-page .profile-card::before,
html.page-theme-dark body.hh-public-profile-page .profile-actions-card,
html.page-theme-dark body.hh-public-profile-page .content-card {
  background: var(--hh-bg-1, #0a0a0a) !important;
  background-image: none !important;
}

html.page-theme-dark body.hh-public-profile-page .pp-hero {
  background: var(--hh-surface, #171717);
}

html.page-theme-dark body.hh-public-profile-page .pp-hero__photo,
html.page-theme-dark body.hh-public-profile-page .pp-hero__photo .default-avatar {
  background: var(--hh-field, #262626) !important;
  border-color: transparent !important;
}

html.page-theme-dark body.hh-public-profile-page .pp-hero__scrim-bottom {
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--hh-bg-1, #0a0a0a) 18%, transparent) 35%,
    color-mix(in srgb, var(--hh-bg-1, #0a0a0a) 72%, transparent) 70%,
    var(--hh-bg-1, #0a0a0a) 100%
  );
}

html.page-theme-dark body.hh-public-profile-page .pp-stat .stat-value,
html.page-theme-dark body.hh-public-profile-page .pp-stat--perf .stat-value {
  color: var(--hh-ink, #f5f5f5);
}

html.page-theme-dark body.hh-public-profile-page .pp-stat--perf .stat-value {
  color: var(--perf-color, var(--hh-ink, #f5f5f5));
}

html.page-theme-dark body.hh-public-profile-page .pp-stat .stat-label,
html.page-theme-dark body.hh-public-profile-page .section-subtitle {
  color: var(--hh-muted, #a3a3a3) !important;
}

html.page-theme-dark body.hh-public-profile-page .pp-follow-btn {
  border-color: var(--hh-line, #3f3f46);
  color: var(--hh-ink, #f5f5f5);
}

html.page-theme-dark body.hh-public-profile-page .pp-follow-btn[data-state="following"] {
  background: var(--hh-field, #262626);
}

html.page-theme-dark body.hh-public-profile-page .profile-tabs-nav {
  background: transparent !important;
  border-bottom-color: var(--hh-line, #3f3f46) !important;
}

html.page-theme-dark body.hh-public-profile-page .profile-tab-btn,
html.page-theme-dark body.hh-public-profile-page .profile-tab-btn:hover,
html.page-theme-dark body.hh-public-profile-page .profile-tab-btn.active {
  background: transparent !important;
  color: var(--hh-ink, #f5f5f5) !important;
}

html.page-theme-dark body.hh-public-profile-page .profile-tab-btn.active {
  border-bottom-color: var(--hh-ink, #f5f5f5);
}

html.page-theme-dark body.hh-public-profile-page .bio,
html.page-theme-dark body.hh-public-profile-page .empty-state,
html.page-theme-dark body.hh-public-profile-page .list-item,
html.page-theme-dark body.hh-public-profile-page .profile-ref-summary,
html.page-theme-dark body.hh-public-profile-page .pp-social,
html.page-theme-dark body.hh-public-profile-page .profile-private-lock,
html.page-theme-dark body.hh-public-profile-page .pp-dialog,
html.page-theme-dark body.hh-public-profile-page .info-popup,
html.page-theme-dark body.hh-public-profile-page .info-item,
html.page-theme-dark body.hh-public-profile-page .reference-modal .reference-modal-panel {
  background: var(--hh-surface, #171717) !important;
  border-color: var(--hh-line, #3f3f46) !important;
  color: var(--hh-ink, #f5f5f5);
}

html.page-theme-dark body.hh-public-profile-page .pp-social__links a,
html.page-theme-dark body.hh-public-profile-page .pp-social__links span {
  color: var(--hh-ink, #f5f5f5);
}

html.page-theme-dark body.hh-public-profile-page .pp-hero__verified,
html.page-theme-dark body.hh-public-profile-page .verified-badge img {
  filter: grayscale(1) brightness(1.45) contrast(1.05);
}

/* ----- No underlines on this page ----- */
body.hh-public-profile-page a,
body.hh-public-profile-page a:hover,
body.hh-public-profile-page a:focus,
body.hh-public-profile-page a:visited,
body.hh-public-profile-page .pp-hero__icon-btn,
body.hh-public-profile-page .pp-edit-btn,
body.hh-public-profile-page .profile-post-item,
body.hh-public-profile-page .pp-post,
body.hh-public-profile-page .item-title a,
body.hh-public-profile-page .pp-menu-item {
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
}

/* Theme-aware chrome icons. Beat Font Awesome .fa-* { color:#000 !important }. */
body.hh-public-profile-page .profile-tabs-nav .profile-tab-btn i,
body.hh-public-profile-page .profile-tabs-nav .profile-tab-btn i.fas,
body.hh-public-profile-page .profile-tabs-nav .profile-tab-btn i.far,
body.hh-public-profile-page .profile-tabs-nav .profile-tab-btn [class*="fa-"],
body.hh-public-profile-page .pp-body .section-title i,
body.hh-public-profile-page .pp-body .item-meta i,
body.hh-public-profile-page .pp-body .item-title i,
body.hh-public-profile-page .pp-body .empty-state i,
body.hh-public-profile-page .pp-post__meta i,
body.hh-public-profile-page .pp-post__actions i,
body.hh-public-profile-page .pp-menu-item i {
  color: var(--hh-ink, #171717) !important;
}

html.page-theme-dark body.hh-public-profile-page .profile-tabs-nav .profile-tab-btn i,
html.page-theme-dark body.hh-public-profile-page .profile-tabs-nav .profile-tab-btn i.fas,
html.page-theme-dark body.hh-public-profile-page .profile-tabs-nav .profile-tab-btn i.far,
html.page-theme-dark body.hh-public-profile-page .profile-tabs-nav .profile-tab-btn [class*="fa-"],
html.page-theme-dark body.hh-public-profile-page .pp-body .section-title i,
html.page-theme-dark body.hh-public-profile-page .pp-body .item-meta i,
html.page-theme-dark body.hh-public-profile-page .pp-body .item-title i,
html.page-theme-dark body.hh-public-profile-page .pp-body .empty-state i,
html.page-theme-dark body.hh-public-profile-page .pp-post__meta i,
html.page-theme-dark body.hh-public-profile-page .pp-post__actions i,
html.page-theme-dark body.hh-public-profile-page .pp-menu-item i {
  color: var(--hh-ink, #f5f5f5) !important;
}

/* Hero overlay icons stay light for contrast on the photo. */
body.hh-public-profile-page .pp-hero__icon-btn i,
body.hh-public-profile-page .pp-hero__icon-btn i.fas,
body.hh-public-profile-page .pp-hero__icon-btn [class*="fa-"],
body.hh-public-profile-page .pp-hero .more-button i,
body.hh-public-profile-page .pp-hero .more-button i.fas,
body.hh-public-profile-page .pp-hero .more-button [class*="fa-"],
body.hh-public-profile-page .pp-edit-btn i,
body.hh-public-profile-page .pp-chip i,
body.hh-public-profile-page .pp-hero__photo .default-avatar i {
  color: #fff !important;
}

body.hh-public-profile-page .pp-post__like.is-liked i {
  color: #ef4444 !important;
}

/* Overflow menu — Android-like list */
body.hh-public-profile-page .info-popup {
  min-width: 260px;
  padding: 8px;
}

body.hh-public-profile-page .pp-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--hh-ink, #171717);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: start;
  padding: 11px 12px;
  border-radius: 12px;
  cursor: pointer;
}

body.hh-public-profile-page .pp-menu-item:hover {
  background: var(--hh-field, #f5f5f5);
}

body.hh-public-profile-page .pp-menu-item i {
  width: 1.15rem;
  text-align: center;
  font-size: 0.95rem;
}

body.hh-public-profile-page .pp-menu-divider {
  height: 1px;
  margin: 4px 8px;
  background: var(--hh-line, #e5e5e5);
  border: 0;
}

html.page-theme-dark body.hh-public-profile-page .pp-menu-item {
  color: var(--hh-ink, #f5f5f5);
}

html.page-theme-dark body.hh-public-profile-page .pp-menu-item:hover {
  background: var(--hh-field, #262626);
}

html.page-theme-dark body.hh-public-profile-page .pp-menu-divider {
  background: var(--hh-line, #3f3f46);
}

/* Image-forward blog posts (match Android) */
body.hh-public-profile-page .pp-posts {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 8px 0 16px;
}

body.hh-public-profile-page .pp-post {
  display: block;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  overflow: visible;
}

body.hh-public-profile-page .pp-post:hover {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.hh-public-profile-page .pp-post__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 2px 8px;
}

body.hh-public-profile-page .pp-post__avatar,
body.hh-public-profile-page .pp-post__avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--hh-field, #e5e5e5);
}

body.hh-public-profile-page .pp-post__avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hh-muted, #525252);
}

body.hh-public-profile-page .pp-post__author {
  min-width: 0;
  flex: 1;
}

body.hh-public-profile-page .pp-post__name {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.hh-public-profile-page .pp-post__when {
  font-size: 0.72rem;
  color: var(--hh-muted, #525252);
}

body.hh-public-profile-page .pp-post__media {
  position: relative;
  display: block;
  width: calc(100% + 28px);
  margin: 0 -14px;
  background: var(--hh-field, #e5e5e5);
  overflow: hidden;
}

body.hh-public-profile-page .pp-post__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

body.hh-public-profile-page .pp-post__more-photos {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
}

body.hh-public-profile-page .pp-post__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 2px 4px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--hh-ink, #171717);
}

body.hh-public-profile-page .pp-post__actions span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.hh-public-profile-page .pp-post__text {
  padding: 4px 2px 0;
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: justify;
  color: var(--hh-ink, #171717);
}

html.page-theme-dark body.hh-public-profile-page .pp-post__when {
  color: var(--hh-muted, #a3a3a3);
}

html.page-theme-dark body.hh-public-profile-page .pp-post__media {
  background: var(--hh-field, #262626);
}

html.page-theme-dark body.hh-public-profile-page .pp-post__actions,
html.page-theme-dark body.hh-public-profile-page .pp-post__text,
html.page-theme-dark body.hh-public-profile-page .pp-post__name {
  color: var(--hh-ink, #f5f5f5);
}

body.hh-public-profile-page .pp-list-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(92vw, 420px);
  border: 1px solid var(--hh-line, #e5e5e5);
  border-radius: 18px;
  padding: 16px;
  background: var(--hh-surface, #fff);
  color: var(--hh-ink, #171717);
  max-width: min(92vw, 420px);
}

body.hh-public-profile-page .pp-list-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

body.hh-public-profile-page .pp-list-dialog h3 {
  margin: 0 0 10px;
}

body.hh-public-profile-page .pp-list-dialog ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 50vh;
  overflow: auto;
}

body.hh-public-profile-page .pp-list-dialog li a,
body.hh-public-profile-page .pp-list-dialog li span {
  display: block;
  padding: 8px 4px;
  color: inherit;
}

body.hh-public-profile-page .pp-list-dialog textarea,
body.hh-public-profile-page .pp-list-dialog input[type="text"] {
  width: 100%;
  min-height: 88px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--hh-line, #e5e5e5);
  background: var(--hh-field, #f5f5f5);
  color: inherit;
  font: inherit;
}

body.hh-public-profile-page .pp-list-dialog .pp-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

body.hh-public-profile-page .pp-list-dialog button {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--hh-accent, #262626);
  color: var(--hh-btn-on-accent, #fff);
  font-weight: 800;
  cursor: pointer;
}

body.hh-public-profile-page .pp-list-dialog button[data-pp-cancel] {
  background: transparent;
  color: var(--hh-ink, #171717);
}

html.page-theme-dark body.hh-public-profile-page .pp-list-dialog {
  background: var(--hh-surface, #171717) !important;
  border-color: var(--hh-line, #3f3f46) !important;
  color: var(--hh-ink, #f5f5f5);
}
