/* ===== 金彩预测 UI 美化 v3 ===== */
/* 不覆盖登录页的渐变背景和 logo */

/* --- 只美化内页卡片（登录页是 .login-page，不受影响）--- */
.page .card {
  background: #fff !important;
  border: 1px solid #eee !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03) !important;
  transition: all 0.2s ease;
}
.page .card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* --- 按钮 --- */
.page .btn-primary, .page .btn {
  background: linear-gradient(135deg, #c93b3b, #a52a2a) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 24px !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(201,59,59,0.25);
}
.page .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,59,59,0.35);
}

/* --- 号码球 --- */
.ball {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #f5f5f5);
  color: #333;
  font-weight: 700;
  font-size: 15px;
  margin: 0 3px;
  border: 1.5px solid #e5e5e5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}
.ball:hover { transform: scale(1.1); border-color: #c93b3b; }
.ball.small { width: 28px; height: 28px; font-size: 13px; }

/* --- 开奖小球 --- */
.d-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fef2f2;
  color: #991b1b;
  font-weight: 700;
  font-size: 14px;
  margin: 0 2px;
  border: 1.5px solid #fecaca;
}

/* --- 战绩记录表 --- */
.rec-row {
  display: flex;
  align-items: center;
  padding: 11px 12px;
  border-bottom: 1px solid #eee;
  transition: background 0.15s;
  font-size: 14px;
}
.rec-row:hover { background: #fafafa; }
.rec-row.head {
  color: #888;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #fafafa;
  border-radius: 8px 8px 0 0;
  border: 1px solid #eee;
  border-bottom: none;
}
.c-issue { flex: 0 0 80px; color: #888; font-size: 13px; }
.c-date { flex: 0 0 85px; color: #888; font-size: 13px; }
.c-draw { flex: 0 0 80px; display: flex; gap: 2px; }
.c-tier { flex: 1; text-align: center; }

.mark.ok {
  color: #16a34a;
  font-weight: 700; font-size: 16px;
  background: #f0fdf4;
  border-radius: 50%;
  width: 26px; height: 26px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border: 1px solid #bbf7d0;
}
.mark.no { color: #d1d5db; font-size: 14px; }

/* --- 摘要卡片（非登录页）--- */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 12px 0;
}
.s-tile {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.2s, border-color 0.2s;
}
.s-tile:hover {
  transform: translateY(-2px);
  border-color: #c93b3b;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.s-name { font-size: 12px; color: #888; margin-bottom: 6px; font-weight: 500; }
.s-num { font-size: 28px; font-weight: 700; color: #333; }
.s-days { font-size: 13px; font-weight: 400; color: #888; margin-left: 2px; }
.s-sub { font-size: 11px; color: #16a34a; margin-top: 4px; font-weight: 500; }

/* --- 标签页 --- */
.tabs {
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  border: 1px solid #eee;
}
.tab {
  flex: 1; text-align: center;
  padding: 9px 0;
  border-radius: 8px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: #888;
}
.tab.active {
  background: #c93b3b !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(201,59,59,0.3);
}

/* --- 预测标签 --- */
.tag {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px; font-weight: 600;
}
.tag-coze {
  background: #f0fdf4 !important;
  color: #16a34a !important;
  border: 1px solid #bbf7d0;
}
.tag-rule {
  background: #fff7ed !important;
  color: #d9730d !important;
  border: 1px solid #fed7aa;
}

/* --- 输入框聚焦 --- */
.page .input:focus {
  border-color: #c93b3b !important;
  box-shadow: 0 0 0 3px rgba(201,59,59,0.1) !important;
  outline: none !important;
}

/* --- 期号 --- */
.issue-no {
  font-size: 28px; font-weight: 700;
  margin: 8px 0;
  background: linear-gradient(135deg, #c93b3b, #d9a520);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- 倒计时（非登录页）--- */
.page .countdown-bar {
  background: linear-gradient(135deg, #fef2f2, #fff7ed);
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  margin: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.countdown-bar .time {
  font-size: 24px; font-weight: 700;
  color: #c93b3b;
  font-variant-numeric: tabular-nums;
}
.countdown-bar .label {
  font-size: 12px; color: #888;
  display: block; margin-top: 2px;
}

/* --- 动画 --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.page .card, .s-tile { animation: fadeInUp 0.35s ease-out; }

/* --- 登录页 logo 完全不碰 --- */

/* --- 移动端 --- */
@media (max-width: 640px) {
  .summary-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .c-issue { flex: 0 0 60px; font-size: 11px; }
  .c-date { flex: 0 0 70px; font-size: 11px; }
  .c-draw { flex: 0 0 65px; }
  .ball { width: 28px; height: 28px; font-size: 14px; }
  .d-ball { width: 24px; height: 24px; font-size: 12px; }
  .s-num { font-size: 22px; }
}

/* 登录页 logo 书法字体 */
.logo{font-family:"ZCOOL QingKe HuangYou","Noto Serif SC","SimSun","STSong",serif!important;font-size:44px!important;font-weight:400!important;}
