/* GRFTSH GEAR HASHTAG AUTOCOMPLETE V1 */

.gear-hashtag-autocomplete {
  position: fixed;
  z-index: 12000;
  display: grid;
  gap: 2px;
  max-height: min(270px, 42vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(13,13,13,.98);
  box-shadow: 0 14px 42px rgba(0,0,0,.42);
  -webkit-overflow-scrolling: touch;
}

.gear-hashtag-autocomplete[hidden] { display: none !important; }

.gear-hashtag-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 0 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #d8d8d8;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.gear-hashtag-option:hover,
.gear-hashtag-option.is-active {
  background: rgba(255,255,255,.075);
  color: #fff;
}

.gear-hashtag-option:focus-visible {
  outline: 2px solid rgba(255,255,255,.28);
  outline-offset: -2px;
}

@media (max-width: 699px) {
  .gear-hashtag-autocomplete {
    max-height: min(238px, 38vh);
    border-radius: 11px;
  }

  .gear-hashtag-option {
    min-height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }
}
