html, body { margin: 0; padding: 0; }

/* 横幅栏样式 */
.header-bar {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 100;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222;
}
.header-bar,
.header-bar * {
  box-sizing: border-box;
}
.header-bar a,
.header-bar button {
  font: inherit;
  line-height: 1.2;
}
.header-bar button {
  appearance: none;
  -webkit-appearance: none;
}
.header-bar img {
  display: block;
  max-width: none;
}
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; }
.header-left { display: flex; align-items: center; gap: 10px; }
.header-logo { display: inline-flex; align-items: center; }
.header-logo img { height: 32px; width: auto; display: block; }
.header-nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 40px; }
.header-nav .nav-item { color: #333333; font-weight: 400; letter-spacing: 0; text-decoration: none; cursor: pointer; }
/* .header-nav .nav-item { pointer-events: none; cursor: default; } Remove this to enable clicks */
.header-right { display: inline-flex; align-items: center; position: relative; }
.avatar-btn { border: none; background: transparent; padding: 0; margin: 0; display: inline-flex; align-items: center; cursor: pointer; }
.avatar-btn img { height: 32px; width: 32px; border-radius: 50%; display: block; }
.avatar-dropdown { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid #eee; box-shadow: 0 10px 28px rgba(0,0,0,0.12); border-radius: 10px; width: 200px; padding: 8px; display: none; }
.avatar-dropdown.open { display: block; }
.dropdown-item { width: 100%; border: none; background: transparent; text-align: left; padding: 8px 10px; border-radius: 8px; color: #222; font-size: 14px; cursor: pointer; }
.dropdown-item:hover { background: #f5f5f5; }
.dropdown-item:disabled { color: #aaa; cursor: not-allowed; background: transparent; }
