/* =========================================
   SITE HEADER & FOOTER
   Mobile-first
========================================= */

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 65px;
    gap: 1rem;
}

.site-header__left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-header__right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== LOGO ===== */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo__img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.site-logo__text {
    font-weight: 700;
    font-size: 1rem;
    color: #0A1628;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.site-logo__accent {
    color: #FF6B00;
}

/* ===== BURGER ===== */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    transition: background 0.2s;
    flex-shrink: 0;
    min-height: auto;
}

.burger-btn:hover {
    background: #ebebeb;
}

.burger-btn__line {
    display: block;
    width: 18px;
    height: 2px;
    background: #0A1628;
    border-radius: 2px;
    transition: all 0.28s cubic-bezier(0.22,1,0.36,1);
}

/* ===== HEADER BUTTONS ===== */
.header-btn {
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    min-height: auto;
}

.header-btn--ghost {
    background: transparent;
    color: #0A1628;
    border: 1.5px solid #e8e8e8;
}

.header-btn--ghost:hover {
    border-color: #FF6B00;
    color: #FF6B00;
}

.header-btn--primary {
    background: #FF6B00;
    color: white;
    border: 1.5px solid #FF6B00;
}

.header-btn--primary:hover {
    background: #e55f00;
    border-color: #e55f00;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.25);
}

.header-btn--danger {
    background: transparent;
    color: #dc3545;
    border: 1.5px solid #f0d0d3;
}

.header-btn--danger:hover {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

/* ===== SIDE MENU ===== */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.side-menu-overlay.active {
    display: block;
    opacity: 1;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 999;
    padding: 6rem 0 2rem;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    visibility: hidden;
}

.side-menu.active {
    left: 0;
    pointer-events: auto;
    visibility: visible;
}

.side-menu__list {
    list-style: none;
    padding: 0 1rem;
    margin: 0;
}

.side-menu__link {
    display: flex;
    align-items: center;
    padding: 0.9rem 1rem;
    color: #0A1628;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
    margin-bottom: 0.2rem;
}

.side-menu__link:hover {
    background: #FFF0E6;
    color: #FF6B00;
    padding-left: 1.4rem;
}

/* ===== MAIN ===== */
.site-main {
    margin-top: 65px;
}

/* ===== MESSAGES ===== */
.messages-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 1rem 1.5rem 0;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
}

.message--success { background: #d1fae5; color: #065f46; }
.message--error   { background: #fee2e2; color: #991b1b; }
.message--warning { background: #fef3c7; color: #92400e; }
.message--info    { background: #dbeafe; color: #1e40af; }

/* ===== FOOTER ===== */
.site-footer {
    background: #0A1628;
    color: rgba(255, 255, 255, 0.75);
}

.site-footer__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col__title {
    color: #FF6B00;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-logo__img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.footer-logo__text {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    font-family: 'Inter', sans-serif;
}

.footer-logo__accent { color: #FF6B00; }

.footer-desc {
    font-size: 0.82rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,0.55);
}

.footer-socials {
    display: flex;
    gap: 0.5rem;
}

.footer-social {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}

.footer-social:hover {
    background: #FF6B00;
    transform: translateY(-2px);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li { margin-bottom: 0.6rem; }

.footer-nav__link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-nav__link:hover { color: #FF6B00; }

.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contacts li {
    margin-bottom: 0.6rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
}

.footer-contacts__link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contacts__link:hover { color: #FF6B00; }

.footer-subscribe {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.footer-subscribe__input {
    flex: 1;
    padding: 0.65rem 1rem;
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: white;
    font-size: 0.82rem;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.footer-subscribe__input::placeholder { color: rgba(255,255,255,0.35); }
.footer-subscribe__input:focus { border-color: #FF6B00; }

.footer-subscribe__btn {
    padding: 0.65rem 1.1rem;
    background: #FF6B00;
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    transition: background 0.2s;
    white-space: nowrap;
    font-family: inherit;
}

.footer-subscribe__btn:hover { background: #e55f00; }

.footer-payments__label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.5rem;
}

.footer-payments__list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-payment-badge {
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.site-footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .site-header__inner {
        padding: 0 1rem;
        height: 60px;
    }

    /* Скрываем лишние кнопки */
    .site-header__right .header-btn--ghost,
    .site-header__right .header-btn--danger,
    .site-header__right .header-btn--outline {
        display: none;
    }

    .header-btn--primary {
        padding: 0.45rem 0.9rem;
        font-size: 0.78rem;
    }

    /* mobile-fix: primary fit 360 */
    .site-header__right .header-search-btn { margin-right: 0.5rem; }
    .header-btn--primary { white-space: nowrap; flex-shrink: 0; }


    /* Логотип */
    .site-logo__img {
        width: 30px !important;
        height: 30px !important;
        max-width: 30px !important;
    }

    .site-logo__text {
        font-size: 0.9rem;
    }

    /* Футер */
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-footer__inner {
        padding: 3rem 1rem 2rem;
    }

    .footer-subscribe {
        flex-direction: column;
    }

    .site-main {
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .site-logo__text {
        display: none;
    }

    .site-header__inner {
        height: 56px;
    }

    .site-main {
        margin-top: 56px;
    }
}




/* =========================================

   HEADER + SIDEMENU PREMIUM

========================================= */



/* HEADER */

.site-header {

    position: fixed;

    top: 0; left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(255,255,255,0.88);

    backdrop-filter: blur(28px);

    -webkit-backdrop-filter: blur(28px);

    border-bottom: 1px solid rgba(0,0,0,0.06);

    transition: background 0.3s, box-shadow 0.3s;

}



.site-header.scrolled {

    background: rgba(255,255,255,0.96);

    box-shadow: 0 4px 32px rgba(0,0,0,0.08);

}



.site-header__inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    max-width: 1320px;

    margin: 0 auto;

    padding: 0 1.5rem;

    height: 68px;

    gap: 1rem;

}



.site-header__left { display: flex; align-items: center; gap: 1rem; }

.site-header__right { display: flex; align-items: center; gap: 0.5rem; }



.site-logo {

    display: flex; align-items: center; gap: 0.65rem;

    text-decoration: none; flex-shrink: 0;

}



.site-logo__img {

    width: 38px; height: 38px; border-radius: 50%; object-fit: cover;

    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);

}



.site-logo:hover .site-logo__img { transform: rotate(8deg) scale(1.08); }



.site-logo__wrap { display: flex; flex-direction: column; gap: 1px; }



.site-logo__text {

    font-size: 0.95rem; font-weight: 800; color: #0A1628;

    letter-spacing: -0.01em; line-height: 1; font-family: "Inter", sans-serif;

}



.site-logo__accent { color: #FF6B00; }



.site-logo__sub {

    font-size: 0.6rem; font-weight: 600; color: rgba(10,22,40,0.4);

    text-transform: uppercase; letter-spacing: 0.08em; line-height: 1;

}



.burger-btn {

    display: flex; flex-direction: column; justify-content: center;

    align-items: center; gap: 5px;

    width: 42px; height: 42px;

    background: rgba(10,22,40,0.05);

    border: 1px solid rgba(10,22,40,0.08);

    border-radius: 12px; cursor: pointer; padding: 0;

    flex-shrink: 0; min-height: unset;

    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);

}



.burger-btn:hover {

    background: rgba(255,107,0,0.08);

    border-color: rgba(255,107,0,0.2);

    transform: scale(1.05);

}



.burger-btn span {

    display: block;

    width: 18px; height: 2px; min-height: 2px; max-height: 2px;

    background: #0A1628; border-radius: 2px;

    transition: all 0.3s cubic-bezier(0.22,1,0.36,1);

    flex-shrink: 0;

}



.burger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }

.burger-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }

.burger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }



.header-user-capsule {

    display: flex; align-items: center; gap: 0.6rem;

    padding: 0.4rem 0.75rem 0.4rem 0.4rem;

    background: rgba(255,255,255,0.7);

    border: 1px solid rgba(0,0,0,0.07);

    border-radius: 50px; text-decoration: none;

    backdrop-filter: blur(12px);

    box-shadow: 0 2px 12px rgba(0,0,0,0.05);

    transition: all 0.25s;

}



.header-user-capsule:hover {

    background: #FFF8F5;

    border-color: rgba(255,107,0,0.25);

    box-shadow: 0 4px 16px rgba(255,107,0,0.1);

}



.header-user-capsule__avatar {

    width: 28px; height: 28px;

    background: linear-gradient(135deg, #FF6B00, #FF8C3A);

    border-radius: 50%; display: flex; align-items: center;

    justify-content: center; font-size: 0.72rem; font-weight: 800;

    color: white; flex-shrink: 0;

}



.header-user-capsule__info { display: flex; flex-direction: column; gap: 1px; }



.header-user-capsule__name {

    font-size: 0.78rem; font-weight: 700; color: #0A1628; line-height: 1;

}



.header-user-capsule__role {

    font-size: 0.6rem; color: #888; line-height: 1; font-weight: 500;

}



.header-btn {

    padding: 0.5rem 1.1rem; border-radius: 50px; text-decoration: none;

    font-size: 0.82rem; font-weight: 600; transition: all 0.25s cubic-bezier(0.22,1,0.36,1);

    white-space: nowrap; font-family: "Inter", sans-serif;

    min-height: unset; box-shadow: none; animation: none;

}



.header-btn--ghost {

    background: transparent; color: #0A1628;

    border: 1.5px solid rgba(10,22,40,0.12);

}



.header-btn--ghost:hover { border-color: #FF6B00; color: #FF6B00; background: transparent; }



.header-btn--primary {

    background: #FF6B00; color: white; border: 1.5px solid #FF6B00;

}



.header-btn--primary:hover {

    background: #e55f00; border-color: #e55f00;

    transform: translateY(-1px);

    box-shadow: 0 6px 16px rgba(255,107,0,0.3);

    color: white;

}



.header-btn--danger {

    background: transparent; color: #dc3545;

    border: 1.5px solid rgba(220,53,69,0.2); animation: none;

}



.header-btn--danger:hover {

    background: #dc3545; color: white; border-color: #dc3545; box-shadow: none;

}



/* OVERLAY */

.side-menu-overlay {

    position: fixed; inset: 0;

    background: rgba(8,28,51,0.55);

    backdrop-filter: blur(6px);

    -webkit-backdrop-filter: blur(6px);

    z-index: 998; display: none; opacity: 0; transition: opacity 0.3s;

}



.side-menu-overlay.active { display: block; opacity: 1; }



/* SIDE MENU */

.side-menu {

    position: fixed;

    top: 12px; left: 12px; bottom: 12px;

    width: 288px; height: auto;

    background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(248,249,252,0.97) 100%);

    backdrop-filter: blur(32px);

    -webkit-backdrop-filter: blur(32px);

    border: 1px solid rgba(255,255,255,0.75);

    border-radius: 24px;

    box-shadow:

        inset 0 1px 0 rgba(255,255,255,0.9),

        0 24px 60px rgba(15,23,42,0.12),

        0 0 0 1px rgba(0,0,0,0.04);

    z-index: 999;

    transform: translateX(calc(-100% - 24px));

    pointer-events: none;

    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);

    overflow-y: auto; overflow-x: hidden;

    display: flex; flex-direction: column;

    padding: 0;

}



.side-menu.active { transform: translateX(0); pointer-events: auto; }



/* Profile */

.sm-profile {

    padding: 2rem 1.25rem 1.25rem;

    background: transparent;

    border-bottom: 1px solid rgba(0,0,0,0.05);

    flex-shrink: 0;

}



.sm-profile__avatar {

    width: 80px; height: 80px;

    background: linear-gradient(135deg, #FF6B00, #FF8C3A);

    border-radius: 50%;

    display: flex; align-items: center; justify-content: center;

    font-size: 2rem; font-weight: 900; color: white;

    font-family: "Inter", sans-serif;

    position: relative; margin-bottom: 0.9rem;

    border: 2.5px solid rgba(255,255,255,0.85);

    box-shadow: none;

}



.sm-profile__online {

    position: absolute; bottom: 2px; right: 2px;

    width: 13px; height: 13px; background: #22c55e;

    border-radius: 50%; border: 2px solid white;

    box-shadow: 0 0 6px rgba(34,197,94,0.5);

}



.sm-profile__name {

    font-size: 1.05rem; font-weight: 900; color: #0A1628;

    letter-spacing: -0.02em; font-family: "Inter", sans-serif; margin-bottom: 5px;

}



.sm-profile__badge {

    display: inline-block; font-size: 0.67rem; font-weight: 700;

    color: #FF6B00; background: rgba(255,107,0,0.1);

    border: 1px solid rgba(255,107,0,0.15);

    padding: 3px 10px; border-radius: 20px; margin-bottom: 0.85rem;

}



.sm-profile__progress { width: 100%; }



.sm-profile__progress-track {

    height: 5px; background: rgba(0,0,0,0.07);

    border-radius: 3px; overflow: hidden; margin-bottom: 5px;

}



.sm-profile__progress-fill {

    height: 100%;

    background: linear-gradient(90deg, #FF6B00, #FFB347);

    border-radius: 3px;

}



.sm-profile__progress-meta {

    display: flex; justify-content: space-between;

    font-size: 0.62rem; color: #aaa; font-weight: 500;

}



.sm-profile__progress-meta span:last-child { color: #FF6B00; font-weight: 700; }



/* Nav */

.sm-nav { flex: 1; padding: 0.75rem; overflow-y: auto; }



.sm-nav__group-label {

    font-size: 0.6rem; font-weight: 800; text-transform: uppercase;

    letter-spacing: 0.1em; color: rgba(10,22,40,0.28);

    padding: 0.85rem 0.75rem 0.35rem;

}



.sm-nav__group-label:first-child { padding-top: 0.35rem; }



.sm-link {

    display: flex; align-items: center; gap: 0.75rem;

    padding: 0.68rem 0.9rem; color: #3a4a5c;

    text-decoration: none; font-size: 0.875rem; font-weight: 600;

    border-radius: 12px; border: 1.5px solid transparent;

    transition: all 0.22s cubic-bezier(0.22,1,0.36,1);

    margin-bottom: 1px; font-family: "Inter", sans-serif;

    position: relative;

}



.sm-link__icon {

    font-size: 1rem; width: 20px; text-align: center;

    flex-shrink: 0; opacity: 0.45;

    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);

}



.sm-link:hover {

    background: rgba(255,107,0,0.06); color: #FF6B00;

    border-color: rgba(255,107,0,0.1); transform: translateX(3px);

}



.sm-link:hover .sm-link__icon { opacity: 1; transform: scale(1.1); }



.sm-link.active {

    background: linear-gradient(135deg, rgba(255,107,0,0.1), rgba(255,180,0,0.06));

    color: #FF6B00; border-color: rgba(255,107,0,0.2); font-weight: 700;

    box-shadow: 0 4px 16px rgba(255,107,0,0.09), inset 0 1px 0 rgba(255,255,255,0.8);

    transform: translateX(4px);

}



.sm-link.active .sm-link__icon { opacity: 1; }



.sm-link.active::before {

    content: "";

    position: absolute; left: 0; top: 50%; transform: translateY(-50%);

    width: 3px; height: 20px; background: #FF6B00;

    border-radius: 0 3px 3px 0;

}



/* Stats */

.sm-stats {

    display: flex; gap: 0;

    border-top: 1px solid rgba(0,0,0,0.05);

    border-bottom: 1px solid rgba(0,0,0,0.05);

    margin: 0 0.75rem; flex-shrink: 0;

}



.sm-stat { flex: 1; text-align: center; padding: 0.7rem 0.25rem; }



.sm-stat strong {

    display: block; font-size: 1.1rem; font-weight: 900; color: #0A1628;

    font-family: "Inter", sans-serif; letter-spacing: -0.02em;

    line-height: 1; margin-bottom: 3px;

}



.sm-stat span {

    font-size: 0.58rem; color: #bbb; font-weight: 500;

    text-transform: uppercase; letter-spacing: 0.05em;

}



.sm-stat + .sm-stat { border-left: 1px solid rgba(0,0,0,0.06); }



/* CTA */

.sm-cta {

    display: flex; align-items: flex-start; gap: 0.65rem;

    flex-direction: column;

    margin: 0.75rem; padding: 1.1rem 1rem;

    background: linear-gradient(135deg, rgba(255,107,0,0.08), rgba(255,150,0,0.04));

    border: 1px solid rgba(255,107,0,0.18);

    border-radius: 16px; text-decoration: none;

    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);

    flex-shrink: 0;

    position: relative; overflow: hidden;

}



.sm-cta::before {

    content: "";

    position: absolute; top: -40%; right: -20%;

    width: 100px; height: 100px;

    background: radial-gradient(circle, rgba(255,107,0,0.12), transparent 70%);

    pointer-events: none;

}



.sm-cta:hover {

    background: linear-gradient(135deg, #FF6B00, #FF8C3A);

    border-color: #FF6B00;

    transform: translateY(-2px);

    box-shadow: 0 10px 28px rgba(255,107,0,0.25);

}



.sm-cta__icon { font-size: 1.5rem; }



.sm-cta__text strong {

    display: block; font-size: 0.83rem; font-weight: 800;

    color: #0A1628; font-family: "Inter", sans-serif;

    line-height: 1.2; margin-bottom: 3px;

}



.sm-cta__text span { font-size: 0.7rem; color: #FF6B00; font-weight: 600; }



.sm-cta:hover .sm-cta__text strong,

.sm-cta:hover .sm-cta__text span { color: white; }



/* MAIN */

.site-main { margin-top: 0; }



/* MESSAGES */

.messages-container {

    position: fixed; top: 80px; right: 1.5rem;

    z-index: 9999; display: flex; flex-direction: column;

    gap: 0.75rem; max-width: 380px; width: 100%; padding: 0;

}



.message {

    display: flex; align-items: center; gap: 0.75rem;

    padding: 1rem 1.25rem; border-radius: 16px;

    font-size: 0.88rem; font-weight: 500; font-family: "Inter", sans-serif;

    box-shadow: 0 8px 32px rgba(0,0,0,0.15);

    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);

    animation: messageSlideIn 0.4s cubic-bezier(0.22,1,0.36,1);

    cursor: pointer; border: 1px solid rgba(255,255,255,0.2);

}



@keyframes messageSlideIn {

    from { opacity: 0; transform: translateX(40px); }

    to   { opacity: 1; transform: translateX(0); }

}



.message--success { background: rgba(34,197,94,0.92); color: white; }

.message--error   { background: rgba(239,68,68,0.92); color: white; }

.message--warning { background: rgba(245,158,11,0.92); color: white; }

.message--info    { background: rgba(59,130,246,0.92); color: white; }



/* MOBILE */

@media (max-width: 768px) {

    .site-header__inner { height: 60px; padding: 0 1rem; }

    .site-header__right .header-btn--ghost,

    .site-header__right .header-btn--danger { display: none; }

    .header-user-capsule__info { display: none; }

    .site-logo__sub { display: none; }

    .site-main { margin-top: 0; }

    .side-menu { width: calc(100vw - 24px); max-width: 300px; }

}



@media (max-width: 480px) {

    .site-logo__text { display: none; }

    .site-header__inner { height: 56px; }

    .site-main { margin-top: 0; }

}




/* ===== PROFILE TOP FIX ===== */

.sm-profile {

    padding-top: 2rem !important;

    margin-top: 0 !important;

}




/* ===== AVATAR TOP FIX HARD ===== */

.sm-profile {

    padding-top: 3.5rem !important;

}




/* ===== AVATAR TOP FIX v2 ===== */

.sm-profile {

    padding-top: 4.5rem !important;

}




/* ===== FOOTER CTA ===== */

.footer-cta {

    background: #081C33;

    padding: 4rem 1.5rem;

    position: relative;

    overflow: hidden;

}



.footer-cta::before {

    content: "";

    position: absolute;

    top: -40%; left: -10%;

    width: 50%; height: 200%;

    background: radial-gradient(ellipse, rgba(255,107,0,0.07) 0%, transparent 65%);

    pointer-events: none;

}



.footer-cta::after {

    content: "";

    position: absolute;

    bottom: -40%; right: -10%;

    width: 50%; height: 200%;

    background: radial-gradient(ellipse, rgba(255,107,0,0.05) 0%, transparent 65%);

    pointer-events: none;

}



.footer-cta__inner {

    max-width: 1100px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 2rem;

    padding: 3.5rem 4rem;

    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 28px;

    backdrop-filter: blur(24px);

    -webkit-backdrop-filter: blur(24px);

    box-shadow: 0 20px 60px rgba(0,0,0,0.25);

    position: relative;

    z-index: 1;

}



.footer-cta__title {

    font-size: clamp(2rem, 4vw, 2.8rem);

    font-weight: 900;

    color: white;

    letter-spacing: -0.03em;

    line-height: 1.1;

    margin-bottom: 0.75rem;

    font-family: "Inter", sans-serif;

}



.footer-cta__sub {

    font-size: 1.05rem;

    color: rgba(255,255,255,0.75);

    margin-bottom: 1.75rem;

}



.footer-cta__stats {

    display: flex;

    align-items: center;

    gap: 1.5rem;

    margin-top: 28px;

}



.footer-cta__stat {

    display: flex;

    flex-direction: column;

    gap: 2px;

}



.footer-cta__stat-num {

    font-size: 1.3rem;

    font-weight: 900;

    color: white;

    letter-spacing: -0.02em;

    font-family: "Inter", sans-serif;

}



.footer-cta__stat-label {

    font-size: 0.72rem;

    color: rgba(255,255,255,0.45);

    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 0.06em;

}



.footer-cta__stat-div {

    width: 1px;

    height: 32px;

    background: rgba(255,255,255,0.12);

}



.footer-cta__btn {

    flex-shrink: 0;

    padding: 1rem 2.5rem;

    background: #FF6B00;

    color: white;

    border-radius: 18px;

    font-size: 1rem;

    font-weight: 700;

    text-decoration: none;

    font-family: "Inter", sans-serif;

    white-space: nowrap;

    box-shadow: 0 8px 24px rgba(255,107,0,0.35);

    transition: transform 0.25s cubic-bezier(0.22,1,0.36,1),

                box-shadow 0.25s cubic-bezier(0.22,1,0.36,1);

}



.footer-cta__btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 12px 32px rgba(255,107,0,0.45);

    color: white;

}



@media (max-width: 768px) {

    .footer-cta__inner {

        flex-direction: column;

        text-align: center;

        padding: 2.5rem 1.5rem;

        gap: 1.5rem;

    }



    .footer-cta__btn {

        width: 100%;

        text-align: center;

        padding: 1rem;

    }



    .footer-cta__stats {

        justify-content: center;

        gap: 1rem;

    }



    .footer-cta__stat-num { font-size: 1.1rem; }

}




.side-menu__profile-title {

    font-size: 0.62rem !important;

    color: #8b5cf6 !important;

    font-weight: 600 !important;

    background: rgba(139,92,246,0.1) !important;

    border: 1px solid rgba(139,92,246,0.2) !important;

    padding: 1px 8px !important;

    border-radius: 20px !important;

    display: inline-block !important;

    margin-top: 3px !important;

}




.sm-profile__title {

    font-size: 0.62rem !important;

    color: #a78bfa !important;

    font-weight: 600 !important;

    background: rgba(167,139,250,0.12) !important;

    border: 1px solid rgba(167,139,250,0.2) !important;

    padding: 2px 8px !important;

    border-radius: 20px !important;

    display: inline-block !important;

    margin-top: 3px !important;

}



.sm-profile__score {

    font-size: 0.65rem !important;

    color: #34d399 !important;

    font-weight: 700 !important;

    margin-top: 2px !important;

}




/* ===== SIDEMENU AUTH BUTTONS ===== */

.sm-nav__auth {

    display: flex;

    flex-direction: column;

    gap: 0.5rem;

    padding: 0.75rem 0;

    margin-bottom: 0.5rem;

    border-bottom: 1px solid rgba(0,0,0,0.06);

}



.sm-nav__auth-login {

    display: flex;

    align-items: center;

    gap: 0.75rem;

    padding: 0.7rem 1rem;

    border-radius: 12px;

    font-size: 0.88rem;

    font-weight: 600;

    color: #0A1628;

    background: rgba(0,0,0,0.04);

    text-decoration: none;

    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);

}



.sm-nav__auth-login:hover {

    background: rgba(255,107,0,0.08);

    color: #FF6B00;

}



.sm-nav__auth-register {

    display: flex;

    align-items: center;

    gap: 0.75rem;

    padding: 0.7rem 1rem;

    border-radius: 12px;

    font-size: 0.88rem;

    font-weight: 700;

    color: white;

    background: linear-gradient(135deg, #FF6B00, #FF8C3A);

    text-decoration: none;

    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);

    box-shadow: 0 4px 12px rgba(255,107,0,0.25);

}



.sm-nav__auth-register:hover {

    transform: translateY(-1px);

    box-shadow: 0 6px 16px rgba(255,107,0,0.35);

    color: white;

}



/* Сдвигаем навигацию чуть ниже */

.sm-nav {

    padding-top: 0.5rem !important;

}



.sm-nav__group-label {

    margin-top: 1rem !important;

}




/* ===== SIDEMENU NAV PUSH DOWN ===== */

.sm-nav {

    padding-top: 1.5rem !important;

}




.sm-nav { padding-top: 3rem !important; }




/* ===== PREMIUM SIDEBAR ANIMATION ===== */



/* Overlay */

.sm-overlay {

    opacity: 0 !important;

    backdrop-filter: blur(0px) !important;

    -webkit-backdrop-filter: blur(0px) !important;

    transition:

        opacity 250ms ease,

        backdrop-filter 250ms ease !important;

    pointer-events: none !important;

}



.sm-overlay.active {

    opacity: 1 !important;

    backdrop-filter: blur(10px) !important;

    -webkit-backdrop-filter: blur(10px) !important;

    pointer-events: all !important;

    background: rgba(8,28,51,0.35) !important;

}



/* Sidebar panel */

.side-menu {

    transform: translateX(-24px) scale(0.98) !important;

    opacity: 0 !important;

    transition:

        transform 420ms cubic-bezier(0.22,1,0.36,1),

        opacity 420ms cubic-bezier(0.22,1,0.36,1) !important;

    background: rgba(255,255,255,0.88) !important;

    backdrop-filter: blur(28px) saturate(180%) !important;

    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;

    border-right: 1px solid rgba(255,255,255,0.45) !important;

    box-shadow: 0 30px 80px rgba(0,0,0,0.12), inset 1px 0 0 rgba(255,255,255,0.6) !important;

    will-change: transform, opacity !important;

}



.side-menu.active {

    transform: translateX(0) scale(1) !important;

    opacity: 1 !important;

}



/* Закрытие быстрее */

.side-menu.closing {

    transform: translateX(-24px) scale(0.98) !important;

    opacity: 0 !important;

    transition:

        transform 220ms cubic-bezier(0.4,0,1,1),

        opacity 200ms ease !important;

}



/* Профиль появляется первым */

.sm-profile {

    opacity: 0;

    transform: translateY(-12px);

    transition:

        opacity 450ms cubic-bezier(0.22,1,0.36,1),

        transform 450ms cubic-bezier(0.22,1,0.36,1);

}



.side-menu.active .sm-profile {

    opacity: 1;

    transform: translateY(0);

    transition-delay: 60ms;

}



/* Пункты меню — каскад */

.sm-link,

.sm-nav__group-label,

.sm-nav__auth-login,

.sm-nav__auth-register {

    opacity: 0;

    transform: translateX(-16px) translateY(4px);

    filter: blur(4px);

    transition:

        opacity 320ms cubic-bezier(0.22,1,0.36,1),

        transform 320ms cubic-bezier(0.22,1,0.36,1),

        filter 320ms cubic-bezier(0.22,1,0.36,1),

        background 200ms ease,

        box-shadow 200ms ease;

}



.side-menu.active .sm-link,

.side-menu.active .sm-nav__group-label,

.side-menu.active .sm-nav__auth-login,

.side-menu.active .sm-nav__auth-register {

    opacity: 1;

    transform: translateX(0) translateY(0);

    filter: blur(0);

}



/* Stagger delays */

.side-menu.active .sm-link:nth-child(1),

.side-menu.active .sm-nav__group-label:nth-child(1) { transition-delay: 80ms; }

.side-menu.active .sm-link:nth-child(2) { transition-delay: 110ms; }

.side-menu.active .sm-link:nth-child(3) { transition-delay: 140ms; }

.side-menu.active .sm-link:nth-child(4) { transition-delay: 170ms; }

.side-menu.active .sm-link:nth-child(5) { transition-delay: 200ms; }

.side-menu.active .sm-link:nth-child(6) { transition-delay: 230ms; }

.side-menu.active .sm-link:nth-child(7) { transition-delay: 260ms; }

.side-menu.active .sm-link:nth-child(8) { transition-delay: 290ms; }

.side-menu.active .sm-link:nth-child(9) { transition-delay: 320ms; }

.side-menu.active .sm-link:nth-child(10) { transition-delay: 350ms; }

.side-menu.active .sm-nav__auth-login { transition-delay: 120ms; }

.side-menu.active .sm-nav__auth-register { transition-delay: 160ms; }



/* Hover — Linear style */

.sm-link:hover {

    transform: translateX(6px) !important;

    background: rgba(255,107,0,0.06) !important;

    filter: blur(0) !important;

}



/* Active link glow */

.sm-link.active {

    background: rgba(255,107,0,0.08) !important;

    border: 1px solid rgba(255,107,0,0.15) !important;

    box-shadow: 0 0 24px rgba(255,107,0,0.18) !important;

    color: #FF6B00 !important;

}



/* Иконки */

.sm-link .lucide {

    transition: transform 300ms cubic-bezier(0.22,1,0.36,1), opacity 300ms ease !important;

}



.side-menu:not(.active) .sm-link .lucide {

    transform: scale(0.9) !important;

    opacity: 0 !important;

}



.side-menu.active .sm-link .lucide {

    transform: scale(1) !important;

    opacity: 1 !important;

}



/* CTA карточка снизу */

.sm-cta {

    opacity: 0;

    transform: translateY(12px);

    transition:

        opacity 400ms cubic-bezier(0.22,1,0.36,1),

        transform 400ms cubic-bezier(0.22,1,0.36,1);

}



.side-menu.active .sm-cta {

    opacity: 1;

    transform: translateY(0);

    transition-delay: 380ms;

}





/* ===== PREMIUM HEADER REDESIGN ===== */



.site-header {

    position: fixed !important;

    top: 0 !important;

    left: 0 !important;

    right: 0 !important;

    z-index: 1000 !important;

    padding: 10px 16px !important;

    background: transparent !important;

    border: none !important;

    box-shadow: none !important;

}



.site-header__inner {

    max-width: 1400px !important;

    margin: 0 auto !important;

    display: flex !important;

    align-items: center !important;

    gap: 0.75rem !important;

    background: rgba(255,255,255,0.82) !important;

    backdrop-filter: blur(24px) saturate(180%) !important;

    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;

    border: 1px solid rgba(255,255,255,0.5) !important;

    border-radius: 20px !important;

    padding: 8px 12px 8px 10px !important;

    box-shadow: 0 4px 24px rgba(8,28,51,0.06), inset 0 1px 0 rgba(255,255,255,0.8) !important;

    transition: box-shadow 0.3s ease, background 0.3s ease !important;

}



.site-header.scrolled .site-header__inner {

    box-shadow: 0 10px 40px rgba(8,28,51,0.12), inset 0 1px 0 rgba(255,255,255,0.8) !important;

    background: rgba(255,255,255,0.92) !important;

}



/* Logo */

.site-logo {

    display: flex !important;

    align-items: center !important;

    gap: 0.6rem !important;

    text-decoration: none !important;

    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1) !important;

}



.site-logo:hover { transform: translateY(-1px) !important; }



.site-logo__img {

    width: 32px !important;

    height: 32px !important;

    border-radius: 8px !important;

}



.site-logo__text {

    font-size: 0.92rem !important;

    font-weight: 900 !important;

    letter-spacing: 0.02em !important;

    color: #081C33 !important;

    line-height: 1 !important;

}



.site-logo__accent { color: #FF6B00 !important; }



.site-logo__sub {

    font-size: 0.56rem !important;

    color: #aaa !important;

    font-weight: 500 !important;

    letter-spacing: 0.06em !important;

    text-transform: uppercase !important;

}



/* Burger */

.burger-btn {

    width: 40px !important;

    height: 40px !important;

    border-radius: 12px !important;

    background: rgba(255,255,255,0.9) !important;

    border: 1px solid rgba(0,0,0,0.07) !important;

    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 5px !important;

    cursor: pointer !important;

    transition: all 0.3s cubic-bezier(0.4,0,0.2,1) !important;

    flex-shrink: 0 !important;

}



.burger-btn:hover {

    transform: translateY(-2px) !important;

    box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important;

    border-color: rgba(255,107,0,0.2) !important;

}



.burger-line {

    display: block !important;

    width: 18px !important;

    height: 1.5px !important;

    background: #081C33 !important;

    border-radius: 2px !important;

    transition: all 0.35s cubic-bezier(0.4,0,0.2,1) !important;

    transform-origin: center !important;

}



.burger-btn.open .burger-line:nth-child(1) {

    transform: translateY(6.5px) rotate(45deg) !important;

}

.burger-btn.open .burger-line:nth-child(2) {

    opacity: 0 !important;

    transform: scaleX(0) !important;

}

.burger-btn.open .burger-line:nth-child(3) {

    transform: translateY(-6.5px) rotate(-45deg) !important;

}



/* Rank capsule */

.header-rank-capsule {

    display: flex !important;

    align-items: center !important;

    gap: 0.5rem !important;

    padding: 6px 12px !important;

    background: rgba(255,107,0,0.06) !important;

    border: 1px solid rgba(255,107,0,0.12) !important;

    border-radius: 50px !important;

    margin-left: auto !important;

    transition: all 0.3s ease !important;

    text-decoration: none !important;

}



.header-rank-capsule:hover {

    background: rgba(255,107,0,0.1) !important;

    transform: translateY(-1px) !important;

}



.header-rank-capsule__info {

    display: flex !important;

    flex-direction: column !important;

    gap: 0 !important;

}



.header-rank-capsule__rank {

    font-size: 0.72rem !important;

    font-weight: 800 !important;

    color: #FF6B00 !important;

    line-height: 1.1 !important;

    letter-spacing: -0.01em !important;

}



.header-rank-capsule__score {

    font-size: 0.6rem !important;

    color: #aaa !important;

    font-weight: 600 !important;

}



.header-rank-capsule__divider {

    width: 1px !important;

    height: 20px !important;

    background: rgba(255,107,0,0.15) !important;

}



.header-rank-capsule__next {

    font-size: 0.6rem !important;

    color: #888 !important;

    font-weight: 500 !important;

    white-space: nowrap !important;

}



/* User capsule */

.header-user-capsule {

    display: flex !important;

    align-items: center !important;

    gap: 0.5rem !important;

    padding: 5px 10px 5px 5px !important;

    background: rgba(255,255,255,0.7) !important;

    border: 1px solid rgba(0,0,0,0.06) !important;

    border-radius: 50px !important;

    text-decoration: none !important;

    transition: all 0.3s cubic-bezier(0.4,0,0.2,1) !important;

}



.header-user-capsule:hover {

    transform: translateY(-2px) !important;

    box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;

    border-color: rgba(255,107,0,0.15) !important;

}



.header-user-capsule__avatar {

    width: 30px !important;

    height: 30px !important;

    border-radius: 50% !important;

    background: linear-gradient(135deg, #FF6B00, #FF8C3A) !important;

    color: white !important;

    font-weight: 800 !important;

    font-size: 0.75rem !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    flex-shrink: 0 !important;

}



.header-user-capsule__name {

    font-size: 0.78rem !important;

    font-weight: 700 !important;

    color: #081C33 !important;

    line-height: 1.1 !important;

}



.header-user-capsule__role {

    font-size: 0.6rem !important;

    color: #FF6B00 !important;

    font-weight: 600 !important;

}



.header-user-capsule__title {

    font-size: 0.58rem !important;

    color: white !important;

    background: #8b5cf6 !important;

    padding: 1px 7px !important;

    border-radius: 20px !important;

    font-weight: 600 !important;

    white-space: nowrap !important;

}



/* Divider */

.header-divider {

    width: 1px !important;

    height: 24px !important;

    background: rgba(0,0,0,0.07) !important;

    flex-shrink: 0 !important;

}



/* Buttons */

.header-btn {

    padding: 8px 16px !important;

    border-radius: 50px !important;

    font-size: 0.8rem !important;

    font-weight: 700 !important;

    text-decoration: none !important;

    transition: all 0.3s cubic-bezier(0.4,0,0.2,1) !important;

    white-space: nowrap !important;

    border: none !important;

    cursor: pointer !important;

    display: inline-flex !important;

    align-items: center !important;

}



.header-btn--ghost {

    color: #555 !important;

    background: transparent !important;

}

.header-btn--ghost:hover {

    color: #081C33 !important;

    background: rgba(0,0,0,0.05) !important;

}



.header-btn--outline {

    color: #081C33 !important;

    background: transparent !important;

    border: 1px solid rgba(0,0,0,0.12) !important;

}

.header-btn--outline:hover {

    border-color: #FF6B00 !important;

    color: #FF6B00 !important;

}



.header-btn--sm {

    padding: 6px 12px !important;

    font-size: 0.72rem !important;

}



.header-btn--primary {

    background: linear-gradient(135deg, #FF7A00, #FF5C00) !important;

    color: white !important;

    box-shadow: 0 4px 16px rgba(255,107,0,0.25) !important;

}

.header-btn--primary:hover {

    transform: translateY(-3px) !important;

    box-shadow: 0 20px 40px rgba(255,107,0,0.35) !important;

    color: white !important;

}



.site-header__right {

    display: flex !important;

    align-items: center !important;

    gap: 0.4rem !important;

    flex-shrink: 0 !important;

}



.site-header__left {

    display: flex !important;

    align-items: center !important;

    gap: 0.6rem !important;

    flex-shrink: 0 !important;

}



/* Mobile */

@media (max-width: 768px) {

    .header-rank-capsule { display: none !important; }
    /* mobile-guest-fit: убрать Войти/Регистрация (есть в бургере), ужать primary */
    .site-header__right .header-btn--ghost,
    .site-header__right .header-btn--outline { display: none !important; }
    .header-btn--primary { flex-shrink: 0 !important; white-space: nowrap !important; }

    .header-user-capsule__title { display: none !important; }

    .header-btn--ghost.header-btn--sm { display: none !important; }

    .header-divider { display: none !important; }

    .site-header { padding: 8px 10px !important; }

    .site-header__inner { padding: 6px 8px 6px 8px !important; border-radius: 16px !important; }

    .header-btn--primary { padding: 7px 12px !important; font-size: 0.75rem !important; }

}




/* ── Header Search ── */

.site-header__search {

  width: 220px;

  flex-shrink: 0;

  margin: 0 0.75rem;

}



.header-search-box {

  display: flex;

  align-items: center;

  gap: 0.4rem;

  padding: 0.4rem 0.85rem;

  background: rgba(0,0,0,0.04);

  border: 1px solid rgba(0,0,0,0.08);

  border-radius: 999px;

  transition: border-color 0.2s, box-shadow 0.2s;

}

.header-search-box:hover {

  border-color: #FF6B00;

  box-shadow: 0 0 0 2px rgba(255,107,0,0.08);

}



.header-search-box__icon {

  width: 13px;

  height: 13px;

  color: #bbb;

  flex-shrink: 0;

}



@media (max-width: 1100px) {

  .site-header__search { display: none; }

}




/* ── Header Search Input ── */

.header-search-box {

  text-decoration: none;

}



.header-search-box__input {

  flex: 1;

  border: none;

  outline: none;

  background: transparent;

  font-size: 0.82rem;

  color: #0A1628;

  min-width: 0;

}

.header-search-box__input::placeholder { color: #aaa; }




/* ── Search pill button ── */

.header-search-btn {

  display: inline-flex;

  align-items: center;

  gap: 0.4rem;

  padding: 0.4rem 0.85rem;

  background: rgba(0,0,0,0.04);

  border: 1px solid rgba(0,0,0,0.1);

  border-radius: 999px;

  text-decoration: none;

  color: #666;

  font-size: 0.8rem;

  font-weight: 500;

  margin-left: auto;
  margin-right: 0.5rem;
  margin-right: 2rem;

  transition: border-color 0.2s, background 0.2s, color 0.2s;

  white-space: nowrap;

}

.header-search-btn:hover {

  border-color: #FF6B00;

  color: #FF6B00;

  background: rgba(255,107,0,0.04);

}

.header-search-btn .lucide {

  width: 14px;

  height: 14px;

}

.header-search-btn__text {

  display: inline;

}



@media (max-width: 900px) {

  .header-search-btn__text { display: none; }

  .header-search-btn { margin-left: 0.5rem; padding: 0.4rem; }

}




/* ── Push search right ── */

.header-rank-capsule {

  margin-right: auto;

}



/* sidemenu-fit-fix */


/* Отступ всего меню от фиксированной шапки (крестик ~60px) */

.side-menu {

  padding-top: 64px !important;

}



/* Профиль: убрать накрученные padding-top, ровный отступ */

.side-menu .sm-profile {

  padding-top: 1rem !important;

  margin-top: 0 !important;

  flex-shrink: 0;

}



/* Навигация: без провала сверху, занимает свободное место и скроллится */

.side-menu .sm-nav {

  padding-top: 0.5rem !important;

  flex: 1 1 auto;

  min-height: 0;

  overflow-y: auto;

}



/* CTA-карточка снизу не сжимается, но и не наезжает на список */

.side-menu .sm-cta {

  flex-shrink: 0;

}



/* search-btn-circle-fix */


@media (max-width: 900px) {

  .header-search-btn {

    width: 40px !important;

    height: 40px !important;

    padding: 0 !important;

    justify-content: center !important;

    border-radius: 50% !important;

    flex-shrink: 0 !important;

    margin-right: 0.5rem !important;

    gap: 0 !important;

  }

}



/* avatar-circle-fix */


@media (max-width: 900px) {

  /* Капсула профиля превращается в чистый круг-аватар */

  .header-user-capsule {

    padding: 0 !important;

    background: transparent !important;

    border: none !important;

    box-shadow: none !important;

    flex-shrink: 0 !important;

  }

  .header-user-capsule__avatar {

    width: 40px !important;

    height: 40px !important;

    border-radius: 50% !important;

    flex-shrink: 0 !important;

    font-size: 1rem !important;

  }

}



/* sm-avatar-noglow */
.sm-profile__avatar { box-shadow: none !important; }



/* === REMOVE HEADER BACKDROP PANEL (keep only the bubble __inner) === */

.site-header {

    background: transparent !important;

    border: none !important;

    border-bottom: none !important;

    -webkit-backdrop-filter: none !important;

    backdrop-filter: none !important;

    box-shadow: none !important;

}

.site-header.scrolled {

    background: transparent !important;

    border-bottom: none !important;

    -webkit-backdrop-filter: none !important;

    backdrop-filter: none !important;

    box-shadow: none !important;

}

/* === /REMOVE HEADER BACKDROP PANEL === */

