.desktop-header-wordmark { display: none; }
@media (min-width: 1024px) {
    :is(#routine, #workouts, #food, #plans) .sec-header { padding: 24px 0; text-align: center; }
    :is(#routine, #workouts, #food, #plans) .sec-header-top-row { display: block; width: 100%; }
    :is(#routine, #workouts, #food, #plans) .sec-header h2 { width: 100%; text-align: center; }
    #food .sec-header { position: relative; }
    #food .activity-section-head-actions {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        margin: 0;
    }
    .desktop-unified-title > .desktop-header-original { display: none; }
    .desktop-unified-title > .desktop-header-wordmark { display: flex; }
    body.desktop-navigation-enabled #circleSwitcher .circle-switcher-header { display: flex !important; }
    body.desktop-navigation-enabled #friendsGalleryFeedOverlay .cg-title,
    body.desktop-embedded .hub-head .hub-h1,
    body.desktop-embedded[data-desktop-destination="coaches"] > .wrap > header h1 { display: block; }
    #circleSwitcher .circle-switcher-header { position: relative; justify-content: center; padding: 0 0 28px; margin: 0; }
    #circleSwitcher .circle-switcher-title-wrap { width: 100%; }
    #circleSwitcher .circle-switcher-close { display: none; }
    #circleSwitcher .circle-help-btn { position: absolute; right: 0; top: 0; }
    #friendsGalleryFeedOverlay { overflow-y: auto; overscroll-behavior: contain; }
    #friendsGalleryFeedOverlay .cg-body { flex: none; min-height: auto; overflow: visible; }
    #friendsGalleryFeedOverlay .cg-head { position: relative; display: flex; justify-content: center; padding: 36px 24px 16px; min-height: 0; box-sizing: border-box; }
    #friendsGalleryFeedOverlay .cg-head-acts { position: absolute; right: 24px; top: 24px; }
    #friendsGalleryFeedOverlay .cg-title { margin: 0; width: 100%; white-space: normal; }
    .hub-wrap .hub-head, body.desktop-embedded .hub-head,
    body > .wrap > header, body.desktop-embedded[data-desktop-destination="coaches"] > .wrap > header { padding: 52px 20px 28px; text-align: center; }
}
/* An embedded desktop page can narrow when the agent is open. */
body.desktop-embedded .desktop-unified-title > .desktop-header-original { display: none; }
body.desktop-embedded .desktop-unified-title > .desktop-header-wordmark { display: flex; }
body.desktop-embedded .hub-head .hub-h1,
body.desktop-embedded[data-desktop-destination="coaches"] > .wrap > header h1 { display: block; }
body.desktop-embedded .hub-head,
body.desktop-embedded[data-desktop-destination="coaches"] > .wrap > header { padding: 52px 20px 28px; text-align: center; }
body.desktop-embedded .hub-crumb,
body.desktop-embedded[data-desktop-destination="coaches"] > .wrap > header .crumb { display: none; }
.desktop-header-wordmark {
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 14px;
    position: relative;
    padding-bottom: 18px;
    margin: 0;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
    text-shadow: none;
}
.desktop-header-wordmark::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 160px; border-bottom: 1px dashed #4a4e54; }
.desktop-header-word { display: inline-flex; white-space: nowrap; }
.desktop-header-word > span:nth-child(6n+1) { color: #fda4af; font-family: Georgia, serif; }
.desktop-header-word > span:nth-child(6n+2) { color: #f9a8d4; font-family: 'Courier New', monospace; }
.desktop-header-word > span:nth-child(6n+3) { color: #fbbf24; font-family: 'Trebuchet MS', sans-serif; }
.desktop-header-word > span:nth-child(6n+4) { color: #93c5fd; font-family: Georgia, serif; }
.desktop-header-word > span:nth-child(6n+5) { color: #6ee7b7; font-family: Verdana, sans-serif; }
.desktop-header-word > span:nth-child(6n) { color: #c4b5fd; font-family: 'Trebuchet MS', sans-serif; }
@media (min-width: 1280px) {
    body.desktop-navigation-enabled #gamesHubOverlay {
        inset: 0 0 0 280px;
        width: auto;
        padding: 0;
        background: #17191b;
        backdrop-filter: none;
        align-items: stretch;
        z-index: 9999;
    }
    body.desktop-navigation-enabled.agc-open #gamesHubOverlay { right: var(--agent-reserved); }
    body.desktop-games-open #desktopNavigation { z-index: 10000; }
    #gamesHubOverlay .gh-sheet {
        width: 100%; max-width: none; max-height: none; height: 100dvh;
        margin: 0; border: 0; border-radius: 0; box-shadow: none;
        background: #17191b; padding: 32px max(24px, calc((100% - 1200px) / 2));
        box-sizing: border-box;
        animation: none; transform: none;
    }
    #gamesHubOverlay .gh-header { justify-content: center; padding: 16px 0 32px; }
    #gamesHubOverlay .gh-title { display: block; width: 100%; }
    #gamesHubOverlay .gh-handle-bar, #gamesHubOverlay .gh-close { display: none; }
    #gamesHubOverlay .gh-orbs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
}
