@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.iv-calculator{width:60%;max-width:900px;margin:0 auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex;flex-direction:column;gap:16px;padding:24px;background:#FDFDFB;position:relative;border-radius:12px}.app-header{text-align:center;padding-bottom:12px;border-bottom:2px solid #E3DDD1}.app-title{font-size:2.5rem;font-weight:700;color:#3e3830;margin:0 0 8px;letter-spacing:3px}.app-subtitle{font-size:1.1rem;font-weight:500;color:#6b6357;margin:0}.pokemon-input-container{width:100%}.search-and-inputs-row{display:flex;gap:20px;align-items:flex-end;width:100%}.pokemon-input-wrapper{position:relative;flex:1;min-width:0}.pokemon-input{width:100%;padding:16px 20px;font-size:1.2rem;border:2px solid #E3DDD1;border-radius:12px;background:#FDFDFB;transition:all .2s ease;box-sizing:border-box}.pokemon-input:focus{outline:none;border-color:#5f7a5c}.pokemon-input::placeholder{color:#938b7f}.suggestions{position:absolute;top:100%;left:0;right:0;background:#FDFDFB;border:2px solid #E3DDD1;border-top:none;border-radius:0 0 12px 12px;max-height:400px;overflow-y:auto;z-index:1000;width:100%;box-sizing:border-box}.suggestion{display:flex;align-items:center;padding:12px 20px;cursor:pointer;transition:background-color .2s ease;border-bottom:1px solid #F5F1E8}.suggestion:last-child{border-bottom:none}.suggestion:hover,.suggestion.selected{background-color:#f5f1e8}.suggestion img{width:32px;height:32px;margin-right:12px;flex-shrink:0}.suggestion span{font-size:1rem;color:#3e3830}.suggestion-more-results{padding:8px 20px;background-color:#f5f1e8;border-top:1px solid #E3DDD1;text-align:center}.suggestion-more-results span{font-size:.9rem;color:#6b6357;font-style:italic}.iv-inputs{display:flex;gap:12px;align-items:flex-start;flex-shrink:0}.iv-input-group{display:flex;flex-direction:column;align-items:center;min-width:70px}.iv-input-group.cp-group{min-width:110px}.iv-input-group label{font-size:.85rem;font-weight:600;margin-bottom:6px;color:#3e3830}.iv-input-group.cp-group label{display:flex;align-items:center;gap:4px}.optional-text{font-size:.7rem;font-weight:400;color:#6b6357}.iv-input{width:60px;padding:16px 8px;border:none;border-bottom:2px solid #88B5A1;background:transparent;font-size:1.1rem;text-align:center;outline:none;transition:border-color .3s ease;height:54px;box-sizing:border-box}.iv-input.cp-input{width:90px}.iv-input:focus{border-bottom-color:#5f7a5c}.iv-input::placeholder{color:#938b7f}.results-section{display:flex;flex-direction:column;gap:12px}.pokemon-display{display:flex;flex-direction:column;align-items:center;margin-bottom:8px}.pokemon-display .name-sprite-container{display:flex;align-items:center;justify-content:center;gap:12px}.pokemon-display img{width:80px;height:80px;flex-shrink:0}.pokemon-display h2{font-size:1rem;font-weight:600;margin:0;text-transform:capitalize;color:#3e3830}.pokemon-display .iv-display{font-size:1.2rem;font-weight:600;color:#3e3830;background:#FDFDFB;padding:8px 12px;border-radius:8px;border:1px solid #E3DDD1}.evolution-section{background:#FDFDFB;border-radius:12px;padding:10px 15px;border:1px solid #E3DDD1}.evolution-label{display:flex;flex-direction:column;align-items:center;margin-bottom:10px}.evolution-label .name-sprite-container{display:flex;align-items:center;justify-content:center;gap:12px}.evolution-label img{width:80px;height:80px;flex-shrink:0}.evolution-label h3{font-size:1rem;font-weight:600;margin:0;text-transform:capitalize;color:#3e3830}.evolution-label .iv-display{font-size:1.2rem;font-weight:600;color:#3e3830;background:#FDFDFB;padding:8px 12px;border-radius:8px;border:1px solid #E3DDD1}.pokemon-ranking-module{background:#FDFDFB;border-radius:12px;padding:10px 15px;border:1px solid #E3DDD1}.rankings-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:8px}.rankings-grid.three-leagues{grid-template-columns:repeat(3,1fr);max-width:75%;margin-left:auto;margin-right:auto}.ranking-card{background:#FDFDFB;border-radius:12px;padding:20px 15px;border:2px solid #E3DDD1;min-height:100px;display:flex;flex-direction:column;justify-content:center;height:120px;box-sizing:border-box;overflow:hidden;text-align:center}.ranking-card[data-league="Great League"]{background:#D4E4F7;border-color:#7ba3d1;color:#3e3830}.ranking-card[data-league="Ultra League"]{background:#FFF4D4;border-color:#e6c77a;color:#3e3830}.ranking-card[data-league="Master League"]{background:#E8DBF0;border-color:#b19bc9;color:#3e3830}.ranking-card[data-league="Little Cup"]{background:#D8F0E6;border-color:#88c9a8;color:#3e3830}.ranking-card h3{font-size:1rem;font-weight:600;margin:0 0 3px;opacity:.9}.league-limit{font-size:.7rem;opacity:.8;margin-bottom:2px}.ranking-number{font-size:1.5rem;font-weight:700;margin-bottom:3px;min-height:2rem;display:flex;align-items:center;justify-content:center}.ranking-number.cp-exceeds-limit{font-size:.9rem;font-weight:600;line-height:1.2;text-align:center}.percent-perfect{font-size:.8rem;font-weight:600;opacity:.9;margin-bottom:2px}.actual-cp{font-size:.7rem;font-weight:600;opacity:.9}.history-section{background:#FDFDFB;border-radius:12px;padding:12px;border:1px solid #E3DDD1}.history-section h3{margin:0 0 12px;font-size:1rem;font-weight:600;color:#3e3830}.history-list{max-height:300px;overflow-y:auto;display:flex;flex-direction:column;gap:10px}.history-entry{display:flex;align-items:center;gap:12px;padding:8px 12px;background:#F5F1E8;border-radius:8px;cursor:pointer;transition:background-color .2s ease;min-height:40px;border:1px solid #E3DDD1;margin-bottom:6px}.history-entry:hover{background:#E3DDD1;border-color:#88b5a1}.history-entry img{width:32px;height:32px;flex-shrink:0}.history-details{flex:1;min-width:0}.history-name-ivs-cp{display:flex;align-items:center;gap:12px;font-size:.9rem;font-weight:600;color:#2c3e50}.history-name{font-weight:600;color:#3e3830;flex-shrink:0}.history-ivs{font-weight:600;color:#3e3830}.history-cp{color:#6b6357;font-weight:500}.history-ranking-summary{font-size:.8rem;color:#3e3830;font-weight:500;margin-top:4px;line-height:1.2}.history-empty{text-align:center;color:#6b6357;font-style:italic;padding:20px;font-size:.9rem}.advanced-options-section{margin:0}.advanced-options-toggle{width:100%;padding:10px 14px;background:#FDFDFB;border:1px solid #E3DDD1;border-radius:8px;color:#3e3830;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;justify-content:space-between;align-items:center}.advanced-options-toggle:hover{background:#F5F1E8;border-color:#88b5a1}.advanced-options-panel{margin-top:8px;padding:12px;background:#FDFDFB;border:1px solid #E3DDD1;border-radius:8px}.advanced-option{margin-bottom:12px}.advanced-option:last-child{margin-bottom:0}.checkbox-label{display:flex;align-items:center;gap:12px;font-size:1rem;font-weight:500;color:#3e3830;cursor:pointer;margin-bottom:4px;-webkit-user-select:none;user-select:none}.checkbox-label input[type=checkbox]{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:20px;height:20px;border:2px solid #C4C4C4;border-radius:4px;background:#FDFDFB;cursor:pointer;position:relative;transition:all .15s ease-in-out;flex-shrink:0}.checkbox-label input[type=checkbox]:hover{border-color:#5f7a5c}.checkbox-label input[type=checkbox]:checked{background:#5F7A5C;border-color:#5f7a5c}.checkbox-label input[type=checkbox]:checked:after{content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.checkbox-label input[type=checkbox]:focus{outline:2px solid #88B5A1;outline-offset:2px}.checkmark{display:none}.option-description{font-size:.85rem;color:#6b6357;margin-left:26px;line-height:1.4}@media (max-width: 768px){.iv-calculator{width:100%;padding:24px;border-radius:0}.app-title{font-size:2rem;letter-spacing:2px}.app-subtitle{font-size:1rem}.search-and-inputs-row{flex-direction:column;gap:16px}.iv-inputs{justify-content:center;flex-wrap:wrap}.rankings-grid{grid-template-columns:repeat(2,1fr);gap:15px}.pokemon-display img{width:100px;height:100px}}.ranking-card.ranking-top-20{position:relative}.ranking-card.ranking-top-20:after{content:"★";position:absolute;top:8px;right:8px;font-size:1rem;color:#3e3830;opacity:.7}.welcome-placeholder{padding:0}.welcome-features{background:#F5F1E8;padding:16px;border-radius:8px;border:1px solid #E3DDD1}.welcome-features h2{margin:0 0 12px;font-size:1rem;font-weight:600;color:#3e3830}.welcome-features p{margin:0 0 12px;font-size:.95rem;color:#3e3830;line-height:1.5}.welcome-features p:last-child{margin-bottom:0}.welcome-features strong{color:#5f7a5c;font-weight:600}.app-footer{text-align:center;padding-top:16px;border-top:2px solid #E3DDD1}.github-link{display:inline-flex;align-items:center;gap:6px;padding:12px 24px;background:#F5F1E8;color:#3e3830;text-decoration:none;border-radius:10px;font-weight:600;font-size:.95rem;border:2px solid #E3DDD1;transition:all .2s ease}.github-link:hover{background:#E3DDD1;border-color:#5f7a5c}@media (max-width: 768px){.welcome-features h2{font-size:1rem}.welcome-features p{font-size:.9rem}}*{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;overflow-x:hidden}.App{min-height:100vh;background:#D4C4B0;padding:40px 20px;margin:0;width:100vw;overflow-x:hidden;display:flex;justify-content:center}@media (max-width: 768px){.App{padding:0}}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#3e3830;background-color:#d4c4b0;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#5f7a5c;text-decoration:inherit}a:hover{color:#88b5a1}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh;background-color:#d4c4b0}h1{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-size:3.2em;line-height:1.1;font-weight:600}h2,h3,h4,h5,h6{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif}button{border-radius:8px;border:1px solid #E3DDD1;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#fdfdfb;color:#3e3830;cursor:pointer;transition:all .25s}button:hover{border-color:#88b5a1;background-color:#f5f1e8}button:focus,button:focus-visible{outline:3px solid #88B5A1;outline-offset:2px}
