.toc-app-shell {
    min-height: 100vh;
    background: var(--toc-bg);
    color: var(--toc-text);
    display: flex;
    flex-direction: column
}

.toc-app-shell__main {
    flex: 1 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px 16px;
    box-sizing: border-box
}

.toc-top-bar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--toc-bg)
}

.toc-top-bar__inner {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box
}

.toc-top-bar__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0
}

.toc-top-bar__logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block
}

.toc-top-bar__brand {
    color: var(--toc-accent);
    font-weight: 800;
    font-size: 15px;
    white-space: nowrap
}

.toc-top-bar__tabs {
    display: none;
    align-items: center;
    gap: 0;
    min-width: 0;
    flex-shrink: 0
}

.toc-top-bar__tab {
    color: var(--toc-text-muted);
    font-size: 17px;
    font-weight: 600;
    padding: 6px 10px;
    white-space: nowrap
}

.toc-top-bar__tab--active {
    color: var(--toc-accent)
}

.toc-top-bar__search {
    display: none;
    flex: 1 1;
    min-width: 0;
    height: 34px;
    padding: 0 12px;
    align-items: center;
    border-radius: 999px;
    border: 1px solid var(--toc-border);
    background: var(--toc-bg-elevated);
    color: var(--toc-text-muted);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.toc-top-bar__search--responsive {
    display: flex
}

.toc-top-bar__recharge {
    display: none;
    flex-shrink: 0;
    height: 34px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--toc-accent);
    color: var(--toc-accent-ink);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap
}

.toc-bottom-tab-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    height: var(--toc-tab-height);
    background: rgba(11, 11, 15, .96);
    border-top: 1px solid var(--toc-border)
}

.toc-bottom-tab-bar__item {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--toc-text-muted);
    min-width: 0
}

.toc-bottom-tab-bar__item--active {
    color: var(--toc-accent)
}

.toc-bottom-tab-bar__icon {
    font-size: 18px;
    line-height: 1
}

.toc-bottom-tab-bar__label {
    font-size: 11px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    padding: 0 2px
}

@media (min-width: 900px) {
    .toc-top-bar__search, .toc-top-bar__tabs {
        display: flex
    }

    .toc-top-bar__recharge {
        display: inline-flex
    }

    .toc-bottom-tab-bar {
        display: none
    }

    .toc-app-shell__main {
        padding-bottom: 24px
    }
}

@media (min-width: 900px) and (max-width: 1000px) {
    .toc-top-bar__tab {
        font-size: 12px;
        padding: 6px
    }
}

.toc-immersive-shell {
    min-height: 100vh;
    background: var(--toc-bg);
    color: var(--toc-text);
    display: flex;
    flex-direction: column
}

.toc-immersive-shell__desktop-top {
    display: none
}

.toc-immersive-shell__bar {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 48px;
    padding: 0 16px;
    border-bottom: 1px solid var(--toc-border);
    background: #111111
}

.toc-immersive-shell__back {
    color: var(--toc-text);
    font-weight: 700;
    font-size: 14px
}

.toc-immersive-shell__brand {
    color: var(--toc-accent);
    font-weight: 800;
    font-size: 14px
}

.toc-immersive-shell__main {
    flex: 1 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px 24px;
    box-sizing: border-box
}

@media (min-width: 900px) {
    .toc-immersive-shell__desktop-top {
        display: block
    }

    .toc-immersive-shell__bar--narrow {
        display: none
    }
}