*{box-sizing:border-box;margin:0;padding:0}
html,body{background:#0a1328;color:#f2f5fb;font-family:Inter,'DM Sans',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;-webkit-text-size-adjust:100%}
a{color:#ffd23f}button{font:inherit;cursor:pointer}
.shell{max-width:560px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;padding-bottom:calc(84px + env(safe-area-inset-bottom))}
.hdr{background:#0d1a36;display:flex;align-items:center;gap:12px;padding:calc(10px + env(safe-area-inset-top)) 16px 12px;border-bottom:1px solid #22345e;position:sticky;top:0;z-index:5}
.hdr img{width:46px;height:46px;border-radius:11px}
.hdr .t{font-weight:800;font-size:20px;color:#fff;line-height:1.1}.hdr .t small{display:block;font-size:14px;font-weight:700;color:#ffd23f;margin-top:3px}
.hdr .sp{flex:1}.hdr .out{background:none;border:1px solid #2a3f73;color:#d5deef;border-radius:9px;padding:6px 10px;font-size:13px;font-weight:700}
.va{background:#ffd23f;color:#0a1328;font-weight:800;padding:10px 16px;display:flex;align-items:center;gap:10px;font-size:15px}
.va button{margin-left:auto;background:#0a1328;color:#ffd23f;border:0;border-radius:8px;padding:6px 12px;font-weight:800}
main{padding:14px 14px 20px}
.stamp{font-size:14px;color:#d5deef;font-weight:600;display:flex;align-items:center;gap:7px;margin:0 0 12px;flex-wrap:wrap}
.stamp b{color:#fff}.dot{width:9px;height:9px;border-radius:50%;background:#3ddc84;flex-shrink:0}.dot.old{background:#ff9f43}
.card{background:#13224a;border:1px solid #2a3f73;border-radius:16px;padding:15px;margin-bottom:12px}
.card h3{font-size:17px;font-weight:800;color:#fff;display:flex;align-items:center;gap:8px;margin-bottom:11px}.card h3 .sp{flex:1}
.sub{color:#d5deef;font-size:14px;font-weight:600}
.bar{height:13px;background:#24376a;border-radius:7px;position:relative;margin:10px 0 6px}
.bar i{display:block;height:100%;background:linear-gradient(90deg,#3ddc84,#2bb3ff);border-radius:7px;max-width:100%}
.bar .mk{position:absolute;top:-4px;width:3px;height:21px;background:#ffd23f;border-radius:2px}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.k{background:#1b2d5c;border-radius:12px;padding:11px 12px}
.k .l{font-size:13.5px;color:#d5deef;font-weight:700}.k .v{font-size:25px;font-weight:800;color:#fff;margin-top:3px;letter-spacing:-.3px}
.k .v small{font-size:13.5px;font-weight:700;color:#d5deef}.k.wide{grid-column:1/-1}.k .v.muted{font-size:17px;color:#aebbd6}
.k.gold .v{color:#ffd23f}
.pill{display:inline-block;font-size:13px;font-weight:800;padding:4px 10px;border-radius:20px;background:#0f4d2f;color:#5ff0a0;white-space:nowrap}.pill.bad{background:#4d1a14;color:#ff9b8a}.pill.mid{background:#4a3a00;color:#ffd23f}
.sec{font-size:13px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:#ffd23f;margin:4px 0 9px}
.rv{font-size:14.5px;color:#e6ecf7;font-weight:600;background:#0f4d2f;border:1px solid #2f9e62;border-radius:10px;padding:9px 11px;margin-top:10px;line-height:1.4}.rv b{color:#fff}
.rv.warn{background:#2e2500;border-color:#ffd23f;color:#ffe48a}
.pb{height:7px;background:#24376a;border-radius:4px;margin-top:7px;overflow:hidden}.pb i{display:block;height:100%;background:#3ddc84}
.ann{display:flex;gap:12px;padding:11px 0;border-bottom:1px solid #2a3f73}.ann:last-child{border:0;padding-bottom:0}
.ann img{width:96px;height:68px;border-radius:10px;object-fit:cover;flex-shrink:0;background:#1b2d5c}
.ann b{font-size:16px;color:#fff}.ann p{font-size:14.5px;color:#d5deef;margin-top:3px;line-height:1.4;white-space:pre-wrap}
.ann .when{font-size:12.5px;color:#8fa0c4;margin-top:4px}
.so{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-bottom:1px solid #2a3f73;font-size:15px;color:#e6ecf7;line-height:1.4}.so:last-child{border:0}.so b{color:#ffd23f}
.so .ic{width:36px;height:36px;border-radius:50%;background:#3a2c00;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}
.so img{width:64px;height:48px;border-radius:8px;object-fit:cover;margin-top:6px;display:block}
.seg{display:flex;background:#13224a;border:1px solid #2a3f73;border-radius:12px;padding:3px;margin-bottom:10px}
.seg button{flex:1;text-align:center;padding:10px 0;font-weight:700;font-size:16px;color:#d5deef;border-radius:9px;border:0;background:none}
.seg button.on{background:#ffd23f;color:#0a1328;font-weight:800}
.note{font-size:14.5px;color:#ffe48a;font-weight:600;background:#2e2500;border:1.5px solid #ffd23f;border-radius:10px;padding:9px 12px;margin:4px 0 11px}
.row{display:flex;align-items:center;gap:12px;background:#13224a;border:1.5px solid #2a3f73;border-radius:16px;padding:13px 14px;margin-bottom:10px}
.row .n{width:38px;height:38px;border-radius:50%;background:#24376a;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px;flex-shrink:0;color:#fff}
.row .nm{font-weight:800;font-size:18px;color:#fff}.row .d{font-size:14px;color:#d5deef;font-weight:600;margin-top:2px}
.row .amt{margin-left:auto;font-weight:800;font-size:21px;color:#fff;text-align:right}.row .amt small{display:block;font-size:12.5px;color:#aebbd6;font-weight:700}
.row.r1{border-color:#ffd23f;background:linear-gradient(180deg,#3a2f05,#13224a)}.row.r1 .n{background:#ffd23f;color:#0a1328}.row.r1 .amt{color:#ffd23f}
.row.r2{border-color:#c9d3e6;background:linear-gradient(180deg,#2c3650,#13224a)}.row.r2 .n{background:#c9d3e6;color:#0a1328}
.row.r3{border-color:#e08a4f;background:linear-gradient(180deg,#3a2414,#13224a)}.row.r3 .n{background:#e08a4f;color:#0a1328}.row.r3 .amt{color:#f2a46e}
.row.me{box-shadow:0 0 0 3px #2bb3ff}
.row.nq{opacity:.55;border-style:dashed;background:#0f1b3b}
.tabs{position:fixed;bottom:0;left:0;right:0;height:calc(76px + env(safe-area-inset-bottom));background:#0d1a36;border-top:1px solid #22345e;display:flex;justify-content:center;padding:8px 6px env(safe-area-inset-bottom);z-index:6}
.tabs .in{display:flex;max-width:560px;width:100%}
.tabs button{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:13px;font-weight:700;color:#aebbd6;background:none;border:0}
.tabs button i{font-style:normal;font-size:23px;filter:grayscale(1);opacity:.75}
.tabs button.on{color:#ffd23f}.tabs button.on i{filter:none;opacity:1}.tabs button.on span{border-bottom:3px solid #ffd23f}
.login{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}
.login img{width:150px;height:150px;border-radius:32px;margin-bottom:18px}
.login form{width:100%;max-width:360px}
label{display:block;font-size:14px;font-weight:700;color:#d5deef;margin:12px 0 5px}
input,select,textarea{width:100%;background:#0f1b3b;border:1.5px solid #2a3f73;color:#fff;border-radius:10px;padding:12px;font-size:16px;font-family:inherit}
textarea{min-height:80px}
.btn{display:inline-block;background:#ffd23f;color:#0a1328;border:0;border-radius:11px;padding:12px 16px;font-weight:800;font-size:16px}
.btn.wide{width:100%;margin-top:16px}.btn.ghost{background:none;border:1.5px solid #5b6f9c;color:#e6ecf7}.btn.sm{padding:7px 11px;font-size:14px}.btn.red{background:#4d1a14;color:#ff9b8a}
.err{color:#ff9b8a;font-weight:700;margin-top:10px;font-size:15px}
.ok{color:#5ff0a0;font-weight:700;margin-top:10px;font-size:15px}
.alert{background:#4d1a14;border:1.5px solid #ff6b57;color:#ffd6cf;border-radius:12px;padding:11px 13px;margin-bottom:12px;font-size:15px;font-weight:600}
.alert pre{white-space:pre-wrap;font-size:13px;margin-top:6px;color:#ffb3a6;font-family:inherit}
.tl{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #2a3f73}.tl:last-child{border:0}
.tl .nm{font-weight:800;font-size:16px}.tl .d{font-size:13px;color:#aebbd6}
.rost{border-bottom:1px solid #2a3f73;padding:12px 0}.rost:last-child{border:0}
.rost .g{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rost label{margin:6px 0 3px;font-size:13px}
.rost input,.rost select{padding:9px;font-size:15px}
.flex{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.muted{color:#aebbd6}.small{font-size:13.5px}
.empty{color:#aebbd6;font-size:15px;padding:6px 0}
@media(min-width:900px){.shell{max-width:620px}}
