/* Frostgem Betting Panel — theatre overlay only */

#theatre-overlay .frost-bet-panel {
  width: 80%;
  max-width: 1280px;
  margin: 10px auto 0;
  padding: 16px 16px 14px;
  border-radius: 14px;
  background: rgba(5, 15, 25, 0.88);
  border: 1px solid rgba(120, 180, 255, 0.35);
  box-shadow: 0 12px 30px rgba(0,0,0,0.65), inset 0 0 30px rgba(120, 180, 255, 0.06);
  color: #d4ecff;
  backdrop-filter: blur(10px);
}

#theatre-overlay .fb-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

#theatre-overlay .fb-top h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: 1px;
  color: #d4ecff;
  text-transform: uppercase;
}

#theatre-overlay .fb-sub {
  font-size: 12px;
  color: rgba(212, 236, 255, 0.75);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

#theatre-overlay .fb-round {
  font-size: 12px;
  color: rgba(212, 236, 255, 0.85);
  margin-top: 2px;
}

#theatre-overlay .fb-user-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
}

#theatre-overlay .fb-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(120, 180, 255, 0.45);
  background: rgba(0,0,0,0.2);
  object-fit: cover;
}

#theatre-overlay .fb-user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 160px;
}

#theatre-overlay .fb-username {
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
}

#theatre-overlay .fb-balance-box {
  margin-left: auto;
  text-align: right;
  padding-left: 10px;
  border-left: 1px solid rgba(255,255,255,0.08);
}

#theatre-overlay .fb-balance-box span {
  display: block;
  font-size: 11px;
  opacity: 0.8;
}

#theatre-overlay .fb-balance-box strong {
  font-size: 18px;
  letter-spacing: 0.5px;
  color: #78b4ff;
}

#theatre-overlay .fb-bet-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  gap: 10px;
  margin: 12px 0 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.08);
}

#theatre-overlay .fb-team {
  text-align: center;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 8px;
  border-radius: 10px;
}

#theatre-overlay .fb-blue {
  color: #cfe9ff;
  background: rgba(91, 155, 213, 0.18);
  border: 1px solid rgba(91, 155, 213, 0.35);
}

#theatre-overlay .fb-red {
  color: #ffe0e0;
  background: rgba(232, 64, 87, 0.18);
  border: 1px solid rgba(232, 64, 87, 0.35);
}

#theatre-overlay .fb-vs {
  text-align: center;
  font-weight: 900;
  opacity: 0.85;
}

#theatre-overlay .fb-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

#theatre-overlay .fb-controls label {
  font-size: 13px;
  opacity: 0.9;
}

#theatre-overlay .fb-controls input {
  width: 140px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(120, 180, 255, 0.25);
  background: rgba(0,0,0,0.25);
  color: #d4ecff;
  outline: none;
}

#theatre-overlay .fb-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

#theatre-overlay .fb-btn {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  color: #d4ecff;
  transition: transform 0.12s ease, opacity 0.2s ease;
}

#theatre-overlay .fb-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#theatre-overlay .fb-btn:hover {
  transform: translateY(-1px);
}

#theatre-overlay .fb-btn-secondary {
  background: rgba(120, 180, 255, 0.12);
  border-color: rgba(120, 180, 255, 0.28);
}

#theatre-overlay .fb-btn-blue {
  background: rgba(91, 155, 213, 0.22);
  border-color: rgba(91, 155, 213, 0.40);
}

#theatre-overlay .fb-btn-red {
  background: rgba(232, 64, 87, 0.22);
  border-color: rgba(232, 64, 87, 0.40);
}

#theatre-overlay .fb-status {
  font-size: 12px;
  opacity: 0.9;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 900px) {
  #theatre-overlay .frost-bet-panel { width: 94%; }
  #theatre-overlay .fb-bet-row { grid-template-columns: 1fr 56px 1fr; }
  #theatre-overlay .fb-user-meta { min-width: 120px; }
}
