.page-shell {
    max-width: 1120px !important;
    margin: 0 auto !important;
    padding: 18px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(216, 222, 232, 0.96) !important;
    border-radius: 30px !important;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
}

.site-tabs-shell {
    position: relative;
    max-width: 612px;
    margin: 0 auto 18px;
    padding: 10px 14px;
    border-radius: 28px;
    border: 1px solid rgba(216, 222, 232, 0.96);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
}

.site-tabs-shell .header-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    white-space: nowrap;
    min-height: 56px;
    padding: 0 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.site-tabs-shell .header-nav::-webkit-scrollbar {
    display: none;
}

.site-tabs-shell .header-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 84px;
    width: 84px;
    min-height: 48px;
    margin: 0;
    padding: 0 8px;
    border-radius: 18px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid #d8dee8;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.site-tab-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.site-tabs-shell .header-nav a.site-tab {
    box-sizing: border-box;
}

.site-tabs-shell .header-nav a:hover {
    transform: translateY(-1px);
    border-color: #b7c4d6;
}

.site-tabs-shell .header-nav a.is-active {
    background: linear-gradient(180deg, #effaf4, #e4f5ec);
    border-color: #99d3af;
    box-shadow: 0 14px 28px rgba(22, 101, 52, 0.16);
}

.site-tabs-shell .scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.74);
    color: #fff;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    z-index: 2;
}

.site-tabs-shell .scroll-arrow.left {
    left: 0;
}

.site-tabs-shell .scroll-arrow.right {
    right: 0;
}

.site-tabs-shell .scroll-arrow.show-arrow {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

@media (max-width: 720px) {
    .page-shell {
        padding: 14px !important;
        border-radius: 24px !important;
    }

    .site-tabs-shell {
        margin-bottom: 14px;
        max-width: 100%;
        padding: 0 14px;
        border-radius: 24px;
    }

    .site-tabs-shell .header-nav {
        justify-content: flex-start;
        gap: 8px;
        min-height: 52px;
        padding: 8px 0;
    }

    .site-tabs-shell .header-nav a {
        flex-basis: 66px;
        width: 66px;
        min-height: 40px;
        padding: 0 6px;
    }

    .site-tab-icon {
        width: 32px;
        height: 32px;
    }
}
