body {
  background: #0c0c0c;
  color: #f3f4f6;
}

.pd-app {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  min-height: 100vh;
}

.pd-rail {
  background: #070707;
  border-right: 1px solid #222;
  padding: 12px 8px;
}

.pd-icons {
  display: grid;
  gap: 6px;
}

.pd-icons a,
.pd-foot a,
.pd-green a {
  color: inherit;
  text-decoration: none;
}

.pd-icons a {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 6px;
  border-radius: 12px;
  text-align: center;
  font-size: 12px;
  color: #d5d5d5;
}

.pd-icons a:hover {
  background: #1b1b1b;
}

.pd-top {
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px 18px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: #0c0c0c;
  border-bottom: 1px solid #222;
}

.pd-search label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: #bdbdbd;
}

.pd-search input {
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #333;
  background: #161616;
  color: #fff;
}

.pd-top h1 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.pd-en,
.pd-foot,
.aside-links {
  margin: 0;
  color: #b5b5b5;
  font-size: 13px;
}

.pd-actions {
  display: flex;
  gap: 8px;
}

.pd-reg,
.pd-in,
.pd-cash,
.pd-green a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
}

.pd-reg {
  background: #e4b15a;
  color: #1b1408;
}

.pd-in,
.pd-cash {
  background: #2a2a2a;
  color: #fff;
}

.pd-hero,
.pd-lead,
.pd-grid,
.pd-block,
.pd-foot {
  width: min(1100px, calc(100% - 28px));
  margin-left: auto;
  margin-right: auto;
}

.pd-hero {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 12px;
  margin-top: 16px;
}

.pd-hero article {
  padding: 18px;
  border-radius: 16px;
  background: #1a1a1a;
  min-height: 180px;
}

.pd-hero article.pd-green {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: end;
  gap: 8px;
  background: linear-gradient(120deg, #12351f, #1f7a3e);
}

.pd-banner {
  width: 150px;
  max-height: 180px;
  object-fit: contain;
  justify-self: end;
}

.pd-green a {
  margin-top: 12px;
  background: #e4b15a;
  color: #1b1408;
}

.pd-hero h2,
.pd-block h2,
.pd-card h3 {
  margin: 0 0 8px;
}

.pd-hero p,
.pd-lead,
.pd-card p,
.pd-block p {
  color: #e4e4e4;
}

.pd-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}

.pd-card {
  min-height: 132px;
  padding: 12px;
  border-radius: 12px;
  background: #2a2a2a;
}

/* Приглушает несовпавшую карточку. Текст остаётся в документе. */
.pd-card.pd-off {
  opacity: .28;
}

.pd-block {
  margin-top: 16px;
}

.pd-foot {
  padding: 24px 0 48px;
}

@media (max-width: 960px) {
  .pd-app,
  .pd-top,
  .pd-hero,
  .pd-grid {
    grid-template-columns: 1fr;
  }

  .pd-icons {
    display: flex;
    overflow-x: auto;
  }

  .pd-icons a {
    min-width: 84px;
  }

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