/* fixed bar: transparent over the door, night with a brass rule after it */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: 0 var(--gutter);
}
.bar::before, .bar::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; transition: opacity 200ms ease; opacity: 0; }
.bar::before { inset: 0; background: rgba(13, 15, 12, 0.94); }
.bar::after { bottom: 0; height: 1px; background: var(--brass-deep); }
.bar.is-solid::before, .bar.is-solid::after, html:not(.js) .bar::before, html:not(.js) .bar::after { opacity: 1; }
.bar > * { position: relative; z-index: 1; }

.bar-mark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--brass); text-decoration: none; }
.clock { flex: none; color: var(--brass); }
.hand { transform-origin: 12px 12px; transition: transform 120ms var(--ease-sine-out); }
.hand-h { transition: none; }
.bar-name { font: 700 var(--t-label) var(--f-sc); letter-spacing: 0.08em; color: var(--ivory); }
.bar-ai { display: none; color: var(--ivory-dim); font-weight: 400; }

.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4);
  background: var(--brass); color: var(--night); text-decoration: none; white-space: nowrap;
  font: 700 0.875rem var(--f-sc); letter-spacing: 0.08em; position: relative; overflow: hidden; isolation: isolate;
  transition: background-color 200ms ease, box-shadow 200ms ease;
}
.chip::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%); background: linear-gradient(100deg, transparent 20%, rgba(220, 192, 126, 0.6) 50%, transparent 80%); }
.chip:active { background: var(--brass-glint); box-shadow: 0 0 26px 1px rgba(242, 199, 122, 0.5); }
@media (hover: hover) and (pointer: fine) { .chip:hover { background: var(--brass-glint); box-shadow: 0 0 18px 0 rgba(242, 199, 122, 0.3); } }
.chip-l { display: none; }

@media (min-width: 900px) {
  .bar-ai { display: inline; }
  .chip-s { display: none; }
  .chip-l { display: inline; }
  .chip { padding: 0 var(--s-5); font-size: 0.9375rem; }
}
