/* csp-handler.css - CSP阻止提示的样式 */

/* 自定义CSP阻止提示样式 */
.csp-blocked-message {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.csp-blocked-content {
  text-align: center;
  padding: 30px;
  max-width: 400px;
}

.csp-blocked-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #dc3545;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
}

.csp-blocked-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.csp-blocked-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.csp-blocked-button {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.csp-blocked-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* 隐藏浏览器默认提示 */
iframe[src*="vip.dyttzyplay.com"] {
  position: relative;
}

iframe[src*="vip.dyttzyplay.com"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
  display: none;
}