.tk-chrome-guard-active {
  margin: 0 !important;
  min-height: 100vh;
  overflow: hidden !important;
  background: #f4f7fb !important;
}

.tk-chrome-guard-active > *:not(.tk-chrome-guard) {
  display: none !important;
}

.tk-chrome-guard {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 100vh;
  padding: 28px;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #172033;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 111, 0, .18), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(24, 119, 242, .13), transparent 28%),
    linear-gradient(135deg, #f7fafc 0%, #eef3f9 100%);
}

.tk-chrome-guard__panel {
  width: min(760px, 100%);
  border: 1px solid rgba(140, 153, 174, .22);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 70px rgba(21, 32, 54, .16);
  overflow: hidden;
}

.tk-chrome-guard__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid #edf1f6;
}

.tk-chrome-guard__logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: none;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(255, 106, 0, .22);
}

.tk-chrome-guard__brand {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.2;
  color: #6b7482;
}

.tk-chrome-guard__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0;
}

.tk-chrome-guard__body {
  padding: 22px 26px 26px;
}

.tk-chrome-guard__detected {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #fff4ed;
  color: #b64800;
  font-size: 13px;
  font-weight: 700;
}

.tk-chrome-guard__message {
  margin: 0 0 18px;
  color: #334155;
  font-size: 16px;
  line-height: 1.72;
}

.tk-chrome-guard__actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 14px;
}

.tk-chrome-guard__btn {
  min-height: 48px;
  border: 1px solid #dde5ef;
  border-radius: 10px;
  background: #fff;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.tk-chrome-guard__btn:hover {
  transform: translateY(-1px);
  border-color: #b9c8dc;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
}

.tk-chrome-guard__btn--primary {
  border-color: #1565d8;
  background: #1565d8;
  color: #fff;
}

.tk-chrome-guard__tip {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.tk-chrome-guard__url {
  margin-top: 14px;
  padding: 11px 12px;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-all;
}

@media (max-width: 680px) {
  .tk-chrome-guard {
    padding: 16px;
    align-items: stretch;
  }

  .tk-chrome-guard__panel {
    margin: auto 0;
    border-radius: 14px;
  }

  .tk-chrome-guard__head,
  .tk-chrome-guard__body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .tk-chrome-guard__title {
    font-size: 21px;
  }

  .tk-chrome-guard__message {
    font-size: 15px;
  }

  .tk-chrome-guard__actions {
    grid-template-columns: 1fr;
  }
}
