/* 全站 Logo：浅色主题用 logo.png，深色主题用 logo-white.png */
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.site-brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.site-logo {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  display: block;
}

.site-brand-text {
  font-weight: 700;
  line-height: 1.2;
}

.nav-brand .site-brand-text {
  font-size: 1.05rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ws-brand .site-brand-text,
.notes-brand .site-brand-text,
.uc-brand .site-brand-text,
.al-brand .site-brand-text {
  color: var(--ink-text, var(--text));
  -webkit-text-fill-color: currentColor;
  background: none;
}

.al-brand .site-brand-text {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.05rem;
}

[data-theme='twilight'] .uc-brand .site-brand-text,
[data-theme='autumnnight'] .uc-brand .site-brand-text,
[data-theme='twilight'] .al-brand .site-brand-text,
[data-theme='autumnnight'] .al-brand .site-brand-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 浅色背景主题 */
[data-theme="spring"] .site-logo--on-dark,
[data-theme="plumrain"] .site-logo--on-dark {
  display: none;
}

/* 深色背景主题 */
[data-theme="twilight"] .site-logo--on-light,
[data-theme="autumnnight"] .site-logo--on-light {
  display: none;
}

.auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.auth-brand .site-logo {
  width: 3rem;
  height: 3rem;
}
