.queue-sidebar.has-external-video-search {
  grid-template-rows: 88px 52px 62px minmax(0, 1fr);
}

.queue-sidebar.has-external-video-search > .queue-list {
  grid-row: 4;
}

.sidebar-video-search-enhancement {
  position: fixed;
  z-index: 102;
  top: 140px;
  left: 0;
  display: flex;
  width: min(420px, calc(100vw - 56px));
  height: 62px;
  padding: 10px 14px 11px;
  align-items: center;
  border-bottom: 1px solid #30343a;
  background: #141619;
}

.sidebar-video-search-enhancement > svg {
  position: absolute;
  left: 27px;
  color: #8f959e;
  pointer-events: none;
}

.sidebar-video-search-enhancement input {
  width: 100%;
  height: 40px;
  padding: 0 42px 0 40px;
  border: 1px solid #3d424a;
  border-radius: 10px;
  outline: none;
  background: #1d2025;
  color: #f2f3f5;
  font: inherit;
  font-size: 14px;
}

.sidebar-video-search-enhancement input::placeholder {
  color: #858b94;
}

.sidebar-video-search-enhancement input:focus {
  border-color: #7665df;
  box-shadow: 0 0 0 3px rgba(118, 101, 223, .18);
}

.sidebar-video-search-enhancement input::-webkit-search-cancel-button {
  appearance: none;
}

.sidebar-video-search-clear {
  position: absolute;
  right: 21px;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #aeb3bb;
  cursor: pointer;
}

.sidebar-video-search-clear:hover {
  background: #343840;
  color: #fff;
}

.sidebar-video-search-clear[hidden] {
  display: none;
}

.sidebar-video-search-empty {
  position: fixed;
  z-index: 103;
  top: 216px;
  left: 14px;
  width: min(392px, calc(100vw - 84px));
  padding: 36px 20px;
  background: #141619;
  color: #8f959e;
  font-size: 15px;
  text-align: center;
}

.sidebar-video-search-empty[hidden] {
  display: none;
}

.sidebar-video-search-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.queue-sidebar.is-video-searching-external .queue-count-summary,
.queue-sidebar.is-video-searching-external .queue-background-status {
  display: none;
}
