/* TeleLive shell: solid header + Kick-like left sidebar (no glass) */

.tl-shell-nav {
    background: #0b0e11 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.tl-shell-nav__bar {
    width: 100%;
    max-width: none;
    min-height: 56px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 520px) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 0;
}

.tl-shell-nav__start {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    justify-self: start;
}

.tl-shell-nav__center {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.tl-shell-nav__center .search-form {
    width: min(520px, 100%);
}

.tl-shell-nav__end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    justify-self: end;
}

.tl-shell-hamburger {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.tl-shell-hamburger:hover {
    background: rgba(255, 255, 255, 0.06);
}

.tl-shell-nav .navbar-brand {
    margin: 0;
}

.tl-shell-nav .navbar-links {
    display: none !important;
}

.tl-shell-avatar-btn {
    width: 36px;
    height: 36px;
    padding: 0 !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: transparent !important;
    overflow: hidden;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.tl-shell-avatar-btn .avatar-sm {
    width: 36px !important;
    height: 36px !important;
    border-radius: 999px;
    display: block;
}

.tl-shell-avatar-btn span,
.tl-shell-avatar-btn .fa-chevron-down {
    display: none !important;
}

.tl-shell-buy-tele {
    gap: 6px !important;
    border-radius: 999px !important;
    background: #18181b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
    transform: none !important;
}

.tl-shell-buy-tele:hover {
    background: #1f1f23 !important;
    transform: none !important;
}

.tl-shell-buy-tele__label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.tl-shell-nav__chip--desk {
    display: inline-flex;
}

@media (max-width: 960px) {
    .tl-shell-nav__bar {
        grid-template-columns: auto 1fr auto;
        padding: 0 10px;
        min-height: 52px;
    }
    .tl-shell-nav__center {
        display: none;
    }
    .tl-shell-buy-tele__label {
        display: none;
    }
    .tl-shell-nav__chip--desk {
        display: none !important;
    }
    .tl-left-sidebar {
        display: none !important;
    }
}

/* Left sidebar — solid, always present on desktop */
.tl-left-sidebar {
    background: #0b0e11 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-left: none;
    top: 56px;
    height: calc(100vh - 56px);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html[dir="rtl"] .tl-left-sidebar {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.tl-left-sidebar--drawer:not(.tl-left-sidebar--has-content) {
    display: flex !important;
}

.tl-sidebar-toggle-btn {
    display: none !important;
}

.tl-sidebar-primary {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 8px 6px;
}

.tl-sidebar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 10px;
    color: #efeff1;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
}

.tl-sidebar-nav i {
    width: 1.15rem;
    text-align: center;
    font-size: 1rem;
    color: #efeff1;
    flex-shrink: 0;
}

.tl-sidebar-nav__label {
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, max-width 0.28s ease;
}

.tl-left-sidebar.is-expanded .tl-sidebar-nav__label {
    opacity: 1;
    max-width: 140px;
}

.tl-sidebar-nav__count {
    margin-inline-start: auto;
    font-size: 0.72rem;
    font-weight: 800;
    color: #a6a6b2;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
}

.tl-left-sidebar.is-expanded .tl-sidebar-nav__count {
    opacity: 1;
    max-width: 48px;
}

.tl-sidebar-nav:hover {
    background: rgba(255, 255, 255, 0.06);
}

.tl-sidebar-nav.is-active {
    background: #1a1a1e;
}

.tl-sidebar-toggle-btn:hover,
.tl-sidebar-toggle-btn:active,
.tl-left-sidebar.is-expanded .tl-sidebar-toggle-btn {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

body.tl-sidebar-expanded .main-content {
    /* content already flexes with sidebar width */
}

@media (min-width: 961px) {
    .tl-shell-nav .mob-menu-btn {
        display: none !important;
    }
}
