/* ---------- 访问口令页 ---------- */
html.skb-locked body {
  overflow: hidden;
}

html.skb-locked body > *:not(#skb-gate) {
  display: none !important;
}

html.skb-unlocked #skb-gate {
  display: none;
}

.skb-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #f6f7f9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.skb-gate-card {
  width: 100%;
  max-width: 440px;
  padding: 36px 36px 28px;
  background: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(24, 32, 44, 0.08);
}

.skb-eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a929d;
}

.skb-gate-card h1 {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.3;
  color: #18202c;
}

.skb-gate-sub {
  margin: 0 0 26px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #6b7480;
}

.skb-gate-card label {
  display: block;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: #6b7480;
}

.skb-gate-row {
  display: flex;
  gap: 10px;
}

.skb-gate-row input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 13px;
  font-family: inherit;
  font-size: 14px;
  color: #18202c;
  background: #f4f5f6;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  outline: none;
}

.skb-gate-row input:focus {
  border-color: #2f6fed;
  background: #ffffff;
}

.skb-gate-row button {
  height: 42px;
  padding: 0 20px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: #ffffff;
  background: #2f6fed;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.skb-gate-row button:hover {
  opacity: 0.9;
}

.skb-gate-row button:disabled {
  opacity: 0.6;
  cursor: default;
}

.skb-gate-error {
  min-height: 18px;
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #c0392b;
}

.skb-gate-note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid #eef0f3;
  font-size: 11.5px;
  line-height: 1.7;
  color: #8a929d;
}
