/* Shared top bar and language switch for standalone note pages */

.note-site-bar {
  background: #070d19;
  color: rgba(255, 255, 255, 0.85);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", sans-serif;
  font-size: 14px;
  padding: 10px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  border-bottom: 3px solid #00c5b7;
}

.note-site-bar__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  min-width: 0;
}

.note-site-bar__nav a,
.note-site-bar > a {
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
  color: #00c5b7;
  text-decoration: none;
  font-weight: 700;
}

.note-site-bar__nav a:hover,
.note-site-bar > a:hover {
  text-decoration: underline;
}

.note-site-bar__nav > span,
.note-site-bar > span {
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.55);
}

.note-site-bar nav.note-lang-switch {
  position: static;
  top: auto;
  z-index: auto;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
  padding: 0;
  overflow: visible;
}

.note-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.note-site-bar .note-lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 1.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.note-site-bar .note-lang-switch a:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  text-decoration: none;
}

.note-site-bar .note-lang-switch a[aria-current="true"] {
  background: #fff;
  border-color: #fff;
  color: #070d19;
  pointer-events: none;
}

.note-site-bar .note-lang-switch a.is-soon {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.32);
  cursor: not-allowed;
  pointer-events: none;
}

.note-eyebrow {
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 13px;
  color: #bae6fd;
  margin-bottom: 10px;
}

@media print {
  .note-site-bar {
    display: none;
  }
}
