/* frenmaps pass pages (static, generated). PASSO tokens (passo_tokens.dart: accent orange, raspberry route/profile; Sami 2026-11-30), ink #0e1116, Manrope + Fira Sans Condensed.
   Green is a fill / line / ring colour, never small text on white (the text links use the ink with an underline). */

@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans Condensed"; font-weight: 800; font-display: swap; src: url(/fonts/fira-sans-condensed-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light dark;
  --ink: #0e1116;
  --dim: #586070;
  --bg: #f4f6f8;
  --card: #ffffff;
  --line: rgba(14, 17, 22, .1);
  --accent: #ff7a1a;
  --accent-deep: #b34d00;
  --on-accent: #0e1116;
  --soft: rgba(255, 122, 26, .12);
  --profile-fill: rgba(216, 27, 96, .10);
  --focus: #1d4ed8;
  --profile-line: #d81b60;
  /* Manrope / Fira carry no CJK: the stack falls through to the platform CJK faces (same idea as the map's localIdeographFontFamily). */
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK JP", "Noto Sans CJK KR", sans-serif;
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f2f4f8; --dim: #9aa2b1; --bg: #0b0e13; --card: #11151c; --line: #2a3040; --soft: rgba(255, 122, 26, .16); --profile-fill: rgba(240, 98, 146, .14); --focus: #8ab4ff; --profile-line: #f06292; }
}
* { box-sizing: border-box; }
body.pp { margin: 0; background: var(--bg); line-height: 1.6; font-size: 1.0625rem; }
.pp a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.pp a:hover { text-decoration-thickness: 2px; }
.pp :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.pp-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem clamp(1rem, 4vw, 2.5rem); background: var(--card); border-bottom: 1px solid var(--line); }
.pp-brand { text-decoration: none !important; font-family: "Fira Sans Condensed", "Manrope", "Hiragino Sans", "Yu Gothic UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; font-weight: 800; font-size: 1.35rem; line-height: 1; letter-spacing: .02em; }
.pp-top nav { display: flex; gap: 1.25rem; font-size: .95rem; font-weight: 600; }

.pp-wrap { max-width: 1120px; margin: 0 auto; padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 4vw, 2.5rem) 3rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.pp-wrap:has(.pp-ad:not([hidden])) { grid-template-columns: minmax(0, 1fr) 300px; }
.pp-ad[hidden] { display: none; }
.pp-ad { align-self: start; position: sticky; top: 1rem; min-height: 250px; }
@media (max-width: 900px) { .pp-wrap:has(.pp-ad:not([hidden])) { grid-template-columns: minmax(0, 1fr); } }

.pp-main { min-width: 0; max-width: 760px; }
.pp-crumbs ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .88rem; color: var(--dim); }
.pp-crumbs li + li::before { content: "/"; margin-inline-end: .5rem; opacity: .6; }
.pp-crumbs a { color: var(--dim); }
.pp h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); line-height: 1.1; margin: 0 0 .35rem; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.pp h2 { font-size: 1.3rem; line-height: 1.25; margin: 2.2rem 0 .6rem; font-weight: 800; }
.pp-sub { margin: 0 0 1.25rem; color: var(--dim); font-size: 1.05rem; }
.pp p { margin: 0 0 1rem; }
.pp-fine { font-size: .86rem; color: var(--dim); }

.pp-hero { margin: 0 0 1.25rem; }
.pp-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: var(--line); }
.pp-hero figcaption { font-size: .8rem; color: var(--dim); margin-top: .4rem; }

.pp-btn { display: inline-block; background: var(--accent); color: var(--on-accent) !important; font-weight: 800; padding: .7rem 1.2rem; border-radius: 12px; text-decoration: none !important; border: 0; font: inherit; font-weight: 800; cursor: pointer; }
.pp-btn:hover { filter: brightness(1.06); }
.pp-btn-quiet { background: var(--card); color: var(--ink) !important; border: 1px solid var(--line); }
.pp-cta { background: var(--soft); border: 1px solid var(--line); border-inline-start: 5px solid var(--accent); border-radius: 14px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.pp-cta h2 { margin-top: 0; font-size: 1.15rem; }
.pp-cta p { margin-bottom: .6rem; }
.pp-stores { font-size: .88rem; color: var(--dim); margin-bottom: 0 !important; }

.pp-stats dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem; margin: 0 0 1rem; }
.pp-stats dl > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .65rem .9rem; }
.pp-stats dt { font-size: .78rem; color: var(--dim); font-weight: 600; text-transform: none; }
.pp-stats dd { margin: .1rem 0 0; font-weight: 800; font-size: 1.1rem; }

.pp-profile { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .8rem; }
.pp-profile svg { display: block; width: 100%; height: 180px; }
.pp-profile figcaption { display: flex; justify-content: space-between; font-size: .8rem; color: var(--dim); margin-top: .35rem; }
.pp-area { fill: var(--profile-fill); }
.pp-line { fill: none; stroke: var(--profile-line); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.pp-summit { fill: var(--accent); stroke: var(--card); stroke-width: 2; vector-effect: non-scaling-stroke; }

.pp-map { position: relative; height: 340px; border-radius: 14px; overflow: hidden; background: var(--line); display: grid; place-items: center; border: 1px solid var(--line); }
.pp-map .maplibregl-map { position: absolute; inset: 0; }
.pp-map[data-state="error"] { color: var(--dim); }
.pp-near ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.pp-near li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .55rem .9rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pp-near li span { color: var(--dim); font-size: .9rem; }
.pp-note { margin-top: 1.5rem; }
.pp-foot { max-width: 1120px; margin: 0 auto; padding: 1rem clamp(1rem, 4vw, 2.5rem) 2.5rem; font-size: .82rem; color: var(--dim); border-top: 1px solid var(--line); }
.pp-main section ul { padding-inline-start: 1.1rem; }
.pp-main > section > ul > li { margin-bottom: .35rem; }
.pp-main > section > ul > li > span { color: var(--dim); margin-inline-start: .5rem; font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* v2 local content: country / range pages, facts list, region links, RTL safety */
.pp-facts { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .3rem; }
.pp-facts li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .5rem .9rem; }
.pp-map-wide { height: 420px; }
.pp-regions ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.pp-regions li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .25rem .8rem; font-size: .95rem; }
.pp-regions li span { color: var(--dim); font-size: .85rem; margin-inline-start: .3rem; }
.pp-list li > span { color: var(--dim); font-size: .9rem; }
.pp-profile svg { direction: ltr; }
.pp-profile figcaption { direction: ltr; }
[dir="rtl"] .pp-profile figcaption { flex-direction: row-reverse; }
