body.ss-shell-body .ss-mobile-top-nav {
    display: none;
}

.ss-mobile-bottom-nav__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
}

.ss-shell-notify {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.ss-shell-notify__trigger {
    position: relative;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    line-height: 1;
}

.ss-shell-notify__icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    line-height: 0;
}

.ss-shell-notify__icon svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ss-shell-notify__trigger.su-btn-plus {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0 !important;
    text-align: center;
}

.ss-shell-notify__trigger.su-btn-plus:hover,
.ss-shell-notify__trigger.su-btn-plus:focus-visible {
    transform: none !important;
}

.ss-shell-notify__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    min-height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: linear-gradient(135deg, #ff00ff, #00ff9f);
    color: #02060a;
    display: grid;
    place-items: center;
    font-size: 0.64rem;
    font-weight: 950;
    line-height: 1;
    box-shadow:
        0 0 12px rgba(255, 0, 255, 0.5),
        0 0 14px rgba(0, 255, 159, 0.36);
}

.ss-shell-notify__badge.is-hidden {
    display: none;
}

.ss-shell-notify__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 340;
    width: min(420px, calc(100vw - 22px));
    max-height: min(68vh, 560px);
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 159, 0.34);
    background:
        radial-gradient(circle at 16% 0%, rgba(255, 0, 255, 0.22), transparent 42%),
        radial-gradient(circle at 88% 10%, rgba(0, 255, 159, 0.16), transparent 44%),
        linear-gradient(160deg, rgba(4, 8, 15, 0.98), rgba(0, 0, 0, 0.97));
    color: #f8fbff;
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.66),
        0 0 28px rgba(255, 0, 255, 0.22),
        0 0 26px rgba(0, 255, 159, 0.18);
}

.ss-shell-notify__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 12px 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ss-shell-notify__head strong {
    font-size: 0.94rem;
    letter-spacing: 0;
}

.ss-shell-notify__head small {
    color: rgba(0, 255, 159, 0.78);
    font-size: 0.72rem;
    font-weight: 800;
}

.ss-shell-notify__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 10px 0;
}

.ss-shell-notify__chip {
    min-height: 25px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 159, 0.34);
    background: rgba(0, 255, 159, 0.1);
    color: #caffec;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 850;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.ss-shell-notify__chip:hover,
.ss-shell-notify__chip:focus-visible {
    outline: none;
    border-color: rgba(255, 0, 255, 0.58);
    background: rgba(255, 0, 255, 0.16);
    color: #ffffff;
}

.ss-shell-notify__chip.is-active {
    border-color: rgba(255, 255, 255, 0.62);
    background: linear-gradient(135deg, #ff00ff, #00ff9f);
    color: #02060a;
    box-shadow:
        0 0 16px rgba(255, 0, 255, 0.3),
        0 0 18px rgba(0, 255, 159, 0.22);
}

.ss-shell-notify__chip--mailbox {
    min-height: 28px;
    border-color: rgba(255, 0, 255, 0.32);
    background: rgba(255, 0, 255, 0.1);
}

.ss-shell-notify__list {
    display: grid;
    gap: 7px;
    max-height: min(58vh, 500px);
    overflow-y: auto;
    padding: 8px 10px 10px;
}

.ss-shell-notify__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    padding: 9px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 0, 255, 0.14), transparent 58%),
        rgba(2, 6, 12, 0.78);
    color: inherit;
}

.ss-shell-notify__item.is-unread {
    border-color: rgba(255, 0, 255, 0.48);
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 0, 255, 0.2), transparent 58%),
        linear-gradient(135deg, rgba(255, 0, 255, 0.12), rgba(0, 255, 159, 0.08)),
        rgba(2, 6, 12, 0.84);
}

.ss-shell-notify__item.is-read {
    opacity: 0.82;
}

.ss-shell-notify__item.is-archived {
    border-style: dashed;
    border-color: rgba(0, 255, 159, 0.42);
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 255, 159, 0.16), transparent 58%),
        rgba(2, 6, 12, 0.72);
}

.ss-shell-notify__content {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 9px;
    color: inherit;
    text-decoration: none;
}

.ss-shell-notify__item:hover,
.ss-shell-notify__item:focus-within {
    outline: none;
    border-color: rgba(0, 255, 159, 0.46);
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 0, 255, 0.18), transparent 58%),
        rgba(0, 255, 159, 0.1);
}

.ss-shell-notify__avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 0, 255, 0.52);
    object-fit: cover;
    box-shadow: 0 0 14px rgba(255, 0, 255, 0.2);
}

.ss-shell-notify__body {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.ss-shell-notify__title,
.ss-shell-notify__text,
.ss-shell-notify__time {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ss-shell-notify__title {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 850;
}

.ss-shell-notify__text {
    color: rgba(218, 238, 255, 0.78);
    font-size: 0.74rem;
}

.ss-shell-notify__meta {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ss-shell-notify__state {
    min-height: 17px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.58rem;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
    color: rgba(248, 251, 255, 0.84);
}

.ss-shell-notify__state--unread {
    border-color: rgba(255, 0, 255, 0.58);
    background: rgba(255, 0, 255, 0.18);
    color: #ffffff;
}

.ss-shell-notify__state--read {
    border-color: rgba(148, 163, 184, 0.28);
    background: rgba(148, 163, 184, 0.1);
    color: rgba(218, 238, 255, 0.7);
}

.ss-shell-notify__state--archived {
    border-color: rgba(0, 255, 159, 0.48);
    background: rgba(0, 255, 159, 0.12);
    color: #caffec;
}

.ss-shell-notify__time {
    color: rgba(0, 255, 159, 0.68);
    font-size: 0.68rem;
}

.ss-shell-notify__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-left: 45px;
}

.ss-shell-notify__action,
.ss-shell-notify__auto {
    min-height: 27px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 159, 0.28);
    background: rgba(0, 255, 159, 0.08);
    color: #caffec;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1;
}

.ss-shell-notify__action {
    cursor: pointer;
    appearance: none;
}

.ss-shell-notify__action:hover,
.ss-shell-notify__action:focus-visible {
    outline: none;
    border-color: rgba(255, 0, 255, 0.5);
    background: rgba(255, 0, 255, 0.14);
    color: #ffffff;
}

.ss-shell-notify__auto {
    border-color: rgba(148, 163, 184, 0.24);
    background: rgba(148, 163, 184, 0.08);
    color: rgba(218, 238, 255, 0.64);
}

.ss-shell-notify__empty {
    margin: 0;
    padding: 10px 8px;
    color: rgba(218, 238, 255, 0.82);
    font-size: 0.8rem;
}

.ss-shell-notify__all {
    min-height: 38px;
    margin: 0 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 159, 0.34);
    background: rgba(0, 255, 159, 0.1);
    color: #caffec;
    font-size: 0.76rem;
    font-weight: 900;
    text-decoration: none;
}

.ss-shell-notify__all:hover,
.ss-shell-notify__all:focus-visible {
    outline: none;
    border-color: rgba(255, 0, 255, 0.5);
    background: rgba(255, 0, 255, 0.14);
    color: #ffffff;
}

@media (max-width: 768px) {
    body.ss-shell-body {
        --ss-mobile-nav-bg: rgba(1, 3, 8, 0.94);
        --ss-mobile-nav-surface: rgba(7, 10, 18, 0.92);
        --ss-mobile-nav-surface-2: rgba(13, 17, 29, 0.86);
        --ss-mobile-nav-pink: #ff00ff;
        --ss-mobile-nav-green: #00ff9f;
        --ss-mobile-nav-text: #f8fbff;
        --ss-mobile-nav-muted: rgba(223, 237, 255, 0.72);
        --ss-mobile-nav-border: rgba(255, 0, 255, 0.28);
        --ss-mobile-nav-border-green: rgba(0, 255, 159, 0.34);
    }

    body.ss-shell-body .su-shell {
        grid-template-columns: minmax(0, 1fr) !important;
        height: 100dvh;
        min-height: 100dvh;
    }

    body.ss-shell-body .su-sidebar,
    body.ss-shell-body .su-quick-nav {
        display: none !important;
    }

    body.ss-shell-body .su-main {
        height: 100dvh;
        min-height: 0;
        grid-template-rows: auto minmax(0, 1fr);
    }

    body.ss-shell-body .su-topbar {
        position: sticky;
        top: 0;
        z-index: 220;
        gap: 10px;
        padding: 10px 10px 12px;
        border-bottom: 1px solid rgba(0, 255, 159, 0.2);
        background:
            radial-gradient(circle at 12% 0%, rgba(255, 0, 255, 0.18), transparent 34%),
            radial-gradient(circle at 88% 16%, rgba(0, 255, 159, 0.13), transparent 34%),
            linear-gradient(180deg, rgba(2, 4, 10, 0.98), rgba(2, 5, 12, 0.92));
        box-shadow:
            0 12px 32px rgba(0, 0, 0, 0.48),
            0 0 24px rgba(255, 0, 255, 0.13),
            inset 0 -1px 0 rgba(0, 255, 159, 0.14);
        backdrop-filter: blur(18px) saturate(1.35);
        -webkit-backdrop-filter: blur(18px) saturate(1.35);
    }

    body.ss-shell-body .su-topbar-row {
        gap: 8px;
        align-items: stretch;
        flex-wrap: wrap;
    }

    body.ss-shell-body .su-search,
    body.ss-shell-body .su-guest-hint {
        flex: 1 1 min(100%, 280px);
        min-width: 0;
        max-width: none;
        margin-left: 0;
    }

    body.ss-shell-body .su-search input,
    body.ss-shell-body .su-guest-hint {
        min-height: 44px;
        border-radius: 15px;
        border: 1px solid rgba(0, 255, 159, 0.3);
        background:
            linear-gradient(180deg, rgba(0, 255, 159, 0.08), rgba(255, 0, 255, 0.045)),
            rgba(0, 0, 0, 0.5);
        color: var(--ss-mobile-nav-text);
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.035),
            0 0 16px rgba(0, 255, 159, 0.09);
    }

    body.ss-shell-body .su-actions {
        flex: 0 1 auto;
        width: auto;
        max-width: 100%;
        margin-left: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        gap: 7px;
        align-items: stretch;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    body.ss-shell-body .su-actions:has(.su-btn-auth) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    body.ss-shell-body .su-actions:has(.su-btn-auth) .su-btn-auth {
        min-height: 44px;
        width: 100%;
        min-width: 0;
        border-radius: 15px;
    }

    body.ss-shell-body .su-wallet.ss-wallet-chip {
        min-width: 98px;
        min-height: 44px;
        border-color: rgba(255, 0, 255, 0.3);
        background: rgba(3, 7, 14, 0.74);
    }

    body.ss-shell-body .su-wallet .ss-wallet-chip__label,
    body.ss-shell-body .su-userline__identity,
    body.ss-shell-body .su-userline__caret {
        display: none;
    }

    body.ss-shell-body .su-btn-plus,
    body.ss-shell-body .su-userline {
        min-width: 44px;
        min-height: 44px;
        border-radius: 15px;
    }

    body.ss-shell-body .su-btn-plus {
        border-color: rgba(0, 255, 159, 0.55);
        background:
            radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.5), transparent 34%),
            linear-gradient(135deg, var(--ss-mobile-nav-pink), var(--ss-mobile-nav-green));
        color: #02060a;
        box-shadow:
            0 0 18px rgba(0, 255, 159, 0.3),
            0 0 24px rgba(255, 0, 255, 0.22);
    }

    body.ss-shell-body .ss-shell-notify__trigger {
        border-color: rgba(0, 255, 159, 0.55);
        background:
            radial-gradient(circle at 50% 17%, rgba(255, 255, 255, 0.48), transparent 34%),
            linear-gradient(135deg, rgba(15, 22, 34, 0.98), rgba(4, 9, 16, 0.94));
        color: #f8fbff;
        box-shadow:
            inset 0 0 0 1px rgba(0, 255, 159, 0.12),
            0 0 18px rgba(0, 255, 159, 0.22),
            0 0 24px rgba(255, 0, 255, 0.16);
    }

    body.ss-shell-body .ss-shell-notify__icon {
        color: var(--ss-mobile-nav-green);
        text-shadow:
            0 0 10px rgba(0, 255, 159, 0.74),
            0 0 16px rgba(255, 0, 255, 0.34);
    }

    body.ss-shell-body .ss-shell-notify__panel {
        position: fixed;
        top: 112px;
        left: 10px;
        right: 10px;
        width: auto;
        max-height: min(62dvh, 520px);
    }

    body.ss-shell-body .su-userline {
        padding: 4px;
        border-color: rgba(0, 255, 159, 0.28);
        background: rgba(3, 7, 14, 0.74);
    }

    body.ss-shell-body .ss-mobile-top-nav {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: stretch;
        gap: 6px;
        min-height: 58px;
        padding: 6px;
        border-radius: 22px;
        border: 1px solid rgba(0, 255, 159, 0.22);
        background:
            linear-gradient(135deg, rgba(255, 0, 255, 0.13), rgba(0, 255, 159, 0.08)),
            rgba(0, 0, 0, 0.7);
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.04),
            inset 0 0 24px rgba(0, 255, 159, 0.045),
            0 0 24px rgba(255, 0, 255, 0.18);
    }

    body.ss-shell-body .ss-mobile-top-nav__item {
        position: relative;
        min-width: 0;
        min-height: 44px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.11);
        background:
            radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 46%),
            linear-gradient(180deg, rgba(13, 17, 29, 0.95), rgba(4, 7, 13, 0.94));
        color: var(--ss-mobile-nav-muted);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 5px;
        text-align: center;
        text-decoration: none;
        font-size: 0.68rem;
        line-height: 1.05;
        font-weight: 900;
        letter-spacing: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.025),
            0 0 12px rgba(0, 0, 0, 0.4);
        transition:
            transform 160ms ease,
            color 160ms ease,
            border-color 160ms ease,
            box-shadow 160ms ease,
            background 160ms ease;
    }

    body.ss-shell-body .ss-mobile-top-nav__item::after {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 6px;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, transparent, rgba(0, 255, 159, 0.68), transparent);
        opacity: 0;
    }

    body.ss-shell-body .ss-mobile-top-nav__item:focus-visible,
    body.ss-shell-body .ss-mobile-top-nav__item:hover {
        outline: none;
        color: #ffffff;
        border-color: rgba(0, 255, 159, 0.42);
        box-shadow:
            inset 0 0 0 1px rgba(0, 255, 159, 0.1),
            0 0 18px rgba(0, 255, 159, 0.16),
            0 0 22px rgba(255, 0, 255, 0.1);
    }

    body.ss-shell-body .ss-mobile-top-nav__item.is-active,
    body.ss-shell-body .ss-mobile-top-nav__item[aria-current="page"] {
        border-color: rgba(255, 255, 255, 0.42);
        background:
            radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.58), transparent 28%),
            linear-gradient(135deg, var(--ss-mobile-nav-pink) 0%, #ff39ff 34%, var(--ss-mobile-nav-green) 100%);
        color: #02060a;
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.42);
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.28),
            inset 0 0 24px rgba(255, 255, 255, 0.16),
            0 0 18px rgba(255, 0, 255, 0.48),
            0 0 32px rgba(0, 255, 159, 0.36);
    }

    body.ss-shell-body .ss-mobile-top-nav__item.is-active::after,
    body.ss-shell-body .ss-mobile-top-nav__item[aria-current="page"]::after {
        opacity: 1;
        background: linear-gradient(90deg, rgba(255, 0, 255, 0), #ffffff, rgba(0, 255, 159, 0));
    }

    body.ss-shell-body .su-topbar .ss-mobile-top-nav {
        display: none !important;
    }

    body.ss-shell-body .su-content {
        padding: 10px 10px calc(164px + env(safe-area-inset-bottom)) !important;
    }

    body.ss-shell-body.ss-live-body .su-content,
    body.ss-shell-body.ss-live-viewer-page .su-content,
    body.ss-shell-body.live-studio-body .su-content,
    body.ss-shell-body.ss-feed-body .su-content {
        padding-bottom: calc(154px + env(safe-area-inset-bottom)) !important;
    }

    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-flow: initial !important;
        grid-auto-columns: initial !important;
        align-items: stretch;
        justify-content: stretch;
        gap: 8px;
        left: 50%;
        right: auto;
        bottom: max(10px, env(safe-area-inset-bottom));
        width: min(100vw - 14px, 560px);
        min-height: 124px;
        padding: 8px;
        border-radius: 26px;
        border: 1px solid rgba(0, 255, 159, 0.32) !important;
        background:
            radial-gradient(circle at 18% 0%, rgba(255, 0, 255, 0.2), transparent 34%),
            radial-gradient(circle at 86% 20%, rgba(0, 255, 159, 0.18), transparent 34%),
            linear-gradient(180deg, rgba(7, 9, 17, 0.97), rgba(0, 0, 0, 0.95)) !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        overscroll-behavior: none;
        scroll-snap-type: none;
        scrollbar-width: none;
        z-index: 280;
        box-shadow:
            0 18px 42px rgba(0, 0, 0, 0.72),
            0 0 30px rgba(255, 0, 255, 0.28),
            0 0 36px rgba(0, 255, 159, 0.2),
            inset 0 0 0 1px rgba(255, 255, 255, 0.05),
            inset 0 0 28px rgba(0, 255, 159, 0.06);
        backdrop-filter: blur(20px) saturate(1.4);
        -webkit-backdrop-filter: blur(20px) saturate(1.4);
    }

    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav--with-admin {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav--no-admin {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding: 2px;
        border-radius: 19px;
        border: 1px solid rgba(0, 255, 159, 0.16);
        background:
            linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 159, 0.07)),
            rgba(0, 0, 0, 0.46);
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.025),
            inset 0 0 18px rgba(0, 255, 159, 0.04);
        -webkit-overflow-scrolling: touch;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail::-webkit-scrollbar {
        display: none;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail-item {
        position: relative;
        flex: 0 0 auto;
        min-width: 82px;
        min-height: 40px;
        scroll-snap-align: center;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.11);
        background:
            radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.075), transparent 44%),
            linear-gradient(180deg, rgba(13, 18, 30, 0.94), rgba(4, 7, 13, 0.94));
        color: rgba(229, 241, 255, 0.76);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 12px;
        text-align: center;
        text-decoration: none;
        font-size: 0.64rem;
        line-height: 1.05;
        font-weight: 900;
        letter-spacing: 0;
        white-space: nowrap;
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.025),
            0 0 10px rgba(0, 0, 0, 0.44);
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail-item:focus-visible,
    body.ss-shell-body .ss-mobile-bottom-nav__rail-item:hover {
        outline: none;
        color: #ffffff;
        border-color: rgba(0, 255, 159, 0.42);
        box-shadow:
            inset 0 0 0 1px rgba(0, 255, 159, 0.1),
            0 0 16px rgba(0, 255, 159, 0.16),
            0 0 20px rgba(255, 0, 255, 0.1);
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail-item.is-active,
    body.ss-shell-body .ss-mobile-bottom-nav__rail-item[aria-current="page"] {
        border-color: rgba(255, 255, 255, 0.42);
        background:
            radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.58), transparent 28%),
            linear-gradient(135deg, var(--ss-mobile-nav-pink) 0%, #ff39ff 34%, var(--ss-mobile-nav-green) 100%);
        color: #02060a;
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.42);
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.28),
            inset 0 0 22px rgba(255, 255, 255, 0.14),
            0 0 16px rgba(255, 0, 255, 0.46),
            0 0 28px rgba(0, 255, 159, 0.32);
    }

    body.ss-shell-body .ss-mobile-bottom-nav__dock {
        min-width: 0;
        display: grid;
        align-items: center;
        justify-content: stretch;
        gap: 6px;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__dock--with-admin {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    body.ss-shell-body .ss-mobile-bottom-nav__dock--no-admin {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.ss-shell-body .ss-mobile-bottom-nav--with-admin [data-nav-key="admin"] {
        grid-column: 1;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--with-admin [data-nav-key="home"] {
        grid-column: 2;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--with-admin [data-nav-key="upload"] {
        grid-column: 3;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--with-admin [data-nav-key="feed"] {
        grid-column: 4;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--with-admin [data-nav-key="stats"] {
        grid-column: 5;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--no-admin [data-nav-key="home"] {
        grid-column: 1;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--no-admin [data-nav-key="feed"] {
        grid-column: 2;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--no-admin [data-nav-key="upload"] {
        grid-column: 3;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--no-admin [data-nav-key="stats"] {
        grid-column: 4;
    }

    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav::-webkit-scrollbar {
        display: none;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__item {
        position: relative;
        min-width: 0 !important;
        width: 100% !important;
        order: initial !important;
        min-height: 52px !important;
        height: 52px;
        padding: 0 4px !important;
        box-sizing: border-box;
        border-radius: 18px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        background:
            radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.075), transparent 45%),
            linear-gradient(180deg, var(--ss-mobile-nav-surface-2), rgba(3, 6, 12, 0.94)) !important;
        color: rgba(229, 241, 255, 0.78) !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        text-decoration: none;
        font-size: 0.64rem !important;
        line-height: 1.05;
        font-weight: 900;
        letter-spacing: 0;
        white-space: nowrap;
        overflow: hidden;
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.025),
            0 0 12px rgba(0, 0, 0, 0.5);
        transition:
            transform 160ms ease,
            color 160ms ease,
            border-color 160ms ease,
            box-shadow 160ms ease,
            background 160ms ease;
    }

    body.ss-shell-body button.ss-mobile-bottom-nav__item {
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
        font: inherit;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__item > span:not(.ss-mobile-bottom-nav__sr) {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__item:focus-visible,
    body.ss-shell-body .ss-mobile-bottom-nav__item:hover {
        outline: none;
        transform: translateY(-1px);
        color: #ffffff !important;
        border-color: rgba(0, 255, 159, 0.42) !important;
        box-shadow:
            inset 0 0 0 1px rgba(0, 255, 159, 0.1),
            0 0 18px rgba(0, 255, 159, 0.18),
            0 0 24px rgba(255, 0, 255, 0.12);
    }

    body.ss-shell-body .ss-mobile-bottom-nav__item.is-active:not(.ss-mobile-bottom-nav__item--create),
    body.ss-shell-body .ss-mobile-bottom-nav__item[aria-current="page"]:not(.ss-mobile-bottom-nav__item--create) {
        border-color: rgba(255, 255, 255, 0.42) !important;
        background:
            radial-gradient(circle at 50% 9%, rgba(255, 255, 255, 0.52), transparent 30%),
            linear-gradient(135deg, var(--ss-mobile-nav-pink) 0%, #ff39ff 35%, var(--ss-mobile-nav-green) 100%) !important;
        color: #02060a !important;
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.26),
            0 0 18px rgba(255, 0, 255, 0.46),
            0 0 30px rgba(0, 255, 159, 0.34) !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__item--admin {
        border-color: rgba(255, 0, 255, 0.42) !important;
        background:
            radial-gradient(circle at 50% 0%, rgba(255, 0, 255, 0.18), transparent 44%),
            linear-gradient(180deg, rgba(20, 10, 25, 0.94), rgba(10, 4, 13, 0.94)) !important;
        box-shadow:
            inset 0 0 0 1px rgba(255, 0, 255, 0.12),
            0 0 12px rgba(255, 0, 255, 0.32) !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail-item.ss-mobile-bottom-nav__item--admin {
        border-color: rgba(255, 0, 255, 0.42) !important;
        background:
            radial-gradient(circle at 50% 0%, rgba(255, 0, 255, 0.18), transparent 44%),
            linear-gradient(180deg, rgba(20, 10, 25, 0.94), rgba(10, 4, 13, 0.94)) !important;
        box-shadow:
            inset 0 0 0 1px rgba(255, 0, 255, 0.12),
            0 0 12px rgba(255, 0, 255, 0.32) !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__item--create {
        height: 52px !important;
        min-height: 52px !important;
        margin-top: 0 !important;
        order: initial !important;
        border-radius: 18px !important;
        border-color: rgba(255, 255, 255, 0.48) !important;
        background:
            radial-gradient(circle at 50% 13%, rgba(255, 255, 255, 0.7), transparent 28%),
            linear-gradient(135deg, var(--ss-mobile-nav-pink) 0%, #ff36ff 34%, var(--ss-mobile-nav-green) 100%) !important;
        color: #02060a !important;
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.36),
            inset 0 0 22px rgba(255, 255, 255, 0.16),
            0 0 22px rgba(255, 0, 255, 0.62),
            0 0 38px rgba(0, 255, 159, 0.46),
            0 16px 28px rgba(0, 0, 0, 0.58) !important;
        overflow: hidden !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__item--create:focus-visible,
    body.ss-shell-body .ss-mobile-bottom-nav__item--create:hover {
        transform: translateY(-1px);
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.44),
            0 0 26px rgba(255, 0, 255, 0.72),
            0 0 46px rgba(0, 255, 159, 0.56),
            0 18px 30px rgba(0, 0, 0, 0.62) !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__item--create .su-bottom-nav__plus {
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 999px;
        display: inline-grid;
        place-items: center;
        color: #02060a;
        font-size: 1.62rem;
        line-height: 1;
        font-weight: 950;
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
        box-shadow: none;
    }
}

@media (max-width: 360px) {
    body.ss-shell-body .ss-mobile-top-nav {
        gap: 4px;
        padding: 5px;
    }

    body.ss-shell-body .ss-mobile-top-nav__item {
        font-size: 0.62rem;
        border-radius: 14px;
        padding-inline: 3px;
    }

    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav {
        gap: 4px;
        padding: 7px;
        width: min(100vw - 10px, 560px);
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail {
        gap: 4px;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail-item {
        min-width: 76px;
        min-height: 44px;
        padding-inline: 10px;
        font-size: 0.58rem;
        border-radius: 14px;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__dock {
        gap: 4px;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__item {
        font-size: 0.58rem !important;
        border-radius: 16px !important;
    }
}

@media (max-width: 768px) {
    body.ss-shell-body .su-content {
        padding-bottom: calc(138px + env(safe-area-inset-bottom)) !important;
    }

    body.ss-shell-body.ss-live-body .su-content,
    body.ss-shell-body.ss-live-viewer-page .su-content,
    body.ss-shell-body.live-studio-body .su-content,
    body.ss-shell-body.ss-feed-body .su-content {
        padding-bottom: calc(128px + env(safe-area-inset-bottom)) !important;
    }

    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-flow: initial !important;
        align-items: stretch;
        justify-content: stretch;
        gap: 0;
        min-height: 112px !important;
        height: auto !important;
        padding: 8px;
        overflow-x: visible !important;
        overflow-y: visible !important;
        overscroll-behavior-x: none;
        scroll-snap-type: none;
        scrollbar-width: none;
    }

    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav::-webkit-scrollbar {
        display: none;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail,
    body.ss-shell-body .ss-mobile-bottom-nav__dock {
        min-width: 0;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail {
        display: grid !important;
        align-items: center;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: 44px;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__dock {
        display: none;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail::-webkit-scrollbar {
        display: none;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--with-admin [data-nav-key],
    body.ss-shell-body .ss-mobile-bottom-nav--no-admin [data-nav-key] {
        grid-column: auto !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail-item,
    body.ss-shell-body .ss-mobile-bottom-nav__item {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: initial !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 44px !important;
        height: 44px !important;
        padding: 0 8px !important;
        border-radius: 16px !important;
        scroll-snap-align: center;
        box-sizing: border-box;
        font-size: 0.62rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        touch-action: pan-x;
        user-select: none;
        -webkit-user-select: none;
        -webkit-user-drag: none;
    }

    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav .ss-mobile-bottom-nav__rail > .su-bottom-nav__item {
        display: inline-flex !important;
        order: initial !important;
        margin: 0 !important;
        min-height: 44px !important;
        height: 44px !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail-item {
        border-color: rgba(255, 255, 255, 0.1);
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail-item.is-active,
    body.ss-shell-body .ss-mobile-bottom-nav__rail-item[aria-current="page"],
    body.ss-shell-body .ss-mobile-bottom-nav__item.is-active:not(.ss-mobile-bottom-nav__item--create),
    body.ss-shell-body .ss-mobile-bottom-nav__item[aria-current="page"]:not(.ss-mobile-bottom-nav__item--create) {
        border-color: rgba(255, 255, 255, 0.42) !important;
        background:
            radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.5), transparent 28%),
            linear-gradient(135deg, var(--ss-mobile-nav-pink) 0%, #ff39ff 36%, var(--ss-mobile-nav-green) 100%) !important;
        color: #02060a !important;
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.26),
            0 0 16px rgba(255, 0, 255, 0.48),
            0 0 24px rgba(0, 255, 159, 0.32) !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__item--create {
        flex: initial !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 44px !important;
        height: 44px !important;
        border-radius: 16px !important;
        margin: 0 !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__item--create .su-bottom-nav__plus {
        width: auto;
        height: auto;
        font-size: 1.32rem;
    }
}

@media (max-width: 360px) {
    body.ss-shell-body .ss-mobile-bottom-nav__rail-item,
    body.ss-shell-body .ss-mobile-bottom-nav__item,
    body.ss-shell-body .ss-mobile-bottom-nav__item--create {
        flex-basis: 78px !important;
        width: 78px !important;
        min-width: 78px !important;
        max-width: 78px !important;
        font-size: 0.57rem !important;
    }
}

@media (max-width: 768px) {
    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav {
        overflow-x: visible !important;
        overflow-y: visible !important;
        overscroll-behavior-x: none;
        scroll-snap-type: none;
        touch-action: pan-x;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    body.ss-shell-body .su-topbar,
    body.ss-shell-body .su-topbar-row,
    body.ss-shell-body .su-actions,
    body.ss-shell-body .su-user-menu,
    body.ss-shell-body .ss-shell-notify {
        overflow: visible !important;
    }

    body.ss-shell-body .su-topbar {
        z-index: 960 !important;
    }

    body.ss-shell-body .ss-shell-notify__panel,
    body.ss-shell-body .su-user-menu__panel {
        position: fixed !important;
        top: calc(116px + env(safe-area-inset-top)) !important;
        z-index: 1200 !important;
        max-height: min(58dvh, 520px);
        overflow-y: auto;
        border: 1px solid rgba(0, 255, 159, 0.48);
        background:
            radial-gradient(circle at 14% 0%, rgba(255, 0, 255, 0.28), transparent 44%),
            radial-gradient(circle at 88% 12%, rgba(0, 255, 159, 0.2), transparent 46%),
            linear-gradient(160deg, rgba(4, 8, 15, 0.98), rgba(0, 0, 0, 0.98)) !important;
        box-shadow:
            0 28px 58px rgba(0, 0, 0, 0.76),
            0 0 34px rgba(255, 0, 255, 0.34),
            0 0 34px rgba(0, 255, 159, 0.24),
            inset 0 0 0 1px rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(22px) saturate(1.35);
        -webkit-backdrop-filter: blur(22px) saturate(1.35);
    }

    body.ss-shell-body .ss-shell-notify__panel {
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
    }

    body.ss-shell-body .ss-shell-notify__trigger {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        padding: 0 !important;
        display: inline-grid !important;
        place-items: center !important;
        line-height: 1 !important;
    }

    body.ss-shell-body .ss-shell-notify__icon {
        width: 30px;
        height: 30px;
        font-size: 1.52rem;
        line-height: 1;
        display: inline-grid;
        place-items: center;
        transform: none;
    }

    body.ss-shell-body .ss-shell-notify__badge {
        top: -5px;
        right: -5px;
    }

    body.ss-shell-body .su-user-menu__panel {
        position: absolute !important;
        left: auto !important;
        right: 0 !important;
        top: calc(100% + 8px) !important;
        width: min(256px, calc(100vw - 20px));
        min-width: 0;
        padding: 10px;
        border-radius: 18px;
    }

    body.ss-shell-body .su-user-menu.is-open .su-user-menu__panel {
        display: grid !important;
    }

    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav,
    body.ss-shell-body .ss-mobile-bottom-nav__rail {
        cursor: grab;
    }

    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav.is-dragging,
    body.ss-shell-body .ss-mobile-bottom-nav__rail.is-dragging {
        cursor: grabbing;
        scroll-snap-type: none;
    }
}

/* Social mobile shell: one fixed five-tab dock, no secondary mobile tabs. */
@media (max-width: 768px) {
    body.ss-shell-body .su-content {
        padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    }

    body.ss-shell-body.ss-feed-body .su-topbar,
    body.ss-shell-body.ss-live-viewer-page .su-topbar {
        display: none !important;
    }

    body.ss-shell-body.ss-feed-body .su-content,
    body.ss-shell-body.ss-live-viewer-page .su-content {
        height: 100dvh !important;
        padding: 0 !important;
    }

    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        left: 50% !important;
        right: auto !important;
        bottom: max(8px, env(safe-area-inset-bottom)) !important;
        width: min(calc(100vw - 12px), 560px) !important;
        min-height: 76px !important;
        height: 76px !important;
        padding: 8px !important;
        border-radius: 24px !important;
        overflow: visible !important;
        z-index: 620 !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail {
        display: flex !important;
        grid-template-columns: none !important;
        grid-auto-flow: initial !important;
        grid-auto-columns: initial !important;
        gap: 6px !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 60px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        touch-action: pan-x !important;
        overscroll-behavior-x: contain !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
        padding: 0 14px 0 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail-item,
    body.ss-shell-body .ss-mobile-bottom-nav__item {
        flex: 0 0 clamp(86px, 22vw, 104px) !important;
        width: clamp(86px, 22vw, 104px) !important;
        min-width: clamp(86px, 22vw, 104px) !important;
        max-width: clamp(86px, 22vw, 104px) !important;
        min-height: 60px !important;
        height: 60px !important;
        padding: 0 4px !important;
        border-radius: 18px !important;
        font-size: clamp(0.56rem, 2.65vw, 0.66rem) !important;
        touch-action: pan-x !important;
        scroll-snap-align: center !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__item--admin,
    body.ss-shell-body .su-bottom-nav__item--center,
    body.ss-shell-body .su-bottom-nav__plus {
        display: none !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail .ss-mobile-bottom-nav__item--admin {
        display: inline-flex !important;
    }
}

@media (max-width: 360px) {
    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav {
        width: min(calc(100vw - 8px), 560px) !important;
        padding: 6px !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail {
        gap: 4px !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail-item,
    body.ss-shell-body .ss-mobile-bottom-nav__item {
        width: 78px !important;
        min-width: 78px !important;
        max-width: 78px !important;
        flex-basis: 78px !important;
        font-size: 0.54rem !important;
    }
}

.ss-mobile-bottom-nav__quick {
    display: none;
}

@media (max-width: 768px) {
    html,
    body,
    body.ss-shell-body,
    body.ss-shell-body .su-shell,
    body.ss-shell-body .su-main,
    body.ss-shell-body .su-content,
    body.ss-shell-body * {
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar,
    body.ss-shell-body::-webkit-scrollbar,
    body.ss-shell-body .su-shell::-webkit-scrollbar,
    body.ss-shell-body .su-main::-webkit-scrollbar,
    body.ss-shell-body .su-content::-webkit-scrollbar,
    body.ss-shell-body *::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        display: none !important;
    }

    body.ss-shell-body .su-user-menu__panel {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        right: 0 !important;
        left: auto !important;
        width: min(210px, calc(100vw - 22px)) !important;
        max-width: calc(100vw - 22px) !important;
        min-width: 0 !important;
        max-height: min(58dvh, 480px) !important;
        overflow-y: auto !important;
        padding: 10px !important;
        border-radius: 18px !important;
        transform: none !important;
    }

    body.ss-shell-body .su-user-menu__panel a {
        min-height: 42px;
        display: flex;
        align-items: center;
        border-radius: 12px;
        padding: 0 10px;
        color: #f4f8ff !important;
        font-size: 0.76rem;
        line-height: 1.1;
    }

    body.ss-shell-body .su-user-menu__panel a.su-user-menu__admin {
        color: #ffffff !important;
    }

    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav {
        grid-template-columns: minmax(0, 1fr) 50px !important;
        gap: 6px !important;
        width: min(calc(100vw - 14px), 520px) !important;
        min-height: 64px !important;
        height: 64px !important;
        padding: 6px !important;
        border-radius: 22px !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail {
        min-height: 52px !important;
        padding: 0 10px 0 0 !important;
        gap: 5px !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__rail-item,
    body.ss-shell-body .ss-mobile-bottom-nav__item {
        flex: 0 0 clamp(78px, 18vw, 88px) !important;
        width: clamp(78px, 18vw, 88px) !important;
        min-width: clamp(78px, 18vw, 88px) !important;
        max-width: clamp(78px, 18vw, 88px) !important;
        min-height: 50px !important;
        height: 50px !important;
        border-radius: 16px !important;
        font-size: clamp(0.54rem, 2.35vw, 0.62rem) !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__quick {
        position: relative;
        display: grid;
        place-items: center;
        min-width: 50px;
        z-index: 2;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__quick-trigger {
        appearance: none;
        -webkit-appearance: none;
        display: grid;
        place-items: center;
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
        border: 1px solid rgba(255, 255, 255, 0.36);
        border-radius: 18px;
        background:
            radial-gradient(circle at 50% 6%, rgba(255, 255, 255, 0.58), transparent 30%),
            linear-gradient(135deg, #ff00ff 0%, #ff39ff 34%, #00ff9f 100%);
        color: #03050a;
        cursor: pointer;
        font: inherit;
        font-size: 1.42rem;
        font-weight: 950;
        line-height: 1;
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.26),
            0 0 24px rgba(255, 0, 255, 0.58),
            0 0 18px rgba(0, 255, 159, 0.42);
        touch-action: manipulation;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__quick.is-open .ss-mobile-bottom-nav__quick-trigger,
    body.ss-shell-body .ss-mobile-bottom-nav__quick-trigger:focus-visible {
        outline: none;
        color: #000;
        filter: brightness(1.08);
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.42),
            0 0 32px rgba(255, 0, 255, 0.76),
            0 0 24px rgba(0, 255, 159, 0.56);
    }

    body.ss-shell-body .ss-mobile-bottom-nav__quick-panel {
        position: absolute;
        right: 0;
        bottom: calc(100% + 10px);
        display: grid;
        gap: 8px;
        width: min(238px, calc(100vw - 22px));
        padding: 10px;
        border: 1px solid rgba(0, 255, 159, 0.46);
        border-radius: 20px;
        background:
            radial-gradient(circle at 14% 0%, rgba(255, 0, 255, 0.26), transparent 42%),
            radial-gradient(circle at 92% 20%, rgba(0, 255, 159, 0.2), transparent 44%),
            linear-gradient(160deg, rgba(4, 8, 15, 0.98), rgba(0, 0, 0, 0.98));
        box-shadow:
            0 24px 58px rgba(0, 0, 0, 0.78),
            0 0 32px rgba(255, 0, 255, 0.32),
            0 0 28px rgba(0, 255, 159, 0.2);
        backdrop-filter: blur(22px) saturate(1.35);
        -webkit-backdrop-filter: blur(22px) saturate(1.35);
    }

    body.ss-shell-body .ss-mobile-bottom-nav__quick-panel[hidden] {
        display: none !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__quick-panel a {
        display: grid;
        gap: 3px;
        min-height: 50px;
        align-content: center;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff;
        padding: 8px 10px;
        text-decoration: none;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__quick-panel a:focus-visible,
    body.ss-shell-body .ss-mobile-bottom-nav__quick-panel a:hover {
        outline: none;
        border-color: rgba(0, 255, 159, 0.54);
        background: rgba(0, 255, 159, 0.1);
    }

    body.ss-shell-body .ss-mobile-bottom-nav__quick-panel span {
        font-size: 0.82rem;
        font-weight: 950;
        line-height: 1;
    }

    body.ss-shell-body .ss-mobile-bottom-nav__quick-panel small {
        color: rgba(244, 248, 255, 0.68);
        font-size: 0.68rem;
        font-weight: 750;
        line-height: 1.15;
    }
}

@media (max-width: 360px) {
    body.ss-shell-body .ss-mobile-bottom-nav__rail-item,
    body.ss-shell-body .ss-mobile-bottom-nav__item {
        flex-basis: 74px !important;
        width: 74px !important;
        min-width: 74px !important;
        max-width: 74px !important;
    }
}

/* --- Social app dock: Home | Suche | Plus | Live | Profil --- */
/* Matches unified_shell: .su-bottom-nav is shown up to 980px — apply app dock rules for the full mobile/tablet band (no horizontal rail scroll). */
@media (max-width: 980px) {
    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav.ss-mobile-bottom-nav--social-dock {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
        width: min(calc(100vw - 14px), 520px) !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 8px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__shell {
        position: relative;
        width: 100%;
        display: grid;
        gap: 8px;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock {
        display: flex !important;
        align-items: stretch;
        justify-content: space-between;
        gap: 6px !important;
        width: 100% !important;
        min-height: 56px !important;
        overflow-x: hidden !important;
        padding: 0 !important;
        scroll-snap-type: none !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-item {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: none !important;
        min-height: 52px !important;
        height: auto !important;
        padding: 6px 4px 8px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        border-radius: 14px !important;
        font-size: 0.58rem !important;
        font-weight: 850 !important;
        letter-spacing: 0.02em !important;
        text-decoration: none !important;
        color: var(--ss-mobile-nav-muted, rgba(223, 237, 255, 0.72)) !important;
        text-align: center !important;
        line-height: 1.1 !important;
        overflow-wrap: anywhere !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock button.ss-mobile-bottom-nav__dock-item {
        cursor: pointer;
        font: inherit;
        touch-action: manipulation;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-icon {
        font-size: 1.05rem !important;
        line-height: 1 !important;
        filter: drop-shadow(0 0 8px rgba(160, 32, 240, 0.35));
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-icon--live {
        color: #ff3d6a;
        filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.35));
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__item--create {
        flex: 1.05 1 0 !important;
        border-radius: 18px !important;
        border: 1px solid rgba(160, 32, 240, 0.55) !important;
        background:
            radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.35), transparent 42%),
            linear-gradient(145deg, #a020f0 0%, #5a0d9a 55%, #00f0ff 160%) !important;
        color: #050508 !important;
        box-shadow:
            0 0 22px rgba(160, 32, 240, 0.55),
            0 0 18px rgba(0, 240, 255, 0.28) !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__item--create .su-bottom-nav__plus {
        font-size: 1.38rem !important;
        font-weight: 950 !important;
        line-height: 1 !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-item.is-active,
    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-item[aria-current="page"] {
        color: #ffffff !important;
        border-color: rgba(0, 240, 255, 0.42) !important;
        background:
            radial-gradient(circle at 30% 0%, rgba(160, 32, 240, 0.35), transparent 52%),
            rgba(13, 17, 29, 0.94) !important;
        box-shadow:
            0 0 18px rgba(160, 32, 240, 0.38),
            inset 0 0 0 1px rgba(0, 240, 255, 0.22) !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__rail-item {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 78px !important;
        min-height: 44px !important;
        padding: 0 12px !important;
        border-radius: 15px !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-quick-backdrop {
        position: fixed;
        inset: 0;
        z-index: 380;
        background: rgba(0, 0, 0, 0.62);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-quick-backdrop[hidden] {
        display: none !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__quick-panel--sheet {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        width: 100% !important;
        max-height: min(72dvh, 520px) !important;
        margin: 0 auto !important;
        padding: 0 0 calc(14px + env(safe-area-inset-bottom)) !important;
        border-radius: 22px 22px 0 0 !important;
        border: 1px solid rgba(160, 32, 240, 0.42) !important;
        border-bottom: none !important;
        background:
            radial-gradient(circle at 18% 0%, rgba(160, 32, 240, 0.28), transparent 46%),
            radial-gradient(circle at 92% 12%, rgba(0, 240, 255, 0.18), transparent 46%),
            linear-gradient(175deg, rgba(6, 4, 14, 0.94), rgba(1, 2, 8, 0.98)) !important;
        box-shadow:
            0 -18px 52px rgba(0, 0, 0, 0.72),
            0 0 36px rgba(160, 32, 240, 0.28),
            0 0 28px rgba(0, 240, 255, 0.18) !important;
        z-index: 390 !important;
        backdrop-filter: blur(22px) saturate(1.35);
        -webkit-backdrop-filter: blur(22px) saturate(1.35);
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-quick-sheet__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-quick-sheet__title {
        font-size: 0.88rem;
        font-weight: 950;
        letter-spacing: 0.04em;
        color: #ffffff;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-quick-sheet__close {
        appearance: none;
        -webkit-appearance: none;
        border: 1px solid rgba(0, 240, 255, 0.38);
        border-radius: 12px;
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        font-size: 1.35rem;
        line-height: 1;
        cursor: pointer;
        color: #eaf6ff;
        background: rgba(255, 255, 255, 0.06);
        touch-action: manipulation;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-quick-sheet__body {
        display: grid;
        gap: 10px;
        padding: 14px 16px 6px;
        max-height: min(52dvh, 420px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-quick-sheet__action {
        appearance: none;
        -webkit-appearance: none;
        display: grid;
        gap: 4px;
        min-height: 54px;
        align-content: center;
        padding: 10px 12px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff !important;
        text-decoration: none !important;
        text-align: left;
        font: inherit;
        cursor: pointer;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-quick-sheet__action-title {
        font-size: 0.84rem;
        font-weight: 950;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-quick-sheet__action-hint {
        font-size: 0.68rem;
        font-weight: 750;
        color: rgba(200, 220, 255, 0.72);
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-quick-sheet__action--locked {
        border-color: rgba(255, 74, 173, 0.28);
        background:
            linear-gradient(135deg, rgba(255, 74, 173, 0.11), rgba(8, 12, 22, 0.62)),
            rgba(255, 255, 255, 0.035);
        color: rgba(255, 255, 255, 0.78) !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-quick-sheet__lock {
        display: inline-flex;
        margin-left: 6px;
        padding: 2px 7px;
        border-radius: 999px;
        border: 1px solid rgba(255, 74, 173, 0.46);
        color: #ff6fd0;
        font-size: 0.56rem;
        line-height: 1;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        vertical-align: middle;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-quick-sheet__guest-note {
        margin: 2px 0 0;
        padding: 10px 12px;
        border: 1px solid rgba(0, 240, 255, 0.2);
        border-radius: 14px;
        background: rgba(0, 240, 255, 0.06);
        color: rgba(226, 241, 255, 0.74);
        font-size: 0.7rem;
        font-weight: 760;
        line-height: 1.35;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-quick-sheet__action:focus-visible,
    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-quick-sheet__action:hover {
        outline: none;
        border-color: rgba(0, 240, 255, 0.52);
        box-shadow: 0 0 14px rgba(160, 32, 240, 0.35);
    }
}

/* Compact single-row mobile navigation. */
@media (max-width: 980px) {
    body.ss-shell-body .su-content,
    body.ss-shell-body.ss-live-body .su-content,
    body.ss-shell-body.ss-live-viewer-page .su-content,
    body.ss-shell-body.live-studio-body .su-content,
    body.ss-shell-body.ss-feed-body .su-content,
    body.ss-shell-body.ss-live-feed-page .su-content {
        padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
    }

    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav.ss-mobile-bottom-nav--social-dock {
        grid-template-columns: minmax(0, 1fr) !important;
        width: min(calc(100vw - 12px), 520px) !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 6px 8px calc(7px + env(safe-area-inset-bottom)) !important;
        border-radius: 18px !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__shell {
        position: relative;
        width: 100%;
        min-width: 0;
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(0, 240, 255, 0.45) rgba(255, 255, 255, 0.06) !important;
        -webkit-overflow-scrolling: touch;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__shell::-webkit-scrollbar {
        display: block !important;
        width: auto !important;
        height: 4px !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__shell::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(0, 240, 255, 0.45);
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__shell::-webkit-scrollbar-track {
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__rail,
    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock {
        display: flex !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: max-content !important;
        min-height: 44px !important;
        gap: 6px !important;
        overflow: visible !important;
        padding: 0 !important;
        scroll-snap-type: none !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__rail-item,
    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-item {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 58px !important;
        max-width: none !important;
        min-height: 44px !important;
        height: 44px !important;
        padding: 0 10px !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        border-radius: 14px !important;
        font-size: 0.58rem !important;
        font-weight: 850 !important;
        letter-spacing: 0.02em !important;
        line-height: 1.1 !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        scroll-snap-align: center;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-icon {
        display: none !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__item--create {
        flex: 0 0 48px !important;
        width: 48px !important;
        min-width: 48px !important;
        padding: 0 !important;
        border-radius: 16px !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__item--create .su-bottom-nav__plus {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1.18rem !important;
        font-weight: 950 !important;
        line-height: 1 !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__item--create .ss-mobile-bottom-nav__dock-label {
        display: none !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__rail-item.is-active,
    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__rail-item[aria-current="page"],
    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-item.is-active,
    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-item[aria-current="page"] {
        color: #ffffff !important;
        border-color: rgba(0, 240, 255, 0.42) !important;
        background:
            radial-gradient(circle at 30% 0%, rgba(160, 32, 240, 0.35), transparent 52%),
            rgba(13, 17, 29, 0.94) !important;
        box-shadow:
            0 0 18px rgba(160, 32, 240, 0.38),
            inset 0 0 0 1px rgba(0, 240, 255, 0.22) !important;
    }
}

@media (max-width: 768px) {
    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__shell {
        cursor: grab;
        touch-action: pan-x !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__shell.is-dragging {
        cursor: grabbing;
        scroll-snap-type: none !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__shell::-webkit-scrollbar {
        display: none !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__rail-item,
    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-item {
        scroll-snap-align: center !important;
        scroll-snap-stop: always;
    }
}

/* Dashboard fix: keep the primary mobile dock visible and move secondary areas to the top rail. */
@media (max-width: 980px) {
    body.ss-shell-body .su-topbar .ss-mobile-top-nav {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 6px !important;
        min-height: 0 !important;
        width: 100%;
        max-width: 100%;
        padding: 5px 2px 2px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body.ss-shell-body .su-topbar .ss-mobile-top-nav::-webkit-scrollbar {
        display: none;
    }

    body.ss-shell-body .su-topbar .ss-mobile-top-nav__item {
        flex: 0 0 auto;
        min-width: clamp(82px, 22vw, 128px);
        min-height: 38px;
        padding: 0 12px;
        scroll-snap-align: start;
        border-radius: 14px;
        font-size: 0.62rem;
    }

    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav.ss-mobile-bottom-nav--social-dock {
        width: min(calc(100vw - 12px), 430px) !important;
        padding: 6px 8px calc(7px + env(safe-area-inset-bottom)) !important;
        border-radius: 18px !important;
        overflow: visible !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__shell {
        display: block !important;
        overflow: visible !important;
        min-width: 0 !important;
        cursor: default !important;
        touch-action: manipulation !important;
        scroll-snap-type: none !important;
        scrollbar-width: none !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__rail {
        display: none !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        gap: 6px !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 54px !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-item {
        flex: initial !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 52px !important;
        height: auto !important;
        padding: 6px 3px 7px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        border-radius: 14px !important;
        font-size: 0.57rem !important;
        line-height: 1.05 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-icon {
        display: block !important;
        font-size: 1rem !important;
        line-height: 1 !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__item--create {
        flex: initial !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 52px !important;
        border-radius: 16px !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__item--create .ss-mobile-bottom-nav__dock-label {
        display: block !important;
    }

    body.ss-shell-body .su-content,
    body.ss-shell-body.ss-live-body .su-content,
    body.ss-shell-body.ss-live-viewer-page .su-content,
    body.ss-shell-body.live-studio-body .su-content,
    body.ss-shell-body.ss-feed-body .su-content,
    body.ss-shell-body.ss-live-feed-page .su-content {
        padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    }
}

@media (max-width: 380px) {
    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock {
        gap: 4px !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-item {
        font-size: 0.52rem !important;
        padding-inline: 2px !important;
    }
}

/* ShadowUI compact mobile dock: smaller buttons, same five primary actions. */
@media (max-width: 760px) {
    body.ss-shell-body .su-content,
    body.ss-shell-body.ss-live-body .su-content,
    body.ss-shell-body.ss-live-viewer-page .su-content,
    body.ss-shell-body.live-studio-body .su-content,
    body.ss-shell-body.ss-feed-body .su-content,
    body.ss-shell-body.ss-live-feed-page .su-content {
        padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important;
    }

    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav.ss-mobile-bottom-nav--social-dock {
        width: min(calc(100vw - 30px), 354px) !important;
        padding: 5px 6px calc(6px + env(safe-area-inset-bottom)) !important;
        border-radius: 16px !important;
        box-shadow:
            0 14px 34px rgba(0, 0, 0, 0.56),
            0 0 18px rgba(0, 255, 159, 0.16),
            inset 0 0 0 1px rgba(0, 255, 159, 0.18) !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock {
        min-height: 44px !important;
        gap: 4px !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-item {
        min-height: 42px !important;
        height: 42px !important;
        padding: 4px 2px 5px !important;
        gap: 2px !important;
        border-radius: 12px !important;
        font-size: 0.48rem !important;
        line-height: 1 !important;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-label {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-icon {
        font-size: 0.82rem !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__item--create {
        min-height: 44px !important;
        height: 44px !important;
        border-radius: 14px !important;
        box-shadow:
            0 0 16px rgba(160, 32, 240, 0.44),
            0 0 12px rgba(0, 240, 255, 0.22) !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__item--create .su-bottom-nav__plus {
        font-size: 1.04rem !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-item.is-active,
    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-item[aria-current="page"] {
        box-shadow:
            0 0 13px rgba(160, 32, 240, 0.3),
            inset 0 0 0 1px rgba(0, 240, 255, 0.2) !important;
    }
}

@media (max-width: 380px) {
    body.ss-shell-body .su-bottom-nav.ss-mobile-bottom-nav.ss-mobile-bottom-nav--social-dock {
        width: min(calc(100vw - 18px), 344px) !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock {
        gap: 3px !important;
    }

    body.ss-shell-body .ss-mobile-bottom-nav--social-dock .ss-mobile-bottom-nav__dock-item {
        min-height: 40px !important;
        height: 40px !important;
        font-size: 0.45rem !important;
    }
}

/* ShadowLive and Shadow Cast own the full-screen mobile surface. */
body.live-studio-body.ss-shell-body .ss-mobile-bottom-nav,
body.shadow-cast-body.ss-shell-body .ss-mobile-bottom-nav,
body.live-studio-body.ss-shell-body .su-bottom-nav,
body.shadow-cast-body.ss-shell-body .su-bottom-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

