/* Final cross-page surface and rhythm overrides. */
html body.page-channel .hy-layout,
html body.page-home .hy-layout,
html body.page-gbook .hy-layout,
html body.page-detail .hy-video-details,
html body.page-play .hy-player {
    border-radius: var(--ys-radius) !important;
    box-shadow: var(--ys-shadow-soft) !important;
}

html body.page-gbook .hy-common {
    margin-top: var(--ys-section-gap) !important;
}

@media (max-width: 991px) {
    html body.page-cascade .hy-switch-tabs .nav-tabs {
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        gap: 2px;
        padding: 0;
        white-space: nowrap;
    }

    html body.page-cascade .hy-switch-tabs .nav-tabs li {
        flex: 0 0 auto;
    }

    html body.page-gbook .hy-common {
        margin-top: var(--ys-page-section-gap-mobile) !important;
    }
}
