/* One native-select treatment across the Portal, with space for an inset chevron. */
:root {
  --portal-select-chevron-inset: 18px;
  --portal-select-chevron-size: 14px;
  --portal-select-chevron-reserve: 46px;
  --portal-select-chevron-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237D847A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

select:not([multiple]) {
  -webkit-appearance: none !important;
  appearance: none !important;
  padding-right: var(--portal-select-chevron-reserve) !important;
  background-image: var(--portal-select-chevron-image) !important;
  background-repeat: no-repeat !important;
  background-position: right var(--portal-select-chevron-inset) center !important;
  background-size: var(--portal-select-chevron-size) var(--portal-select-chevron-size) !important;
}

/* The dark song chart needs a light chevron for readable contrast. */
body.is-song-detail .song-chart-select select {
  --portal-select-chevron-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23F6F3EC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
