@layer legacy { @scope (.legacy-page, .account-security-dialog, .watch-stage-wrap, .age-gate, .toast) {
.choice-select {
  --choice-surface: #fff;
  --choice-ink: #274637;
  --choice-muted: #748071;
  --choice-line: #d3ddce;
  --choice-hover: #f1f5eb;
  --choice-selected: #e8f0de;
  --choice-accent: #416747;
  --choice-shadow: #18342320;
  min-width: 0;
  position: relative;
  font-weight: 400;
}
.choice-select .choice-trigger {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 13px;
  border: 1px solid var(--choice-line);
  border-radius: 9px;
  color: var(--choice-ink);
  background: var(--choice-surface);
  font: inherit;
  line-height: 1.5;
  text-align: left;
  transition:
    border-color 0.16s,
    box-shadow 0.16s,
    background 0.16s;
}
.choice-trigger > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.choice-trigger:hover:not(:disabled) {
  border-color: var(--choice-accent);
  background: var(--choice-hover);
}
.choice-trigger[aria-expanded='true'],
.choice-trigger:focus-visible {
  outline: 0;
  border-color: var(--choice-accent);
  box-shadow: 0 0 0 3px var(--choice-shadow);
}
.choice-trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.choice-trigger[aria-invalid='true'] {
  border-color: #b66a50;
}
.choice-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  flex-shrink: 0;
  opacity: 0.65;
  transition: transform 0.16s;
  margin-right: 3px;
}
.is-open .choice-chevron {
  transform: translateY(2px) rotate(225deg);
}
.choice-select .choice-popup {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 5px;
  box-sizing: border-box;
  border: 1px solid var(--choice-line);
  border-radius: 11px;
  background: var(--choice-surface);
  color: var(--choice-ink);
  box-shadow:
    0 12px 32px var(--choice-shadow),
    0 2px 5px var(--choice-shadow);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: choice-enter 0.14s ease-out;
  font: 400 14px/1.5 var(--sans);
}
.choice-popup::backdrop {
  background: transparent;
}
.choice-list {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--choice-line) transparent;
}
.choice-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 11px;
  min-height: 40px;
  border-radius: 6px;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.choice-option:hover,
.choice-option.is-active {
  background: var(--choice-hover);
}
.choice-option[aria-selected='true'] {
  color: var(--choice-accent);
  background: var(--choice-selected);
  font-weight: 600;
}
.choice-option[aria-disabled='true'] {
  opacity: 0.4;
  cursor: not-allowed;
  background: transparent;
}
.choice-check {
  width: 12px;
  height: 7px;
  border-bottom: 1.8px solid currentColor;
  border-left: 1.8px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
  visibility: hidden;
  flex-shrink: 0;
}
.choice-option[aria-selected='true'] .choice-check {
  visibility: visible;
}
.choice-select input.choice-search {
  width: calc(100% - 8px);
  flex-shrink: 0;
  min-height: 39px;
  margin: 4px 4px 7px;
  padding: 8px 10px;
  border: 1px solid var(--choice-line);
  border-radius: 6px;
  background: var(--choice-hover);
  color: var(--choice-ink);
  font: inherit;
  outline: none;
}
.choice-select input.choice-search:focus {
  border-color: var(--choice-accent);
  outline: none;
}
.choice-search::placeholder,
.choice-empty {
  color: var(--choice-muted);
}
.choice-empty {
  padding: 18px 11px;
  text-align: center;
}
@keyframes choice-enter {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (pointer: coarse) {
  .choice-option {
    min-height: 44px;
  }
  .choice-select input.choice-search {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .choice-select *,
  .choice-select .choice-popup {
    transition: none;
    animation: none;
  }
}
@media (forced-colors: active) {
  .choice-option[aria-selected='true'] {
    outline: 1px solid Highlight;
  }
  .choice-option.is-active {
    outline: 1px dashed Highlight;
    outline-offset: -2px;
  }
}

}}