/* ========================================================
   加州天天樂 專屬號碼球樣式庫（實體隔離 · 僅供天天樂頁面調用）
   路徑: static/balls_daily/ball_daily.css
   炫彩紫晶·晨間金陽主題 · 2026 丙午歲次生肖 (01~39) · 晨間巳時氣運
   ======================================================== */

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

/* 天天樂 官方開獎號碼球（球內雕刻生肖） */
.balls-daily .mini-draw-ball.with-zodiac,
.ball-daily-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.7);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45), 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-daily .mini-draw-ball.with-zodiac:hover,
.ball-daily-official:hover {
  transform: scale(1.08);
}

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

.balls-daily .ball-zodiac,
.ball-daily-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.35);
  padding: 0px 3px;
  border-radius: 3px;
  letter-spacing: 0;
  display: block;
}

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

/* 天天樂 核心三中一金光號碼球單元 */
.balls-daily .gold-ball-cell,
.ball-daily-gold-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  user-select: none;
  margin: 6px 0 8px;
}

.balls-daily .gold-ball-3d.with-zodiac,
.ball-daily-gold {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #f3e8ff 22%, #a855f7 60%, #581c87 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(168, 85, 247, 0.65), inset -2px -2px 6px rgba(88, 28, 135, 0.6);
  border: 2px solid #e9d5ff;
  margin: 0;
  letter-spacing: -0.5px;
  transition: transform 0.25s ease;
}

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

.balls-daily .gold-num,
.ball-daily-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.8);
}

.balls-daily .gold-zodiac,
.ball-daily-gold .gold-zodiac {
  font-size: 11px;
  font-weight: 900;
  color: #fef08a;
  background: rgba(0, 0, 0, 0.45);
  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-daily .ball-wuxing-tag.gold-wuxing,
.ball-daily-gold-wuxing {
  font-size: 0.68rem;
  font-weight: 800;
  color: #e9d5ff;
  letter-spacing: 0.5px;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 6px rgba(168, 85, 247, 0.4);
}

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

.balls-daily .fire-ball-3d.with-zodiac,
.ball-daily-fire {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffedd5 0%, #fb923c 38%, #ea580c 70%, #9a3412 100%);
  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-daily .repeat-ball-card:hover .fire-ball-3d,
.ball-daily-fire:hover {
  transform: scale(1.08) rotate(3deg);
}

.balls-daily .fire-num,
.ball-daily-fire .fire-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: -0.5px;
}

.balls-daily .fire-zodiac,
.ball-daily-fire .fire-zodiac {
  font-size: 10px;
  font-weight: 900;
  color: #fed7aa;
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 4px;
  border-radius: 3px;
  margin-top: 2px;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.balls-daily .ball-wuxing-tag.fire-wuxing,
.ball-daily-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(249, 115, 22, 0.4);
}

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

.balls-daily .tail-ball-chip.with-zodiac,
.ball-daily-tail {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fca5a5 0%, #ef4444 42%, #991b1b 100%);
  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), inset 0 -2px 4px rgba(0, 0, 0, 0.35);
  border: 1.5px solid #fca5a5;
  transition: transform 0.2s ease;
}

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

.balls-daily .tail-num,
.ball-daily-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-daily .tail-zodiac,
.ball-daily-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.4);
  padding: 0 3px;
  border-radius: 3px;
  letter-spacing: 0;
  display: block;
}

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

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