/* ==========================================================================
   Termux 中文网 - 全局样式
   深色终端风格 · 响应式 · SEO 友好
   ========================================================================== */

:root {
  /* 颜色 */
  --bg: #0a0e14;
  --bg-soft: #0d1117;
  --surface: #161b22;
  --surface-2: #1c232d;
  --border: #2a313c;
  --border-soft: #1f2730;
  --green: #3fb950;
  --green-bright: #4cd964;
  --green-dim: #2ea043;
  --green-glow: rgba(63, 185, 80, 0.35);
  --cyan: #58a6ff;
  --amber: #e3b341;
  --red: #f85149;
  --purple: #bc8cff;
  --text: #e6edf3;
  --text-2: #9aa5b1;
  --text-3: #7b838f;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "JetBrains Mono",
    "Fira Code", Consolas, "Courier New", monospace;

  /* 尺寸 */
  --max-w: 1120px;
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 64px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--green-bright);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* 键盘导航焦点可见性（可访问性，不影响鼠标/触屏） */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 2px;
  border-radius: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: var(--green);
  color: #04140a;
}

/* ==========================================================================
   布局容器
   ========================================================================== */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section-tight {
  padding: 40px 0;
}

/* ==========================================================================
   顶部导航
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #14261a, #0f1f14);
  border: 1px solid var(--green-dim);
  color: var(--green-bright);
  font-family: var(--font-mono);
  font-size: 17px;
}

.logo .zh {
  color: var(--text-2);
  font-weight: 400;
  font-size: 13px;
  margin-left: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: var(--text-2);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}

.nav a.active {
  color: var(--green-bright);
  background: rgba(63, 185, 80, 0.1);
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 20px;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   面包屑
   ========================================================================== */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 0 0;
  font-size: 13.5px;
  color: var(--text-3);
}

.breadcrumb a {
  color: var(--text-2);
}

.breadcrumb .sep {
  color: var(--text-3);
}

.breadcrumb .current {
  color: var(--green-bright);
}

/* ==========================================================================
   Hero 区
   ========================================================================== */

.hero {
  position: relative;
  padding: 80px 0 72px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 80% 10%, rgba(63, 185, 80, 0.12), transparent 60%),
    radial-gradient(500px 400px at 10% 80%, rgba(88, 166, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 8px var(--green-glow);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--green-bright), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   按钮
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  line-height: 1.4;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #04140a;
  box-shadow: 0 6px 20px var(--green-glow);
}

.btn-primary:hover {
  background: var(--green-bright);
  color: #04140a;
  box-shadow: 0 8px 26px var(--green-glow);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--text);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/* ==========================================================================
   终端窗口
   ========================================================================== */

.terminal {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
}

.terminal-bar .dots {
  display: flex;
  gap: 6px;
}

.terminal-bar .dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-bar .dots span:nth-child(1) { background: #ff5f57; }
.terminal-bar .dots span:nth-child(2) { background: #febc2e; }
.terminal-bar .dots span:nth-child(3) { background: #28c840; }

.terminal-bar .title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
}

.terminal-body {
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.9;
  overflow-x: auto;
}

.terminal-body .prompt {
  color: var(--green-bright);
}

.terminal-body .cmd {
  color: var(--text);
}

.terminal-body .out {
  color: var(--text-2);
}

.terminal-body .cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--green-bright);
  vertical-align: -2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ==========================================================================
   代码块（通用）
   ========================================================================== */

.code-block {
  position: relative;
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 16px 0;
  overflow: hidden;
}

.code-block pre {
  padding: 16px 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.code-block code {
  font-family: var(--font-mono);
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.copy-btn:hover {
  color: var(--text);
  border-color: var(--green-dim);
}

/* 行内代码 */
:not(pre) > code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--green-bright);
}

/* ==========================================================================
   标题与文本
   ========================================================================== */

.section-sub {
  color: var(--text-2);
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 36px;
}

h2 { font-size: 26px; font-weight: 700; margin: 40px 0 14px; }
h3 { font-size: 20px; font-weight: 700; margin: 30px 0 10px; }
h4 { font-size: 17px; font-weight: 700; margin: 22px 0 8px; }

p { margin: 12px 0; }

ul, ol {
  margin: 12px 0;
  padding-left: 24px;
}

li { margin: 6px 0; }

strong { color: var(--text); }

/* ==========================================================================
   特性卡片
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--green-dim);
}

.card .icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: rgba(63, 185, 80, 0.1);
  border: 1px solid rgba(63, 185, 80, 0.25);
  color: var(--green-bright);
  margin-bottom: 16px;
  font-size: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--text-2);
  font-size: 14.5px;
}

/* ==========================================================================
   表格
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 18px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

thead th {
  background: var(--surface);
  color: var(--text);
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-2);
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover td {
  background: rgba(63, 185, 80, 0.03);
}

tbody td code {
  white-space: nowrap;
}

/* ==========================================================================
   提示框
   ========================================================================== */

.callout {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  margin: 18px 0;
  font-size: 14.5px;
}

.callout .ico {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1.5;
}

.callout-info {
  background: rgba(88, 166, 255, 0.08);
  border-color: rgba(88, 166, 255, 0.3);
  color: #c9dfff;
}

.callout-warn {
  background: rgba(227, 179, 65, 0.08);
  border-color: rgba(227, 179, 65, 0.3);
  color: #ffe6b0;
}

.callout-danger {
  background: rgba(248, 81, 73, 0.08);
  border-color: rgba(248, 81, 73, 0.3);
  color: #ffd0cd;
}

.callout-success {
  background: rgba(63, 185, 80, 0.08);
  border-color: rgba(63, 185, 80, 0.3);
  color: #c9f5cf;
}

/* ==========================================================================
   步骤列表
   ========================================================================== */

.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.steps > li {
  position: relative;
  padding: 0 0 28px 58px;
  counter-increment: step;
  margin: 0;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(63, 185, 80, 0.12);
  border: 1px solid var(--green-dim);
  color: var(--green-bright);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
}

.steps > li::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 44px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}

.steps > li:last-child::after {
  display: none;
}

.steps h3 {
  margin: 2px 0 6px;
}

.steps p {
  margin: 4px 0;
  color: var(--text-2);
}

/* ==========================================================================
   页脚
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-soft);
  padding: 52px 0 32px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--text);
}

.footer p {
  color: var(--text-3);
  font-size: 13.5px;
  margin: 6px 0;
}

.footer a {
  display: block;
  color: var(--text-3);
  font-size: 13.5px;
  padding: 4px 0;
}

.footer a:hover {
  color: var(--green-bright);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 20px;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
}

/* ==========================================================================
   其他组件
   ========================================================================== */

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 12.5px;
  margin: 3px 4px 3px 0;
}

.tag:hover {
  color: var(--green-bright);
  border-color: var(--green-dim);
  text-decoration: none;
}

.divider {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 40px 0;
}

.mb-2 { margin-bottom: 16px; }
.mt-2 { margin-top: 16px; }
.text-center { text-align: center; }

/* 返回顶部 */
.to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  font-size: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
  transition: all 0.2s ease;
}

.to-top.visible {
  display: flex;
}

.to-top:hover {
  color: var(--green-bright);
  border-color: var(--green-dim);
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    gap: 2px;
    display: none;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }
  .nav-toggle {
    display: flex;
  }
  /* 移动端去掉毛玻璃：低端安卓渲染更快、文字更清晰（百度移动优先索引友好） */
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(10, 14, 20, 0.97);
  }
  .card-grid,
  .card-grid.cols-2 {
    grid-template-columns: 1fr;
  }
  .section { padding: 44px 0; }
  .hero { padding: 48px 0 48px; }
  .hero h1 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps > li { padding-left: 50px; }
}

/* ==========================================================================
   个性化首页 - 终端叙事风格
   ========================================================================== */

/* 态度金句 */
.quote {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.3px;
  text-align: center;
  max-width: 800px;
  margin: 8px auto;
}

.quote .q-mark {
  color: var(--green-bright);
  font-size: 1.4em;
  vertical-align: -0.1em;
}

.quote .hl {
  color: var(--green-bright);
  background: linear-gradient(transparent 60%, rgba(63, 185, 80, 0.18) 40%);
  padding: 0 4px;
}

.quote-sub {
  text-align: center;
  color: var(--text-3);
  font-size: 15px;
  margin-top: 14px;
}

/* 命令行章节标题 */
.term-title {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.term-title .p {
  color: var(--green-bright);
  margin-right: 4px;
}

.term-title-sub {
  font-family: var(--font-mono);
  color: var(--text-3);
  font-size: 15px;
  margin-bottom: 32px;
}

/* 数据终端输出 */
.stats-terminal {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  font-family: var(--font-mono);
  max-width: 640px;
}

.stats-line {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-soft);
}

.stats-line:last-child {
  border-bottom: none;
}

.stats-line .k {
  color: var(--green-bright);
  font-size: 26px;
  font-weight: 700;
  min-width: 120px;
}

.stats-line .v {
  color: var(--text-2);
  font-size: 15px;
}

/* 教程卡片链接 */
.card-link {
  display: block;
  color: inherit;
}

.card-link:hover {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   网盘下载区
   ========================================================================== */

.download-panel {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin: 20px 0;
}

.qr-box {
  flex-shrink: 0;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.qrcode-img {
  width: 180px;
  height: 180px;
  display: block;
}

.qr-hint {
  margin: 12px 0 0;
  color: #333;
  font-size: 13px;
  font-weight: 500;
}

.dl-info {
  flex: 1;
}

.dl-info h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.dl-info .dl-meta {
  color: var(--text-2);
  font-size: 14px;
  margin: 0 0 6px;
}

.dl-info .dl-meta strong {
  color: var(--green-bright);
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.dl-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  word-break: break-all;
}

.dl-link:hover {
  color: var(--green-bright);
}

@media (max-width: 560px) {
  .download-panel {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .dl-actions {
    justify-content: center;
  }
  .stats-terminal {
    padding: 20px;
  }
  .stats-line {
    flex-direction: column;
    gap: 4px;
  }
}

/* ==========================================================================
   动效偏好
   ========================================================================== */

.def-text { max-width: 860px; margin: 0 auto; font-size: 1.05rem; line-height: 1.95; color: var(--text); }
.def-text strong { color: var(--green-bright); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   FAQ 折叠（首页）
   ========================================================================== */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: 10px; padding: 0 18px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; color: var(--text); display: flex; align-items: center; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--green-bright); font-size: 22px; line-height: 1; font-weight: 700; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 0 16px; color: var(--text-2); line-height: 1.7; }

/* ==========================================================================
   教程卡片区：默认 4 张，其余折叠（首页）
   ========================================================================== */
.tutorial-wrap .card-extra { display: none; }
.tutorial-wrap.expanded .card-extra { display: block; }
.tutorial-more { text-align: center; margin-top: 28px; }

/* ==========================================================================
   子页悬浮：返回使用教程
   ========================================================================== */
.float-tut {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 89;
  height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--green-bright);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}
.float-tut:hover { border-color: var(--green-dim); }

/* ==========================================================================
   上一篇 / 下一篇（子页互链）
   ========================================================================== */
.pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 44px auto 0;
  max-width: 860px;
}
.pager a {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.pager a:hover { border-color: var(--green-dim); transform: translateY(-2px); }
.pager .pager-dir { font-size: 13px; color: var(--text-3); }
.pager .pager-title { font-size: 16px; color: var(--text); font-weight: 600; }
.pager .pager-next { text-align: right; }
@media (max-width: 560px) {
  .pager { flex-direction: column; }
  .pager .pager-next { text-align: left; }
}
