/* AgentsRelay API keys: groups are assigned by platform, not selected by users. */
#key-form-group,
label[for="key-form-group"],
button[title="点击更换分组"],
button[title="Click to change group"],
[data-test="enable-group"],
label:has(> [data-test="enable-group"]),
[data-test="enable-group"] + label,
[data-test="group-input"] {
  display: none !important;
}

#app table th:nth-child(4),
#app table td:nth-child(4) {
  display: none !important;
}

/* Keep previously retired admin entries out of the first paint as well as
   after client-side navigation. */
a[href="/telegram-alerts"],
a[href="/admin/telegram-alerts"],
a[href="/admin/channels"],
a[href^="/admin/channels/"],
a[href="/admin/subscriptions"],
a[href="/admin/proxies"] {
  display: none !important;
}
