/* ---------- /fav — larger, click-friendly tiles for the hand-picked
   favorites list. Deliberately separate from .tbx-card/.tbx-grid in
   home.css: this page never switches List/Grid/Compact view, so it
   doesn't need to interact with [data-tbx-view] at all. ---------- */
.tbx-fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.tbx-fav-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 14px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  text-align: center;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.tbx-fav-tile:hover,
.tbx-fav-tile:focus-visible {
  border-color: var(--border-strong);
  background: var(--panel-raised);
  transform: translateY(-2px);
}
.tbx-fav-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.tbx-fav-tile-strip {
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  border-radius: 0 0 3px 3px;
}
.tbx-fav-tile-strip[data-status="stable"] { background: var(--status-stable); box-shadow: 0 0 6px var(--status-stable); }
.tbx-fav-tile-strip[data-status="beta"] { background: var(--status-beta); box-shadow: 0 0 6px var(--status-beta); }
.tbx-fav-tile-strip[data-status="wip"] { background: var(--status-wip); box-shadow: 0 0 6px var(--status-wip); }
.tbx-fav-tile-strip[data-status="concept"] { background: var(--status-concept); box-shadow: 0 0 6px var(--status-concept); }

.tbx-fav-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--panel-raised);
  border: 1px solid var(--border);
  color: var(--accent);
}
.tbx-fav-tile-icon svg { width: 28px; height: 28px; }

.tbx-fav-tile-title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 520px) {
  .tbx-fav-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .tbx-fav-tile-icon { width: 48px; height: 48px; }
  .tbx-fav-tile-icon svg { width: 24px; height: 24px; }
}
