.topic-pagination{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:center;overflow-x:auto;max-width:100%;gap:8px;margin:28px 0}.topic-pagination>:first-child{margin-left:auto}.topic-pagination>:last-child{margin-right:auto}.topic-pagination a,.topic-pagination .current{display:inline-flex;flex:0 0 auto;white-space:nowrap;align-items:center;justify-content:center;min-width:44px;min-height:44px;box-sizing:border-box;padding:8px 14px;border-radius:9px;background:var(--soft);text-decoration:none}.topic-pagination .current{background:#365ed9;color:#fff;font-weight:700}.topic-pagination a:focus-visible{outline:2px solid #365ed9;outline-offset:3px}
@media(max-width:600px){.topic-pagination{gap:3px;margin:18px 0;overflow-x:visible}.topic-pagination .page-extra{display:none}.topic-pagination a,.topic-pagination .current{font-size:10px;line-height:1.2;min-width:24px;min-height:32px;padding:5px 4px;border-radius:7px;white-space:nowrap}}
