/* HAT Variant Dots — liste sur mesure à pastilles, posée sur les <select> de déclinaison. */
.hvd-wrap { position: relative; display: block; }
.hvd-wrap > select.hvd-native {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; pointer-events: none;
}
.hvd-trigger {
  display: block; width: 100%; text-align: left; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding-right: 2rem;
}
.hvd-list {
  position: fixed; z-index: 1050; left: 0; top: 0; box-sizing: border-box; -webkit-overflow-scrolling: touch;
  min-width: 100%; width: max-content; max-width: calc(100vw - 32px); max-height: 320px; overflow-y: auto;
  margin: 0; padding: 4px 0; list-style: none;
  background: #fff; border: 1px solid #c9c9c9; border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.hvd-list[hidden] { display: none; }
.hvd-opt {
  display: flex; align-items: center; padding: 7px 12px;
  cursor: pointer; color: #222; line-height: 1.3; white-space: nowrap;
}
.hvd-opt.is-active { background: #eef3fb; }
.hvd-opt[aria-selected="true"] { font-weight: 600; }

.hvd-dot {
  flex: none; display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; margin-right: 9px; vertical-align: 1px;
}
.hvd-dot-g { background: radial-gradient(circle at 35% 30%, #b9f5c9 0, #22c55e 45%, #15803d 100%); box-shadow: 0 0 4px rgba(34, 197, 94, .55); }
.hvd-dot-o { background: radial-gradient(circle at 35% 30%, #ffe0b0 0, #f59e0b 45%, #b45309 100%); box-shadow: 0 0 4px rgba(245, 158, 11, .55); }
.hvd-dot-r { background: radial-gradient(circle at 35% 30%, #fecaca 0, #ef4444 45%, #991b1b 100%); box-shadow: 0 0 4px rgba(239, 68, 68, .5); }

.hvd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
