@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Serif+SC:wght@400;600;700;900&display=swap');

/* 磁集在线 · 页眉 Logo（方案 C：中文 + 红色下划线 + MAGMEND） */
.magmend-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  cursor: default;
  user-select: none;
  gap: 0;
  position: relative;
}

.magmend-logo .logo-cn {
  font-family: 'Noto Serif SC', 'Songti SC', STSong, serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.12em;
  color: #ffffff;
  line-height: 1;
  padding-bottom: 4px;
  border-bottom: 2px solid #e63329;
}

.magmend-logo .logo-en {
  font-family: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  font-size: 9px;
  letter-spacing: 0.5em;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
  line-height: 1;
}

/* 浅色导航栏（首页） */
.magmend-logo--nav .logo-cn {
  color: #1e3a6e;
  font-size: 18px;
}

.magmend-logo--nav .logo-en {
  color: rgba(30, 58, 110, 0.45);
  font-size: 8px;
  letter-spacing: 0.45em;
}

/* app 页眉条 */
.magmend-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.magmend-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

/* 与毛坯厂 topbar .userbox 中「磁铁企业后台」按钮一致 */
.app-userbox {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.app-portal-jump-btn {
  border: 0;
  border-radius: 11px;
  padding: 9px 14px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
  transition: 0.18s ease;
  white-space: nowrap;
}

.app-portal-jump-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.14);
}

.magmend-header-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 6px;
}

.magmend-header-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .magmend-logo .logo-cn { font-size: 17px; }
  .magmend-logo .logo-en { font-size: 8px; letter-spacing: 0.4em; }
  .magmend-header-tagline { font-size: 12px; }
  .magmend-header-divider { height: 22px; }
  .magmend-header-inner { flex-direction: column; align-items: flex-start; }
  .app-userbox { width: 100%; justify-content: flex-start; }
}
