.header-bar { z-index: 40; color: #f2f3f5; }
.header-bar a { font-weight: 500; }
.header-bar-inner { position: relative; gap: 24px; }
.header-latest { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; padding: 8px 0; font-size: 12px; line-height: 1.5; }
.header-latest .status-dot { flex: 0 0 5px; }
.header-latest-preview { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: inherit; text-decoration: none; }
.header-latest-preview:hover { color: #fff; }
.header-latest-preview:focus-visible { outline: 2px solid #f6cf46; outline-offset: 2px; }
.header-bar-shortcuts { display: flex; align-items: center; gap: 18px; flex: none; white-space: nowrap; font-size: 12px; }
.header-bar-shortcuts a { position: relative; padding: 6px 0; color: inherit; line-height: 1.5; text-decoration: none; }
.header-bar-shortcuts a::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: #f6cf46; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.header-bar-shortcuts a:hover, .header-bar-shortcuts a[aria-current="page"] { color: #fff; }
.header-bar-shortcuts a:hover::after, .header-bar-shortcuts a:focus-visible::after { transform: scaleX(1); }
.header-bar-shortcuts a:focus-visible { outline: 2px solid #f6cf46; outline-offset: 3px; }
@media (max-width: 640px) {
    .header-bar-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 4px; padding-bottom: 3px; }
    .header-latest { display: none; }
    .header-bar-shortcuts { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
    .header-bar-shortcuts a::after { transition: none; }
}
