/* 手工私彩图库往期页 — 版心与站内一致 max-width:720px */
html {
  background: #e6e6e6;
}

.tuku-history-page {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 720px;
  min-height: 100vh;
  background: #fff;
  color: #222;
  font: 14px/1.5 "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", tahoma, arial, sans-serif;
  box-sizing: border-box;
  word-break: break-all;
}

.tuku-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 44px;
  padding: 0 10px;
  background: var(--home-nav2-bg, #333);
  color: #fff;
  box-sizing: border-box;
}

.tuku-history-header h1 {
  margin: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tuku-history-back,
.tuku-history-home {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  min-width: 36px;
  flex: 0 0 auto;
}

.tuku-history-home {
  text-align: right;
}

.tuku-history-periods {
  padding: 8px 0 8px 10px;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
}

.tuku-history-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 10px;
  scrollbar-width: thin;
}

.tuku-history-tabs::-webkit-scrollbar {
  height: 4px;
}

.tuku-history-tabs::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px;
}

.tuku-history-tab {
  flex: 0 0 auto;
  padding: 5px 12px;
  border-radius: 14px;
  background: transparent;
  color: #666;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
  line-height: 1.4;
}

.tuku-history-tab.is-active {
  background: var(--home-nav2-bg, #333);
  color: #fff;
}

.tuku-history-main {
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
}

.tuku-history-meta {
  margin: 0 0 8px;
  font-size: 13px;
  color: #666;
}

.tuku-history-figure {
  background: #fff;
  overflow: hidden;
  text-align: center;
}

.tuku-history-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  vertical-align: top;
}

.tuku-history-empty,
.tuku-history-empty-tip {
  margin: 16px 10px;
  padding: 20px 12px;
  text-align: center;
  color: #888;
  background: #fafafa;
  border: 1px dashed #ddd;
  border-radius: 4px;
}

.tuku-history-nav {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.tuku-history-nav-btn {
  flex: 1;
  display: block;
  padding: 12px 8px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  color: #333;
  background: #f0f0f0;
  border-radius: 4px;
  box-sizing: border-box;
}

a.tuku-history-nav-btn:active {
  background: #e4e4e4;
}

.tuku-history-nav-btn.is-disabled {
  color: #bbb;
  background: #f7f7f7;
  pointer-events: none;
}
