.studio-document .bd-app[data-demo-role="clinician"]:not([data-preview-child="true"]) .bd-game-switcher-bar {
  align-items: center;
  flex-wrap: nowrap;
}
.studio-document .bd-game-switcher-bar:has([data-desk-game-access]:not([hidden])) {
  flex-wrap: wrap !important;
}
.desk-game-picker { min-width: 0; width: min(19rem, 100%); margin-inline-end: auto; }
.desk-game-picker *, .desk-game-picker { box-sizing: border-box; }
.desk-game-picker [hidden], .desk-game-option[data-filtered] { display: none !important; }
.desk-game-trigger, .desk-game-option, .desk-game-clear { font: inherit; cursor: pointer; color: var(--desk-text); }
.desk-game-trigger {
  display: grid; width: 100%; min-height: 48px; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: .65rem; padding: .23rem .8rem .23rem .28rem;
  border: 1px solid var(--desk-line-strong); border-radius: 11px; background: var(--desk-card);
  text-align: start;
}
.desk-game-trigger:hover, .desk-game-trigger[aria-expanded="true"] { background: var(--desk-hover); }
.desk-game-trigger, .desk-game-option { -webkit-tap-highlight-color: transparent; }
.desk-game-trigger img, .desk-game-option img { display: block; object-fit: cover; border-radius: 7px; background: var(--desk-well); }
.desk-game-trigger img { width: 51px; height: 37px; }
.desk-game-choice, .desk-game-option-copy { min-width: 0; display: grid; gap: 2px; }
.desk-game-choice small { color: var(--desk-muted); font-size: .73rem; line-height: 1; font-weight: 650; }
.desk-game-choice strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .98rem; line-height: 1.18; }
.desk-game-chevron { display: block; width: 8px; height: 8px; margin-inline: 3px; border: solid currentColor; border-width: 0 1.7px 1.7px 0; transform: translateY(-2px) rotate(45deg); }
.desk-game-trigger[aria-expanded="true"] .desk-game-chevron { transform: translateY(2px) rotate(225deg); }
.desk-game-menu {
  position: fixed; inset: auto; z-index: 200; margin: 0; padding: .5rem;
  display: flex; flex-direction: column; gap: .42rem; overflow: hidden;
  color: var(--desk-text); background: var(--desk-card); font-family: var(--studio-type, system-ui, sans-serif);
  border: 1px solid var(--desk-line-strong); border-radius: 15px;
  box-shadow: 0 16px 48px #051b1638, 0 3px 10px #07191624;
}
.desk-game-menu::backdrop { background: transparent; pointer-events: none; }
.studio-document .bd-app .desk-game-menu:focus { outline: none; }
.desk-game-search {
  flex: none; display: flex; align-items: center; gap: .55rem; min-height: 44px; padding-inline: .7rem .2rem;
  border: 1px solid var(--desk-line-strong); border-radius: 9px; background: var(--desk-well); color: var(--desk-muted);
}
.desk-game-search:focus-within { outline: 2px solid var(--bc-teal-border); outline-offset: -1px; }
.studio-document .bd-app .desk-game-search input:focus-visible { outline: none !important; box-shadow: none; }
.studio-document .desk-game-search input {
  flex: 1; min-width: 0; width: 100%; height: 42px; border: 0; padding: 0;
  box-shadow: none; background: transparent; color: var(--desk-text); outline: none; font: inherit; font-size: 1rem;
}
.desk-game-search input::placeholder { color: var(--desk-muted); opacity: 1; }
.desk-game-search input::-webkit-search-cancel-button { display: none; }
.desk-game-clear { flex: none; width: 42px; min-height: 42px; border: 0; border-radius: 7px; background: transparent; font-size: 1.35rem; line-height: 1; }
.desk-game-clear:hover { background: var(--desk-hover); }
.desk-game-list { display: grid; align-content: start; gap: 2px; overflow-y: auto; min-height: 0; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--desk-line-strong) transparent; }
.desk-game-option {
  display: grid; grid-template-columns: auto minmax(0, 1fr) 22px; align-items: center; gap: .72rem;
  width: 100%; min-height: 56px; padding: .35rem .55rem .35rem .35rem; border: 0; border-radius: 8px;
  background: transparent; text-align: start; line-height: 1.2;
}
.desk-game-option img { width: 60px; height: 42px; }
.desk-game-option-copy strong { color: var(--desk-text); font-size: 1rem; overflow-wrap: anywhere; }
.desk-game-option-copy > span { font-size: .77rem; font-weight: 480; color: var(--desk-muted); }
.desk-game-option [data-game-access-label]:not(:empty) { display: block; font-weight: 650; }
.desk-game-option [data-game-skills]:has(+ [data-game-access-label]:not(:empty)) { display: none; }
.desk-game-option[aria-selected="true"] { background: var(--desk-well); }
.desk-game-option[data-highlighted], .desk-game-option:not(:disabled):hover { background: var(--desk-hover); }
.desk-game-option[aria-selected="true"] .desk-game-tick { display: grid; place-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--desk-mint); color: var(--desk-on-mint); }
.desk-game-option[aria-selected="true"] .desk-game-tick::after { content: ''; width: 8px; height: 4px; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.desk-game-option:disabled { cursor: default; }
.desk-game-option:disabled img { filter: saturate(.45); }
.desk-game-option:disabled strong { color: var(--desk-muted); }
.desk-game-option:disabled .desk-game-tick { position: relative; justify-self: center; width: 12px; height: 10px; margin-top: 4px; border: 1.5px solid var(--desk-muted); border-radius: 3px; }
.desk-game-option:disabled .desk-game-tick::before { content: ''; position: absolute; bottom: 100%; left: 1px; right: 1px; height: 6px; border: 1.5px solid var(--desk-muted); border-bottom: 0; border-radius: 5px 5px 0 0; }
.desk-game-picker :is(button):focus-visible { outline: 2px solid var(--bc-focus); outline-offset: -2px; }
.desk-game-empty { margin: .55rem .8rem 1rem; color: var(--desk-muted); font-size: .95rem; }
.desk-game-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .desk-game-trigger, .desk-game-option { transition: background-color .14s ease; }
  .desk-game-chevron { transition: transform .15s ease-out; }
}
@media (max-width: 700px) {
  .desk-game-picker { width: 100%; }
  .desk-game-trigger { gap: .4rem; padding-inline-end: .55rem; }
  .desk-game-trigger img { width: 37px; height: 35px; }
  .desk-game-choice strong { font-size: .89rem; }
}
