.liuhe-native-host,
.liuhe-native {
  box-sizing: border-box;
  max-width: 100%;
  overflow: visible;
  width: 100%;
}

.liuhe-native {
  background: #fff;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 0;
  padding: 0;
}

.liuhe-native__head {
  align-items: center;
  background: #3e98f0;
  color: #fff;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 8px 10px;
}

.liuhe-native__title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.liuhe-native__period {
  align-items: center;
  display: flex;
  font-size: 11px;
  gap: 4px;
  white-space: nowrap;
}

.liuhe-native__period input {
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  color: #333;
  font-size: 11px;
  padding: 2px 6px;
  width: 52px;
}

.liuhe-native__meta {
  background: #f5f8fb;
  color: #666;
  font-size: 10px;
  padding: 4px 8px;
}

.liuhe-native__body {
  overflow: visible;
  padding: 0 0 12px;
}

.liuhe-native__state {
  color: #666;
  font-size: 12px;
  padding: 24px 8px;
  text-align: center;
}

.liuhe-native__state.error {
  color: #c62828;
}

.liuhe-section {
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
  overflow: visible;
  padding: 8px 8px 8px 10px;
  width: 100%;
}

.liuhe-section__title {
  color: #333;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 6px;
  padding: 0;
  word-break: break-all;
}

.liuhe-section__row {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  justify-content: flex-start;
  max-width: 100%;
  overflow: visible;
}

.liuhe-ball {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  width: 38px;
}

.liuhe-ball__circle {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.liuhe-ball__circle.red {
  background: linear-gradient(160deg, #f44336, #c62828);
}

.liuhe-ball__circle.blue {
  background: linear-gradient(160deg, #42a5f5, #1565c0);
}

.liuhe-ball__circle.green {
  background: linear-gradient(160deg, #66bb6a, #2e7d32);
}

.liuhe-ball__meta {
  color: #666;
  font-size: 9px;
  line-height: 1.1;
  max-width: 38px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.liuhe-tag {
  background: #f0f5f9;
  border: 1px solid #d8e4ef;
  border-radius: 3px;
  color: #333;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  min-width: 44px;
  padding: 5px 8px;
  text-align: center;
}

.liuhe-tag.red {
  background: #ffebee;
  border-color: #ef9a9a;
  color: #c62828;
}

.liuhe-tag.blue {
  background: #e3f2fd;
  border-color: #90caf9;
  color: #1565c0;
}

.liuhe-tag.green {
  background: #e8f5e9;
  border-color: #a5d6a7;
  color: #2e7d32;
}

@media (max-width: 480px) {
  .liuhe-ball {
    width: 34px;
  }

  .liuhe-ball__circle {
    font-size: 10px;
    height: 30px;
    width: 30px;
  }

  .liuhe-ball__meta {
    display: none;
  }

  .liuhe-section__title {
    font-size: 11px;
  }
}
