/* City template (place-city@2): additions to place.css. Same tokens, one font, four sizes. */
:root{--muted:#555;--soft:#F2F2F2}
:root[data-theme="dark"]{--muted:#AAAAAA;--soft:#1C1C1C}
body{margin:0}
.city h3{font-size:var(--s-body);font-weight:600;margin:28px 0 14px}
.sub{margin:0 0 20px;font-size:var(--s-small);color:var(--muted)}
.small{color:inherit}
button.link{font:inherit;background:none;border:0;padding:0;color:var(--blue);cursor:pointer;text-decoration:underline;text-underline-offset:3px}

/* hero: one full-width photo, a small credit on the photo, weather now under the name */
.city .orbit figure{max-width:none;position:relative}
.city .orbit img{width:100%;height:clamp(340px,62vh,740px);object-fit:cover}
.pcredit{position:absolute;right:10px;bottom:8px;font-size:11px;color:rgba(255,255,255,.85);text-shadow:0 1px 3px rgba(0,0,0,.6)}
.wx{margin:12px 0 0;font-size:var(--s-small);color:var(--muted);min-height:1.6em}
.wx b{color:var(--black);font-weight:600;font-size:var(--s-body);margin-right:6px}
.wx .days{display:block;margin-top:4px}

/* section navigation: stays at the top while you scroll, the current section is filled */
.cnav{position:sticky;top:0;z-index:30;background:var(--white);border-bottom:1px solid var(--soft);margin-top:22px}
.cnav .wrap{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-top:10px;padding-bottom:10px}
.cnav .wrap::-webkit-scrollbar{display:none}
.cnav a{flex:0 0 auto;font-size:var(--s-small);color:var(--black);background:var(--soft);border-radius:999px;padding:8px 14px;text-decoration:none}
.cnav a[aria-current="true"]{background:var(--blue);color:var(--white)}
.city section{scroll-margin-top:64px}
.first{padding-top:28px}
.leadp{font-size:var(--s-body);max-width:62ch;margin:0 0 14px}

/* map */
.map img{display:block;width:100%;height:auto;border-radius:18px}
.legend{columns:2;column-gap:24px;margin:14px 0 22px;padding-left:22px;font-size:var(--s-small)}

/* nature and walks */
.bleed{padding-inline:0;max-width:1200px;margin:0 auto}
.strip figcaption .num{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--blue);color:var(--white);font-size:11px;font-weight:600;margin-right:8px}
:root[data-theme="dark"] .strip figcaption .num{color:#000}
.plist,.walks{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:12px}
.walks li{display:flex;flex-direction:column;border-top:1px solid var(--soft);padding-top:12px}
.walks span{font-size:var(--s-small);color:var(--muted)}
.dist.mine::after{content:" from you"}

/* species cards: big photos, two across on a phone, four on a desktop */
.cards2{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
@media (min-width:760px){.cards2{grid-template-columns:repeat(4,minmax(0,1fr))}}
.sc img,.sc .nopic{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:16px;background:var(--soft)}
.sc .meta{display:flex;flex-direction:column;line-height:1.3;margin-top:10px}
.sc b{font-weight:600}
.sc i,.sc small{font-size:var(--s-small)}
.sc small{color:var(--muted)}
.tick{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:var(--s-small);cursor:pointer}
.tick input{width:18px;height:18px;accent-color:var(--blue);margin:0}
.mylist{margin:0 0 18px;padding:12px 16px;border-radius:14px;background:var(--soft);font-size:var(--s-small)}
.chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.chips li{background:var(--soft);border-radius:999px;padding:6px 12px;font-size:var(--s-small)}
.chips li i{color:var(--muted);font-style:normal;margin-left:6px}

/* months */
.months{position:relative;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 calc(-1 * max(24px, env(safe-area-inset-left,0px)));padding:2px max(24px, env(safe-area-inset-left,0px)) 6px}
.months::-webkit-scrollbar{display:none}
.months button{flex:0 0 auto;font:inherit;font-size:var(--s-small);border:0;border-radius:999px;padding:8px 14px;background:var(--soft);color:var(--black);cursor:pointer}
.months button[aria-selected="true"]{background:var(--blue);color:var(--white)}
.mfoot{margin:22px 0 0}

/* climate: one line since 1981 */
.stat{margin:6px 0 22px}
.stat b{display:block;font-size:var(--s-title);line-height:1;font-weight:500;letter-spacing:-.03em;color:var(--blue);margin-bottom:10px}
.line{margin:0 0 18px}
.line svg{display:block;width:100%;height:auto;overflow:visible}
.line text{font-family:var(--body);font-size:20px;fill:var(--muted)}
.line .axis{stroke:var(--soft);stroke-width:2}
.line .avg{stroke:var(--black);stroke-width:2;stroke-dasharray:6 6;opacity:.6}
.line .t{fill:none;stroke:var(--blue);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}

/* act */
.acts2{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.ghost{font:inherit;font-size:var(--s-body);border:1px solid var(--blue);background:none;color:var(--blue);border-radius:999px;padding:12px 20px;cursor:pointer}
.strip figcaption b{font-weight:600;margin-right:4px}
