/* ChessZCam download page (chesszcam-download.html and ms/), loaded only there. Uses the site tokens. */
.dl-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.dl-card { position: relative; padding: clamp(1.1rem, 3vw, 1.6rem); border-radius: var(--radius-lg); background: radial-gradient(110% 70% at 100% 0%, rgba(34, 211, 238, .12), transparent 60%), linear-gradient(160deg, rgba(14, 30, 52, .85), rgba(7, 17, 31, .92)); border: 1px solid rgba(34, 211, 238, .25); box-shadow: var(--shadow-glow); }
.dl-card__head { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1rem; }
.dl-card__icon { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .35); font-size: 1.4rem; }
.dl-card h2 { margin: 0 0 .3rem; font-size: 1.3rem; }
.dl-card__head p { margin: 0; color: var(--text-soft); font-size: .93rem; }
.dl-card__wait, .dl-card__missing { margin: 0; color: var(--text-dim); }
.dl-card__missing { color: var(--text-soft); padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1px dashed var(--line-strong); }
.dl-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 0 0 1rem; padding: .8rem 1rem; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(3, 9, 18, .55); }
.dl-facts dt { color: var(--text-dim); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.dl-facts dd { margin: .15rem 0 0; color: var(--text); font-weight: 700; font-family: var(--font-display); font-size: .95rem; letter-spacing: .03em; }
.dl-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.dl-actions [hidden] { display: none; }
.dl-sha { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .9rem; font-size: .82rem; color: var(--text-dim); }
.dl-sha code { flex: 1 1 260px; min-width: 0; padding: .4rem .6rem; border-radius: 8px; border: 1px solid var(--line); background: rgba(3, 9, 18, .6); color: var(--text-soft); font-family: ui-monospace, Consolas, monospace; font-size: .76rem; word-break: break-all; }
.dl-note { margin: 0; padding: .75rem .9rem; border-radius: var(--radius-sm); border: 1px solid rgba(245, 196, 81, .3); background: rgba(245, 196, 81, .06); color: var(--text-soft); font-size: .88rem; }
.dl-note b { color: var(--text); }
.dl-check { max-width: 820px; }
.dl-cmd { margin: .6rem 0 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: rgba(3, 9, 18, .75); color: var(--cyan); overflow-x: auto; font-size: .85rem; }
@media (max-width: 560px) {
  .dl-facts { grid-template-columns: 1fr 1fr; }
  .dl-actions .btn { flex: 1 1 100%; }
}
