@media (min-width: 600px) {
    .top-bar-brand .tagline {
        display: inline;
    }
}

@media (max-width: 768px) {
    .workout-section {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .live-current-interval {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .live-power-value,
    .live-timer-countdown {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 0 20px;
    }

    .card {
        border-radius: 0;
    }

    .workout-cards-grid {
        grid-template-columns: 1fr;
    }

    .zone-legend {
        flex-wrap: wrap;
    }

    .zone-legend-item {
        flex: 1 1 30%;
    }

    .workout-category-tabs {
        justify-content: center;
    }

    .view-tab {
        font-size: 12px;
        padding: 12px 8px;
    }

    .fitness-level-picker {
        display: flex;
        width: 100%;
        justify-content: space-evenly;
    }

    .fitness-level-btn {
        padding: 0 7px;
    }

    .fitness-level-name {
        font-size: 12px;
    }

    .custom-full {
        display: none;
    }

    .custom-short {
        display: inline;
    }

    .fitness-level-detail {
        flex-wrap: wrap;
        height: auto;
        min-height: 34px;
    }

    .cta-full {
        display: none;
    }

    .cta-short {
        display: inline;
    }

    .live-profile-bar .bar-label,
    .live-profile-bar .bar-label.bar-label-vertical {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
        top: auto;
        bottom: 12px;
        left: 50%;
        right: auto;
        translate: -50% 0;
        font-size: 10px;
        display: block;
        overflow: hidden;
        text-overflow: clip;
        text-align: center;
    }
}
