/* Fast search results rendered by DLE in #searchsuggestions. */
#searchsuggestions {
  z-index: 10020 !important;
  width: min(470px, calc(100vw - 32px)) !important;
  max-height: min(520px, calc(100vh - 104px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px !important;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: #171819 !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, .54) !important;
  color: #eeeee9;
  font-family: Manrope, Arial, sans-serif;
}

#searchsuggestions .kinogo-fs-result {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 70px;
  padding: 7px !important;
  border: 1px solid transparent;
  border-bottom: 0 !important;
  border-radius: 6px;
  color: #eeeee9;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

#searchsuggestions .kinogo-fs-result + .kinogo-fs-result {
  margin-top: 3px;
}

#searchsuggestions .kinogo-fs-result:hover,
#searchsuggestions .kinogo-fs-result:focus-visible {
  border-color: rgba(255, 255, 255, .12);
  background: #222325 !important;
  color: #fff;
  outline: 0;
  transform: translateX(2px);
}

#searchsuggestions .kinogo-fs-poster {
  display: block !important;
  width: 48px;
  height: 64px;
  overflow: hidden;
  border-radius: 4px;
  background: #262729;
}

#searchsuggestions .kinogo-fs-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#searchsuggestions .kinogo-fs-copy {
  display: grid !important;
  min-width: 0;
  gap: 7px;
}

#searchsuggestions .kinogo-fs-title {
  display: -webkit-box !important;
  overflow: hidden;
  color: #f0f0eb;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#searchsuggestions .kinogo-fs-meta {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: #969792;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}

#searchsuggestions .kinogo-fs-type,
#searchsuggestions .kinogo-fs-year,
#searchsuggestions .kinogo-fs-rating {
  display: inline-flex !important;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 3px;
  background: #292a2c;
  white-space: nowrap;
}

#searchsuggestions .kinogo-fs-type {
  color: #d8d6cc;
}

#searchsuggestions .kinogo-fs-rating--kp {
  color: #ef9b52;
}

#searchsuggestions .kinogo-fs-rating--imdb {
  color: #e2c264;
}

#searchsuggestions span.searchheading,
#searchsuggestions span.notfound {
  display: block !important;
  margin: 0 !important;
  padding: 12px 10px !important;
  border: 0 !important;
  color: #dadad5;
  font-family: Manrope, Arial, sans-serif;
}

#searchsuggestions span.searchheading {
  color: #f3f3ee;
  font-size: 12px;
  font-weight: 700;
}

#searchsuggestions span.searchheading + span,
#searchsuggestions span.notfound {
  color: #9b9c98;
  font-size: 12px;
}

#searchsuggestions span.seperator {
  display: none !important;
}

@media (max-width: 590px) {
  .kc-header__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .kc-header__tools {
    display: grid;
    grid-template-columns: 38px 36px 36px;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-left: 0;
  }

  .kc-search {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .kc-account-toggle,
  .kc-menu-toggle {
    width: 36px;
    height: 36px;
  }

  .kc-menu-toggle {
    padding: 7px;
  }

  .kc-search:focus-within {
    position: fixed;
    z-index: 10030;
    top: 15px;
    right: 14px;
    left: 14px;
    width: auto;
    height: 38px;
    flex-basis: auto;
    border-radius: 5px;
    background: #101112;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .48);
  }

  .kc-search:focus-within input {
    width: 100%;
    padding: 0 40px 0 13px;
    background: #101112;
    opacity: 1;
    cursor: text;
  }

  #searchsuggestions {
    position: fixed !important;
    top: 76px !important;
    right: 12px;
    left: 12px !important;
    width: calc(100vw - 24px) !important;
    max-height: min(460px, calc(100vh - 90px));
    padding: 6px !important;
    border-radius: 7px;
  }

  #searchsuggestions .kinogo-fs-result {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 9px;
    min-height: 63px;
    padding: 6px !important;
  }

  #searchsuggestions .kinogo-fs-poster {
    width: 44px;
    height: 58px;
  }

  #searchsuggestions .kinogo-fs-title {
    font-size: 12px;
  }
}
