/* Homepage "Party tools" strip (en + zh homepages). Tool pages live in /party-tools/. */
.home-tools { padding: 8px 0 26px; }
.home-tools-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.home-tools-head h2 { font-size: 1.35rem; font-weight: 800; margin: 0; }
.home-tools-head a { font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.home-tools-list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.home-tools-list a {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: 18px;
  background: #fff; border: 1px solid rgba(0, 0, 0, .08); text-decoration: none; color: inherit; font-weight: 700;
  font-size: .9rem; text-align: center; line-height: 1.25; transition: transform .18s, box-shadow .18s;
}
.home-tools-list a:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .1); }
.home-tools-list img { width: 52px; height: 52px; border-radius: 15px; }
@media (max-width: 900px) {
  .home-tools-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .home-tools-list::-webkit-scrollbar { display: none; }
  .home-tools-list li { flex: 0 0 104px; scroll-snap-align: start; }
}
