.royal-hud-links > .table-design-control {
  min-width: 0;
  border: 1px solid #edc27fc4;
  border-radius: 7px;
  color: #fff0d1;
  background: #32171b;
  line-height: 1.2;
}
.royal-hud-links > .table-design-control[open] {
  box-shadow: 0 0 8px #ffc66e38;
}
.table-design-control > summary {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 9px;
  font-size: .78rem;
  font-weight: 750;
  color: inherit;
}
.table-design-control > summary::marker { content: ""; }
.table-design-control > summary::-webkit-details-marker { display: none; }
.table-design-control > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-right: 1.5px solid #ffda90;
  border-bottom: 1.5px solid #ffda90;
  transform: translateY(-2px) rotate(45deg);
}
.table-design-control[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.table-design-choices {
  border: none;
  margin: 0;
  padding: 0 4px 4px;
  min-inline-size: 0;
  display: grid;
  gap: 2px;
}
.table-design-control > summary:focus-visible, .table-design-choice:focus-within {
  outline: 2px solid #fff1cc;
  outline-offset: -2px;
}
.table-design-choice {
  position: relative;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) 9px;
  align-items: center;
  gap: 5px;
  padding: 4px;
  min-height: 32px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 650;
  white-space: nowrap;
}
.table-design-choice input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  min-width: 0;
  min-height: 0;
  margin: -1px;
  padding: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.table-design-choice.is-current {
  color: #ffe3ab;
  background: #67402f;
  border-color: #dba86a;
}
.table-design-choice.is-current::after { content: "✓"; }
.table-design-swatch {
  width: 12px;
  height: 12px;
  border: 1px solid #e7bf75b3;
  border-radius: 3px;
  background: linear-gradient(135deg,#a44854,#5e1724 75%);
}
.table-design-swatch[data-design="jade"] { background: linear-gradient(135deg,#54846c,#173d32 75%); }
.table-design-swatch[data-design="midnight"] { background: linear-gradient(135deg,#526477,#17212e 75%); }
.table-design-swatch[data-design="cream"] { background: linear-gradient(135deg,#ffedc9,#d9ae73 78%); }
.table-design-swatch[data-design="white"] { background: linear-gradient(135deg,#fff,#e2e6e7 88%); }
.table-design-swatch[data-design="contrast"] {
  background: linear-gradient(135deg,#fff 0 40%,#24231c 41% 58%,#fff 59% 75%,#ab241e 76%);
}
.table-design-swatch[data-design="sapphire"] { background: linear-gradient(135deg,#406da3,#132d5c 80%); }
.table-design-swatch[data-design="onyx"] { background: linear-gradient(135deg,#4d4644,#110e10 80%); }
.table-design-swatch[data-design="jade-ivory"] { background: linear-gradient(135deg,#fcf0cc 48%,#64907c 80%); }
.table-design-swatch[data-design="rose-porcelain"] { background: linear-gradient(135deg,#ffedef,#dba2a9 80%); }
