
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0;height:100%;background:#0e1117}
body{display:flex;align-items:center;justify-content:center;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  color:#101725;-webkit-font-smoothing:antialiased}
.device{width:360px;height:780px;background:#fff;border-radius:30px;overflow:hidden;position:relative;
  box-shadow:0 24px 70px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.06)}
.screen{position:relative;width:100%;height:100%;overflow:hidden;background:#EAF0F7;
  display:flex;flex-direction:column}
.screen>.box,.screen>.rel{flex:1 1 auto;min-height:0}
.gone{display:none!important}
.subpage{position:absolute!important;inset:0;width:100%!important;height:100%!important;
  flex:none!important;align-self:stretch!important}
.tabhost{position:relative!important}
.sv::-webkit-scrollbar{width:0;height:0}
.sv{scrollbar-width:none}
.spin{width:100%;height:100%;border-radius:50%;border:3px solid rgba(75,47,214,.22);
  border-top-color:#4B2FD6;animation:sp .9s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
input.e{font-family:inherit}
.toast{position:absolute;left:50%;bottom:118px;transform:translate(-50%,10px);background:rgba(16,23,37,.9);
  color:#fff;font-size:12.5px;line-height:1.4;padding:9px 16px;border-radius:20px;opacity:0;pointer-events:none;
  transition:.22s;max-width:270px;text-align:center;z-index:200}
.toast.show{opacity:1;transform:translate(-50%,0)}
.popup-host{position:absolute;inset:0;z-index:140;background:rgba(6,10,20,.45);display:flex;
  align-items:flex-end;justify-content:center;animation:fade .18s ease-out}
.popup-host.gone{display:none!important}
.popup-host>[data-page]{width:100%;max-height:88%;overflow:hidden;border-radius:18px 18px 0 0}
.kami-field{display:flex;gap:8px;align-self:stretch;width:auto;max-width:100%;margin:18px 0 0;box-sizing:border-box}
.kami-input{flex:1;min-width:0;height:42px;border:1px solid #d8e3f5;border-radius:10px;padding:0 12px;
  font:inherit;font-size:14px;color:#101725;background:#f6f9ff;outline:none}
.kami-input:focus{border-color:#2d7ff9;background:#fff}
.kami-act{flex:0 0 auto;height:42px;line-height:42px;padding:0 18px;border-radius:10px;
  background:#2d7ff9;color:#fff;font-size:14px;font-weight:700;cursor:pointer;user-select:none}
.overlay{position:absolute;inset:0;background:rgba(15,20,30,.30);display:flex;align-items:center;
  justify-content:center;z-index:90;animation:fade .16s ease-out}
@keyframes fade{from{opacity:0}to{opacity:1}}
.mock{width:180px;background:#fff;border-radius:14px;padding:18px;display:flex;flex-direction:column;
  align-items:center;box-shadow:0 10px 30px rgba(16,23,37,.25)}
.mock .spin{width:46px;height:46px;border-width:3px}
.mocktxt{margin-top:12px;font-size:14px;color:#17294A}
@media (max-width:430px){
  body{display:block;background:#fff}
  .device{width:100vw;height:100vh;height:100dvh;border-radius:0;box-shadow:none}
}
