/* Navigation strip at the very top of every k0bayashi.com page while signed in (bar.js). In the page flow (nothing is covered),
   stays on one horizontally scrollable row.
   Owner 15/11/2026: the strip is NEUTRAL — plain black and white, system font — and never changes with the theme, so it stays
   the same on every site and in every theme. Do not add [data-kb-theme] rules or --kb-* tokens here. */
#kb-bar{position:relative;z-index:50;display:flex;flex-wrap:nowrap;align-items:center;gap:2px;padding:5px 10px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x;
  background:#000;color:#fff;border-bottom:1px solid #2a2a2a;box-shadow:none;color-scheme:dark;
  font:600 11px/1 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.08em;text-transform:uppercase}
#kb-bar::-webkit-scrollbar{display:none}
#kb-bar a,#kb-bar button{all:unset;box-sizing:border-box;flex:0 0 auto;cursor:pointer;white-space:nowrap;padding:8px 10px;border-radius:4px;color:#a3a3a3;transition:color .15s,background .15s}
#kb-bar a:hover,#kb-bar button:hover{color:#fff;background:#1f1f1f}
#kb-bar a[aria-current]{color:#fff;background:#262626;box-shadow:inset 0 0 0 1px #404040}
#kb-bar .kb-signout{color:#a3a3a3}
#kb-bar .kb-signout:hover{color:#fff;background:#1f1f1f}
#kb-bar .kb-x{color:#fff;padding:8px 8px 8px 4px}
#kb-bar .kb-name{flex:0 0 auto;padding:8px 10px 8px 4px;color:#fff;margin-right:4px;border-right:1px solid #2a2a2a}
#kb-bar .kb-sp{flex:1 0 4px;min-width:4px;height:24px;margin-right:4px;border-right:1px solid #2a2a2a}
#kb-bar.kb-min>:not(.kb-x):not(.kb-name){display:none}
#kb-bar.kb-min{padding-top:3px;padding-bottom:3px}
#kb-bar a:focus-visible,#kb-bar button:focus-visible{outline:2px solid #fff;outline-offset:-2px}
