/* ========================================================
   香港六合彩 專屬號碼球樣式庫（實體隔離 · 僅供六合彩頁面調用）
   路徑: static/balls_mark6/ball_mark6.css
   經典波色主題 (紅波·藍波·綠波) · 2026 丙午歲次生肖 (01~49) · 特碼尊榮光環
   ======================================================== */

/* 六合彩 官方開獎球單元 (球體 + 下方五行) */
.balls-mark6 .official-ball-cell,
.ball-mark6-official-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  user-select: none;
}

/* 六合彩 官方開獎號碼球（球內雕刻生肖） */
.balls-mark6 .mini-draw-ball.with-zodiac,
.ball-mark6-official {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0 3px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.45), inset 0 -2px 4px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
  user-select: none;
}

.balls-mark6 .mini-draw-ball.with-zodiac:hover,
.ball-mark6-official:hover {
  transform: scale(1.08);
}

/* 六合彩 紅波 / 藍波 / 綠波 漸層質感 */
.ball-mark6-wave-red {
  background: radial-gradient(circle at 35% 30%, #fca5a5 0%, #ef4444 45%, #991b1b 100%) !important;
  border: 1.5px solid #f87171 !important;
}

.ball-mark6-wave-blue {
  background: radial-gradient(circle at 35% 30%, #93c5fd 0%, #3b82f6 45%, #1e40af 100%) !important;
  border: 1.5px solid #60a5fa !important;
}

.ball-mark6-wave-green {
  background: radial-gradient(circle at 35% 30%, #86efac 0%, #10b981 45%, #065f46 100%) !important;
  border: 1.5px solid #34d399 !important;
}

/* 六合彩 特別號（特碼）耀眼光環 */
.ball-mark6-special {
  border: 2px solid #fbbf24 !important;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.8), inset 0 2px 5px rgba(255, 255, 255, 0.6) !important;
  position: relative;
}

.balls-mark6 .ball-num,
.ball-mark6-num {
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
}

.balls-mark6 .ball-zodiac,
.ball-mark6-zodiac {
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  margin-top: 1px;
  color: #fef08a;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.95);
  background: rgba(0, 0, 0, 0.45);
  padding: 0px 3px;
  border-radius: 3px;
  letter-spacing: 0;
  display: block;
}

.balls-mark6 .official-ball-wuxing,
.ball-mark6-wuxing {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
  line-height: 1;
  text-align: center;
}

.ball-mark6-special-wuxing {
  font-size: 0.68rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.5px;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 6px rgba(251, 191, 36, 0.5);
}

/* 六合彩 三中一推薦金光號碼球單元 */
.balls-mark6 .gold-ball-cell,
.ball-mark6-gold-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  user-select: none;
  margin: 6px 0 8px;
}

.balls-mark6 .gold-ball-3d.with-zodiac,
.ball-mark6-gold {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #fecdd3 20%, #f43f5e 55%, #881337 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 16px rgba(244, 63, 94, 0.6), inset -2px -2px 6px rgba(136, 19, 55, 0.6);
  border: 2px solid #fda4af;
  margin: 0;
  letter-spacing: -0.5px;
  transition: transform 0.25s ease;
}

.balls-mark6 .gold-ball-3d:hover,
.ball-mark6-gold:hover {
  transform: scale(1.06);
}

.balls-mark6 .gold-num,
.ball-mark6-gold .gold-num {
  font-size: 1.65rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.balls-mark6 .gold-zodiac,
.ball-mark6-gold .gold-zodiac {
  font-size: 11px;
  font-weight: 900;
  color: #fff1f2;
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 5px;
  border-radius: 3px;
  margin-top: 2px;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.balls-mark6 .ball-wuxing-tag.gold-wuxing,
.ball-mark6-gold-wuxing {
  font-size: 0.68rem;
  font-weight: 800;
  color: #fda4af;
  letter-spacing: 0.5px;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 6px rgba(244, 63, 94, 0.4);
}

/* 六合彩 連莊強勢推薦烈火號碼球單元 */
.balls-mark6 .fire-ball-cell,
.ball-mark6-fire-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  user-select: none;
  margin: 4px 0 8px;
}

.balls-mark6 .fire-ball-3d.with-zodiac,
.ball-mark6-fire {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(234, 88, 12, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  border: 1.5px solid #fdba74;
  margin: 0;
  transition: transform 0.3s ease;
}

.balls-mark6 .repeat-ball-card:hover .fire-ball-3d,
.ball-mark6-fire:hover {
  transform: scale(1.08) rotate(3deg);
}

.balls-mark6 .fire-num,
.ball-mark6-fire .fire-num {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.balls-mark6 .fire-zodiac,
.ball-mark6-fire .fire-zodiac {
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  margin-top: 1px;
  color: #ffedd5;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.95);
  background: rgba(0, 0, 0, 0.45);
  padding: 0 4px;
  border-radius: 3px;
  letter-spacing: 0;
  display: block;
}

.balls-mark6 .ball-wuxing-tag.fire-wuxing,
.ball-mark6-fire-wuxing {
  font-size: 0.68rem;
  font-weight: 800;
  color: #fdba74;
  letter-spacing: 0.5px;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 6px rgba(234, 88, 12, 0.4);
}

/* 六合彩 尾數雷達晶片單元 */
.balls-mark6 .tail-ball-cell,
.ball-mark6-tail-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  user-select: none;
}

.balls-mark6 .tail-ball-chip.with-zodiac,
.ball-mark6-tail {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease;
}

.balls-mark6 .tail-ball-chip:hover,
.ball-mark6-tail:hover {
  transform: scale(1.08);
}

.balls-mark6 .tail-num,
.ball-mark6-tail .tail-num {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.balls-mark6 .tail-zodiac,
.ball-mark6-tail .tail-zodiac {
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  margin-top: 1px;
  color: #fef08a;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.95);
  background: rgba(0, 0, 0, 0.45);
  padding: 0 3px;
  border-radius: 3px;
  letter-spacing: 0;
  display: block;
}

.balls-mark6 .tail-ball-wuxing,
.ball-mark6-tail-wuxing {
  font-size: 0.68rem;
  font-weight: 700;
  color: #fda4af;
  letter-spacing: 0.5px;
  line-height: 1;
  text-align: center;
}

/* 行動端 RWD 縮放 */
@media (max-width: 480px) {
  .balls-mark6 .mini-draw-ball.with-zodiac,
  .ball-mark6-official {
    width: 40px;
    height: 40px;
  }
  .balls-mark6 .mini-draw-ball.with-zodiac .ball-num,
  .ball-mark6-num {
    font-size: 1.05rem;
  }
  .balls-mark6 .gold-ball-3d,
  .ball-mark6-gold {
    width: 60px;
    height: 60px;
  }
  .balls-mark6 .gold-ball-3d .gold-num,
  .ball-mark6-gold .gold-num {
    font-size: 1.48rem;
  }
  .balls-mark6 .tail-ball-chip,
  .ball-mark6-tail {
    width: 38px;
    height: 38px;
  }
  .balls-mark6 .tail-ball-chip .tail-num,
  .ball-mark6-tail .tail-num {
    font-size: 1.02rem;
  }
}
