/* Reference history: white header, year tabs, one open card per draw. */
body[data-layout="am1030-1812230"][data-page="history"] {
  margin: 0;
  min-height: 100vh;
  background: #fff;
  color: #000;
  font: 14px/normal "Microsoft YaHei", sans-serif;
}
body[data-page="history"] .history-app-header { position: sticky; z-index: 20; top: 0; width: min(100%, 640px); margin: 0 auto; background: #fff; }
body[data-page="history"] .history-app-header-inner { position: relative; display: flex; align-items: center; justify-content: center; height: 44px; padding: 0 40px; }
body[data-page="history"] .history-app-header h1 { margin: 0; overflow: hidden; font-size: 16px; font-weight: 700; line-height: 30px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
body[data-page="history"] .history-back { position: absolute; inset: 0 auto 0 0; display: grid; place-items: center; width: 38px; color: #000; text-decoration: none; }
body[data-page="history"] .history-back svg { width: 24px; height: 24px; }
body[data-page="history"] .history-page-shell { width: min(100%, 620px); min-height: calc(100vh - 44px); margin: 0 auto; padding: 0; background: #f2f2f2; box-shadow: none; }
body[data-page="history"] .history-year-tabs { display: flex; margin: 0; padding: 0; }
body[data-page="history"] .history-year-tabs a { margin-right: 10px; padding: 10px; background: #f0f0f0; color: #000; font-size: 14px; line-height: 19px; text-decoration: none; }
body[data-page="history"] .history-year-tabs a.is-active { background: #ddd; }
body[data-page="history"] .history-log-list { margin: 0; padding: 0; }
body[data-page="history"] .history-log-row { margin-bottom: 3.4px; padding: 10px; background: #fff; box-shadow: 0 0 8px #eaeaea; }
body[data-page="history"] .history-issue-cell { margin: 0; color: #999; font-size: 13px; font-weight: 600; line-height: normal; }
body[data-page="history"] .history-numbers { display: flex; justify-content: space-between; margin: 10.2px 0; }
body[data-page="history"] .history-ball-cell { width: 40.8px; min-width: 0; text-align: center; }
body[data-page="history"] .history-ball { display: block; width: 40.8px; height: 40.8px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #00a0e9; color: #fff; font-size: 14px; font-weight: 400; line-height: 40.8px; text-align: center; box-shadow: none; }
body[data-page="history"] .history-ball-red { background: #e23d43; }
body[data-page="history"] .history-ball-blue { background: #00a0e9; }
body[data-page="history"] .history-ball-green { background: #5dbf74; }
body[data-page="history"] .history-ball-cell small { display: block; width: 40.8px; height: 20.4px; margin-top: 6.8px; color: #9b9a9a; font-size: 14px; line-height: normal; }
body[data-page="history"] .history-empty { margin: 0; background: #fff; color: #999; line-height: 64px; text-align: center; }
body[data-page="history"] .history-load-zone { padding: 12px 10px; text-align: center; }
body[data-page="history"] .history-load-more { width: 100%; min-height: 36px; padding: 5px; border: 0; background: transparent; color: #666; font-size: 13px; cursor: pointer; }
body[data-page="history"] .history-load-more:disabled { opacity: .65; cursor: wait; }
body[data-page="history"] .history-load-more[hidden] { display: none; }
body[data-page="history"] .history-load-status { margin: 5px 0 0; color: #b42318; font-size: 13px; }
body[data-page="history"] .history-load-status:empty { display: none; }
body[data-page="history"] .history-back-to-top { position: fixed; right: max(15px, calc((100vw - 640px) / 2 + 15px)); bottom: 110px; z-index: 25; display: grid; place-items: center; width: 40px; height: 40px; padding: 8px; border: 0; border-radius: 50%; background: rgb(255 0 0 / 65%); color: #fff; box-shadow: 0 2px 4px #0003; cursor: pointer; }
body[data-page="history"] .history-back-to-top svg { width: 24px; height: 24px; }
body[data-page="history"] .history-back-to-top[hidden] { display: none; }
@media (min-width: 620px) {
  body[data-page="history"] .history-ball-cell,
  body[data-page="history"] .history-ball-cell small { width: 51px; }
  body[data-page="history"] .history-ball { width: 51px; height: 51px; font-size: 15px; line-height: 51px; }
}
