html:not([data-gate="ok"]),
html:not([data-gate="ok"]) body {
  background: #0b0b0b !important;
}

html:not([data-gate="ok"]) body > :not(#gate) {
  display: none !important;
}

html[data-gate="ok"] #gate {
  display: none !important;
}

#gate {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  padding: 24px;
  background: #0b0b0b;
  color: #fff;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-user-select: auto;
  user-select: auto;
}

#gate form {
  width: min(100%, 320px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#gate p {
  margin: 0;
  text-align: center;
}

#gate input {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  background: #161616;
  color: #fff;
  font: inherit;
  -webkit-user-select: text;
  user-select: text;
}

#gate button {
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #56f660;
  color: #111;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

#gate [data-note] {
  min-height: 1.4em;
  color: #ff8d8d;
  font-size: 14px;
}
