/*
 * PokeTeamOn M7.4 R5 — corrected mobile Guides placement.
 *
 * Mobile <=600px:
 * BUILD · ANALYZE · STRESS-TEST · REPAIR · GUIDES
 * appears as one workflow row above the H1.
 *
 * The hamburger still contains Guides.
 * The mobile footer still hides its desktop-only Guides item.
 *
 * Desktop:
 * this extra workflow Guides item is hidden because the normal desktop
 * header and footer already expose Guides.
 */
.m74-mobile-workflow-guides,
.m74-mobile-workflow-guides-separator {
    display: none;
}

@media (max-width: 600px) {
    .m71-workflow-links {
        flex-wrap: nowrap !important;
        gap: 2px 3px !important;
        font-size: clamp(0.61rem, 2.55vw, 0.70rem) !important;
        letter-spacing: 0.07em !important;
        white-space: nowrap;
    }

    .m71-workflow-links .m74-mobile-workflow-guides,
    .m71-workflow-links .m74-mobile-workflow-guides-separator {
        display: inline !important;
        flex: 0 0 auto;
    }

    .m71-workflow-links .m74-mobile-workflow-guides {
        color: inherit;
        text-decoration: none;
    }

    .m71-workflow-links .m74-mobile-workflow-guides:hover,
    .m71-workflow-links .m74-mobile-workflow-guides:focus-visible {
        text-decoration: underline;
        text-underline-offset: 3px;
    }
}
