:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark;color:#e0e0e0;background-color:#0f0f23;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:1.8em;line-height:1.1}button{border-radius:4px;border:1px solid transparent;padding:.5em 1.2em;font-size:1em;font-weight:500;font-family:inherit;cursor:pointer}#root{max-width:1400px;margin:0 auto;padding:1rem}.app{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}header{text-align:center;margin-bottom:2rem}header h1{margin-bottom:.25rem;color:#c9a96e;font-size:1.8rem}.subtitle{color:#888;margin-top:0;font-size:.9rem}.fighters-container{display:flex;gap:1rem;align-items:flex-start;margin-bottom:2rem}.vs-divider{display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;color:#c9a96e;padding-top:3rem;min-width:3rem}.fighter-form{flex:1;background:#1a1a2e;border:1px solid #333;border-radius:8px;padding:1.25rem}.fighter-form h2{margin-top:0;color:#c9a96e;font-size:1.2rem;border-bottom:1px solid #333;padding-bottom:.5rem}.fighter-form h3{margin-bottom:.5rem;margin-top:1rem;font-size:.85rem;color:#999;text-transform:uppercase;letter-spacing:.05em}.form-field{margin-bottom:.5rem}.form-field label{display:block;font-size:.8rem;color:#aaa;margin-bottom:.15rem}.form-field input,.form-field select{width:100%;padding:.4rem .5rem;background:#0f0f23;border:1px solid #444;border-radius:4px;color:#e0e0e0;font-size:.85rem;box-sizing:border-box}.form-field input:focus,.form-field select:focus{border-color:#c9a96e;outline:none}.form-field input[type=number]{width:80px}.stats-grid{display:flex;flex-wrap:wrap;gap:.5rem}.stats-grid .form-field{flex:0 0 auto}.derived-stats{background:#0f0f23;border-radius:4px;padding:.75rem;margin-top:1rem}.derived-grid{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.85rem;color:#c9a96e}.simulation-controls{display:flex;align-items:flex-end;gap:1rem;justify-content:center;margin-bottom:2rem;padding:1rem;background:#1a1a2e;border:1px solid #333;border-radius:8px}.simulation-controls .form-field{margin-bottom:0}.run-button{padding:.5rem 2rem;background:#c9a96e;color:#0f0f23;border:none;border-radius:4px;font-size:1rem;font-weight:700;cursor:pointer;transition:background .2s}.run-button:hover:not(:disabled){background:#dbb978}.run-button:disabled{opacity:.6;cursor:not-allowed}.progress-bar{width:200px;height:8px;background:#333;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:#c9a96e;transition:width .1s}.results-display{background:#1a1a2e;border:1px solid #333;border-radius:8px;padding:1.5rem;margin-bottom:2rem}.results-display h2{margin-top:0;color:#c9a96e;text-align:center}.results-subtitle{text-align:center;color:#888;font-size:.85rem;margin-top:-.5rem}.win-bar{display:flex;height:40px;border-radius:4px;overflow:hidden;margin:1rem 0;font-size:.85rem;font-weight:700}.win-bar-f1{background:#4a7c59;display:flex;align-items:center;justify-content:center;color:#fff;min-width:0;transition:width .3s}.win-bar-draw{background:#555;display:flex;align-items:center;justify-content:center;color:#ccc;min-width:0;transition:width .3s}.win-bar-f2{background:#7c4a4a;display:flex;align-items:center;justify-content:center;color:#fff;min-width:0;transition:width .3s}.results-legend{display:flex;justify-content:center;gap:2rem;margin-bottom:1rem;font-size:.85rem}.legend-f1:before{content:"";display:inline-block;width:12px;height:12px;background:#4a7c59;border-radius:2px;margin-right:.4rem;vertical-align:middle}.legend-draw:before{content:"";display:inline-block;width:12px;height:12px;background:#555;border-radius:2px;margin-right:.4rem;vertical-align:middle}.legend-f2:before{content:"";display:inline-block;width:12px;height:12px;background:#7c4a4a;border-radius:2px;margin-right:.4rem;vertical-align:middle}.results-table{max-width:500px;margin:0 auto}.results-table table{width:100%;border-collapse:collapse}.results-table td{padding:.4rem .75rem;border-bottom:1px solid #333;font-size:.9rem}.results-table td:last-child{text-align:right;color:#c9a96e;font-weight:500}.error-message{background:#4a2020;border:1px solid #7c4a4a;color:#f88;padding:.75rem;border-radius:4px;text-align:center;margin-bottom:1rem}@media(max-width:900px){.fighters-container{flex-direction:column}.vs-divider{padding-top:0}}
