/* ============================================================
   顶栏 nk-user 统一补丁 (2026-10-21)
   背景：home 套共享页（About/FAQ/Contact/User-Guide/Terms/Privacy
   等）不加载 store-page.css，顶栏 nk-user 块被主题基础样式覆盖：
   - 全局 a{color:var(--servixa-base)} → 登录/注册链接变品牌青
   - .nk-user-who (span) 无 color → 继承正文灰 #585b6b
   本文件以 .main-menu-three__top 高特异性前缀强制白色系，
   与 store 产品页顶栏 (store-page.css) 完全一致。
   加载点：home/style.html（三套模板共用，置于 style-20261021.css 之后）
   ============================================================ */
.main-menu-three__top .nk-user-menu{position:relative;display:flex;align-items:center;flex-wrap:wrap;row-gap:2px}
.main-menu-three__top .nk-user-who{display:inline-flex;align-items:center;margin-right:14px;color:rgba(255,255,255,.85);font-size:16px;line-height:30px;font-weight:700}
.main-menu-three__top .nk-user-name{color:#fff;font-size:16px;font-weight:700;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.main-menu-three__top .nk-user-who .nk-user-name{margin-left:5px}
.main-menu-three__top .nk-user-flat-link{position:relative;color:rgba(255,255,255,.88);font-size:16px;line-height:30px;text-decoration:none;transition:color 300ms linear;font-weight:700}
.main-menu-three__top .nk-user-flat-link:hover{color:#fff;text-decoration:none}
.main-menu-three__top .nk-user-flat-link--out{color:rgba(0,137,166,.95)}
.main-menu-three__top .nk-user-flat-link--out:hover{color:#ff9a8c}
.main-menu-three__top .nk-user-flat-sep{color:rgba(255,255,255,.35);font-size:13px;margin:0 12px}

/* ---- 移动端用户图标 nk-mobile-user（2026-10-21 追加，与 store/header-pc.html 一致）----
   home 页不加载 store-page.css，此处用直值（#0089A6 等）替代 store 专用变量；
   scope 限定 .main-menu-three__mobile-controls，不影响 member/store 页既有下拉。 */
.main-menu-three__mobile-controls .nk-mobile-user{position:relative;display:inline-flex;align-items:center}
.main-menu-three__mobile-controls .nk-mobile-user-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background-color:rgba(255,255,255,.14);color:#fff;font-size:14px;transition:all 300ms linear}
.main-menu-three__mobile-controls .nk-mobile-user-btn:hover{background-color:#0089A6;color:#fff}
.main-menu-three__mobile-controls .nk-user-dropdown{position:absolute;top:calc(100% + 14px);left:auto;right:-60px;min-width:172px;background-color:#fff;border-radius:10px;box-shadow:0px 12px 40px 0px rgba(0,0,0,.18);padding:8px 0;margin:0;list-style:none;opacity:0;visibility:hidden;transform:translateY(10px);transition:all 300ms ease;z-index:120}
.main-menu-three__mobile-controls .nk-user-dropdown li a{display:flex;align-items:center;gap:10px;padding:9px 18px;color:#585b6b;font-size:14px;line-height:20px;white-space:nowrap;transition:all 200ms linear;text-decoration:none}
.main-menu-three__mobile-controls .nk-user-dropdown li a i{width:16px;font-size:14px;color:#0089A6;text-align:center}
.main-menu-three__mobile-controls .nk-user-dropdown li a:hover{color:#0089A6;background-color:#f5f8f9}
.main-menu-three__mobile-controls .nk-user-dropdown li.nk-user-drop-logout{margin-top:5px;padding-top:5px;border-top:1px solid #e6e6e6}
.main-menu-three__mobile-controls .nk-user-dropdown li.nk-user-drop-logout a i{color:#d9534f}
@media (min-width:1200px){.main-menu-three__mobile-controls .nk-mobile-user{display:none}}
.main-menu-three__mobile-controls .nk-mobile-user.open .nk-user-dropdown{opacity:1;visibility:visible;transform:translateY(0)}

/* ---- store/member 套移动端下拉 top 修正（2026-10-21）----
   store-page.css/member-page.css 的 top:calc(100%+14px) 缺空格属无效 CSS，
   top 失效回退 flex 静态位置 → 下拉卡片顶到屏幕顶。此处以更高特异性
   （0,4,0 胜过原 0,3,0）强制正确偏移，图标 30px + 14px 间距。 */
.main-menu .main-menu-three__mobile-controls .nk-mobile-user .nk-user-dropdown{top:calc(100% + 14px)}
