/* ============================================================
   下载页 · 下载前条款同意
   纯增量样式，不影响其他页面
   ============================================================ */

.dl-consent {
  margin: 18px 0 14px;
}

.dl-consent-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.dl-consent-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.dl-consent-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
  display: grid;
  place-items: center;
  transition: border-color 0.15s var(--ease-out), background-color 0.15s var(--ease-out);
}

.dl-consent-check svg {
  width: 11px;
  height: 11px;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.15s var(--ease-out), transform 0.15s var(--ease-out);
}

.dl-consent-label input:checked + .dl-consent-check {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.dl-consent-label input:checked + .dl-consent-check svg {
  opacity: 1;
  transform: scale(1);
}

.dl-consent-label a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dl-consent-label a:hover {
  color: var(--accent);
}

.dl-btn-consent {
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.dl-btn-consent.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}
