.dl-hero {
  min-height: 0;
  padding: 72px 0 32px;
}

.dl-hero .hero-inner {
  grid-template-columns: 1fr;
}

.dl-main {
  padding: 20px 44px !important;
  font-size: 1.1rem;
}

.btn-primary.disabled {
  pointer-events: none;
  opacity: 0.55;
}

.dl-featured .ff-row,
.dl-featured .ff-row-reverse {
  grid-template-columns: 1fr 1fr;
}

.dl-featured .ff-body {
  max-width: 520px;
}

.dl-media {
  gap: 28px;
}

.dl-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  color: #e6dcff;
  background: linear-gradient(135deg, rgba(136, 94, 231, 0.38), rgba(106, 50, 159, 0.14));
  border: 1px solid rgba(196, 160, 255, 0.26);
  border-radius: 28px;
  box-shadow: 0 24px 60px -24px rgba(136, 94, 231, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.dl-glyph-big {
  width: 168px;
  height: 168px;
  border-radius: 38px;
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.dl-hint {
  margin-top: 20px;
}

.dl-actions + .dl-hint {
  margin-top: 28px;
}

.dl-hint + .dl-hint {
  margin-top: 10px;
}

.dl-hint summary {
  font-size: 0.95rem;
  color: var(--p1);
  cursor: pointer;
}

.dl-hint summary:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ff-body .dl-hint p,
.ff-body .dl-note {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.code-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px 12px 18px;
  margin-top: 12px;
  border: 1px solid var(--dim);
  border-radius: 12px;
  background: rgba(5, 5, 12, 0.7);
}

.ff-body > .code-block {
  margin-top: 28px;
}

.code-block pre {
  flex: 1;
  min-width: 0;
  padding: 4px 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.code-block code,
.dl-inline-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #e6dcff;
}

.dl-inline-code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(5, 5, 12, 0.7);
}

.copy-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  font-family: var(--font);
  font-size: 0.78rem;
  color: var(--text);
  background: rgba(136, 94, 231, 0.18);
  border: 1px solid rgba(196, 160, 255, 0.28);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}

.copy-btn:hover {
  background: rgba(136, 94, 231, 0.32);
  border-color: rgba(196, 160, 255, 0.6);
}

main {
  z-index: 2;
}

.cta .dl-menu-list {
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 860px) {
  .dl-main {
    padding: 16px 28px !important;
    font-size: 1rem;
  }

  .dl-featured .ff-row,
  .dl-featured .ff-row-reverse {
    grid-template-columns: 1fr;
  }

  .dl-media {
    gap: 16px;
  }

  .dl-glyph {
    width: 80px;
    height: 80px;
    border-radius: 20px;
  }

  .dl-glyph svg {
    width: 40px;
    height: 40px;
  }

  .dl-glyph-big {
    width: 112px;
    height: 112px;
    border-radius: 28px;
  }

  .dl-glyph-big svg {
    width: 56px;
    height: 56px;
  }
}
