/* Shared header disclosures: the same paper-white pills as the folder menu. */
header{padding-right:max(86px,4vw)}
.header-actions{display:flex;align-items:center;gap:12px}
.header-disclosure{position:relative}
.header-icon{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #555;border-radius:50%;background:transparent;color:#fff;transition:background .2s,border-color .2s}
.header-icon:hover,.header-disclosure.is-open .header-icon{background:#2b2b2b;border-color:#999}
.header-icon svg{width:22px;height:22px;display:block}
header .header-icon:focus-visible{outline:2px solid white;outline-offset:5px}
header .header-pills{position:absolute;left:50%;right:auto;top:100%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px 0 8px;margin:0;width:max-content;max-width:calc(100vw - 32px);visibility:hidden;pointer-events:none;transition:visibility 0s .2s;z-index:20}
header .header-pill{display:flex;align-items:center;justify-content:center;min-height:40px;padding:10px 20px;border:0;border-radius:999px;background:#f5f5f5;color:#18181b;font-size:14px;font-weight:500;text-decoration:none;white-space:nowrap;box-shadow:0 4px 12px #00000024;opacity:0;transform:translateY(-8px) rotate(var(--pill-tilt,-4deg)) scale(.94);transform-origin:center;transition:opacity .18s ease,transform .3s cubic-bezier(.23,1,.32,1),background .16s;}
.header-disclosure.is-open .header-pills{visibility:visible;pointer-events:auto;transition-delay:0s}
.header-disclosure.is-open .header-pill{opacity:1;transform:translateY(0) rotate(var(--pill-tilt,-4deg)) scale(1);transition-delay:calc(var(--item,0)*65ms)}
header .header-pill:hover{background:#fff;box-shadow:0 6px 20px #0004}
header .header-pill:focus-visible{outline:2px solid white;outline-offset:4px}
@media(prefers-reduced-motion:reduce){header .header-pills,header .header-pill{transition:none!important}}
@media(max-width:750px){.header-actions{gap:10px}header .header-pill{min-height:44px}}

#header-navigation .header-pill:nth-child(1){--pill-tilt:-5deg}
#header-navigation .header-pill:nth-child(2){--pill-tilt:4deg}
#header-navigation .header-pill:nth-child(3){--pill-tilt:-3deg}
#header-navigation .header-pill:nth-child(4){--pill-tilt:5deg}
@media(max-width:380px){header .brand{font-size:16px}.header-actions{gap:8px}}

.header-icon.cat-link svg{width:26px;height:26px}

#cat-links .header-pill{--pill-tilt:4deg}
