/* ====== LSG å¨±ä¹ç»è®¡é¢æµ - æ ·å¼è¡¨ ====== */



* { margin: 0; padding: 0; box-sizing: border-box; }







body {



  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;



  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);



  min-height: 100vh;



  color: #e0e0e0;



  padding-top: 0; /* JS动态设置container padding-top，不需要body padding */  /* ä¸ºåºå®é¡¶æ çç©ºé´ */



}







.container { position: relative; z-index: 1; max-width: 1920px; width: 98%; margin: 0 auto; padding: 20px 16px 40px; }







@media (min-width: 1200px) {



  .container { position: relative; z-index: 1; padding: 24px 48px 48px; }



  header h1 { font-size: 36px; }



  .cards { grid-template-columns: repeat(5, 1fr); gap: 20px; }



  .card-value { font-size: 36px; }



  .number-grid { grid-template-columns: repeat(10, 1fr); gap: 6px; }



  .num-cell { padding: 8px 4px; }



  .num-cell .num { font-size: 22px; width: 36px; height: 36px; line-height: 36px; }



  .draw-ball { width: 68px; height: 68px; }



  .draw-ball .ball-num { font-size: 26px; color: #000; font-weight: 900; }



  .draw-ball .ball-zodiac { font-size: 20px; color: #000; font-weight: bold; }



  .lx-table { font-size: 15px; }



  .lx-table th, .lx-table td { padding: 10px 12px; }



  section h2 { font-size: 24px; }



}







/* ====== å¤´é¨ ====== */



header { text-align: center; margin-bottom: 0; }



header h1 { font-size: 18px; color: #ffd700; margin-bottom: 2px; }



.subtitle { color: #999; font-size: 11px; margin-bottom: 4px; }



.header-actions { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }



.update-time { font-size: 11px; color: #666; }







/* ====== æé® ====== */



.btn { padding: 6px 14px; border-radius: 6px; border: 1px solid #444; background: #2a2a4a; color: #e0e0e0; cursor: pointer; font-size: 13px; transition: all 0.2s; }



.btn:hover { background: #3a3a5a; }



.btn:disabled { opacity: 0.5; cursor: not-allowed; }



.btn-primary { background: #4a6fa5; border-color: #5a7fb5; }



.btn-primary:hover { background: #5a8fc5; }



.btn-sm { padding: 4px 10px; font-size: 12px; }







/* ====== å¼å¥ç ====== */



/* é¡¶ç½®åºå®æ ï¼å¤´é¨ + å¼å¥çå§ç»å¯è§ */



.top-bar-fixed {



  position: fixed; top: 0; left: 0; right: 0; z-index: 999;



  background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 100%);



  padding: 4px 12px 4px;



  border-bottom: 2px solid rgba(255,215,0,0.15);



  box-shadow: 0 2px 12px rgba(0,0,0,0.5);



}



.top-bar-fixed .header-actions { margin-top: 4px; }



.latest-draw-section { margin: 0; }



.latest-draw { min-height: 120px;



  background: linear-gradient(135deg, #1e1a2e 0%, #2a1a3e 50%, #1a2a3e 100%);



  border: 1px solid rgba(255,215,0,0.2); border-radius: 12px; padding: 16px 20px;



  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;



  min-height: 60px;



}



.latest-draw .draw-label { font-size: 14px; color: #ffd700; font-weight: bold; white-space: nowrap; }



.latest-draw .draw-issue { font-size: 12px; color: #aaa; }



.latest-draw .draw-balls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }







.draw-ball {



  width: 68px; height: 68px; border-radius: 50%; display: flex;



  flex-direction: column; align-items: center; justify-content: center;



  color: #000; font-weight: 900; position: relative; padding: 2px; gap: 1px;



}



.draw-ball .ball-num { font-size: 26px; font-weight: 900; line-height: 1.1; color: #000; }



.draw-ball .ball-zodiac { font-size: 20px; font-weight: bold; line-height: 1.1; color: #000; }



.draw-ball.red { background: radial-gradient(circle at 35% 35%, #ff6b6b, #c0392b); }



.draw-ball.blue { background: radial-gradient(circle at 35% 35%, #6bb5ff, #2471a3); }



.draw-ball.green { background: radial-gradient(circle at 35% 35%, #6bff6b, #27ae60); }







.draw-ball-special {



  width: 68px; height: 68px; border-radius: 50%; margin-left: 8px;



  box-shadow: 0 0 8px rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.4);



}



.draw-ball-special::after {



  content: 'ç¹'; position: absolute; top: -10px; right: -4px;



  font-size: 10px; color: #fff; font-weight: normal;



  background: rgba(0,0,0,0.5); border-radius: 3px; padding: 0 3px;



}







/* å°çï¼å¼å¥è®°å½è¡¨æ ¼ç¨ï¼ */



.draw-ball-small {



  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;



  width: 40px; height: 40px; border-radius: 50%; color: #000; font-weight: bold; gap: 0;



}



.draw-ball-small .ball-num { font-size: 13px; font-weight: 900; line-height: 1.1; color: #000; }



.draw-ball-small .ball-zodiac { font-size: 9px; font-weight: bold; line-height: 1.0; color: #000; }



.draw-ball-small.red { background: radial-gradient(circle at 35% 35%, #ff6b6b, #c0392b); }



.draw-ball-small.blue { background: radial-gradient(circle at 35% 35%, #6bb5ff, #2471a3); }



.draw-ball-small.green { background: radial-gradient(circle at 35% 35%, #6bff6b, #27ae60); }



.draw-ball-small-special { border: 2px solid rgba(255,215,0,0.6); }







/* ç¹ç ç */



.tema-ball {



  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;



  width: 40px; height: 40px; border-radius: 50%; color: #000; font-weight: bold; gap: 0;



}



.tema-ball .ball-num { font-size: 13px; font-weight: 900; line-height: 1.1; color: #000; }



.tema-ball .ball-zodiac { font-size: 9px; font-weight: bold; line-height: 1.0; color: #000; }



.tema-ball.red { background: radial-gradient(circle at 35% 35%, #ff6b6b, #c0392b); }



.tema-ball.blue { background: radial-gradient(circle at 35% 35%, #6bb5ff, #2471a3); }



.tema-ball.green { background: radial-gradient(circle at 35% 35%, #6bff6b, #27ae60); }







/* ç´æ­æ¨¡å¼ - å¾å¼ç */



.draw-ball-pending {



  background: rgba(255,255,255,0.08) !important;



  border: 2px dashed rgba(255,255,255,0.2);



  animation: none !important;



}



.draw-ball-pending .ball-num,



.draw-ball-pending .ball-zodiac { color: rgba(255,255,255,0.3) !important; }







/* ç´æ­æ¨¡å¼ - æ°å¼åºçèå² */



.ball-just-drawn {



  animation: pulseNewBall 0.5s ease-out 3;



  box-shadow: 0 0 20px rgba(255,215,0,0.8), 0 0 40px rgba(255,215,0,0.4);



  transform: scale(1.15);



  transition: transform 0.3s, box-shadow 0.3s;



}



@keyframes pulseNewBall {



  0% { transform: scale(1.0); box-shadow: 0 0 5px rgba(255,215,0,0.3); }



  50% { transform: scale(1.25); box-shadow: 0 0 30px rgba(255,215,0,0.9), 0 0 60px rgba(255,215,0,0.5); }



  100% { transform: scale(1.0); box-shadow: 0 0 5px rgba(255,215,0,0.3); }



}







/* ====== æ¦è§å¡ç ====== */



.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-bottom: 20px; }



.card {



  background: rgba(255,255,255,0.05); border-radius: 10px; padding: 16px;



  text-align: center; border: 1px solid rgba(255,255,255,0.1);



}



.card-value { font-size: 24px; color: #ffd700; font-weight: bold; margin-bottom: 4px; }



.card-label { font-size: 12px; color: #999; }







/* ====== æ¨¡ååº ====== */



section { margin-bottom: 20px; }



section h2 { font-size: 18px; color: #ffd700; margin-bottom: 12px; }







.liuxiao-sqbk-row, .pingte-row { display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }



.liuxiao-section {



  flex: 1; min-width: 300px;



  background: rgba(255,255,255,0.03); border-radius: 10px; padding: 16px;



  border: 1px solid rgba(255,255,255,0.08);



}



.liuxiao-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }



.liuxiao-header h2 { margin-bottom: 0; }







/* ====== ç»è®¡æ¡ ====== */



.lx-stat-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 6px; }



.lx-stat { font-size: 13px; padding: 2px 8px; border-radius: 4px; background: rgba(255,255,255,0.06); }



.lx-stat-hit { color: #4caf50; }



.lx-stat-miss { color: #ff5252; }



.lx-stat-pending { color: #ffb74d; }



.lx-stat-rate { color: #ffd700; font-weight: bold; }



.lx-stat-streak { font-weight: bold; margin-left: auto; font-size: 16.9px; }
.lx-stat-streak-hit { color: #4caf50; text-shadow: 0 0 8px rgba(76,175,80,0.3); }
.lx-stat-streak-miss { color: #ff5252; text-shadow: 0 0 8px rgba(255,82,82,0.3); }
.lx-streak-num { font-size: 120%; }



.lx-update-time { font-size: 11px; color: #666; }







/* çèæ ç­¾ */



.lx-zodiac-chip {



  display: inline-block; padding: 2px 8px; margin: 2px; border-radius: 12px;



  background: rgba(255,255,255,0.08); font-size: 13px; color: #ccc;



}



.lx-zodiac-hit { background: rgba(76,175,80,0.3); color: #4caf50; font-weight: bold; }







/* ç»ææ è®° */



.lx-result-hit { color: #4caf50; font-weight: bold; }



.lx-result-miss { color: #ff5252; font-weight: bold; }



.lx-result-pending { color: #ffb74d; }



.lx-gap-note { font-size: 10px; color: #888; }



.lx-empty { color: #888; font-size: 13px; padding: 16px; text-align: center; }







/* ====== è¡¨æ ¼ ====== */



.lx-table { width: 100%; border-collapse: collapse; font-size: 13px; }



.lx-table th { background: rgba(255,255,255,0.06); color: #aaa; font-weight: normal; padding: 6px 8px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); }



.lx-table td { padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,0.04); }



.lx-table tr:hover { background: rgba(255,255,255,0.03); }







/* å¼å¥è®°å½è¡¨æ ¼ */



.draws-table-wrapper { overflow-x: auto; }



.draws-table { width: 100%; border-collapse: collapse; font-size: 13px; }



.draws-table th { background: rgba(255,255,255,0.06); color: #aaa; padding: 8px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }



.draws-table td { padding: 6px 4px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.04); }







/* ====== 24ç  ====== */



.lhl-24row { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }



.lhl-number-ball {



  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;



  width: 40px; height: 40px; border-radius: 50%; color: #000; font-weight: bold;



  gap: 0;



}



.lhl-number-ball .lhl-num { font-size: 13px; font-weight: 900; line-height: 1.1; }



.lhl-number-ball .lhl-zodiac { font-size: 9px; font-weight: bold; line-height: 1.0; }



.lhl-number-ball.red-wave { background: radial-gradient(circle at 35% 35%, #ff6b6b, #c0392b); }



.lhl-number-ball.blue-wave { background: radial-gradient(circle at 35% 35%, #6bb5ff, #2471a3); }



.lhl-number-ball.green-wave { background: radial-gradient(circle at 35% 35%, #6bff6b, #27ae60); }







.lhl-toggle-btn {



  font-size: 11px; padding: 2px 6px; border-radius: 4px;



  background: rgba(255,255,255,0.1); color: #aaa; border: none; cursor: pointer;



}



.lhl-toggle-btn:hover { background: rgba(255,255,255,0.2); }



.lhl-copy-btn {



  font-size: 11px; padding: 2px 8px; border-radius: 4px;



  background: rgba(255,215,0,0.2); color: #ffd700; border: 1px solid rgba(255,215,0,0.3); cursor: pointer;



}



.lhl-copy-btn:hover { background: rgba(255,215,0,0.3); }







.lhl-record-result { font-size: 12px; }



.lhl-record-result.hit { color: #4caf50; }



.lhl-record-result.miss { color: #ff5252; }



.lhl-record-result.pending { color: #ffb74d; }







/* ====== å·ç é¢æ¬¡ ====== */



.number-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }



.num-cell {



  background: rgba(255,255,255,0.05); border-radius: 6px; padding: 4px 2px;



  text-align: center; border: 1px solid rgba(255,255,255,0.08);



  cursor: default; transition: all 0.2s;



}



.num-cell:hover { background: rgba(255,255,255,0.1); }



.num-cell .num {



  width: 30px; height: 30px; border-radius: 50%; margin: 0 auto 3px;



  display: flex; align-items: center; justify-content: center;



  font-size: 14px; font-weight: bold; color: #000;



}



.num-cell .num.red { background: radial-gradient(circle at 35% 35%, #ff6b6b, #c0392b); }



.num-cell .num.blue { background: radial-gradient(circle at 35% 35%, #6bb5ff, #2471a3); }



.num-cell .num.green { background: radial-gradient(circle at 35% 35%, #6bff6b, #27ae60); }



.num-cell .count { font-size: 10px; color: #888; }



.num-cell .zodiac { font-size: 9px; color: #666; }







.heat-0 { opacity: 0.5; }



.heat-1 { border-color: rgba(100,100,255,0.2); }



.heat-2 { border-color: rgba(100,100,255,0.3); }



.heat-3 { border-color: rgba(255,165,0,0.3); }



.heat-4 { border-color: rgba(255,165,0,0.4); }



.heat-5 { border-color: rgba(255,69,0,0.4); }



.heat-6 { border-color: rgba(255,0,0,0.4); }



.heat-7 { border-color: rgba(255,0,0,0.6); }







/* ====== å·ç ç­é ====== */



.filter-section { background: rgba(255,255,255,0.03); border-radius: 10px; padding: 16px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.08); }



.filter-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }



.filter-group { margin-bottom: 8px; }



.filter-label { font-size: 13px; color: #aaa; margin-right: 8px; }



.filter-tags { display: inline-flex; gap: 4px; flex-wrap: wrap; }



.filter-tag {



  padding: 3px 10px; border-radius: 12px; font-size: 12px;



  background: rgba(255,255,255,0.08); color: #ccc; border: 1px solid transparent;



  cursor: pointer; transition: all 0.2s;



}



.filter-tag:hover { background: rgba(255,255,255,0.15); }



.filter-tag.active { background: rgba(255,215,0,0.2); color: #ffd700; border-color: rgba(255,215,0,0.4); }



.filter-tag.tag-red.active { background: rgba(255,80,80,0.2); color: #ff5050; border-color: rgba(255,80,80,0.4); }



.filter-tag.tag-blue.active { background: rgba(80,150,255,0.2); color: #5096ff; border-color: rgba(80,150,255,0.4); }



.filter-tag.tag-green.active { background: rgba(80,255,80,0.2); color: #50ff50; border-color: rgba(80,255,80,0.4); }



.filter-row { display: flex; gap: 16px; flex-wrap: wrap; }



.filter-result { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }



.filter-result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }



.filter-count { font-size: 14px; color: #ffd700; font-weight: bold; }



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







.filter-ball.red { background: radial-gradient(circle at 35% 35%, #ff6b6b, #c0392b); }



.filter-ball.blue { background: radial-gradient(circle at 35% 35%, #6bb5ff, #2471a3); }



.filter-ball.green { background: radial-gradient(circle at 35% 35%, #6bff6b, #27ae60); }



.filter-ball .fzodiac { font-size: 8px; }







/* ====== è®¾ç½®å¼¹çª ====== */



.settings-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1000; align-items: flex-start; justify-content: center; padding-top: 20px; }



.settings-modal-content { background: #1a1a2e; border-radius: 12px; padding: 24px; max-width: 600px; width: 90%; max-height: 85vh; overflow-y: auto; margin-top: 10px; }



.settings-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }



.settings-modal-header h2 { font-size: 20px; color: #ffd700; }



.settings-form { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }



.settings-form h3 { font-size: 15px; color: #ccc; margin-bottom: 8px; }



.form-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }



.form-row label { font-size: 13px; color: #aaa; min-width: 80px; }



.form-input { background: #2a2a4a; border: 1px solid #444; color: #fff; padding: 6px 10px; border-radius: 4px; font-size: 13px; }



.settings-msg { font-size: 12px; margin-top: 4px; }



.settings-msg.success { color: #4caf50; }



.settings-msg.error { color: #ff5252; }







/* å¯ç å¼¹çª */



.pwd-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1001; align-items: center; justify-content: center; }



.pwd-box { background: #1a1a2e; border-radius: 12px; padding: 24px; text-align: center; }



.pwd-box h3 { color: #ffd700; margin-bottom: 12px; }



.pwd-input { background: #2a2a4a; border: 1px solid #444; color: #fff; padding: 8px 12px; border-radius: 4px; width: 200px; }



.pwd-error { color: #ff5252; font-size: 12px; margin-top: 8px; }



.pwd-btns { margin-top: 12px; display: flex; gap: 8px; justify-content: center; }

/* 账号登录/注册弹窗 */
.auth-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1002; align-items: flex-start; justify-content: center; padding-top: 60px; }
.auth-box { background: #1a1a2e; border-radius: 12px; padding: 28px; max-width: 380px; width: 90%; }
.auth-box h3 { color: #ffd700; margin-bottom: 16px; text-align: center; }
.auth-field { margin-bottom: 12px; }
.auth-field label { display: block; font-size: 13px; color: #aaa; margin-bottom: 4px; }
.auth-field input { background: #2a2a4a; border: 1px solid #444; color: #fff; padding: 8px 12px; border-radius: 4px; width: 100%; box-sizing: border-box; font-size: 14px; }
.auth-btns { display: flex; gap: 8px; margin-top: 16px; }
.auth-msg { font-size: 12px; margin-top: 8px; }
.auth-msg.success { color: #4caf50; }
.auth-msg.error { color: #ff5252; }
.auth-tabs { display: flex; gap: 0; margin-bottom: 16px; border-bottom: 1px solid rgba(255,215,0,0.2); }
.auth-tab { flex: 1; padding: 8px; text-align: center; cursor: pointer; color: #888; font-size: 14px; border-bottom: 2px solid transparent; }
.auth-tab.active { color: #ffd700; border-bottom-color: #ffd700; }
.user-info { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.user-badge { background: rgba(255,215,0,0.15); border: 1px solid rgba(255,215,0,0.3); border-radius: 4px; padding: 2px 8px; font-size: 12px; color: #ffd700; }







/* ====== åè®¡æ¶ ====== */



.draw-countdown { font-size: 12px; color: #aaa; }



.draw-current-issue { font-size: 12px; color: #888; margin-top: 4px; }







.btn-show-more { margin-top: 8px; }



.btn-clear { background: rgba(255,80,80,0.15); border-color: rgba(255,80,80,0.3); color: #ff8080; }







/* ====== é¢æµåº ====== */



.predict-header { display: flex; justify-content: space-between; align-items: center; }



.predict-rules { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }



.rule-check { font-size: 12px; color: #ccc; display: inline-flex; align-items: center; gap: 3px; }



.predict-results { margin: 12px 0; }



.predict-excluded { margin: 8px 0; }



.excluded-toggle { cursor: pointer; color: #888; font-size: 12px; }







/* ====== å½ä¸­/æªä¸­è¡åºè² ====== */



.lx-row-hit { background: rgba(76, 175, 80, 0.15); }



.lx-row-hit:hover { background: rgba(76, 175, 80, 0.25); }



.lx-row-miss { background: rgba(211, 47, 47, 0.18); }



.lx-row-miss:hover { background: rgba(211, 47, 47, 0.28); }







/* å½ä¸­çèé«äº®ï¼å¤§çº¢åº + å­å·å¢å¤§20% */



.lx-zodiac-hit-highlight {
  background: #d32f2f !important;
  color: #fff !important;
  font-size: 150% !important;
  font-weight: 900 !important;
  border: 2px solid #ff6b6b !important;
  padding: 4px 12px !important;
  letter-spacing: 1px;
  animation: hlPulse 1.5s ease-in-out infinite;
}

@keyframes hlPulse {
  0%, 100% { box-shadow: 0 0 4px rgba(211,47,47,0.5); }
  50% { box-shadow: 0 0 12px rgba(211,47,47,0.9); }
}



.lx-tag-hit { display: inline-block; padding: 2px 10px; border-radius: 4px; background: #d32f2f; color: #fff; font-weight: bold; font-size: 13px; }



.lx-tag-miss { display: inline-block; padding: 2px 10px; border-radius: 4px; background: rgba(100,100,100,0.3); color: #999; font-weight: bold; font-size: 13px; }







/* ====== å¼å¥ç»æçï¼å°.tema-ball.green { background: radial-gradient(circle at 35% 35%, #66bb6a, #2e7d32); }




/* å£°æ */
.disclaimer { color: #ffb74d; font-size: 12px; padding: 2px 10px; border: 1px solid rgba(255,183,77,0.3); border-radius: 4px; margin-right: auto; }




/* ====== ä¸æå¿å¼å¨ææ ·å¼ ====== */

.sqbk-period {

  margin-bottom: 12px;

  border-radius: 8px;

  overflow: hidden;

  border: 1px solid rgba(255,255,255,0.06);

}

.sqbk-period-hit {

  background: linear-gradient(135deg, rgba(76,175,80,0.12) 0%, rgba(76,175,80,0.04) 100%);

  border-color: rgba(76,175,80,0.3);

}

.sqbk-period-miss {

  background: linear-gradient(135deg, rgba(255,82,82,0.12) 0%, rgba(255,82,82,0.04) 100%);

  border-color: rgba(255,82,82,0.3);

}

.sqbk-period-pending {

  background: rgba(255,255,255,0.02);

  border-color: rgba(255,255,255,0.06);

}

.sqbk-period-header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 8px 14px;

  border-bottom: 1px solid rgba(255,255,255,0.08);

}

.sqbk-period-label {

  font-size: 14px;

  font-weight: 700;

  color: #e0e0e0;

  letter-spacing: 0.5px;

}

.sqbk-period-badge {

  font-size: 13px;

  font-weight: 600;

  padding: 2px 10px;

  border-radius: 12px;

}

.sqbk-badge-hit {

  background: rgba(76,175,80,0.2);

  color: #81c784;

  border: 1px solid rgba(76,175,80,0.3);

}

.sqbk-badge-miss {

  background: rgba(255,82,82,0.2);

  color: #ef9a9a;

  border: 1px solid rgba(255,82,82,0.3);

}

.sqbk-badge-pending {

  background: rgba(255,183,77,0.15);

  color: #ffb74d;

  border: 1px solid rgba(255,183,77,0.25);

}

.sqbk-table {

  margin: 0;

  border: none;

}

.sqbk-table thead {

  background: rgba(0,0,0,0.2);

}

.sqbk-table th {

  font-size: 12px;

  padding: 6px 10px;

}

.sqbk-table td {

  padding: 6px 10px;

  font-size: 13px;

}

.sqbk-period-sep {

  height: 2px;

  margin: 8px 0;

  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);

  border-radius: 1px;

}



/* ====== å·ç é¢æµå¼æ + çèè¶å¿ ====== */
.predict-section { margin-bottom: 32px; }
.predict-section h2 { font-size: 18px; color: #ffd700; margin-bottom: 12px; letter-spacing: 0.5px; }

/* çèè¶å¿ */
.zodiac-trend { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 8px 0; }
.trend-ball-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.trend-ball {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; color: #000; font-weight: bold; gap: 0;
  transition: transform 0.15s;
}
.trend-ball:hover { transform: scale(1.1); }
.trend-ball .ball-num { font-size: 13px; font-weight: 900; line-height: 1.1; color: #000; }
.trend-ball .ball-zodiac { font-size: 9px; font-weight: bold; line-height: 1.0; color: #000; }
.trend-ball.red { background: radial-gradient(circle at 35% 35%, #ff6b6b, #c0392b); }
.trend-ball.blue { background: radial-gradient(circle at 35% 35%, #6bb5ff, #2471a3); }
.trend-ball.green { background: radial-gradient(circle at 35% 35%, #6bff6b, #27ae60); }
.trend-ball-issue { font-size: 10px; color: #888; }

/* é¢æµå¤´é¨ */
.predict-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }

/* éä¸­çèè¡ */
.zodiac-predict-row { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.zodiac-predict-tag {
  background: linear-gradient(135deg, #2d1f5c, #1a0e3e); color: #ffd700;
  padding: 4px 14px; border-radius: 16px; font-size: 14px; font-weight: 600;
  border: 1px solid rgba(255,215,0,0.3);
}

/* è§ååºå */
.predict-rules {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 10px 14px; background: rgba(255,255,255,0.03); border-radius: 8px;
  margin-bottom: 12px; border: 1px solid rgba(255,255,255,0.06);
}
.rule-check { font-size: 13px; color: #ccc; display: flex; align-items: center; gap: 4px; cursor: pointer; }
.rule-check input[type=checkbox] { accent-color: #ffd700; }
.rule-select { background: #2a2a4a; border: 1px solid #555; color: #ffd700; padding: 4px 10px; border-radius: 4px; font-size: 13px; }

/* é¢æµç»æ */
.predict-results { padding: 12px 0; }
.predict-result-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.predict-result-header h3 { font-size: 16px; color: #e0e0e0; margin: 0; }
.predict-numbers { display: flex; flex-wrap: wrap; gap: 10px; }
.predict-ball {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; color: #000; font-weight: bold; gap: 0;
  cursor: pointer; transition: transform 0.15s;
}
.predict-ball:hover { transform: scale(1.12); }
.predict-ball .ball-num { font-size: 13px; font-weight: 900; line-height: 1.1; color: #000; }
.predict-ball .ball-zodiac { font-size: 9px; font-weight: bold; line-height: 1.0; color: #000; }
.predict-ball.red { background: radial-gradient(circle at 35% 35%, #ff6b6b, #c0392b); }
.predict-ball.blue { background: radial-gradient(circle at 35% 35%, #6bb5ff, #2471a3); }
.predict-ball.green { background: radial-gradient(circle at 35% 35%, #6bff6b, #27ae60); }

/* æé¤æ ·å¼ */
.excluded-num {
  display: inline-block; padding: 3px 12px; border-radius: 12px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: #888; font-size: 12px;
}
/* SQBK å·²å¼å¥å¨æåç¼©è¡ */
.sqbk-compact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  font-size: 13px;
}
.sqbk-compact-range {
  color: #90a4ae;
  font-size: 12px;
  flex-shrink: 0;
  min-width: 90px;
}
.sqbk-compact-zodiacs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.sqbk-compact-results {
  margin-left: auto;
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* æ¨¡åå¯¼èªå¡ç */
.card-nav {
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.card-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.15);
}

/* æ¨¡åè¿åæ  */
.module-back {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 16px 0;
  border-bottom: 1px solid rgba(255,215,0,0.12);
  margin-bottom: 16px;
}
.btn-module-back {
  background: rgba(255,255,255,0.08);
  color: #ffd700;
  border: 1px solid rgba(255,215,0,0.25);
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.btn-module-back:hover {
  background: rgba(255,215,0,0.15);
}
.module-title {
  font-size: 18px;
  font-weight: bold;
  color: #ffd700;
}


/* ©¤©¤ ÖðºÅ½¥³ö¶¯»­£¨ÅúÁ¿µ½´ïÊ±ÖðÒ»µ¯³ö£© ©¤©¤ */
@keyframes revealPop {
  0% { transform: scale(0.3) rotate(-180deg); opacity: 0; }
  50% { transform: scale(1.2) rotate(10deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.ball-reveal-seq {
  animation: revealPop 0.6s ease-out forwards;
  animation-delay: inherit;
}

/* ©¤©¤ Ä£¿éµ¼º½¿¨Æ¬ ©¤©¤ */
.card-nav {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.card-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,215,0,0.15);
}

/* ©¤©¤ ·µ»ØÀ¸ ©¤©¤ */
.module-back {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin-bottom: 12px;
  background: rgba(255,215,0,0.06);
  border-radius: 8px;
  border: 1px solid rgba(255,215,0,0.15);
}
.btn-module-back {
  padding: 6px 16px;
  border: 1px solid #ffd700;
  color: #ffd700;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}
.btn-module-back:hover { background: rgba(255,215,0,0.1); }
.module-title { font-size: 18px; font-weight: bold; color: #ffd700; }


/* ====== 顶部Tab切换 ====== */
.main-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  border-bottom: 2px solid #333;
  position: sticky;
  top: 0;
  z-index: 998;
  background: #0f0f23;
}
.main-tab {
  padding: 10px 24px;
  font-size: 16px;
  font-weight: bold;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #888;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: -2px;
}
.main-tab:hover {
  color: #ccc;
}
.main-tab.active {
  color: #ffd700;
  border-bottom-color: #ffd700;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
/* 默认显示首个tab（JS未初始化时也能看到内容）*/
.tab-content:first-of-type {
  display: block;
}

/* ====== 神算子24码球样式 ====== */
.lhl-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lhl-item {
  background: #1a1a2e;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #333;
}
.lhl-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 14px;
}
.lhl-item-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.lhl-item-balls .ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  background: #444;
  border: 1px solid #666;
}
.lhl-item-balls .ball-special {
  background: #cc0000;
  border-color: #ff4444;
  box-shadow: 0 0 6px #ff4444;
}

/* ====== 通用表格 ====== */
.lx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.lx-table th {
  background: #1a1a2e;
  color: #aaa;
  padding: 8px;
  text-align: center;
  border: 1px solid #333;
}
.lx-table td {
  padding: 6px 8px;
  text-align: center;
  border: 1px solid #333;
  color: #ddd;
}
.lx-table tr:hover td {
  background: #222244;
}

/* ====== 结果标签 ====== */
.badge-hit {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background: #2d8c2d;
}
.badge-miss {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background: #cc3333;
}
.badge-pending {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background: #666;
}

/* ====== 特码号段统计 ====== */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 12px 0;
}
.segment-card {
  background: #1e1e2e;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
  transition: border-color 0.3s;
}
.segment-card.segment-alert {
  border-color: #ff5252;
  animation: segment-pulse 1.5s ease-in-out infinite;
}
@keyframes segment-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,82,82,0.4); }
  50% { box-shadow: 0 0 8px 4px rgba(255,82,82,0.15); }
}
.segment-label {
  font-size: 15px;
  font-weight: bold;
  color: #ccc;
  margin-bottom: 6px;
}
.segment-streak {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}
.segment-max {
  font-size: 11px;
  color: #888;
}
.segment-max-hit {
  font-size: 11px;
  color: #555;
}
@media (max-width: 600px) {
  .segment-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
  }
  .segment-card {
    padding: 8px 4px;
  }
  .segment-label {
    font-size: 13px;
  }
  .segment-streak {
    font-size: 15px;
  }
  .segment-max, .segment-max-hit {
    font-size: 10px;
  }
}


/* ====== 移动端适配 (768px以下) ====== */
@media (max-width: 768px) {
  /* 顶栏压缩 */
  .top-bar-fixed {
    padding: 6px 8px 4px;
  }
  .top-bar-fixed header h1 {
    font-size: 18px;
    margin: 2px 0;
  }
  .top-bar-fixed .disclaimer-bar {
    font-size: 11px;
    margin: 1px 0;
  }
  .top-bar-fixed .subtitle {
    font-size: 11px;
    margin: 1px 0;
  }
  .top-bar-fixed .header-actions {
    margin-top: 2px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
  }
  .top-bar-fixed .header-actions .btn {
    font-size: 11px;
    padding: 2px 8px;
  }
  .top-bar-fixed .update-time {
    font-size: 10px;
  }

  /* 开奖球区域压缩 */
  .latest-draw {
    padding: 8px 10px;
    gap: 8px;
    min-height: 40px;
  }
  .latest-draw .draw-label {
    font-size: 12px;
  }
  .latest-draw .draw-issue {
    font-size: 10px;
  }
  .latest-draw .draw-balls {
    gap: 4px;
  }

  /* body padding-top 动态适配 */
  body {
    padding-top: 0;
  }

  /* container 缩小边距 */
  .container {
    width: 100%;
    padding: 8px 6px 30px;
  }

  /* Tab 缩小 */
  .main-tabs {
    gap: 0;
    margin-bottom: 10px;
  }
  .main-tab {
    padding: 6px 10px;
    font-size: 13px;
  }

  /* 概览卡片改2列 */
  .cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .card {
    padding: 10px 6px;
  }
  .card-value {
    font-size: 22px;
  }
  .card-label {
    font-size: 11px;
  }

  /* 模块标题缩小 */
  .liuxiao-header h2 {
    font-size: 16px;
  }
  .liuxiao-header .btn {
    font-size: 11px;
    padding: 3px 8px;
  }

  /* 号码网格改7列 */
  .number-grid {
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 3px;
  }
  .num-cell {
    padding: 4px 2px;
  }
  .num-cell .num {
    font-size: 14px;
    width: 24px;
    height: 24px;
    line-height: 24px;
  }

  /* 开奖记录表压缩 */
  .draws-table {
    font-size: 11px;
  }
  .draws-table th,
  .draws-table td {
    padding: 4px 3px;
    white-space: nowrap;
  }

  /* 筛选标签缩小 */
  .filter-tag {
    font-size: 11px;
    padding: 3px 6px;
    margin: 2px;
  }
  .filter-label {
    font-size: 12px;
  }
  .filter-row {
    flex-wrap: wrap;
    gap: 3px;
  }

  /* 预测控件缩小 */
  .predict-row label {
    font-size: 12px;
  }
  .predict-row select {
    font-size: 12px;
    padding: 2px 4px;
  }

  /* 六肖/平特历史记录缩小 */
  .liuxiao-stats {
    gap: 4px;
  }
  .liuxiao-stats .zodiac-item {
    padding: 4px 6px;
    font-size: 12px;
  }

  /* 号段统计保持5列 */
  .segment-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
  }
}

/* ====== 小屏手机 (480px以下) 进一步压缩 ====== */
@media (max-width: 480px) {
  body {
    padding-top: 0;
  }
  .top-bar-fixed header h1 {
    font-size: 16px;
  }
  .main-tab {
    padding: 5px 8px;
    font-size: 12px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px;
  }
  .card-value {
    font-size: 18px;
  }
  .card-label {
    font-size: 10px;
  }
  .number-grid {
    grid-template-columns: repeat(7, 1fr) !important;
  }
}





/* 号码筛选球 */
.filter-ball { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; color: #000; font-weight: bold; cursor: pointer; transition: transform 0.15s; gap: 0; }
.filter-ball:hover { transform: scale(1.1); }
.filter-ball .ball-num, .filter-ball .fnum { font-size: 13px; font-weight: 900; line-height: 1.1; color: #000; }
.filter-ball .fzodiac { font-size: 9px; font-weight: bold; line-height: 1.0; color: #000; }
.filter-ball.red { background: radial-gradient(circle at 35% 35%, #ff6b6b, #c0392b); }
.filter-ball.blue { background: radial-gradient(circle at 35% 35%, #6bb5ff, #2471a3); }
.filter-ball.green { background: radial-gradient(circle at 35% 35%, #6bff6b, #27ae60); }

/* ====== 生肖统计 ====== */
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 10px 0;
}
.zodiac-card {
  background: #1e1e2e;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  transition: border-color 0.3s;
}
.zodiac-card.zodiac-alert {
  border-color: #ff5252;
  animation: zodiac-pulse 1.5s ease-in-out infinite;
}
@keyframes zodiac-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,82,82,0.4); }
  50% { box-shadow: 0 0 8px 4px rgba(255,82,82,0.15); }
}
.zodiac-label {
  font-size: 14px;
  font-weight: bold;
  color: #ccc;
  margin-bottom: 4px;
}
.zodiac-streak {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 3px;
}
.zodiac-max {
  font-size: 10px;
  color: #888;
}
.zodiac-max-hit {
  font-size: 10px;
  color: #555;
}
@media (max-width: 600px) {
  .zodiac-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 3px;
  }
  .zodiac-card {
    padding: 6px 3px;
  }
  .zodiac-label {
    font-size: 12px;
  }
  .zodiac-streak {
    font-size: 14px;
  }
  .zodiac-max, .zodiac-max-hit {
    font-size: 9px;
  }
}
