/* #region zone:desk.watchlist-rank.style — ปุ่มเรียงตามคะแนนและป้ายกำกับใต้หัวการ์ดหุ้นที่ติดตาม */
/* One calm row between the card head and the list: the toggle, and while it is on the "sorted to browse, not a buy signal"
   label. The row wraps (the label drops below the button on a phone), pieces are separated by spacing tokens so they never
   touch, and nothing here depends on the viewport width. */
.pins-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-3);
  margin: 0;
  padding: var(--sp-2) var(--sp-4);
  min-width: 0;
  flex: none;
  border-bottom: 1px solid var(--line);
}
.pins-sort[hidden] {
  display: none;
}
.pins-sort-btn {
  min-height: 32px;
  padding: var(--sp-1) var(--sp-3);
  color: var(--text);
  background: var(--panel2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-control);
  font: inherit;
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.pins-sort-btn:hover {
  border-color: var(--accent-text);
}
.pins-sort-btn[aria-pressed='true'] {
  color: var(--accent-text);
  background: var(--acc-soft);
  border-color: var(--accent-text);
}
.pins-sort-btn:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}
.pins-sort-note {
  flex: 1 1 10rem;
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: var(--u-text-xs);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.pins-sort-note[hidden] {
  display: none;
}
/* #endregion */
