:root{--bg:#0f1220;--panel:#1a1f35;--panel-2:#222848;--text:#eef1ff;--muted:#9aa3c7;--accent:#ffd23f;--accent-2:#4dd0e1;--danger:#ff6b6b;--danger-hover:#e05252;--border:#2a3050;--on-accent:#1a1a1a;--accent-hover:#dca93b;--gender-male:#5b9bd5;--gender-female:#e879b5}html{background:var(--bg);min-height:100%}html.light-mode,body.light-mode{--bg:#f0f2f5;--panel:#fff;--panel-2:#e8ecf1;--text:#1a1a2e;--muted:#6b7280;--border:#d1d5db;--accent:#c00;--accent-hover:#a30000;--accent-2:#0b6bcb;--on-accent:#fff;--danger:#c00;--danger-hover:#a30000}*{box-sizing:border-box}body{color:var(--text);background:0 0;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5;transition:background .3s,color .3s}.topbar{background:var(--panel);border-bottom:2px solid var(--border);z-index:10;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:14px 20px;display:flex;position:sticky;top:0}.topbar-left{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.brand{font-size:1.15rem;font-weight:800}.main-nav{flex-wrap:wrap;gap:6px;display:flex}.main-nav a{color:var(--text);background:var(--panel-2);border-radius:8px;padding:8px 14px;font-size:.95rem;text-decoration:none}.main-nav a:hover{background:var(--accent);color:var(--on-accent)}.theme-toggle{background:var(--panel-2);cursor:pointer;color:var(--text);border:none;border-radius:8px;padding:8px 12px;font-size:1.1rem}main{max-width:1100px;margin:0 auto;padding:20px}h1{margin-top:0}.search-wrapper{margin-bottom:24px;position:relative}.search-form{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.search-form input[type=text]{border:2px solid var(--border);background:var(--panel);color:var(--text);border-radius:10px;flex:200px;padding:12px 14px;font-size:1rem}.search-form button{background:var(--accent);color:var(--on-accent);cursor:pointer;border:none;border-radius:10px;padding:12px 18px;font-size:1rem;font-weight:700}.suggestions{z-index:20;background:var(--panel);border:2px solid var(--border);box-sizing:border-box;border-radius:0 0 12px 12px;max-height:340px;display:none;position:absolute;top:100%;left:0;right:0;overflow-y:auto}.suggestion-item{cursor:pointer;border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:8px 14px;display:flex}.suggestion-item:hover,.suggestion-active{background:var(--panel-2)}.suggestion-item img{width:36px;height:36px;image-rendering:pixelated;flex-shrink:0}.suggestion-item img.sprite-3d{image-rendering:auto;object-fit:contain}.suggestion-item span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.95rem;overflow:hidden}.suggestion-type{flex-shrink:0;justify-content:flex-start;width:66px;display:flex}.suggestion-type .type-badge{padding:3px 7px;font-size:.68rem}.pokemon-card{background:var(--panel);border:2px solid var(--border);border-radius:16px;padding:18px}.game-select-row{margin-bottom:12px}.game-buttons{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.game-btn{border:2px solid var(--border);background:var(--btn-bg,var(--panel));color:var(--text);cursor:pointer;border-radius:8px;padding:6px 12px;font-size:.85rem}.game-btn.active{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.pokemon-top{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.pokemon-head{flex-wrap:wrap;align-items:flex-end;gap:16px;display:flex}.pokemon-sprite{object-fit:contain;width:auto;max-width:200px;height:112px;image-rendering:pixelated;flex:none}.dex{color:var(--muted);font-size:1rem}.types{margin-top:6px}.type-badge{background:var(--accent-2);color:#06222a;text-transform:capitalize;border-radius:999px;margin:0 6px 4px 0;padding:3px 10px;font-size:.8rem;font-weight:700;display:inline-block}.stats{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:16px 0;padding:0;list-style:none;display:grid}.stats li{background:var(--panel-2);border-radius:10px;justify-content:space-between;padding:10px;display:flex}.stats li>span{color:var(--muted)}h3 .stat-total{color:var(--muted);font-weight:600}.abilities-section{margin-top:16px}.ability-list{border:1px solid var(--border);border-radius:10px;overflow:hidden}.ability-row{border-bottom:1px solid var(--border);color:var(--text);flex-direction:column;align-items:flex-start;gap:4px;padding:10px 14px;text-decoration:none;display:flex}.ability-row:last-child{border-bottom:none}.ability-row:hover{background:var(--panel-2)}.ability-name{font-weight:600}.hidden-tag{background:var(--danger);color:#fff;border-radius:4px;margin-left:6px;padding:1px 6px;font-size:.7rem;font-weight:700;display:inline-block}.gender-male{color:var(--gender-male)}.gender-female{color:var(--gender-female)}.ability-effect{color:var(--muted);text-align:left;font-size:.85rem}.moves-section{margin-top:20px}.moves-section-head{align-items:center;gap:12px;margin-bottom:10px;display:flex}.moves-section-head h3{margin:0;font-size:1rem}.moves-section-head>:last-child:not(h3){margin-left:auto}.move-search{border:2px solid var(--border);background:var(--panel);width:100%;color:var(--text);border-radius:8px;margin-bottom:10px;padding:10px 14px;font-size:.95rem}.moves-list{border:1px solid var(--border);border-radius:10px;max-height:320px;overflow-y:auto}.moves-list::-webkit-scrollbar{width:8px}.moves-list::-webkit-scrollbar-track{background:var(--panel);border-radius:4px}.moves-list::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}.moves-table{border-collapse:collapse;table-layout:fixed;width:100%}.moves-table th{text-align:left;border-bottom:2px solid var(--border);color:var(--muted);background:var(--panel);padding:8px 12px;font-size:.85rem;position:sticky;top:0}.moves-table{min-width:560px}.moves-list{overflow-x:auto}.moves-table th:first-child{width:22%}.moves-table th:nth-child(2){width:8%}.moves-table th:nth-child(3){width:14%}.moves-table th:nth-child(4){width:16%}.moves-table th:nth-child(5){width:13%}.moves-table th:nth-child(6),.moves-table th:nth-child(7),.moves-table th:nth-child(8){width:9%}.moves-table.mon-moves th:first-child{width:26%}.moves-table.mon-moves th:nth-child(2){width:9%}.moves-table.mon-moves th:nth-child(3){width:16%}.moves-table.mon-moves th:nth-child(4){width:13%}.moves-table.mon-moves th:nth-child(5){width:10%}.moves-table.mon-moves th:nth-child(6){width:9%}.moves-table.mon-moves th:nth-child(7){width:8%}.moves-table.mon-moves th:nth-child(8){width:9%}.moves-table .type-badge{margin:0;padding:2px 8px;font-size:.72rem}.mm-cat-physical{color:#e0803a}.mm-cat-special{color:#5b9bf0}.mm-cat-status{color:var(--muted)}.moves-table td{border-bottom:1px solid var(--border);text-overflow:ellipsis;white-space:nowrap;padding:8px 12px;font-size:.9rem;overflow:hidden}.move-link{color:var(--accent-2);text-decoration:none}.move-link:hover{text-decoration:underline}.move-effect-box{margin-top:14px}.move-effect{color:var(--muted);font-size:.95rem}.nature-effect-box{margin-top:14px}.nature-stats{flex-wrap:wrap;gap:10px;margin-bottom:10px;display:flex}.nature-stat{border:1px solid var(--border);border-radius:8px;padding:6px 12px;font-size:.9rem;font-weight:700}.nature-stat-up{color:#34d399;border-color:#34d399}.nature-stat-down{color:#f87171;border-color:#f87171}.nature-stat-none{color:var(--muted)}.tc-caption{color:var(--muted);margin:0 0 10px;font-size:.9rem}.tc-grid{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.tc-cell{flex-direction:column;flex:0 0 84px;align-items:center;gap:4px;display:flex}.tc-cell .type-badge{text-align:center;white-space:nowrap;width:100%;margin:0;padding-left:0;padding-right:0;font-size:.75rem}.tc-mult{text-align:center;border-radius:6px;min-width:38px;padding:2px 6px;font-size:.85rem}.tc-1{color:var(--muted);font-weight:400}.tc-x2{color:#fff;background:#2e7d32}.tc-x4{color:#fff;background:#1b5e20}.tc-h{color:#fff;background:#b26a00}.tc-q{color:#fff;background:#8a4b00}.tc-0{color:#fff;background:#333}.sub-tabs{gap:8px;margin-bottom:12px;display:flex}.sub-tab{border:2px solid var(--border);background:var(--btn-bg,var(--panel));color:var(--text);cursor:pointer;border-radius:8px;padding:8px 18px;font-weight:600}.sub-tab.active{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.remove{background:var(--danger);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:2px 8px;position:absolute;top:8px;right:8px}.empty{color:var(--muted)}.saved{color:var(--accent-2)}.type-normal{background:#a8a878}.type-fire{background:#f08030}.type-water{background:#6890f0}.type-grass{background:#78c850}.type-electric{color:#333;background:#f8d030}.type-ice{color:#333;background:#98d8d8}.type-fighting{background:#c03028}.type-poison{background:#a040a0}.type-ground{color:#333;background:#e0c068}.type-flying{background:#a890f0}.type-bug{background:#a8ac78}.type-rock{background:#b8a038}.type-ghost{background:#705898}.type-dragon{background:#7038f8}.type-dark{background:#705848}.type-steel{background:#789098}.type-fairy{background:#ee99ac}@media (width<=700px){.pokemon-sprite{width:auto;height:88px}.main-nav a{padding:6px 10px;font-size:.85rem}.topbar-left{gap:8px}}.type-psychic{background:#f85888}.type-stellar{background:#40b5a5}.type-shadow{background:#4a3f6b}.type-unknown{background:#68a090}.type-physical{background:#c92112}.type-special{background:#4f5870}.type-status{background:#8c888c}body{--main-bg:#080a12e0;--topbar-h:74px;--strips-h:48px}body.light-mode{--main-bg:#ffffffeb}body:before{content:"";z-index:-1;pointer-events:none;background: linear-gradient(to bottom, #ff0 0 31%, red 31% 69%, #ff0 69% 100%) 0 var(--topbar-h) / 100% var(--strips-h) no-repeat, radial-gradient(circle at 50% 50%, #dba83c 0 48px, #cf9c30 48px 74px, #e3ab3b 74px 97px, transparent 97px), linear-gradient(to bottom, transparent 0 calc(50% - 16px), #e3ab3b calc(50% - 16px) calc(50% + 16px), transparent calc(50% + 16px) 100%), radial-gradient(circle at 50% 50%, #b0a898 0 111px, transparent 112px), linear-gradient(to bottom, #000 0 calc(50% - 26px), #b0a898 calc(50% - 26px) calc(50% - 16px), #e3ab3b calc(50% - 16px) calc(50% + 16px), #b0a898 calc(50% + 16px) calc(50% + 26px), #000 calc(50% + 26px) 100%);position:fixed;inset:0}body.light-mode:before{background:radial-gradient(circle,#fff 0 48px,#f0f0f0 48px 73px,#c00 73px 96px,#0000 97px),linear-gradient(#fff 0 calc(50% - 16px),#c00 calc(50% - 16px) calc(50% + 16px),#fff calc(50% + 16px) 100%)}main{background:var(--main-bg);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-radius:16px;width:min(1100px,100% - 24px);max-width:none;margin:32px auto 24px;padding:24px}.site-footer{z-index:10;text-align:center;background:#000;border-top:3px solid #b0a898;margin:0;padding:10px 20px;position:fixed;bottom:0;left:0;right:0}body.light-mode .site-footer{background:#ebebeb;border-top:4px solid #000}body{padding-bottom:64px}.topbar{background:#000;border-bottom:none}body.light-mode .topbar{background:#fff;border-bottom:4px solid #000}.brand{background:var(--panel-2);border-radius:8px;align-items:center;gap:8px;padding:5px 16px 5px 8px;display:flex}.brand img{width:30px;height:30px;display:block}a.brand{color:inherit;text-decoration:none}body:not(.light-mode) .brand img{filter:drop-shadow(0 0 1px #fff)drop-shadow(0 0 2px #ffffffb3)}body.light-mode .brand,body.light-mode .main-nav a{box-shadow:0 0 0 2px #000}.theme-toggle{cursor:pointer;background:0 0;border:none;border-radius:50%;place-items:center;width:46px;height:46px;padding:0;transition:transform .15s;display:grid;box-shadow:0 0 0 2px #b0a898}.theme-toggle:hover{transform:scale(1.08)}.theme-toggle img{border-radius:50%;width:100%;height:100%;display:block}.theme-toggle .ico-light{display:none}body.light-mode .theme-toggle{box-shadow:0 0 0 3px #000}body.light-mode .theme-toggle .ico-light{display:block}body.light-mode .theme-toggle .ico-dark{display:none}.profile-pic{background:var(--panel-2);cursor:pointer;width:46px;height:46px;color:var(--muted);border:none;border-radius:50%;place-items:center;padding:0;text-decoration:none;transition:transform .15s;display:grid;position:relative;overflow:hidden;box-shadow:0 0 0 2px #b0a898}body.light-mode .profile-pic{box-shadow:0 0 0 3px #000}.profile-pic:hover{transform:scale(1.08)}.profile-pic img{object-fit:cover;border-radius:50%;width:100%;height:100%;display:block}.profile-pic.busy{opacity:.6}.profile-pic svg{width:24px;height:24px}.profile-pic-signup{background:var(--panel-2);color:var(--text);white-space:nowrap;border-radius:8px;align-items:center;padding:8px 14px;font-size:.95rem;text-decoration:none;transition:background .15s,color .15s;display:inline-flex}body.light-mode .profile-pic-signup{box-shadow:0 0 0 2px #000}.profile-pic-signup:hover{background:var(--accent);color:var(--on-accent)}body.light-mode .profile-avatar{box-shadow:0 0 0 3px #000}.profile-name-input{border:2px solid var(--border);background:var(--panel-2);color:var(--text);border-radius:8px;padding:10px 12px;font-size:1rem}.profile-name-input:focus{border-color:var(--accent-2);outline:none}.profile-pw-wrap{align-items:center;display:flex;position:relative}.profile-pw-wrap .profile-name-input{width:100%;padding-right:44px}.profile-pw-toggle{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;right:8px}.profile-pw-toggle:hover{background:var(--panel);color:var(--text)}.profile-pw-rules{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.profile-pw-rules li{color:var(--muted);font-size:.85rem}.profile-pw-rules li.rule-ok{color:var(--accent-2)}.profile-pw-rules li.rule-bad{color:var(--muted);opacity:.7}.profile-danger-text{color:var(--text);margin:0 0 4px;font-size:.9rem}.site-footer a{color:var(--accent-2)}body.light-mode .site-footer a{color:#0b6bcb}.main-nav{gap:10px}.fav-toggle,.shiny-toggle{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:12px;font-weight:700;display:inline-flex;position:relative}.shiny-toggle{margin:0 14px 10px 0;font-size:1rem}.fav-toggle input,.shiny-toggle input{opacity:0;width:0;height:0;position:absolute}.toggle-slider{background:var(--panel-2);width:2.4em;height:1.3em;box-shadow:inset 0 0 0 2px var(--border);border-radius:999px;flex-shrink:0;transition:background .2s,box-shadow .2s;position:relative}.toggle-slider:after{content:"";background:var(--muted);border-radius:50%;width:.9em;height:.9em;transition:transform .2s,background .2s;position:absolute;top:.2em;left:.2em}.shiny-toggle .toggle-slider{font-size:1.15rem}.fav-toggle input:checked~.toggle-slider,.shiny-toggle input:checked~.toggle-slider{background:var(--hover-bg);box-shadow:inset 0 0 0 2px var(--hover-bg)}.fav-toggle input:checked~.toggle-slider:after,.shiny-toggle input:checked~.toggle-slider:after{background:var(--hover-text);transform:translate(1.1em)}.fav-toggle input:focus-visible~.toggle-slider,.shiny-toggle input:focus-visible~.toggle-slider{outline:3px solid var(--accent-2);outline-offset:2px}.game-select-row{flex-wrap:wrap;align-items:center;column-gap:14px;display:flex}.no-shiny-sprite{text-align:center;border:2px dashed var(--border);width:96px;min-height:96px;color:var(--muted);border-radius:12px;justify-content:center;align-items:center;padding:6px;font-size:.8rem;line-height:1.25;display:flex}.no-shiny-sprite[hidden],.pokemon-sprite[hidden]{display:none}.lightbox-shiny{margin:0}.lightbox-no-shiny[hidden],#lightbox-img[hidden]{display:none}@media (width<=600px){.no-shiny-sprite{width:72px;min-height:72px}}img{max-width:100%}.topbar-actions{align-items:center;gap:10px;display:flex}.nav-toggle{background:var(--panel-2);cursor:pointer;-webkit-tap-highlight-color:transparent;border:none;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:46px;height:46px;padding:0;display:none;box-shadow:0 0 0 2px #b0a898}body.light-mode .nav-toggle{box-shadow:0 0 0 3px #000}.nav-toggle .bar{background:var(--text);border-radius:2px;width:22px;height:3px;transition:transform .2s,opacity .2s;display:block}.nav-toggle:focus-visible{outline:3px solid var(--accent-2);outline-offset:3px}.topbar.nav-open .nav-toggle .bar:first-child{transform:translateY(8px)rotate(45deg)}.topbar.nav-open .nav-toggle .bar:nth-child(2){opacity:0}.topbar.nav-open .nav-toggle .bar:nth-child(3){transform:translateY(-8px)rotate(-45deg)}@media (width<=960px){.topbar{flex-wrap:nowrap;padding:10px 14px}.nav-toggle{display:flex}.main-nav{z-index:2;background:#000;border-bottom:4px solid #b0a898;flex-flow:column;gap:8px;max-height:calc(100vh - 76px);padding:12px 14px 16px;display:none;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 12px 24px #00000073}body.light-mode .main-nav{background:#c00;border-bottom-color:#000}.topbar.nav-open .main-nav{display:flex}.main-nav a{align-items:center;min-height:46px;padding:10px 16px;font-size:1.05rem;font-weight:600;display:flex}}@media (width<=600px){.topbar-left{min-width:0}.brand{padding:4px 12px 4px 6px;font-size:1rem}.brand img{width:26px;height:26px}.theme-toggle,.nav-toggle{width:42px;height:42px}.topbar-actions{gap:8px}main{border-radius:12px;width:calc(100% - 16px);margin:28px auto 16px;padding:16px 14px}h1{font-size:1.5rem}.search-form{gap:8px}.search-form input[type=text]{flex:100%}.search-form button{flex:100%;min-height:46px}.search-form:not(.compare-form) input[type=text]{flex:1 1 0;min-width:0;height:46px;padding:0 14px}.sub-tab{flex:1;padding:10px 12px}.game-btn{padding:8px 12px}.pokemon-top{flex-direction:column;align-items:stretch}.stats{grid-template-columns:repeat(2,1fr)}.moves-table th,.moves-table td{padding:8px 6px}.site-footer{padding:8px 12px;font-size:.8rem}body{padding-bottom:56px}}body{--hover-bg:var(--accent-hover);--hover-border:var(--accent-hover);--hover-text:var(--on-accent);--btn-bg:var(--panel)}body.light-mode{--hover-bg:#fff;--hover-border:#000;--hover-text:var(--on-accent);--btn-bg:var(--panel-2)}body .main-nav a:hover,body .main-nav a:active:hover,body .search-form button:hover,body .search-form button:active:hover,body .game-btn:hover,body .game-btn:active:hover,body .sub-tab:hover,body .sub-tab:active:hover,body .remove:hover,body .remove:active:hover,body .lightbox-close:hover,body .lightbox-close:active:hover,body .nav-toggle:hover,body .nav-toggle:active:hover{background:var(--hover-bg);border-color:var(--hover-border);color:var(--hover-text)}body .nav-toggle:hover .bar,body .nav-toggle:active:hover .bar{background:var(--hover-text)}.main-nav a,.search-form button,.game-btn,.sub-tab,.remove,.lightbox-close,.nav-toggle{-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.form-toggle{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.form-toggle-grid{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;max-width:100%}.form-toggle-grid .form-grid{min-width:0;max-width:min(100%, calc(var(--form-cols,4) * 126px));flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.form-toggle-label{color:var(--muted);margin-right:2px;font-size:.85rem;font-weight:700}.pokemon-sprite.non-square{flex:none;width:auto;max-width:200px}@media (width<=700px){.pokemon-sprite{width:auto;max-width:150px;height:88px}}.pokemon-title{margin:6px 0 16px}.no-abilities{margin:4px 0 0}.pokemon-sprite.smooth,.sprite-item img.smooth,.lightbox-content img.smooth{image-rendering:auto}body.light-mode{--hover-bg:var(--accent)}body.light-mode .remove:hover,body.light-mode .remove:active{background:var(--danger-hover);border-color:var(--danger-hover)}body{--search-tint:#dca93b29}body.light-mode{--search-tint:#cc00001a}.search-form input[type=text]{transition:background-color .15s,background-image .15s}.search-form input[type=text]:hover{background-image:linear-gradient(var(--search-tint), var(--search-tint))}.fav-toggle{margin:0;font-size:1rem}.fav-toggle .toggle-slider,.shiny-toggle .toggle-slider{font-size:1.15rem}.toggle-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.game-info{flex-direction:column;gap:18px;display:flex}.gi-list{margin:0;padding:0;list-style:none}.gi-list li{border-bottom:1px solid var(--border);background:var(--panel-2);flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding:9px 12px;display:flex}.gi-list li:first-child{border-radius:10px 10px 0 0}.gi-list li:last-child{border-bottom:0;border-radius:0 0 10px 10px}.gi-list li:only-child{border-radius:10px}.gi-table{border-collapse:collapse;width:100%;font-size:.9rem}.gi-table th,.gi-table td{text-align:left;border-bottom:1px solid var(--border);padding:8px 10px}.gi-table th{background:var(--panel);color:var(--muted);position:sticky;top:0}.search-wrapper>.suggestions{width:calc(100% - 108px);right:auto}@media (width<=640px){.search-wrapper>.suggestions{width:100%}}.cmp-section{border:1px solid var(--border);border-radius:12px;min-width:0;margin:0;padding:12px 14px}.cmp-section>h3{margin:0 0 10px;font-size:1rem}.cmp-section .stats{margin:0}.cmp-section .ability-list{border:0;border-radius:0}.cmp-section .ability-row{padding-left:0;padding-right:0}.cmp-section .game-select-row,.cmp-section .game-buttons{margin-bottom:0}#tab-details>.cmp-section+.cmp-section{margin-top:14px}.cmp-controls .game-buttons+.toggle-row{margin-top:10px}.cmp-section .move-effect{margin:0}body .main-nav a.active,body .main-nav a[aria-current=page]{background:var(--hover-bg);color:var(--hover-text);pointer-events:none;cursor:default}html,body{overflow-x:clip}@media (width<=600px){.search-form input[type=text],.compare-form input[type=text]{font-size:16px}.pokemon-card{padding:14px}.pokemon-head{gap:12px}.pokemon-head h2,.pokemon-top h2,.pokemon-title{overflow-wrap:anywhere;font-size:1.3rem;line-height:1.2}.stats{gap:8px}.stats li{padding:8px 10px}.game-buttons{-webkit-overflow-scrolling:touch;scrollbar-width:thin;flex-wrap:nowrap;gap:6px;padding-bottom:8px;overflow-x:auto}.game-buttons .game-btn{white-space:nowrap;flex:none}.sub-tabs{flex-wrap:wrap}.sub-tab{text-align:center;flex:calc(50% - 8px)}.cmp-section{padding:10px}.suggestions{max-height:50vh;overflow-y:auto}}@media (width<=380px){main{padding:14px 10px}h1{font-size:1.3rem}.brand{font-size:.95rem}.stats{grid-template-columns:1fr 1fr}}.mon-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:600px}.mon-table th{text-align:left;border-bottom:2px solid var(--border);color:var(--muted);background:var(--panel);z-index:1;padding:10px 16px;font-size:.85rem;position:sticky;top:0}.mon-table th.mon-col-num{width:8%}.mon-table th.mon-col-sprite{width:13%}.mon-table th.mon-col-type{width:15%}.mon-table th.mon-col-hidden{width:20%}.mon-table td{border-bottom:1px solid var(--border);vertical-align:middle;text-overflow:ellipsis;white-space:nowrap;padding:6px 16px;font-size:.9rem;overflow:hidden}.mon-table .mon-num{color:var(--muted)}.mon-table img.mon-sprite{object-fit:contain;width:48px;height:48px;image-rendering:pixelated;display:block}.mon-table img.mon-sprite.sprite-3d{image-rendering:auto}.sprite-ph:not([data-loaded]){background:var(--ph) center / contain no-repeat}.pokemon-sprite.sprite-ph:not([data-loaded]){min-width:112px}@media (width<=700px){.pokemon-sprite.sprite-ph:not([data-loaded]){min-width:88px}}.mon-table .type-badge{margin:0;padding:2px 10px;font-size:.75rem}.mon-table .hidden-tag{margin-left:0}.mon-table .mon-none{color:var(--muted)}.pokemon-sprite,.pokemon-sprite.non-square{object-fit:contain;width:200px;max-width:none;height:200px}.no-shiny-sprite{width:200px;min-height:200px}@media (width<=700px){.pokemon-sprite,.pokemon-sprite.non-square{width:140px;max-width:none;height:140px}.no-shiny-sprite{width:140px;min-height:140px}}.last-search{color:var(--muted);margin:10px 0 0}.last-search a{font-weight:600}.game-fav-row{flex-wrap:wrap;align-items:center;gap:0 6px;display:flex}.game-fav-row>.fav-toggle{white-space:nowrap;margin:0 0 10px auto;padding-left:8px}@media (width<=600px){.game-fav-row>.fav-toggle{margin:0 0 8px auto}}.pokemon-sprite.item-sprite{width:96px;max-width:none;height:96px}@media (width<=700px){.pokemon-sprite.item-sprite{width:72px;height:72px}}.title-fav-row .pokemon-title{margin:0 0 10px}.title-fav-row{justify-content:space-between}@media (width<=600px){.game-fav-row{flex-wrap:nowrap}.game-fav-row .game-select-wrap{flex:1 1 0;grid-template-columns:minmax(0,1fr);min-width:0}.game-fav-row>.fav-toggle{flex:none;margin:0 0 8px auto}.game-fav-row .shiny-toggle{margin:0}.title-fav-row{flex-wrap:wrap}.title-fav-row .pokemon-title{flex:1 1 0;min-width:0;margin:0 0 8px}.title-fav-row>.fav-toggle{margin:0 0 8px auto}.cmp-controls .game-buttons{flex:0 0 100%;width:100%;min-width:0}.cmp-controls .game-buttons+.toggle-row{margin-top:8px}}.ability-row.passive:hover{background:0 0}.game-info{gap:14px}.filter-bar{margin:0}.filter-bar[hidden],.filter-panel[hidden]{display:none}.filter-toggle,.filter-clear{border:2px solid var(--border);background:var(--btn-bg,var(--panel));color:var(--text);cursor:pointer;border-radius:10px;padding:8px 14px;font-size:.95rem;font-weight:700}.filter-toggle.open,.filter-toggle.has-filters{border-color:var(--hover-bg)}.filter-toggle[hidden]{display:none}.search-form .filter-toggle{border:2px solid var(--border);background:var(--btn-bg,var(--panel));color:var(--text);white-space:nowrap;padding:10px 16px;font-size:.95rem}.search-form .filter-toggle.open,.search-form .filter-toggle.has-filters{border-color:var(--hover-bg)}.filter-toggle:disabled,.filter-clear:disabled{opacity:.45;cursor:default}body .filter-toggle:hover,body .filter-toggle:active,body .filter-clear:hover:not(:disabled),body .filter-clear:active:not(:disabled){background:var(--hover-bg);border-color:var(--hover-border);color:var(--hover-text)}.filter-panel{background:var(--panel);border:2px solid var(--border);border-radius:12px;margin:0 0 12px;padding:14px}.filter-panel-wrap{flex:100%}.filter-panel-wrap[hidden]{display:none}.filter-panel-wrap:not([hidden]),.search-form>.filter-panel-wrap:not([hidden]){display:block}.filter-grid{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.filter-field{flex-direction:column;flex:150px;gap:4px;min-width:0;display:flex}.filter-clear-cell{flex:none}.filter-clear-cell .filter-clear{white-space:nowrap;padding:9px 14px}.filter-label{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:.8rem;font-weight:700}.filter-field select{border:2px solid var(--border);background:var(--panel-2);width:100%;color:var(--text);border-radius:10px;padding:9px 10px;font-size:.95rem}.filter-field select:hover,.filter-field select:focus{background-image:linear-gradient(var(--search-tint), var(--search-tint))}.filter-toggle-btn{border:2px solid var(--border);background:var(--panel-2);width:100%;color:var(--text);text-align:left;white-space:nowrap;text-overflow:ellipsis;border-radius:10px;padding:9px 10px;font-size:.95rem;font-weight:700;overflow:hidden}.filter-toggle-btn:hover{background-image:linear-gradient(var(--search-tint), var(--search-tint))}.filter-toggle-btn.has-filters{border-color:var(--accent-2);background-image:linear-gradient(var(--search-tint), var(--search-tint))}.filter-multi{position:relative}.multi-btn{text-align:left;border:2px solid var(--border);background:var(--panel-2);width:100%;color:var(--text);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;border-radius:10px;padding:9px 34px 9px 10px;font-size:.95rem;position:relative;overflow:hidden}.multi-btn:after{content:"";border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);width:9px;height:9px;margin-top:-6px;position:absolute;top:50%;right:12px;transform:rotate(45deg)}.multi-btn.open:after{margin-top:3px;transform:rotate(225deg)}.multi-btn:hover,.multi-btn:focus-visible,.multi-btn.open{background-image:linear-gradient(var(--search-tint), var(--search-tint))}.multi-list{z-index:30;background:var(--panel);border:2px solid var(--border);border-radius:10px;grid-template-columns:1fr 1fr;gap:2px 8px;width:max-content;min-width:100%;max-width:min(320px,90vw);max-height:280px;margin-top:4px;padding:6px;display:grid;position:absolute;top:100%;left:0;overflow-y:auto;box-shadow:0 6px 18px #00000059}.multi-list[hidden]{display:none}.multi-opt{cursor:pointer;white-space:nowrap;border-radius:6px;align-items:center;gap:8px;padding:6px 8px;font-size:.95rem;display:flex}.multi-opt:hover{background:var(--panel-2)}.multi-opt.disabled{opacity:.45;cursor:not-allowed}.multi-opt input{appearance:none;border:1.5px solid var(--muted);background:var(--panel-2);cursor:pointer;border-radius:4px;flex:none;width:16px;height:16px;margin:0;position:relative}.multi-opt input:checked{background:var(--hover-bg);border-color:var(--hover-border)}.multi-opt input:checked:after{content:"";border:solid var(--hover-text);border-width:0 2px 2px 0;width:4px;height:8px;position:absolute;top:.5px;left:4px;transform:rotate(45deg)}.multi-opt.disabled input{cursor:not-allowed}.filter-summary{color:var(--muted);margin-bottom:8px;font-size:.9rem}.filter-summary:empty{display:none}.suggestion-empty{color:var(--muted);padding:12px 14px;font-size:.95rem}@media (width<=640px){.filter-toggle{width:100%;min-height:44px}.filter-field{flex:calc(50% - 6px)}.filter-clear-cell{flex:100%}.filter-clear-cell .filter-clear{width:100%;min-height:44px}}.evo-tree{padding:4px 2px 10px;overflow-x:auto}.evo-group{align-items:center;display:flex}.evo-branches{flex-direction:column;gap:8px;display:flex}.evo-branch{align-items:center;display:flex}.evo-node{box-sizing:border-box;border:2px solid var(--border);background:var(--btn-bg,var(--panel));min-width:108px;color:var(--text);text-align:center;cursor:pointer;border-radius:8px;flex-direction:column;align-items:center;gap:2px;padding:4px 6px;font-size:.84rem;font-weight:600;text-decoration:none;display:flex}.evo-sprite{object-fit:contain;image-rendering:auto;width:72px;height:72px}.evo-sprite.pixel,.form-sprite.pixel{image-rendering:pixelated}body .evo-node:hover,body .evo-node:active{background:var(--hover-bg);border-color:var(--hover-border);color:var(--hover-text)}body .evo-node.evo-current,body .evo-node[aria-current=true]{background:var(--hover-bg);border-color:var(--hover-bg);color:var(--hover-text);pointer-events:none;cursor:default}.evo-node.unavailable{opacity:.5}.evo-dynamax{object-fit:contain;width:26px;height:22px}.evo-arrow{flex:0 0 92px;grid-template-rows:1fr auto 1fr;align-self:stretch;justify-items:center;width:92px;padding:0 2px;display:grid}.evo-labels{flex-wrap:wrap;grid-row:1;justify-content:center;align-self:end;align-items:flex-end;gap:2px 8px;max-width:100%;padding-bottom:2px;display:flex}.evo-arrow-glyph{grid-row:2}.evo-label{text-align:center;flex-direction:column;align-items:center;line-height:1.15;display:flex}.evo-text{font-size:.9rem;font-weight:700}.evo-sub{color:var(--muted);font-size:.66rem}.evo-item{color:var(--text);border-radius:4px;flex-direction:column;align-items:center;font-size:.72rem;font-weight:700;text-decoration:none;display:inline-flex}.evo-item img{object-fit:contain;width:19px;height:19px;image-rendering:pixelated}.evo-icon{object-fit:contain;width:19px;height:19px;image-rendering:pixelated;vertical-align:middle}.evo-item:hover,.evo-item:focus-visible{background:var(--hover-bg);color:var(--hover-text);outline:none}.evo-partner{color:var(--muted);margin-top:2px;font-size:.62rem;font-weight:700}.evo-arrow-glyph:before{content:"→";color:var(--muted);font-size:1.08rem;line-height:1}.evo-arrow-glyph.two-way:before{content:"⇄"}.evo-arrow-glyph.two-way-v:before{content:"⇄";display:inline-block;transform:rotate(90deg)}@media (width<=600px){.evo-group,.evo-branch{flex-direction:column}.evo-branches{align-items:center}.evo-arrow{flex-direction:column;flex:none;align-self:auto;align-items:center;width:auto;padding:4px 0;display:flex}.evo-arrow-glyph:before{content:"↓"}.evo-arrow-glyph.two-way:before{content:"↕"}}.type-badge.item-tag{color:#fff}.type-badge.item-tag-evolution{background:#2e9d5b}.type-badge.item-tag-form{background:#8a5bd6}.form-btn.unavailable{opacity:.5;filter:grayscale()}.form-sprite{object-fit:contain;image-rendering:auto;width:72px;height:72px}.form-sprite.smooth,.evo-sprite.smooth{image-rendering:auto}.evo-lines{justify-content:start;align-items:start;gap:14px 28px;display:grid}.evo-line{min-width:0}.types-col{flex-direction:column;align-items:center;gap:8px;display:flex}.types-row{justify-content:center;align-items:center;width:100%;min-height:32px;display:flex;position:relative}.types-row .types{justify-content:center;width:100%;margin-top:0}.types-row .gender-btn{position:absolute;top:50%;left:0;transform:translateY(-50%)}.types-col .form-toggle{justify-content:center;margin-top:0}.pokemon-side .evolution-section h3{margin:0 0 6px;line-height:1}.stats li.stat-hp{--stat-c:#e5484d}.stats li.stat-attack{--stat-c:#f08a24}.stats li.stat-defense{--stat-c:#e0b81a}.stats li.stat-special-attack,.stats li.stat-special{--stat-c:#3b82f6}.stats li.stat-special-defense{--stat-c:#3fae5a}.stats li.stat-speed{--stat-c:#e56fb0}.form-toggle .form-toggle-label{color:inherit;flex:0 0 100%;margin:0 0 4px;font-size:1.17em;font-weight:700;line-height:1}.evo-special,.evo-special:visited{color:inherit;text-decoration:none}.evo-sub.evo-special{text-decoration:underline}@media (width>=701px){.pokemon-abilities{grid-area:1/3/4;align-self:start;margin-top:0}.pokemon-side .evolution-section{width:100%}.pokemon-side .evolution-section h3,.pokemon-side .form-toggle .form-toggle-label{text-align:center}.pokemon-side .evo-tree{flex-direction:column;align-items:safe center;width:100%;max-width:100%;display:flex}}@media (width<=700px){.pokemon-stats,.pokemon-abilities{width:100%;max-width:none;margin-top:12px}}.evo-ring{width:min(100%,620px);margin:6px auto 12px;position:relative;container-type:inline-size}.evo-ring[hidden]{display:none}.ring-arrow{z-index:1;pointer-events:none;position:absolute}.ring-arrow.unavailable,.ring-label.unavailable .evo-label{opacity:.5}.evo-ring .ring-node{z-index:2;gap:0;min-width:0;padding:1cqw 1.4cqw;font-size:clamp(10px,2.7cqw,13px);position:absolute;transform:translate(-50%,-50%)}.evo-ring .ring-node .evo-sprite{width:9.5cqw;height:9.5cqw}.evo-ring .ring-root .evo-sprite{width:12.5cqw;height:12.5cqw}.ring-label{z-index:1;background:var(--panel);text-align:center;border-radius:6px;flex-direction:column;align-items:center;max-width:17cqw;padding:.4cqw .8cqw;display:flex;position:absolute;transform:translate(-50%,-50%)}.ring-label .evo-text{font-size:clamp(10px,2.7cqw,14px)}.ring-label .evo-sub{text-wrap:balance;font-size:clamp(8px,2.1cqw,11px)}.ring-label .evo-item img{width:clamp(18px,5.6cqw,30px);height:clamp(18px,5.6cqw,30px)}.ring-label .evo-dynamax{width:clamp(20px,6cqw,32px);height:auto}@container (width<=440px){.evo-ring .ring-node{padding:.6cqw 1cqw;font-size:9px}.evo-ring .ring-node .evo-sprite{width:8cqw;height:8cqw}.evo-ring .ring-root .evo-sprite{width:10.5cqw;height:10.5cqw}.ring-label{max-width:22cqw;padding:.3cqw .5cqw}.ring-label .evo-text{font-size:8px}.ring-label .evo-sub{font-size:7px}.ring-label .evo-sub.evo-special{display:none}.ring-label .evo-item img{width:17px;height:17px}}.evo-zygarde{justify-content:center;align-items:center;gap:6px;margin:6px 0 12px;padding:4px 2px;display:flex;overflow-x:auto}.zyg-grid{grid-template-rows:minmax(113px,auto) auto minmax(113px,auto);grid-template-columns:auto 92px auto;place-items:center;display:grid}.zyg-node{width:108px;min-width:108px}.zyg-node .evo-name{overflow-wrap:anywhere}.zyg-node-top{margin-bottom:2px}.zyg-node-bottom{margin-top:5px}.zyg-center{width:0;height:0}.zyg-arrow{flex:0 0 92px;justify-content:center;align-self:stretch;align-items:center;width:92px;padding:0 2px;display:flex}.zyg-arrow-h{flex-direction:column;gap:3px}.zyg-arrow-v{flex-direction:row;gap:3px}.zyg-fan{grid-template-rows:1fr auto 1fr;place-items:center;width:72px;padding:0 2px;display:grid}.zyg-fan .evo-labels{grid-row:2;align-self:center;padding:10px 0}.zyg-fan-arrow{justify-content:center;align-items:center;width:100%;display:flex}.zyg-fan-arrow .evo-arrow-glyph:before{content:"→";color:var(--muted);font-size:1.08rem;line-height:1}.zyg-right{flex-direction:row;align-items:center;display:flex}@media (width<=600px){.evo-zygarde{flex-direction:column;justify-content:flex-start;gap:4px;overflow-x:visible}.zyg-grid{grid-template-rows:auto 44px auto;grid-template-columns:1fr 48px 1fr;width:min(100%,320px)}body .evo-zygarde .evo-node.zyg-node{width:100%;min-width:0;max-width:none;margin:0;padding:6px 4px;font-size:.85rem}body .evo-zygarde .zyg-right .evo-node.zyg-node{width:150px}body .evo-zygarde .zyg-node .evo-sprite{width:80px;height:80px}.zyg-arrow{flex:none;width:auto;padding:0}.zyg-grid>:first-child{grid-area:1/1}.zyg-grid>:nth-child(7){grid-area:1/3}.zyg-grid>:nth-child(2){grid-area:2/1}.zyg-grid>:nth-child(8){grid-area:2/3}.zyg-grid>:nth-child(3){grid-area:3/1}.zyg-grid>:nth-child(9){grid-area:3/3}.zyg-grid>:nth-child(4){grid-area:1/2}.zyg-grid>:nth-child(6){grid-area:3/2}.zyg-grid>:nth-child(5){display:none}.zyg-arrow-h{flex-direction:row}.zyg-arrow-h .evo-arrow-glyph.two-way:before{content:"⇄";display:inline-block;transform:rotate(90deg)}.zyg-arrow-v{flex-direction:column}.zyg-arrow-v .evo-arrow-glyph.two-way-v:before{transform:none}.zyg-fan{grid-template-rows:auto auto auto;grid-template-columns:1fr 48px 1fr;justify-items:center;width:min(100%,320px);padding:0;display:grid}.zyg-fan-arrow:first-child{grid-area:1/1}.zyg-fan-arrow:last-child{grid-area:1/3}.zyg-fan .evo-labels{grid-area:2/1/auto/-1;justify-self:center;padding:4px 0}.zyg-fan-arrow .evo-arrow-glyph:before{content:"↓"}.zyg-fan:after{content:"↓";color:var(--muted);grid-area:3/1/auto/-1;justify-self:center;font-size:1.08rem;line-height:1}.zyg-right{flex-direction:column}.evo-tree .evo-arrow,.zyg-right .evo-arrow{position:relative}.evo-tree .evo-arrow .evo-item:not(.evo-move):not(.evo-ability),.evo-tree .evo-arrow .evo-icon,.evo-tree .evo-arrow .evo-dynamax,.zyg-right .evo-arrow .evo-item:not(.evo-move):not(.evo-ability),.zyg-right .evo-arrow .evo-icon,.zyg-right .evo-arrow .evo-dynamax{align-items:center;height:1.08rem;display:flex;position:absolute;bottom:4px;left:calc(50% + 14px)}.evo-tree .evo-arrow img.evo-icon,.evo-tree .evo-arrow img.evo-dynamax,.zyg-right .evo-arrow img.evo-icon,.zyg-right .evo-arrow img.evo-dynamax{height:19px;bottom:3px}.evo-arrow .evo-label:nth-child(2) .evo-item:not(.evo-move):not(.evo-ability),.evo-arrow .evo-label:nth-child(2) .evo-icon,.evo-arrow .evo-label:nth-child(2) .evo-dynamax{left:calc(50% + 40px)}}.evo-necrozma{justify-content:center;margin:6px 0 12px;padding:4px 2px;display:flex;overflow-x:auto}.necro-grid{grid-template-rows:minmax(113px,auto) minmax(113px,auto);grid-template-columns:auto 92px auto 92px auto;place-items:center;display:grid}.necro-grid .evo-arrow{flex:none;align-self:stretch;width:92px;padding:0 2px;display:grid}.necro-grid .evo-arrow-glyph.two-way:before{content:"⇄"}.pokemon-title{white-space:nowrap;min-width:0;max-width:100%;padding-bottom:.3em;line-height:1.4;overflow:hidden}.pokemon-title .dex{font-size:min(1rem,.7em)}.types-col{flex-flow:wrap;justify-content:center;align-items:center;gap:6px}.types-col .form-toggle{gap:4px}.types-col{position:relative}.pokemon-title-row{align-items:center;gap:8px;min-width:0;max-width:100%;display:flex}.pokemon-title-row .form-toggle{flex-wrap:nowrap;flex:none;gap:4px;margin:0}.cmp-nature-label{color:var(--muted);font-size:.85rem;font-weight:600}.mon-search-wrapper{margin-bottom:10px}.mon-search-wrapper .search-form{margin:0}.pokemon-sprite.sprite-pending,.no-shiny-sprite.sprite-pending{visibility:hidden}.pokemon-title-row .form-toggle{margin-left:auto}.btn{background:var(--accent);color:var(--on-accent);cursor:pointer;border:none;border-radius:10px;align-items:center;gap:6px;padding:10px 16px;font-size:.95rem;font-weight:700;text-decoration:none;transition:background .12s;display:inline-flex}.btn:hover{background:var(--accent-hover)}.btn:disabled{opacity:.55;cursor:default}.btn-ghost{background:var(--btn-bg,var(--panel));color:var(--text);border:2px solid var(--border)}.btn-ghost:hover{background:var(--panel-2);border-color:var(--muted)}.btn-ghost:disabled{opacity:.55;cursor:default}.btn-sm{padding:6px 10px;font-size:.82rem}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover{background:var(--danger-hover)}.btn-danger:disabled{opacity:.55;cursor:default}.auth-card{text-align:center;background:var(--panel);border:2px solid var(--border);border-radius:16px;flex-direction:column;align-items:center;gap:14px;max-width:420px;margin:24px auto;padding:28px;display:flex;box-shadow:0 8px 24px #00000040}.auth-card>h1{margin:0}.auth-card form{text-align:left;flex-direction:column;gap:14px;width:100%;display:flex}.auth-card label{color:var(--muted);flex-direction:column;gap:6px;font-size:.9rem;font-weight:600;display:flex}.auth-card input{border:2px solid var(--border);background:var(--panel-2);color:var(--text);border-radius:10px;padding:12px 14px;font-size:1rem;transition:border-color .15s}.auth-card input::placeholder{color:var(--muted)}.auth-card input:focus{border-color:var(--accent-2);outline:none}.auth-card button[type=submit]{background:var(--accent);color:var(--on-accent);cursor:pointer;border:none;border-radius:10px;padding:12px 16px;font-size:1rem;font-weight:700;transition:background .12s}.auth-card button[type=submit]:hover{background:var(--accent-hover)}.auth-card button[type=submit]:disabled{opacity:.6;cursor:default}.form-error{color:var(--danger);margin:0;font-size:.9rem}.auth-alt{color:var(--muted);margin:0;font-size:.92rem}.auth-alt a{color:var(--accent-2);font-weight:600}.search-section{max-width:1100px;margin:0 auto}.search-section>h1{margin:0 0 18px}.team-builder-head{align-items:center;gap:12px;margin-bottom:18px;display:flex}.team-builder-head h1{margin:0}.team-builder-head>.btn,.team-builder-head>.team-card-actions{margin-left:auto}.team-builder-layout{display:block}.team-save-toggle{margin:0;font-size:1rem}.team-save-toggle .toggle-slider{font-size:1.15rem}.team-grid{grid-template-columns:repeat(6,1fr);gap:12px;display:grid}.team-slot{background:var(--panel);border:2px solid var(--border);min-height:150px;font:inherit;color:var(--text);text-align:center;border-radius:14px;flex-direction:column;align-items:center;gap:6px;padding:14px 10px;display:flex;position:relative}.team-slot-sprite{width:100%;display:block;position:relative}.team-slot-sprite:before{content:attr(data-name);text-align:center;height:80px;color:var(--muted);word-break:break-word;justify-content:center;align-items:center;font-size:.8rem;display:flex;position:absolute;top:20px;left:0;right:0}.team-slot-sprite:has(img[data-ready]):before{display:none}.team-slot-img{width:100%;height:80px;image-rendering:pixelated;object-fit:contain;opacity:0;margin-top:20px}.team-slot-img[data-ready]{opacity:1}.team-slot-placeholder{text-align:center;width:100%;min-height:64px;color:var(--muted);word-break:break-word;justify-content:center;align-items:center;font-size:.8rem;display:flex}.team-slot-name{white-space:nowrap;max-width:100%;font-size:.9rem;font-weight:700;display:block;overflow:hidden}.team-slot .types{flex-wrap:wrap;justify-content:center;gap:4px;margin-top:2px;display:flex}.team-slot .types .type-badge{white-space:nowrap;margin:0;padding:2px 8px;font-size:.7rem}.team-slot-empty{cursor:pointer;border-style:dashed}.team-slot-empty:hover{border-color:var(--accent);background:var(--panel-2)}.team-slot-add{color:var(--muted);align-items:center;height:64px;font-size:2rem;line-height:1;display:flex}.team-slot-empty .team-slot-name{color:var(--muted);font-weight:600}.team-slot-filled{cursor:pointer}.team-slot-filled:hover{border-color:var(--muted)}.team-slot-active{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}.team-slot-remove{z-index:2;background:var(--panel-2);width:24px;height:24px;color:var(--muted);cursor:pointer;border:none;border-radius:50%;font-size:.75rem;line-height:1;position:absolute;top:6px;right:6px}.team-slot-remove:hover{background:var(--danger);color:#fff}.team-slot-static{cursor:default}.team-slot-static:hover{border-color:var(--border)}.team-slot-gender{background:var(--panel-2);width:24px;height:24px;color:var(--muted);border-radius:50%;justify-content:center;align-items:center;font-size:.9rem;line-height:1;display:flex;position:absolute;top:6px;left:6px}.team-slot-gender.gender-male{color:var(--gender-male)}.team-slot-gender.gender-female{color:var(--gender-female)}.team-slot-gimmick{filter:drop-shadow(0 1px 1px #00000073);background:0 0;border:0;justify-content:center;align-items:center;gap:2px;min-width:24px;height:24px;padding:0;display:flex;position:absolute;bottom:3px;left:4px}.team-slot-gimmick .gimmick-icon{width:12px;height:12px}.team-slot-item{width:24px;height:24px;image-rendering:pixelated;object-fit:contain;position:absolute;bottom:3px;right:4px}.team-slot-fusion{left:4px;right:auto}.member-editor{background:var(--panel);border:2px solid var(--accent);border-radius:14px;flex-direction:column;gap:14px;margin-top:18px;padding:16px;display:flex}.team-msg{margin:12px 0 0;font-size:.92rem}.team-msg-ok{color:var(--accent-2);word-break:break-all}.team-msg-err{color:var(--danger)}.team-save-prompt{box-sizing:border-box;z-index:1000;background:var(--panel-2);width:min(720px,100% - 24px);box-shadow:0 0 0 1px var(--border,#8080804d), 0 8px 28px #00000073;border-radius:12px;padding:14px 16px;position:fixed;top:12px;left:50%;transform:translate(-50%)}.team-save-prompt p{margin:0 0 12px;font-size:.95rem}.team-save-prompt-actions{flex-wrap:wrap;gap:10px;display:flex}.team-builder-coverage{background:var(--panel);border:2px solid var(--border);border-radius:14px;margin-top:16px;padding:18px}.team-builder-coverage h2{margin:0 0 4px;font-size:1.1rem}.coverage-list{flex-direction:column;gap:8px;margin:12px 0 0;padding:0;list-style:none;display:flex}.coverage-row{background:var(--panel-2);border-left:4px solid var(--muted);border-radius:10px;align-items:center;gap:10px;padding:8px 12px;display:flex}.coverage-label{color:var(--text);flex:1;font-size:.85rem}.coverage-mult{text-align:center;border-radius:6px;min-width:34px;padding:2px 6px;font-size:.85rem;font-weight:700}.coverage-weak{border-left-color:var(--danger)}.coverage-immune{border-left-color:#9aa3c7}.coverage-resistant{border-left-color:#4dd0e1}.coverage-empty{color:var(--muted)}.teams-list{flex-direction:column;gap:16px;display:flex}.team-card{background:var(--panel);border:2px solid var(--border);border-radius:14px;padding:16px}.team-card-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.team-card-head h3{margin:0}.team-card-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.shared-team-head{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.shared-team-head h1{margin:0}.shared-team-actions{margin-bottom:18px}.community-team-stars .off{color:var(--border)}.team-share-wrap{display:inline-block;position:relative}.share-menu-backdrop{z-index:40;background:0 0;position:fixed;inset:0}.share-menu{z-index:41;background:var(--panel);border:2px solid var(--border);border-radius:12px;flex-direction:column;gap:4px;min-width:230px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #00000047}.share-menu-item{text-align:left;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:9px 12px;font-size:.92rem}.share-menu-item:hover{background:var(--panel-2,#7f7f7f29)}@media (width<=1000px){.team-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=520px){.team-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.game-btn{padding:13px 12px}.sub-tab{padding:14px 12px}input[type=search],input[type=text],input[type=email],input[type=password],select{min-height:44px}}.evo-node:not(.ring-node):not(.zyg-node){width:120px;min-width:120px;max-width:120px}.evo-name,.form-btn-inner .form-label{white-space:normal;overflow-wrap:anywhere;text-align:center;max-width:100%}.moves-table th,.mon-table th,.gi-table th,.me-pick-table th{text-align:center}.moves-table:not(.me-moves-table) th:first-child,.mon-table th.mon-col-name,.zmove-table th.zm-col-name,.gi-table th:first-child{text-align:left}@media (width<=700px){.pokemon-side .evolution-section{width:100%}.pokemon-side .evolution-section h3,.pokemon-side .form-toggle .form-toggle-label{text-align:center}.evo-tree{flex-direction:column;align-items:safe center;max-width:100%;display:flex}.evo-lines{justify-content:center;justify-items:center}.evo-group,.evo-branch,.evo-branches{justify-content:center;align-items:center}.evo-node{min-width:96px;max-width:100%}.btn,button,.form-btn-inner,.form-btn-inner .form-label{white-space:normal;overflow-wrap:anywhere;max-width:100%}.form-grid{justify-content:center;max-width:100%}}@media (width<=380px){.evo-node{min-width:84px;padding:4px}}.gi-table td:not(:first-child){text-align:center}.team-slot-unavailable{background:var(--panel-2)}.team-slot-unavailable>:not(.team-slot-remove){opacity:.4;filter:grayscale()}.team-slot-remove-warn{background:var(--danger);color:#fff}.filter-icon,.filter-count{display:none}@media (width<=600px){.search-form .search-submit{display:none}body .search-form .filter-toggle{flex:0 0 46px;justify-content:center;align-items:center;width:46px;height:46px;min-height:46px;padding:0;display:inline-flex;position:relative}body .search-form .filter-toggle .filter-toggle-text{display:none}body .search-form .filter-icon{display:block}body .search-form .filter-count{background:var(--accent);min-width:18px;color:var(--on-accent);text-align:center;border-radius:9px;padding:0 4px;font-size:.7rem;line-height:18px;display:block;position:absolute;top:-6px;right:-6px}}.confirm-overlay{z-index:200;box-sizing:border-box;background:#000000bf;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.confirm-dialog{box-sizing:border-box;background:var(--panel);width:100%;max-width:420px;color:var(--text);border:2px solid var(--border);text-align:center;border-radius:16px;padding:24px;box-shadow:0 12px 40px #00000073}.confirm-title{margin:0 0 8px;font-size:1.2rem}.confirm-msg{color:var(--muted);margin:0 0 20px;line-height:1.4}.confirm-actions{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.game-select{appearance:none;border:2px solid var(--border);background-color:var(--btn-bg,var(--panel));background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);color:var(--text);cursor:pointer;background-position:calc(100% - 18px),calc(100% - 12px);background-repeat:no-repeat;background-size:6px 6px,6px 6px;border-radius:10px;padding:8px 36px 8px 14px;font-size:.95rem;font-weight:600}.game-select:hover{border-color:var(--accent)}.game-select:focus{border-color:var(--accent-2);outline:none}.game-select option{background:var(--panel);color:var(--text)}.game-select-wrap{display:inline-grid}.game-select-wrap>*{grid-area:1/1}.game-select-wrap .game-select{width:100%;min-width:0}.game-select-sizer{visibility:hidden;pointer-events:none;white-space:nowrap;border:2px solid #0000;padding:8px 36px 8px 14px;font-size:.95rem;font-weight:600}.ttc{flex-direction:column;gap:18px;display:flex}.ttc h3{margin:0 0 2px;font-size:1rem}.ttc-scroll{max-width:100%;overflow:visible}.ttc-table{border-collapse:separate;border-spacing:3px;font-size:.8rem}.ttc-table th,.ttc-table td{text-align:center;padding:0;font-weight:400}.ttc-table .type-badge{min-width:40px;margin:0;padding:3px 0;font-size:.7rem;display:block}.ttc-table .tc-mult{min-width:40px;padding:4px 0;font-size:.8rem;display:block}.ttc-slot{white-space:nowrap;text-align:left!important;padding:0 6px 0 2px!important}.ttc-slot-num{color:var(--muted);font-weight:700}.ttc-slot-head{color:var(--muted);text-align:left!important;font-weight:700!important}.ttc-narrow{display:none}.ttc-icon{width:40px;height:30px;image-rendering:pixelated;vertical-align:middle;background-repeat:no-repeat;margin:0 0 0 4px;display:inline-block}.ttc-img{object-fit:contain;vertical-align:middle;width:32px;height:32px;margin:0 4px}.ttc-mon-head .ttc-icon,.ttc-mon-head .ttc-img{margin:0 auto;display:block}@media (width<=1000px){.ttc-wide{display:none}.ttc-narrow{margin:0 auto;display:table}.ttc-narrow .type-badge{min-width:44px}.ttc-narrow .tc-mult{min-width:40px}}.ttc-taken .tc-x2{background:#b3261e}.ttc-taken .tc-x4{background:#7f1710}.ttc-taken .tc-h{background:#2e7d32}.ttc-taken .tc-q{background:#1b5e20}@media (width<=820px){.member-editor{min-width:0;max-width:100%;padding:12px}.moves-table,.me-pick-table,.me-moves-table.mon-moves{table-layout:auto;width:100%;min-width:0}.moves-list,.me-move-list{overflow-x:hidden}.moves-table th,.moves-table td,.me-pick-table th,.me-pick-table td{white-space:normal;text-overflow:clip;overflow-wrap:anywhere;padding:6px 2px;font-size:.66rem;overflow:visible}.moves-table .type-badge,.me-pick-table .type-badge{box-sizing:border-box;max-width:100%;padding:2px 3px;font-size:.58rem}}.team-slot-tera{clip-path:polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%);filter:drop-shadow(0 1px 1px #00000073);width:24px;height:24px;position:absolute;bottom:3px;right:4px}.team-slot-item-shifted{right:30px}.team-slot-gimmick .gimmick-icon{display:block}.team-slot-primal{justify-content:center;align-items:center;min-width:20px;font-size:1.15rem;font-weight:800;line-height:1}.primal-groudon-primal{color:#e8483c}.primal-kyogre-primal{color:#4a8ff0}.team-slot-gimmick .gimmick-icon{object-fit:contain;width:12px;height:12px}.team-slot-tera-img{clip-path:none;object-fit:contain}.item-icon{width:24px;height:24px;image-rendering:pixelated;background-repeat:no-repeat;display:inline-block}.suggestion-item .item-icon{flex-shrink:0;margin:6px}.suggestion-text{flex-direction:column;gap:2px;min-width:0;display:flex}.suggestion-item .suggestion-name{font-weight:700}.suggestion-item .suggestion-desc{color:var(--muted);white-space:normal;overflow-wrap:break-word;font-size:.82rem;font-weight:400;line-height:1.35}:is(.moves-table,.mon-table,.gi-table):not(.me-moves-table):not(.me-pick-table):not(.me-stats-table) :is(th,td){text-align:left}.mon-table img.mon-sprite{margin:0}.show-mobile{display:none}@media (width<=640px){.hide-mobile{display:none}.show-mobile{display:inline}}@media (width<=700px){body .pokemon-side .evo-node{min-width:190px;padding:8px 10px;font-size:1rem}body .pokemon-side .evo-sprite{width:120px;height:120px}body .pokemon-side .evo-text{font-size:1.05rem}body .pokemon-side .evo-sub{font-size:.8rem}body .pokemon-side .evo-arrow{font-size:1.2rem}}@media (width<=820px){.moves-table th,.moves-table td{font-size:clamp(.56rem,2.7vw,.78rem)}.moves-table .type-badge{white-space:nowrap;padding:2px 4px;font-size:clamp(.5rem,2.3vw,.68rem)}}.types-row .shiny-btn{box-sizing:border-box;aspect-ratio:1;border-radius:6px;justify-content:center;align-items:center;width:28px;min-width:0;height:28px;padding:0;font-size:1rem;line-height:1;display:inline-flex;position:absolute;top:50%;right:0;transform:translateY(-50%)}.game-fav-row>.game-select-wrap{flex:none;margin:0 0 10px}.game-fav-row:not(.has-shiny){justify-content:space-between}.team-slot-gimmick .tera-fallback{clip-path:polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%);display:block}.team-slot-gimmick .gimmick-icon.tera-icon{width:16.5px;height:16.5px}.ttc-wide{table-layout:fixed;width:100%}.ttc-wide th.ttc-slot-head,.ttc-wide th.ttc-slot{width:64px}.ttc-wide .type-badge{white-space:nowrap;text-overflow:clip;min-width:0;padding:2px 0;font-size:.525rem;overflow:hidden}.ttc-narrow .type-badge{white-space:nowrap;min-width:0;padding:3px 8px}.ttc-head-wrap{display:grid}.ttc-head-wrap>*{grid-area:1/1}.ttc-wide .ttc-sizer{visibility:hidden;pointer-events:none;justify-self:start;width:max-content;display:none}.gender-btn:disabled{opacity:.55;cursor:not-allowed}input[type=number]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body.light-mode input[type=number]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.avatar-zoom-btn{cursor:pointer;background:0 0;border:0;border-radius:50%;padding:0;display:inline-flex}.profile-avatar .avatar-zoom-btn{width:100%;height:100%}.avatar-viewer{z-index:3000;cursor:pointer;background:#000c;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.avatar-viewer img{object-fit:cover;box-shadow:0 0 0 3px var(--border);border-radius:0}.avatar-viewer-note{color:#fff;font-size:.9rem;position:absolute;top:16px}
