/* Gear page extras (2026-10-14): search, section chips, "Start here" strip, card anchors. Loaded only by gear.html; styles.css is untouched. */
.gear-tools {
  position: sticky; top: 73px; z-index: 90; margin: 0 -24px; padding: 12px 24px 10px;
  background: rgba(6, 13, 26, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.gt-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
#gear-q {
  flex: 1 1 320px; min-width: 0; height: 52px; padding: 0 18px 0 50px; font: inherit; font-size: 1.05rem; color: var(--text);
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302d5fd' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E") no-repeat 16px center / 22px;
  border: 1.5px solid var(--line-strong); border-radius: 14px;
}
#gear-q::placeholder { color: var(--dim); }
#gear-q:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
#gear-count { color: var(--muted); font-size: .95rem; white-space: nowrap; }
.gt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-bottom: 4px; }
.gt-chips a {
  flex: none; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); text-decoration: none;
  font-weight: 700; font-size: .93rem; background: rgba(255, 255, 255, .04); transition: background .15s, color .15s, border-color .15s;
}
.gt-chips a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.gt-chips a.start { border-color: rgba(112, 248, 159, .55); color: var(--accent-2); }
.gt-chips a.start:hover { background: var(--accent-2); color: var(--accent-ink); border-color: var(--accent-2); }
#gear-empty { margin: 36px 0; padding: 28px; text-align: center; color: var(--muted); font-size: 1.1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
#gear-empty[hidden] { display: none; }

.start-strip {
  margin: 34px 0 6px; padding: 28px clamp(18px, 3vw, 34px); border: 1px solid rgba(112, 248, 159, .35); border-radius: 20px;
  background: linear-gradient(135deg, rgba(112, 248, 159, .10), rgba(2, 213, 253, .06) 60%, rgba(255, 255, 255, .02));
}
.start-strip h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; margin: 0 0 6px; }
.start-strip > p { color: var(--muted); margin: 0 0 20px; max-width: 64ch; }
.picks { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pick {
  display: flex; gap: 14px; align-items: center; padding: 14px; height: 100%; border: 1px solid var(--line); border-radius: 14px;
  background: var(--panel); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s;
}
.pick:hover { border-color: rgba(112, 248, 159, .6); transform: translateY(-2px); color: var(--text); }
.pick .n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-2); color: #03111f; font-weight: 900; font-size: 1.1rem; }
.pick img { flex: none; width: 76px; height: 76px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.pick b { display: block; font-size: 1.08rem; line-height: 1.2; }
.pick small { display: block; color: var(--muted); font-size: .92rem; line-height: 1.35; margin-top: 3px; }
.start-strip[hidden] { display: none; }

.product, .gear-section, .start-strip { scroll-margin-top: 170px; }
.product[hidden], .gear-section[hidden] { display: none; }
.product:target, .product.flash { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(112, 248, 159, .4), 0 20px 50px rgba(112, 248, 159, .18); }
.product-img img { image-rendering: auto; }

@media (max-width: 820px) {
  .picks { grid-template-columns: 1fr; }
  .gear-tools { margin: 0 -18px; padding: 10px 18px 8px; }
  #gear-q { height: 48px; }
  .gt-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
}
@media (prefers-reduced-motion: reduce) { .pick { transition: none; } }
