/* Скрыть ссылки на внешнюю англоязычную документацию Gitea */
a[href*="docs.gitea.com"],
a[href*="about.gitea.com"],
a[href*="gitea.io"],
a[href*="blog.gitea.com"] { display: none !important; }

/* Скрыть вкладку «Активность» (графики коммитов — не нужны) */
.repository .tabs a.item[href$="/activity"],
#repo-header .item[href$="/activity"],
a.item[href$="/activity"] { display: none !important; }

/* ── Garantis 12.08: убираем действия, которых нет в нашем процессе ────────── */
/* Всё делается фразами в Claude, мышкой ничего создавать/клонировать не нужно */

/* «+» в шапке: Новый репозиторий / Миграция / Новая организация */
#navbar .ui.dropdown.jump.item:has(a[href$="/repo/create"]) { display: none !important; }

/* Уведомления (задач и обсуждений у нас нет — колокольчик всегда пустой) */
#navbar a[href$="/notifications"],
#mobile-notifications-icon,
#navbar .user-menu a[href$="/notifications/subscriptions"] { display: none !important; }

/* Кнопки на странице проекта: Наблюдать, Форк, RSS */
.repo-buttons form[action$="/action/watch"],
.repo-buttons form[action$="/action/unwatch"],
.repo-buttons .ui.labeled.button:has(a[href$="/forks"]),
.repo-buttons a[href$=".rss"] { display: none !important; }

/* В панели «Клонировать» оставляем один адрес (HTTPS), SSH не используем */
#repo-clone-ssh { display: none !important; }

/* ── Garantis 12.08 (волна 2): убираем техническую обвязку со страниц ────── */

/* Страница проекта: адреса для клонирования, счётчики коммитов/веток/тегов,
   полоска языков программирования, метка видимости */
.clone-panel,
.repository-menu,
.language-stats,
.language-stats-details,
.repo-header .flex-item-trailing .ui.basic.label,
.organization .ui.large.basic.horizontal.label { display: none !important; }

/* Страница организации: вкладки «Проекты» и «Команды» (служебные) */
.organization a.item[href$="/-/projects"],
.organization a.item[href$="/teams"] { display: none !important; }

/* Подвал: выбор языка интерфейса, «Лицензии», «API» */
.page-footer .ui.dropdown.upward.language,
.page-footer a[href$="/assets/licenses.txt"],
.page-footer a[href$="/api/swagger"] { display: none !important; }

/* Списки проектов (профиль, организация): фильтры и сортировка с англ. терминами */
.ui.small.secondary.filter.menu .item.ui.dropdown { display: none !important; }

/* Профиль пользователя: блокировка людей и подписчики — нам это не нужно */
#block-user-modal,
.user.profile .follow.ui.button,
.user.profile [data-modal-id="block-user"] { display: none !important; }

/* Карточка сотрудника: убираем лишние вкладки и действия */
.user.profile .ui.secondary.pointing.menu a[href*="/-/projects"],
.user.profile .ui.secondary.pointing.menu a[href*="tab=activity"],
.user.profile .ui.secondary.pointing.menu a[href*="tab=watching"],
.user.profile .ui.secondary.pointing.menu a[href*="tab=stars"],
.user.profile .follow.ui.button,
.user.profile form[action$="/action/follow"],
.user.profile form[action$="/action/unfollow"],
.user.profile a.muted.show-modal { display: none !important; }

/* Список личных проектов на карточке: у нас проекты живут в организации,
   поэтому тут всегда пусто и по-английски («Search repos…», «No matching results») */
.user.profile .ui.small.secondary.filter.menu,
.user.profile .ui.twelve.wide.column .flex-list { display: none !important; }

/* Каталог организации: убираем служебное из правой колонки */
.organization .ui.five.wide.column .ui.top.attached.header:has(a[href$="/teams"]),
.organization .ui.attached.table.segment.teams,
.organization a.button[href*="/repo/create"],
.organization a.button[href*="/repo/migrate"],
.organization .ui.button[href*="/repo/migrate"],
.organization .repo-buttons a[href*="/repo/create"] { display: none !important; }

/* Списки проектов: метка «Внутренний» у каждого проекта — техническая, убираем */
.organization .label-list .ui.basic.label,
.user.profile .label-list .ui.basic.label { display: none !important; }
