:root{--q-footer-height:32px}
.q-other-sites{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;color:#506871;font-size:12px;line-height:1.7}
.q-other-sites>span{flex-basis:auto;white-space:nowrap}
.q-other-sites a{color:#365e67;text-decoration:none;white-space:nowrap}
.q-other-sites a:hover{text-decoration:underline;text-underline-offset:4px}

.q-friend-links{display:flex;align-items:center;justify-content:center;min-height:var(--q-footer-height);padding:5px 24px;border-top:1px solid var(--q-line)}
.q-friend-links .q-other-sites{justify-content:center;border-top:0;padding:0;margin:0;font-size:12px;gap:8px 16px}
.q-friend-links .q-other-sites>span{font-size:12px}
body.q-module-hub{display:flex;flex-direction:column}
.q-module-hub>.q-page{flex:1 0 auto;align-self:center;width:calc(100% - 96px);margin-inline:0}

html[data-q-app=view] #app{display:flex;flex-direction:column;min-height:100dvh}
html[data-q-app=view] .sidebar{flex-shrink:0}
html[data-q-app=view] .shell{display:flex;flex-direction:column;flex:1;min-width:0}
html[data-q-app=view] .shell>#main{flex:1 0 auto;min-width:0;width:100%}
html[data-q-app=view] .visual-site-footer{display:flex;align-items:center;justify-content:center;flex:none;min-height:var(--q-footer-height);padding:5px 24px;border-top:1px solid var(--q-line);gap:0}
.visual-site-footer .q-other-sites{justify-content:center}
@media(min-width:761px){html[data-q-app=view] .sidebar-bottom{margin-top:auto}}

html[data-q-app=blog] .site-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.site-footer .q-other-sites{font-size:12px;gap:9px 16px}
.site-footer .footer-right{margin-left:auto}
html[data-q-app=blog] .site-footer .q-other-sites a{font-size:12px}
@media(max-width:760px){.site-footer .footer-right{margin-left:0}.site-footer .q-other-sites{font-size:12px;gap:8px 15px}}
@media(max-width:700px){.q-module-hub>.q-page{width:calc(100% - 40px)}}
