.fh-global-brand { text-decoration: none; }
.fh-brand-inner { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; vertical-align: middle; font-family: "Arial Black", "Segoe UI", Arial, sans-serif; font-size: 36px; font-weight: 900; font-style: italic; letter-spacing: -1.2px; line-height: 1; }
.fh-brand-icon { display: block; width: 38px; height: 38px; flex: 0 0 38px; stroke: none; }
.fh-brand-name { display: inline-flex; white-space: nowrap; }
.fh-global-brand .fh-brand-fit { color: #079B60; }
.fh-global-brand .fh-brand-home { color: #1D2A3F; }
.fh-brand-inner--compact { gap: 4px; font-size: 30px; letter-spacing: -1px; }
.fh-brand-inner--compact .fh-brand-icon { width: 36px; height: 36px; flex-basis: 36px; }
.fh-header-avatar { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 40px; height: 40px; flex: 0 0 40px; overflow: hidden; border: 1px solid #fff; border-radius: 50%; background: #edf3f0; box-shadow: 0 1px 8px #23374212; text-decoration: none; }
.fh-header-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.fh-mobile-brand-row { display: none; }
.fh-sport-topline { display: none; }
.fh-page-brand-row { display: flex; align-items: center; justify-content: space-between; min-height: 40px; margin-bottom: 18px; }
body.sp-page .sp-header .sp-avatar.fh-header-avatar { width: 40px; height: 40px; flex-basis: 40px; margin-left: auto; justify-self: end; overflow: hidden; }
body.sp-page .sp-header .sp-avatar.fh-header-avatar img { width: 100%; height: 100%; }
body.sp-page:has(.se-library) .sp-header .sp-avatar.fh-header-avatar { visibility: visible; }
body.sp-page.pe-page .sp-header .sp-avatar.fh-header-avatar { margin-left: 7px; }
@media (max-width: 899px) {
  .home-page .home-shell { width: 100%; max-width: none; }
  .home-page .home-main { width: min(100% - 32px, 600px); margin-inline: auto; }
  .home-page .home-header { box-sizing: border-box; min-height: 72px; padding: 16px; align-items: flex-start; gap: 0; }
  .home-page .home-header .fh-header-avatar { margin-left: auto; }
  body.sp-page .fh-sport-topline { display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; min-height: 56px; padding: 16px 16px 0; }
  body.sp-page .sp-header.sp-header--brand-only { display: none; }
  body.sp-page .sp-header .sp-avatar.fh-header-avatar { display: none; }
}
@media (max-width: 760px) {
  .nutrition-page .nutrition-content { position: relative; }
  .nutrition-page .fh-mobile-brand-row { display: flex; align-items: center; box-sizing: border-box; min-height: 56px; padding: 16px 16px 0; background: #fff; }
  .nutrition-page .nutrition-header .fh-header-avatar { position: absolute; top: 16px; right: 16px; }
  .progress-page .progress-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 40px auto; align-items: center; gap: 10px 12px; padding: 16px; }
  .progress-page .progress-header .progress-mobile-brand { display: inline-flex; width: auto; grid-column: 1; grid-row: 1; }
  .progress-page .progress-header .fh-header-avatar { grid-column: 2; grid-row: 1; justify-self: end; }
  .progress-page .progress-header h1 { grid-column: 1; grid-row: 2; }
  .progress-page .progress-header .progress-add { grid-column: 2; grid-row: 2; justify-self: end; }
}
@media (max-width: 700px) {
  .fh-profile-page .fh-mobile-brand-row { display: block; padding: 15px 18px 0; background: #fff; }
}
@media (max-width: 899px) {
  .weight-page .dashboard { margin-top: 0; }
  .weight-page .fh-page-brand-row { padding-top: 16px; }
}
@media (max-width: 460px) {
  .fh-brand-inner { gap: 4px; font-size: 30px; letter-spacing: -1px; }
  .fh-brand-icon { width: 36px; height: 36px; flex-basis: 36px; }
}
