/* 亮點工具首頁 */
.hero { text-align: center; display: grid; gap: 10px; }
.hero p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.trust li { padding: 4px 14px; font-size: .9375rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; }

.finder { display: grid; gap: 14px; }
.search {
  width: 100%; min-height: 3.2rem; font: inherit; font-size: 1.125rem; padding: 8px 16px;
  border: 2px solid var(--accent); border-radius: 999px; background: var(--panel); color: var(--ink);
}
.search:focus { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip {
  min-height: 44px; padding: 6px 18px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer;
  background: var(--panel); border: 2px solid var(--line); border-radius: 999px;
}
.chip:hover { border-color: var(--accent); }
.chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.count { margin: 0; text-align: center; color: var(--muted); font-size: .9375rem; }

.tool-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.tool-list li { position: relative; }
.tool-list a {
  position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; text-decoration: none; color: var(--ink);
  background: var(--panel); border: 2px solid var(--line); border-radius: var(--radius); transition: border-color .15s, transform .15s;
}
.tool-list a:hover, .tool-list a:focus-visible { border-color: var(--accent); outline: none; transform: translateY(-2px); }
.tool-list .cat { font-size: .8125rem; font-weight: 700; color: var(--accent); letter-spacing: .04em; }
.tool-list strong { font-size: 1.1875rem; line-height: 1.35; padding-right: 2.5rem; }
.tool-list .desc { color: var(--muted); font-size: .9375rem; }
.tool-list .hot {
  position: absolute; top: 12px; right: 14px; padding: 0 10px; font-size: .75rem; font-weight: 700; color: #fff; background: var(--omit); border-radius: 999px;
}
li.pinned a { border-color: var(--accent); background: var(--accent-soft); }
.pin {
  position: absolute; z-index: 2; right: 8px; bottom: 8px; width: 40px; height: 40px; display: grid; place-items: center;
  font-size: 1.25rem; line-height: 1; color: var(--muted); background: transparent; border: 0; border-radius: 50%; cursor: pointer;
}
.pin:hover, .pin:focus-visible { color: var(--accent); background: var(--panel); outline: none; }
.pin.on { color: var(--accent); }
.empty { text-align: center; padding: 28px 16px; color: var(--muted); background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); }

.why { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.why div { padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.why h2 { margin: 0 0 4px; font-size: 1.0625rem; }
.why p { margin: 0; color: var(--muted); font-size: .9375rem; }
@media (prefers-reduced-motion: reduce) { .tool-list a { transition: none; } .tool-list a:hover { transform: none; } }
