/* HVSC – chuyên mục Phần mềm mã nguồn mở (thuộc Công nghệ). Chỉ nạp trên trang hub /cong-nghe/phan-mem-ma-nguon-mo/.
   Tái dùng class .pt-* của pillar-tech.css; file này chỉ thêm lớp .pt-oss-* và .oss-* (không sửa pillar-tech.css). */

/* ---------- Bộ lọc theo phần mềm gốc ---------- */
.pt-oss-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.pt-oss-chip { appearance: none; cursor: pointer; font: 600 13.5px/1 var(--pt-mono, ui-monospace, Menlo, monospace); color: var(--pt-ink2, #D2D4DE); background: rgba(255,255,255,.03);
  border: 1px solid var(--pt-line2, rgba(167,171,255,.28)); border-radius: 10px; padding: 12px 14px; min-height: 44px; transition: background .18s, border-color .18s, color .18s, transform .18s; }
.pt-oss-chip:hover { border-color: var(--pt-acc, #A7ABFF); color: #fff; }
.pt-oss-chip:focus-visible { outline: 3px solid var(--pt-acc, #A7ABFF); outline-offset: 2px; }
.pt-oss-chip[aria-pressed="true"] { color: #fff; background: rgba(227,30,36,.16); border-color: var(--pt-red-hi, #FF6166); }
.pt-oss-chip[aria-pressed="true"]::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pt-red-hi, #FF6166); margin-right: 8px; vertical-align: 1px; }
@media (max-width: 719px) {
  .pt-oss-filter { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(var(--gutter, 16px) * -1); padding: 2px var(--gutter, 16px) 10px; scrollbar-width: none; }
  .pt-oss-filter::-webkit-scrollbar { display: none; }
  .pt-oss-chip { flex: none; scroll-snap-align: start; }
}

/* ---------- Thẻ bài ---------- */
.pt-oss-card { color: inherit; text-decoration: none; cursor: pointer; }
.pt-oss-card[hidden] { display: none !important; }
.pt-oss-card:focus-visible { outline: 3px solid var(--pt-acc, #A7ABFF); outline-offset: 3px; }
.pt-oss-card:hover h3 { color: #fff; }
.pt-oss-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--pt-line2, rgba(167,171,255,.28)); background: rgba(167,171,255,.08); color: var(--pt-acc, #A7ABFF); margin-bottom: 4px; }
.pt-oss-ic svg { width: 24px; height: 24px; }
.pt-oss-lic { font: 500 12.5px/1.45 var(--pt-mono, ui-monospace, Menlo, monospace); color: var(--pt-mute, #A3A8BA); border-top: 1px dashed var(--pt-line2, rgba(167,171,255,.28)); padding-top: 10px; margin-top: auto; }
.pt-oss-go { font: 700 13.5px/1.3 var(--pt-mono, ui-monospace, Menlo, monospace); color: var(--pt-red-hi, #FF6166); }
.pt-oss-empty { margin-top: 18px; font: 500 14px/1.5 var(--pt-mono, ui-monospace, Menlo, monospace); color: var(--pt-mute, #A3A8BA); }
.pt-spec td a { color: #4338CA; text-underline-offset: 3px; overflow-wrap: anywhere; }
.pt-spec tbody th { overflow-wrap: anywhere; }
