.test-panel {
  display: grid;
  place-items: center;
  min-height: clamp(280px, 62vh, 620px);
  max-height: none;
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.test-dropdown { position: relative; inline-size: min(212px, 100%); z-index: 1; }
.test-dropdown summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-block-size: 52px;
  padding: 0 17px 3px;
  list-style: none;
  cursor: pointer;
  color: #221609;
  font: 600 1.12rem Type_Font_1, Impact, sans-serif;
  background: url("assets/test-dropdown/normal.png") center / 100% 100% no-repeat;
  image-rendering: pixelated;
}
.test-dropdown summary::-webkit-details-marker { display: none; }
.test-dropdown[open] summary,
.test-dropdown summary:focus-visible {
  background-image: url("assets/test-dropdown/hover.png");
}
.test-dropdown-arrow {
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.test-dropdown[open] .test-dropdown-arrow { transform: translateY(2px) rotate(225deg); }
.test-dropdown-list {
  position: absolute;
  inset: 100% 3px auto;
  padding: 4px;
  margin: 0;
  list-style: none;
  border: 1px solid #96724a;
  border-radius: 0 0 5px 5px;
  background: #262019;
  box-shadow: 0 5px 12px #0008;
}
.test-dropdown-list button {
  width: 100%;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #e9dfca;
  text-align: left;
  padding: 8px 10px;
  cursor: pointer;
  font: 500 1rem Type_Font_1, Impact, sans-serif;
}
.test-dropdown-list button:hover,
.test-dropdown-list button:focus-visible {
  background: #513519;
  color: #ffd396;
}
.test-dropdown summary:focus-visible { outline: 2px solid #d4be78; outline-offset: 3px; }
