body.se-has-site-footer {
    --se-site-footer-reserve: 3.35rem;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body.se-has-site-footer > main.main-content {
    flex: 1 0 auto;
    width: 100%;
}

.se-site-footer {
    flex-shrink: 0;
    margin-top: auto;
    position: relative;
    z-index: 80;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid var(--border-primary, rgba(148, 163, 184, 0.35));
    background: var(--bg-secondary, #1e293b);
    color: var(--text-muted, #94a3b8);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
}

.se-site-footer__inner {
    max-width: var(--se-layout-max, 1560px);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 0;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.se-site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 0;
}

.se-site-footer a {
    color: var(--text-secondary, #e2e8f0);
    text-decoration: none;
    padding: 2px 8px;
    white-space: nowrap;
}

.se-site-footer a:hover {
    color: var(--text-primary, #fff);
    text-decoration: underline;
}

.se-site-footer__sep {
    color: var(--text-muted, #64748b);
    opacity: 0.55;
    user-select: none;
    padding: 0 2px;
}

.se-site-footer__copy {
    color: var(--text-muted, #94a3b8);
    padding: 2px 8px;
    white-space: nowrap;
}

@media (max-width: 520px) {
    .se-site-footer {
        padding-top: 12px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .se-site-footer__inner {
        font-size: 11.5px;
    }
}
