/* 全站统一头部（与首页一致） */
#siteHead { position: relative; z-index: 100; font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif; }

#siteHead .rh-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

#siteHead .rh-topbar { background: #2c2326; color: #cbbfc3; font-size: 12px; }
#siteHead .rh-topbar .rh-wrap { display: flex; align-items: center; justify-content: space-between; height: 36px; }
#siteHead .rh-topbar a { color: #e6dadd; text-decoration: none; }
#siteHead .rh-topbar a:hover { color: #fff; }
#siteHead .rh-topbar-left { display: flex; align-items: center; gap: 16px; }

#siteHead .rh-city-picker { position: relative; }
#siteHead .rh-city-picker summary { cursor: pointer; list-style: none; }
#siteHead .rh-city-picker summary::-webkit-details-marker { display: none; }
#siteHead .rh-city-panel {
  position: absolute; z-index: 60; top: 26px; left: -12px; width: 300px;
  background: #fff; color: #241d20; border-radius: 12px; padding: 12px;
  box-shadow: 0 22px 60px rgba(74,30,42,.16); display: flex; flex-wrap: wrap; gap: 6px;
}
#siteHead .rh-city-panel a { color: #4b4145; padding: 3px 8px; border-radius: 999px; font-size: 12px; }
#siteHead .rh-city-panel a:hover { background: #ffe8ed; color: #b8173a; }

#siteHead .rh-header {
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid #f2e6e9; position: sticky; top: 0; z-index: 50;
}
#siteHead .rh-header .rh-wrap { display: flex; align-items: center; gap: 28px; height: 76px; }

#siteHead .rh-logo { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; color: #241d20; }
#siteHead .rh-logo-mark {
  width: 42px; height: 42px; border-radius: 13px;
  background: linear-gradient(135deg, #ff4d6d 0%, #b8173a 100%);
  position: relative; box-shadow: 0 6px 16px rgba(224,47,82,.32);
}
#siteHead .rh-logo-mark svg { width: 100%; height: 100%; display: block; }
#siteHead .rh-logo-text b { display: block; font-size: 19px; letter-spacing: 1px; line-height: 1.3; }
#siteHead .rh-logo-text span { display: block; font-size: 10px; letter-spacing: 2.5px; color: #8d8187; text-transform: uppercase; }

#siteHead .rh-nav { display: flex; gap: 4px; flex: 1; }
#siteHead .rh-nav a {
  padding: 10px 14px; border-radius: 999px; font-size: 15px; color: #4b4145;
  white-space: nowrap; text-decoration: none; line-height: 1.3;
}
#siteHead .rh-nav a:hover { background: #fff5f7; color: #e02f52; }
#siteHead .rh-nav a.on { color: #b8173a; font-weight: 600; background: #ffe8ed; }

#siteHead .rh-search { display: flex; align-items: center; gap: 8px; flex: none; margin: 0; }
#siteHead .rh-search input[type="search"] {
  width: 168px; height: 38px; border: 1px solid #f2e6e9; border-radius: 999px;
  padding: 0 16px; background: #fff; outline: none; transition: .2s;
  font-size: 13px; color: #241d20; margin: 0;
}
#siteHead .rh-search input[type="search"]:focus { border-color: #ff4d6d; box-shadow: 0 0 0 4px rgba(255,77,109,.10); }
#siteHead .rh-search button {
  height: 38px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #ff4d6d, #e02f52); color: #fff; font-size: 13px;
}

#siteHead .rh-user { display: flex; align-items: center; gap: 10px; flex: none; position: relative; }
#siteHead .rh-user > a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #241d20; }
#siteHead .rh-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(74,30,42,.06); background: #ffe8ed; }
#siteHead .rh-username { font-size: 13px; max-width: 86px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

#siteHead .rh-menu {
  display: none; position: absolute; right: 0; top: 100%; margin-top: 10px; width: 180px;
  background: #fff; border-radius: 12px; box-shadow: 0 22px 60px rgba(74,30,42,.16);
  padding: 8px; z-index: 80;
}
#siteHead .rh-user:hover .rh-menu { display: block; }
#siteHead .rh-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 13px; color: #4b4145; text-decoration: none; }
#siteHead .rh-menu a:hover { background: #fff5f7; color: #b8173a; }

#siteHead .rh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 13px; font-weight: 500; white-space: nowrap; text-decoration: none;
  background: linear-gradient(135deg, #ff4d6d 0%, #b8173a 100%); color: #fff;
  box-shadow: 0 8px 20px rgba(224,47,82,.30); transition: .22s;
}
#siteHead .rh-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(224,47,82,.38); }

@media (max-width: 1180px) {
  #siteHead .rh-nav a { padding: 9px 10px; font-size: 14px; }
  #siteHead .rh-search input[type="search"] { width: 130px; }
}
@media (max-width: 980px) {
  #siteHead .rh-header .rh-wrap { height: 64px; gap: 14px; flex-wrap: wrap; }
  #siteHead .rh-nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 8px; }
  #siteHead .rh-nav::-webkit-scrollbar { display: none; height: 0; }
  #siteHead .rh-search { display: none; }
}
@media (max-width: 720px) {
  #siteHead .rh-topbar .rh-wrap { height: auto; min-height: 32px; padding: 5px 0; flex-wrap: wrap; gap: 2px 12px; }
  #siteHead .rh-topbar-left { gap: 12px; }
  #siteHead .rh-topbar-left span { display: none; }
  #siteHead .rh-topbar { font-size: 11px; }
  #siteHead .rh-header .rh-wrap { height: auto; min-height: 64px; padding: 8px 0 6px; flex-wrap: wrap; row-gap: 2px; }
  #siteHead .rh-nav { order: 3; width: 100%; flex: 0 0 100%; flex-wrap: wrap; row-gap: 2px; overflow: visible; padding: 2px 0; }
  #siteHead .rh-nav a { padding: 8px 10px; font-size: 14px; }
  #siteHead .rh-logo-text b { font-size: 16px; }
}
@media (max-width: 420px) {
  #siteHead .rh-logo-text span { display: none; }
  #siteHead .rh-nav { flex-wrap: nowrap; overflow-x: auto; }
}
