.sd {
  width: 540px;
  height: 540px;
  box-sizing: border-box;
  padding: 49px 30px;
  background: #ff3000;
  color: #fff;
  font-family: "Inter Tight Variable", sans-serif;
}

.sd * { box-sizing: border-box; }

.sd-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 92px;
  padding: 0 24px 0 26px;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #fff;
  font: inherit;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.04em;
  outline: none;
}

.sd-trigger:focus-visible { box-shadow: inset 0 -8px 0 #fff; }

.sd-arrow {
  width: 44px;
  height: 44px;
  stroke-width: 2.6;
  transition: rotate 200ms ease;
}

.sd-trigger[data-open] .sd-arrow { rotate: 180deg; }

.sd-pop {
  width: var(--anchor-width);
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 2px solid #fff;
  background: transparent;
  outline: none;
  transition: clip-path 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
  clip-path: inset(0 0 0 0);
}

.sd-pop[data-starting-style],
.sd-pop[data-ending-style] {
  clip-path: inset(0 0 100% 0);
}

.sd-pop [data-slot="select-item"] {
  display: flex;
  align-items: center;
  height: 58px;
  padding: 0 26px;
  border-bottom: 2px solid #ffffff66;
  color: #fff;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.04em;
  outline: none;
  transition: font-weight 180ms ease, background-color 120ms;
}

.sd-pop [data-selected]::after {
  content: "●";
  margin-left: 14px;
  font-size: 16px;
}

.sd-pop [data-highlighted] {
  background: #000;
  border-bottom-color: #000;
  box-shadow: 0 -2px 0 #000;
  font-weight: 800;
}
