:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh;overflow-x:hidden;-webkit-overflow-scrolling:touch}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#ffffffde;background-color:#242424}a:hover{color:#535bf2}button{background-color:#1a1a1a}}.leaderboard-container{background:linear-gradient(145deg,#282832f2,#191923fa);border:1px solid rgba(255,215,0,.2);border-radius:16px;padding:1rem 1.1rem 1.1rem;width:100%;max-width:400px;box-shadow:0 4px 20px #0000004d;position:relative}.leaderboard-container:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,gold,#ffb347,#ff6b6b);border-radius:16px 16px 0 0;z-index:1}.leaderboard-container.empty{text-align:center;opacity:.85}.leaderboard-container.empty p{color:#888;font-style:italic;font-size:.85rem;margin:.5rem 0 0}.leaderboard-container h3{margin:0 0 .4rem;color:gold;text-align:center;font-size:1.05rem;font-weight:800;text-transform:uppercase;letter-spacing:1.5px;text-shadow:0 0 12px rgba(255,215,0,.4);display:flex;align-items:center;justify-content:center;gap:.4rem}.leaderboard-container h3:before,.leaderboard-container h3:after{content:"★";color:gold;font-size:.75rem;opacity:.7}.leaderboard-filter-info{text-align:center;margin-bottom:.75rem;color:#888;font-size:.72rem;border-bottom:1px solid rgba(255,215,0,.1);padding-bottom:.5rem}.leaderboard-filter-info small{font-style:italic}.leaderboard-list{display:flex;flex-direction:column;gap:.3rem}.leaderboard-header{display:grid;grid-template-columns:40px 1fr 80px;padding:.3rem .6rem;font-weight:800;color:#888;font-size:.68rem;text-transform:uppercase;letter-spacing:1px;gap:.5rem}.leaderboard-entry{display:grid;grid-template-columns:40px 1fr 80px;padding:.5rem .6rem;background:linear-gradient(145deg,#ffffff0a,#ffffff03);border:1px solid rgba(255,255,255,.05);border-radius:8px;align-items:center;transition:transform .2s ease,border-color .2s ease,background .2s ease;gap:.5rem}.leaderboard-entry:hover{transform:translate(3px);background:#ffffff14;border-color:#ffd70033}.leaderboard-entry:nth-child(2){background:linear-gradient(145deg,#ffd7001f,#ffd70008);border-color:#ffd70059}.leaderboard-entry:nth-child(2) .rank{color:gold;text-shadow:0 0 10px rgba(255,215,0,.5)}.leaderboard-entry:nth-child(2) .rank:before{content:"🏆";margin-right:.2rem;font-size:.9em}.leaderboard-entry:nth-child(3){background:linear-gradient(145deg,#c0c0c01a,#c0c0c005);border-color:#c0c0c04d}.leaderboard-entry:nth-child(3) .rank{color:silver}.leaderboard-entry:nth-child(4){background:linear-gradient(145deg,#cd7f321a,#cd7f3205);border-color:#cd7f324d}.leaderboard-entry:nth-child(4) .rank{color:#cd7f32}.leaderboard-entry.highlight{background:linear-gradient(90deg,#ffd70033,#ffd7000d);border:1px solid rgba(255,215,0,.5);box-shadow:0 0 16px #ffd70040;animation:current-score-pulse 2s infinite}.leaderboard-entry .rank{font-weight:900;color:#aaa;font-size:.85rem;font-variant-numeric:tabular-nums}.leaderboard-entry .score{font-weight:800;font-size:.95rem;color:gold;font-variant-numeric:tabular-nums}.leaderboard-entry .date{font-size:.68rem;color:#777;text-align:right;font-variant-numeric:tabular-nums}@keyframes current-score-pulse{0%,to{box-shadow:0 0 16px #ffd70040}50%{box-shadow:0 0 24px #ffd70080}}.clear-leaderboard-button{margin-top:.75rem;width:100%;padding:.45rem;background:#ff6b6b14;border:1px solid rgba(255,107,107,.25);border-radius:8px;color:#ff8b8b;cursor:pointer;font-size:.72rem;font-weight:600;letter-spacing:.3px;transition:all .2s}.clear-leaderboard-button:hover{background:#ff6b6b2e;border-color:#ff6b6b;color:#ff6b6b}@media(max-width:768px){.leaderboard-container{margin:0 auto;max-width:100%}}.welcome-overlay{position:fixed;inset:0;background:#000000d9;display:flex;align-items:center;justify-content:center;z-index:2000;backdrop-filter:blur(5px);animation:fadeIn .3s ease-out}.welcome-popup{background:linear-gradient(135deg,#1a1a1a,#2a2a2a);border:2px solid #ffb347;border-radius:24px;width:90%;max-width:600px;box-shadow:0 20px 60px #00000080;animation:slideUp .4s ease-out;overflow:hidden}.welcome-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;background:#ffffff0d;border-bottom:1px solid rgba(255,255,255,.1)}.welcome-header h2{margin:0;font-size:1.8rem;background:linear-gradient(135deg,#ffb347,#ff6b6b);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.close-button{background:none;border:none;color:#888;font-size:2rem;cursor:pointer;padding:0;line-height:1;transition:color .2s}.close-button:hover{color:#fff}.welcome-content{padding:2rem;display:flex;flex-direction:column;gap:2rem}.welcome-intro{font-size:1.1rem;color:#ddd;text-align:center;margin:0;line-height:1.5}.welcome-steps{display:flex;flex-direction:column;gap:1.5rem}.step{display:flex;gap:1.5rem;align-items:flex-start;background:#ffffff08;padding:1rem;border-radius:12px;border:1px solid rgba(255,255,255,.05)}.step-icon{font-size:2rem;background:#ffb34726;width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:14px;flex-shrink:0}.step-text{display:flex;flex-direction:column;gap:.25rem}.step-text h3{margin:0;color:#ffb347;font-size:1.1rem}.step-text p{margin:0;color:#aaa;font-size:.95rem;line-height:1.4}.start-playing-button{width:100%;padding:1rem;font-size:1.2rem;font-weight:700;border:none;border-radius:14px;background:linear-gradient(135deg,#ffb347,#ff6b6b);color:#fff;cursor:pointer;transition:transform .2s,box-shadow .3s;text-transform:uppercase;letter-spacing:1px;box-shadow:0 4px 15px #ff6b6b4d}.start-playing-button:hover{transform:translateY(-3px);box-shadow:0 10px 30px #ff6b6b66}@media(max-width:600px){.welcome-popup{width:95%}.welcome-header{padding:1rem 1.5rem}.welcome-content{padding:1.5rem}.step{padding:.75rem;gap:1rem}.step-icon{width:40px;height:40px;font-size:1.5rem}}.pokestats-game{width:100%;display:flex;flex-direction:column;align-items:center;padding:.75rem 1rem 1rem;padding-top:56px;flex:1;gap:.75rem;min-height:100vh;box-sizing:border-box}.top-controls{position:absolute;top:12px;right:16px;z-index:50}.game-setup-dashboard{max-width:960px;width:100%;padding:1rem 1.25rem 1.25rem;background:linear-gradient(145deg,#2d2d3cf2,#191923fa);border:1px solid rgba(255,255,255,.08);border-radius:16px;box-shadow:0 4px 20px #0000004d;display:flex;flex-direction:column;gap:.9rem;position:relative}.game-setup-dashboard:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#ff6b6b,#ffb347,#4ecdc4);border-radius:16px 16px 0 0;z-index:1}.dashboard-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:.6rem;flex-wrap:wrap;gap:.75rem;border-bottom:1px solid rgba(255,255,255,.06)}.dashboard-header h1{font-size:1.25rem;margin:0;background:linear-gradient(135deg,#ffb347,#ff6b6b);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-weight:800;letter-spacing:-.3px;display:flex;align-items:center;gap:.5rem}.dashboard-header h1:before{content:"";width:18px;height:18px;border-radius:50%;background:linear-gradient(to bottom,#ff6b6b 0% 48%,#1a1a1a 48% 52%,#f5f5f5 52% 100%);border:2px solid #1a1a1a;box-shadow:inset 0 0 0 2px #ffffff26,0 1px 3px #0006;position:relative;flex-shrink:0;-webkit-text-fill-color:initial}.quick-config{display:flex;gap:.9rem;align-items:center;flex-wrap:wrap}.quick-config label{color:#aaa;font-weight:700;font-size:.75rem;white-space:nowrap;text-transform:uppercase;letter-spacing:.5px}.label-with-help{display:flex;align-items:center;gap:.5rem;white-space:nowrap}.help-tooltip-container{position:relative;display:flex;align-items:center;cursor:help}.help-icon{width:16px;height:16px;border-radius:50%;background:#ffb34733;border:1px solid #ffb347;color:#ffb347;font-size:.7rem;font-weight:700;display:flex;align-items:center;justify-content:center;transition:all .2s;line-height:1}.help-tooltip-container:hover .help-icon{background:#ffb347;color:#1a1a1a}.help-tooltip{position:absolute;top:100%;left:50%;transform:translate(-50%);background:#1e1e28fa;border:1px solid #ffb347;border-radius:12px;padding:1rem;width:350px;white-space:normal;z-index:1000;opacity:0;visibility:hidden;transition:all .2s ease;box-shadow:0 8px 24px #0006;margin-top:.5rem;text-align:left;pointer-events:none}.help-tooltip-container:hover .help-tooltip{opacity:1;visibility:visible;pointer-events:auto}.help-tooltip h4{margin:0 0 .5rem;color:#ffb347;font-size:1rem}.help-tooltip p{margin:0 0 .5rem;font-size:.85rem;color:#ddd;line-height:1.4}.help-tooltip p:last-child{margin-bottom:0}.score-selector{display:flex;align-items:stretch;gap:0;background:#0006;border-radius:10px;overflow:hidden;transition:all .3s;border:1px solid rgba(255,179,71,.3)}.score-selector:hover{box-shadow:0 0 12px #ffb34726;border-color:#ffb34780}.score-adjust-btn{display:flex;align-items:center;justify-content:center;gap:.2rem;padding:.35rem .5rem;background:linear-gradient(135deg,#ffb34733,#ff6b6b33);border:none;color:#ffb347;font-weight:700;font-size:.75rem;cursor:pointer;transition:all .2s}.score-adjust-btn.decrease,.score-adjust-btn.increase{border-radius:0}.score-adjust-btn:hover{background:linear-gradient(135deg,#ffb34780,#ff6b6b80);color:#fff}.score-adjust-btn:active{background:linear-gradient(135deg,#ffb347b3,#ff6b6bb3)}.score-adjust-btn .arrow{font-size:.65rem;opacity:.9}.score-adjust-btn .value{font-size:.8rem}.score-input{width:54px;padding:.35rem .2rem;border-radius:0;border:none;border-left:1px solid rgba(255,179,71,.2);border-right:1px solid rgba(255,179,71,.2);background:#0006;color:#fff;text-align:center;font-weight:800;font-size:.95rem;transition:all .3s;font-variant-numeric:tabular-nums}.score-input:focus{outline:none;background:#ffb34726}.score-input::-webkit-outer-spin-button,.score-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.score-input[type=number]{-moz-appearance:textfield;appearance:textfield}.compact-input{width:80px;padding:.5rem;border-radius:0;border:2px solid rgba(255,179,71,.3);background:#0003;color:#fff;text-align:center;font-weight:700;font-size:1rem;transition:all .3s}.compact-input:focus{outline:none;border-color:#ffb347;box-shadow:0 0 15px #ffb34733}.toggle-switch-mode{display:flex;background:#0006;border-radius:10px;padding:2px;overflow:hidden;border:1px solid rgba(255,179,71,.2)}.mode-toggle{background:transparent;border:none;color:#666;padding:.35rem .6rem;cursor:pointer;border-radius:8px;transition:all .2s;font-size:.95rem;line-height:1}.mode-toggle.active{background:linear-gradient(135deg,#ffb347,#ff6b6b);color:#1a1a1a;box-shadow:0 2px 6px #ff6b6b4d}.dashboard-grid{display:grid;grid-template-columns:1fr;gap:.75rem;align-items:start}@media(min-width:700px){.dashboard-grid{grid-template-columns:1.4fr 1fr}}.dashboard-panel{background:#00000040;border-radius:12px;padding:.85rem 1rem;border:1px solid rgba(255,255,255,.05);height:100%;display:flex;flex-direction:column;gap:.85rem;position:relative}.panel-section{display:flex;flex-direction:column}.dashboard-panel h3{margin:0 0 .55rem;font-size:.78rem;color:#ffb347;text-transform:uppercase;letter-spacing:1.5px;border-bottom:1px solid rgba(255,179,71,.2);padding-bottom:.35rem;padding-left:.65rem;font-weight:800;position:relative;display:flex;align-items:center}.dashboard-panel h3:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%) translateY(-3px);width:4px;height:14px;background:linear-gradient(180deg,#ffb347,#ff6b6b);border-radius:2px}.sub-header{margin:.85rem 0 .45rem!important;font-size:.72rem!important;color:#aaa!important;border-bottom:none!important;letter-spacing:1.2px!important}.sub-header:before{background:linear-gradient(180deg,#4ecdc4,#6890f0)!important}.generations-grid-compact{display:grid;grid-template-columns:repeat(9,1fr);gap:.35rem}.gen-chip{background:linear-gradient(180deg,#ffffff0a,#ffffff05);border:2px solid rgba(255,255,255,.1);color:#888;padding:.45rem 0;border-radius:8px;cursor:pointer;font-weight:800;font-size:.95rem;transition:all .2s;font-family:system-ui,-apple-system,sans-serif;position:relative}.gen-chip:before{content:"GEN";position:absolute;top:2px;left:0;right:0;font-size:.52rem;color:#ffb34780;letter-spacing:.8px;font-weight:700;opacity:0;transition:opacity .2s}.gen-chip:hover{background:#ffffff14;border-color:#ffb347;color:#ddd;transform:translateY(-1px)}.gen-chip:hover:before{opacity:.8}.gen-chip.active{background:linear-gradient(180deg,#ffb3474d,#ff6b6b40);border-color:#ffb347;color:#fff;box-shadow:0 0 12px #ffb3474d,inset 0 1px #ffffff26;text-shadow:0 1px 3px rgba(0,0,0,.5)}.gen-chip.active:before{opacity:1;color:#ffffffb3}.types-grid-compact{display:grid;grid-template-columns:repeat(6,1fr);gap:.35rem}.type-chip{display:flex;align-items:center;justify-content:center;background:#ffffff0a;border:2px solid rgba(255,255,255,.08);border-radius:8px;cursor:pointer;transition:all .2s ease;padding:.4rem .3rem;font-size:.75rem;font-weight:700;color:#999;text-transform:uppercase;letter-spacing:.3px;line-height:1;position:relative;overflow:hidden}.type-chip:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--type-color, rgba(255, 255, 255, .2));opacity:.7;transition:opacity .2s}.type-chip:hover{background:#ffffff14;border-color:#fff3;color:#fff;transform:translateY(-1px)}.type-chip:hover:before{opacity:1}.type-chip.active{color:#fff;border-color:#ffffffd9;box-shadow:0 4px 12px #00000080,inset 0 1px #fff3;text-shadow:0 1px 3px rgba(0,0,0,.8);font-weight:800;transform:translateY(-1px)}.type-chip.active:before{width:100%;opacity:1;z-index:-1}.type-chip.type-normal,.type-chip[title*=ormal]{--type-color: #A8A878}.type-chip.type-fire{--type-color: #F08030}.type-chip.type-water{--type-color: #6890F0}.type-chip.type-electric{--type-color: #F8D030}.type-chip.type-grass{--type-color: #78C850}.type-chip.type-ice{--type-color: #98D8D8}.type-chip.type-fighting{--type-color: #C03028}.type-chip.type-poison{--type-color: #A040A0}.type-chip.type-ground{--type-color: #E0C068}.type-chip.type-flying{--type-color: #A890F0}.type-chip.type-psychic{--type-color: #F85888}.type-chip.type-bug{--type-color: #A8B820}.type-chip.type-rock{--type-color: #B8A038}.type-chip.type-ghost{--type-color: #705898}.type-chip.type-dragon{--type-color: #7038F8}.type-chip.type-dark{--type-color: #705848}.type-chip.type-steel{--type-color: #B8B8D0}.type-chip.type-fairy{--type-color: #EE99AC}.extras-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.35rem}.extra-chip{padding:.4rem .6rem;font-size:.78rem;background:linear-gradient(180deg,#ffffff0a,#ffffff05);border:2px solid rgba(255,255,255,.08);border-radius:10px;color:#bbb;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.45rem;font-weight:600;line-height:1.1}.extra-chip:hover{background:#ffffff14;border-color:#ffb34766;color:#fff;transform:translateY(-1px)}.extra-chip.active{background:linear-gradient(180deg,#ffb34747,#ff6b6b38);border-color:#ffb347;color:#fff;box-shadow:0 2px 10px #ffb34740,inset 0 1px #ffffff1a;text-shadow:0 1px 2px rgba(0,0,0,.4)}.category-icon-sprite{width:26px;height:26px;object-fit:contain;image-rendering:pixelated;display:inline-block;vertical-align:middle;filter:drop-shadow(0 1px 2px rgba(0,0,0,.4));flex-shrink:0}.start-button-dashboard{width:100%;padding:.85rem 1rem;font-size:1.15rem;font-weight:800;letter-spacing:2px;border:none;border-radius:12px;background:linear-gradient(180deg,#ffc96b,#ffb347 40%,#ff6b6b);color:#fff;cursor:pointer;transition:transform .2s,box-shadow .3s,filter .3s;text-transform:uppercase;box-shadow:0 4px #d44545,0 6px 15px #ff6b6b59,inset 0 1px #ffffff59;text-shadow:0 2px 4px rgba(0,0,0,.3);position:relative}.start-button-dashboard:hover{transform:translateY(-2px);box-shadow:0 6px #d44545,0 10px 25px #ff6b6b73,inset 0 1px #ffffff59;filter:brightness(1.05)}.start-button-dashboard:active{transform:translateY(2px);box-shadow:0 2px #d44545,0 3px 8px #ff6b6b4d,inset 0 1px #ffffff59}@media(max-width:900px){.dashboard-grid{grid-template-columns:1fr}.dashboard-header{flex-direction:column;gap:.75rem;align-items:stretch}.quick-config{width:100%;justify-content:space-between;gap:.5rem}.generations-grid-compact{grid-template-columns:repeat(9,1fr);gap:.25rem}.gen-chip{font-size:.8rem;padding:.4rem 0}.types-grid-compact{grid-template-columns:repeat(3,1fr)}.extras-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.generations-grid-compact{grid-template-columns:repeat(5,1fr)}.types-grid-compact{grid-template-columns:repeat(2,1fr)}.extras-grid{grid-template-columns:1fr}}.game-header{width:100%;max-width:1000px;padding:0;background:linear-gradient(145deg,#282832f2,#191923fa);border-radius:16px;margin-bottom:0;border:1px solid rgba(255,255,255,.08);box-shadow:0 4px 20px #0000004d;position:relative}.game-header:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#ff6b6b,#ffb347,#4ecdc4);border-radius:16px 16px 0 0;z-index:1}.header-content{padding:.75rem 1.25rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.header-left{display:flex;flex-direction:row;align-items:center;gap:.75rem}.game-header h1{font-size:1.2rem;margin:0;background:linear-gradient(135deg,#ffb347,#ff6b6b);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-weight:800;letter-spacing:-.3px;white-space:nowrap}.round-badge{display:inline-flex;align-items:center;gap:.4rem;background:#ffffff0d;padding:.3rem .7rem;border-radius:16px;border:1px solid rgba(255,255,255,.1);width:fit-content}.round-label{color:#888;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.round-value{color:#ffb347;font-weight:700;font-size:.85rem}.game-hud{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.hud-card{background:#0000004d;border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:.35rem .7rem;display:flex;flex-direction:row;align-items:center;gap:.4rem;min-width:0;transition:transform .2s,border-color .2s}.hud-card:hover{transform:translateY(-1px);border-color:#ffb3474d}.hud-label{font-size:.7rem;color:#888;text-transform:uppercase;letter-spacing:.3px;font-weight:600}.hud-value{font-size:1rem;font-weight:700;color:#ddd;font-variant-numeric:tabular-nums}.hud-value.highlight{color:#ffb347;text-shadow:0 0 20px rgba(255,179,71,.2)}.target-card .hud-value{color:#ff6b6b}.filters-card{min-width:0;position:relative;cursor:help}.filters-preview{display:flex;flex-direction:row;align-items:center;gap:.3rem;flex-wrap:wrap}.filter-summary{font-size:.8rem;color:#ddd;font-weight:600}.filter-tag{font-size:.75rem;color:#aaa;background:#ffffff0d;padding:.1rem .4rem;border-radius:4px;width:fit-content}.filter-tag.special{color:#ffb347;background:#ffb3471a}.filter-info-container{position:relative;cursor:help}.progress-bar-container{width:100%;height:8px;background:linear-gradient(180deg,#000000b3,#00000080);position:relative;overflow:hidden;border-top:1px solid rgba(255,255,255,.08);border-radius:0 0 16px 16px}.progress-bar-fill{height:100%;background:linear-gradient(180deg,#7dd87d,#4caf50,#388e3c);border-radius:0 4px 4px 0;transition:width .6s cubic-bezier(.4,0,.2,1),background .3s ease;box-shadow:0 0 8px #4caf5080,inset 0 1px #ffffff4d;position:relative;z-index:1}.progress-bar-fill.hp-medium{background:linear-gradient(180deg,#ffe066,#ffb347,#e68a00);box-shadow:0 0 8px #ffb34780,inset 0 1px #ffffff4d}.progress-bar-fill.hp-high{background:linear-gradient(180deg,#ff8b8b,#ff6b6b,#d44545);box-shadow:0 0 12px #ff6b6b99,inset 0 1px #ffffff4d}.progress-bar-target-marker{position:absolute;top:0;bottom:0;width:2px;background-color:#fff;z-index:2;box-shadow:0 0 4px #fffc}@media(max-width:768px){.header-content{flex-direction:column;gap:.6rem;padding:.6rem .75rem}.header-left{width:100%;flex-direction:row;justify-content:space-between;align-items:center}.game-header h1{font-size:1rem}.game-hud{width:100%;justify-content:space-between;gap:.35rem}.hud-card{flex:1;min-width:auto;padding:.3rem .5rem;font-size:.85rem}.hud-value{font-size:.9rem}.filters-card{width:100%;flex:100%;order:3}}.filter-tooltip{position:absolute;top:100%;left:50%;transform:translate(-50%);background:#141414f2;border:1px solid #ffb347;border-radius:12px;padding:1rem;width:max-content;max-width:300px;z-index:1000;opacity:0;visibility:hidden;transition:all .2s ease;box-shadow:0 4px 12px #00000080;margin-top:.5rem;text-align:left;pointer-events:none}.filter-info-container:hover .filter-tooltip{opacity:1;visibility:visible;pointer-events:auto}.tooltip-row{display:flex;gap:.5rem;margin-bottom:.5rem;font-size:.85rem;line-height:1.4}.tooltip-row:last-child{margin-bottom:0}.tooltip-label{color:#888;font-weight:600;min-width:80px}.tooltip-value{color:#ddd;flex:1}.tooltip-types{display:flex;flex-wrap:wrap;gap:.25rem;flex:1}.mini-type-tag{padding:.1rem .4rem;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.5)}.loading{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:3rem}.pokeball-loader{width:60px;height:60px;border:4px solid #ffb347;border-top-color:#ff6b6b;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.pokemon-card-game{width:100%;max-width:1000px;padding:1rem 1.25rem;background:linear-gradient(145deg,#282832f2,#191923fa);border:1px solid rgba(255,255,255,.08);border-radius:16px;box-shadow:0 4px 20px #0000004d;display:grid;grid-template-columns:260px 1fr;gap:1.25rem;align-items:center;position:relative}.pokemon-card-game:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#4ecdc4,#ffb347,#ff6b6b);border-radius:16px 16px 0 0;z-index:1}.round-indicator{display:none}.pokemon-info{margin-bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:240px;padding:.5rem;background:radial-gradient(ellipse at center,rgba(255,179,71,.08) 0%,transparent 70%);border-radius:12px;position:relative}.pokemon-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:1rem;height:100%;min-height:220px}.pokemon-loading p{color:#aaa;font-size:.85rem;margin:0}.pokemon-info h2{font-size:1.25rem;margin-bottom:.25rem;text-transform:capitalize;display:flex;align-items:center;justify-content:center;gap:.4rem;flex-wrap:wrap;margin-top:0;min-height:1.5em}.shiny-badge{font-size:.75rem;background:linear-gradient(45deg,gold,#ffed4e,gold);color:#1a1a1a;padding:.15rem .5rem;border-radius:12px;font-weight:700;animation:shimmer 2s infinite;box-shadow:0 0 8px #ffd70080}@keyframes shimmer{0%,to{opacity:1}50%{opacity:.7}}.shiny-indicator{margin-left:.25rem;font-size:.9rem}.pokemon-sprite{width:140px;height:140px;image-rendering:pixelated;filter:drop-shadow(0 4px 10px rgba(0,0,0,.4));animation:pokemon-enter .35s ease-out}@keyframes pokemon-enter{0%{opacity:0;transform:scale(.8) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.pokemon-number{font-size:.8rem;color:#888;margin:.25rem 0;font-variant-numeric:tabular-nums}.pokemon-types{display:flex;gap:.35rem;justify-content:center;flex-wrap:wrap}.type-badge{padding:.25rem .75rem;border-radius:12px;font-weight:700;text-transform:uppercase;font-size:.7rem;letter-spacing:.5px;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.5);box-shadow:0 2px 4px #0000004d,inset 0 1px #fff3}.type-badge.type-normal,.type-chip.active.type-normal{background-color:#a8a878}.type-badge.type-fire,.type-chip.active.type-fire{background-color:#f08030}.type-badge.type-water,.type-chip.active.type-water{background-color:#6890f0}.type-badge.type-electric,.type-chip.active.type-electric{background-color:#f8d030;color:#333}.type-badge.type-grass,.type-chip.active.type-grass{background-color:#78c850}.type-badge.type-ice,.type-chip.active.type-ice{background-color:#98d8d8;color:#333}.type-badge.type-fighting,.type-chip.active.type-fighting{background-color:#c03028}.type-badge.type-poison,.type-chip.active.type-poison{background-color:#a040a0}.type-badge.type-ground,.type-chip.active.type-ground{background-color:#e0c068;color:#333}.type-badge.type-flying,.type-chip.active.type-flying{background-color:#a890f0}.type-badge.type-psychic,.type-chip.active.type-psychic{background-color:#f85888}.type-badge.type-bug,.type-chip.active.type-bug{background-color:#a8b820}.type-badge.type-rock,.type-chip.active.type-rock{background-color:#b8a038}.type-badge.type-ghost,.type-chip.active.type-ghost{background-color:#705898}.type-badge.type-dragon,.type-chip.active.type-dragon{background-color:#7038f8}.type-badge.type-dark,.type-chip.active.type-dark{background-color:#705848}.type-badge.type-steel,.type-chip.active.type-steel{background-color:#b8b8d0;color:#333}.type-badge.type-fairy,.type-chip.active.type-fairy{background-color:#ee99ac}.mini-type-tag.type-normal{background-color:#a8a878}.mini-type-tag.type-fire{background-color:#f08030}.mini-type-tag.type-water{background-color:#6890f0}.mini-type-tag.type-electric{background-color:#f8d030;color:#333}.mini-type-tag.type-grass{background-color:#78c850}.mini-type-tag.type-ice{background-color:#98d8d8}.mini-type-tag.type-fighting{background-color:#c03028}.mini-type-tag.type-poison{background-color:#a040a0}.mini-type-tag.type-ground{background-color:#e0c068}.mini-type-tag.type-flying{background-color:#a890f0}.mini-type-tag.type-psychic{background-color:#f85888}.mini-type-tag.type-bug{background-color:#a8b820}.mini-type-tag.type-rock{background-color:#b8a038}.mini-type-tag.type-ghost{background-color:#705898}.mini-type-tag.type-dragon{background-color:#7038f8}.mini-type-tag.type-dark{background-color:#705848}.mini-type-tag.type-steel{background-color:#b8b8d0}.mini-type-tag.type-fairy{background-color:#ee99ac}.stats-selection-blind{margin-top:0;height:100%;display:flex;flex-direction:column;justify-content:center;overflow:visible}.stats-selection-blind h3{font-size:.95rem;margin-bottom:.5rem;color:#ffb347;text-align:center;margin-top:0;font-weight:700;letter-spacing:.3px}.blind-hint{display:none}.stat-button-blind,.stat-card{padding:.5rem .6rem;border-radius:10px;min-height:82px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;position:relative;box-sizing:border-box;transition:background .3s ease,border-color .3s ease,transform .2s ease,box-shadow .3s ease}.stat-button-blind{border:2px solid rgba(255,179,71,.5);background:linear-gradient(145deg,#ffb3471f,#ffb3470d);color:#fff;cursor:pointer;-webkit-tap-highlight-color:rgba(255,179,71,.3);-webkit-touch-callout:none;user-select:none;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.stat-button-blind:hover:not(:disabled):not(.stat-disabled){background:linear-gradient(145deg,#ffb34747,#ffb34726);transform:translateY(-2px);box-shadow:0 4px 12px #ffb34766;border-color:#ffb347}.stat-button-blind:focus{outline:2px solid rgba(255,179,71,.5);outline-offset:2px}.stat-button-blind.stat-selected{background:linear-gradient(135deg,#ffb3474d,#ff6b6b4d)!important;border-color:#ff6b6b!important;box-shadow:0 0 20px #ff6b6b66!important}.stat-button-blind:disabled,.stat-button-blind.stat-disabled{opacity:.3;cursor:not-allowed;border-color:#555;pointer-events:none}.stat-mystery{font-size:1.5rem;font-weight:800;color:#ffb347;text-shadow:0 2px 8px rgba(255,179,71,.5);animation:mystery-pulse 2.2s ease-in-out infinite;line-height:1}@keyframes mystery-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.85}}.modal-overlay{position:fixed;inset:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.confirmation-modal{background:linear-gradient(135deg,#1e1e1efa,#141414fa);border:2px solid #ffb347;border-radius:20px;padding:2.5rem;max-width:500px;width:90%;box-shadow:0 20px 60px #00000080;animation:slideUp .3s ease-out;text-align:center}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.confirmation-modal h3{font-size:1.8rem;margin-bottom:1.5rem;color:#ffb347}.confirmation-text{font-size:1.2rem;color:#ddd;margin-bottom:1rem}.confirmation-text strong{color:#ffb347;font-size:1.5rem;display:block;margin-top:.5rem}.confirmation-hint{font-size:1rem;color:#aaa;margin-bottom:2rem}.modal-buttons{display:flex;gap:1rem;justify-content:center}.cancel-button{padding:1rem 2rem;font-size:1.1rem;font-weight:600;border:2px solid #666;border-radius:12px;background:#ffffff0d;color:#aaa;cursor:pointer;transition:all .2s}.cancel-button:hover{background:#ffffff1a;border-color:#888;color:#ddd;transform:translateY(-2px)}.confirm-button{padding:1rem 2rem;font-size:1.1rem;font-weight:600;border:none;border-radius:12px;background:linear-gradient(135deg,#ffb347,#ff6b6b);color:#fff;cursor:pointer;transition:transform .2s,box-shadow .3s}.confirm-button:hover{transform:translateY(-2px);box-shadow:0 8px 24px #ff6b6b66}.stats-revealed{margin-top:0}.stats-revealed h3{font-size:1.2rem;margin-bottom:1rem;color:#ffb347;text-align:center}.stats-grid-revealed{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.stat-card{border:2px solid rgba(255,179,71,.4);background:linear-gradient(145deg,#ffb34714,#ffb34705);overflow:visible;animation:stat-reveal .4s cubic-bezier(.4,0,.2,1)}@keyframes stat-reveal{0%{opacity:.4;transform:scale(.92)}50%{opacity:1;transform:scale(1.03)}to{opacity:1;transform:scale(1)}}.stat-with-sprite{display:flex;align-items:center;justify-content:center;gap:.4rem}.stat-sprite{width:32px;height:32px;image-rendering:pixelated;filter:drop-shadow(0 2px 4px rgba(0,0,0,.3));flex-shrink:0}.stat-with-sprite .stat-value{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;image-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.stat-card.stat-chosen{background:linear-gradient(135deg,#ffb34740,#ff6b6b40);border-color:#ff6b6b;box-shadow:0 0 20px #ff6b6b4d}.stat-card.stat-best-choice{background:linear-gradient(135deg,#4caf504d,#81c7844d);border-color:#4caf50;box-shadow:0 0 25px #4caf5066}.stat-card.stat-best-choice .stat-value{color:#4caf50}.stat-card.stat-used{opacity:.4;border-color:#555}.stat-card .stat-name,.stat-button-blind .stat-name{font-weight:700;font-size:.72rem;color:#aaa;text-transform:uppercase;letter-spacing:.5px;line-height:1}.stat-card .stat-value{font-size:1.15rem;font-weight:800;color:#ffb347;line-height:1;font-variant-numeric:tabular-nums}.chosen-badge{position:absolute;top:-7px;right:-4px;background:linear-gradient(135deg,#ffb347,#ff6b6b);color:#1a1a1a;padding:.1rem .45rem;border-radius:10px;font-size:.62rem;font-weight:700;box-shadow:0 2px 6px #0006;white-space:nowrap;z-index:3}.chosen-badge.best-badge{background:linear-gradient(135deg,#4caf50,#81c784);color:#fff;box-shadow:0 0 10px #4caf5080;animation:pulse-green 2s infinite}@keyframes pulse-green{0%,to{box-shadow:0 0 10px #4caf5080}50%{box-shadow:0 0 20px #4caf50cc}}.stats-reveal-screen{width:100%;max-width:800px}.next-round-message{text-align:center;font-size:.8rem;color:#ffb347;margin:.35rem 0 0;font-weight:600;animation:pulse 2s infinite;grid-column:1 / -1;letter-spacing:.3px}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.stats-selection h3{margin-bottom:1.5rem;color:#ddd}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;overflow:visible}.stat-button{padding:1rem;border:2px solid rgba(255,179,71,.5);border-radius:12px;background:#ffb3471a;color:#fff;cursor:pointer;transition:all .3s;display:flex;flex-direction:column;gap:.5rem}.stat-button:hover:not(:disabled){background:#ffb34740;transform:translateY(-2px);box-shadow:0 4px 12px #ffb34766}.stat-button:disabled{opacity:.3;cursor:not-allowed;border-color:#555}.stat-disabled{background:#ffffff0d}.stat-name{font-weight:600;font-size:.9rem;color:#aaa}.stat-value{font-size:1.8rem;font-weight:700;color:#ffb347;font-family:inherit}.game-result-compact{width:100%;max-width:1200px;padding:0;display:flex;flex-direction:column;gap:.85rem;animation:result-enter .45s cubic-bezier(.4,0,.2,1)}@keyframes result-enter{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.result-header-compact{padding:1.25rem 1.5rem;border-radius:16px;margin-bottom:0;background:linear-gradient(145deg,#282832f2,#191923fa);border:1px solid rgba(255,255,255,.08);box-shadow:0 4px 20px #0000004d;position:relative}.result-header-compact.victory{border-color:#ffd70059;box-shadow:0 0 40px #ffd7002e,0 4px 20px #0000004d;background:radial-gradient(ellipse at top,rgba(255,215,0,.14) 0%,transparent 55%),linear-gradient(145deg,#282832f2,#191923fa)}.result-header-compact.victory:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,gold,#ffb347,#4caf50);border-radius:16px 16px 0 0;z-index:1}.result-header-compact.defeat{border-color:#ff6b6b4d}.result-header-compact.defeat:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#ff6b6b,#8b3a3a,#444);border-radius:16px 16px 0 0;z-index:1}.result-title-row{display:flex;justify-content:space-between;align-items:center;gap:1.25rem;margin-bottom:.75rem;position:relative;z-index:1}.result-title-row h1{font-size:1.6rem;margin:0;font-weight:900;letter-spacing:-.5px;display:flex;align-items:center;gap:.5rem;line-height:1}.result-header-compact.victory .result-title-row h1{background:linear-gradient(135deg,gold,#ffb347 60%,#ff8c00);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-shadow:0 0 30px rgba(255,215,0,.4);animation:victory-pulse 2.5s ease-in-out infinite}@keyframes victory-pulse{0%,to{filter:drop-shadow(0 0 8px rgba(255,215,0,.3))}50%{filter:drop-shadow(0 0 16px rgba(255,215,0,.5))}}.result-header-compact.defeat .result-title-row h1{background:linear-gradient(135deg,#f88,#ff6b6b);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;opacity:.9}.max-possible-score{display:flex;flex-direction:column;align-items:center;background:linear-gradient(180deg,#ffd70014,#ffd70005);padding:.4rem .8rem;border-radius:10px;border:1px solid rgba(255,215,0,.25);cursor:help;position:relative;gap:.15rem}.max-possible-score:hover{z-index:10}.max-possible-score .label{font-size:.65rem;color:#aaa;text-transform:uppercase;letter-spacing:.5px;font-weight:700}.max-possible-score .value{font-size:1.1rem;font-weight:800;color:gold;font-variant-numeric:tabular-nums;text-shadow:0 0 10px rgba(255,215,0,.3)}.max-score-tooltip{position:absolute;top:100%;right:0;background:linear-gradient(145deg,#1e1e28fa,#14141efc);border:1px solid rgba(255,215,0,.4);border-radius:10px;padding:.8rem;width:300px;z-index:1000;opacity:0;visibility:hidden;transition:all .2s ease;box-shadow:0 6px 20px #0009;margin-top:.4rem;pointer-events:none;text-align:left}.max-possible-score:hover .max-score-tooltip{opacity:1;visibility:visible;pointer-events:auto}.max-score-tooltip h5{margin:0 0 .5rem;color:gold;font-size:.8rem;text-align:center;border-bottom:1px solid rgba(255,215,0,.3);padding-bottom:.4rem;text-transform:uppercase;letter-spacing:1px;font-weight:800}.tooltip-desc{font-size:.85rem;color:#aaa;margin:0 0 1rem;font-style:italic;line-height:1.4}.strategy-list{display:flex;flex-direction:column;gap:.5rem}.strategy-row{display:flex;align-items:center;gap:.5rem;font-size:.9rem;color:#ddd}.strategy-stat{color:#aaa;width:60px;font-weight:600}.strategy-arrow{color:#666}.strategy-pokemon{flex:1;color:#ffb347;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.strategy-value{color:gold;font-weight:700}.result-message-compact{font-size:.9rem;color:#ccc;margin:0;text-align:center;position:relative;z-index:1;padding:.5rem .75rem;background:#0000004d;border-left:3px solid rgba(255,179,71,.5);border-radius:4px 8px 8px 4px;line-height:1.4;font-weight:500}.result-header-compact.victory .result-message-compact{border-left-color:gold}.total-display-compact{display:flex;align-items:center;gap:.85rem;background:#00000059;padding:.5rem 1rem;border-radius:12px;border:1px solid rgba(255,255,255,.06)}.stat-box-compact{display:flex;flex-direction:column;gap:.1rem;align-items:center}.stat-label-compact{font-size:.62rem;color:#888;text-transform:uppercase;letter-spacing:.8px;font-weight:700}.stat-number-compact{font-size:1.5rem;font-weight:900;font-variant-numeric:tabular-nums;line-height:1}.stat-number-compact.success{color:gold;text-shadow:0 0 12px rgba(255,215,0,.4)}.stat-number-compact.failure{color:#ff6b6b}.stat-number-compact.target{color:#ddd}.stat-separator-compact{font-size:.8rem;color:#666;font-weight:700;text-transform:uppercase;letter-spacing:1px}.selected-stats-recap-compact{margin-bottom:0;background:linear-gradient(145deg,#282832f2,#191923fa);border:1px solid rgba(255,255,255,.08);border-radius:16px;box-shadow:0 4px 20px #0000004d;padding:.85rem 1rem;position:relative}.selected-stats-recap-compact:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#4ecdc4,#ffb347,#ff6b6b);border-radius:16px 16px 0 0}.stats-list-compact{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.stat-item-compact{padding:.5rem .6rem;background:linear-gradient(145deg,#ffffff0d,#ffffff05);border:1px solid rgba(255,255,255,.08);border-radius:10px;position:relative;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.stat-item-compact:hover{transform:translateY(-2px);border-color:#ffb34759;box-shadow:0 4px 12px #0000004d;z-index:10}.stat-item-compact:hover .all-stats-tooltip{opacity:1;visibility:visible;pointer-events:auto}.stat-item-content-compact{display:flex;align-items:center;gap:.55rem}.mini-sprite-compact{width:48px;height:48px;image-rendering:pixelated;filter:drop-shadow(0 2px 4px rgba(0,0,0,.3));flex-shrink:0}.stat-detail-compact{display:flex;flex-direction:column;gap:.1rem;flex:1;overflow:hidden;min-width:0}.pokemon-name-compact{font-size:.82rem;color:#ddd;text-transform:capitalize;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700;line-height:1.1}.stat-info-compact{display:flex;justify-content:space-between;align-items:baseline;gap:.4rem}.stat-name-compact{font-size:.62rem;color:#999;text-transform:uppercase;letter-spacing:.5px;font-weight:700;white-space:nowrap}.stat-value-compact{font-size:1.1rem;font-weight:900;color:#ffb347;font-variant-numeric:tabular-nums;line-height:1}.all-stats-tooltip{position:absolute;top:100%;left:50%;transform:translate(-50%);background:linear-gradient(145deg,#1e1e28fa,#14141efc);border:1px solid rgba(255,179,71,.35);border-radius:10px;padding:.6rem .7rem;width:150px;z-index:9999;opacity:0;visibility:hidden;transition:all .2s ease;box-shadow:0 6px 20px #00000080;margin-top:.4rem;pointer-events:none;text-align:left}.stat-card.stat-chosen:hover .all-stats-tooltip,.stat-card.stat-chosen:focus .all-stats-tooltip,.stat-card.stat-chosen:focus-within .all-stats-tooltip{opacity:1;visibility:visible;pointer-events:auto}.all-stats-tooltip h5{margin:0 0 .4rem;color:#ffb347;font-size:.7rem;font-weight:800;text-align:center;border-bottom:1px solid rgba(255,179,71,.25);padding-bottom:.3rem;text-transform:uppercase;letter-spacing:.6px}.all-stats-grid{display:flex;flex-direction:column;gap:.15rem}.stat-row{display:flex;justify-content:space-between;align-items:center;font-size:.72rem;padding:.12rem 0}.stat-row.max-stat{color:#7dd87d;font-weight:800}.stat-row .stat-label{color:#888;font-weight:700;text-transform:uppercase;letter-spacing:.3px;font-size:.65rem}.stat-row .stat-val{color:#ddd;font-weight:700;font-variant-numeric:tabular-nums}.stat-row.max-stat .stat-label{color:#7dd87d}.stat-row.max-stat .stat-val{color:#7dd87d;text-shadow:0 0 6px rgba(125,216,125,.4)}.result-buttons-compact{display:flex;gap:.6rem;justify-content:center;margin-top:0;flex-wrap:wrap;padding:.25rem 0}.restart-same-button-compact,.adjust-button-compact,.reset-button-compact{padding:.65rem 1.1rem;font-size:.85rem;font-weight:800;border:none;border-radius:10px;color:#fff;cursor:pointer;transition:transform .15s ease,box-shadow .2s ease,filter .2s ease;white-space:nowrap;text-transform:uppercase;letter-spacing:.8px;text-shadow:0 1px 3px rgba(0,0,0,.4);position:relative}.restart-same-button-compact:active,.adjust-button-compact:active,.reset-button-compact:active{transform:translateY(2px)}.restart-same-button-compact{background:linear-gradient(180deg,#ffc96b,#ffb347 40%,#ff6b6b);flex:1;min-width:140px;font-size:.95rem;box-shadow:0 4px #d44545,0 6px 12px #ff6b6b4d,inset 0 1px #ffffff59}.restart-same-button-compact:hover{transform:translateY(-1px);filter:brightness(1.05);box-shadow:0 5px #d44545,0 8px 18px #ff6b6b66,inset 0 1px #ffffff59}.restart-same-button-compact:active{box-shadow:0 2px #d44545,0 3px 8px #ff6b6b4d,inset 0 1px #ffffff59}.adjust-button-compact{flex:0 1 auto;min-width:74px}.adjust-button-compact.adjust-up{background:linear-gradient(180deg,#ffb84d,#ff8c00);box-shadow:0 3px #b36500,0 5px 10px #ff8c004d,inset 0 1px #ffffff4d}.adjust-button-compact.adjust-up:hover{transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 4px #b36500,0 6px 14px #ff8c0066,inset 0 1px #ffffff4d}.adjust-button-compact.adjust-up:active{box-shadow:0 1px #b36500,0 2px 6px #ff8c004d,inset 0 1px #ffffff4d}.adjust-button-compact.adjust-down{background:linear-gradient(180deg,#a584e4,#7b4dce);box-shadow:0 3px #5a2eb8,0 5px 10px #7b4dce4d,inset 0 1px #ffffff4d}.adjust-button-compact.adjust-down:hover{transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 4px #5a2eb8,0 6px 14px #7b4dce66,inset 0 1px #ffffff4d}.adjust-button-compact.adjust-down:active{box-shadow:0 1px #5a2eb8,0 2px 6px #7b4dce4d,inset 0 1px #ffffff4d}.reset-button-compact{background:linear-gradient(180deg,#7a7a82,#5a5a62);flex:0 1 auto;min-width:100px;box-shadow:0 3px #3a3a42,0 5px 10px #0000004d,inset 0 1px #fff3}.reset-button-compact:hover{transform:translateY(-1px);filter:brightness(1.1);box-shadow:0 4px #3a3a42,0 6px 14px #0006,inset 0 1px #fff3}.reset-button-compact:active{box-shadow:0 1px #3a3a42,0 2px 6px #0000004d,inset 0 1px #fff3}@media(max-width:768px){.result-header-compact{padding:1rem}.stats-list-compact{grid-template-columns:repeat(2,1fr)}.result-title-row{flex-direction:column;gap:.6rem;align-items:stretch}.result-title-row h1{font-size:1.3rem;text-align:center;justify-content:center}.total-display-compact{justify-content:center}.max-possible-score{align-self:center}.result-buttons-compact{flex-direction:column}.restart-same-button-compact,.adjust-button-compact,.reset-button-compact{width:100%}}@media(max-width:480px){.stats-list-compact{grid-template-columns:1fr}}@media(max-width:768px){.pokestats-game{max-width:414px;width:100%;margin:0 auto;padding-left:1rem;padding-right:1rem}.game-setup-dashboard{max-width:100%}.pokemon-card-game{grid-template-columns:1fr;max-width:100%;gap:.75rem;padding:.75rem}.pokemon-info{min-height:auto;padding:.25rem}.pokemon-sprite{width:110px;height:110px}.pokemon-info h2{font-size:1.1rem}.stats-grid{grid-template-columns:repeat(3,1fr);gap:.4rem}.stat-button-blind,.stat-card{min-height:70px;padding:.35rem .4rem}.stat-mystery{font-size:1.2rem}.stat-card .stat-value{font-size:1rem}.stat-sprite{width:26px;height:26px}.progress-info{flex-direction:column;gap:.5rem}.total-display{flex-direction:column;gap:1rem}.stats-list{grid-template-columns:1fr}.result-title-row{flex-direction:column;gap:1rem}.result-title-row h1{font-size:1.75rem}.result-buttons{flex-direction:column}.restart-same-button,.adjust-button,.reset-button{width:100%;min-width:auto}.filters-container{gap:1rem}.filter-category{padding:1rem}.category-title{font-size:1rem}.game-header{max-width:100%;padding:.75rem}.game-progress{flex-direction:column;align-items:flex-start}.current-total{padding-left:0;border-left:none;border-top:1px solid rgba(255,255,255,.1);padding-top:.5rem;margin-top:.5rem;width:100%}.game-result-compact{max-width:100%;padding:1rem}.stats-list-compact{grid-template-columns:1fr}}@media(min-width:769px){.filters-container{grid-template-columns:repeat(2,1fr)}.filter-category:first-child{grid-column:1 / -1}}.filters-container-new{display:grid;grid-template-columns:1fr;gap:1.5rem;margin-top:1.5rem}@media(min-width:900px){.filters-container-new{grid-template-columns:repeat(2,1fr)}.filter-section:first-child{grid-column:1 / -1}}.filter-section{background:#ffffff08;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:1.5rem;transition:all .3s}.filter-section:hover{background:#ffffff0d;border-color:#ffb3474d}.section-title{font-size:1.2rem;font-weight:600;color:#ffb347;margin:0 0 .5rem;display:flex;align-items:center;gap:.5rem}.section-description{font-size:.9rem;color:#888;margin:0 0 1rem;font-style:italic}.filter-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.filter-label{display:flex;flex-direction:column;gap:.5rem}.filter-label.full-width{grid-column:1 / -1}.label-icon{font-size:1.2rem;margin-right:.5rem}.filter-select-new{padding:.75rem 1rem;font-size:1rem;border:2px solid rgba(255,179,71,.4);border-radius:10px;background-color:#ffffff0d;color:inherit;transition:all .3s;cursor:pointer}.filter-select-new:hover:not(:disabled){border-color:#ffb347;background-color:#ffffff14}.filter-select-new:focus{outline:none;border-color:#ffb347;box-shadow:0 0 0 3px #ffb3471a}.filter-select-new:disabled{opacity:.5;cursor:not-allowed;border-color:#555}.checkbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.types-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.generations-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.filter-section.full-width{grid-column:1 / -1}.checkbox-label-new{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#ffffff0d;border:2px solid rgba(255,255,255,.1);border-radius:8px;cursor:pointer;transition:all .3s}.checkbox-label-new:hover{background:#ffffff1a;border-color:#ffb3474d;transform:translateY(-2px)}.checkbox-label-new:has(input:checked){background:#ffb34726;border-color:#ffb347;box-shadow:0 0 10px #ffb34733}.checkbox-input-new{width:20px;height:20px;cursor:pointer;accent-color:#ffb347;flex-shrink:0}.checkbox-text{display:flex;align-items:center;gap:.5rem;font-size:1rem;color:#ddd;flex:1}.checkbox-icon{font-size:1.2rem}.switch-container{position:relative;display:inline-block;width:50px;height:28px;margin-top:.25rem}.switch-input{opacity:0;width:0;height:0}.switch-slider{position:absolute;cursor:pointer;inset:0;background-color:#ffffff1a;border:2px solid rgba(255,255,255,.2);transition:.4s;border-radius:28px}.switch-slider:before{position:absolute;content:"";height:20px;width:20px;left:2px;bottom:2px;background-color:#888;transition:.4s;border-radius:50%}.switch-input:checked+.switch-slider{background-color:#ffb3474d;border-color:#ffb347}.switch-input:checked+.switch-slider:before{transform:translate(22px);background-color:#ffb347}.switch-slider:hover{background-color:#ffffff26}.switch-input:checked+.switch-slider:hover{background-color:#ffb34766}.filter-warning{display:flex;align-items:center;gap:.75rem;padding:1rem;background:#ff6b6b1a;border:2px solid rgba(255,107,107,.3);border-radius:8px;color:#ff6b6b;font-weight:500;margin-top:1rem}.warning-icon{font-size:1.5rem;flex-shrink:0}.config-row{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-top:1rem}.config-row-three{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:.5rem;align-items:start}.config-item{display:flex;flex-direction:column;gap:.25rem}.config-item label{display:flex;flex-direction:column;gap:.25rem;margin-bottom:0}.config-item .label-text{font-size:.9rem;margin-bottom:.25rem}.config-item .stat-input{padding:.5rem .75rem;font-size:.95rem}.config-item .hint{font-size:.8rem;margin-top:.25rem}.mode-buttons-compact{display:flex;gap:.5rem}.mode-button-compact{flex:1;display:flex;flex-direction:column;align-items:center;gap:.15rem;padding:.5rem .4rem;background:#ffffff0d;border:2px solid rgba(255,255,255,.1);border-radius:8px;cursor:pointer;transition:all .3s;color:inherit;font-family:inherit}.mode-button-compact:hover{background:#ffffff1a;border-color:#ffb3474d;transform:translateY(-2px)}.mode-button-compact.active{background:linear-gradient(135deg,#ffb34733,#ff6b6b33);border-color:#ffb347;box-shadow:0 0 15px #ffb3474d}.mode-button-compact .mode-icon{font-size:1.2rem}.mode-button-compact .mode-name{font-size:.8rem;font-weight:600;color:#ddd}.mode-hint{font-size:.75rem;margin-top:.15rem}.filter-mode-switch{margin-bottom:1.5rem;padding:1.5rem;background:#ffffff08;border:2px solid rgba(255,179,71,.3);border-radius:12px}.mode-switch-label{display:flex;flex-direction:column;gap:1rem}.mode-label-text{font-size:1.1rem;font-weight:600;color:#ffb347}.mode-buttons{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.mode-button{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1.25rem;background:#ffffff0d;border:2px solid rgba(255,255,255,.1);border-radius:12px;cursor:pointer;transition:all .3s;color:inherit;font-family:inherit}.mode-button:hover{background:#ffffff1a;border-color:#ffb3474d;transform:translateY(-2px)}.mode-button.active{background:linear-gradient(135deg,#ffb34733,#ff6b6b33);border-color:#ffb347;box-shadow:0 0 20px #ffb3474d}.mode-icon{font-size:2rem}.mode-name{font-size:1.1rem;font-weight:600;color:#ddd}.mode-description{font-size:.85rem;color:#888;text-align:center}.mode-explanation{font-size:.95rem;color:#aaa;line-height:1.5;padding:1rem;background:#ffb3470d;border-left:3px solid #ffb347;border-radius:8px;margin:0}@media(max-width:899px){.filters-container-new,.filter-row,.checkbox-grid{grid-template-columns:1fr}.filter-section{padding:1rem}.section-title{font-size:1.1rem}.mode-buttons,.config-row,.config-row-three{grid-template-columns:1fr}.mode-buttons-compact{flex-direction:column}}.game-result-container{display:flex;gap:1rem;width:100%;max-width:1400px;align-items:flex-start}.game-result-sidebar{flex:0 0 340px;position:sticky;top:1rem}.game-result-compact{flex:1;min-width:0}@media(max-width:1100px){.game-result-container{flex-direction:column;align-items:center;gap:.85rem}.game-result-sidebar{width:100%;max-width:600px;flex:none;position:static}.leaderboard-container{max-width:100%;margin-top:0}}*{box-sizing:border-box}#root{max-width:1400px;margin:0 auto;padding:2rem;text-align:center;width:100%}@media(max-width:768px){#root{padding:0}}.app{display:flex;flex-direction:column;align-items:center;min-height:100vh;position:relative;width:100%}.app-content{flex:1;width:100%;display:flex;flex-direction:column}.help-button{width:48px;height:48px;border-radius:24px;border:none;background:#00000080;color:#4ecdc4;font-size:1.2rem;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(5px);transition:all .3s ease}.help-button:hover{background:#4ecdc433;transform:scale(1.1);box-shadow:0 0 15px #4ecdc44d}@media(max-width:768px){.help-button{width:40px;height:40px;font-size:1rem}.app-content{width:100%;overflow-x:hidden}}
