/* 走势页 — 对齐 xxg /#/zoushi 样式 */
body.xtw-zoushi-open {
  overflow: hidden;
}

body.xtw-zoushi-open #app {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

/* 走势自带返回按钮一律不显示 */
.xtw-zoushi__back {
  display: none !important;
}

#xtw-zoushi {
  position: fixed;
  inset: 0;
  z-index: 880;
  max-width: 720px;
  margin: 0 auto;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #f5f6fa;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

#xtw-zoushi.is-open {
  opacity: 1;
  visibility: visible;
}

.xtw-zoushi__header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 99;
  background: #10c366;
  padding: 0 12px;
  height: 44px;
  flex-shrink: 0;
}

.xtw-zoushi__header a {
  position: absolute;
  left: 8px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.xtw-zoushi__header .xtw-zoushi__title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.xtw-zoushi__tabs {
  display: flex;
  background: #fff;
  padding: 6px 0;
  border-bottom: 1px solid #e5e5e5;
  flex-shrink: 0;
  z-index: 10;
}

.xtw-zoushi__tabs button {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  margin: 0 6px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  border: none;
  border-radius: 18px;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.xtw-zoushi__tabs button.is-active {
  background: #10c366;
  color: #fff;
  font-weight: 700;
}

.xtw-zoushi__scroll {
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 6px calc(var(--xtw-tabbar-h, 52px) + 12px);
}

.xtw-zoushi__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.xtw-zoushi__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  font-size: 15px;
}

.xtw-zoushi__table thead {
  background: #10c366;
  color: #fff;
}

.xtw-zoushi__table thead th {
  padding: 12px 6px;
  text-align: center;
  white-space: nowrap;
  font-weight: 700;
  font-size: 15px;
}

.xtw-zoushi__table tbody tr {
  border-bottom: 1px solid #f0f0f0;
}

.xtw-zoushi__table tbody tr:nth-child(even) {
  background: #fafafa;
}

.xtw-zoushi__table tbody td {
  padding: 10px 4px;
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
}

.xtw-zoushi__table .xtw-zoushi__period {
  color: #666;
  font-size: 14px;
  font-weight: 400;
}

.xtw-zoushi__table .xtw-zoushi__sum {
  color: #e71607;
  font-weight: 700;
  font-size: 18px;
}

.xtw-zoushi__table .xtw-zoushi__tema {
  font-weight: 700;
  font-size: 20px;
}

.xtw-zoushi__empty {
  text-align: center;
  padding: 40px 0;
  color: #999;
}

.xtw-zoushi__loading,
.xtw-zoushi__finished {
  text-align: center;
  padding: 16px 0 20px;
  color: #999;
  font-size: 13px;
}

.xtw-zoushi__finished {
  color: #ccc;
  letter-spacing: 2px;
}

.xtw-zoushi__sentinel {
  height: 10px;
}

@media (max-width: 600px) {
  .xtw-zoushi__table {
    font-size: 13px;
  }
  .xtw-zoushi__table thead th {
    padding: 10px 4px;
    font-size: 13px;
  }
  .xtw-zoushi__table tbody td {
    padding: 8px 3px;
    font-size: 15px;
  }
  .xtw-zoushi__table .xtw-zoushi__period {
    font-size: 12px;
  }
  .xtw-zoushi__table .xtw-zoushi__sum {
    font-size: 16px;
  }
  .xtw-zoushi__table .xtw-zoushi__tema {
    font-size: 17px;
  }
}
