.birds-page{max-width:1100px;margin:0 auto;padding:2rem 1.5rem}.birds-header{text-align:center;margin-bottom:2.5rem}.birds-header h1{font-size:2.5rem;margin-bottom:.5rem}.birds-header .subtitle{color:var(--text-muted);font-size:1rem}.birds-tabs{display:flex;gap:0;border-bottom:1px solid var(--border);margin-bottom:2rem;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.birds-tabs::-webkit-scrollbar{display:none}.birds-tab{background:none;border:none;color:var(--text-muted);font-family:var(--font-body);font-size:.9rem;padding:.75rem 1.25rem;cursor:pointer;white-space:nowrap;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}.birds-tab:hover{color:var(--text-primary)}.birds-tab.active{color:var(--brass-text);border-bottom-color:var(--brass-text)}.birds-tab-panel{display:none}.birds-tab-panel.active{display:block}.metrics-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:2rem}.metric-card{background:var(--bg-surface);border:1px solid var(--border);border-radius:8px;padding:1.25rem;text-align:center}.metric-card .value{font-family:var(--font-heading);font-size:2.2rem;font-weight:600;color:var(--text-primary);line-height:1.1}.metric-card .label{font-size:.8rem;color:var(--text-muted);margin-top:.35rem;text-transform:uppercase;letter-spacing:.05em}.metric-card .delta{font-size:.8rem;margin-top:.25rem}.delta-up{color:var(--green-text)}.delta-down{color:var(--clay-text)}.delta-stable{color:var(--text-muted)}.species-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:2rem}.species-item{display:flex;align-items:center;gap:1rem;background:var(--bg-surface);border:1px solid var(--border);border-radius:8px;padding:.75rem 1rem;transition:border-color .2s}.species-item:hover{border-color:var(--brass-text)}.species-rank{font-family:var(--font-heading);font-size:1.1rem;font-weight:600;color:var(--text-muted);min-width:1.75rem;text-align:center}.species-thumb{width:48px;height:48px;border-radius:50%;object-fit:cover;background:var(--border);flex-shrink:0}.species-info{flex:1;min-width:0}.species-name{font-family:var(--font-heading);font-size:1.05rem;font-weight:600;color:var(--text-primary)}.species-sci{font-size:.8rem;color:var(--text-muted);font-style:italic}.species-count{font-family:var(--font-heading);font-size:1.2rem;font-weight:600;color:var(--brass-text);text-align:right;min-width:4rem}.species-trend{font-size:.85rem;min-width:2rem;text-align:center}.chart-container{background:var(--bg-surface);border:1px solid var(--border);border-radius:8px;padding:1rem;margin-bottom:2rem}.chart-container h3{margin-bottom:1rem;font-size:1.15rem}.loading-spinner{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;color:var(--text-muted);gap:1rem}.spinner-ring{width:36px;height:36px;border:3px solid var(--border);border-top-color:var(--brass-text);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-msg{text-align:center;padding:2rem;color:var(--clay-text);font-size:.9rem}.section-heading{font-family:var(--font-heading);font-size:1.4rem;font-weight:600;margin-bottom:1rem;color:var(--text-primary)}.section-subheading{font-size:.85rem;color:var(--text-muted);margin-bottom:1.5rem}.migration-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.migration-card{background:var(--bg-surface);border:1px solid var(--border);border-radius:8px;padding:1.25rem}.migration-card h3{font-size:1.1rem;margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem}.migration-card .badge{font-family:var(--font-body);font-size:.75rem;font-weight:500;padding:.15rem .5rem;border-radius:2rem;color:#fff}.badge-new{background:var(--green-text)}.badge-gone{background:var(--clay-text)}.badge-up{background:var(--brass)}.badge-down{background:var(--wisteria)}.migration-species-list{list-style:none}.migration-species-list li{padding:.4rem 0;border-bottom:1px solid var(--border);font-size:.9rem;display:flex;justify-content:space-between;align-items:center}.migration-species-list li:last-child{border-bottom:none}.migration-empty{color:var(--text-muted);font-size:.85rem;font-style:italic}.weekly-report{background:var(--bg-surface);border:1px solid var(--border);border-radius:8px;padding:1.25rem;margin-top:1.5rem}.weekly-report h3{margin-bottom:.75rem}.report-text{font-family:var(--font-body);font-size:.85rem;line-height:1.7;color:var(--text-primary);white-space:pre-wrap;max-height:400px;overflow-y:auto}.copy-btn{background:var(--brass);color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.8rem;font-family:var(--font-body);margin-top:.75rem;transition:background .2s}.copy-btn:hover{background:var(--brass-text)}.map-container{background:var(--bg-surface);border:1px solid var(--border);border-radius:8px;overflow:hidden;margin-bottom:2rem}.map-wrapper{height:500px;width:100%}.map-legend{background:#0e0c0ae6;border:1px solid var(--border);border-radius:6px;padding:.75rem 1rem;font-size:.8rem;color:var(--text-primary);line-height:1.8}.map-legend-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:.4rem;vertical-align:middle}.leaflet-popup-content-wrapper{background:var(--bg-surface)!important;color:var(--text-primary)!important;border-radius:8px!important;border:1px solid var(--border)!important;box-shadow:0 4px 20px #00000080!important}.leaflet-popup-tip{background:var(--bg-surface)!important}.leaflet-popup-content{font-family:var(--font-body)!important;font-size:.85rem!important;margin:.75rem 1rem!important}.explorer-controls{margin-bottom:1.5rem}.explorer-select{width:100%;max-width:400px;padding:.6rem 1rem;background:var(--bg-surface);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);font-family:var(--font-body);font-size:.9rem;cursor:pointer}.explorer-select:focus{outline:none;border-color:var(--brass-text)}.species-hero{display:flex;gap:1.5rem;align-items:flex-start;background:var(--bg-surface);border:1px solid var(--border);border-radius:8px;padding:1.5rem;margin-bottom:2rem}.species-hero-img{width:120px;height:120px;border-radius:8px;object-fit:cover;background:var(--border);flex-shrink:0}.species-hero-info h2{font-size:1.6rem;margin-bottom:.25rem}.species-hero-info .sci-name{font-style:italic;color:var(--text-muted);margin-bottom:.5rem}.species-hero-stat{font-size:.9rem;color:var(--text-muted);margin-bottom:.25rem}.species-hero-stat strong{color:var(--brass-text)}.ebird-link{display:inline-block;margin-top:.5rem;font-size:.85rem;color:var(--brass-text)}.ebird-link:hover{color:var(--purple-text)}.climate-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;margin-top:1.5rem}.climate-card{background:var(--bg-surface);border:1px solid var(--border);border-radius:8px;padding:1.25rem}.climate-card .name{font-family:var(--font-heading);font-size:1.1rem;font-weight:600;margin-bottom:.15rem}.climate-card .sci{font-size:.8rem;color:var(--text-muted);font-style:italic;margin-bottom:.75rem}.climate-card .change{font-size:1.3rem;font-weight:600;font-family:var(--font-heading)}.climate-card .change.positive{color:var(--green-text)}.climate-card .change.negative{color:var(--clay-text)}.climate-card .change.neutral{color:var(--text-muted)}.climate-card .class-label{display:inline-block;margin-top:.5rem;padding:.15rem .6rem;border-radius:2rem;font-size:.75rem;font-weight:500}.class-winner{background:#5a9a5a33;color:var(--green-text)}.class-stable{background:#b8a88033;color:var(--text-primary)}.class-vulnerable{background:#c46a4a33;color:var(--clay-text)}.class-loser{background:#9a6ab833;color:var(--purple-text)}.about-section{margin-top:2rem;border:1px solid var(--border);border-radius:8px;overflow:hidden}.about-toggle{width:100%;background:var(--bg-surface);border:none;color:var(--text-primary);font-family:var(--font-heading);font-size:1.1rem;padding:1rem 1.25rem;cursor:pointer;text-align:left;display:flex;justify-content:space-between;align-items:center}.about-toggle:hover{color:var(--brass-text)}.about-content{display:none;padding:0 1.25rem 1.25rem;background:var(--bg-surface);font-size:.9rem;line-height:1.7;color:var(--text-muted)}.about-content.open{display:block}.about-content p{margin-bottom:.75rem}.impact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1.5rem}.impact-card{background:var(--bg-surface);border:1px solid var(--border);border-radius:8px;padding:1rem}.impact-card .period{font-size:.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.impact-card .stat-row{display:flex;justify-content:space-between;padding:.3rem 0;font-size:.9rem}.impact-card .stat-row .stat-val{font-weight:500;color:var(--brass-text)}@media(max-width:768px){.birds-header h1{font-size:1.8rem}.metrics-row{grid-template-columns:repeat(2,1fr)}.species-hero{flex-direction:column;align-items:center;text-align:center}.species-hero-img{width:100px;height:100px}.map-wrapper{height:350px}.migration-grid,.climate-cards{grid-template-columns:1fr}.birds-tab{padding:.6rem .9rem;font-size:.8rem}}@media(max-width:480px){.birds-page{padding:1rem}.metrics-row{grid-template-columns:1fr}.species-item{padding:.6rem .75rem;gap:.75rem}.species-thumb{width:36px;height:36px}}
