/* Silence Detector 다운로드 페이지 스킨 — 다크 테마 고정 변수 + 카드·버튼·가이드 디자인 */
html[data-theme="dark"], html[data-theme="light"] {
  color-scheme: dark !important;
  --bg-dark: #090d16;
  --bg-elevated: #111827;
  --panel-bg: #111827;
  --bg-card: #111827;
  --bg-input: #1e293b;
  --text-main: #f8fafc;
  --text-primary: #f8fafc;
  --text-dim: #cbd5e1;
  --text-secondary: #94a3b8;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --border: rgba(148, 163, 184, 0.14);
  --as-bg: #090d16;
  --as-panel: #111827;
  --as-panel-2: #1e293b;
  --as-border: rgba(148, 163, 184, 0.14);
  --as-text: #f8fafc;
  --as-text-dim: #94a3b8;
}
  

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

body {
  margin: 0;
  padding: 28px 20px 140px !important;
  background-color: #090d16 !important;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(99, 102, 241, 0.06) 0%, transparent 45%) !important;
  color: #f8fafc !important;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.dl-page {
  max-width: 960px !important;
  margin: 0 auto !important;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dl-ad {
  width: 100%;
  max-width: 100%;
  min-height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.dl-ad ins {
  max-width: 100% !important;
}

.dl-card {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 30, 46, 0.92) 0%, rgba(15, 23, 42, 0.96) 100%) !important;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  border-radius: 20px !important;
  padding: 40px 32px !important;
  text-align: center;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(12px);
}

.dl-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

#dl-title {
  margin: 0 0 12px !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: #ffffff !important;
}

.dl-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 0 !important;
  margin: 0 auto 28px !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  color: #34d399 !important;
}

.dl-status.is-err,
.dl-status.is-error {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.28) !important;
  color: #f87171 !important;
}

.is-hidden {
  display: none !important;
}

.dl-actions {
  display: flex !important;
  flex-direction: row !important; /* download.css 의 column 을 덮는다: 버튼 두 개가 가로로 나란히 */
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px !important;
  max-width: 560px;
  margin: 0 auto !important;
}

.dl-btn {
  flex: 1 1 220px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border-radius: 12px !important;
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: none !important;
}

.dl-btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.dl-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  filter: brightness(1.06);
}

.dl-btn-primary:active {
  transform: translateY(0);
}

.dl-btn-back {
  background: rgba(30, 41, 59, 0.85) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.dl-btn-back:hover {
  background: rgba(51, 65, 85, 0.9) !important;
  color: #ffffff !important;
  border-color: rgba(148, 163, 184, 0.4) !important;
  transform: translateY(-2px);
}

.dl-guides {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dl-info-card {
  background: #111827 !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  border-radius: 20px !important;
  padding: 32px !important;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.45) !important;
}

.dl-info-card__head {
  display: flex !important;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px !important;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.dl-info-card__icon,
.dl-info-card__head > .dl-callout__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.dl-info-card__title {
  margin: 0 0 4px !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
}

.dl-info-card__subtitle {
  margin: 0 !important;
  font-size: 0.9rem !important;
  color: #94a3b8 !important;
}

.dl-nle-list {
  list-style: none !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dl-nle-item {
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
  border-radius: 14px !important;
  padding: 20px 22px !important;
  transition: border-color 0.2s ease;
}

.dl-nle-item:hover {
  border-color: rgba(56, 189, 248, 0.3) !important;
}

.dl-nle-item__brand {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px !important;
}

.dl-nle-item__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.dl-nle-item__logo--dr {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}

.dl-nle-item__logo--fcp {
  background: linear-gradient(135deg, #475569, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dl-nle-item__logo--pr {
  background: linear-gradient(135deg, #7c3aed, #4c1d95);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);
}

.dl-nle-item__name {
  margin: 0 !important;
  font-size: 1.02rem !important;
  font-weight: 600 !important;
  color: #f1f5f9 !important;
}

.dl-nle-item__steps {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px !important;
  margin: 0 !important;
}

.dl-step {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  background: #1e293b !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  color: #e2e8f0 !important;
  font-size: 0.86rem !important;
  font-weight: 500 !important;
}

.dl-step--highlight {
  background: rgba(14, 165, 233, 0.15) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  color: #38bdf8 !important;
  font-weight: 600 !important;
}

.dl-step-arrow {
  color: #64748b !important;
  font-size: 0.85rem;
  user-select: none;
}

.dl-nle-item__warn {
  margin: 12px 0 0 !important;
  font-size: 0.85rem !important;
  color: #94a3b8 !important;
}

.dl-nle-item__warn strong {
  color: #fbbf24 !important;
}

.dl-callout {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px !important;
  margin-top: 10px !important;
  border-radius: 12px !important;
  background: rgba(30, 41, 59, 0.55) !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  font-size: 0.88rem !important;
  color: #cbd5e1 !important;
}

.dl-callout p {
  margin: 0 !important;
}

.dl-callout strong {
  color: #f8fafc !important;
}

.dl-callout code {
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #38bdf8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
}

.dl-faq {
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dl-faq__item {
  padding: 18px 20px !important;
  border-radius: 14px !important;
  background: rgba(15, 23, 42, 0.65) !important;
  border: 1px solid rgba(148, 163, 184, 0.1) !important;
}

.dl-faq__q {
  margin: 0 0 6px !important;
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
}

.dl-faq__a {
  margin: 0 !important;
  font-size: 0.9rem !important;
  color: #94a3b8 !important;
}

.dl-faq__a strong {
  color: #38bdf8 !important;
}

.itz-site-footer {
  margin-top: 48px !important;
  padding: 24px 20px !important;
  border-top: 1px solid rgba(148, 163, 184, 0.12) !important;
  background: transparent !important;
  color: #64748b !important;
  text-align: center;
}

.itz-site-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}

.itz-site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.itz-site-footer-nav a {
  color: #94a3b8 !important;
  text-decoration: none;
  transition: color 0.15s;
}

.itz-site-footer-nav a:hover {
  color: #f8fafc !important;
}

.google-anno-sc {
  display: none !important;
}

@media (max-width: 640px) {
  .dl-card {
    padding: 28px 20px !important;
  }
  .dl-info-card {
    padding: 22px 18px !important;
  }
  .dl-actions {
    flex-direction: column !important;
  }
  .dl-btn {
    flex: 0 0 auto; /* column 에서 flex-basis 220px 가 높이가 되지 않게 */
    width: 100%;
  }
}
  
