.container { max-width: 800px; margin: 0 auto; padding: 24px 16px; padding-bottom: calc(100px + var(--sab)); }
.cats-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
    margin-bottom: 20px;
}
.cats-tile {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 14px 6px 12px; min-width: 0;
    background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    text-decoration: none; color: var(--text-primary); text-align: center;
}
.cats-icon {
    width: 56px; height: 56px; border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-light); color: var(--primary-ink);
}
.cats-icon i, .cats-icon svg { width: 26px; height: 26px; flex-shrink: 0; }
.cats-icon--img { padding: 0; overflow: hidden; }
.cats-icon--img img { width: 100%; height: 100%; object-fit: cover; }
.cats-name {
    font-size: var(--text-sm); font-weight: 800; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; word-break: break-word;
}
.cats-count { font-size: var(--text-xs); color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.cats-empty { text-align: center; padding: 32px 16px; color: var(--text-tertiary); }
.cats-all { display: flex; justify-content: center; gap: 8px; width: 100%; }
@media (min-width: 1024px) {
    .container.cats-page { max-width: 1100px; }
    .cats-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .cats-tile:hover { border-color: var(--border-color-strong); }
    .cats-all { width: auto; display: inline-flex; }
}
.cats-search {
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
    padding: 12px 16px; border-radius: var(--radius-full);
    background: var(--bg-surface); border: 1px solid var(--border-color);
}
.cats-search:focus-within { border-color: var(--border-color-strong); }
.cats-search i, .cats-search svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--text-tertiary); }
.cats-search input {
    flex: 1; min-width: 0; border: none; outline: none; background: transparent;
    font: inherit; font-size: var(--text-base); color: var(--text-primary);
}
.cats-empty-msg { text-align: center; padding: 24px 8px; margin: 0 0 16px; color: var(--text-tertiary); }
.cats-tile[hidden] { display: none; }
@media (min-width: 1024px) {
    .cats-search { max-width: 480px; }
}
