/* 甘露传输 GanLu - 墨水屏专用样式
 * 原则：纯黑白高对比 / 无动画无渐变无阴影 / 大字号大按钮 / 兼容老内核(不用grid、CSS变量)
 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0,0,0,0); }
html, body { background: #fff; color: #000; }
body {
  font-family: "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 22px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
#app { max-width: 1000px; margin: 0 auto; padding: 12px 16px 40px; }

#topbar { position: relative; padding-bottom: 10px; }
#brand { font-size: 42px; font-weight: bold; letter-spacing: 2px; padding-right: 200px; }
#btn-refresh {
  position: absolute; right: 0; top: 0;
  width: auto; font-size: 26px; min-height: 64px; padding: 8px 26px;
}
#tip { font-size: 18px; padding: 6px 2px 12px; border-bottom: 3px solid #000; }
#status { font-size: 24px; font-weight: bold; padding: 14px 2px; }

.big-btn {
  display: block; color: #000; background: #fff; text-decoration: none;
  border: 3px solid #000; border-radius: 10px; text-align: center;
  font-size: 30px; font-weight: bold; padding: 14px 8px;
  cursor: pointer; -webkit-appearance: none; appearance: none;
  font-family: inherit;
}
.big-btn:active { background: #000; color: #fff; }

.group-head {
  font-size: 30px; font-weight: bold;
  border-bottom: 3px solid #000;
  padding: 10px 2px 6px; margin: 18px 0 12px;
}
.group-count { font-size: 19px; font-weight: normal; padding-left: 12px; }
.more-btn { font-size: 24px; min-height: 64px; padding: 10px 8px; margin: 4px 0 10px; }

.file-row {
  display: flex; align-items: center;
  border: 3px solid #000; border-radius: 12px;
  padding: 14px 16px; margin-bottom: 14px;
}
.file-info { flex: 1; min-width: 0; padding-right: 14px; }
.file-name { font-size: 28px; font-weight: bold; word-break: break-all; }
.file-meta { font-size: 19px; padding-top: 4px; }
.dl-btn { flex: 0 0 160px; min-height: 88px; line-height: 54px; padding: 14px 0; }

@media (max-width: 480px) {
  body { font-size: 18px; }
  #brand { font-size: 32px; padding-right: 150px; }
  #btn-refresh { font-size: 20px; min-height: 52px; padding: 6px 18px; }
  .group-head { font-size: 24px; }
  .file-name { font-size: 22px; }
  .dl-btn { flex-basis: 120px; font-size: 24px; min-height: 72px; line-height: 40px; }
}