  .downloads-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:18px;padding-top:16px;border-top:1px solid var(--line);font-size:12px;color:var(--dim)}
  .downloads-pagination[hidden]{display:none}
  .downloads-pagination-actions{display:flex;align-items:center;gap:4px;padding:5px;background:#fff;border:1px solid #eeeaf4;border-radius:12px;box-shadow:0 2px 8px #21103a05}
  .downloads-page-numbers{display:flex;align-items:center;gap:4px}
  .downloads-pagination button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;padding:0;border:1px solid #efedf4;border-radius:8px;background:#fff;color:#655d73;font-family:inherit;font-size:12px;font-weight:600;line-height:1;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
  .downloads-pagination button:hover:not(:disabled){background:#f6f2ff;border-color:#d9ccf6;color:var(--accent)}
  .downloads-pagination button[aria-current="page"]{background:var(--accent);border-color:var(--accent);color:white;box-shadow:0 2px 5px #6d28d926}
  .downloads-pagination button[aria-current="page"]:hover{background:var(--accent);color:white}
  .downloads-pagination button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
  .downloads-pagination button:disabled{opacity:1;color:#d2cddc;border-color:#f5f3f8;cursor:default;box-shadow:none}
  .downloads-pagination button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .downloads-pagination .downloads-ellipsis{display:grid;place-items:center;width:24px;height:32px;color:#aaa2b7}
  .downloads-pagination #downloadsRetry{width:auto;padding:0 10px}
  .downloads-pagination [hidden]{display:none!important}
  @media(max-width:600px){
    .downloads-pagination{justify-content:center;gap:10px}
    #downloadsPageStatus{flex-basis:100%;text-align:center}
    .downloads-pagination-actions,.downloads-page-numbers{gap:3px}
    .downloads-pagination button{width:28px;height:30px}
    .downloads-pagination .downloads-ellipsis{width:16px}
    .downloads-pagination .downloads-edge{display:none}
  }

.downloads-types{display:flex;gap:4px;margin:0 0 14px;padding:4px;width:fit-content;background:#f6f2ff;border:1px solid var(--line);border-radius:10px}
.downloads-types button{border:0;border-radius:7px;padding:8px 18px;background:transparent;color:var(--dim);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.downloads-types button[aria-pressed="true"]{background:var(--accent);color:#fff}
.downloads-types button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

.downloads-type-count{display:inline-block;margin-left:4px;padding:1px 5px;border-radius:5px;background:#e9e0fa;color:#655078;font-size:11px;font-variant-numeric:tabular-nums}
.downloads-types button[aria-pressed="true"] .downloads-type-count{background:#ffffff29;color:#fff}
@media(max-width:420px){.downloads-types button{padding:8px 10px}}

.downloads-placeholder{min-height:215px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff;box-sizing:border-box}
.placeholder-image{width:68px;height:68px;border-radius:10px;background:#f1edf7;margin-bottom:16px}
.placeholder-line{height:12px;width:80%;background:#f1edf7;border-radius:5px;margin-bottom:10px}
.placeholder-line.short{width:50%}
.placeholder-actions{height:36px;background:#f6f3fa;border-radius:8px;margin-top:20px}
