:root{
  --bg:#08142b;
  --card:#132241;
  --line:#35548f;
  --text:#f5f7ff;
  --muted:#b9c7ef;
  --btn:#7ea5ef;
  --btnText:#06122a;
  --ok:#7ee3a1;
  --err:#ff9b9b;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background:linear-gradient(90deg,#020a1b 0%, #05163a 100%);
  color:var(--text);
}
.wrap{
  min-height:100vh;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:28px 14px;
}
.card{
  width:100%;
  max-width:620px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:24px;
  padding:28px;
  box-shadow:0 0 34px rgba(0,0,0,.35);
}
.badge{
  display:inline-block;
  border:1px solid #6288d8;
  color:#d7e5ff;
  background:#2a447d;
  border-radius:999px;
  padding:10px 16px;
  font-weight:700;
  margin-bottom:14px;
}
h1{
  font-size:52px;
  line-height:1.05;
  margin:6px 0 8px;
}
.sub{
  color:var(--muted);
  margin:0 0 18px;
  font-size:18px;
}
.panel{
  border:1px dashed #4569ab;
  border-radius:18px;
  padding:18px;
  margin-top:16px;
  background:rgba(255,255,255,0.02);
}
h2{
  margin:0 0 14px;
  font-size:22px;
}
label{
  display:block;
  margin:12px 0 6px;
  color:var(--muted);
}
input, button{
  width:100%;
  border-radius:14px;
  border:1px solid #35548f;
  padding:14px 16px;
  font-size:18px;
}
input{
  background:#0d1a39;
  color:var(--text);
}
button{
  margin-top:12px;
  background:var(--btn);
  color:var(--btnText);
  font-weight:700;
  cursor:pointer;
}
.row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.result{
  margin-top:12px;
  min-height:28px;
  white-space:pre-wrap;
  word-break:break-word;
  color:#ffe0e0;
}
.ok{color:var(--ok)}
.err{color:var(--err)}
.checklist{
  color:var(--muted);
  line-height:1.8;
}
@media (max-width:640px){
  h1{font-size:42px}
  .row{grid-template-columns:1fr}
}