/* The top bar: one rounded rectangle, same markup on every page. Styled only here.
   Brand colours: #000000, #ffffff, #8077ff (brain/brand-colors.md). */
.bar { position: fixed; z-index: 10; top: 12px; left: 12px; right: 12px; height: 38px; display: flex; align-items: center; gap: 22px; padding: 0 6px 0 14px;
  background: rgba(255,255,255,0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid #e6e6e6; border-radius: 9px;
  font: var(--mono); letter-spacing: 0.02em; text-transform: uppercase; color: #000; }
.bar a { color: inherit; text-decoration: none; }
.bar .home { color: #000; white-space: nowrap; }
.bar nav { display: flex; gap: 16px; }
.bar nav .off { cursor: default; }
.bar .clocks { display: flex; gap: 16px; margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar .clocks span b { font: inherit; margin-right: 6px; }
.bar .clocks time { font: inherit; letter-spacing: inherit; }
.bar .letter { display: flex; align-items: center; gap: 4px; }
.bar .letter input:focus { outline: none; border-color: #8077ff; }
.bar .letter input { width: 272px; height: 26px; padding: 0 9px; border: 1px solid #e6e6e6; border-radius: 6px; background: #fff; font: inherit; letter-spacing: inherit; text-transform: uppercase; color: #000; }
.bar .letter input::placeholder { color: #000; opacity: 1; text-transform: uppercase; }
.bar .letter button { height: 26px; padding: 0 10px; border: 0; border-radius: 6px; background: #8077ff; color: #000; font: inherit; letter-spacing: inherit; text-transform: uppercase; cursor: pointer; }
.bar .letter :disabled { cursor: default; }
.bar .letter input:disabled { -webkit-text-fill-color: #000; color: #000; }
.bar .letter button:disabled { background: #fff; border: 1px solid #e6e6e6; color: #000; }
@media (max-width: 1000px) { .bar .clocks span:nth-child(-n+2) { display: none; } }
@media (max-width: 820px) { .bar .letter { display: none; } }
@media (max-width: 460px) { .bar .clocks { display: none; } .bar nav { margin-left: auto; } }
