*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{background:#f9fafb;color:#111827;font-family:Geist,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.4}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
[hidden]{display:none!important}
.wrap{max-width:80rem;margin:0 auto;padding:0 1rem}

header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.92);backdrop-filter:saturate(1.6) blur(8px);-webkit-backdrop-filter:saturate(1.6) blur(8px);border-bottom:1px solid #e5e7eb}
header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:4rem}
.logo{display:inline-flex;padding:.375rem .875rem;background:linear-gradient(to bottom right,#f43f5e,#e11d48);border-radius:.75rem;color:#fff;font-weight:700;font-size:1.0625rem}
.crumbs{display:flex;align-items:center;gap:.5rem;min-width:0}
.crumbs .sep{color:#d1d5db}
.crumbs .here{font-weight:600;color:#111827;white-space:nowrap}
.hlink{font-size:.875rem;font-weight:500;color:#374151;padding:.5rem .75rem;border-radius:9999px}
.hlink:hover{background:#f3f4f6}

h1{font-size:clamp(1.75rem,4.5vw,2.75rem);line-height:1.1;font-weight:700;letter-spacing:-.025em}
h2{font-size:1.25rem;font-weight:700;letter-spacing:-.01em}
.sechead{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.more{font-size:.875rem;font-weight:600;color:#e11d48;white-space:nowrap}
.more:hover{text-decoration:underline}

.search{position:relative}
.box{display:flex;align-items:center;gap:.625rem;background:#fff;border-radius:9999px;padding:.375rem .375rem .375rem 1.125rem;border:1px solid #d1d5db;box-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px -12px rgba(0,0,0,.12);transition:border-color .15s,box-shadow .15s}
.box:focus-within{border-color:#f43f5e;box-shadow:0 0 0 4px rgba(244,63,94,.12)}
.box svg{flex:none;color:#9ca3af}
.box input{flex:1;min-width:0;border:0;outline:0;font:inherit;font-size:1rem;padding:.5rem 0;background:none;color:#111827}
.box input::-webkit-search-cancel-button{-webkit-appearance:none}
.go{font-size:.875rem;font-weight:600;border:0;border-radius:9999px;background:#111827;color:#fff;padding:.625rem 1.125rem;cursor:pointer}
.go:hover{background:#1f2937}
.dd{position:absolute;left:0;right:0;top:calc(100% + .5rem);z-index:30;background:#fff;border:1px solid #e5e7eb;border-radius:1rem;box-shadow:0 16px 40px -12px rgba(0,0,0,.2);padding:.375rem;list-style:none;max-height:320px;overflow:auto}
.dd li{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.625rem .875rem;border-radius:.75rem;font-size:.9375rem;cursor:pointer}
.dd li:hover,.dd li.a{background:#f3f4f6}
.dd b{font-weight:600}
.dd span{color:#6b7280;font-size:.8125rem;white-space:nowrap}

.pills{display:flex;gap:.5rem;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:0 -1rem;padding:0 1rem}
.pills::-webkit-scrollbar{display:none}
.pill{flex:none;padding:.5rem .875rem;border-radius:9999px;font-size:.875rem;font-weight:500;background:#fff;color:#374151;border:1px solid #d1d5db;cursor:pointer;white-space:nowrap}
.pill:hover{background:#f3f4f6}
.pill.on{background:#111827;color:#fff;border-color:#111827}

.gridwrap{container-type:inline-size}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
@container (min-width:600px){.grid{gap:1rem}}
@container (min-width:720px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container (min-width:1000px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

.card{position:relative;aspect-ratio:4/5;border-radius:1rem;overflow:hidden;display:block;background:linear-gradient(160deg,#475569,#1e293b);isolation:isolate}
.card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.card .ov{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.8),rgba(0,0,0,.2),rgba(0,0,0,.3));transition:opacity .3s}
.card .c{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 .75rem;transition:opacity .3s}
.card h3{color:#fff;font-size:1.5rem;line-height:1.15;font-weight:700;text-shadow:0 4px 6px rgba(0,0,0,.3)}
.card .c p{color:rgba(255,255,255,.82);font-size:.875rem;margin-top:.25rem}
.rank{position:absolute;top:.75rem;left:.75rem;z-index:2;width:2.5rem;height:2.5rem;border-radius:9999px;background:rgba(0,0,0,.6);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1.0625rem}
.score{position:absolute;bottom:.75rem;right:.75rem;z-index:2;min-width:3rem;height:3rem;padding:0 .5rem;border-radius:9999px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.875rem;box-shadow:0 0 0 2px rgba(255,255,255,.5)}
.stats{position:absolute;inset:0;background:rgba(0,0,0,.85);opacity:0;transition:opacity .3s;padding:1.25rem 1.125rem;display:flex;flex-direction:column;justify-content:center;gap:.625rem;color:#fff}
.stats .n{text-align:center;font-weight:700;font-size:1.125rem;line-height:1.2;margin-bottom:.375rem}
.stat{display:grid;grid-template-columns:4.75rem 1fr 3.25rem;align-items:center;gap:.5rem;font-size:.8125rem}
.stat i{display:block;height:.5rem;border-radius:9999px;background:rgba(255,255,255,.12);overflow:hidden}
.stat i b{display:block;height:100%;border-radius:9999px}
.stat em{font-style:normal;font-weight:600;text-align:right;white-space:nowrap}
@media(hover:hover){
 .card:hover img{transform:scale(1.1)}
 .card:hover .ov,.card:hover .c{opacity:0}
 .card:hover .stats{opacity:1}
}
@media(hover:none){.stats{display:none}}
@media(max-width:640px){
 .card h3{font-size:1.125rem}.card .c p{font-size:.75rem}
 .rank{top:.5rem;left:.5rem;width:2rem;height:2rem;font-size:.875rem}
 .score{bottom:.5rem;right:.5rem;min-width:2.5rem;height:2.5rem;font-size:.75rem}
}

.map{position:relative;border-radius:1rem;overflow:hidden;border:1px solid #e5e7eb;background:#eef0f2}
.map .maplibregl-ctrl-attrib{font-size:10px}
.maplibregl-popup-content{font-family:Geist,sans-serif;border-radius:.75rem;padding:.5rem .75rem;font-size:.8125rem}
.legend{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:#6b7280}
.legend .bar{flex:1;max-width:8rem;height:6px;border-radius:9999px;background:linear-gradient(90deg,#ef4444,#f97316,#eab308,#22c55e)}

.empty{padding:2.5rem 1rem;text-align:center;color:#6b7280;font-size:.9375rem;grid-column:1/-1}
.src{font-size:.8125rem;color:#6b7280}
.src a{color:#374151;text-decoration:underline;text-underline-offset:2px}

footer{margin-top:4rem;border-top:1px solid #e2e8f0;background:#fff}
footer .wrap{padding-top:1.75rem;padding-bottom:1.75rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;font-size:.875rem;color:#64748b}
footer nav{display:flex;gap:1.5rem}
footer nav a{color:#334155}
footer nav a:hover{color:#e11d48}
