.abc-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  width: min(100%, 34rem);
  padding: 4px;
  border: 1px solid #536579;
  border-radius: 13px;
  background: #0b1520;
}
.abc-picker[hidden] { display: none; }
.abc-picker :is(a,button) {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: .35rem .2rem;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font: 700 clamp(.7rem, 2.7vw, .91rem)/1.15 system-ui, sans-serif;
  background: transparent;
  color: #c5d2df;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.abc-picker :is(a,button):hover { background: #203247; color: #fff; }
.abc-picker :is([aria-current=true],[aria-pressed=true]) {
  background: #e9f0f7;
  border-color: #fff;
  color: #14273d;
}
.abc-picker :is(a,button):focus-visible { outline: 2px solid #ffa660; outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) {
  .abc-picker :is(a,button) { transition: none; }
}

/* Match the sample buttons to the corresponding demo's primary action. */
:is(body,.style-preview)[data-style=clean] :is(.abc-button,.style-example-cta) {
  background:#1646c4; color:#fff; border:1px solid #123894; border-radius:8px;
  box-shadow:0 2px 4px #183b7440; letter-spacing:normal; padding-inline:1rem;
}
:is(body,.style-preview)[data-style=clean] :is(.abc-button,.style-example-cta):hover {
  background:#1036a2; box-shadow:0 4px 12px #183b7450;
}
:is(body,.style-preview)[data-style=bold] :is(.abc-button,.style-example-cta) {
  background:linear-gradient(110deg,#ff9b5f,#ff7036); color:#1a0d08;
  border:1px solid #ffad7c; border-right:4px solid #a63718; border-radius:0;
  box-shadow:0 0 0 1px #0009; text-transform:uppercase; letter-spacing:.065em;
}
:is(body,.style-preview)[data-style=bold] :is(.abc-button,.style-example-cta):hover {
  background:#ffab79; box-shadow:0 0 16px #ff78384d;
}
:is(body,.style-preview)[data-style=local] :is(.abc-button,.style-example-cta) {
  background:#783d29; color:#fff8ee; border:1px solid #6d3423; border-radius:999px;
  box-shadow:0 3px 8px #57271936; padding-inline:1.35rem;
}
:is(body,.style-preview)[data-style=local] :is(.abc-button,.style-example-cta):hover {
  background:#602e20; box-shadow:0 4px 12px #57271955;
}
