/* 顺利助手 - 挑码助手样式（从原版还原，视觉保持一致） */

*,
:after,
:before {
  box-sizing: border-box;
}

body,
html {
  background: #e0e0e0;
  font-family: sans-serif;
  font-variant-numeric: tabular-nums;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}

.container {
  min-height: 100%;
  width: 100%;
}

.top-header {
  border-bottom: 1px solid #b5b0b0;
  color: #555;
  font-size: 13px;
  padding: 10px 0;
  text-align: center;
  width: 100%;
}

.top-header .header-year {
  color: #333;
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}

.tmTab {
  border-collapse: collapse;
  table-layout: auto;
  width: 100%;
}

.tmTab td {
  border-bottom: 1px solid #b5b0b0;
  padding: 8px 6px;
}

.tmTab tr td:first-child {
  background-color: #0bad13;
  border-right: 1px solid #b5b0b0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  padding: 6px 2px;
  text-align: center;
  vertical-align: middle;
  width: 55px;
}

.tmTab tr td:last-child {
  background: #fff;
}

.tdBox {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-btn {
  background-color: #ebebeb;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 12px;
  position: relative;
  user-select: none;
  white-space: nowrap;
}

.tag-btn.active {
  background: #fff500 !important;
  border-color: red;
  color: red;
}

.tag-btn .check-icon {
  bottom: 0;
  color: red;
  display: none;
  font-size: 10px;
  position: absolute;
  right: 2px;
}

.tag-btn.active .check-icon {
  display: block;
}

.bottom-fixed {
  background: #fff;
  bottom: 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, .1);
  left: 0;
  position: fixed;
  width: 100%;
  z-index: 100;
}

.result-box {
  background-color: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  display: none;
  padding: 10px 15px;
}

.result-box p {
  color: #333;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
}

.retList {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ball {
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  height: 32px;
  line-height: 32px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
  width: 32px;
}

.bg-red {
  background-color: #e53935;
}

.bg-blue {
  background-color: #1e88e5;
}

.bg-green {
  background-color: #43a047;
}

.action-bar {
  display: flex;
  height: 48px;
}

.action-btn {
  background: #fff;
  color: #333;
  cursor: pointer;
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
}

.action-btn:not(:last-child) {
  border-right: 1px solid #e0e0e0;
}

.action-btn:active {
  background: #f0f0f0;
}

.toast {
  background: rgba(0, 0, 0, .8);
  border-radius: 8px;
  color: #fff;
  display: none;
  left: 50%;
  padding: 12px 24px;
  position: fixed;
  top: 40%;
  transform: translate(-50%, -50%);
  z-index: 999;
}
