:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f6f8fb;color:#172338;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #81a9f0;outline-offset:2px}.shell{max-width:1180px;margin:0 auto;padding:0 24px}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:100px;border-bottom:1px solid #e1e6ef;gap:16px}.brand{display:flex;align-items:center;gap:13px}.brand-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;color:#fff;background:#203552;font-size:26px}.eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:1.8px;color:#64748b}h1{margin:3px 0 0;font-size:20px;letter-spacing:-.6px}h2,h3,h4,p{margin-top:0}.top-actions{display:flex;align-items:center;gap:12px}.status{font-size:12px;font-weight:700;padding:9px 12px;border-radius:999px}.status.local{background:#fff1d9;color:#9b6513}.status.online{background:#dcfce7;color:#166534}.status.error{background:#fee2e2;color:#a52c2c}.primary,.secondary,.danger-outline{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;font-weight:700;padding:12px 18px;min-height:42px;border:1px solid transparent;white-space:nowrap}.primary{background:#253d60;color:#fff}.primary:hover{background:#182e4d}.secondary{color:#334966;background:white;border-color:#dbe2ea}.secondary:hover{background:#edf3fa}.danger-outline{color:#a83232;border-color:#f5b3b3;background:#fff}.compact{padding:9px 13px;min-height:35px;font-size:12px}.intro{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:42px 0 26px}.intro h2{font-size:27px;letter-spacing:-.8px;margin-bottom:8px}.intro p{color:#6d7b8d;font-size:14px;line-height:1.55;max-width:590px;margin:0}.notice{padding:12px 16px;background:#fffbeb;color:#92400e;border:1px solid #f4dfae;border-radius:10px;font-size:13px;margin:0 0 22px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stat{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:22px;box-shadow:0 2px 4px #15203305}.stat small{display:block;color:#7a8a9c;font-size:11px;font-weight:800;letter-spacing:.8px}.stat strong{display:block;font-size:26px;letter-spacing:-.8px;margin-top:12px}.list-heading{display:flex;justify-content:space-between;align-items:center;margin:33px 0 18px}.list-heading h3{font-size:18px;margin-bottom:4px}.list-heading p{font-size:13px;color:#7b8898;margin:0}.view-tools{display:flex;gap:8px}.upload-label{cursor:pointer}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.char-card{background:#fff;border:1px solid #e2e8f0;border-radius:15px;padding:20px;box-shadow:0 2px 7px #26395807;min-width:0}.card-top{display:flex;align-items:center;gap:12px;margin-bottom:26px}.avatar{width:58px;height:58px;flex:none;border-radius:13px;background:#edf1f7;display:grid;place-items:center;color:#546c88;font-size:23px;font-weight:700;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.identity{min-width:0;flex:1}.identity h4{font-size:16px;overflow-wrap:anywhere;margin-bottom:5px}.subtext{font-size:10px;letter-spacing:1px;color:#8290a0;font-weight:800}.iconbtn{border:0;background:transparent;color:#6a7890;font-size:20px;padding:6px;border-radius:8px}.iconbtn:hover{background:#f2f5fa}.health-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#657489;font-size:12px;margin-bottom:11px}.hp-amount{font-weight:800;color:#2b3f56;font-size:14px}.hp-track{height:13px;background:#e9edf2;border-radius:100px;overflow:hidden}.hp-fill{height:100%;background:#38a58a;border-radius:100px;transition:width .18s}.hp-fill.mid{background:#e7a13b}.hp-fill.low{background:#d95664}.health-controls{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:15px 0 18px}.quick{padding:9px 2px;border:1px solid #e4eaf0;border-radius:8px;color:#52657f;background:#f9fbfd;font-weight:700;font-size:12px}.quick:hover{background:#eef3f9}.card-bottom{display:flex;justify-content:space-between;border-top:1px solid #edf1f4;padding-top:15px;align-items:center}.ac-label{font-size:12px;color:#7e8a99}.ac-value{font-size:17px}.empty{text-align:center;padding:55px;background:#fff;border:1px dashed #becbd9;border-radius:15px}.empty-symbol{font-size:40px;color:#7083a1}.empty h3{margin-bottom:5px}.empty p{color:#718096}.dialog{border:0;padding:0;border-radius:18px;max-width:520px;width:calc(100% - 32px);box-shadow:0 25px 80px #17203355}.dialog::backdrop{background:#0b142783}.dialog-inner{padding:24px}.dialog-head{display:flex;align-items:start;justify-content:space-between;margin-bottom:24px}.dialog-head h2{margin:6px 0 0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:flex;flex-direction:column;gap:7px;font-weight:700;font-size:13px;color:#36475e}.field.wide{grid-column:1/-1}.field input{border:1px solid #d9e1e8;border-radius:9px;padding:12px;color:#283c56;background:#fff;width:100%;min-width:0}.field input[type=file]{padding:10px}.helper{font-weight:400;font-size:12px;line-height:1.5;color:#8290a1}.warning{color:#ac6d24;margin-top:18px}.portrait-preview img{width:70px;height:70px;border-radius:12px;object-fit:cover;margin-top:15px}.dialog-actions{display:flex;align-items:center;gap:9px;margin-top:26px}.spacer{flex:1}.dialog p{font-size:14px;color:#68788c;line-height:1.6}footer{text-align:center;color:#8b98a9;padding:40px 0;font-size:12px}@media(max-width:900px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.shell{padding:0 14px}.topbar{min-height:85px}.top-actions{gap:6px}.brand-icon{width:38px;height:38px}.brand h1{font-size:17px}.status{font-size:10px;padding:7px}.intro{align-items:stretch;flex-direction:column;padding:29px 0 22px;gap:18px}.intro h2{font-size:23px}.intro .primary{width:100%}.stats{gap:8px}.stat{padding:14px 11px}.stat small{font-size:9px}.stat strong{font-size:19px}.cards{grid-template-columns:1fr}.list-heading{align-items:start;gap:10px}.view-tools{flex-direction:column}.dialog-inner{padding:20px}.form-grid{gap:12px}.dialog-actions{flex-wrap:wrap}.dialog-actions .primary{flex:1}}
