/* ============================================
   POLARIS CLOUD 布局辅助层（v5 琥珀奢华重构）
   theme.css = 完整设计系统；本文件只补商用版特有辅助
   ============================================ */

/* ─── 顶栏用户下拉 ─── */
.nav-avatar-wrap { position: relative; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 170px; z-index: 1000;
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 6px; display: none;
  box-shadow: var(--shadow-4);
}
.dropdown-menu.show { display: block; animation: dropdownIn 0.18s var(--ease-out); }
.dropdown-menu a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 8px;
  color: var(--text-secondary); text-decoration: none; font-size: 13px;
  transition: var(--transition);
}
.dropdown-menu a:hover { background: var(--glass-bg-hover); color: var(--text-primary); }
.dropdown-menu a svg { width: 15px; height: 15px; }

/* ─── 侧边栏「专业模式」按钮重置 ─── */
.sidebar-item.side-upgrade {
  width: 100%; text-align: left; background: none; border: none;
  font-family: inherit; box-sizing: border-box;
}

/* ─── 无登录态布局 ─── */
.main-content.no-auth { margin-left: 0; padding-top: 0; }

/* ─── 文本工具 ─── */
.text-dim { color: var(--text-tertiary); }
.mono { font-family: var(--font-mono); font-size: 13px; }
.page-sub { color: var(--text-tertiary); font-size: 13px; margin: 4px 0 0; }
.ops-cell { white-space: nowrap; }
.ops-cell .btn { margin-right: 4px; }

/* ─── 登录/注册双栏页辅助（auth 页无侧边栏） ─── */
.auth-wrap {
  min-height: 100vh; display: flex; position: relative; z-index: 1;
}
