/* 直播按鈕 */
.btn-live-stream {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(239,68,68,0.25);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-live-stream:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(239,68,68,0.40);
}
.btn-live-stream.locked {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
  box-shadow: none;
}
.btn-live-stream.locked:hover {
  background: rgba(255,255,255,0.12);
}
.btn-live-stream .live-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}

/* 解鎖 modal */
.live-modal-overlay {
  position: fixed; inset: 0; z-index: 11500;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; transition: opacity 0.25s ease;
}
.live-modal-overlay.open { opacity: 1; }
.live-modal-card {
  max-width: 440px; width: 100%;
  background: linear-gradient(180deg, #1a1f3a 0%, #0e1226 100%);
  border: 1px solid rgba(244,196,48,0.40);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 36px rgba(244,196,48,0.12);
  padding: 24px 22px 20px;
  color: #fff;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.live-modal-overlay.open .live-modal-card {
  transform: translateY(0) scale(1);
}
.live-modal-close {
  position: absolute; top: 10px; right: 12px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50%;
  color: #ddd; font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.live-modal-title {
  font-size: 19px; font-weight: 900;
  color: #FFD54F;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.live-cond {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: background 0.2s, border-color 0.2s;
}
.live-cond.pass {
  background: rgba(76,175,80,0.10);
  border-color: rgba(76,175,80,0.40);
}
.live-cond-icon {
  font-size: 24px; line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.live-cond-body { flex: 1; min-width: 0; }
.live-cond-title {
  font-size: 14.5px; font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.live-cond.pass .live-cond-title { color: #81c784; }
.live-cond-progress {
  font-size: 12.5px; color: rgba(255,255,255,0.78);
  margin-bottom: 2px;
}
.live-cond-progress b {
  color: #FFD54F; font-size: 13.5px;
}
.live-cond.pass .live-cond-progress b { color: #81c784; }
.live-cond-cta {
  font-size: 11px; color: rgba(255,255,255,0.50);
  letter-spacing: 0.2px;
}

.live-modal-btn {
  flex: 1;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.2s;
  font-family: inherit;
}
.live-modal-btn-primary {
  background: linear-gradient(135deg, #FFD54F, #d9a829);
  color: #1a1a1a;
  box-shadow: 0 4px 14px rgba(244,196,48,0.30);
}
.live-modal-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(244,196,48,0.40);
}
.live-modal-btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.live-modal-btn-secondary:hover {
  background: rgba(255,255,255,0.14);
}

/* hub header 右上角圓形直播按鈕（不占版面）*/
.mt-hub-header { position: relative; }
.mt-hub-live-icon {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 10;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  border: 2px solid rgba(255,255,255,0.20);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(239,68,68,0.45), 0 0 0 0 rgba(239,68,68,0.50);
  animation: liveBtnGlow 2.4s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s;
}
.mt-hub-live-icon:hover { transform: scale(1.08); }
.mt-hub-live-icon:active { transform: scale(0.95); }
.mt-hub-live-pulse {
  position: absolute;
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  top: 8px; right: 8px;
  animation: livePulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(255,255,255,0.85);
}
@keyframes liveBtnGlow {
  0%, 100% { box-shadow: 0 4px 14px rgba(239,68,68,0.45), 0 0 0 0 rgba(239,68,68,0.50); }
  50%      { box-shadow: 0 4px 18px rgba(239,68,68,0.55), 0 0 0 10px rgba(239,68,68,0); }
}

/* ── Lv 4+ 球場大螢幕（插在草地上、像真實球場記分板）── */
.mt-home-jumbotron {
  position: absolute;
  bottom: 14px; left: 8%;
  width: 130px; height: 96px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 999;
  display: flex; flex-direction: column; align-items: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s;
}
.mt-home-jumbotron:hover { transform: translateY(-3px); }
.mt-home-jumbotron:active { transform: scale(0.97); }
/* 螢幕本體（黑底紅光、兩行排版）*/
.mt-jumbotron-screen {
  position: relative;
  width: 100%; height: 62px;
  background: linear-gradient(180deg, #0d0d12 0%, #1a1a25 100%);
  border: 3px solid #3a3a4a;
  border-radius: 7px;
  box-shadow:
    inset 0 0 14px rgba(239,68,68,0.40),
    0 5px 16px rgba(0,0,0,0.60),
    0 0 0 0 rgba(239,68,68,0.55);
  animation: jumbotronGlow 2.2s ease-in-out infinite;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1px;
  padding: 4px 2px;
}
/* 第一行：紅點 + 世界盃 */
.mt-jumbotron-row-top {
  display: flex; align-items: center; gap: 5px;
}
.mt-jumbotron-text-top,
.mt-jumbotron-text-bottom {
  color: #fff;
  font-weight: 900;
  font-family: 'Arial Black', 'Noto Sans TC', sans-serif;
  text-shadow:
    0 0 8px rgba(239,68,68,0.95),
    0 0 14px rgba(239,68,68,0.55),
    0 2px 3px rgba(0,0,0,0.8);
  line-height: 1;
}
.mt-jumbotron-text-top    { font-size: 14px; letter-spacing: 0.5px; }
.mt-jumbotron-text-bottom { font-size: 17px; letter-spacing: 4px; }
@keyframes jumbotronGlow {
  0%, 100% {
    box-shadow: inset 0 0 10px rgba(239,68,68,0.35), 0 4px 12px rgba(0,0,0,0.55), 0 0 0 0 rgba(239,68,68,0.55);
  }
  50% {
    box-shadow: inset 0 0 18px rgba(239,68,68,0.55), 0 4px 16px rgba(0,0,0,0.5), 0 0 0 8px rgba(239,68,68,0);
  }
}
/* 紅色 REC 圓點 */
.mt-jumbotron-rec-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444, 0 0 14px rgba(239,68,68,0.8);
  animation: jumbotronDot 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes jumbotronDot {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}
/* LIVE 字（紅光暈、好看清）*/
.mt-jumbotron-label {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  text-shadow:
    0 0 10px rgba(239,68,68,0.95),
    0 0 18px rgba(239,68,68,0.55),
    0 2px 3px rgba(0,0,0,0.8);
  font-family: 'Arial Black', 'Noto Sans TC', sans-serif;
}
/* 兩根支柱（金屬桿子）*/
.mt-jumbotron-pole-l,
.mt-jumbotron-pole-r {
  position: absolute;
  bottom: 0;
  width: 4px; height: 36px;
  background: linear-gradient(90deg, #7a7a8a, #c0c0d0, #7a7a8a);
  border-radius: 1px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.mt-jumbotron-pole-l { left: 22px; }
.mt-jumbotron-pole-r { right: 22px; }
