:root {
  color-scheme: dark;
  --text: #f7f8fc;
  --muted: rgba(226, 232, 244, 0.72);
  --line: rgba(196, 214, 255, 0.24);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 48% 64%, rgba(255, 112, 48, 0.12), transparent 22rem),
    linear-gradient(180deg, rgba(3, 4, 9, 0.08), rgba(3, 4, 9, 0.84)),
    url("./shanshui-line-bg.svg") center top / cover fixed no-repeat,
    url("https://www.yanxiangjun.cn/metal-aurora-bg.png") center top / cover fixed no-repeat,
    #05060a;
}

.access-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.access-panel {
  width: min(460px, 100%);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(2, 5, 12, 0.58);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.access-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  letter-spacing: 0;
}

label {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(21px, 5vw, 30px);
  font-weight: 700;
  line-height: 1.35;
}

.access-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input,
button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  outline: none;
}

input {
  width: 100%;
  padding: 8px 12px;
  background: rgba(3, 6, 14, 0.72);
}

button {
  padding: 8px 18px;
  background: rgba(42, 82, 140, 0.72);
  cursor: pointer;
  font-weight: 700;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.access-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
}

@media (max-width: 520px) {
  .access-row {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }
}
