*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;color:#f7f2f5;background:radial-gradient(ellipse at 50% -10%,#49182d,#09090e 65%);font:15px system-ui,-apple-system,Segoe UI,sans-serif}.mast{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #6c455b;padding:18px max(18px,calc((100vw - 1160px)/2));background:#0d0a12}.logo{color:#fff;text-decoration:none;font-weight:1000;letter-spacing:.08em}.logo em{color:#ff5275;font-size:12px;font-style:normal}.tag,.kicker{letter-spacing:.14em;font-size:10px;font-weight:900;color:#a5f0d4}.tag{color:#c9acb8}.layout{max-width:1180px;padding:20px 18px 44px;margin:auto}.hero{margin:20px 0 24px}.hero h1{letter-spacing:-.06em;font-size:clamp(35px,6.6vw,70px);line-height:1;margin:10px 0}.hero h1 span{color:#ff5176}.hero p{max-width:760px;color:#c9bac9;line-height:1.6}.status{border:1px solid #3e5e50;border-radius:9px;background:#12221c;padding:12px;margin-top:20px;font-size:13px;color:#a8f0d5;min-height:44px}.status.error{border-color:#855361;color:#ffabbb;background:#2e1821}.tabs{display:flex;gap:7px;border-bottom:1px solid #544357;overflow-x:auto;padding-bottom:10px}.tabs button{border:1px solid #5c475a;white-space:nowrap;background:#17131e;color:#d8c6d1;border-radius:10px;padding:13px;font-weight:900;cursor:pointer;font-size:11px}.tabs button.active{background:#ff4d72;color:#fff;border-color:#ff4d72}.panel{display:none;padding:24px 0}.panel.active{display:block}.section-head{display:flex;gap:16px;align-items:start;justify-content:space-between;margin-bottom:17px}.section-head h2{margin:0;font-size:22px}.section-head p{color:#c0b2c0;line-height:1.55;max-width:760px;margin:8px 0}.real-label,.plan-label{padding:8px;border-radius:7px;font-size:10px;letter-spacing:.08em;color:#b6ffe2;border:1px solid #51967d;white-space:nowrap}.plan-label{color:#efd6a3;border-color:#9a8058}.two,.story-wrap{display:grid;grid-template-columns:1fr 1fr;gap:14px}.editor-card{background:#141019;border:1px solid #554455;padding:20px;border-radius:16px;min-width:0}.editor-card label{display:block;color:#e7c5d0;font-weight:900;font-size:11px;letter-spacing:.1em;margin:0 0 7px}.editor-card label:not(:first-child){margin-top:17px}.editor-card input:not([type=file]),.editor-card textarea,.editor-card select{width:100%;max-width:100%;font:inherit;color:#fff;padding:12px;border:1px solid #6a596d;border-radius:9px;background:#231c29;outline-offset:3px}.editor-card input[type=file]{max-width:100%}.info{font-size:12px;color:#bea9b9;line-height:1.5;padding:10px 0;word-wrap:break-word}.hint{color:#b4a3b2;font-size:12px;line-height:1.5}.button{min-height:43px;padding:11px 16px;border-radius:9px;cursor:pointer;font:900 12px system-ui;letter-spacing:.03em;border:1px solid #665567;color:#f6e8f0;background:#251b2a}.button.primary{background:#f44870;border-color:#f44870;color:#fff}.button.secondary{background:#282031}.button.danger{color:#ffc5ca;border-color:#9c5065;background:#40212c}.button:disabled{opacity:.45;cursor:not-allowed}.editor-card .button{margin:6px 6px 0 0}.exports{margin-top:15px;display:flex;gap:9px;flex-wrap:wrap}.file-action{display:inline-flex;align-items:center;justify-content:center}.file-action input{position:absolute;opacity:0;width:1px;height:1px}.verify{padding:16px;border:1px solid #3f534c;background:#111d19;margin-top:13px;border-radius:12px;display:flex;gap:20px;justify-content:space-between;flex-wrap:wrap;font-size:12px;line-height:1.6}.verify strong{color:#a0f1d0}.verify span{color:#b8cfc2}.slots{margin-top:11px;display:grid;gap:8px;max-height:450px;overflow-y:auto}.slot{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center;font-size:12px}.slot span{font-weight:900;color:#ff7190}.slot select{min-width:0}.chapter-list{display:grid;gap:11px}.chapter{border:1px solid #564658;border-radius:10px;padding:12px;background:#231c2a}.chapter strong{display:block;font-size:13px}.chapter p{font-size:12px;color:#d0bdcc;white-space:pre-wrap}.chapter-actions{display:flex;gap:7px;flex-wrap:wrap}.chapter-actions button{border:1px solid #77677c;color:white;background:#33263d;border-radius:6px;padding:7px 10px;cursor:pointer}canvas#texturePreview{display:block;margin:17px 0;max-width:100%;width:256px;height:256px;image-rendering:pixelated;border:1px solid #716579;background:#211a25}.roadmap{border:1px solid #534756;padding:20px;border-radius:15px;margin-top:15px}.roadmap h3{margin:0 0 8px}.roadmap p{color:#cbbbce;line-height:1.55;font-size:13px}footer{max-width:1180px;margin:auto;padding:16px;color:#ab99a9;text-align:center;font-size:11px}footer a{color:#aaf5d4}@media(max-width:720px){.two,.story-wrap{grid-template-columns:1fr}.section-head{display:block}.real-label,.plan-label{display:inline-block;margin:8px 0}.mast{padding:14px}.tag{display:none}.hero h1{font-size:clamp(34px,9vw,54px)}.tabs button{padding:12px 8px;font-size:10px}.editor-card{padding:15px}.exports .button{flex:1 1 170px}.slot{grid-template-columns:30px 1fr}}
.roster-browser{margin:18px 0;border:1px solid #554455;border-radius:16px;padding:18px;background:#110e17}.roster-browser summary{cursor:pointer;font-size:12px;font-weight:900;letter-spacing:.08em;color:#a5f0d4}.roster-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:9px;max-height:440px;overflow:auto;margin-top:16px}.fighter-card{display:grid;gap:7px;align-content:start;text-align:left;min-height:108px;padding:14px;border:1px solid #554455;border-radius:12px;background:linear-gradient(145deg,#2b2032,#15121c);color:#fff;cursor:pointer}.fighter-card:hover,.fighter-card:focus-visible{border-color:#a5f0d4;outline:2px solid #a5f0d4;outline-offset:-2px}.fighter-card strong{font-size:15px}.fighter-card span{font-size:11px;color:#c0b2c0}.fighter-card small{font-size:9px;letter-spacing:.06em;color:#a5f0d4}.fighter-card.edited{border-color:#ff5176;background:linear-gradient(145deg,#482036,#15121c)}.fighter-card.edited small{color:#ff86a1}@media(max-width:420px){.roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fighter-card{padding:11px}.fighter-card strong{font-size:13px}}
