.footer-character-exclusion {
    display: none;
}

body.light-theme .footer {
    background: var(--bg-primary);
    border-top: 0;
}

body.light-theme .footer-content {
    --footer-character-height: 205px;
    --footer-character-floor: 244px;
    position: relative;
    grid-template-columns: 1.1fr 1fr 1fr;
    align-items: start;
    min-height: 270px;
}

body.light-theme .footer .footer-section {
    display: flow-root;
    position: relative;
    z-index: 1;
    min-width: 0;
    pointer-events: none;
}

body.light-theme .footer .footer-section :is(a, p, h3, .logo-monogram) {
    pointer-events: auto;
}

body.light-theme .footer .footer-section h3 {
    display: block;
}

body.light-theme .footer .footer-section p {
    line-height: 1.8;
    overflow-wrap: anywhere;
}

body.light-theme .footer .footer-section .logo-monogram {
    display: inline-block;
}

body.light-theme .footer-social {
    display: block;
    line-height: 52px;
}

body.light-theme .footer-social a {
    display: inline-flex;
    margin: 0 6px 6px 0;
    vertical-align: middle;
    line-height: 1;
}

body.light-theme .footer-character-exclusion {
    display: block;
    width: 0;
    height: 0;
    pointer-events: none;
}

body.light-theme #professionalCharacterCanvas {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    touch-action: pan-y;
    cursor: pointer;
}

body.light-theme #professionalCharacterCanvas[hidden] {
    display: none;
}

body.light-theme .footer-character-status:not(.character-error) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

body.light-theme .footer-retry {
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--primary-color);
    font: 600 14px var(--font-secondary);
    padding: 8px 12px;
    cursor: pointer;
}

@media (max-width: 768px) {
    body.light-theme .footer-content {
        --footer-character-height: 160px;
        --footer-character-floor: 342px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    body.light-theme .footer .footer-section:first-child {
        grid-column: 1 / -1;
    }
}