/* Native selects remain the sole interactive and accessible controls. */
html[data-preview-theme] #practice-layout .ycb-controls .ypo-select-shell {
  position: relative;
  display: inline-grid;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 70%;
  padding: 5px 22px 5px 0;
  color: inherit;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  text-align: right;
}
html[data-preview-theme] #practice-layout .ycb-controls .ycb-focus .ypo-select-shell { font-size: 14px; }
#practice-layout .ypo-value-window {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  pointer-events: none;
}
#practice-layout .ypo-value-measure {
  display: block;
  visibility: hidden;
  white-space: nowrap;
}
#practice-layout .ypo-value-line {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: inherit;
}
#practice-layout .ypo-select-shell::after {
  content: '';
  position: absolute;
  right: 3px;
  top: calc(50% - 4px);
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  pointer-events: none;
}
html[data-preview-theme] #practice-layout .ycb-controls .ypo-select-shell > select {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
#practice-layout .ypo-select-shell:focus-within {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 3px;
}
@media (max-width: 390px) {
  html[data-preview-theme] #practice-layout .ycb-controls .ypo-select-shell { font-size: 14px; }
  html[data-preview-theme] #practice-layout .ycb-controls .ycb-focus .ypo-select-shell { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  #practice-layout .ypo-value-line { transition: none; animation: none; }
}

/* End the glass panel after Focus, above the separate practice action. */
html[data-preview-theme] #practice-layout .ycb-controls > .ycb-more {
  display: none;
}
html[data-preview-theme] #practice-layout .ycb-controls > .ycb-focus {
  border-bottom: 0;
  padding-bottom: 8px;
}
