.hetzner-wanted-page .wanted-page,
.most-wanted-servers-page .wanted-page {
  overflow: hidden;
}

.wanted-page a {
  text-decoration: none;
}

.wanted-page .btn,
.wanted-page button,
.wanted-ghost-btn,
.wanted-refresh-btn,
.wanted-small-link,
.wanted-telegram-order {
  text-transform: none !important;
}

.wanted-hero {
  padding: 142px 0 68px;
  position: relative;
}

.wanted-kicker {
  align-items: center;
  border: 1px solid rgba(238, 85, 134, 0.24);
  border-radius: 999px;
  color: #ee5586;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 18px;
  padding: 8px 13px;
  text-transform: uppercase;
}

.wanted-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: 780px;
}

.wanted-lead {
  font-size: 18px;
  line-height: 1.68;
  margin-bottom: 26px;
  max-width: 720px;
}

.wanted-actions,
.wanted-final-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wanted-ghost-btn {
  align-items: center;
  background: rgba(238, 85, 134, 0.08);
  border: 1px solid rgba(238, 85, 134, 0.2);
  border-radius: 7px;
  color: #ee5586;
  display: inline-flex;
  font-weight: 800;
  gap: 9px;
  min-height: 46px;
  padding: 11px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wanted-ghost-btn:hover {
  border-color: rgba(238, 85, 134, 0.48);
  box-shadow: 0 12px 28px rgba(238, 85, 134, 0.12);
  color: #ee5586;
  transform: translateY(-2px);
}

.wanted-hero-panel {
  border: 1px solid rgba(93, 105, 111, 0.12);
  border-radius: 8px;
  min-height: 330px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.wanted-hero-img {
  display: block;
  height: auto;
  margin: 0 auto 18px;
  max-width: 280px;
  width: 72%;
}

.wanted-hero-copy {
  border-top: 1px solid rgba(93, 105, 111, 0.14);
  padding-top: 18px;
}

.wanted-hero-copy strong,
.wanted-hero-copy small {
  display: block;
}

.wanted-hero-copy strong {
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.wanted-hero-copy small {
  color: #80888d;
  font-size: 14px;
  line-height: 1.5;
}

.wanted-hero-label {
  color: #ee5586;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.wanted-status {
  border: 1px solid rgba(93, 105, 111, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 28px;
  overflow: hidden;
}

.wanted-status > div {
  min-height: 82px;
  padding: 18px 20px;
}

.wanted-status-label {
  color: #8c979d;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.wanted-status strong,
.wanted-status a {
  color: inherit;
  font-size: 17px;
  font-weight: 800;
}

.wanted-refresh-status {
  position: relative;
}

.wanted-countdown-track {
  background: rgba(93, 105, 111, 0.12);
  border-radius: 999px;
  height: 7px;
  margin-top: 11px;
  overflow: hidden;
  width: 100%;
}

.wanted-countdown-track span {
  background: linear-gradient(90deg, #ee5586 0%, #ffc107 100%);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 0.4s ease;
  width: 0;
}

.wanted-refresh-btn {
  align-items: center;
  background: rgba(238, 85, 134, 0.08);
  border: 1px solid rgba(238, 85, 134, 0.18);
  border-radius: 7px;
  color: #ee5586;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  margin-top: 11px;
  min-height: 34px;
  padding: 7px 10px;
}

.wanted-refresh-btn:disabled {
  cursor: progress;
  opacity: 0.72;
}

.wanted-alert {
  border-radius: 8px;
  font-weight: 700;
  margin-bottom: 24px;
  padding: 16px 18px;
}

.wanted-alert.is-error {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.wanted-alert.is-note {
  background: rgba(255, 193, 7, 0.12);
  color: #8a6d0a;
}

.wanted-profiles {
  display: grid;
  gap: 28px;
}

.wanted-insight {
  padding: 32px 0 58px;
}

.wanted-insight-inner {
  border: 1px solid rgba(93, 105, 111, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) 440px;
  padding: 30px;
}

.wanted-insight-inner h2 {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 14px;
}

.wanted-insight-inner p {
  line-height: 1.68;
  margin: 0;
}

.wanted-insight-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.wanted-insight-item {
  align-items: start;
  border: 1px solid rgba(93, 105, 111, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 4px 13px;
  grid-template-columns: 38px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  padding: 16px;
}

.wanted-insight-item i {
  align-items: center;
  background: rgba(238, 85, 134, 0.1);
  border-radius: 7px;
  color: #ee5586;
  display: inline-flex;
  grid-row: 1 / span 2;
  height: 34px;
  justify-content: center;
  margin-bottom: 0;
  width: 34px;
}

.wanted-insight-item strong,
.wanted-insight-item span {
  display: block;
}

.wanted-insight-item strong {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 0;
  min-width: 0;
}

.wanted-insight-item span {
  color: #80888d;
  font-size: 13px;
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: anywhere;
}

.wanted-cpu-group {
  display: grid;
  gap: 16px;
}

.wanted-group-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 2px;
}

.wanted-group-title h2 {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

.wanted-group-count {
  border-radius: 999px;
  color: #ee5586;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 12px;
}

.wanted-profile {
  border: 1px solid rgba(93, 105, 111, 0.12);
  border-radius: 8px;
  padding: 18px;
}

.wanted-profile-head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.wanted-profile-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 7px;
}

.wanted-profile-meta {
  color: #80888d;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.wanted-profile-badge {
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
  text-transform: uppercase;
}

.wanted-profile-badge.has-stock {
  background: rgba(40, 167, 69, 0.12);
  color: #28a745;
}

.wanted-profile-badge.is-empty {
  background: rgba(238, 85, 134, 0.1);
  color: #ee5586;
}

.wanted-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wanted-server-card {
  border: 1px solid rgba(93, 105, 111, 0.12);
  border-left: 4px solid #ee5586;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 210px;
  padding: 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wanted-server-card:hover {
  border-color: rgba(238, 85, 134, 0.28);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.wanted-server-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.wanted-server-title h3 {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.28;
  margin: 0;
}

.wanted-server-id {
  background: rgba(93, 105, 111, 0.08);
  border-radius: 999px;
  color: #768188;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 8px;
}

.wanted-specs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wanted-spec {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: 34px minmax(0, 1fr);
  min-width: 0;
}

.wanted-spec i {
  align-items: center;
  background: rgba(238, 85, 134, 0.1);
  border-radius: 7px;
  color: #ee5586;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.wanted-spec span {
  color: #8c979d;
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.wanted-spec strong {
  display: block;
  font-size: 14px;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.wanted-price-box {
  align-self: stretch;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.wanted-price-label {
  color: #8c979d;
  display: block;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.wanted-main-price {
  display: block;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 4px;
}

.wanted-main-price sup {
  font-size: 19px;
  margin-right: 2px;
  top: -0.4em;
}

.wanted-rub-line {
  color: #80888d;
  display: block;
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 11px;
  min-height: 20px;
}

.wanted-auction-price {
  color: #8c979d;
  display: block;
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 14px;
}

.wanted-card-actions {
  display: grid;
  gap: 8px;
}

.wanted-card-actions .btn,
.wanted-card-actions .wanted-small-link,
.wanted-card-actions .wanted-telegram-order {
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  min-height: 38px;
  padding: 9px 11px;
}

.wanted-small-link {
  align-items: center;
  border: 1px solid rgba(93, 105, 111, 0.14);
  color: #7a858b;
  display: inline-flex;
  justify-content: center;
}

.wanted-small-link:hover {
  border-color: rgba(238, 85, 134, 0.28);
  color: #ee5586;
}

.wanted-telegram-order {
  align-items: center;
  background: linear-gradient(135deg, #27a7e7 0%, #1b86c7 100%);
  border: 1px solid rgba(39, 167, 231, 0.4);
  box-shadow: 0 10px 24px rgba(39, 167, 231, 0.22);
  color: #fff;
  display: inline-flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  z-index: 0;
}

.wanted-telegram-order::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  content: "";
  height: 120%;
  left: -70%;
  position: absolute;
  top: -10%;
  transform: skewX(-18deg);
  width: 52%;
  z-index: -1;
  animation: wantedTelegramSweep 2.8s ease-in-out infinite;
}

.wanted-telegram-order:hover {
  box-shadow: 0 14px 30px rgba(39, 167, 231, 0.32);
  color: #fff;
  transform: translateY(-2px);
}

.wanted-telegram-order i {
  position: relative;
  z-index: 1;
}

.wanted-empty-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.wanted-notify-btn {
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(238, 85, 134, 0.16);
  min-width: 218px;
  overflow: hidden;
  position: relative;
  white-space: normal;
}

.wanted-notify-btn.is-active,
.wanted-notify-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, #22a36f 0%, #15805d 100%) !important;
  border-color: rgba(34, 163, 111, 0.48) !important;
  box-shadow: 0 10px 24px rgba(34, 163, 111, 0.2);
  color: #fff !important;
}

.wanted-notify-btn.is-active:hover,
.wanted-notify-btn[aria-pressed="true"]:hover {
  background: linear-gradient(135deg, #1f9467 0%, #126f52 100%) !important;
  box-shadow: 0 13px 28px rgba(34, 163, 111, 0.28);
  color: #fff !important;
}

.wanted-empty,
.wanted-loading {
  align-items: center;
  border: 1px dashed rgba(93, 105, 111, 0.2);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 18px;
}

.wanted-empty p,
.wanted-loading span {
  margin: 0;
}

.wanted-empty strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.wanted-empty p {
  color: #80888d;
  line-height: 1.5;
}

.wanted-final {
  padding: 58px 0 78px;
}

.wanted-final-inner {
  align-items: center;
  border: 1px solid rgba(93, 105, 111, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 30px;
}

.wanted-final-inner h2 {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
}

@media (max-width: 1199px) {
  .wanted-card-grid {
    grid-template-columns: 1fr;
  }

  .wanted-insight-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .wanted-hero {
    padding: 124px 0 56px;
  }

  .wanted-title {
    font-size: 38px;
  }

  .wanted-hero-panel {
    margin-top: 34px;
    min-height: auto;
  }

  .wanted-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wanted-refresh-status {
    grid-column: 1 / -1;
  }

  .wanted-server-card,
  .wanted-final-inner {
    grid-template-columns: 1fr;
  }

  .wanted-price-box {
    text-align: left;
  }

  .wanted-card-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wanted-insight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .wanted-hero {
    padding: 108px 0 46px;
  }

  .wanted-title {
    font-size: 31px;
  }

  .wanted-lead {
    font-size: 16px;
  }

  .wanted-actions .btn,
  .wanted-actions .wanted-ghost-btn,
  .wanted-final-actions .btn {
    justify-content: center;
    width: 100%;
  }

  .wanted-status {
    grid-template-columns: 1fr;
  }

  .wanted-profile {
    padding: 15px;
  }

  .wanted-profile-head,
  .wanted-empty {
    display: grid;
  }

  .wanted-telegram-order {
    justify-content: center;
    width: 100%;
  }

  .wanted-empty-actions,
  .wanted-notify-btn {
    justify-content: center;
    width: 100%;
  }

  .wanted-specs {
    grid-template-columns: 1fr;
  }

  .wanted-card-actions {
    grid-template-columns: 1fr;
  }

  .wanted-main-price {
    font-size: 30px;
  }

  .wanted-final-inner {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wanted-ghost-btn,
  .wanted-server-card,
  .wanted-telegram-order,
  .wanted-telegram-order::before {
    animation: none !important;
    transition: none !important;
  }

  .wanted-ghost-btn:hover,
  .wanted-server-card:hover,
  .wanted-telegram-order:hover {
    transform: none !important;
  }
}

@keyframes wantedTelegramSweep {
  0% {
    left: -75%;
  }

  42%,
  100% {
    left: 125%;
  }
}
