/* SP bottom navigation, using the release mock's SVG icons. */
.mobile-site-nav,
.mobile-site-nav-spacer {
    display: none;
}

@media (max-width: 767px) {
    .mobile-site-nav-spacer {
        display: block;
        height: calc(60px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-site-nav {
        box-sizing: border-box;
        display: flex;
        position: fixed;
        inset: auto 0 0;
        z-index: 60;
        height: calc(60px + env(safe-area-inset-bottom, 0px));
        padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
        border-top: 1px solid #dfe3ee;
        background: #fff;
        box-shadow: 0 -4px 16px rgba(16, 25, 68, .06);
    }

    .mobile-site-nav a {
        box-sizing: border-box;
        flex: 1 1 0;
        min-width: 0;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 6px 0 4px;
        color: #6b7385;
        font: 500 10px/1.2 -apple-system, BlinkMacSystemFont, 'Hiragino Sans', Meiryo, sans-serif;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-site-nav svg {
        flex-shrink: 0;
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-site-nav span {
        white-space: nowrap;
        letter-spacing: -.02em;
    }

    .mobile-site-nav a[aria-current="page"] {
        color: #191c60;
        font-weight: 700;
    }

    .mobile-site-nav a[aria-current="page"]::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 22%;
        right: 22%;
        height: 3px;
        border-radius: 0 0 3px 3px;
        background: #171c61;
    }

    .mobile-site-nav a:focus-visible {
        outline: 2px solid #6077c7;
        outline-offset: -2px;
    }

    /* The dedicated short player keeps its existing full-screen controls. */
    .pageShortVideo .mobile-site-nav,
    .pageShortVideo .mobile-site-nav-spacer {
        display: none;
    }
}
