html[data-exnt-net][data-theme] .content-tab > .content-tab-close {
  display: grid;
  place-items: center;
  align-self: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin: 0 4px;
  padding: 0;
  border-radius: 50%;
}

html[data-exnt-net][data-theme] .other-categories-page .other-category-group:not(.other-category-lab) > div {
  display: grid;
  gap: 6px;
  & > button { min-height: 44px; }
}

html[data-exnt-net][data-theme] :is(
  .other-categories-page .other-category-group button,
  .feed-other-categories :is(.feed-category-settings, .feed-category-section > button)
) {
  padding-inline: 16px;
  border: 1px solid var(--border);
  border-radius: var(--net-control-radius, 999px);
  background: var(--surface);
  &:is(:hover, :active) { background: var(--hover); }
  & svg { flex-shrink: 0; }
}

@media (max-width: 760px) {
  html[data-exnt-net][data-theme] .other-categories-page .other-category-group button {
    --mobile-control-height: 44px;
    min-height: 44px;
  }

  html[data-exnt-net][data-theme] .feed-other-categories {
    & .feed-category-section {
      display: grid;
      gap: 6px;
      padding: 12px 16px;
    }
    & .feed-category-section > h2 { padding: 4px 0 6px; }
    & .feed-category-settings {
      width: calc(100% - 32px);
      margin: 12px 16px;
    }
  }
}

@media (min-width: 761px) {
  html[data-exnt-net][data-theme] {
    --net-control-radius: 999px;

    & .web-studio-shell > .sidebar {
      & :is(.nav-item, .page-bookmark-row > button) { border-radius: var(--net-control-radius); }
      & :is(.sidebar-toggle, .sidebar-action) { border-radius: 50%; }
    }

    & .web-studio-shell:where(.web-workspace-shell) > .sidebar {
      & .sidebar-header { min-height: 46px; }
      & .wordmark > span { font-size: 12px; }
      & #main-navigation { margin-block-start: 8px; }
      & :is(.nav-item, .page-bookmark-row > button) {
        min-height: 34px;
        padding-block: 5px;
        gap: 8px;
        font-size: 12px;
      }
      & .nav-item > svg:first-child { width: 17px; height: 17px; }
      & .sidebar-version { font-size: 11px; }
    }

    & .web-studio-shell.sidebar-collapsed:where(.web-workspace-shell) > .sidebar .nav-item {
      width: 34px;
      height: 34px;
      margin-inline: auto;
      padding: 0;
      border-radius: 50%;
    }

    & .web-studio-shell:not(.web-workspace-shell) {
      & .topbar { min-height: 46px; padding: 3px 16px; gap: 12px; }
      & .content-tabs-shell { top: 46px; }
      & .breadcrumb { font-size: 12px; }
      & .topbar .global-search.global-search-adaptive {
        min-height: 34px;
        padding-block: 1px;
        border-radius: var(--net-control-radius);
      }
      & .topbar .global-search input { font-size: 12px; }
      & .account-login-button {
        min-height: 34px;
        padding-inline: 12px;
        border: 1px solid var(--border);
        font-size: 12px;
      }
    }

    & :is(
      .primary, .secondary, .exnt-select-trigger, .menu-trigger, .icon-button, .filter-button,
      .load-more, .search-load-more, .benchmark-button, .page-bookmark-trigger,
      .page-history button, .header-account-controls button, .content-tab-new, .community-refresh,
      .story-action, .story-reaction, .story-comment-toggle, .project-action, .profile-action, .reply-action,
      .project-card .card-author, .search-more, .search-error button, .local-bookmark-toggle,
      .account-switcher-add, .local-bookmarks-add, .local-bookmarks-folder, .local-bookmarks-tools > label,
      .my-profile-edit, .profile-study-footer > button, .profile-stats :is(button, a), .settings-row :is(button, a),
      .notification-bulk-actions > button, .notification-more, .notification-show-all,
      .community-filter-header > button, .community-filter-shortcuts button, .community-filter-footer button,
      .tessvm-btn, .player-buttons button, .exntvm-fallback, .local-entry-controls > button,
      .lab-player-icon, .benchmark-icon-button, .labs-tools > button,
      .web-workspace-toolbar form, .web-ws-access-actions button, .web-project-tag,
      .global-search, .project-search, .community-search, .profile-search, .search-field,
      .manual-search, .web-workspace-search, .web-project-edit-field > input,
      .noir-composer button, .noir-suggestion, .comment-composer button, .comment-meta button,
      .story-composer button, .story-more-menu button, .project-more-popover button,
      .web-login-dialog :is(input:not([type]), input[type='text'], input[type='password'], footer button),
      .local-bookmarks-editor :is(input, select, button),
      .account-menu button, .page-menu button, .action-menu button, .player-dimension-popover > button,
      .web-studio-shell :is(input[type='search'], input[type='text'], input[type='email'], input[type='password'], select)
    ) {
      border-radius: var(--net-control-radius);
    }

    & :is(.primary, .secondary, .exnt-select-trigger, .search-more, .load-more, .benchmark-button) {
      min-height: 34px;
      font-size: 12px;
    }

    & :is(.story-open, .story-more-menu > summary, .project-more > summary, .player-audio-toggle,
      .profile-region-button, .profile-statistics-button, .local-bookmarks-open, .noir-header > button,
      .settings-detail > header > button, .notification-more > button, .web-login-dialog header > button) {
      border-radius: 50%;
    }

    & :is(.section-tabs, .entry-tabs, .profile-tabs, .category-filters) > button { font-size: 12px; }

    & .category-filters > button {
      position: relative;
      min-height: 32px;
      padding: 5px 12px 7px;
      border: 1px solid var(--border);
      border-radius: var(--net-control-radius);
    }

    & .category-filters > button:not([aria-pressed='true']) {
      border-bottom-color: var(--border);
    }

    & .category-filters > button:not([aria-pressed='true']):hover {
      border-color: var(--border);
      background: var(--hover);
    }

    & .category-filters > button[aria-pressed='true'] {
      border-color: transparent;
      background: color-mix(in srgb, var(--panel) 88%, var(--text));
    }

    & .category-filters > button[aria-pressed='true']::after {
      content: '';
      position: absolute;
      inset: auto 33% 2px;
      height: 2px;
      border-radius: var(--net-control-radius);
      background: var(--palette-personal);
      pointer-events: none;
    }
    & :is(.page-heading, .project-page-toolbar, .web-workspace-heading, .web-workspace-guest) h1 {
      font-size: 23px;
      line-height: 1.2;
    }
    & :is(.web-workspace-guest, .web-workspace-heading, .account-menu, .page-menu, .action-menu) {
      border-radius: 8px;
    }
  }
}
