/* Pro / Lite 共用：侧栏底部用户入口（与 pro.html §1.2 一致） */

.pro-sidebar-user {
  border-top: 1px solid #27272a;
  padding: 10px 12px 12px;
  flex-shrink: 0;
}

.pro-user-guest-link {
  display: block;
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.15);
  color: #c7d2fe;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.pro-user-guest-link:hover {
  background: rgba(99, 102, 241, 0.28);
  color: #fff;
}

.pro-user-compact-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #3f3f46;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  color: #fafafa;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}

.pro-user-compact-btn:hover {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.12);
}

.pro-user-compact-btn[aria-expanded="true"] {
  border-color: #6366f1;
}

.pro-user-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.pro-user-av [data-avatar-img],
.pro-topbar-dd-av [data-avatar-img] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.pro-user-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pro-user-line {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pro-user-line-sub {
  font-size: 11px;
  font-weight: 500;
  color: #a1a1aa;
}

.pro-user-more {
  font-size: 10px;
  color: #71717a;
  flex-shrink: 0;
}

.pro-user-popout {
  margin-top: 8px;
  padding: 8px;
  border-radius: 10px;
  background: #27272a;
  border: 1px solid #3f3f46;
}

.pro-user-popout[hidden] {
  display: none !important;
}

.pro-user-popout-head {
  padding: 8px 10px 10px;
  border-bottom: 1px solid #3f3f46;
  margin-bottom: 6px;
}

.pro-user-popout-head strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.pro-user-popout-meta {
  display: block;
  font-size: 11px;
  color: #a1a1aa;
  line-height: 1.4;
}

.pro-user-popout-link {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #e4e4e7;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.pro-user-popout-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.pro-user-popout-danger {
  color: #fca5a5;
  margin-top: 4px;
}

.pro-user-popout-danger:hover {
  background: rgba(239, 68, 68, 0.15);
}

.pro-sidebar-foot {
  padding: 10px 16px 14px;
  border-top: 1px solid #27272a;
  font-size: 11px;
  color: #71717a;
}
