/* SkyShot Mobile Tabbar */
.ss-mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    height: 64px;
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
    display: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 6px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--skyshot-border, #e2e8f0);
    backdrop-filter: saturate(180%) blur(12px);
}

.ss-mobile-tabbar__item {
    height: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--skyshot-text-muted, #64748b);
    text-decoration: none;
    border-radius: 12px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.ss-mobile-tabbar__icon {
    width: 20px;
    height: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ss-mobile-tabbar__label {
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.2px;
}

.ss-mobile-tabbar__item.is-active {
    color: var(--skyshot-primary, #2563eb);
    background: rgba(37, 99, 235, 0.08);
}

.ss-mobile-tabbar__icon-svg {
    width: 20px;
    height: 20px;
}
.ss-mobile-tabbar__fab {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--skyshot-primary, #2563eb), var(--skyshot-primary-light, #3b82f6));
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
    border: 0;
    cursor: pointer;
}

.ss-mobile-tabbar__fab-trigger[aria-expanded="true"] {
    transform: translateY(-2px) rotate(45deg);
}

.ss-mobile-tabbar__fab-plus {
    width: 28px;
    height: 28px;
    line-height: 1;
    margin-top: -3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ss-mobile-tabbar__backdrop {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(2, 6, 23, 0.35);
}

.ss-mobile-tabbar__fab-plus-svg {
    width: 24px;
    height: 24px;
}

.ss-mobile-tabbar__panel {
    position: fixed;
    right: 14px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    z-index: 1001;
    padding: 10px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    display: grid;
    gap: 8px;
    min-width: 180px;
}

.ss-mobile-tabbar__panel-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #0f172a;
    text-decoration: none;
    background: #f8fafc;
}

.ss-mobile-tabbar__panel-item.is-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--skyshot-primary, #2563eb), var(--skyshot-primary-light, #3b82f6));
}

.ss-mobile-tabbar__panel-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ss-mobile-tabbar__panel-icon-svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .ss-mobile-tabbar {
        display: grid;
    }

    body.ss-plugin-has-mobile-tabbar {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    body.ss-mobile-tabbar-panel-open {
        overflow: hidden;
    }
}
