/* 勿用 inset / flex 做全屏——旧 Edge（EdgeHTML 18/44）不支持，会缩成左上角小框 */
html.dm720-legacy-browser-active,
html.dm720-legacy-browser-active body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#dm720-browser-unsupported {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2147483646;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px;
  box-sizing: border-box;
  background: #1a1030;
  background: linear-gradient(160deg, #1a1030 0%, #0d0d12 55%, #12121a 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #f2f2f7;
  text-align: center;
}

#dm720-browser-unsupported::before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

#dm720-browser-unsupported .dm720-legacy-card {
  display: inline-block;
  vertical-align: middle;
  text-align: left;
  max-width: 520px;
  width: 90%;
  padding: 32px 28px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

#dm720-browser-unsupported .dm720-legacy-brand {
  font-size: 28px;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 16px;
}

#dm720-browser-unsupported .dm720-legacy-brand span:first-child {
  color: #a855f7;
}

#dm720-browser-unsupported h1 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
}

#dm720-browser-unsupported .dm720-legacy-detected {
  margin: 0 0 12px;
  font-size: 14px;
  color: #c4b5fd;
}

#dm720-browser-unsupported .dm720-legacy-hint {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: #d1d5db;
}

#dm720-browser-unsupported .dm720-legacy-actions a {
  display: inline-block;
  margin: 0 12px 12px 0;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: #7c3aed;
}

#dm720-browser-unsupported .dm720-legacy-actions a.secondary {
  background: rgba(255, 255, 255, 0.12);
}
