/* What this site adds to the template sheet (site.css): the hero's ask box, the template board's detail card, the gallery,
   the CA button, a logo in the nav. Same tokens, same radii, same easing. */
.brand-logo { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.hero-ask { display: flex; align-items: center; gap: 8px; width: min(100%, 680px); margin-top: 28px; padding: 6px 6px 6px 22px; border-radius: 999px; background: var(--surface-2); animation: rise-18 1s var(--ease) .45s backwards; }
.hero-ask:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.hero-ask input { flex: 1; min-width: 0; height: 48px; font-size: 16px; outline: none; }
.hero-ask input::placeholder { color: var(--muted); }
.hero-row-two { grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: 24px; }
.hero-row-two .hero-spec { text-align: center !important; }
.ca-btn { cursor: pointer; }
.ca-btn .ca-addr { display: block; max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 10px 0 4px; font-size: 14px; }
.ca-btn svg { margin-right: 10px; color: var(--muted); }
.ca-btn:hover { background: var(--surface-3); }
.files-ui { display: grid; gap: 12px; font-size: 18px; }
.files-ui span { display: flex; align-items: center; gap: 12px; }
.files-ui i { width: 10px; height: 10px; border-radius: 50%; background: var(--up); }
.files-ui i.busy { background: var(--accent); animation: pulse 1.2s infinite; }
.board-row.tpl { grid-template-columns: 1.4fr 2.6fr 1fr auto; }
.board-row.tpl .tags { color: var(--muted); font-size: 14px; }
.board-open .actions-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; align-items: end; }
.board-open .btn.btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 4px; }
.gallery a { display: grid; gap: 6px; padding: 24px; background: var(--surface); transition: background .3s; }
.gallery a:hover { background: var(--surface-3); }
.gallery b { font-weight: 500; font-size: 18px; }
@media (max-width: 720px) {
  .hero-ask { padding-left: 16px; }
  .hero-ask .btn { padding: 0 16px; }
  .hero-row-two { grid-template-columns: 1fr 1fr; }
  .hero-row-two .hero-spec:last-child { display: none; }
  .board-row.tpl { grid-template-columns: 1fr auto; }
  .board-row.tpl .about, .board-row.tpl .tags { display: none; }
}
