/* The original theme hides the entire footer below 768px. Keep its editable contents visible. */
footer.site-footer[data-tabi-footer-media]{display:block!important;isolation:isolate}
.site-footer .tabi-footer-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;z-index:0}
.tabi-brand-media{width:min(var(--tabi-brand-width,240px),100%);margin-inline:auto;overflow:hidden;border:1px solid #ffffff3d;border-radius:18px;background:#0b0d16;box-shadow:0 1px 0 #ffffff14}
.tabi-brand-video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.tabi-brand-gif{display:block;width:100%;height:auto}
.tabi-brand-text{white-space:pre-line}
.tabi-brand-video[hidden]{display:none}
.tabi-brand-fallback{padding:18px;min-height:72px;align-items:center;justify-content:center}
.tabi-brand-fallback:not([hidden]){display:flex}
.tabi-brand-fallback .tabi-app-logo{max-width:100%;max-height:72px;width:auto}
@media(max-width:767px){
 footer.site-footer[data-tabi-footer-media]{margin-top:32px;padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
 .site-footer .tabi-footer-watermark{display:block;left:auto;right:-32px;top:auto;bottom:12px;width:280px;max-width:80vw;transform:none;translate:none}
 .site-footer nav{gap:14px 20px;line-height:1.6}
 .site-footer p{overflow-wrap:anywhere}
}
