.wildlife{max-width:1200px;margin:0 auto;padding:38px 28px 64px}.wildlife h1{font-size:48px;line-height:1.1;margin:12px 0 18px;color:#2c2c2c}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2px;color:#6d6d6d;font-weight:700}.wild-intro{display:flex;justify-content:space-between;gap:30px;align-items:center;border-bottom:1px solid #e3e3e3;padding-bottom:24px}.wild-intro p{max-width:620px;color:#6f6f6f;margin-bottom:14px}.profile-link,.filter-reset{display:inline-block;border:1px solid #cdcdcd;border-radius:3px;padding:10px 16px;font-size:13px}.wild-stats{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #e3e3e3;padding:26px 0;margin-bottom:34px}.wild-stat{padding:0 22px;border-right:1px solid #e3e3e3}.wild-stat:first-child{padding-left:0}.wild-stat:last-child{border:0}.wild-stat strong{font-size:38px;font-weight:500;display:block;color:#1f1f1f;line-height:1.25}.wild-stat span{font-size:12px;color:#6f6f6f}.wild-stat small{display:block;font-size:10px;color:#7f7f7f}.world-section{display:grid;grid-template-columns:1fr 250px;gap:32px;margin-bottom:40px}.wildlife h2{font-size:24px;line-height:30px}.world-map{width:100%;height:auto;background:#f7f7f7;border:1px solid #e8e8e8;border-radius:4px}.world-map path{fill:#dedede;stroke:#fff;stroke-width:.5;transition:fill .15s}.world-map path.visited{fill:#6d6d6d;cursor:pointer}.world-map path.visited:hover,.world-map path.selected{fill:#1f1f1f;stroke:#a2a2a2;stroke-width:1.5}.map-caption{font-size:11px;color:#7c7c7c;margin:8px 0}.country-list{list-style:none;padding:0;margin:0}.country-list button{display:flex;justify-content:space-between;width:100%;padding:12px 0;border:0;border-bottom:1px solid #e3e3e3;background:white;font-size:13px;text-align:left;color:#555}.country-list button:hover,.country-list button.active{color:#1f1f1f;font-weight:700}.country-list b{color:#1f1f1f}.sync-status{font-size:11px;color:#7c7c7c;margin:0 0 20px}.bird-toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.bird-toolbar input,.bird-toolbar select{padding:10px 14px;border:1px solid #d6d6d6;background:white;border-radius:3px;color:#555;font-size:13px}.bird-toolbar input{flex:1;min-width:170px}.bird-count{font-size:12px;color:#797979}.bird-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.bird-card{border:1px solid #e0e0e0;border-radius:4px;overflow:hidden;margin:0}.bird-card img{display:block;aspect-ratio:4/3;object-fit:cover;width:100%}.bird-card .no-photo{aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;background:#f3f3f3;color:#909090;font-size:12px}.bird-card .bird-info{padding:16px}.bird-card h3{font-size:17px;line-height:22px;margin:0 0 4px}.bird-card p{font-size:12px;margin:0;color:#797979}.bird-card .scientific{font-style:italic;margin-bottom:8px}.bird-empty{grid-column:1/-1;padding:40px 24px;text-align:center;background:#f7f7f7;border:1px solid #e3e3e3}.bird-empty h3{font-size:20px}.bird-empty p{font-size:14px;max-width:560px;margin:0 auto 12px}.wildlife footer{margin-top:36px;border-top:1px solid #e3e3e3;padding-top:18px;font-size:12px;color:#797979}.goal-bar{height:6px;background:#e3e3e3;border-radius:3px;margin-top:10px}.goal-bar span{height:100%;display:block;background:#505050;border-radius:3px}@media(max-width:767px){.wildlife{padding:28px 20px}.wildlife h1{font-size:38px}.wild-intro{display:block}.wild-stats{grid-template-columns:1fr 1fr;gap:24px}.wild-stat{padding:0!important;border:0}.world-section{grid-template-columns:1fr}.bird-grid{grid-template-columns:1fr 1fr}}@media(max-width:480px){.bird-grid{grid-template-columns:1fr}.wildlife h1{font-size:34px}.wild-stat strong{font-size:32px}}
/* Interactive map, three metrics, and the default photo-only switch. */
[hidden]{display:none!important}.wild-stats{grid-template-columns:repeat(3,1fr)}
.world-map{aspect-ratio:2/1;touch-action:manipulation}.world-map path{stroke:#fff;stroke-width:.5;vector-effect:non-scaling-stroke;transition:opacity .2s,stroke .2s}

.world-map path.selected{stroke:#0f0f0f;stroke-width:2}.world-map path[role=button]{cursor:pointer}.world-map path[role=button]:hover,.world-map path[role=button]:focus{stroke:#161616;stroke-width:1.8;outline:none}
.world-map #world-layer.zoomed{opacity:.25}.world-map #world-layer.zoomed path{pointer-events:none}
.map-controls{display:flex;gap:8px;align-items:center;margin:0 0 10px;font-size:12px;min-height:34px}.map-controls button{background:#fff;border:1px solid #cdcdcd;color:#1f1f1f;padding:6px 12px;border-radius:3px}.map-controls #map-back{margin-left:auto}
.heat-legend{display:flex;gap:12px;align-items:center;margin:10px 0;font-size:11px;color:#797979}.heat-legend i{display:block;height:8px;flex:1;max-width:140px;background:linear-gradient(to right,#dedede,#202020);border-radius:2px}
.country-list button.selected{color:#1f1f1f;font-weight:bold}.photo-toggle{display:flex;align-items:center;gap:10px;width:fit-content;font-size:13px;cursor:pointer;margin:0 0 20px}.photo-toggle input{position:absolute;opacity:0;width:1px;height:1px}.toggle-track{width:38px;height:22px;background:#b0b0b0;border-radius:12px;padding:3px;transition:background .2s}.toggle-track::after{content:'';display:block;width:16px;height:16px;background:white;border-radius:50%;transition:transform .2s}.photo-toggle input:checked+.toggle-track{background:#505050}.photo-toggle input:checked+.toggle-track::after{transform:translateX(16px)}.photo-toggle input:focus-visible+.toggle-track{outline:2px solid #1f1f1f;outline-offset:3px}.bird-card img:not([src]){background:#eeeeee}
@media(max-width:767px){.wild-stats{grid-template-columns:repeat(3,1fr)}.wild-stat strong{font-size:30px}.map-controls{flex-wrap:wrap}}

/* Contemporary cards and controls inspired by 21st.dev community patterns.
   Use a monochrome palette throughout the wildlife interface and map. */
.wildlife{--wild-ink:#252525;--wild-muted:#737373;--wild-line:#e7e7e7;--wild-accent:#393939;--wild-soft:#f7f7f7;max-width:1240px;padding:clamp(32px,5vw,68px) clamp(18px,4vw,48px) 72px;color:var(--wild-ink)}
.wild-intro{align-items:flex-end;border:0;padding:0 0 30px}
.wildlife h1{font-size:clamp(38px,5.2vw,62px);letter-spacing:-.045em;line-height:1.02;color:var(--wild-ink);margin:10px 0 0}
.profile-link{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--wild-line);border-radius:999px;padding:11px 17px;color:var(--wild-ink);font-weight:600;transition:background .2s,border-color .2s,transform .2s}
.profile-link:hover{background:var(--wild-soft);border-color:#d3d3d3;transform:translateY(-1px)}
.wild-stats{gap:12px;border:0;padding:0;margin:0 0 clamp(44px,6vw,76px)}
.wild-stat{position:relative;overflow:hidden;min-height:118px;padding:21px 24px!important;border:1px solid var(--wild-line)!important;border-radius:14px;background:linear-gradient(145deg,#fff 30%,#fafafa);box-shadow:0 4px 16px #18181808}
.wild-stat::after{content:"";position:absolute;width:94px;height:94px;right:-37px;bottom:-55px;border-radius:50%;background:#3939390a}
.wild-stat strong{position:relative;z-index:1;font-size:clamp(30px,3.4vw,42px);font-weight:600;letter-spacing:-.04em;color:var(--wild-accent);font-variant-numeric:tabular-nums}
.wild-stat span{position:relative;z-index:1;display:block;margin-top:4px;font-size:12px;letter-spacing:.025em;color:var(--wild-muted)}
.wildlife h2{font-size:clamp(23px,2.7vw,30px);letter-spacing:-.025em;line-height:1.2;color:var(--wild-ink);margin-bottom:17px}
.world-section{grid-template-columns:minmax(0,1fr) minmax(210px,260px);gap:34px;margin-bottom:clamp(48px,7vw,88px);align-items:start}
.world-section>div:last-child{padding:19px 20px 14px;border:1px solid var(--wild-line);border-radius:14px;background:#fff;box-shadow:0 4px 18px #18181808}
.world-section>div:last-child h2{font-size:18px;margin-bottom:7px}
.country-list{max-height:390px;overflow:auto;scrollbar-width:thin;scrollbar-color:#d1d1d1 transparent}
.country-list button{align-items:center;padding:10px 0;border-color:#eeeeee;font-size:13px;color:#5f5f5f;transition:color .16s,padding .16s}
.country-list button:hover,.country-list button.active,.country-list button.selected{padding-left:4px;color:var(--wild-accent)}
.country-list b{min-width:34px;padding:3px 8px;border-radius:999px;background:var(--wild-soft);text-align:center;font-size:11px;font-variant-numeric:tabular-nums}
.wildlife section:has(>.bird-toolbar){padding:clamp(20px,3vw,32px);border:1px solid var(--wild-line);border-radius:18px;background:linear-gradient(150deg,#fff 55%,#fbfbfb);box-shadow:0 8px 30px #1818180a}
.bird-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(140px,190px) minmax(140px,190px) auto;gap:10px;margin:0 0 14px}
.bird-toolbar input,.bird-toolbar select{min-width:0;height:46px;padding:0 15px;border:1px solid var(--wild-line);border-radius:10px;background:#fff;color:var(--wild-ink);font-size:13px;transition:border-color .18s,box-shadow .18s}
.bird-toolbar input:focus,.bird-toolbar select:focus{border-color:#929292;outline:0;box-shadow:0 0 0 3px #39393914}
.bird-toolbar input::placeholder{color:#969696}
.filter-reset{height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;border:1px solid var(--wild-line);border-radius:10px;background:#fff;color:#5f5f5f;font-size:13px;font-weight:600;transition:background .18s,border-color .18s,color .18s}
.filter-reset::before{content:"↺";font-size:17px;line-height:1}
.filter-reset:hover{border-color:#c8c8c8;background:var(--wild-soft);color:var(--wild-accent)}
.photo-toggle{min-height:42px;gap:11px;margin:0 0 3px;font-size:13px;color:#535353}
.toggle-track{width:40px;height:23px;background:#d3d3d3;border-radius:20px;padding:3px}
.toggle-track::after{width:17px;height:17px;box-shadow:0 1px 3px #0002}
.photo-toggle input:checked+.toggle-track{background:var(--wild-accent)}
.photo-toggle input:checked+.toggle-track::after{transform:translateX(17px)}
.bird-count{display:flex;align-items:center;min-height:31px;margin:0 0 14px;color:var(--wild-muted);font-size:12px;font-variant-numeric:tabular-nums}
.bird-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.bird-card{border:1px solid var(--wild-line);border-radius:12px;background:#fff;box-shadow:0 3px 13px #18181808;transition:transform .2s,box-shadow .2s,border-color .2s}
.bird-card:hover{transform:translateY(-3px);border-color:#d2d2d2;box-shadow:0 12px 28px #18181812}
.bird-card img,.bird-card .no-photo{aspect-ratio:4/3}
.bird-card .bird-info{padding:15px 16px 17px}
.bird-card h3{font-size:16px;letter-spacing:-.015em;color:var(--wild-ink)}
.bird-card p{font-size:12px;color:var(--wild-muted)}
.bird-card .scientific{margin-bottom:9px}
.bird-empty{border:1px dashed #d7d7d7;border-radius:12px;background:var(--wild-soft)}
.wildlife>footer{margin-top:30px;border-color:var(--wild-line);color:var(--wild-muted)}
@media(max-width:900px){.world-section{grid-template-columns:minmax(0,1fr) 220px;gap:20px}.bird-toolbar{grid-template-columns:minmax(180px,1fr) 1fr 1fr 150px}.bird-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.wildlife{padding:32px 18px 52px}.wild-intro{display:flex;align-items:flex-start;flex-direction:column;gap:20px}.wild-stats{gap:8px;margin-bottom:46px}.wild-stat{min-height:100px;padding:16px 13px!important}.wild-stat strong{font-size:clamp(25px,7vw,32px)}.wild-stat span{font-size:11px}.world-section{grid-template-columns:1fr;gap:14px}.world-section>div:last-child{padding:16px}.country-list{max-height:230px}.wildlife section:has(>.bird-toolbar){padding:18px 14px;border-radius:14px}.bird-toolbar{grid-template-columns:1fr 1fr}.bird-toolbar input{grid-column:1/-1}.bird-grid{gap:12px}}
@media(max-width:480px){.bird-grid{grid-template-columns:1fr 1fr}.bird-card .bird-info{padding:12px}.bird-card h3{font-size:14px;line-height:19px}.bird-card p{font-size:11px}.photo-toggle{font-size:12px}}
@media(prefers-reduced-motion:reduce){.profile-link,.country-list button,.bird-toolbar input,.bird-toolbar select,.filter-reset,.bird-card{transition:none}}

.photo-count{color:var(--wild-muted);font-variant-numeric:tabular-nums;font-size:12px}

/* Global progress, location captions, map breadcrumb pills and custom selects. */
.global-progress{margin:-8px 0 22px;padding:0 1px 25px;border-bottom:0}
.global-progress-copy{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin-bottom:11px;color:#5a5a5a;font-size:13px}
.global-progress-copy strong{font-size:14px;font-weight:650;color:var(--wild-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.global-progress-copy small{font-size:12px;font-weight:450;color:var(--wild-muted)}
.global-progress-track{height:9px;overflow:hidden;border-radius:99px;background:#ebebeb;box-shadow:inset 0 1px 2px #1616160c}
.global-progress-track span{display:block;height:100%;min-width:5px;border-radius:inherit;background:linear-gradient(90deg,#838383,#393939);transition:width .6s ease}
.global-progress>p{margin:8px 0 0;text-align:right;color:#848484;font-size:11px}
.map-controls{width:fit-content;max-width:100%;min-height:0;padding:5px;gap:4px;margin:0 0 12px;border:1px solid #e9e9e9;border-radius:999px;background:#f9f9f9;color:var(--wild-muted)}
.map-controls button{min-height:33px;padding:6px 13px;border:1px solid transparent;border-radius:999px;background:transparent;color:#676767;font-size:12px;font-weight:600;transition:background .18s,color .18s,box-shadow .18s}
.map-controls button:hover{background:#ededed;color:var(--wild-accent)}
.map-controls #map-world{background:#fff;color:var(--wild-accent);box-shadow:0 1px 4px #16161612}
.map-controls #map-country:not([hidden]){background:#eaeaea;color:var(--wild-accent)}
.map-controls #map-place:not(:empty){padding:0 8px;color:#676767;font-size:12px}
.map-controls #map-back{margin-left:0;border-left:1px solid #e3e3e3;border-radius:0 999px 999px 0;color:var(--wild-accent)}
.bird-select{position:relative;min-width:0}
.bird-select-trigger{position:relative;width:100%;height:46px;padding:0 38px 0 15px;overflow:hidden;border:1px solid var(--wild-line);border-radius:10px;background:#fff;color:var(--wild-ink);text-align:left;text-overflow:ellipsis;white-space:nowrap;font-size:13px;cursor:pointer;transition:border-color .18s,box-shadow .18s}
.bird-select-trigger::after{content:"";position:absolute;right:15px;top:18px;width:7px;height:7px;border-right:1.5px solid #737373;border-bottom:1.5px solid #737373;transform:rotate(45deg);transition:transform .18s}
.bird-select-trigger[aria-expanded="true"]{border-color:#929292;box-shadow:0 0 0 3px #39393914}
.bird-select-trigger[aria-expanded="true"]::after{top:21px;transform:rotate(225deg)}
.bird-select-menu{position:absolute;z-index:80;top:calc(100% + 8px);left:0;right:0;max-height:280px;overflow:auto;padding:5px;border:1px solid #e4e4e4;border-radius:12px;background:#fff;box-shadow:0 14px 36px #1818181c;scrollbar-width:thin}
.bird-select-menu[hidden]{display:none}
.bird-select-option{display:flex;align-items:center;width:100%;min-height:38px;padding:8px 11px;border:0;border-radius:8px;background:transparent;color:#535353;text-align:left;font-size:13px;cursor:pointer}
.bird-select-option:hover,.bird-select-option:focus-visible,.bird-select-option[aria-selected="true"]{background:#f2f2f2;color:var(--wild-accent);outline:0}
.bird-select-option[aria-selected="true"]::after{content:"✓";margin-left:auto;color:var(--wild-accent);font-weight:700}
.bird-location{display:flex;align-items:center;gap:5px;margin:0 0 8px!important;color:#606060!important;font-size:11px!important;line-height:1.4}
.bird-location span{color:var(--wild-accent);font-size:15px;line-height:1}
@media(max-width:767px){.map-controls{margin-bottom:10px}.global-progress{margin-top:0}.bird-select-trigger{padding-left:12px;padding-right:32px}.bird-select-trigger::after{right:12px}}
@media(max-width:480px){.global-progress-copy{align-items:flex-start;flex-direction:column;gap:4px}.global-progress>p{text-align:left}.map-controls{flex-wrap:nowrap}}
@media(prefers-reduced-motion:reduce){.global-progress-track span,.map-controls button,.bird-select-trigger,.bird-select-trigger::after{transition:none}}
.world-section{grid-template-rows:auto auto auto;row-gap:0;align-items:stretch}
.world-section>div:first-child{display:contents}
.world-section>div:first-child>h2{grid-column:1;grid-row:1}
.world-section>div:first-child>.map-controls{grid-column:1;grid-row:2}
.world-section>div:first-child>.world-map{grid-column:1;grid-row:3}
.world-section>div:last-child{grid-column:2;grid-row:3}
.world-section>div:last-child{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.world-section>div:last-child h2{flex:none}
.world-section .country-list{flex:1;min-height:0;max-height:none}
.world-section>div:first-child>.world-heading{grid-column:1/-1;grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px;min-width:0}
.world-heading h2{margin:0}
.world-heading .photo-toggle{flex:none;min-height:36px;margin:0;white-space:nowrap}
/* Adapted from 21st.dev's Empty State media pattern: a quiet icon-led placeholder. */
.bird-card .no-photo{flex-direction:column;gap:16px;padding:16px;text-align:center;background:linear-gradient(145deg,#fafafa,#f2f2f2);color:#737373}
.no-photo-art{position:relative;display:grid;place-items:center;width:76px;height:76px}
.no-photo-frame{position:absolute;inset:10px;border:1px dashed #d0d0d0;border-radius:12px;transform:rotate(-12deg);background:#f5f5f5}
.no-photo-icon{position:relative;display:grid;place-items:center;width:58px;height:58px;border:1px solid #dedede;border-radius:14px;background:#fff;box-shadow:0 3px 8px #00000006;color:#777}
.no-photo-icon svg{width:27px;height:27px}
@media(max-width:480px){.world-heading{gap:8px!important}.world-heading h2{font-size:22px}.world-heading .photo-toggle{gap:6px;font-size:11px}.world-heading .photo-count{font-size:11px}.world-heading .toggle-track{width:34px;height:21px;padding:3px}.world-heading .toggle-track::after{width:15px;height:15px}.world-heading .photo-toggle input:checked+.toggle-track::after{transform:translateX(13px)}.bird-card .no-photo{gap:8px;padding:12px;font-size:10px}.no-photo-art{width:52px;height:52px}.no-photo-frame{inset:6px;border-radius:10px}.no-photo-icon{width:42px;height:42px;border-radius:11px}.no-photo-icon svg{width:22px;height:22px}}
@media(max-width:767px){.world-section{grid-template-columns:1fr;grid-template-rows:auto auto auto auto;row-gap:0;align-items:stretch}.world-section>div:first-child>h2{grid-column:1;grid-row:1}.world-section>div:first-child>.map-controls{grid-column:1;grid-row:2}.world-section>div:first-child>.world-map{grid-column:1;grid-row:3}.world-section>div:last-child{grid-column:1;grid-row:4;height:auto;margin-top:0;overflow:visible}.world-section .country-list{flex:initial;max-height:230px}}
