/* 「所有产品」页专属样式：以内容为主的产品列表，不做滚动动画（公共样式见 site.css） */
.pl { max-width: 880px; margin: 0 auto; padding: 136px 32px 96px; }
.pl-head { display: flex; flex-direction: column; gap: 12px; }
.pl-title { margin: 0; font-family: var(--font-display); font-size: 48px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.pl-lead { margin: 0; max-width: 36em; font-size: 16px; color: var(--text-secondary); }

/* 搜索与筛选 */
.pl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }
.pl-search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 14px; box-sizing: border-box; border: 1px solid var(--border); border-radius: 8px; background: var(--input); box-shadow: var(--shadow-input); color: var(--icon); cursor: text;
  transition: border-color .12s var(--tf-ease-standard), box-shadow .12s var(--tf-ease-standard); }
.pl-search:hover { border-color: var(--border-hover); }
.pl-search:focus-within { border-color: var(--primary); box-shadow: var(--shadow-input), var(--shadow-focus); }
.pl-search .tf-ico { width: 16px; height: 16px; flex: none; }
.pl-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 15px; color: var(--text-primary); }
.pl-search input::placeholder { color: var(--text-tertiary); }
.pl-filter { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.pl-filter button { font: inherit; font-size: 13px; font-weight: 500; height: 36px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--text-secondary); cursor: pointer; }
.pl-filter button span { font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); margin-left: 2px; }
.pl-filter button:hover { color: var(--text-primary); }
.pl-filter button[aria-checked="true"] { background: var(--input); color: var(--text-primary); box-shadow: var(--shadow-button); }
.pl-filter button:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.pl-count { margin: 16px 0 0; font-size: 13px; color: var(--text-tertiary); }

/* 产品列表：每款一行，信息完整可读 */
.pl-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--border); }
.pl-item { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 96px; }
.pl-item[hidden], .pl-empty[hidden] { display: none; }
.pl-icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 12px; background: var(--input); box-shadow: var(--shadow-button); color: var(--primary); }
.pl-icon .tf-ico { width: 22px; height: 22px; }
.pl-icon.is-muted { color: var(--icon); border-style: dashed; box-shadow: none; }
.pl-body { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pl-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pl-name { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.3; }
.pl-name a { color: var(--text-primary); text-decoration: none; }
.pl-name a:hover { color: var(--link); }
.pl-kind { margin: -4px 0 0; font-size: 13px; color: var(--text-tertiary); }
.pl-desc { margin: 0; font-size: 15px; line-height: 1.75; max-width: 40em; }
.pl-points { margin: 0; padding-left: 18px; color: var(--text-secondary); line-height: 1.8; }
.pl-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 4px 0 0; }
.pl-meta div { display: flex; flex-direction: column; }
.pl-meta dt { font-size: 12px; color: var(--text-tertiary); }
.pl-meta dd { margin: 0; font-family: var(--font-mono); font-size: 13px; }
.pl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.pl-item.is-planned .pl-name, .pl-item.is-planned .pl-desc { color: var(--text-secondary); }
.pl-item:target { background: linear-gradient(var(--primary-soft), var(--primary-soft)) no-repeat 0 0 / 100% 100%; margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-radius: 8px; }

.pl-empty { padding: 48px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.pl-empty b { font-size: 16px; }
.pl-empty p { margin: 0 0 8px; color: var(--text-secondary); }

/* 最近更新、下载与支持 */
.pl-section { margin-top: 72px; }
.pl-h2 { margin: 0 0 20px; font-size: 20px; font-weight: 600; }
.pl-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.pl-log li { padding-left: 16px; border-left: 2px solid var(--border); }
.pl-log-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pl-log-head a { font-weight: 600; color: var(--text-primary); text-decoration: none; }
.pl-log-head a:hover { color: var(--link); }
.pl-log-head time { font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); }
.pl-log p { margin: 4px 0 0; color: var(--text-secondary); line-height: 1.75; }
.pl-help-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.pl-help-list li { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--input); }
.pl-help-list span { color: var(--text-secondary); line-height: 1.7; }
@supports (corner-shape: superellipse(1.5)) {
  .pl-search, .pl-filter, .pl-help-list li { corner-shape: var(--corner-smooth); border-radius: calc(8px * var(--corner-smooth-scale)); }
  .pl-icon { corner-shape: var(--corner-smooth); border-radius: calc(12px * var(--corner-smooth-scale)); }
}

@media (max-width: 760px) {
  .pl { padding: 104px 16px 64px; }
  .pl-title { font-size: 36px; }
  .pl-tools { margin-top: 28px; }
  .pl-filter { width: 100%; }
  .pl-filter button { flex: 1; padding: 0 8px; }
  .pl-item { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
  .pl-section { margin-top: 56px; }
}
