/* TeleLive shell — Kick-like solid chrome (overrides theme-apple floating glass) */

/* ---- Header: full-bleed solid bar ---- */
html body .navbar.tl-shell-nav,
html:not([data-theme="lite"]) body .navbar.tl-shell-nav,
html:not([data-theme="lite"]) body:not(.page-stream) .navbar.tl-shell-nav,
html:not([data-theme="lite"]) body.page-stream .navbar.tl-shell-nav {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: #0b0e11 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 10050;
}

html body .navbar.tl-shell-nav::before,
html:not([data-theme="lite"]) body:not(.page-stream) .navbar.tl-shell-nav::before {
    display: none !important;
    content: none !important;
}

html body .tl-shell-nav .navbar-container,
html body .tl-shell-nav .tl-shell-nav__bar,
html:not([data-theme="lite"]) body .tl-shell-nav .navbar-container,
html:not([data-theme="lite"]) body:not(.page-stream) .tl-shell-nav .navbar-container {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
    display: grid !important;
    grid-template-columns: minmax(160px, 1fr) minmax(220px, 560px) minmax(160px, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
}

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

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

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

.tl-shell-hamburger {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #efeff1;
    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 !important;
}

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

/* ---- Search: solid Kick-like field (always visible text) ---- */
html body .tl-shell-nav .search-form,
html:not([data-theme="lite"]) body .tl-shell-nav .search-form,
html body .tl-shell-nav.search-open .search-form,
html:not([data-theme="lite"]) body .tl-shell-nav .navbar-center .search-form {
    width: 100% !important;
    max-width: 420px !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 6px !important;
    background: #141517 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

html body .tl-shell-nav .search-form:focus-within,
html:not([data-theme="lite"]) body .tl-shell-nav .search-form:focus-within {
    border-color: rgba(255, 255, 255, 0.28) !important;
    box-shadow: none !important;
}

html body .tl-shell-nav .search-input,
html:not([data-theme="lite"]) body .tl-shell-nav .search-input,
html:not([data-theme="lite"]) body .tl-shell-nav .search-input:focus,
html body .tl-shell-nav .navbar-center .search-input {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    padding-inline: 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    background: transparent !important;
    color: #efeff1 !important;
    -webkit-text-fill-color: #efeff1 !important;
    caret-color: #efeff1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    font-size: 0.86rem !important;
    transition: none !important;
}

html body .tl-shell-nav .search-input::placeholder {
    color: #8b8b93 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #8b8b93 !important;
}

html body .tl-shell-nav .search-btn,
html:not([data-theme="lite"]) body .tl-shell-nav .search-btn {
    width: 34px !important;
    min-width: 34px !important;
    height: 32px !important;
    border: 0 !important;
    border-radius: 0 6px 6px 0 !important;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: transparent !important;
    color: #a6a6b2 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
}
html[dir="rtl"] body .tl-shell-nav .search-btn {
    border-radius: 6px 0 0 6px !important;
}

html body .tl-shell-nav .search-btn:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

/* ---- Sync-only live counts (never paint) ---- */
.tl-shell-count-sync,
#tlNavLivePill.tl-shell-count-sync,
#tlNavExplorePill.tl-shell-count-sync {
    display: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    pointer-events: none !important;
}

/* ---- Avatar / buy tele ---- */
html body .tl-shell-nav .user-menu-btn.tl-shell-avatar-btn,
html:not([data-theme="lite"]) body .tl-shell-nav .user-menu-btn.tl-shell-avatar-btn,
.tl-shell-avatar-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: #191a1d !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
}

html body .tl-shell-nav .tl-shell-avatar-btn .avatar-sm,
html:not([data-theme="lite"]) body .tl-shell-nav .tl-shell-avatar-btn .avatar-sm,
.tl-shell-avatar-btn .avatar-sm {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 50% !important;
    border: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    aspect-ratio: 1 / 1 !important;
}

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

html body .tl-shell-nav .notification-bell,
html:not([data-theme="lite"]) body .tl-shell-nav .notification-bell {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    border-radius: 6px !important;
    background: #191a1d !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
    transform: none !important;
}

/* First paint: soft pulse on header chips until shell ready */
html:not(.tl-shell-ready) body .tl-shell-nav .notification-bell,
html:not(.tl-shell-ready) body .tl-shell-nav .tl-shell-buy-tele,
html:not(.tl-shell-ready) body .tl-shell-nav .tl-shell-avatar-btn,
html:not(.tl-shell-ready) body .tl-shell-nav .tl-lang-trigger {
    animation: tlShellChipPulse 1.1s ease-in-out infinite;
}
@keyframes tlShellChipPulse {
    0%, 100% { opacity: 0.72; }
    50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    html:not(.tl-shell-ready) body .tl-shell-nav .notification-bell,
    html:not(.tl-shell-ready) body .tl-shell-nav .tl-shell-buy-tele,
    html:not(.tl-shell-ready) body .tl-shell-nav .tl-shell-avatar-btn,
    html:not(.tl-shell-ready) body .tl-shell-nav .tl-lang-trigger {
        animation: none;
    }
}

html body .tl-shell-buy-tele,
html:not([data-theme="lite"]) body .navbar .tl-shell-buy-tele {
    gap: 6px !important;
    height: 34px !important;
    padding: 0 12px !important;
    border-radius: 6px !important;
    background: #191a1d !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
    transform: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html body .tl-shell-buy-tele:hover {
    background: #222327 !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;
}

/* ---- Sidebar: flush under header, no floating glass ---- */
html body .tl-left-sidebar,
html:not([data-theme="lite"]) body .tl-left-sidebar,
html:not([data-theme="lite"]) body .tl-left-sidebar.is-expanded,
html:not([data-theme="lite"]) body .tl-left-sidebar--drawer.is-expanded {
    margin: 0 !important;
    margin-inline-end: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: #0b0e11 !important;
    background-color: #0b0e11 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    top: 56px !important;
    height: calc(100vh - 56px) !important;
    /* Opaque paint while list scrolls under sticky section headers */
    isolation: isolate;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
html body .tl-left-sidebar::-webkit-scrollbar,
html body .tl-left-sidebar .tl-sidebar-inner::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

/* Flush page content to sidebar edge — inset lives on .container, not a hollow gutter */
@media (min-width: 769px) {
    html body .main-content > .tl-page-content,
    html body.tl-sidebar-expanded .main-content > .tl-page-content {
        padding-inline: 0 !important;
        box-sizing: border-box;
        background-color: #0b0e11;
    }
    html body .tl-page-content .container {
        padding-inline: 18px;
        box-sizing: border-box;
    }
}

html[dir="rtl"] body .tl-left-sidebar {
    border-inline-end: none !important;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.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: 4px;
    padding: 12px 8px 10px;
}

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

.tl-sidebar-nav--btn,
html:not([data-theme="lite"]) body .tl-left-sidebar .tl-sidebar-nav.tl-wheel-nav-btn,
html:not([data-theme="lite"]) body .tl-left-sidebar .tl-sidebar-nav.tl-pass-nav-btn,
html:not([data-theme="lite"]) body .tl-left-sidebar .tl-sidebar-nav.tl-mem-nav-btn,
html body .tl-left-sidebar .tl-sidebar-nav.tl-wheel-nav-btn,
html body .tl-left-sidebar .tl-sidebar-nav.tl-pass-nav-btn,
html body .tl-left-sidebar .tl-sidebar-nav.tl-mem-nav-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 44px !important;
    border: none !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    font: inherit;
    text-align: start;
    padding: 0 10px !important;
    justify-content: flex-start !important;
}

.tl-sidebar-sep--tools {
    height: 1px;
    margin: 8px 10px;
    background: rgba(255, 255, 255, 0.08);
}

.tl-sidebar-nav .tl-pass-nav-ticket {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.tl-sidebar-nav .tl-mem-nav-dot {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1e56f5;
}

.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.15s ease, max-width 0.2s ease;
}

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

.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-sidebar-nav__count[hidden] {
    display: none !important;
}

.tl-left-sidebar.is-expanded .tl-sidebar-nav__count:not([hidden]) {
    opacity: 1;
    max-width: 48px;
}

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

.tl-sidebar-nav.is-active {
    background: rgba(255, 255, 255, 0.08);
}

/* Collapsed rail: compact icon buttons, subtle active (Kick-like) */
html body .tl-left-sidebar.is-collapsed .tl-sidebar-primary {
    align-items: center !important;
    gap: 4px !important;
    padding: 10px 6px 8px !important;
}
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav,
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav--btn,
html body .tl-left-sidebar.is-collapsed a.tl-sidebar-nav,
html body .tl-left-sidebar.is-collapsed button.tl-sidebar-nav,
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav.tl-wheel-nav-btn,
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav.tl-pass-nav-btn,
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav.tl-mem-nav-btn,
html body .tl-left-sidebar.is-collapsed a.tl-mem-nav-btn,
html:not([data-theme="lite"]) body .tl-left-sidebar.is-collapsed .tl-sidebar-nav.tl-wheel-nav-btn,
html:not([data-theme="lite"]) body .tl-left-sidebar.is-collapsed .tl-sidebar-nav.tl-pass-nav-btn,
html:not([data-theme="lite"]) body .tl-left-sidebar.is-collapsed .tl-sidebar-nav.tl-mem-nav-btn,
html:not([data-theme="lite"]) body .tl-left-sidebar.is-collapsed a.tl-mem-nav-btn {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    border: none !important;
    border-radius: 10px !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    transform: none !important;
    animation: none !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav:hover,
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav--btn:hover,
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav.tl-wheel-nav-btn:hover,
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav.tl-pass-nav-btn:hover,
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav.tl-mem-nav-btn:hover,
html body .tl-left-sidebar.is-collapsed a.tl-mem-nav-btn:hover,
html:not([data-theme="lite"]) body .tl-left-sidebar.is-collapsed .tl-sidebar-nav:hover,
html:not([data-theme="lite"]) body .tl-left-sidebar.is-collapsed .tl-mem-nav-btn:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav.is-active,
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav.is-active:hover,
html body .tl-left-sidebar.is-collapsed a.tl-mem-nav-btn.is-active,
html body .tl-left-sidebar.is-collapsed a.tl-mem-nav-btn.is-active:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav i,
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav .tl-pass-nav-ticket {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav__label,
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav__count {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body .tl-left-sidebar.is-collapsed .tl-sidebar-nav .tl-mem-nav-dot {
    top: 6px !important;
    inset-inline-end: 6px !important;
    animation: none !important;
}
html body .tl-left-sidebar.is-collapsed .tl-sidebar-sep--tools {
    margin: 8px 10px !important;
}
html body .tl-left-sidebar.is-collapsed .tl-sidebar-hd--follow {
    width: 40px !important;
    min-width: 40px !important;
    margin: 4px auto 2px !important;
    padding: 0 !important;
    justify-content: center !important;
    gap: 0 !important;
    border-bottom: none !important;
    background: transparent !important;
}
html body .tl-left-sidebar.is-collapsed .tl-sidebar-hd--follow > i.fa-heart {
    display: none !important;
}
html body .tl-left-sidebar.is-collapsed .tl-sidebar-more-btn--hd {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 10px !important;
    border: none !important;
    background: transparent !important;
    color: #c8c8d0 !important;
}
html body .tl-left-sidebar.is-collapsed .tl-sidebar-more-btn--hd:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    color: #fff !important;
}
html body .tl-left-sidebar.is-collapsed .tl-sidebar-item {
    width: 40px !important;
    min-width: 40px !important;
    margin-inline: auto !important;
    padding: 4px !important;
    justify-content: center !important;
    border-radius: 10px !important;
    transform: none !important;
}
html body .tl-left-sidebar.is-collapsed .tl-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    transform: none !important;
}

.tl-sidebar-item {
    border-radius: 6px !important;
}

/* ---- Sidebar lists + show-more (icon only) ---- */
html body .tl-left-sidebar .tl-sidebar-inner {
    padding: 0 6px 16px !important;
    background: #0b0e11 !important;
    background-color: #0b0e11 !important;
}
html body .tl-left-sidebar .tl-sidebar-sep {
    height: 1px !important;
    margin: 10px 8px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 0 !important;
}
html body .tl-left-sidebar .tl-sidebar-hd,
html body .tl-left-sidebar .tl-sidebar-hd--follow {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 32px !important;
    padding: 10px 10px 8px !important;
    color: #8b8b93 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 4 !important;
    /* Solid — never inherit (parent .tl-sidebar-inner used to leave this transparent) */
    background: #0b0e11 !important;
    background-color: #0b0e11 !important;
}
html body .tl-left-sidebar .tl-sidebar-hd-label {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    color: #8b8b93 !important;
}
html body .tl-left-sidebar .tl-sidebar-hd > i {
    font-size: 0.72rem !important;
    opacity: 0.85 !important;
}
html body .tl-left-sidebar .tl-sidebar-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 48px !important;
    padding: 8px 10px !important;
    margin: 3px 4px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: #efeff1 !important;
    background: #0b0e11 !important;
    background-color: #0b0e11 !important;
}
html body .tl-left-sidebar.is-expanded .tl-sidebar-meta {
    opacity: 1 !important;
}
html body .tl-left-sidebar .tl-sidebar-extra {
    display: none !important;
}
html body .tl-left-sidebar .tl-sidebar-extra.is-shown {
    display: flex !important;
    background: #0b0e11 !important;
}
html body .tl-left-sidebar .tl-sidebar-item:hover {
    background: #15181c !important;
}
html body .tl-left-sidebar .tl-sidebar-av-wrap {
    width: 30px !important;
    height: 30px !important;
    flex-shrink: 0 !important;
}
html body .tl-left-sidebar .tl-sidebar-av-wrap img {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}
html body .tl-left-sidebar .tl-sidebar-uname {
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: #efeff1 !important;
}
html body .tl-left-sidebar .tl-sidebar-sub {
    font-size: 0.72rem !important;
    color: #8b8b93 !important;
}
html body .tl-left-sidebar .tl-sidebar-more-btn--hd {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    padding: 0 !important;
    margin-inline-start: auto !important;
    border-radius: 6px !important;
    background: #191a1d !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #c8c8d0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
}
html body .tl-left-sidebar .tl-sidebar-more-btn--hd:hover {
    background: #222327 !important;
    color: #fff !important;
}
html body .tl-left-sidebar .tl-sidebar-more-btn__txt {
    display: none !important;
}

/* ---- Sidebar live hover card ---- */
html body .tl-sidebar-hover-card,
html:not([data-theme="lite"]) body .tl-sidebar-hover-card {
    width: 288px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: #121316 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: hidden !important;
}
html body .tl-sidebar-hover-card__thumb {
    background: #0b0e11 !important;
}
html body .tl-sidebar-hover-card__live {
    top: 8px !important;
    inset-inline-start: 8px !important;
    padding: 3px 7px !important;
    border-radius: 4px !important;
    background: #e91916 !important;
    font-size: 0.66rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
}
html body .tl-sidebar-hover-card__views {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    bottom: 8px !important;
    inset-inline-start: 8px !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    background: rgba(0, 0, 0, 0.78) !important;
    color: #fff !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    font-variant-numeric: tabular-nums !important;
}
html body .tl-sidebar-hover-card__views i {
    font-size: 0.72rem !important;
    opacity: 0.95 !important;
}
html body .tl-sidebar-hover-card__body {
    padding: 10px 12px 12px !important;
    background: #121316 !important;
}
html body .tl-sidebar-hover-card__user {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #a6a6b2 !important;
    margin-bottom: 4px !important;
}
html body .tl-sidebar-hover-card__title {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1.35 !important;
}

/* ---- Header dropdowns: solid shell (no glass) ---- */
html body .tl-shell-nav .notification-dropdown,
html:not([data-theme="lite"]) body .tl-shell-nav .notification-dropdown {
    width: min(360px, calc(100vw - 24px)) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: #121316 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: hidden !important;
    z-index: 10080 !important;
}

html body .tl-shell-nav .notification-header,
html:not([data-theme="lite"]) body .tl-shell-nav .notification-header {
    background: #16171a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 12px 14px !important;
}

html body .tl-shell-nav .user-dropdown,
html:not([data-theme="lite"]) body .tl-shell-nav .user-dropdown {
    width: 240px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: #121316 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 6px !important;
    overflow: hidden !important;
    z-index: 10080 !important;
}

html body .tl-shell-nav .user-dropdown .dropdown-item,
html:not([data-theme="lite"]) body .tl-shell-nav .user-dropdown .dropdown-item {
    border-radius: 6px !important;
    padding: 9px 10px !important;
    color: #efeff1 !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
}

html body .tl-shell-nav .user-dropdown .dropdown-item:hover,
html:not([data-theme="lite"]) body .tl-shell-nav .user-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

html body .tl-shell-nav .user-dropdown .dropdown-divider,
html:not([data-theme="lite"]) body .tl-shell-nav .user-dropdown .dropdown-divider {
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin: 6px 4px !important;
    opacity: 1 !important;
}

html body .tl-shell-nav .tele-dropdown,
html body .tl-shell-nav .tele-pill .tele-dropdown {
    display: none !important;
}

/* Buy Tele shop dropdown — match notif/profile solid panel */
html body .tl-shell-nav .tele-menu {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    overflow: visible !important;
}
html body .tl-shell-nav .tlw-shop-dd,
html:not([data-theme="lite"]) body .tl-shell-nav .tlw-shop-dd {
    z-index: 10080 !important;
    width: min(560px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 12px) !important;
}
html[dir="rtl"] body .tl-shell-nav .tele-menu .tlw-shop-dd {
    left: 0;
    right: auto;
    inset-inline-end: auto;
    inset-inline-start: 0;
}
@media (max-width: 1024px) {
    html body .tl-shell-nav .tele-menu .tlw-shop-dd,
    html:not([data-theme="lite"]) body .tl-shell-nav .tele-menu .tlw-shop-dd,
    html[dir="rtl"] body .tl-shell-nav .tele-menu .tlw-shop-dd {
        position: fixed !important;
        right: auto !important;
        inset-inline-end: auto !important;
        inset-inline-start: auto !important;
        width: min(420px, calc(100vw - 32px)) !important;
        max-width: calc(100vw - 24px) !important;
        transform: none !important;
        z-index: 45002 !important;
    }
}
html body .tl-shell-nav .tlw-shop-dd .tlw-shop-box,
html:not([data-theme="lite"]) body .tl-shell-nav .tlw-shop-dd .tlw-shop-box {
    border-radius: 6px !important;
    border: 1px solid rgba(30, 86, 245, 0.28) !important;
    background:
        linear-gradient(180deg, rgba(30, 86, 245, 0.14) 0%, transparent 48px),
        #0e0f12 !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 18px 48px rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* ---- Search results dropdown (solid shell) ---- */
html body .tl-shell-nav .search-form {
    position: relative !important;
}
html body .tl-shell-nav .search-results,
html:not([data-theme="lite"]) body .tl-shell-nav .search-results {
    top: calc(100% + 6px) !important;
    inset-inline: 0 !important;
    width: 100% !important;
    max-height: min(420px, 70vh) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: #121316 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: auto !important;
    z-index: 10090 !important;
    padding: 6px !important;
}
html body .tl-shell-nav .search-result-item,
html:not([data-theme="lite"]) body .tl-shell-nav .search-result-item {
    grid-template-columns: 40px 1fr !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    border-radius: 6px !important;
    border-bottom: none !important;
    align-items: center !important;
    text-decoration: none !important;
    color: inherit !important;
}
html body .tl-shell-nav .search-result-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}
html body .tl-shell-nav .search-result-thumb {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    background: #1a1b1f !important;
}
html body .tl-shell-nav .search-result-title {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #fff !important;
}
html body .tl-shell-nav .search-result-sub {
    font-size: 0.78rem !important;
    color: #8b8b93 !important;
}

.tl-shell-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

html body .tl-shell-nav button.tele-pill.tl-shell-buy-tele {
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.mob-drawer-item:has(.mob-drawer-item__sub) {
    flex-wrap: wrap;
    align-items: center;
}
.mob-drawer-item__sub {
    display: block;
    flex: 1 1 100%;
    width: auto;
    margin-top: 2px;
    margin-inline-start: 0;
    padding-inline-start: 34px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #8b8b93;
    box-sizing: border-box;
}
[dir="rtl"] .mob-drawer-item__sub {
    padding-inline-start: 0;
    padding-inline-end: 34px;
}

/* Drawer rows: undo circular header chip styles on full-width items */
.mob-drawer .mob-drawer-item.tl-wheel-nav-btn,
.mob-drawer .mob-drawer-item.tl-pass-nav-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 13px 20px !important;
    border-radius: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    justify-content: flex-start;
    gap: 12px;
    overflow: visible;
    position: static;
}
[dir="rtl"] .mob-drawer .mob-drawer-item.tl-wheel-nav-btn,
[dir="rtl"] .mob-drawer .mob-drawer-item.tl-pass-nav-btn {
    flex-direction: row-reverse;
    justify-content: flex-start;
}
.mob-drawer .mob-drawer-item.tl-pass-nav-btn::after {
    display: none !important;
    content: none !important;
}
.mob-drawer .mob-drawer-item.tl-pass-nav-btn .tl-pass-nav-ticket {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}
.mob-drawer .mob-drawer-item.tl-wheel-nav-btn i.tl-wheel-rgb-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem !important;
    line-height: 1;
    animation: tl-wheel-rgb-shift 4s linear infinite;
    transform: none !important;
    overflow: hidden;
}
.mob-drawer .mob-drawer-item.tl-wheel-nav-btn:hover i.tl-wheel-rgb-icon {
    animation: tl-wheel-rgb-shift 2s linear infinite;
}

@media (max-width: 960px) {
    /* Specificity must beat desktop
       html:not([data-theme=lite]) body:not(.page-stream) .tl-shell-nav .navbar-container */
    html body .navbar.tl-shell-nav,
    html:not([data-theme="lite"]) body .navbar.tl-shell-nav,
    html:not([data-theme="lite"]) body:not(.page-stream) .navbar.tl-shell-nav {
        max-width: 100% !important;
        overflow-x: clip !important;
    }
    html body .tl-shell-nav .navbar-container.tl-shell-nav__bar,
    html body .tl-shell-nav .tl-shell-nav__bar,
    html:not([data-theme="lite"]) body .tl-shell-nav .navbar-container,
    html:not([data-theme="lite"]) body .tl-shell-nav .navbar-container.tl-shell-nav__bar,
    html:not([data-theme="lite"]) body:not(.page-stream) .tl-shell-nav .navbar-container,
    html:not([data-theme="lite"]) body:not(.page-stream) .tl-shell-nav .navbar-container.tl-shell-nav__bar,
    html:not([data-theme="lite"]) body:not(.page-stream) .tl-shell-nav .tl-shell-nav__bar {
        grid-template-columns: minmax(0, 1fr) minmax(0, auto) !important;
        grid-template-areas: "tlStart tlEnd" !important;
        padding: 0 8px !important;
        min-height: 52px !important;
        gap: 6px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: clip !important;
    }
    .tl-shell-nav__start {
        grid-area: tlStart;
        gap: 6px;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }
    .tl-shell-nav__end {
        grid-area: tlEnd;
        min-width: 0;
        max-width: 100%;
        justify-self: end;
        overflow: visible;
    }
    .tl-shell-nav__center {
        grid-column: 1 / -1;
    }
    .tl-shell-nav__start .navbar-brand {
        min-width: 0;
        overflow: hidden;
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
    }
    .tl-shell-nav__start .navbar-brand-fa-text,
    .tl-shell-nav__start .navbar-brand span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* Phones: full TeleLive wordmark by default (compact only ≤360 — see below) */
    .tl-shell-nav__start .navbar-brand--wordmark .navbar-logo-wordmark {
        display: block !important;
        height: 28px !important;
        max-width: min(140px, 42vw) !important;
    }
    .tl-shell-nav__start .navbar-brand--wordmark .navbar-logo-img--compact {
        display: none !important;
    }
    .tl-shell-nav__start .navbar-logo-img {
        width: 28px !important;
        height: 28px !important;
        flex-shrink: 0 !important;
        display: inline-block !important;
    }
    .tl-shell-nav__end {
        gap: 5px;
        flex-shrink: 1;
        flex-wrap: nowrap;
        max-width: calc(100vw - 56px);
        overflow: visible;
    }
    html body .tl-shell-nav .tl-shell-buy-tele {
        padding: 0 8px !important;
        gap: 4px !important;
        min-width: 0;
        max-width: none;
        flex-shrink: 0;
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), margin 0.28s ease;
    }
    html body .tl-shell-nav .tl-shell-buy-tele .tele-pill-amount,
    html body .tl-shell-nav .tele-pill .tele-pill-amount {
        font-size: 0.78rem !important;
        font-variant-numeric: tabular-nums;
        max-width: none !important;
        min-width: 0 !important;
        width: auto !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap !important;
        opacity: 1 !important;
    }
    html body .tl-shell-nav .mob-hdr-btn,
    html body .tl-shell-nav .mob-search-btn,
    html body .tl-shell-nav .notification-bell {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        border-radius: 6px !important;
        flex-shrink: 0;
    }
    .tl-shell-nav__end .mob-search-btn { order: 1; }
    .tl-shell-nav__end .notification-bell { order: 2; }
    .tl-shell-nav__end .tele-menu { order: 0; }
    .tl-shell-nav__end .tl-guest-nav-controls { order: 3; flex-shrink: 0; }
    .tl-shell-nav__end .tl-guest-auth-btn {
        font-size: 0.72rem;
        padding: 6px 10px;
        white-space: nowrap;
    }
    .tl-shell-buy-tele__label {
        display: none;
    }
    .tl-shell-nav__chip--desk {
        display: none !important;
    }
    .tl-left-sidebar {
        display: none !important;
    }
    html body .tl-shell-nav .user-menu {
        display: none !important;
    }

    /* Mobile search: expand below; keep Tele+search+bell grouped on the right */
    html body .navbar.tl-shell-nav:not(.mob-search-open) .tl-shell-nav__center {
        display: none !important;
    }
    html body .navbar.tl-shell-nav.mob-search-open .tl-shell-nav__bar {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        row-gap: 6px !important;
    }
    html body .navbar.tl-shell-nav.mob-search-open .tl-shell-nav__start {
        flex: 0 1 auto;
    }
    html body .navbar.tl-shell-nav.mob-search-open .tl-shell-nav__end,
    html:not([data-theme="lite"]) body .navbar.tl-shell-nav.mob-search-open > .tl-shell-nav__bar > .tl-shell-nav__end {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        margin-inline-start: auto !important;
        flex: 0 0 auto !important;
        max-width: none !important;
    }
    /* Keep visual order: Tele → Search → Bell (do not reset to DOM order) */
    html body .navbar.tl-shell-nav.mob-search-open .tele-menu,
    html:not([data-theme="lite"]) body .navbar.tl-shell-nav.mob-search-open .tele-menu {
        order: 0 !important;
        margin-inline-end: 0 !important;
        margin-inline-start: 0 !important;
    }
    html body .navbar.tl-shell-nav.mob-search-open .mob-search-btn,
    html:not([data-theme="lite"]) body .navbar.tl-shell-nav.mob-search-open .mob-search-btn,
    html:not([data-theme="lite"]) body .navbar.tl-shell-nav.mob-search-open:not(:has(.tl-nav-header-chips)) .mob-search-btn {
        order: 1 !important;
        margin-inline-end: 0 !important;
        margin-inline-start: 0 !important;
    }
    html body .navbar.tl-shell-nav.mob-search-open .notification-bell,
    html:not([data-theme="lite"]) body .navbar.tl-shell-nav.mob-search-open .notification-bell {
        order: 2 !important;
        margin-inline-end: 0 !important;
        margin-inline-start: 0 !important;
    }
    html body .navbar.tl-shell-nav.mob-search-open .tl-shell-nav__center,
    html:not([data-theme="lite"]) body .navbar.tl-shell-nav.mob-search-open .tl-shell-nav__center {
        display: flex !important;
        order: 20 !important;
        flex: 1 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        max-height: none !important;
        height: auto !important;
        opacity: 1 !important;
        overflow: visible !important;
        visibility: visible !important;
        pointer-events: auto !important;
        padding: 0 0 4px !important;
        margin: 0 !important;
    }
    html body .navbar.tl-shell-nav.mob-search-open .tl-shell-nav__center .search-form {
        width: 100% !important;
        max-width: none !important;
        height: 40px !important;
        min-height: 40px !important;
        margin: 0 !important;
        animation: tlMobSearchIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    html body .navbar.tl-shell-nav.mob-search-open .search-input {
        width: auto !important;
        flex: 1 1 auto !important;
        min-width: 0;
        opacity: 1 !important;
        padding: 10px 12px !important;
    }
    html body .navbar.tl-shell-nav.mob-search-open .search-results.active {
        display: block !important;
        z-index: 10080;
        max-height: min(60vh, 420px);
        overflow: auto;
    }
    html body .navbar.tl-shell-nav.mob-search-open:not(:has(.tl-nav-header-chips)) .mob-search-btn {
        margin-inline-start: 0 !important;
    }

    /* Sticky shell header already occupies flow — kill old floating-nav clearance gap */
    html body:not(.page-stream) .main-content,
    html body.tl-shell-ready:not(.page-stream) .main-content {
        padding-top: 0 !important;
    }
}

@keyframes tlMobSearchIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 420px) {
    html body .tl-shell-nav .tl-shell-buy-tele {
        max-width: none !important;
        min-width: 0 !important;
        padding: 0 7px !important;
        justify-content: center !important;
    }
    html body .tl-shell-nav .tl-shell-buy-tele .tele-pill-amount,
    html body .tl-shell-nav .tele-pill .tele-pill-amount {
        display: inline !important;
        font-size: 0.72rem !important;
        max-width: none !important;
        opacity: 1 !important;
    }
    html body,
    html body .navbar.tl-shell-nav {
        overflow-x: clip !important;
    }
}

@media (max-width: 360px) {
    /* Ultra-narrow: icon-only brand */
    .tl-shell-nav__start .navbar-brand--wordmark .navbar-logo-wordmark {
        display: none !important;
    }
    .tl-shell-nav__start .navbar-brand--wordmark .navbar-logo-img--compact {
        display: block !important;
        position: static !important;
        top: 0 !important;
        width: 28px !important;
        height: 28px !important;
        flex-shrink: 0 !important;
    }
    .tl-shell-nav__start .navbar-brand-fa-text,
    .navbar-brand-fa-text,
    .tl-shell-nav__start .navbar-brand span {
        display: none !important;
    }
}

@media (max-width: 380px) {
    html body .tl-shell-nav .tl-shell-nav__bar {
        padding: 0 6px !important;
        gap: 4px !important;
    }
    .tl-shell-nav__end {
        gap: 3px !important;
    }
    html body .tl-shell-nav .mob-hdr-btn,
    html body .tl-shell-nav .notification-bell {
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
    }
    html body .tl-shell-nav .tl-shell-buy-tele {
        max-width: none;
        padding: 0 6px !important;
    }
    html body .tl-shell-nav .tl-shell-buy-tele .tele-pill-amount {
        font-size: 0.68rem;
    }
}

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

/* ── Site footer (home + explore): solid, flush to sidebar, Kick-like columns ── */
/* Flush to left sidebar: footer lives inside .tl-page-content */
html body .tl-page-content.has-sidebar {
    display: flex !important;
    flex-direction: column !important;
    min-height: calc(100vh - 56px) !important;
}
html body .tl-page-content.has-sidebar > .site-footer.site-footer--shell {
    margin-top: auto !important;
}
html body .site-footer.site-footer--shell {
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 28px 18px 18px !important;
    padding-inline: 18px !important;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    background: #0b0e11 !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}
html body .site-footer.site-footer--shell .site-footer-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
html body .site-footer.site-footer--shell .site-footer-grid {
    display: grid;
    grid-template-columns: minmax(200px, 1.35fr) repeat(3, minmax(140px, 1fr));
    gap: 28px 36px;
    align-items: start;
}

/* Footer skeleton — matches shell footer columns */
html body .tl-sk-mount--footer {
    width: 100%;
}
html body .tl-sk-mount--footer:not(.is-loaded) .tl-sk-real {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    visibility: hidden;
    pointer-events: none;
}
html body .tl-sk-mount--footer:not(.is-loaded) .tl-sk-layer {
    position: relative;
    inset: auto;
}
html body .tl-sk-mount--footer.is-loaded .tl-sk-real {
    position: relative;
    visibility: visible;
    pointer-events: auto;
}
html body .tl-sk-footer-layer {
    padding: 36px 18px 28px;
    background: #0b0e11;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
html body .tl-sk-footer-grid {
    display: grid;
    grid-template-columns: minmax(200px, 1.35fr) repeat(3, minmax(140px, 1fr));
    gap: 28px 36px;
    max-width: 1280px;
    margin: 0 auto;
}
html body .tl-sk-footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
html body .tl-sk-footer-brand,
html body .tl-sk-footer-line,
html body .tl-sk-footer-chips,
html body .tl-sk-footer-btn {
    display: block;
    border-radius: 6px;
    background: #15181c;
    position: relative;
    overflow: hidden;
}
html body .tl-sk-footer-brand { width: 140px; height: 28px; }
html body .tl-sk-footer-line { width: 88%; height: 10px; }
html body .tl-sk-footer-line--short { width: 52%; }
html body .tl-sk-footer-line--title { width: 40%; height: 12px; margin-bottom: 4px; }
html body .tl-sk-footer-chips { width: 120px; height: 36px; border-radius: 8px; }
html body .tl-sk-footer-btn { width: 150px; height: 40px; border-radius: 8px; margin-top: 4px; }
html body .tl-sk-footer-brand::after,
html body .tl-sk-footer-line::after,
html body .tl-sk-footer-chips::after,
html body .tl-sk-footer-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.06) 50%, transparent 62%);
    animation: tl-stream-sk-shimmer 1.35s ease-in-out infinite;
}
@media (max-width: 900px) {
    html body .tl-sk-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    html body .tl-sk-footer-grid {
        grid-template-columns: 1fr;
    }
}
html body .site-footer.site-footer--shell .site-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    margin-bottom: 12px;
}
html body .site-footer.site-footer--shell .site-footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}
html body .site-footer.site-footer--shell .site-footer-brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}
html body .site-footer.site-footer--shell .site-footer-brand-name span {
    color: #6b9fff;
}
html body .site-footer.site-footer--shell .site-footer-version {
    font-size: 0.68rem;
    font-weight: 700;
    color: #8b8b93;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #15181c;
}
html body .site-footer.site-footer--shell .site-footer-tagline {
    margin: 0 0 14px;
    max-width: 36ch;
    font-size: 0.84rem;
    line-height: 1.55;
    color: #8b8b93;
}
html body .site-footer.site-footer--shell .site-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}
html body .site-footer.site-footer--shell .site-footer-social-ico {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #15181c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #efeff1;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
html body .site-footer.site-footer--shell .site-footer-social-ico:hover {
    background: #1a1d22;
    border-color: rgba(107, 159, 255, 0.35);
    color: #fff;
}
html body .site-footer.site-footer--shell .site-footer-social-ico--soon {
    opacity: 0.45;
    cursor: default;
}
html body .site-footer.site-footer--shell .site-footer-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}
html body .site-footer.site-footer--shell .site-footer-metric {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
html body .site-footer.site-footer--shell .site-footer-metric + .site-footer-metric::before {
    display: none !important;
}
html body .site-footer.site-footer--shell .site-footer-metric__icon {
    display: none;
}
html body .site-footer.site-footer--shell .site-footer-metric__value {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
html body .site-footer.site-footer--shell .site-footer-metric__label {
    display: block;
    margin-top: 2px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #8b8b93;
}
html body .site-footer.site-footer--shell .site-footer-heading {
    margin: 0 0 12px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.01em;
}
html body .site-footer.site-footer--shell .site-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
html body .site-footer.site-footer--shell .site-footer-links a {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    color: #a6a6b2;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.35;
    padding: 0;
    background: none;
    border: none;
    transition: color 0.15s ease;
}
html body .site-footer.site-footer--shell .site-footer-links a:hover {
    color: #fff;
    transform: none;
}
html body .site-footer.site-footer--shell .site-footer-links a i {
    display: none;
}
html body .site-footer.site-footer--shell .site-footer-lbl {
    font-size: 0.68rem;
    font-weight: 700;
    color: #6f6f78;
    margin: 0;
}
html body .site-footer.site-footer--shell .site-footer-apps__btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
html body .site-footer.site-footer--shell .site-footer-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-width: 0;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #15181c;
    color: #efeff1;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: none;
}
html body .site-footer.site-footer--shell .site-footer-app-btn:hover {
    background: #1a1d22;
    border-color: rgba(107, 159, 255, 0.35);
    color: #fff;
    transform: none;
}
html body .site-footer.site-footer--shell .site-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
html body .site-footer.site-footer--shell .site-footer-copy {
    margin: 0;
    font-size: 0.78rem;
    color: #8b8b93;
}
html body .site-footer.site-footer--shell .site-footer-trust {
    opacity: 0.9;
}

@media (max-width: 960px) {
    html body .site-footer.site-footer--shell {
        padding: 28px 16px 20px !important;
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    }
    html body .site-footer.site-footer--shell .site-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px 20px;
    }
}
@media (max-width: 560px) {
    html body .site-footer.site-footer--shell .site-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Surface toggle (flat ↔ glass) */
button.tl-surface-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font: inherit;
  text-align: inherit;
  color: inherit;
  background: transparent;
  border: 0;
}
button.tl-surface-toggle.is-glass {
  color: #93c5fd;
}
