#offline-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
}

#offline-demo-modal .odm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

#offline-demo-modal .odm-content {
  position: relative;
  width: 95%;
  max-width: 1300px;
  height: 90vh;
  background: #0f1923;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #ffd700;
  display: flex;
  flex-direction: column;
}

#offline-demo-modal .odm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #1a2332;
  border-bottom: 1px solid #2d3a4f;
}

#offline-demo-modal .odm-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin: 0;
  font-size: 16px;
}

#offline-demo-modal .odm-badge {
  background: #ffd700;
  color: #000;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
}

#offline-demo-modal .odm-close {
  background: #ff4444;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

#offline-demo-modal .odm-frame-wrap {
  flex: 1;
  min-height: 0;
}

#offline-demo-modal .odm-blocked-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #101722;
}

#offline-demo-modal .odm-blocked-msg {
  text-align: center;
  color: #dbe7ff;
}

#offline-demo-modal .odm-blocked-msg p {
  margin: 8px 0;
}

#offline-demo-modal .odm-open-new {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  background: #ffd700;
  color: #000;
}

#offline-demo-modal .odm-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

#offline-demo-modal .odm-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #1a2332;
  border-top: 1px solid #2d3a4f;
}

#offline-demo-modal .odm-footer p {
  color: #b7c2d9;
  margin: 0;
  font-size: 13px;
}

#offline-demo-modal .odm-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  background: #ffd700;
  color: #000;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 720px) {
  #offline-demo-modal .odm-content { height: 94vh; width: 98%; }
  #offline-demo-modal .odm-title { font-size: 14px; }
  #offline-demo-modal .odm-footer { flex-direction: column; align-items: flex-start; }
}
