.pho-footer { position: fixed; z-index: 55; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: var(--pho-max); min-height: calc(var(--pho-footer-h) + var(--pho-safe-bottom)); padding-bottom: var(--pho-safe-bottom); background: rgba(0,0,0,.98); border-top: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(18px); }
.pho-footer__inner { min-height: var(--pho-footer-h); display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); align-items: stretch; }
.pho-footer__item { position: relative; min-width: 0; border: 0; background: transparent; color: #d0d0d8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 7px 2px 5px; font-size: 10px; line-height: 1.05; font-weight: 720; cursor: pointer; text-align: center; }
.pho-footer__item .pho-icon { width: 22px; height: 22px; }
.pho-footer__item.is-active { color: var(--pho-pink); }
.pho-footer__item:active { background: rgba(255,255,255,.055); }
.pho-footer__item:focus-visible { outline: 2px solid var(--pho-pink); outline-offset: -2px; }
@media (max-width: 430px) { .pho-footer__item { font-size: 9px; gap: 4px; } .pho-footer__item .pho-icon { width: 21px; height: 21px; } }
@media (max-width: 390px) { .pho-footer__item { font-size: 8.5px; letter-spacing: -.01em; padding-inline: 1px; } .pho-footer__item .pho-icon { width: 20px; height: 20px; } }

/* User notification badge moved from Header to the global footer rail. */
.pho-footer__notification-badge {
    position: absolute;
    z-index: 8;
    top: 5px;
    left: 50%;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: 1.5px solid #032016;
    border-radius: 999px;
    background: var(--pho-pink, #ff2f8b);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 8.5px !important;
    font-weight: 900;
    line-height: 1;
    box-sizing: border-box;
    transform: translateX(7px);
    pointer-events: none;
    transition: transform .22s ease;
}
.pho-footer--runtime-ready .pho-footer__item.is-footer-current .pho-footer__notification-badge {
    transform: translate(7px, -18px);
}
@media (max-width: 390px) {
    .pho-footer__notification-badge {
        top: 4px;
        min-width: 16px;
        height: 16px;
        font-size: 8px !important;
    }
    .pho-footer--runtime-ready .pho-footer__item.is-footer-current .pho-footer__notification-badge {
        transform: translate(7px, -17px);
    }
}
