/* Compact, recognizable account shortcut on both desktop and mobile. */
html.editorial-refresh [hidden] { display: none !important; }

html.editorial-refresh [data-home-session-link] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}

html.editorial-refresh .home-session-avatar {
  display: block;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(127, 127, 127, .15);
  border: 1px solid var(--fresh-line);
}

html.editorial-refresh.home-is-authenticated .header-actions > [data-home-auth-cta] {
  display: none !important;
}

html.editorial-refresh.home-is-authenticated .header-actions > [data-home-session-link] {
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--fresh-line);
  border-radius: 999px;
  color: var(--fresh-text) !important;
  background: var(--fresh-surface);
  font-weight: 700;
  transition: border-color .2s ease, background .2s ease;
}

html.editorial-refresh.home-is-authenticated .header-actions > [data-home-session-link]:hover {
  border-color: var(--fresh-accent);
}

html.editorial-refresh .mobile-menu [data-home-session-link] {
  display: flex;
  justify-content: flex-start;
  padding: 12px;
}

html.editorial-refresh.home-is-authenticated .home-return-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 26px;
}

@media (max-width: 520px) {
  html.editorial-refresh.home-is-authenticated .header-actions > [data-home-session-link] {
    display: inline-flex !important;
    font-size: .72rem;
    padding: 4px 8px 4px 4px;
    gap: 6px;
  }

  html.editorial-refresh.home-is-authenticated .header-actions { gap: 6px; }
  html.editorial-refresh.home-is-authenticated .header-actions > [data-home-session-link] .home-session-avatar {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 360px) {
  html.editorial-refresh.home-is-authenticated .header-actions > [data-home-session-link] [data-home-session-label] {
    display: none;
  }
}
