/* A second inner line strengthens selection without changing control dimensions. */
.pair-tile.active,
.product-choice-card:has(input:checked),
.managed-funding-choice[aria-current="page"],
.dark-period-picker-option.is-selected,
.control-directory-pagination a[aria-current="page"] {
  --selection-frame-rgb: 231, 185, 94;
}
.pair-option.active,
.filter-button.active,
.nav-item.active,
.auth-mode-switch button.active,
.bot-detail-tab.active {
  --selection-frame-rgb: 84, 215, 232;
}
.member-nav a.active { --selection-frame-rgb: 37, 211, 237; }
.provision-mode-card:has(input:checked) { --selection-frame-rgb: 85, 216, 232; }
[data-provision-form] .spot-setup-options label:has(input:checked) { --selection-frame-rgb: 74, 205, 221; }
.vault-counter-page .vault-orientation-button.is-active { --selection-frame-rgb: 248, 211, 126; }
.mc-tabs .mc-tab.is-active { --selection-frame-rgb: 32, 217, 255; }
.mc-delist-filter.is-active { --selection-frame-rgb: 255, 93, 108; }

.pair-tile.active { --selection-frame-shadow: 0 14px 34px rgba(0, 0, 0, .24); }
.product-choice-card:has(input:checked) { --selection-frame-shadow: 0 0 22px rgba(85, 216, 232, .11); }
.managed-funding-choice[aria-current="page"],
.dark-period-picker-option.is-selected { --selection-frame-shadow: inset 3px 0 0 #e7b95e; }
.pair-option.active { --selection-frame-shadow: 0 0 18px rgba(37, 211, 237, .2); }
.auth-mode-switch button.active { --selection-frame-shadow: 0 0 16px rgba(84, 215, 232, .28); }
.member-nav a.active { --selection-frame-shadow: 0 0 18px rgba(37, 211, 237, .24); }
.bot-detail-tab.active { --selection-frame-shadow: 0 0 18px rgba(84, 215, 232, .16); }
.provision-mode-card:has(input:checked) { --selection-frame-shadow: 0 0 20px rgba(85, 216, 232, .13); }
.mc-tabs .mc-tab.is-active { --selection-frame-shadow: inset 0 -2px 0 var(--cyan); }

.pair-tile.active,
.pair-option.active,
.filter-button.active,
.nav-item.active,
.auth-mode-switch button.active,
.member-nav a.active,
.bot-detail-tab.active,
.product-choice-card:has(input:checked),
.provision-mode-card:has(input:checked),
[data-provision-form] .spot-setup-options label:has(input:checked),
.managed-funding-choice[aria-current="page"],
.dark-period-picker-option.is-selected,
.control-directory-pagination a[aria-current="page"],
.vault-counter-page .vault-orientation-button.is-active,
.mc-tabs .mc-tab.is-active,
.mc-delist-filter.is-active {
  border-color: rgba(var(--selection-frame-rgb), .9);
  box-shadow:
    inset 0 0 0 1px rgba(var(--selection-frame-rgb), .48),
    var(--selection-frame-shadow, 0 0 0 transparent);
}
