/* DialogLab v1.69.38 — Search & Player visual QA phase.
   Target: existing dashboard Search/Player only, plus legacy /search results.
   Layout contract: NO changes to display/position/dimensions/gap/padding/margins/
   z-index/transforms/transitions/opacity/animations/video/seek/caption flow.
   Paint-only properties preserve the control geometry and existing stacking. */
:root {
  --dl38-focus: #fbd57c;
  --dl38-teal: #78e8dc;
  --dl38-ink: #061622;
  --dl38-border: rgba(120,226,220,.38);
}
/* Preserve the video surface, video caption positions and playback controls. */
body.app-body.user-mode .player-home .pro-player-card:not(.max-view) {
  border-color: rgba(107,211,215,.36) !important;
  box-shadow: 0 21px 75px rgba(0,7,20,.23), inset 0 1px rgba(208,250,255,.035) !important;
}
body.app-body.user-mode .player-home .top-movie-pill {
  border-color: rgba(123,221,228,.35) !important;
  background: rgba(6,29,42,.80) !important;
}
body.app-body.user-mode .player-home .pro-counter-pill {
  border-color: rgba(123,220,211,.30) !important;
}
/* Search form: appearance only. Input size and the Genre selector are unchanged. */
body.app-body.user-mode .player-home #phrase-search-form.dl-search-row-v16614 {
  border-color: rgba(123,225,219,.45) !important;
  box-shadow: 0 10px 30px rgba(0,9,21,.16) !important;
}
body.app-body.user-mode .player-home #phrase-search-form.dl-search-row-v16614:focus-within {
  border-color: var(--dl38-focus) !important;
  box-shadow: 0 0 0 2px rgba(251,213,124,.18), 0 12px 33px rgba(0,7,18,.18) !important;
}
body.app-body.user-mode .player-home #phrase-query::placeholder {
  color: #baccd7 !important;
}
body.app-body.user-mode .player-home .genre-filter-wrap {
  border-color: rgba(115,213,218,.29) !important;
}
/* Playlist containers, list rows and the active row keep their original geometry. */
body.app-body.user-mode .player-home .playlist-panel.pro-results-panel {
  border-color: rgba(117,221,220,.32) !important;
  box-shadow: 0 21px 65px rgba(0,8,21,.22) !important;
}
body.app-body.user-mode .player-home .pro-results-head {
  border-color: rgba(123,219,220,.26) !important;
}
body.app-body.user-mode .player-home .pro-playlist-list .playlist-item:hover {
  border-color: rgba(135,221,219,.42) !important;
}
body.app-body.user-mode .player-home .pro-playlist-list .playlist-item.active {
  border-color: rgba(119,235,214,.70) !important;
}
/* Keyboard-only navigation; an outline does not participate in box layout. */
body.app-body.user-mode .player-home :is(
  #phrase-query, #phrase-search-btn, #genre-filter,
  #big-play-button, #prev-clip, #next-clip,
  #player-settings-toggle, #clip-repeat-toggle, #clip-speed-toggle,
  #clip-stop-toggle, #maximize-player, #clip-jump-input,
  #toggle-fa, #toggle-en, #favorite-clip, #share-clip, #report-clip,
  #mobile-results-toggle-v16916, #mobile-results-close-v16916,
  #video-seek-slider, #load-more-clips, .playlist-item
):focus-visible {
  outline-color: var(--dl38-focus) !important;
}
/* Legacy result page, if reached via /search, gets equally restrained focus. */
body.app-body.user-mode .result-layout .search-dock:focus-within {
  border-color: rgba(251,213,124,.75) !important;
  box-shadow: 0 0 0 2px rgba(251,213,124,.14) !important;
}
@media (forced-colors: active) {
  body.app-body.user-mode .player-home :is(a,button,input,select):focus-visible { outline-color: Highlight; }
}
