/* Shared neutral border treatment. Green fills and text remain semantic accents. */
html body .auth-notice,
html body .block-picker-option.selected,
html body .block-search-wrap:focus-within,
html body .block-select-button:focus,
html body .block-select-button:hover,
html body .catalog-more,
html body .conflict-checklist.complete,
html body .conflict-hero[data-tone="info"] .conflict-hero-score,
html body .copy-btn:hover,
html body .copy-card:hover,
html body .dropdown-item:focus-visible,
html body .dropdown-item:hover,
html body .ed-detail-preset.active,
html body .ed-detail-preset:hover,
html body .ed-swatch.active,
html body .fl-slot.cursor,
html body .fl-step.cursor,
html body .flatworld-settings-row select:focus,
html body .info-card:hover,
html body .item-search-field input:focus,
html body .layer-item input[type="number"]:focus,
html body .layer-item.layer-drop-target,
html body .mod-back-to-top:hover,
html body .mod-changelog-entry-head>button,
html body .mod-changelog-release,
html body .mod-comment-form textarea:focus,
html body .mod-comments-login,
html body .mod-compatibility b.loader,
html body .mod-custom-select-trigger:hover:not(:disabled),
html body .mod-custom-select.open .mod-custom-select-trigger,
html body .mod-dependency-item input:checked+.mod-dependency-check,
html body .mod-detail-body .mod-detail-back:hover,
html body .mod-detail-categories span.mod-detail-custom-category,
html body .mod-detail-description blockquote,
html body .mod-detail-translate-actions button:last-child,
html body .mod-detail-version-list article.mod-version-card-rich:hover,
html body .mod-download-card select:focus,
html body .mod-download-fields select:focus,
html body .mod-download-motion,
html body .mod-related-grid>a:hover,
html body .mod-related-media>span,
html body .mod-release-badge,
html body .mod-translate-tools button:first-child,
html body .mod-version-card-rich .mod-version-actions button:hover,
html body .mod-version-notice,
html body .mod-version-release>span,
html body .mods-active-filters button,
html body .mods-admin-chip.active,
html body .mods-admin-icon-grid button.active,
html body .mods-admin-icon-input input:focus,
html body .mods-admin-name-row input:focus,
html body .mods-admin-tabs button.active,
html body .mods-akinator-avatar-glow,
html body .mods-akinator-chat .ak-good,
html body .mods-akinator-choices .btn-choice.yes,
html body .mods-akinator-leaders li:first-child,
html body .mods-akinator-open:hover,
html body .mods-akinator-tell:focus-within,
html body .mods-catalog-card:hover,
html body .mods-chip.is-type,
html body .mods-conflict-input textarea:focus,
html body .mods-conflict-open:hover,
html body .mods-conflict-steps li.active,
html body .mods-filter-search input:focus,
html body .mods-filter-sidebar.is-following,
html body .mods-filter-sidebar.is-stuck,
html body .mods-finder-context select:focus,
html body .mods-finder-quick button:hover,
html body .mods-global-search:focus-within,
html body .mods-grid-footer button:hover:not(:disabled),
html body .mods-hero-badge,
html body .mods-hero::before,
html body .mods-light .mods-preview-popover,
html body .mods-page-jump input:focus,
html body .mods-preview-popover,
html body .mods-recommend-onboarding,
html body .mods-recommend-onboarding.auth-required,
html body .mods-recommend-summary,
html body .mods-result-card.active,
html body .mods-result-card:hover,
html body .mods-search-form input:focus,
html body .mods-search-form select:focus,
html body .mods-select-pill.mods-cselect-pill:hover,
html body .mods-select-pill.open,
html body .mods-server-address.copied,
html body .mods-server-card:hover,
html body .mods-server-chip.active,
html body .mods-settings-open:hover,
html body .mods-sidebar-head button:hover,
html body .mods-source-dock button.active,
html body .mods-source-dock button:hover,
html body .mods-special-category.active,
html body .mods-special-category.personal,
html body .mods-stat-tooltip::after,
html body .mods-status.success,
html body .mods-theme-options button.active,
html body .mods-top-pagination button:hover:not(:disabled),
html body .mods-version-toggle.active,
html body .mods-version-toggle.active .mods-checkbox,
html body .mods-weekly-track>a:hover,
html body .motd-color-grid button:hover,
html body .motd-help,
html body .motd-lines label.active,
html body .motd-preset-grid button:hover,
html body .motd-style-grid button:hover,
html body .output-textarea-wrap textarea:focus,
html body .player-library button:focus-visible,
html body .player-model,
html body .player-search,
html body .player-share-url:focus-visible,
html body .player-utility-actions button:focus-visible,
html body .player-utility-actions button[aria-pressed=true],
html body .preset-btn.active,
html body .preset-btn:hover,
html body .result-card,
html body .result-header > span,
html body .result-runner:hover,
html body .result-source,
html body .search-input-group input:focus,
html body .selector-card.active,
html body .selector-card:hover,
html body .server-admin-fields input:focus,
html body .server-admin-fields select:focus,
html body .server-admin-fields textarea:focus,
html body .server-admin-open,
html body .skin-tool-container,
html body .skin-viewer-controls select:focus,
html body .small-reset-btn:hover,
html body .stack-action-btn.edit:focus,
html body .stack-action-btn.edit:hover,
html body .stack-block.layer-drop-target,
html body .step-card:hover,
html body .tellraw-builder,
html body .tellraw-entry-card,
html body .template-btn.active,
html body .template-btn:hover,
html body .thumb-card.active,
html body .thumb-card:hover,
html body .toast,
html body .tool-panel:hover,
html body .useful-card:hover,
html body .useful-chip.active,
html body .useful-chip:hover,
html body .useful-edition.active,
html body .useful-edition:hover,
html body .useful-tab.active,
html body .useful-version-box select:focus,
html body .user-profile-body #profileGrid .mods-catalog-card:hover,
html body .user-profile-body .profile-back:hover,
html body .user-profile-body .profile-category-filter button:hover,
html body > header > .auth-header-button > .auth-header-avatar,
html body > header > .auth-header-button > i,
html body>header>.auth-header-button,
html body>header>.auth-header-button:hover,
html body input:focus,
html body select:focus,
html body textarea:focus,
html body .player-page .player-head-card :is(select, button):focus-visible {
  border-color: #4a4f4c !important;
  outline-color: #727a75 !important;
}

/* Main panels that previously used dark-green frame colors. */
html body .tool-panel,
html body .give-builder,
html body .give-output-box,
html body .motd-builder,
html body .motd-preview-box,
html body .motd-output-box,
html body .player-library,
html body .player-chip,
html body .player-search,
html body .skin-info-box,
html body .skin-render-box {
  border-color: #414744 !important;
}

/* Green focus/selection glows visually behave like borders, so neutralize those too. */
html body input:focus,
html body select:focus,
html body textarea:focus,
html body .block-search-wrap:focus-within,
html body .mods-global-search:focus-within,
html body .mods-akinator-tell:focus-within,
html body .dropdown-item:focus-visible,
html body .player-library button:focus-visible,
html body .player-share-url:focus-visible,
html body .player-utility-actions button:focus-visible,
html body .ed-swatch.active {
  box-shadow: 0 0 0 2px rgba(154, 163, 158, 0.18) !important;
}
