/* Logo 与深空蓝背景融合（透明 PNG） */
.logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.25rem;
  margin: 0 auto 1rem;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.logo-wrap--card {
  margin-bottom: 1rem;
}

.site-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(88vw, 200px);
  max-height: clamp(56px, 14vw, 88px);
  object-fit: contain;
  opacity: 0.97;
  filter: drop-shadow(0 2px 10px rgba(10, 36, 99, 0.38))
          drop-shadow(0 0 14px rgba(37, 99, 235, 0.2));
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.logo-wrap:hover .site-logo {
  opacity: 1;
  filter: drop-shadow(0 3px 14px rgba(10, 36, 99, 0.48))
          drop-shadow(0 0 18px rgba(59, 130, 246, 0.28));
  transform: scale(1.02);
}

/* 登录页：卡片内居中 */
.card .logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.card .site-logo {
  max-height: 72px;
  max-width: min(72vw, 220px);
}

/* 首页 hero：与面板背景一体，无外框 */
.hero-brand-inner .logo-wrap {
  width: auto;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0.2rem;
  border-radius: 0;
}

.hero-brand-inner .site-logo {
  max-width: 88px;
  max-height: 88px;
}

/* 登录页横排：左侧 Logo，右侧两行标题 */
.login-header .login-header-logo .site-logo {
  max-height: 56px;
  max-width: 56px;
}
