.download-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.download-filters { display:flex; align-items:end; flex-wrap:wrap; gap:15px; margin-bottom:28px; }
.download-filters label { display:flex; flex-direction:column; gap:5px; font-size:12px; }
.download-filters input, .download-filters select, .download-form select {
  min-height:43px; padding:9px 12px; background:#17251c; color:var(--ink);
  border:1px solid #667e6c; border-radius:6px; max-width:100%;
}
.download-form select { width:100%; }
.download-form [id="id_groups"], .download-form [id="id_users"] {
  display:grid; gap:8px; font-size:13px; max-height:220px; overflow:auto;
}
.download-form input[type="checkbox"] { accent-color:var(--green); }
.download-row { display:flex; align-items:center; gap:18px; padding:20px; border:1px solid var(--line); border-radius:12px; margin-bottom:12px; background:#203126; }
.download-name { flex:1; min-width:0; overflow-wrap:anywhere; }
.download-name h2 { font-size:23px; margin:0 0 6px; }
.download-name > span { font-size:11px; color:var(--muted); }
.download-action, .project-apps { display:inline-grid; place-items:center; width:40px; height:40px; border:1px solid #667e6c; border-radius:9px; background:#203126; color:var(--ink); flex-shrink:0; }
.download-detail h1 { margin-top:20px; overflow-wrap:anywhere; }
.share-link { margin:25px 0; }
.share-link label { display:block; margin-bottom:6px; font-size:12px; }
.share-link > div { display:flex; gap:8px; }
.share-link input { width:100%; min-width:0; padding:9px; color:var(--ink); background:#17251c; border:1px solid #667e6c; border-radius:6px; }
.share-link [role="status"] { font-size:11px; }
.project-card { position:relative; min-width:0; }
.project-card > .service-card { display:block; height:100%; }
.game-grid .project-card > .service-card { display:grid; }
.project-apps { position:absolute; top:7px; right:7px; width:30px; height:30px; }
.project-apps .icon { width:17px; height:17px; }
[data-download-field][hidden] { display:none; }
@media(max-width:600px) {
  .download-heading { align-items:start; flex-wrap:wrap; }
  .download-row { flex-wrap:wrap; padding:16px; gap:12px; }
  .download-row .icon-tile { display:none; }
  .download-name { flex-basis:65%; }
  .download-name h2 { font-size:21px; }
  .download-filters label, .download-filters label input, .download-filters label select { width:100%; }
  .download-row > .text-link { margin-left:auto; }
}
