.footer-region {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    z-index: var(--theme-z-sticky);
}

.footer {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 18px;
    gap: 12px;
    background: var(--theme-surface-raised);
    border-top: 1px solid var(--theme-border-subtle);
    font-family: var(--theme-font-sans);
    font-size: var(--theme-font-xs);
    color: var(--theme-text-tertiary);
    transform: translateY(100%);
    transition: transform 220ms ease;
}

.footer-region:hover .footer,
.chrome-pinned .footer {
    transform: translateY(0);
}

.footer-spacer,
.footer-remaining {
    flex: 1 1 0;
}

.footer-remaining {
    text-align: end;
}

.footer-page {
    flex: 0 0 auto;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--theme-text-secondary);
    font: inherit;
    padding: 4px 10px;
    border-radius: var(--theme-radius-sm);
}

.footer-page:hover {
    background: var(--theme-bg-secondary);
    color: var(--theme-text-primary);
}
