*{box-sizing:border-box}html,body{margin:0;height:100%;background:#0b0d12;color:#e8ecf3;font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
.app{display:flex;flex-direction:column;height:100%;padding:calc(env(safe-area-inset-top) + 12px) calc(env(safe-area-inset-right) + 16px) calc(env(safe-area-inset-bottom) + 16px) calc(env(safe-area-inset-left) + 16px)}
header{display:flex;align-items:center;gap:10px;height:44px;padding-right:48px}
header img{width:30px;height:30px}header b{font-size:18px}
#st{font-size:13px;color:#93a0b4;margin:6px 0 10px;min-height:18px}
.bar{height:4px;background:#1c2230;border-radius:4px;overflow:hidden;margin-bottom:10px;display:none}.bar i{display:block;height:100%;width:0;background:#3b82f6;transition:width .2s}
#hist{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:4px 2px}
.ln .en{color:#8d99ad;font-size:calc(var(--fs) * .62)}.ln .zh{font-size:var(--fs);font-weight:600;line-height:1.35}
.ln.last .zh{color:#fff}.ln:not(.last){opacity:.55}
.empty{margin:auto;text-align:center;color:#6b7689;font-size:15px;line-height:1.8;max-width:320px}
.ctl{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
button,select{font:inherit;border:0;border-radius:14px;min-height:48px;padding:0 16px;background:#1c2230;color:#e8ecf3}
#go{flex:1;background:#2563eb;font-weight:700;font-size:17px}#go.on{background:#dc2626}
#tab{display:none}.row{display:flex;gap:10px;margin-top:10px;align-items:center;font-size:14px;color:#93a0b4}
.row input{flex:1;accent-color:#3b82f6}
