/* yy转码 · 卡密验证门禁 */
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%}
body{
  margin:0;display:grid;place-items:center;padding:24px;
  background:#0b0f16;color:#e8eef7;
  font:15px/1.6 -apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
}
.bg{
  position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(60% 50% at 50% 0%,rgba(88,166,255,.16),transparent 70%),
    radial-gradient(50% 40% at 85% 90%,rgba(120,80,255,.14),transparent 70%);
}
.card{
  position:relative;z-index:1;width:100%;max-width:420px;
  background:linear-gradient(180deg,rgba(28,34,45,.92),rgba(17,22,30,.96));
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;padding:26px 24px 20px;
  box-shadow:0 24px 60px -20px rgba(0,0,0,.8),0 0 0 1px rgba(255,255,255,.02) inset;
  backdrop-filter:blur(12px);
}
.brand{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.logo{
  width:48px;height:48px;border-radius:14px;display:grid;place-items:center;
  font-weight:800;font-size:19px;letter-spacing:-.5px;color:#06111f;
  background:linear-gradient(145deg,#8fd0ff,#3d8bff);
  box-shadow:0 8px 22px -8px rgba(61,139,255,.9);
}
.titles h1{margin:0;font-size:20px;font-weight:800;letter-spacing:-.3px}
.titles p{margin:2px 0 0;font-size:12.5px;color:#8b98a8}

label{display:block;font-size:12.5px;color:#8b98a8;margin:0 0 7px 2px}
.field{display:flex;gap:10px}
input{
  flex:1;min-width:0;height:46px;padding:0 14px;border-radius:12px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);
  color:#fff;font-size:15px;letter-spacing:.4px;outline:none;
  transition:border-color .18s,background .18s;
}
input::placeholder{color:#5f6b7a;letter-spacing:0}
input:focus{border-color:#3d8bff;background:rgba(61,139,255,.08)}
button{
  height:46px;padding:0 22px;border:0;border-radius:12px;cursor:pointer;
  font-size:15px;font-weight:700;color:#06111f;
  background:linear-gradient(145deg,#8fd0ff,#3d8bff);
  transition:transform .12s,opacity .18s,filter .18s;
}
button:hover{filter:brightness(1.06)}
button:active{transform:scale(.97)}
button:disabled{opacity:.55;cursor:not-allowed}

.msg{min-height:20px;margin:10px 2px 0;font-size:13px;color:#ff6b6b}
.msg.info{color:#58a6ff}
.msg.ok{color:#3fb950}

.okbox{
  display:flex;gap:12px;align-items:center;margin-top:14px;padding:12px 14px;
  border-radius:12px;background:rgba(63,185,80,.1);border:1px solid rgba(63,185,80,.28);
}
.okicon{
  width:30px;height:30px;flex:0 0 30px;border-radius:50%;display:grid;place-items:center;
  background:rgba(63,185,80,.18);color:#3fb950;font-weight:800;
}
.okbox strong{font-size:14px}
.okbox p{margin:1px 0 0;font-size:12.5px;color:#9aa7b4}
.hide{display:none!important}

.tips{margin:18px 0 0;padding-top:16px;border-top:1px solid rgba(255,255,255,.06)}
.tips p{margin:0 0 6px;font-size:11.5px;color:#6b7787;line-height:1.65}
@media (max-width:420px){
  .card{padding:22px 18px 16px;border-radius:18px}
  button{padding:0 16px}
}
