:root {
  color-scheme: dark;
  background-color: #0a100c;
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-text-size-adjust: 100%;
  --ink: #f1f5e9;
  --muted: #bdc9b4;
  --edge: rgba(183, 203, 157, .34);
  --accent: #c8f135;
  --error: #ffb6a9;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #0a100c; color: var(--ink); }
h1, p { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.page {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh; min-height: 100dvh;
}
#backdrop {
  position: fixed; inset: 0; overflow: hidden; display: flex; justify-content: space-around;
  pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse at 90% 0, #223221, transparent 60%), #0a100c;
}
.rain-column {
  position: relative; flex: 0 1 var(--strip-width); top: calc(0px - var(--period)); height: calc(100% + var(--period));
  background-size: var(--strip-width) var(--period); background-position-x: center; background-repeat: repeat-y;
  animation: grade-fall var(--fall-time) linear infinite;
}
#backdrop.page-hidden .rain-column { animation-play-state: paused; }
@keyframes grade-fall { from { transform: translateY(0); } to { transform: translateY(var(--period)); } }
@media (max-width: 639px) { .rain-column:nth-child(n + 9) { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .rain-column { animation-duration: calc(var(--fall-time) * 2); }
}
.head {
  display: flex; align-items: center;
  --head-top: 8px; --head-side: 18px;
  padding: var(--head-top) var(--head-side) 12px;
  padding-top: max(var(--head-top), env(safe-area-inset-top, 0px));
  padding-left: max(var(--head-side), env(safe-area-inset-left, 0px));
  padding-right: max(var(--head-side), env(safe-area-inset-right, 0px));
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 720; letter-spacing: -.04em; white-space: nowrap; }
.brand i { display: inline-block; width: 26px; height: 26px; position: relative; background: var(--accent); color: #162004; border-radius: 7px; }
.brand i::before { content: ""; position: absolute; inset: 6px 7px 8px 6px; border: 2px solid currentColor; border-radius: 50%; }
.brand i::after { content: ""; position: absolute; width: 7px; height: 2px; background: currentColor; left: 15px; top: 17px; transform: rotate(43deg); border-radius: 1px; }
.stage {
  flex: 1; display: grid; place-items: center;
  padding: 24px 16px 32px;
  padding: 24px max(16px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.entry {
  width: min(100%, 402px); padding: 26px 22px 24px; border: 1px solid rgba(187, 213, 146, .32); border-radius: 21px;
  background: linear-gradient(128deg, rgba(42, 54, 38, .77), rgba(17, 27, 18, .70) 55%, rgba(27, 39, 26, .72));
  box-shadow: inset 0 1px 0 rgba(229, 248, 198, .08), 0 10px 28px rgba(0, 0, 0, .20);

}
h1 { font-size: clamp(31px, 8.6vw, 38px); line-height: 1.2; font-weight: 670; letter-spacing: -.045em; }
.intro { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }
form { margin-top: 22px; }
label { display: block; margin: 0 0 7px; font-size: 14px; font-weight: 610; line-height: 1.5; }
.input-box + label { margin-top: 15px; }
.input-box { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 14px; border: 1px solid var(--edge); border-radius: 12px; background: rgba(14, 24, 17, .84); }
.input-box:focus-within { outline: 2px solid #a9cc4c; outline-offset: 1px; }
.input-box:has([aria-invalid="true"]) { border-color: var(--error); }
input { min-width: 0; flex: 1; height: 100%; padding: 0; background: transparent; border: 0; outline: 0; font-size: 16px; }
input::placeholder { color: #b3bfaa; opacity: 1; }
.reveal { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; margin-right: -6px; padding: 0; background: transparent; border: 0; color: var(--muted); }
input[type="password"] + .reveal .eye-open,
input[type="text"] + .reveal .eye-closed { display: none; }
.feedback, noscript p { color: var(--error); font-size: 13px; line-height: 1.6; }
.feedback:not(:empty), noscript p { margin-top: 9px; }
.action { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 51px; margin-top: 17px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--accent); color: #172105; font-weight: 680; font-size: 16px; }
.action:disabled { opacity: .72; }
.arrow { position: relative; display: block; width: 21px; height: 2px; background: currentColor; margin-right: 2px; }
.arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); }
@media (max-width: 350px), (max-height: 630px) {
  .head { --head-side: 14px; }
  .stage { padding: 12px max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
  .entry { padding: 20px 17px 18px; }
  form { margin-top: 16px; }
}
@media (min-width: 600px) {
  .head { --head-side: 32px; padding-bottom: 14px; }
  .entry { padding: 31px 28px 29px; }
}
@media (min-width: 600px) and (min-height: 630px) { .head { --head-top: 26px; } }
@media (prefers-reduced-transparency: reduce) { .entry { background: #1c261b; -webkit-backdrop-filter: none; backdrop-filter: none; } }
