:root{--poke-red: #6BAE15;--poke-red-dark: #4A8A08;--poke-red-light: #96D030;--poke-yellow: #FFDE00;--poke-yellow-dark: #C8AA00;--poke-blue: #7851A9;--poke-blue-light: #9A75C8;--poke-dark: #1C2F0A;--poke-dark-2: #142208;--poke-card-bg: #FFFFFF;--poke-sidebar-bg: #F2F7EC;--poke-border: #D4E8C0;--poke-text: #1C2F0A;--poke-text-muted: #5A7040;--poke-shadow: 0 4px 20px rgba(0,0,0,.1);--poke-shadow-hover: 0 8px 32px rgba(107,174,21,.28);--radius: 16px;--radius-sm: 8px;--font-display: "Fredoka One", "Nunito", sans-serif;--font-body: "Nunito", sans-serif}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-body);background:#eaf4dc;color:var(--poke-text);min-height:100vh}.app{min-height:100vh;display:flex;flex-direction:column}.header{background:linear-gradient(135deg,var(--poke-red) 0%,var(--poke-red-dark) 100%);padding:0 24px;height:72px;display:flex;align-items:center;justify-content:flex-start;gap:12px;position:sticky;top:0;z-index:100;box-shadow:0 4px 16px #0000004d}.header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:4px;background:var(--poke-yellow)}.header-left{display:flex;align-items:center}.logo{display:flex;align-items:center;gap:12px}.logo-ball{font-size:36px;color:var(--poke-yellow);text-shadow:0 2px 8px rgba(0,0,0,.4);animation:spin-slow 8s linear infinite;display:inline-block}@keyframes spin-slow{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.site-title{font-family:var(--font-display);font-size:22px;color:#fff;letter-spacing:.5px;text-shadow:2px 2px 0 rgba(0,0,0,.3)}.site-subtitle{font-size:11px;color:#ffffffbf;letter-spacing:2px;text-transform:uppercase}.header-right{display:flex;align-items:center;margin-left:auto}.title-short{display:none}.search-wrapper{position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:12px;font-size:16px;pointer-events:none}.search-input{background:#ffffff26;border:2px solid rgba(255,255,255,.3);border-radius:24px;padding:8px 36px 8px 38px;color:#fff;font-family:var(--font-body);font-size:14px;width:240px;transition:all .2s;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.search-input::placeholder{color:#fff9}.search-input:focus{outline:none;background:#ffffff40;border-color:var(--poke-yellow);box-shadow:0 0 0 3px #ffde004d;width:280px}.search-clear{position:absolute;right:12px;background:none;border:none;color:#ffffffb3;cursor:pointer;font-size:14px;padding:4px}.lang-toggle{display:flex;gap:4px}.lang-btn{background:transparent;color:#ffffffbf;border:1.5px solid rgba(255,255,255,.4);border-radius:20px;padding:5px 13px;font-family:var(--font-display);font-size:13px;font-weight:700;cursor:pointer;transition:all .2s;letter-spacing:.5px}.lang-btn:hover{background:#ffffff26;color:#fff;border-color:#ffffffb3}.lang-btn--active{background:var(--poke-yellow);color:var(--poke-red-dark);border-color:var(--poke-yellow);box-shadow:0 2px 8px #0003}.lang-btn--active:hover{background:#fff;border-color:#fff}.layout{display:flex;min-height:calc(100vh - 72px)}.sidebar{width:280px;min-width:280px;background:var(--poke-sidebar-bg);border-right:2px solid var(--poke-border);display:flex;flex-direction:column;transition:width .3s ease,min-width .3s ease;overflow:hidden}.sidebar.closed{width:48px;min-width:48px}.sidebar-header{padding:16px;background:#fff;border-bottom:2px solid var(--poke-border);display:flex;align-items:center;gap:8px;position:sticky;top:0}.sidebar-title{font-family:var(--font-display);font-size:15px;color:var(--poke-text);flex:1;white-space:nowrap;overflow:hidden}.sidebar-toggle{background:none;border:none;cursor:pointer;font-size:16px;color:var(--poke-text-muted);padding:4px;flex-shrink:0;line-height:1}.clear-btn{background:var(--poke-red);color:#fff;border:none;border-radius:12px;padding:4px 10px;font-size:11px;font-family:var(--font-body);font-weight:700;cursor:pointer;white-space:nowrap;transition:background .2s}.clear-btn:hover{background:var(--poke-red-dark)}.sidebar-content{overflow-y:auto;flex:1;padding:8px 0}.filter-section{padding:12px 16px;border-bottom:1px solid var(--poke-border)}.filter-section-title{font-family:var(--font-display);font-size:13px;color:var(--poke-text-muted);margin-bottom:8px;letter-spacing:.3px}.filter-chips{display:flex;flex-wrap:wrap;gap:6px}.filter-chip{background:#fff;border:2px solid var(--poke-border);border-radius:20px;padding:4px 10px;font-size:12px;font-family:var(--font-body);font-weight:600;color:var(--poke-text);cursor:pointer;transition:all .15s;white-space:nowrap}.filter-chip:hover{border-color:var(--poke-red);color:var(--poke-red);background:#6bae150f}.filter-chip.active{background:var(--poke-red);border-color:var(--poke-red);color:#fff;box-shadow:0 2px 8px #6bae1559}.main-content{flex:1;padding:20px;overflow-y:auto}.results-bar{display:flex;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}.results-count{font-family:var(--font-display);font-size:18px;color:var(--poke-text-muted)}.active-filters{display:flex;flex-wrap:wrap;gap:6px}.active-filter-tag{background:var(--poke-yellow);color:var(--poke-red-dark);border-radius:16px;padding:3px 8px 3px 12px;font-size:12px;font-weight:700;display:flex;align-items:center;gap:4px}.active-filter-tag button{background:none;border:none;cursor:pointer;font-size:10px;color:var(--poke-red-dark);padding:0;line-height:1}.share-bar{display:flex;align-items:center;gap:8px;margin-bottom:16px;flex-wrap:wrap}.share-label{font-size:12px;font-weight:700;color:var(--poke-text-muted);white-space:nowrap}.share-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border-radius:20px;font-size:12px;font-weight:700;font-family:var(--font-body);cursor:pointer;text-decoration:none;border:1.5px solid transparent;transition:all .18s;white-space:nowrap;line-height:1}.share-btn--copy{background:#fff;color:var(--poke-text);border-color:var(--poke-border)}.share-btn--copy:hover{border-color:var(--poke-text-muted)}.share-btn--copied{background:#e6f4d7;color:var(--poke-red-dark);border-color:var(--poke-red)}.share-btn--facebook{background:#1877f2;color:#fff}.share-btn--facebook:hover{background:#0e65d9}.share-btn--x{background:#000;color:#fff}.share-btn--x:hover{background:#222}.share-btn--reddit{background:#ff4500;color:#fff}.share-btn--reddit:hover{background:#e03d00}.pokemon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}.pokemon-card{background:var(--poke-card-bg);border-radius:var(--radius);border:2px solid var(--poke-border);cursor:pointer;transition:all .25s cubic-bezier(.34,1.56,.64,1);overflow:hidden;position:relative}.pokemon-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--poke-red),var(--poke-yellow));opacity:0;transition:opacity .2s}.pokemon-card:hover{transform:translateY(-6px) scale(1.02);box-shadow:var(--poke-shadow-hover);border-color:var(--poke-red)}.pokemon-card:hover:before{opacity:1}.card-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px 0}.dex-no{font-family:var(--font-display);font-size:12px;color:var(--poke-text-muted)}.rarity-dot{width:10px;height:10px;border-radius:50%;box-shadow:0 0 6px currentColor}.card-image-wrapper{display:flex;justify-content:center;align-items:center;padding:8px;background:radial-gradient(circle at center,rgba(107,174,21,.06) 0%,transparent 70%)}.pokemon-img{width:100px;height:100px;object-fit:contain;transition:transform .3s ease;filter:drop-shadow(0 4px 8px rgba(0,0,0,.15))}.pokemon-card:hover .pokemon-img{transform:scale(1.1) translateY(-4px)}.card-body{padding:0 12px 12px}.pokemon-name{font-family:var(--font-display);font-size:15px;color:var(--poke-text);margin-bottom:6px;text-align:center}.type-row{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-bottom:6px}.type-badge{display:inline-flex;align-items:center;gap:3px;border-radius:10px;padding:2px 8px;font-size:10px;font-weight:800;color:#fff;letter-spacing:.3px;text-shadow:0 1px 2px rgba(0,0,0,.3)}.type-icon{width:14px;height:14px;flex-shrink:0}.specialty-row{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin-bottom:6px}.specialty-tag{background:#0000000a;color:var(--poke-text);border-radius:10px;padding:2px 8px;font-size:10px;font-weight:700;display:flex;align-items:center;gap:3px}.spec-icon{width:16px;height:16px;vertical-align:middle}.ideal-habitat{text-align:center;font-size:10px;color:var(--poke-text-muted);font-weight:600;background:#0000000a;border-radius:8px;padding:3px 6px;margin-top:4px}.no-results{text-align:center;padding:80px 20px;color:var(--poke-text-muted)}.no-results-icon{font-size:64px;margin-bottom:16px}.no-results p{font-family:var(--font-display);font-size:18px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1c2f0ab8;z-index:200;display:flex;align-items:center;justify-content:center;padding:20px;animation:fadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:24px;max-width:560px;width:100%;max-height:90vh;overflow-y:auto;position:relative;animation:slideUp .3s cubic-bezier(.34,1.56,.64,1);box-shadow:0 24px 80px #0006}@keyframes slideUp{0%{transform:translateY(40px) scale(.95);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.modal-close{position:absolute;top:16px;right:16px;background:#00000014;border:none;border-radius:50%;width:32px;height:32px;cursor:pointer;font-size:14px;color:var(--poke-text-muted);transition:all .2s;z-index:10}.modal-close:hover{background:var(--poke-red);color:#fff}.modal-hero{background:linear-gradient(135deg,#f2fae8,#fafce8);border-radius:24px 24px 0 0;padding:32px 24px 24px;display:flex;align-items:center;gap:20px;border-bottom:2px solid var(--poke-border)}.modal-img{width:140px;height:140px;object-fit:contain;filter:drop-shadow(0 8px 16px rgba(0,0,0,.2));flex-shrink:0;animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.modal-header-info{flex:1}.modal-dex{font-family:var(--font-display);font-size:13px;color:var(--poke-text-muted)}.modal-name{font-family:var(--font-display);font-size:28px;color:var(--poke-text);line-height:1.1;margin:4px 0}.modal-bilingual{font-size:13px;color:var(--poke-text-muted);margin-bottom:8px}.rarity-badge{display:inline-block;color:#fff;border-radius:12px;padding:3px 12px;font-size:12px;font-weight:700;margin-top:8px;text-shadow:0 1px 2px rgba(0,0,0,.2)}.rarity-badge--inline{margin-top:0;margin-left:8px;padding:1px 8px;font-size:11px;vertical-align:middle}.modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:0}.modal-section{padding:16px 20px;border-bottom:1px solid var(--poke-border);border-right:1px solid var(--poke-border)}.modal-section:nth-child(2n){border-right:none}.modal-section.full-width{grid-column:1 / -1;border-right:none}.modal-section h3{font-family:var(--font-display);font-size:13px;color:var(--poke-text-muted);margin-bottom:8px;letter-spacing:.3px}.modal-section p{font-size:15px;font-weight:700;color:var(--poke-text)}.favorites-list{display:flex;flex-wrap:wrap;gap:6px}.fav-chip{background:#fff3e0;border:2px solid #FFCC80;border-radius:16px;padding:4px 12px;font-size:12px;font-weight:700;color:#e65100}.info-list{list-style:none;display:flex;flex-direction:column;gap:4px}.info-list li{font-size:13px;font-weight:600;color:var(--poke-text);padding:2px 0 2px 16px;position:relative}.info-list li:before{content:"▸";position:absolute;left:0;color:var(--poke-red);top:2px}.habitat-item{display:flex;flex-direction:column;gap:4px}.habitat-row,.condition-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.condition-icons{display:inline-flex;align-items:center;gap:3px}.condition-icon{width:16px;height:16px;object-fit:contain;background:#3d4451;border-radius:4px;padding:2px;box-sizing:content-box}.site-footer{background:var(--poke-dark-2);color:#9ab87a;padding:24px 32px;margin-top:auto;border-top:3px solid var(--poke-red-dark)}.footer-inner{max-width:960px;margin:0 auto;text-align:center;display:flex;flex-direction:column;gap:8px}.footer-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px}.footer-links a{color:var(--poke-yellow);text-decoration:none;font-weight:700;transition:color .2s}.footer-links a:hover{color:#fff}.footer-donate{background:var(--poke-yellow);color:var(--poke-dark)!important;border-radius:20px;padding:3px 14px;font-size:13px;transition:opacity .2s!important}.footer-donate:hover{opacity:.85}.footer-sep{color:#8ab870}.footer-copy,.footer-updated{font-size:12px;color:#6a8a50}.back-to-top{position:fixed;bottom:32px;right:28px;width:48px;height:48px;border-radius:50%;border:none;background:var(--poke-red);color:#fff;font-size:22px;font-weight:700;cursor:pointer;box-shadow:0 4px 16px #00000040;z-index:200;opacity:0;pointer-events:none;transform:translateY(12px);transition:opacity .25s,transform .25s}.back-to-top.visible{opacity:1;pointer-events:auto;transform:translateY(0)}.back-to-top:hover{background:var(--poke-red-dark);transform:translateY(-2px)}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--poke-border);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--poke-text-muted)}@media (max-width: 768px){.header{padding:8px 12px 0;height:auto;flex-wrap:wrap;gap:8px;row-gap:0;align-items:center;align-content:flex-start}.header-left{flex-shrink:0}.header-right{flex:1;min-width:0;margin-left:8px;justify-content:flex-end}.search-wrapper{flex:1;min-width:0}.search-input{width:100%}.search-input:focus{width:100%}.lang-toggle{flex:0 0 100%;justify-content:center;padding:6px 0 8px;border-top:1px solid rgba(255,255,255,.15);margin-top:4px}.lang-btn{padding:5px 14px;font-size:13px}.logo-ball{font-size:28px}.title-full{display:none}.title-short{display:inline}.site-title{font-size:17px}.site-subtitle{display:none}.sidebar{width:100%;min-width:100%;border-right:none;border-bottom:2px solid var(--poke-border)}.sidebar.closed{width:100%;min-width:100%;height:48px}.layout{flex-direction:column}.pokemon-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.modal-hero{flex-direction:column;text-align:center}.modal-grid{grid-template-columns:1fr}.modal-section{border-right:none}}
