:root {
  --bg: #050505;
  --bg-soft: #0a0a0a;
  --card: #111111;
  --card-2: #161616;
  --red: #ff3333;
  --red-deep: #e31b1b;
  --red-dim: rgba(255, 51, 51, 0.18);
  --red-line: rgba(255, 51, 51, 0.32);
  --red-glow: rgba(255, 51, 51, 0.48);
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --dim: #737373;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --header-h: 88px;
  --max: 1180px;
  --shadow-red: 0 0 28px rgba(255, 51, 51, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 80% 12%, rgba(255, 40, 40, 0.14), transparent 55%),
    radial-gradient(700px 380px at 8% 0%, rgba(255, 40, 40, 0.07), transparent 50%),
    linear-gradient(180deg, #0b0b0b 0%, #050505 28%, #000 100%);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cpath d='M0 70h140M70 0v140' stroke='%23ff3333' stroke-opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: none;
  min-width: max-content;
  flex-shrink: 0;
  justify-self: start;
}

.brand:focus,
.brand:focus-visible,
.brand:active,
.brand:hover {
  outline: none;
  box-shadow: none;
  transform: none;
  filter: none;
}

.brand-mark-img {
  display: block;
  height: 58px;
  width: auto;
  max-width: none;
  max-height: 58px;
  flex-shrink: 0;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(255, 51, 51, 0.45));
}

.brand-lockup {
  display: none;
}

.brand-mark-wrap {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 8px var(--red-glow));
  flex-shrink: 0;
}

.brand-mark-wrap.tiny {
  width: 22px;
  height: 22px;
  display: inline-grid;
  vertical-align: -5px;
  margin: 0 4px;
}

.brand-mark {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-tld {
  color: var(--red);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: #d4d4d4;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.18s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 16px rgba(255, 51, 51, 0.25);
}

.header-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-user {
  color: #d4d4d4;
  font-size: 0.9rem;
  font-weight: 600;
}

.header-cta form,
.nav-auth form {
  margin: 0;
}

.nav-auth {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--red-line);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.18s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: #ff4545;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 14px rgba(255, 51, 51, 0.18);
}

.btn-outline:hover {
  background: rgba(255, 51, 51, 0.1);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-ghost:hover {
  border-color: #fff;
}

.btn-small {
  padding: 8px 12px;
  font-size: 0.82rem;
}

.hero {
  padding: 56px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--red-line);
  border-radius: 999px;
  color: #ececec;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 51, 51, 0.06);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.5rem, 5vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.accent {
  color: var(--red);
  text-shadow: 0 0 28px rgba(255, 51, 51, 0.35);
}

.lead {
  margin: 0 0 26px;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #d4d4d4;
  font-size: 0.88rem;
  font-weight: 500;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-icon {
  width: 22px;
  height: 22px;
  color: var(--red);
  display: grid;
  place-items: center;
}

.trust-icon svg {
  width: 18px;
  height: 18px;
}

.trust-icon.code {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.circuit {
  position: absolute;
  inset: 8% 0 12%;
  background:
    linear-gradient(rgba(255, 51, 51, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 51, 51, 0.09) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 70% 45%, #000 20%, transparent 72%);
  opacity: 0.7;
}

.server-art {
  width: min(100%, 560px);
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 38px rgba(255, 40, 40, 0.28));
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.embers span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
  z-index: 2;
  animation: ember 4.8s ease-in-out infinite;
}

.embers span:nth-child(1) { left: 18%; top: 22%; animation-delay: 0s; }
.embers span:nth-child(2) { left: 72%; top: 16%; animation-delay: 0.7s; width: 4px; height: 4px; }
.embers span:nth-child(3) { left: 12%; top: 58%; animation-delay: 1.4s; }
.embers span:nth-child(4) { left: 86%; top: 48%; animation-delay: 0.4s; }
.embers span:nth-child(5) { left: 28%; top: 78%; animation-delay: 1.8s; width: 5px; height: 5px; }
.embers span:nth-child(6) { left: 64%; top: 70%; animation-delay: 2.2s; }

@keyframes ember {
  0%, 100% { opacity: 0.2; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-14px); }
}

.glass-card {
  background: rgba(12, 12, 12, 0.78);
  border: 1px solid var(--red-line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 32px rgba(255, 51, 51, 0.08);
  backdrop-filter: blur(16px);
}

.overview-card {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 420px);
  padding: 18px 16px 16px;
  z-index: 3;
}

.card-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.stat-icon {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  color: var(--red);
  display: grid;
  place-items: center;
}

.stat-icon svg {
  width: 18px;
  height: 18px;
}

.stat strong {
  font-size: 1.05rem;
  line-height: 1.1;
}

.stat span {
  color: var(--dim);
  font-size: 0.72rem;
}

.recent {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.recent-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: stretch;
  gap: 10px;
  width: 100%;
}

.recent-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px 10px;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0d0d0d;
  text-align: center;
}

.recent-app span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #ececec;
  white-space: nowrap;
}

.recent-app .program-icon {
  width: 46px;
  height: 46px;
}

.recent-app .program-icon img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.section {
  padding: 28px 0 56px;
}

.section-head h2,
.section-kicker + h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-sub {
  margin: 8px 0 0;
  color: var(--muted);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.program-card {
  background: linear-gradient(180deg, #141414 0%, #0e0e0e 100%);
  border: 1px solid var(--red-line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  transition: 0.2s ease;
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(255, 51, 51, 0.16);
  border-color: rgba(255, 51, 51, 0.5);
}

.program-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.program-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--red-line);
  background: #0a0a0a;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.program-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.program-icon svg {
  width: 32px;
  height: 32px;
}

.program-card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.program-card h3 {
  margin: 0;
  font-size: 1rem;
}

.program-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.popular-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--red);
  border: 1px solid var(--red-line);
  border-radius: 999px;
  padding: 2px 8px;
  background: rgba(255, 51, 51, 0.08);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.7rem;
  color: #cfcfcf;
  background: #1a1a1a;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
}

.program-card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.downloads {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d0d0d0;
  font-size: 0.85rem;
  font-weight: 600;
}

.downloads svg {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--red-line);
  color: var(--red);
  display: grid;
  place-items: center;
}

.card-arrow svg {
  width: 18px;
  height: 18px;
}

.card-arrow:hover {
  background: var(--red);
  color: #fff;
}

.section-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 600;
}

.text-link svg {
  width: 16px;
  height: 16px;
}

.features-bar {
  padding-top: 8px;
}

.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 8px 0 10px;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid var(--red-line);
  color: var(--red);
  display: grid;
  place-items: center;
  background: rgba(255, 51, 51, 0.06);
  box-shadow: 0 0 18px rgba(255, 51, 51, 0.12);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-item h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.newsletter-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 51, 51, 0.55);
  background: linear-gradient(90deg, rgba(20, 8, 8, 0.9), rgba(12, 12, 12, 0.92));
  box-shadow: 0 0 40px rgba(255, 51, 51, 0.18), inset 0 0 0 1px rgba(255, 51, 51, 0.08);
}

.newsletter-copy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.newsletter-copy h2 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}

.newsletter-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.mail-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--red);
  display: grid;
  place-items: center;
  background: rgba(255, 51, 51, 0.1);
  border: 1px solid var(--red-line);
}

.mail-icon svg {
  width: 24px;
  height: 24px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  min-width: min(100%, 420px);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  color: #fff;
  padding: 0 14px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 51, 51, 0.15);
}

.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  background: #070707;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.7fr 0.7fr;
  gap: 28px;
  padding-bottom: 36px;
}

.footer-brand .brand {
  justify-self: start;
}

.footer-brand .brand-mark-img {
  height: 58px;
  max-height: 58px;
}

.footer-brand p {
  color: var(--muted);
  margin: 14px 0 0;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0 0 8px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: #fff;
}

.social-row {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #ddd;
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-bottom-inner {
  padding: 16px 0 22px;
  color: var(--dim);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.page-hero {
  padding: 48px 0 10px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.program-grid-page {
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
}

.feature-page-grid,
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-page-card,
.docs-card {
  padding: 22px;
}

.feature-page-card h2,
.docs-card h2 {
  margin: 12px 0 8px;
  font-size: 1.2rem;
}

.feature-page-card p,
.docs-card p {
  margin: 0;
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.about-art {
  filter: drop-shadow(0 0 28px rgba(255, 51, 51, 0.25));
}

.about-copy {
  padding: 28px;
}

.about-copy p {
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: #141414;
  border: 1px solid var(--red-line);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 80;
  box-shadow: var(--shadow-red);
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1080px) {
  .features-row,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .overview-card {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(100%, 420px);
    margin: 12px auto 0;
  }

  .hero-visual {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: max-content auto;
  }

  .brand-mark-img {
    height: 48px;
    max-height: 48px;
  }

  .brand-text {
    font-size: 1.1rem;
  }

  .header-cta {
    display: none;
  }

  .nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 4px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 12px;
    background: rgba(8, 8, 8, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .newsletter-card,
  .newsletter-form {
    flex-direction: column;
    min-width: 0;
    width: 100%;
  }

  .feature-page-grid,
  .docs-grid,
  .features-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(var(--max), calc(100% - 28px));
  }
}

.auth-wrap {
  min-height: calc(100vh - var(--header-h) - 180px);
  display: grid;
  place-items: center;
  padding: 48px 0;
}

.auth-panel {
  width: min(440px, calc(100% - 32px));
  padding: 28px;
}

.auth-panel h1 {
  margin: 8px 0 10px;
  font-size: 2rem;
}

.auth-panel p {
  color: var(--muted);
}

.auth-panel .admin-form,
.auth-panel form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.auth-panel label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #d4d4d4;
}

.auth-panel input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  color: #fff;
  padding: 10px 12px;
  font: inherit;
}

.auth-switch {
  margin: 16px 0 0;
  font-size: 0.92rem;
}

.auth-switch a {
  color: var(--red);
  font-weight: 600;
}

.admin-flash {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.admin-flash.is-ok {
  border-color: rgba(34, 197, 94, 0.4);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.08);
}

.admin-flash.is-error {
  border-color: var(--red-line);
  color: #fecaca;
  background: rgba(255, 51, 51, 0.08);
}

.dl-modal[hidden] {
  display: none;
}

.dl-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.dl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.dl-modal-panel {
  position: relative;
  width: min(440px, 100%);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.dl-modal-panel h2 {
  margin: 6px 0 8px;
  font-size: 1.45rem;
}

.dl-sub {
  color: var(--muted);
  margin: 0 0 16px;
}

.dl-list {
  display: grid;
  gap: 8px;
}

.dl-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  color: inherit;
}

.dl-item:hover {
  border-color: var(--red);
}

.dl-item strong {
  display: block;
}

.dl-item small {
  color: var(--muted);
}

.dl-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}
