*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--bg-primary:#1a1b2e;--bg-secondary:#232442;--bg-card:#2a2b4a;--bg-card-hover:#333566;--bg-input:#1e1f38;--bg-hover:#3a3c6e;--pokeball-red:#ee1515;--pokeball-dark:#c41212;--poke-yellow:#ffcb05;--poke-blue:#3b4cca;--poke-gold:#b3a125;--poke-light-blue:#6390f0;--poke-cream:#f5f1e8;--text-primary:#f0f0ff;--text-secondary:#9d9dc2;--text-muted:#6a6a8e;--border:#3a3c6e;--border-light:#4e5099;--success:#4fc08d;--warning:#ffcb05;--danger:#ee1515;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:24px;--radius-full:9999px;--shadow-sm:0 2px 8px #0000004d;--shadow-md:0 4px 24px #0006;--shadow-lg:0 8px 48px #00000080;--shadow-glow:0 0 20px #ffcb0526;--shadow-red-glow:0 0 30px #ee151533;--transition:.25s cubic-bezier(.4, 0, .2, 1);--type-normal:#a8a77a;--type-fire:#ee8130;--type-water:#6390f0;--type-electric:#f7d02c;--type-grass:#7ac74c;--type-ice:#96d9d6;--type-fighting:#c22e28;--type-poison:#a33ea1;--type-ground:#e2bf65;--type-flying:#a98ff3;--type-psychic:#f95587;--type-bug:#a6b91a;--type-rock:#b6a136;--type-ghost:#735797;--type-dragon:#6f35fc;--type-dark:#705746;--type-steel:#b7b7ce;--type-fairy:#d685ad}html{scroll-behavior:smooth;font-size:14px}body{background:var(--bg-primary);color:var(--text-primary);background-image:radial-gradient(circle at 1px 1px,#ffffff0a 1px,#0000 0);background-size:22px 22px;min-height:100vh;font-family:Outfit,-apple-system,BlinkMacSystemFont,sans-serif;line-height:1.5;overflow-x:hidden}body:before{content:"";pointer-events:none;z-index:0;background:radial-gradient(circle,#0000 30%,#ee15150f 30% 32%,#0000 32% 45%,#ee15150a 45% 47%,#0000 47%);width:360px;height:360px;position:fixed;top:-120px;right:-120px}body:after{content:"";pointer-events:none;z-index:0;background:radial-gradient(circle,#0000 35%,#ffcb050f 35% 37%,#0000 37%);width:280px;height:280px;position:fixed;bottom:-100px;left:-100px}.app-layout,.app-main,.app-header{z-index:1;position:relative}h1,h2,h3,h4{letter-spacing:-.02em;font-weight:800}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:var(--bg-primary)}::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}::selection{background:var(--pokeball-red);color:#fff}.app-main{min-height:calc(100vh - 56px)}.main-content{max-width:1280px;margin:0 auto;padding:1.5rem 2rem}@keyframes fadeIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes slideUp{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes popIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pokeball-spin{0%{transform:rotate(0)}25%{transform:rotate(-15deg)}75%{transform:rotate(15deg)}to{transform:rotate(0)}}.animate-in{animation:.35s forwards fadeIn}.animate-pop{animation:.3s cubic-bezier(.34,1.56,.64,1) forwards popIn}.app-header{z-index:100;-webkit-backdrop-filter:blur(18px)saturate(140%);background:#0f0f16c7;border-bottom:2px solid #ffffff14;height:56px;padding:0 1.5rem;position:sticky;top:0}.header-inner{align-items:center;gap:1rem;max-width:1440px;height:100%;margin:0 auto;display:flex}.header-logo{color:inherit;flex-shrink:0;align-items:center;gap:.6rem;text-decoration:none;display:flex}.header-logo .pokeball-logo{width:30px;height:30px}.header-logo .app-title{white-space:nowrap;font-size:1.05rem}.header-nav{flex-shrink:0;align-items:center;gap:.2rem;display:flex}.header-nav-item{border-radius:var(--radius-full);color:var(--text-secondary);cursor:pointer;transition:all var(--transition);white-space:nowrap;background:0 0;border:none;align-items:center;gap:.4rem;padding:.4rem .75rem;font-family:inherit;font-size:.8rem;font-weight:600;text-decoration:none;display:flex}.header-nav-item:hover{color:var(--text-primary);background:#ffffff0d}.header-nav-item.active{background:linear-gradient(135deg, var(--pokeball-red), var(--pokeball-dark));color:#fff;box-shadow:0 2px 10px #ee151540}.header-nav-item svg{flex-shrink:0;width:14px;height:14px}.header-right{flex-shrink:0;align-items:center;gap:.75rem;margin-left:auto;display:flex}.header-right .search-container{max-width:240px}.header-user-area{align-items:center;gap:.6rem;display:flex}.header-username{color:var(--poke-yellow);white-space:nowrap;cursor:pointer;border-radius:var(--radius-full);transition:all var(--transition);background:0 0;border:1px dashed #0000;padding:.35rem .65rem;font-family:inherit;font-size:.8rem;font-weight:700}.header-username:hover{border-color:var(--poke-yellow);background:#ffcb0514}.header-logout-btn{border-radius:var(--radius-full);border:1px solid var(--border);color:var(--text-muted);cursor:pointer;transition:all var(--transition);background:0 0;padding:.3rem .65rem;font-family:inherit;font-size:.7rem;font-weight:600}.header-logout-btn:hover{color:var(--danger);border-color:var(--danger)}.header-auth-buttons{align-items:center;gap:.4rem;display:flex}.header-login-btn{border-radius:var(--radius-full);border:2px solid var(--border);color:var(--text-secondary);cursor:pointer;transition:all var(--transition);white-space:nowrap;background:0 0;padding:.4rem .95rem;font-family:inherit;font-size:.8rem;font-weight:700}.header-login-btn:hover{border-color:var(--poke-yellow);color:var(--poke-yellow)}.header-register-btn{border-radius:var(--radius-full);background:linear-gradient(135deg, var(--pokeball-red), var(--pokeball-dark));color:#fff;cursor:pointer;transition:all var(--transition);white-space:nowrap;border:none;padding:.4rem 1rem;font-family:inherit;font-size:.8rem;font-weight:700;box-shadow:0 2px 10px #ee151540}.header-register-btn:hover{transform:translateY(-1px);box-shadow:0 4px 14px #ee151559}.app-header{height:auto;min-height:56px;padding:.5rem 1.5rem}.header-inner{flex-wrap:wrap;row-gap:.5rem}@media (width<=900px){.header-inner{flex-wrap:wrap;row-gap:.5rem}.header-right{justify-content:space-between;width:100%;margin-left:0}.header-right .search-container{flex:1;max-width:none}.header-nav{flex-wrap:wrap}}@media (width<=600px){.app-header{padding:.4rem .75rem}.header-inner{align-items:center;gap:.4rem}.header-logo{flex:1;min-width:0}.header-logo .app-title{text-overflow:ellipsis;font-size:.95rem;overflow:hidden}.header-logo .pokeball-logo{width:26px;height:26px}.header-right{flex:none;order:0;width:auto}.header-right .search-container{display:none}.header-nav{order:3;justify-content:center;gap:.1rem;width:100%}.header-nav-item{padding:.35rem .6rem;font-size:.75rem}.header-logout-btn{padding:.25rem .55rem;font-size:.65rem}.header-username-link{padding:.25rem .55rem;font-size:.75rem}.header-edit-btn{padding:.2rem .35rem}.header-user-area{gap:.35rem}}.pokeball-logo{flex-shrink:0;width:42px;height:42px;animation:3s ease-in-out infinite pokeball-spin;position:relative}.pokeball-logo .top{fill:var(--pokeball-red)}.pokeball-logo .bottom{fill:#fff}.pokeball-logo .band{fill:#333}.pokeball-logo .button{fill:#fff;stroke:#333;stroke-width:2px}.app-title{color:var(--poke-yellow);text-shadow:2px 2px #0006,0 0 12px #ffcb0540;letter-spacing:-.03em;font-size:1.7rem;font-weight:900}.app-subtitle{color:var(--text-muted);font-size:.8rem;font-weight:500}.search-container{flex:1;max-width:420px;position:relative}.search-input{background:var(--bg-input);border:2px solid var(--border);border-radius:var(--radius-full);width:100%;color:var(--text-primary);transition:all var(--transition);outline:none;padding:.65rem 1rem .65rem 2.6rem;font-family:inherit;font-size:.95rem}.search-input:focus{border-color:var(--poke-yellow);box-shadow:0 0 0 3px #ffcb0533}.search-input::placeholder{color:var(--text-muted)}.search-icon{color:var(--text-muted);pointer-events:none;align-items:center;display:flex;position:absolute;top:50%;left:.9rem;transform:translateY(-50%)}.search-icon svg{width:15px;height:15px}.search-results{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-lg);max-height:360px;box-shadow:var(--shadow-lg);z-index:200;display:none;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow-y:auto}.search-results.visible{animation:.2s fadeIn;display:block}.search-result-item{cursor:pointer;transition:background var(--transition);border-bottom:1px solid var(--border);align-items:center;gap:.75rem;padding:.5rem 1rem;display:flex}.search-result-item:last-child{border-bottom:none}.search-result-item:hover{background:var(--bg-hover)}.search-result-item img{width:44px;height:44px;image-rendering:pixelated}.search-result-name{text-transform:capitalize;font-weight:700}.search-result-id{color:var(--text-muted);font-size:.8rem}.tab-content{display:none}.tab-content.active{animation:.3s fadeIn;display:block}.builder-header{flex-wrap:wrap;align-items:center;gap:1rem;margin-bottom:.75rem;display:flex}.builder-name-wrap{flex:1;min-width:200px;position:relative}.builder-name-input{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-md);width:100%;color:var(--text-primary);transition:border-color var(--transition), box-shadow var(--transition);outline:none;padding:.7rem 7.5rem .7rem 1rem;font-family:inherit;font-size:1.15rem;font-weight:800}.builder-autoname-btn{background:linear-gradient(135deg, var(--poke-blue), #5b6ce7);color:#fff;border-radius:var(--radius-sm);text-transform:uppercase;letter-spacing:.04em;cursor:pointer;transition:all var(--transition);border:none;align-items:center;gap:.3rem;padding:.4rem .75rem;font-family:inherit;font-size:.7rem;font-weight:800;display:inline-flex;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.builder-autoname-btn svg{width:12px;height:12px}.builder-autoname-btn:hover:not(:disabled){transform:translateY(-50%)scale(1.03);box-shadow:0 2px 10px #3b4cca59}.builder-autoname-btn:disabled{opacity:.7;cursor:progress}.loading-spinner-inline{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:12px;height:12px;animation:.6s linear infinite spin;display:inline-block}.builder-name-input::placeholder{color:var(--text-muted);font-weight:500}.builder-desc-wrap{margin-bottom:.75rem;position:relative}.builder-desc-input{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-md);width:100%;color:var(--text-primary);resize:vertical;min-height:2.6rem;transition:border-color var(--transition), box-shadow var(--transition);outline:none;padding:.65rem 7.5rem .65rem 1rem;font-family:inherit;font-size:.9rem;font-weight:500;line-height:1.4}.builder-desc-input::placeholder{color:var(--text-muted);font-weight:500}.builder-desc-input:focus{border-color:var(--poke-yellow);box-shadow:0 0 0 3px #ffcb0526}.builder-autodesc-btn{top:50%}.builder-strategy-wrap{margin-bottom:.75rem;position:relative}.builder-strategy-input{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-md);width:100%;color:var(--text-primary);resize:vertical;min-height:4.5rem;transition:border-color var(--transition), box-shadow var(--transition);outline:none;padding:.7rem 7.5rem .7rem 1rem;font-family:inherit;font-size:.9rem;font-weight:500;line-height:1.5}.builder-strategy-input::placeholder{color:var(--text-muted);font-weight:500}.builder-strategy-input:focus{border-color:var(--poke-yellow);box-shadow:0 0 0 3px #ffcb0526}.builder-autostrategy-btn{top:.5rem;transform:none}.builder-autostrategy-btn:hover:not(:disabled){transform:scale(1.03)}.builder-name-input:focus{border-color:var(--poke-yellow);box-shadow:0 0 0 3px #ffcb0526}.toggle{cursor:pointer;-webkit-user-select:none;user-select:none;background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-full);transition:border-color var(--transition);align-items:center;gap:.5rem;padding:.4rem .75rem;display:inline-flex}.toggle input{opacity:0;pointer-events:none;position:absolute}.toggle-slider{background:var(--bg-input);border:1px solid var(--border-light);width:32px;height:18px;transition:background var(--transition);border-radius:999px;flex-shrink:0;position:relative}.toggle-slider:after{content:"";background:var(--text-muted);width:14px;height:14px;transition:transform var(--transition), background var(--transition);border-radius:50%;position:absolute;top:1px;left:1px}.toggle input:checked~.toggle-slider{background:linear-gradient(135deg, var(--pokeball-red), var(--pokeball-dark));border-color:var(--pokeball-red)}.toggle input:checked~.toggle-slider:after{background:#fff;transform:translate(14px)}.toggle-label{color:var(--text-secondary);font-size:.8rem;font-weight:700}.toggle:hover{border-color:var(--border-light)}.toggle:has(input:checked) .toggle-label{color:var(--pokeball-red)}.toggle-compact{gap:.4rem;padding:.25rem .55rem}.toggle-compact .toggle-slider{width:26px;height:14px}.toggle-compact .toggle-slider:after{width:10px;height:10px}.toggle-compact input:checked~.toggle-slider:after{transform:translate(12px)}.toggle-compact .toggle-label{font-size:.7rem}.confirm-modal{max-width:420px}.confirm-body{color:var(--text-secondary);margin:.25rem 0 1rem;font-size:.9rem;line-height:1.5}.confirm-actions{justify-content:flex-end;gap:.5rem;display:flex}.confirm-actions .action-btn{padding:.5rem 1rem;font-size:.85rem}.stat-pill{color:var(--text-secondary);background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-full);align-items:center;gap:.35rem;padding:.3rem .7rem;font-size:.75rem;font-weight:700;display:inline-flex}.stat-pill svg{width:14px;height:14px}.myteam-stats{flex-wrap:wrap;gap:.4rem;margin-bottom:.5rem;display:flex}.team-health{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-md);flex-wrap:wrap;align-items:center;gap:.6rem;margin:.5rem 0 1rem;padding:.6rem .9rem;font-size:.8rem;line-height:1.5;display:flex}.team-health:empty{display:none}.health-warn{color:var(--warning);font-weight:600}.health-warn strong{color:var(--danger)}.health-info{color:var(--text-secondary)}.health-good{color:var(--success);font-weight:600}.health-sep{color:var(--text-muted);margin:0 .2rem}.slot-nickname{border-radius:var(--radius-sm);color:var(--text-primary);text-transform:capitalize;width:100%;transition:border-color var(--transition);background:0 0;border:1px dashed #0000;outline:none;padding:.15rem .35rem;font-family:inherit;font-size:1.05rem;font-weight:800}.slot-nickname::placeholder{color:var(--text-primary);text-transform:capitalize;font-weight:800}.slot-nickname:hover{border-color:var(--border)}.slot-nickname:focus{border-color:var(--poke-yellow);text-transform:none;border-style:solid}.slot-nickname:focus::placeholder{color:var(--text-muted);font-weight:500}.slot-species{color:var(--text-muted);padding:0 .35rem;font-size:.7rem;font-weight:600}.ev-presets{flex-wrap:wrap;gap:.25rem;margin-bottom:.45rem;display:flex}.ev-preset-btn{background:var(--bg-input);border:1px solid var(--border);border-radius:var(--radius-full);color:var(--text-secondary);cursor:pointer;transition:all var(--transition);padding:.25rem .55rem;font-family:inherit;font-size:.65rem;font-weight:700}.ev-preset-btn:hover{background:var(--bg-hover);color:var(--text-primary);border-color:var(--border-light)}.comments-section{border-top:1px solid var(--border);margin-top:1.75rem;padding-top:1.25rem}.comment{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-md);margin-bottom:.6rem;padding:.75rem .9rem}.comment-meta{color:var(--text-muted);align-items:center;gap:.5rem;margin-bottom:.35rem;font-size:.75rem;display:flex}.comment-author{color:var(--poke-yellow);font-weight:700}.comment-body{color:var(--text-primary);white-space:pre-wrap;word-break:break-word;font-size:.9rem;line-height:1.5}.comment-delete{color:var(--text-muted);cursor:pointer;border-radius:var(--radius-sm);background:0 0;border:none;margin-left:auto;padding:.2rem}.comment-delete:hover{color:var(--danger);background:#ee151514}.comments-empty{color:var(--text-muted);text-align:center;padding:.75rem 0;font-size:.85rem}.profile-hero{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-lg);align-items:center;gap:1.25rem;margin-bottom:1.25rem;padding:1.5rem;display:flex}.profile-avatar{background:linear-gradient(135deg, var(--pokeball-red), var(--pokeball-dark));color:#fff;text-transform:uppercase;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:72px;height:72px;font-size:2rem;font-weight:900;display:flex}.profile-handle{color:var(--text-muted);font-size:.85rem;font-weight:600}.profile-name{margin:.25rem 0;font-size:1.5rem;font-weight:900}.profile-stats{color:var(--text-secondary);gap:1rem;font-size:.8rem;display:flex}.community-author{color:var(--poke-yellow);font-weight:700;text-decoration:none}.community-author:hover{text-decoration:underline}.archetype-card-head-text{flex:1;min-width:0}.archetype-card-author{color:var(--text-muted);margin-top:.15rem;font-size:.72rem}.header-username-link{color:var(--poke-yellow);border-radius:var(--radius-full);transition:background var(--transition);padding:.3rem .6rem;font-size:.8rem;font-weight:700;text-decoration:none}.header-username-link:hover{background:#ffcb051f}.header-edit-btn{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;border-radius:var(--radius-full);transition:all var(--transition);background:0 0;align-items:center;padding:.25rem .45rem;display:inline-flex}.header-edit-btn:hover{color:var(--poke-yellow);border-color:var(--poke-yellow)}.header-edit-btn svg{width:12px;height:12px}.empty-state{text-align:center;background:var(--bg-card);border:2px dashed var(--border);border-radius:var(--radius-lg);flex-direction:column;align-items:center;gap:.5rem;padding:3rem 1.5rem;display:flex}.empty-state-icon{background:var(--bg-input);width:72px;height:72px;color:var(--poke-yellow);border-radius:50%;justify-content:center;align-items:center;margin-bottom:.25rem;display:flex}.empty-state-icon svg{width:36px;height:36px}.empty-state-title{font-size:1.15rem;font-weight:800}.empty-state-text{color:var(--text-secondary);max-width:360px;font-size:.9rem;line-height:1.5}.empty-state-actions{flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:1rem;display:flex}:focus-visible{outline:2px solid var(--poke-yellow);outline-offset:2px;border-radius:var(--radius-sm)}button:focus-visible,.header-nav-item:focus-visible,.header-login-btn:focus-visible,.header-register-btn:focus-visible,.action-btn:focus-visible,.like-btn:focus-visible,.teamlists-tab:focus-visible{outline:2px solid var(--poke-yellow);outline-offset:2px}@media (width<=680px){.main-content{max-width:100%;padding:.75rem 0}.archetypes-grid,.community-grid.archetypes-grid,.teamlists-filterbar,.section-header,.teamlists-tabs{padding-left:.75rem;padding-right:.75rem}.archetypes-grid,.community-grid.archetypes-grid{margin-left:0;margin-right:0;padding-left:0!important;padding-right:0!important}.archetype-card,.community-card{box-sizing:border-box;border-left:none;border-right:none;border-radius:0;width:100%;max-width:100%;margin-left:0;margin-right:0}.team-actions{gap:.35rem}.action-btn{padding:.35rem .7rem;font-size:.72rem}.pokemon-hero{gap:1rem;padding:1.5rem 1.25rem}.pokemon-hero-name{font-size:1.6rem}.pokemon-hero-meta{flex-wrap:wrap;gap:.75rem;font-size:.75rem}.community-card:not(.archetype-card){gap:.5rem;padding:.85rem}.builder-header{flex-direction:column;align-items:stretch;gap:.6rem}.builder-name-input{font-size:1.05rem}.teamlists-filterbar{gap:.5rem}.teamlists-search .search-input,.teamlists-arch-filter{font-size:.85rem}.suggestions-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.detail-stats-grid{grid-template-columns:1fr}.archetypes-grid,.community-grid.archetypes-grid{grid-template-columns:1fr;gap:.75rem}.archetype-card-body{padding:1rem}.teamlists-search{min-width:0}.teamlists-arch-filter{flex:1;min-width:0}.teamlists-tabs{flex-wrap:wrap}}html,body{max-width:100%}.app-main,.main-content,.tab-content{min-width:0;max-width:100%}img,svg{max-width:100%}.comment-form textarea{resize:vertical;width:100%;min-height:60px;font-family:inherit}.section-header{align-items:center;gap:.75rem;margin-bottom:1.25rem;display:flex}.section-icon{background:var(--bg-card);border-radius:var(--radius-md);border:2px solid var(--border);justify-content:center;align-items:center;width:36px;height:36px;font-size:1.4rem;display:flex}.section-title{font-size:1.25rem;font-weight:800}.section-subtitle{color:var(--text-secondary);font-size:.85rem;font-weight:400}.archetypes-grid{grid-template-columns:repeat(auto-fit,minmax(300px,380px));justify-content:center;gap:1rem;margin-bottom:2rem;display:grid}.archetype-card{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-lg);cursor:pointer;transition:all var(--transition);justify-self:center;width:100%;min-width:0;max-width:380px;position:relative;overflow:hidden}.archetype-card:hover{border-color:var(--border-light);box-shadow:var(--shadow-md);transform:translateY(-3px)}.archetype-card-gradient{width:100%;height:5px}.archetype-card-body{padding:1.25rem}.archetype-card-header{align-items:center;gap:.75rem;margin-bottom:.6rem;display:flex}.archetype-icon{background:var(--bg-input);border-radius:var(--radius-md);border:2px solid var(--border);justify-content:center;align-items:center;width:48px;height:48px;display:flex}.archetype-icon svg{width:24px;height:24px}.archetype-name{overflow-wrap:break-word;font-size:1.1rem;font-weight:800;line-height:1.25}.archetype-desc{color:var(--text-secondary);margin-bottom:.75rem;font-size:.85rem;line-height:1.4}.archetype-team-preview{grid-template-columns:repeat(6,1fr);gap:.25rem;display:grid}.archetype-team-preview img{aspect-ratio:1;width:100%;max-width:52px;height:auto;image-rendering:pixelated;filter:drop-shadow(0 2px 4px #00000059);object-fit:contain;justify-self:center;transition:transform .2s}.archetype-team-preview img:hover{transform:scale(1.3)}.build-around-section{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-lg);margin-bottom:2rem;padding:1.5rem}.build-around-collapse{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-lg);margin-top:1.5rem;overflow:hidden}.build-around-collapse[open]{padding-bottom:.5rem}.build-around-summary{cursor:pointer;color:var(--text-primary);-webkit-user-select:none;user-select:none;transition:background var(--transition);align-items:center;gap:.6rem;padding:1rem 1.25rem;font-size:.95rem;font-weight:800;list-style:none;display:flex}.build-around-summary::-webkit-details-marker{display:none}.build-around-summary:after{content:"▼";color:var(--text-muted);transition:transform var(--transition);margin-left:auto;font-size:.7rem}.build-around-collapse[open] .build-around-summary:after{transform:rotate(180deg)}.build-around-summary:hover{background:var(--bg-hover)}.build-around-collapse .build-around-section{border:none;border-top:2px solid var(--border);border-radius:0;margin-bottom:0}.teamlists-tabs{background:var(--bg-secondary);border:2px solid var(--border);border-radius:var(--radius-full);gap:.4rem;width:fit-content;margin-bottom:1.25rem;padding:.35rem;display:flex}.teamlists-tab{border-radius:var(--radius-full);color:var(--text-secondary);cursor:pointer;transition:all var(--transition);background:0 0;border:none;align-items:center;gap:.4rem;padding:.5rem 1rem;font-family:inherit;font-size:.85rem;font-weight:700;display:flex}.teamlists-tab:hover{color:var(--text-primary);background:#ffffff0d}.teamlists-tab.active{background:linear-gradient(135deg, var(--pokeball-red), var(--pokeball-dark));color:#fff}.teamlists-tab svg{width:14px;height:14px}.teamlists-filterbar{flex-wrap:wrap;gap:.75rem;margin-bottom:1rem;display:flex}.teamlists-search{flex:1;min-width:220px;position:relative}.teamlists-search .search-input{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-full);width:100%;color:var(--text-primary);transition:border-color var(--transition), box-shadow var(--transition);outline:none;padding:.55rem .9rem .55rem 2.35rem;font-family:inherit;font-size:.9rem}.teamlists-search .search-input:focus{border-color:var(--poke-yellow);box-shadow:0 0 0 3px #ffcb0526}.teamlists-search .search-icon{color:var(--text-muted);pointer-events:none;align-items:center;display:flex;position:absolute;top:50%;left:.85rem;transform:translateY(-50%)}.teamlists-arch-filter{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-full);min-width:180px;color:var(--text-primary);cursor:pointer;outline:none;padding:.55rem .9rem;font-family:inherit;font-size:.9rem}@keyframes shimmer-skel{0%{background-position:-200% 0}to{background-position:200% 0}}.card-skel{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-lg);flex-direction:column;justify-self:center;gap:.55rem;width:100%;max-width:380px;padding:1rem;display:flex}.skel-line,.skel-sprite,.skel-btn{background:linear-gradient(90deg, var(--bg-input) 0%, var(--bg-hover) 50%, var(--bg-input) 100%);border-radius:var(--radius-sm);background-size:200% 100%;animation:1.5s ease-in-out infinite shimmer-skel}.skel-title{width:40%;height:18px}.skel-meta{width:28%;height:12px}.skel-sprites{gap:.35rem;display:flex}.skel-sprite{border-radius:var(--radius-sm);width:44px;height:44px}.skel-row{gap:.4rem;display:flex}.skel-btn{border-radius:var(--radius-full);width:80px;height:26px}.like-btn{border-radius:var(--radius-full);border:2px solid var(--border);background:var(--bg-card);color:var(--text-secondary);cursor:pointer;transition:all var(--transition);align-items:center;gap:.35rem;padding:.3rem .7rem;font-family:inherit;font-size:.75rem;font-weight:700;display:flex}.like-btn svg{width:14px;height:14px;transition:all var(--transition)}.like-btn:hover{border-color:var(--pokeball-red);color:var(--pokeball-red)}.like-btn.liked{border-color:var(--pokeball-red);color:var(--pokeball-red);background:#ee15151a}.like-btn.liked svg{fill:var(--pokeball-red);stroke:var(--pokeball-red)}.like-count{font-family:var(--font-mono,inherit)}.build-around-title{align-items:center;gap:.5rem;margin-bottom:.5rem;font-size:1.1rem;font-weight:800;display:flex}.build-around-desc{color:var(--text-secondary);margin-bottom:1rem;font-size:.85rem}.build-around-picks{flex-wrap:wrap;gap:.75rem;margin-bottom:1rem;display:flex}.build-pick-slot{background:var(--bg-input);border:2px dashed var(--border);border-radius:var(--radius-md);cursor:pointer;width:80px;height:90px;transition:all var(--transition);flex-direction:column;justify-content:center;align-items:center;display:flex;position:relative}.build-pick-slot:hover{border-color:var(--poke-yellow);background:var(--bg-hover)}.build-pick-slot.filled{border-style:solid;border-color:var(--border-light);background:var(--bg-secondary)}.build-pick-slot img{width:50px;height:50px;image-rendering:pixelated}.build-pick-slot .pick-name{text-transform:capitalize;color:var(--text-secondary);text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:76px;font-size:.65rem;font-weight:600;overflow:hidden}.build-pick-slot .pick-add{color:var(--text-muted);font-size:1.5rem}.build-pick-remove{background:var(--danger);color:#fff;cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:.7rem;line-height:1;display:flex;position:absolute;top:-4px;right:-4px}.build-around-actions{flex-wrap:wrap;gap:.75rem;display:flex}.build-btn{border-radius:var(--radius-full);cursor:pointer;transition:all var(--transition);border:none;padding:.6rem 1.5rem;font-family:inherit;font-size:.9rem;font-weight:700}.build-btn-primary{background:linear-gradient(135deg, var(--pokeball-red), #ff4757);color:#fff;box-shadow:0 2px 12px #ee15154d}.build-btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 20px #ee151566}.build-btn-primary:disabled{opacity:.5;cursor:not-allowed;transform:none}.build-btn-secondary{background:var(--bg-input);border:2px solid var(--border);color:var(--text-secondary)}.build-btn-secondary:hover{border-color:var(--border-light);color:var(--text-primary)}.team-grid{grid-template-columns:repeat(3,1fr);gap:1rem;display:grid}@media (width<=1100px){.team-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=680px){.team-grid{grid-template-columns:1fr}}.team-slot{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-lg);transition:all var(--transition);overflow:hidden}.team-slot:hover{border-color:var(--border-light)}.team-slot.has-pokemon{box-shadow:var(--shadow-sm)}.slot-empty{min-height:180px;color:var(--text-muted);cursor:pointer;transition:all var(--transition);background:repeating-linear-gradient(-45deg,#0000,#0000 10px,#ffffff04 10px 20px);flex-direction:column;justify-content:center;align-items:center;gap:.4rem;display:flex}.slot-empty:hover{background:var(--bg-hover);color:var(--text-secondary)}.slot-empty-icon{opacity:.4;font-size:2.5rem}.slot-empty-text{font-size:.85rem;font-weight:500}.slot-empty-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.5rem;font-size:.7rem;font-weight:700}.slot-empty-hint{color:var(--text-muted);margin-top:.5rem;font-size:.7rem;font-style:italic}#suggestions-section:empty{display:none}.suggestions-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin:0 0 .75rem;display:flex}.suggestions-title{color:var(--text-primary);align-items:center;gap:.5rem;font-size:1rem;font-weight:800;display:flex}.suggestions-title svg{color:var(--poke-yellow)}.suggestions-subtitle{color:var(--text-secondary);margin-top:.2rem;font-size:.8rem}.suggestions-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem;margin-bottom:1.5rem;display:grid}.suggestion-card{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition);text-align:center;flex-direction:column;align-items:center;gap:.25rem;padding:.75rem;display:flex}.suggestion-card:hover{border-color:var(--poke-yellow);transform:translateY(-2px);box-shadow:0 4px 14px #0000004d}.suggestion-card img{width:64px;height:64px;image-rendering:pixelated;filter:drop-shadow(0 2px 4px #0000004d)}.suggestion-name{text-transform:capitalize;font-size:.85rem;font-weight:800}.suggestion-set{color:var(--text-secondary);font-size:.7rem;font-weight:600}.suggestion-role{color:var(--poke-yellow);text-transform:uppercase;letter-spacing:.05em;font-size:.65rem;font-weight:700}.slot-picker{width:100%;max-width:260px;position:relative}.slot-picker-input{background:var(--bg-input);border:2px solid var(--border);border-radius:var(--radius-full);width:100%;color:var(--text-primary);text-align:center;transition:all var(--transition);outline:none;padding:.55rem .8rem;font-family:inherit;font-size:.9rem}.slot-picker-input:focus{border-color:var(--poke-yellow);text-align:left;box-shadow:0 0 0 3px #ffcb0526}.slot-picker-input::placeholder{color:var(--text-muted)}.slot-picker-results{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-md);width:280px;max-height:240px;box-shadow:var(--shadow-lg);z-index:50;display:none;position:absolute;top:calc(100% + 6px);left:50%;overflow-y:auto;transform:translate(-50%)}.slot-picker-results.visible{animation:.15s fadeIn;display:block}.slot-picker-item{cursor:pointer;transition:background var(--transition);border-bottom:1px solid var(--border);text-transform:capitalize;align-items:center;gap:.6rem;padding:.45rem .75rem;font-size:.85rem;font-weight:600;display:flex}.slot-picker-item:last-child{border-bottom:none}.slot-picker-item:hover{background:var(--bg-hover)}.slot-picker-item img{width:36px;height:36px;image-rendering:pixelated}.slot-picker-id{color:var(--text-muted);margin-left:auto;font-size:.7rem;font-weight:500}.slot-empty .slot-empty-icon svg{opacity:.3;width:28px;height:28px}.slot-header{border-bottom:2px solid var(--border);align-items:center;gap:.75rem;padding:1rem;display:flex;position:relative;overflow:hidden}.slot-header-bg{opacity:.08;z-index:0;position:absolute;inset:0}.slot-header>*{z-index:1;position:relative}.slot-artwork{object-fit:contain;filter:drop-shadow(0 2px 6px #0006);width:108px;height:108px;transition:transform .3s;animation:3s ease-in-out infinite float}.slot-artwork:hover{animation:none;transform:scale(1.15)}.slot-info{flex:1;min-width:0}.slot-name{text-transform:capitalize;margin-bottom:.2rem;font-size:1.05rem;font-weight:800}.slot-types{gap:.35rem;margin-bottom:.2rem;display:flex}.type-badge{border-radius:var(--radius-full);text-transform:uppercase;letter-spacing:.06em;color:#fff;text-shadow:0 1px 2px #0000004d;padding:.1rem .55rem;font-size:.65rem;font-weight:700;display:inline-flex}.slot-meta{align-items:center;gap:.75rem;font-size:.75rem;display:flex}.slot-bst{color:var(--text-muted);font-weight:600}.slot-role{color:var(--poke-yellow);font-weight:700}.slot-remove{color:var(--text-muted);cursor:pointer;border-radius:var(--radius-full);transition:all var(--transition);background:#0000004d;border:none;padding:.15rem .4rem;font-size:1.1rem;line-height:1;position:absolute;top:.5rem;right:.5rem}.slot-remove:hover{color:#fff;background:var(--danger)}.slot-body{padding:.75rem}.slot-section{margin-bottom:.75rem}.slot-section:last-child{margin-bottom:0}.slot-section-title{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);align-items:center;gap:.4rem;margin-bottom:.4rem;font-size:.7rem;font-weight:700;display:flex}.field-row{grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:.5rem;display:grid}.field-group{flex-direction:column;gap:.2rem;display:flex}.field-label{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);font-size:.65rem;font-weight:700}.field-select,.field-input{background:var(--bg-input);border:2px solid var(--border);border-radius:var(--radius-sm);color:var(--text-primary);transition:border-color var(--transition);outline:none;width:100%;padding:.4rem .5rem;font-family:inherit;font-size:.8rem}.field-select:focus,.field-input:focus{border-color:var(--poke-yellow)}.field-select option{background:var(--bg-input)}.nature-indicator{font-size:.65rem}.nature-up{color:var(--success);font-weight:700}.nature-down{color:var(--danger);font-weight:700}.stat-bars{flex-direction:column;gap:.25rem;display:flex}.stat-row{grid-template-columns:32px 1fr 36px;align-items:center;gap:.4rem;display:grid}.stat-label{text-align:right;font-size:.7rem;font-weight:800}.stat-bar-container{background:var(--bg-input);border:1px solid var(--border);border-radius:6px;height:12px;overflow:hidden}.stat-bar-fill{border-radius:6px;min-width:2px;height:100%;transition:width .4s;box-shadow:inset 0 1px #ffffff59}.stat-value{text-align:right;font-size:.7rem;font-weight:700}.ev-editor{flex-direction:column;gap:.2rem;display:flex}.ev-row{grid-template-columns:32px 1fr 44px 28px;align-items:center;gap:.4rem;display:grid}.ev-label{text-align:right;font-size:.7rem;font-weight:800}.ev-slider{appearance:none;background:var(--bg-input);border-radius:3px;outline:none;width:100%;height:6px}.ev-slider::-webkit-slider-thumb{appearance:none;background:var(--pokeball-red);cursor:pointer;border:2px solid #fff;border-radius:50%;width:14px;height:14px;box-shadow:0 0 6px #ee151566}.ev-input{background:var(--bg-input);border:1px solid var(--border);border-radius:var(--radius-sm);width:44px;color:var(--text-primary);text-align:center;outline:none;padding:.15rem .2rem;font-family:inherit;font-size:.7rem}.ev-input:focus{border-color:var(--poke-yellow)}.ev-iv-toggle{color:var(--text-muted);cursor:pointer;text-align:center;font-size:.6rem;font-weight:600}.ev-budget{background:var(--bg-input);border-radius:var(--radius-sm);border:1px solid var(--border);justify-content:space-between;align-items:center;margin-top:.3rem;padding:.35rem .5rem;display:flex}.ev-budget-label{color:var(--text-secondary);font-size:.7rem;font-weight:600}.ev-budget-value{font-size:.8rem;font-weight:800}.ev-budget-value.over{color:var(--danger)}.ev-budget-value.ok{color:var(--success)}.move-slots{flex-direction:column;gap:.3rem;display:flex}.move-slot{background:var(--bg-input);border:2px solid var(--border);border-radius:var(--radius-sm);transition:border-color var(--transition);align-items:center;gap:.4rem;padding:.35rem .5rem;display:flex}.move-slot:hover{border-color:var(--border-light)}.move-type-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.move-select{color:var(--text-primary);cursor:pointer;background:0 0;border:none;outline:none;flex:1;font-family:inherit;font-size:.8rem}.move-select option{background:var(--bg-input)}.move-info{color:var(--text-muted);flex-shrink:0;align-items:center;gap:.3rem;font-size:.65rem;display:flex}.move-power{color:var(--poke-yellow);font-weight:700}.move-category-icon{text-transform:uppercase;font-size:.6rem;font-weight:800}.move-category-icon.physical{color:#e74c3c}.move-category-icon.special{color:#6390f0}.move-category-icon.status{color:#8c8c8c}.preset-btn{background:linear-gradient(135deg, var(--poke-blue), #5b6ce7);border-radius:var(--radius-sm);color:#fff;cursor:pointer;width:100%;transition:all var(--transition);text-transform:uppercase;letter-spacing:.04em;border:none;padding:.45rem;font-family:inherit;font-size:.75rem;font-weight:700}.preset-btn:hover{transform:translateY(-1px);box-shadow:0 2px 12px #3b4cca4d}.preset-dropdown{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);z-index:50;max-height:280px;margin-bottom:4px;display:none;position:absolute;bottom:100%;left:0;right:0;overflow-y:auto}.preset-dropdown.visible{display:block}.preset-option{cursor:pointer;border-bottom:1px solid var(--border);transition:background var(--transition);padding:.5rem .75rem}.preset-option:hover{background:var(--bg-hover)}.preset-option:last-child{border-bottom:none}.preset-option-name{font-size:.85rem;font-weight:700}.preset-option-role{color:var(--poke-yellow);font-size:.7rem;font-weight:600}.preset-option-desc{color:var(--text-muted);font-size:.7rem}.team-actions{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}.action-btn{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-full);color:var(--text-secondary);cursor:pointer;transition:all var(--transition);padding:.4rem .85rem;font-family:inherit;font-size:.78rem;font-weight:600}.action-btn:disabled{opacity:.7;cursor:not-allowed}.action-btn{white-space:nowrap;align-items:center;gap:.35rem;display:inline-flex}.action-btn svg{width:13px;height:13px}.action-btn:hover{background:var(--bg-hover);color:var(--text-primary);border-color:var(--border-light)}.action-btn.danger:hover{border-color:var(--danger);color:var(--danger)}.action-btn-primary{background:linear-gradient(135deg, var(--pokeball-red), var(--pokeball-dark));color:#fff;border-color:#0000;box-shadow:0 2px 10px #ee151540}.action-btn-primary:hover{background:linear-gradient(135deg, var(--pokeball-red), var(--pokeball-dark));color:#fff;border-color:#0000;transform:translateY(-1px);box-shadow:0 4px 14px #ee151559}.archetype-actions{flex-wrap:wrap;gap:.4rem;margin-top:.75rem;display:flex}.archetype-actions .action-btn{justify-content:center;padding:.3rem .7rem;font-size:.7rem}.archetype-actions .stat-pill,.myteam-stats .stat-pill[title=Comments]{display:none}.analysis-grid{grid-template-columns:1fr 1fr;gap:1rem;display:grid}@media (width<=768px){.analysis-grid{grid-template-columns:1fr}}.analysis-card{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-lg);transition:border-color var(--transition);padding:1.25rem}.analysis-card:hover{border-color:var(--border-light)}.analysis-card-title{align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.95rem;font-weight:800;display:flex}.analysis-full{grid-column:1/-1}.type-chart-grid{grid-template-columns:repeat(6,1fr);gap:.25rem;display:grid}.type-chart-cell{border-radius:var(--radius-sm);text-transform:uppercase;flex-direction:column;align-items:center;gap:.15rem;padding:.35rem .15rem;font-size:.6rem;font-weight:700;display:flex}.type-chart-cell.weak{color:var(--danger);background:#ee15151f}.type-chart-cell.resist{color:var(--success);background:#4fc08d1f}.type-chart-cell.neutral{background:var(--bg-input);color:var(--text-muted)}.type-chart-cell.immune{color:var(--poke-light-blue);background:#6390f01f}.type-chart-count{font-size:.85rem}.type-chart-legend{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:.75rem;margin:-.25rem 0 .6rem;font-size:.7rem;display:flex}.type-chart-legend>span{align-items:center;gap:.3rem;display:inline-flex}.legend-dot{border-radius:50%;width:10px;height:10px;display:inline-block}.legend-weak{background:#ee151580}.legend-resist{background:#4fc08d80}.legend-immune{background:#6390f080}.role-grid{grid-template-columns:repeat(2,1fr);gap:.35rem;display:grid}.role-item{background:var(--bg-input);border-radius:var(--radius-sm);align-items:center;gap:.5rem;padding:.35rem .5rem;font-size:.75rem;display:flex}.role-dot{border-radius:50%;width:8px;height:8px}.role-dot.filled{background:var(--success);box-shadow:0 0 6px #4fc08d66}.role-dot.empty{background:var(--text-muted);opacity:.3}.suggestions-list{flex-direction:column;gap:.4rem;display:flex}.suggestion-item{background:var(--bg-input);border-radius:var(--radius-sm);border-left:3px solid var(--poke-yellow);color:var(--text-secondary);padding:.5rem .75rem;font-size:.8rem}.suggestion-item.critical{border-left-color:var(--danger)}.defensive-grid{width:100%;overflow-x:auto}.defensive-table{border-collapse:collapse;width:100%;font-size:.7rem}.defensive-table th{text-transform:uppercase;color:var(--text-muted);padding:.3rem;font-size:.6rem;font-weight:700}.defensive-table td{text-align:center;border-radius:3px;padding:.3rem;font-weight:700}.defensive-table td.weak{color:var(--danger);background:#ee151514}.defensive-table td.resist{color:var(--success);background:#4fc08d14}.defensive-table td.immune{color:var(--poke-light-blue);background:#6390f014}.empty-analysis{text-align:center;color:var(--text-muted);padding:2.5rem}.empty-analysis-icon{opacity:.3;margin-bottom:.75rem}.empty-analysis-icon svg{width:48px;height:48px}.empty-analysis-text{font-size:.9rem}.strategy-box{background:var(--bg-input);border:2px solid var(--border);border-radius:var(--radius-md);margin-bottom:1rem;padding:1rem;position:relative}.strategy-label{background:var(--bg-input);text-transform:uppercase;color:var(--poke-yellow);letter-spacing:.06em;padding:0 .5rem;font-size:.65rem;font-weight:700;position:absolute;top:-.55rem;left:1rem}.strategy-text{color:var(--text-secondary);white-space:pre-wrap;font-size:.85rem;line-height:1.5}.loading-spinner{border:3px solid var(--border);border-top-color:var(--pokeball-red);border-radius:50%;width:20px;height:20px;animation:.6s linear infinite spin;display:inline-block}.pattern-bg{background-image:radial-gradient(circle at 20px 20px,#ffffff05 2px,#0000 0),radial-gradient(circle at 60px 60px,#ffffff05 2px,#0000 0);background-size:80px 80px}.modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-lg);width:90%;max-width:420px;padding:1.75rem;animation:.2s popIn;position:relative}.modal-close{color:var(--text-muted);cursor:pointer;border-radius:var(--radius-sm);background:0 0;border:none;padding:.2rem .4rem;font-size:1.3rem;line-height:1;position:absolute;top:.75rem;right:.75rem}.modal-close:hover{color:var(--text-primary)}.modal-title{align-items:center;gap:.5rem;margin-bottom:1rem;font-size:1.1rem;font-weight:800;display:flex}.modal-tabs{border-radius:var(--radius-full);border:2px solid var(--border);gap:0;margin-bottom:1.25rem;display:flex;overflow:hidden}.modal-tab{background:var(--bg-input);color:var(--text-secondary);cursor:pointer;transition:all var(--transition);border:none;flex:1;padding:.5rem;font-family:inherit;font-size:.85rem;font-weight:700}.modal-tab.active{background:linear-gradient(135deg, var(--pokeball-red), var(--pokeball-dark));color:#fff}.modal form{flex-direction:column;gap:.75rem;display:flex}.auth-error{border:1px solid var(--danger);border-radius:var(--radius-sm);color:var(--danger);background:#ee15151a;padding:.5rem .75rem;font-size:.8rem}.auth-error.success{border-color:var(--success);color:var(--success);background:#4fc08d1a}.pokemon-back{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-full);color:var(--text-secondary);cursor:pointer;transition:all var(--transition);align-items:center;gap:.35rem;margin-bottom:1rem;padding:.4rem .9rem;font-family:inherit;font-size:.8rem;font-weight:600;display:inline-flex}.pokemon-back:hover{background:var(--bg-hover);color:var(--text-primary);border-color:var(--border-light)}.pokemon-hero{border-radius:var(--radius-lg);border:2px solid var(--border);box-shadow:var(--shadow-lg), inset 0 1px 0 #ffffff40, inset 0 -40px 60px -20px #00000040;align-items:center;gap:2rem;margin-bottom:1.25rem;padding:2.25rem 2rem;display:flex;position:relative;overflow:hidden}.pokemon-hero:before{content:"";pointer-events:none;background:radial-gradient(80% 60% at 15% -10%,#ffffff38,#0000 55%),radial-gradient(60% 50% at 100% 100%,#0000004d,#0000 55%),radial-gradient(260px at calc(100% - 60px),#0000 36%,#ffffff1f 36% 38%,#0000 38% 52%,#ffffff14 52% 54%,#0000 54% 68%,#ffffff0d 68% 70%,#0000 70%);position:absolute;inset:0}.pokemon-hero-art{object-fit:contain;filter:drop-shadow(0 6px 20px #00000080);z-index:1;flex-shrink:0;width:200px;height:200px}.pokemon-hero-info{z-index:1;flex:1;min-width:0}.pokemon-hero-id{color:#fff9;text-transform:uppercase;letter-spacing:.1em;font-family:JetBrains Mono,monospace;font-size:.85rem;font-weight:700}.pokemon-hero-name{text-transform:capitalize;color:#fff;text-shadow:2px 2px #0000004d;margin:.25rem 0 .75rem;font-size:2.4rem;font-weight:900}.pokemon-hero-types{gap:.5rem;margin-bottom:1rem;display:flex}.pokemon-hero-types .type-badge{padding:.3rem .9rem;font-size:.75rem}.pokemon-hero-meta{color:#ffffffd9;gap:1.5rem;font-size:.85rem;display:flex}.pokemon-hero-meta strong{color:#fff;font-weight:800}.pokemon-detail-grid{grid-template-columns:1fr 1fr;gap:1rem;display:grid}@media (width<=768px){.pokemon-detail-grid{grid-template-columns:1fr}.pokemon-hero{text-align:left;flex-direction:row;align-items:center;gap:.8rem;padding:.9rem 1rem}.pokemon-hero-types,.pokemon-hero-meta{justify-content:flex-start}.pokemon-hero-art{width:90px;height:90px}.pokemon-hero-name{margin-bottom:.25rem;font-size:1.35rem}.pokemon-hero-id{margin-bottom:.15rem;font-size:.65rem}.archetype-hero-icon{width:54px;height:54px}.archetype-hero-icon svg{width:28px;height:28px}.archetype-hero-desc{margin-bottom:.5rem;font-size:.8rem;line-height:1.4}.archetype-hero-actions{flex-wrap:wrap;gap:.35rem}.archetype-hero-actions .action-btn,.archetype-hero-actions .like-btn{padding:.35rem .7rem;font-size:.72rem}}.archetype-hero-icon{border-radius:var(--radius-md);z-index:1;background:#0003;border:2px solid #ffffff40;flex-shrink:0;justify-content:center;align-items:center;width:88px;height:88px;display:flex}.archetype-hero-icon svg{width:44px;height:44px}.archetype-hero-desc{color:#ffffffeb;max-width:640px;margin-bottom:.75rem;font-size:.95rem;line-height:1.5}.archetype-hero-actions{flex-wrap:wrap;gap:.5rem;margin-top:.75rem;display:flex}.detail-section-title{margin:1.5rem 0 .75rem;font-size:1.15rem;font-weight:800}.archetype-roster{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:.9rem;display:grid}.roster-card{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-md);color:inherit;transition:all var(--transition);cursor:pointer;flex-direction:column;align-items:center;gap:.35rem;padding:1rem;text-decoration:none;display:flex}.roster-card:hover{border-color:var(--poke-yellow);transform:translateY(-2px);box-shadow:0 6px 18px #0000004d}.roster-card img{width:96px;height:96px;image-rendering:pixelated;filter:drop-shadow(0 3px 6px #0000004d)}.roster-name{text-transform:capitalize;font-size:1rem;font-weight:800}.roster-set{color:var(--text-secondary);font-size:.8rem;font-weight:600}.roster-role{text-transform:uppercase;letter-spacing:.05em;color:var(--poke-yellow);font-size:.65rem;font-weight:700}.roster-body{background:var(--bg-input);border-radius:var(--radius-sm);flex-direction:column;gap:.25rem;width:100%;margin-top:.35rem;padding:.5rem;font-size:.75rem;display:flex}.roster-body .preset-label{margin-right:.35rem;display:inline-block}.roster-ability{border-radius:var(--radius-md);text-align:center;background:linear-gradient(135deg,#ffcb051f,#ffcb050d);border:2px solid #ffcb0559;width:100%;margin-top:.5rem;padding:.6rem .75rem;position:relative;box-shadow:inset 0 0 0 1px #0003,0 2px 10px #ffcb0514}.roster-ability-label{text-transform:uppercase;letter-spacing:.12em;color:var(--poke-yellow);opacity:.85;margin-bottom:.15rem;font-size:.6rem;font-weight:800}.roster-ability-name{color:var(--text-primary);letter-spacing:-.01em;font-size:1rem;font-weight:900}.roster-attrs{grid-template-columns:1fr 1fr;gap:.4rem;width:100%;margin-top:.35rem;display:grid}.roster-attr{background:var(--bg-input);border-radius:var(--radius-sm);border:1px solid var(--border);text-align:center;padding:.4rem .55rem}.roster-attr-label{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:.1rem;font-size:.58rem;font-weight:700}.roster-attr-value{color:var(--text-primary);font-size:.8rem;font-weight:700}.roster-moves{flex-wrap:wrap;justify-content:center;gap:.25rem;width:100%;margin-top:.25rem;display:flex}.roster-moveset{background:var(--bg-input);border:2px solid var(--border);border-radius:var(--radius-md);width:100%;margin-top:.5rem;padding:.6rem}.roster-moveset-label{text-transform:uppercase;letter-spacing:.12em;color:var(--text-muted);text-align:center;margin-bottom:.4rem;font-size:.6rem;font-weight:800}.roster-moveset-grid{grid-template-columns:1fr 1fr;gap:.35rem;display:grid}.moveset-tile{background:var(--bg-card);border:1px solid var(--border);border-left:4px solid var(--border-light);border-radius:var(--radius-sm);align-items:center;gap:.35rem;min-width:0;padding:.4rem .55rem;display:flex;overflow:hidden}.moveset-power{color:var(--poke-yellow);background:#ffcb051f;border-radius:4px;flex-shrink:0;padding:.1rem .38rem;font-family:JetBrains Mono,ui-monospace,monospace;font-size:.65rem;font-weight:800}.moveset-cat{border:1px solid #ffffff40;border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-right:0}.moveset-cat-physical{background:#e74c3c}.moveset-cat-special{background:#6390f0}.moveset-cat-status{background:#8c8c8c}.moveset-name{color:var(--text-primary);text-transform:capitalize;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:.8rem;font-weight:700;line-height:1.2;overflow:hidden}.roster-evs{background:var(--bg-input);border-radius:var(--radius-sm);width:100%;margin-top:.35rem;padding:.5rem}.ev-chips{flex-wrap:wrap;justify-content:center;gap:.25rem;display:flex}.ev-chip{border:1px solid var(--border);border-radius:var(--radius-full);background:#00000026;padding:.15rem .5rem;font-size:.65rem;font-weight:600}.ev-chip strong{font-weight:800}.ev-chip.muted{color:var(--text-muted);font-style:italic}.roster-desc{color:var(--text-muted);text-align:center;margin-top:.25rem;font-size:.75rem;line-height:1.4}.detail-stats-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:.75rem;margin-bottom:1.5rem;display:grid}.detail-stat-card{background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-md);padding:.9rem}.detail-stat-header{border-bottom:1px solid var(--border);align-items:center;gap:.6rem;margin-bottom:.6rem;padding-bottom:.5rem;display:flex}.detail-stat-header img{width:48px;height:48px;image-rendering:pixelated;filter:drop-shadow(0 2px 4px #0000004d)}.detail-stat-name{text-transform:capitalize;font-size:.95rem;font-weight:800}.detail-stat-bst{color:var(--text-muted);font-size:.7rem;font-weight:600}.pokemon-hero-flavor{color:#ffffffeb;max-width:640px;margin-top:.75rem;font-size:.9rem;font-style:italic;line-height:1.5}.matchup-sections{flex-direction:column;gap:.55rem;display:flex}.matchup-row{border-radius:var(--radius-sm);background:var(--bg-input);border-left:4px solid #0000;flex-wrap:wrap;align-items:center;gap:.75rem;padding:.45rem .65rem;display:flex}.matchup-row.matchup-weak-strong{border-left-color:#7f1d1d}.matchup-row.matchup-weak{border-left-color:var(--danger)}.matchup-row.matchup-resist{border-left-color:var(--success)}.matchup-row.matchup-resist-strong{border-left-color:#14532d}.matchup-row.matchup-immune{border-left-color:var(--poke-light-blue)}.matchup-label{letter-spacing:.03em;min-width:82px;font-size:.75rem;font-weight:800}.matchup-chips{flex-wrap:wrap;gap:.3rem;display:flex}.matchup-chips .type-badge{padding:.15rem .5rem;font-size:.65rem}.ability-desc{color:var(--text-secondary);margin-top:.25rem;font-size:.78rem;line-height:1.5}.ability-list{flex-direction:column;gap:.5rem;display:flex}.ability-item{background:var(--bg-input);border-radius:var(--radius-sm);padding:.6rem .8rem;font-size:.9rem;font-weight:700}.ability-hidden{color:var(--poke-yellow);font-size:.7rem;font-weight:600}.preset-list{flex-direction:column;gap:.75rem;display:flex}.preset-item{background:var(--bg-input);border:2px solid var(--border);border-radius:var(--radius-md);flex-direction:column;gap:.5rem;padding:1rem;display:flex}.preset-item-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.preset-item-name{font-size:.95rem;font-weight:800}.preset-item-role{text-transform:uppercase;letter-spacing:.06em;color:var(--poke-yellow);border-radius:var(--radius-full);background:#ffcb051f;padding:.15rem .6rem;font-size:.65rem;font-weight:700}.preset-item-body{grid-template-columns:repeat(3,1fr);gap:.5rem;font-size:.8rem;display:grid}.preset-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.15rem;font-size:.65rem;font-weight:700;display:block}.preset-item-moves{flex-wrap:wrap;gap:.3rem;display:flex}.preset-move{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.2rem .55rem;font-size:.72rem;font-weight:600}.preset-item-desc{color:var(--text-secondary);font-size:.8rem;line-height:1.4}.preset-item-add{align-self:flex-start;margin-top:.25rem}.profile-actions-row{justify-content:center;margin-top:.5rem;display:flex}.profile-link-btn{color:var(--poke-yellow);cursor:pointer;background:0 0;border:none;padding:.25rem .5rem;font-family:inherit;font-size:.8rem;font-weight:600;text-decoration:underline}.profile-link-btn:hover{color:#fff}.profile-link-btn:disabled{opacity:.5;cursor:not-allowed}.confirm-email-msg{color:var(--text-secondary);padding:1rem 0;font-size:.9rem;line-height:1.5}.confirm-email-msg p{margin-bottom:.6rem}.confirm-email-msg strong{color:var(--poke-yellow)}.confirm-email-hint{color:var(--text-muted);font-size:.75rem;font-style:italic}.community-sort{gap:.5rem;margin-bottom:1rem;display:flex}.community-sort-btn.active{background:var(--bg-hover);border-color:var(--border-light);color:var(--text-primary)}.community-list{flex-direction:column;gap:.75rem;display:flex}.community-card:not(.archetype-card){background:var(--bg-card);border:2px solid var(--border);border-radius:var(--radius-lg);cursor:pointer;transition:all var(--transition);gap:.75rem;padding:1rem;display:flex}.community-card:not(.archetype-card):hover{border-color:var(--poke-yellow);transform:translateY(-1px);box-shadow:0 4px 16px #0000004d}.community-card-left{flex-direction:column;align-items:center;min-width:44px;display:flex}.vote-buttons{flex-direction:column;align-items:center;gap:.1rem;display:flex}.vote-btn{color:var(--text-muted);cursor:pointer;border-radius:var(--radius-sm);transition:all var(--transition);background:0 0;border:none;padding:.15rem;display:flex}.vote-btn:hover{color:var(--text-primary)}.vote-btn.active.upvote{color:var(--success)}.vote-btn.active.downvote{color:var(--danger)}.vote-btn svg{width:20px;height:20px}.vote-count{text-align:center;min-width:28px;font-size:.9rem;font-weight:800}.vote-count.positive{color:var(--success)}.vote-count.negative{color:var(--danger)}.community-card-body{flex:1;min-width:0}.community-card-header{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.25rem;display:flex}.community-card-name{font-size:1rem;font-weight:800}.community-card-archetype{text-transform:uppercase;border-radius:var(--radius-full);background:var(--bg-hover);color:var(--poke-yellow);letter-spacing:.04em;padding:.1rem .5rem;font-size:.65rem;font-weight:700}.community-card-meta{color:var(--text-muted);margin-bottom:.35rem;font-size:.75rem}.community-card-desc{color:var(--text-secondary);margin-bottom:.5rem;font-size:.8rem;line-height:1.4}.community-card-sprites{flex-wrap:wrap;gap:.25rem;margin-bottom:.5rem;display:flex}.community-card-sprites img{width:44px;height:44px;image-rendering:pixelated;filter:drop-shadow(0 2px 3px #00000059)}.community-card-actions{flex-wrap:wrap;gap:.4rem;display:flex}.community-card-actions .action-btn{align-items:center;gap:.3rem;padding:.3rem .6rem;font-size:.7rem;display:flex}.community-card-actions .action-btn.saved{border-color:var(--poke-yellow);color:var(--poke-yellow)}.myteams-tabs{gap:.5rem;margin-bottom:1rem;display:flex}
