.hint-block {
  position: relative;
}

.hint-block::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  background: center / 14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3c-4.5 0-8 1.7-8 3.8V12c0 2.1 3.5 3.8 8 3.8s8-1.7 8-3.8V6.8C20 4.7 16.5 3 12 3Zm0 2c3.8 0 6 .9 6 1.8S15.8 8.6 12 8.6 6 7.7 6 6.8 8.2 5 12 5Zm0 8.8c-3.8 0-6-.9-6-1.8V9.4c1.4.9 3.8 1.4 6 1.4s4.6-.5 6-1.4V12c0 .9-2.2 1.8-6 1.8Zm0 4c-3.8 0-6-.9-6-1.8v-1.2c1.4.9 3.8 1.4 6 1.4s4.6-.5 6-1.4V16c0 .9-2.2 1.8-6 1.8Z' fill='%23ffd54f'/%3E%3C/svg%3E");
}

.restable_h th::before {
  display: none !important;
}

.restable_h th:nth-child(2) {
  display: flex;
  align-items: center;
}

.restable_h th:nth-child(2)::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  flex: 0 0 15px;
  background: center / 15px 15px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 7h16M4 12h16M4 17h10' stroke='%23ffffff' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E");
}

#torrents_load td[title*="Торрентом будет скачано"] span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#torrents_load td[title*="Торрентом будет скачано"] span:first-child::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  background: center / 13px 13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 7h14M5 12h14M5 17h9' stroke='%23f5e669' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E");
}

#torrents_load a[href*="search-torrents/download/"],
#torrents_load a[href*="sub2.bubblesmedia.net"][href*="search-torrents/download/"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
}

#torrents_load a[href*="search-torrents/download/"]::before,
#torrents_load a[href*="sub2.bubblesmedia.net"][href*="search-torrents/download/"]::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: center / 14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3v10m0 0 4-4m-4 4-4-4M5 16v1a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-1' stroke='white' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#torrents_load a[href*="sub2.bubblesmedia.net"][href*="search-torrents/download/"] + div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

#torrents_load a[href*="sub2.bubblesmedia.net"][href*="search-torrents/download/"] + div::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: center / 10px 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 7h14v10H5z' stroke='%23cfcfcf' stroke-width='2'/%3E%3Cpath d='M9 17h6' stroke='%23cfcfcf' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.form-wrapper-tor .search_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-wrapper-tor .search_button::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: center / 14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3v10m0 0 4-4m-4 4-4-4M5 16v1a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-1' stroke='white' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 760px) {
  .warning-block,
  .hint-block {
    font-size: 12px !important;
    line-height: 1.45;
    padding-left: 12px !important;
    padding-right: 12px !important;
    text-align: center;
  }

  .warning-block .info-icon,
  .hint-block .hint-icon {
    position: static !important;
    margin-left: 8px;
    transform: none !important;
  }

  .form-wrapper-tor {
    width: auto !important;
    margin: 10px 0 18px !important;
    padding: 12px !important;
  }

  .form-wrapper-tor input,
  .form-wrapper-tor button {
    float: none !important;
    width: 100% !important;
    border-radius: 8px !important;
  }

  .form-wrapper-tor input {
    height: 42px !important;
    margin-bottom: 10px;
    padding: 10px 12px !important;
    font-size: 15px !important;
    box-sizing: border-box;
  }

  .form-wrapper-tor button {
    height: 42px !important;
    line-height: 42px !important;
    font-size: 14px !important;
  }

  #torrents_load .green-scroll {
    max-height: 62vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  #torrents_load .green-scroll .restable,
  #torrents_load .green-scroll .restable tbody {
    display: block;
    width: 100%;
  }

  #torrents_load .green-scroll .restable tr {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    padding: 10px 10px 12px;
  }

  #torrents_load .green-scroll .restable td {
    display: block;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
    box-sizing: border-box;
  }

  #torrents_load .green-scroll .restable td:first-child {
    flex: 1 1 100%;
    min-width: 0;
  }

  #torrents_load .green-scroll .restable td:first-child b {
    display: block;
    font-size: 15px;
    line-height: 1.35;
  }

  #torrents_load .green-scroll .restable td:nth-child(2) {
    flex: 1 1 auto;
  }

  #torrents_load .green-scroll .restable td:nth-child(3) {
    flex: 0 0 26px;
    text-align: center !important;
  }

  #torrents_load .green-scroll .restable td:last-child {
    flex: 0 0 auto;
    margin-left: auto;
  }

  #torrents_load td[title*="Торрентом будет скачано"] span:first-child {
    font-size: 11px !important;
  }

  #torrents_load td[title*="Торрентом будет скачано"] span:last-child {
    font-size: 15px !important;
    display: inline-block;
    margin-left: 4px !important;
  }

  #torrents_load a[href*="search-torrents/download/"],
  #torrents_load a[href*="sub2.bubblesmedia.net"][href*="search-torrents/download/"] {
    min-height: 36px;
    padding: 6px 12px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
  }

  #torrents_load a[href*="sub2.bubblesmedia.net"][href*="search-torrents/download/"] + div {
    display: block;
    margin-top: 4px !important;
    text-align: center;
    font-size: 9px !important;
  }

  .restable_h th:nth-child(2) {
    font-size: 14px !important;
    line-height: 1.3;
    padding-right: 8px !important;
  }
}
