/* 시작 화면 */
#gate {
  position: fixed;
  inset: 0;
  background: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#gate.on { display: flex; }
.gatebox { width: 100%; max-width: 320px; text-align: center; }
.gatebox h1 { margin: 0; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.gatelead { margin: 8px 0 32px; font-size: 15px; color: var(--sec); }
.gatebox button {
  display: block;
  width: 100%;
  min-height: 50px;
  margin-bottom: 10px;
  background: var(--fill);
  color: var(--ink);
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
}
.gatebox button.primary { background: var(--ink); color: #fff; }
.gatebox button:disabled { background: var(--fill); color: var(--faint); }
.gatenote { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--ter); }

/* 시작 화면의 로그인 */
#loginform { margin: 0; }
#loginform input {
  display: block;
  width: 100%;
  min-height: 50px;
  margin-bottom: 10px;
  padding: 0 14px;
  background: var(--fill);
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
#loginform input:focus { background: #fff; border-color: var(--ink); outline: none; }
#loginform input::placeholder { color: var(--ter); }
.gatestatus { margin: 0; font-size: 13px; line-height: 1.5; color: var(--sec); min-height: 20px; }
#go-guest { margin-top: 14px; }

/* 새 계정 확인 박스 */
.confirmbox {
  display: none;
  margin-bottom: 10px;
  padding: 14px;
  background: var(--band);
  border: 1px solid var(--sep);
  border-radius: 12px;
  text-align: left;
}
.confirmbox.on { display: block; }
.confirmbox p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.confirmrow { display: flex; gap: 8px; }
.confirmrow button { margin: 0; min-height: 42px; font-size: 15px; }
