#downloads-dialog{width:min(94vw,520px);max-height:88vh;max-height:88dvh;overflow-y:auto;overscroll-behavior:contain;padding:22px;border-radius:26px;box-sizing:border-box}
.download-heading{display:flex;gap:14px;align-items:center}.download-heading>span{display:grid;place-items:center;min-width:54px;height:62px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,#18383b,var(--night-soft));box-shadow:0 4px #0008;color:var(--gold)}.download-heading svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.7}.download-heading h2{margin:0 0 8px;font-size:1.35rem}.download-heading p{margin:0;line-height:1.9}.download-reader{padding:12px 0;border-bottom:1px solid var(--line)}.download-reader strong{color:var(--gold-pale)}
.download-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px 0;border:0;margin:0}.download-choices legend{font-weight:700;color:var(--gold-pale);padding:6px 0}.download-choices label{display:flex;align-items:center;gap:9px;min-height:48px;padding:8px 10px;border-radius:13px;background:var(--night-soft);border:1px solid var(--line);box-sizing:border-box;cursor:pointer}.download-choices input,.download-mobile input{width:20px;height:20px;accent-color:var(--gold);flex-shrink:0}.download-mobile{display:flex;align-items:center;gap:10px;margin:12px 0;font-size:.9rem;line-height:1.9;cursor:pointer}.download-progress{display:grid;gap:10px;padding:15px;margin:16px 0;border:1px solid var(--line);border-radius:16px;line-height:1.9}.download-progress progress{width:100%;height:10px;accent-color:var(--gold);border-radius:10px;overflow:hidden}.download-progress progress::-webkit-progress-bar{background:#16373d}.download-progress progress::-webkit-progress-value{background:linear-gradient(90deg,var(--gold-deep),var(--gold-pale));border-radius:10px}.download-progress span,.download-progress p,.download-note{font-size:.85rem;color:var(--muted);line-height:1.95;margin:0}.download-note{margin-bottom:15px}#downloads-dialog button{margin-top:10px;min-height:48px}#downloads-dialog [hidden]{display:none!important}
@media(max-width:340px){#downloads-dialog{padding:16px}.download-choices{grid-template-columns:1fr}}
