.dlx {
  --dl-rgb: 239, 68, 68;
  --dl-line: rgba(255, 255, 255, .08);
  --dl-line-2: rgba(255, 255, 255, .13);
  --dl-surface: rgba(255, 255, 255, .028);
  --dl-surface-2: rgba(255, 255, 255, .045);
  --dl-text: #fff;
  --dl-text-2: rgba(255, 255, 255, .74);
  --dl-muted: rgba(255, 255, 255, .52);
  color: var(--dl-text);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 8px 0 48px;
  min-width: 0;
}
.dlx * { box-sizing: border-box; }
.dlx a { text-decoration: none; }
.dlx img { display: block; max-width: 100%; }

.dlx-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 18px 0 4px; }
.dlx-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f87171; }
.dlx-title { margin: 0; font-size: 2.25rem; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.dlx-sub { margin: 0; max-width: 560px; font-size: .95rem; line-height: 1.6; color: var(--dl-text-2); }

.dlx-back { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: .85rem; font-weight: 600; color: var(--dl-muted); }
.dlx-back:hover { color: #fff; }

.dlx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-radius: 18px;
  background: rgba(var(--dl-rgb), .045);
  border: 1px solid rgba(var(--dl-rgb), .22);
}
.dlx-hero.is-plain { grid-template-columns: minmax(0, 1fr); }
.dlx-hero-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.dlx-app { display: flex; align-items: center; gap: 16px; min-width: 0; }
.dlx-icon {
  flex: 0 0 auto;
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--dl-rgb), .12);
  border: 1px solid rgba(var(--dl-rgb), .3);
  color: rgb(var(--dl-rgb));
  font-size: 2rem;
  overflow: hidden;
}
.dlx-icon img { width: 70%; height: 70%; object-fit: contain; }
.dlx-icon.is-sm { width: 48px; height: 48px; border-radius: 13px; font-size: 1.4rem; }
.dlx-app-name { margin: 0; font-size: 1.75rem; line-height: 1.15; font-weight: 800; letter-spacing: -.015em; color: #fff; }
.dlx-app-tag { margin: 4px 0 0; font-size: .95rem; color: var(--dl-text-2); }
.dlx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dlx-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px;
  border-radius: 999px;
  font-size: .75rem; font-weight: 600;
  color: var(--dl-text-2);
  background: var(--dl-surface-2);
  border: 1px solid var(--dl-line);
  white-space: nowrap;
}
.dlx-chip.is-accent { color: #fff; background: rgba(var(--dl-rgb), .14); border-color: rgba(var(--dl-rgb), .34); }
.dlx-chip.is-ok { color: #86efac; background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .3); }
.dlx-chip i { font-size: .95rem; }
.dlx-lead { margin: 0; font-size: .95rem; line-height: 1.65; color: var(--dl-text-2); }

.dlx-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.dlx-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 18px 8px 14px;
  border-radius: 12px;
  background: var(--dl-surface-2);
  border: 1px solid var(--dl-line-2);
  color: #fff;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.dlx-btn:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); color: #fff; transform: translateY(-1px); }
.dlx-btn i { font-size: 1.6rem; color: #fff; }
.dlx-btn-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.dlx-btn-label { font-size: .92rem; font-weight: 700; color: #fff; }
.dlx-btn-note { margin-top: 2px; font-size: .75rem; font-weight: 500; color: var(--dl-muted); }
.dlx-btn.is-primary { background: rgb(var(--dl-rgb)); border-color: transparent; }
.dlx-btn.is-primary:hover { background: rgb(var(--dl-rgb)); filter: brightness(1.08); }
.dlx-btn.is-primary .dlx-btn-note { color: rgba(255, 255, 255, .8); }
.dlx-btn.is-locked { cursor: not-allowed; opacity: .6; }
.dlx-btn.is-locked:hover { transform: none; }

.dlx-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: .85rem; }
.dlx-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #f87171; }
.dlx-link:hover { color: #fff; }
.dlx-link-muted { display: inline-flex; align-items: center; gap: 6px; color: var(--dl-muted); }

.dlx-shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--dl-line-2);
  background: #0b0b0d;
}
.dlx-shot img { width: 100%; height: auto; }

.dlx-section { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dlx-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dlx-h2 { margin: 0; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.dlx-h2-note { font-size: .8rem; color: var(--dl-muted); }

.dlx-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dlx-feature {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px;
  border-radius: 14px;
  background: var(--dl-surface);
  border: 1px solid var(--dl-line);
}
.dlx-feature-dot {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--dl-rgb), .12);
  border: 1px solid rgba(var(--dl-rgb), .26);
  color: rgb(var(--dl-rgb));
  font-size: 1.05rem;
}
.dlx-feature-title { margin: 0; font-size: .9rem; font-weight: 700; color: #fff; }
.dlx-feature-text { margin: 4px 0 0; font-size: .82rem; line-height: 1.5; color: var(--dl-text-2); }

.dlx-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--dl-surface);
  border: 1px solid var(--dl-line);
  color: #fff;
  min-width: 0;
}
.dlx-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.dlx-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.dlx-facts { display: flex; flex-direction: column; margin: 0; }
.dlx-fact { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--dl-line); font-size: .85rem; }
.dlx-fact:first-child { border-top: 0; padding-top: 0; }
.dlx-fact dt { color: var(--dl-muted); }
.dlx-fact dd { margin: 0; color: #fff; font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.dlx-fact dd a { color: #f87171; }
.dlx-fact dd a:hover { color: #fff; }

.dlx-prose { font-size: .9rem; line-height: 1.7; color: var(--dl-text-2); overflow-wrap: anywhere; }
.dlx-prose > :first-child { margin-top: 0; }
.dlx-prose > :last-child { margin-bottom: 0; }
.dlx-prose p { margin: 0 0 12px; color: var(--dl-text-2); }
.dlx-prose h1, .dlx-prose h2, .dlx-prose h3, .dlx-prose h4 { margin: 20px 0 8px; font-size: .98rem; font-weight: 700; color: #fff; line-height: 1.35; }
.dlx-prose h1:first-child, .dlx-prose h2:first-child, .dlx-prose h3:first-child { margin-top: 0; }
.dlx-prose ul, .dlx-prose ol { margin: 0 0 12px; padding-left: 20px; color: var(--dl-text-2); }
.dlx-prose ul { list-style: disc; }
.dlx-prose ol { list-style: decimal; }
.dlx-prose li { margin: 3px 0; }
.dlx-prose a { color: #f87171; }
.dlx-prose strong { color: #fff; }
.dlx-prose code { padding: 1px 6px; border-radius: 6px; font-size: .82rem; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid var(--dl-line); }

.dlx-summary { display: flex; gap: 12px; align-items: flex-start; }
.dlx-summary p { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--dl-text-2); }

.dlx-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dlx-gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--dl-line-2); background: #0b0b0d; transition: border-color .15s ease, transform .15s ease; }
.dlx-gallery a:hover { border-color: rgba(var(--dl-rgb), .5); transform: translateY(-2px); }
.dlx-gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }

.dlx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dlx-tile {
  display: flex; flex-direction: column; gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(var(--dl-rgb), .04);
  border: 1px solid rgba(var(--dl-rgb), .2);
  color: #fff;
  transition: border-color .15s ease, transform .15s ease;
}
.dlx-tile:hover { border-color: rgba(var(--dl-rgb), .45); transform: translateY(-2px); color: #fff; }
.dlx-tile-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dlx-tile-name { margin: 0; font-size: 1rem; font-weight: 700; color: #fff; }
.dlx-tile-tag { margin: 2px 0 0; font-size: .8rem; color: var(--dl-muted); }
.dlx-tile-text { margin: 0; font-size: .85rem; line-height: 1.55; color: var(--dl-text-2); }
.dlx-tile-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .8rem; color: var(--dl-muted); }
.dlx-tile-foot i { font-size: 1.05rem; color: var(--dl-text-2); }

.dlx-atom {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--dl-surface);
  border: 1px solid var(--dl-line);
  font-size: .85rem; color: var(--dl-text-2);
}
.dlx-atom i { font-size: 1.3rem; color: #f87171; }

.dlx-empty { padding: 48px 20px; text-align: center; border-radius: 16px; background: var(--dl-surface); border: 1px dashed var(--dl-line-2); }
.dlx-empty i { font-size: 2rem; color: var(--dl-muted); }
.dlx-empty h2 { margin: 10px 0 4px; font-size: 1.05rem; font-weight: 700; color: #fff; }
.dlx-empty p { margin: 0; font-size: .88rem; color: var(--dl-muted); }

@media (max-width: 1023px) {
  .dlx-hero { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .dlx-features, .dlx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dlx-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .dlx { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 639px) {
  .dlx-title { font-size: 1.75rem; }
  .dlx-hero { padding: 18px; gap: 22px; }
  .dlx-app-name { font-size: 1.4rem; }
  .dlx-icon { width: 60px; height: 60px; border-radius: 15px; }
  .dlx-features, .dlx-grid, .dlx-gallery { grid-template-columns: minmax(0, 1fr); }
  .dlx-btn { flex: 1 1 100%; }
}
