:is(#library-ripples,#appunti-bruma,#margini-bruma,#strumenti-bruma,#percorsi-bruma,#catalog-bruma,body) .br-nav-hint{position:relative}
:is(#library-ripples,#appunti-bruma,#margini-bruma,#strumenti-bruma,#percorsi-bruma,#catalog-bruma,body) .br-nav-hint[aria-current]{color:var(--ab-accent,var(--mg-accent,var(--st-accent,#d3ad81)))}
:is(#library-ripples,#appunti-bruma,#margini-bruma,#strumenti-bruma,#percorsi-bruma,#catalog-bruma,body) :is(.lr-header,.ab-header,.mg-header,.st-header,.pc-header,.bc-header,.bruma-header) nav{align-items:center}
:is(#library-ripples,#appunti-bruma,#margini-bruma,#strumenti-bruma,#percorsi-bruma,#catalog-bruma,body) nav .br-nav-hint[aria-current]{border-bottom:0;padding:6px 0;text-decoration:none}
:is(#library-ripples,#appunti-bruma,#margini-bruma,#strumenti-bruma,#percorsi-bruma,#catalog-bruma,body) nav .br-nav-hint[aria-current]::after{content:'';position:absolute;bottom:0;left:0;right:0;height:4px;border-bottom:1px solid var(--ab-accent,var(--mg-accent,var(--st-accent,#d3ad81)));border-radius:50%;transform:rotate(-3deg)}
.br-nav-tooltip{position:fixed;z-index:1000;width:max-content;max-width:190px;padding:12px 15px;background:#e5dac5;color:#403b34;border:1px solid #f1e8d633;border-radius:2px;box-shadow:0 6px 18px #13181824;font:13px/1.45 Georgia,serif;text-align:left;letter-spacing:0;animation:br-nav-appear .16s ease-out}
.br-nav-tooltip[hidden]{display:none}
@keyframes br-nav-appear{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.br-nav-tooltip{animation:none}}

/* Five section links keep their own row before the header becomes cramped. */
@media(max-width:800px){
 :is(#library-ripples,#appunti-bruma,#margini-bruma,#strumenti-bruma,#percorsi-bruma,#catalog-bruma,body) :is(.lr-header,.ab-header,.mg-header,.st-header,.pc-header,.bc-header,.bruma-header){grid-template-columns:1fr 1fr;padding:24px;gap:24px 20px}
 :is(#library-ripples,#appunti-bruma,#margini-bruma,#strumenti-bruma,#percorsi-bruma,#catalog-bruma,body) :is(.lr-header,.ab-header,.mg-header,.st-header,.pc-header,.bc-header,.bruma-header) nav{grid-column:1/-1;grid-row:2;justify-content:space-between;gap:8px;font-size:11px}
 :is(#library-ripples,#appunti-bruma,#margini-bruma,#strumenti-bruma,#percorsi-bruma,#catalog-bruma,body) :is(.lr-andrea,.ab-andrea,.mg-andrea,.st-andrea,.pc-andrea,.bc-andrea,.bruma-andrea){grid-column:2;grid-row:1}
}
