/* Static language links have the same treatment as the original controls. */
.hub-languages a,.langs a{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;text-decoration:none;border-radius:8px;color:inherit;font:500 13px/1.4 var(--family-body,system-ui,sans-serif)}
.hub-languages a[aria-current=page],.langs a[aria-current=page]{background:var(--family-text,#f3f2ef);color:var(--family-bg,#1b1d21)}
body[data-family] .top .langs a{min-height:40px;min-width:40px;padding:8px}
.family-settings-button{min-width:40px;height:40px}
.family-nav-links a{display:inline-flex;align-items:center;min-height:40px}
body[data-family] .screen img{display:block;width:100%;height:auto;aspect-ratio:8/5}
body[data-family=uni-homebot] main p a,body[data-family=uni-homebot] main li a{text-decoration:underline;text-underline-offset:3px}
/* Reserve the navigation height, including the settings control added by JS. */
.family-nav-inner{min-height:64px}
@media(max-width:760px){
 .family-nav-inner{display:grid;grid-template-columns:auto 1fr auto;gap:4px 10px;padding-block:10px;min-height:100px}
 .family-brand{grid-column:1;grid-row:1}
 .hub-languages{grid-column:2;grid-row:1;justify-self:end;margin-left:0}
 .family-settings-button{grid-column:3;grid-row:1;margin-left:0}
 .family-nav-links{grid-column:1/-1;grid-row:2;justify-content:center;gap:4px 14px}
 .hub-languages a{min-width:36px}
 }

.kofi-row{margin:18px 0 22px}.kofi{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:10px;background:var(--family-text,#eef0ea);color:var(--family-bg,#1b1d21)!important;font-weight:600;text-decoration:none}.kofi:hover{filter:brightness(.92)}.kofi-row{display:flex;flex-wrap:wrap;gap:10px}.kofi-alt{background:transparent;color:var(--family-text,#eef0ea)!important;border:1px solid var(--family-line,#363a41)}.kofi-alt:hover{filter:none;border-color:var(--family-muted,#a2a8b2)}
