.av-character-picker {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-width: 0;
}
.av-character-picker-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  border: 0 !important;
}
.av-character-picker-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 8px 13px;
  border: 1px solid #e0c394;
  border-radius: 12px;
  background: #ffefe0;
  color: #634b2d;
  font: inherit;
  text-align: left;
}
.av-character-picker-toggle::after {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.av-character-picker-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg) translate(-2px, -1px);
}
.av-character-picker-toggle:disabled {
  opacity: .65;
  cursor: default;
}
.av-character-picker-toggle:focus-visible {
  outline: 3px solid #9a6c21;
  outline-offset: 3px;
}
.av-character-picker-icon {
  display: block;
  flex: none;
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.av-character-picker-guild {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.av-cabinet .av-transfer-silver > .av-character-picker {
  grid-column: 2;
}
@media (max-width: 760px) {
  .av-cabinet .av-transfer-silver > .av-character-picker {
    grid-column: 1;
  }
}
.av-character-picker-name {
  min-width: 0;
  overflow-wrap: anywhere;
}
.av-character-picker-placeholder {
  color: #99876a;
}
.av-character-picker-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 1040;
  max-height: min(320px, 45vh);
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  border: 1px solid #e9d6be;
  border-radius: 12px;
  background: #fff1db url("./avelon-paper.png") center / 100% 100%;
  box-shadow: inset 0 0 12px 3px #fff0d4cc, 0 0 8px #1b0f051f;
}
.av-character-picker-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px;
  border-radius: 7px;
  color: #634b2d;
  cursor: pointer;
}
.av-character-picker-option[aria-selected="true"] {
  font-weight: 590;
}
.av-character-picker-option[data-active="true"],
.av-character-picker-option:hover {
  background: #ffc76c40;
  color: #5d4318;
}
.av-character-picker-option[aria-disabled="true"] {
  opacity: .6;
  cursor: default;
}
body:not(.av-cabinet) .av-character-picker {
  max-width: none;
}
body:not(.av-cabinet) .input-group > .av-character-picker {
  flex: 1 1 auto;
  width: 1%;
  min-width: 180px;
}
body:not(.av-cabinet) .av-character-picker-toggle {
  min-height: 38px;
  padding: .375rem .75rem;
  border-color: var(--bs-border-color, #dee2e6);
  border-radius: var(--bs-border-radius, .375rem);
  background: var(--bs-body-bg, #fff);
  color: var(--bs-body-color, #212529);
}
body:not(.av-cabinet) .av-character-picker-toggle:focus-visible {
  outline-color: #86b7fe;
}
body:not(.av-cabinet) .av-character-picker-list {
  border-color: var(--bs-border-color, #dee2e6);
  border-radius: var(--bs-border-radius, .375rem);
  background: var(--bs-body-bg, #fff);
  box-shadow: 0 .5rem 1rem #00000026;
}
body:not(.av-cabinet) .av-character-picker-option {
  color: var(--bs-body-color, #212529);
  border-radius: var(--bs-border-radius-sm, .25rem);
}
body:not(.av-cabinet) .av-character-picker-option[data-active="true"],
body:not(.av-cabinet) .av-character-picker-option:hover {
  background: var(--bs-primary-bg-subtle, #cfe2ff);
  color: var(--bs-primary-text-emphasis, #052c65);
}
body:not(.av-cabinet) .av-character-picker-placeholder {
  color: var(--bs-secondary-color, #6c757d);
}
