.root {
  width: fit-content;
  min-width: 180px;
  max-width: 420px;
  padding: 6px 10px 8px;
  pointer-events: none; /* 列表区域不拦截鼠标，穿透到下层 */
}

.header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  pointer-events: none;
}

/* 仅钉子按钮可接收点击（配合 Rust 热区轮询） */
.pinBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  color: rgb(var(--accent));
  background: rgba(var(--accent), 0.25);
  border: 1px solid rgba(var(--accent), 0.45);
  pointer-events: auto;
  flex-shrink: 0;
  transition: transform 0.12s ease, background 0.12s;
}
.pinBtn:hover {
  background: rgba(var(--accent), 0.4);
  transform: scale(1.05);
}
.pinBtnActive {
  box-shadow: 0 0 10px rgba(var(--accent), 0.45);
}

.label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(var(--fg-color), 0.75);
  letter-spacing: 0.3px;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
}

.dot {
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: rgb(var(--accent));
  flex-shrink: 0;
  opacity: 0.9;
}

.title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(var(--fg-color), 0.92);
  word-break: break-word;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.empty {
  font-size: 13px;
  color: rgba(var(--fg-dim), 0.7);
  padding: 8px 6px;
}
