/* ============================================================
   Permafrost map — what is Permafrost-only on /permafrost-map/.
   The app shell and the furniture (find box, toggles, presets, grouped rail, HUD, phone sheet, the
   .oly-card pin card) are map-app.css; the popup chrome and the dots are shared with the SOTF map
   (sotf-map.css), which this page loads too. What is left here: the rail's key points, the place
   names in two sizes, and the square swatch of a layer drawn as areas.
   The ground past the map art is the tiles' own edge colour, set by pf-map.js from the data.
   Behaviour: assets/js/pf-map.js.
   ============================================================ */

.oly-app.pf-app { --map-accent: var(--blue); }

/* the rail's key points, under the H1 */
.pf-facts { margin: 0.55rem 0 0; padding: 0 0 0 1rem; font-size: 0.76rem; line-height: 1.45; color: var(--text-muted); }
.pf-facts li { margin: 0.18rem 0 0; }
.pf-facts b { color: var(--text); font-weight: 700; }

/* a layer of areas (cold zones, warm areas) shows a square, not a dot */
.sotf-dot.pf-dot-area { border-radius: 2px; }
.sotf-dot.pf-dot-label { --c: #f5f1e8; }

/* the game's place names; --s is set on the pane per zoom. Biomes large, places small and only once zoomed in */
.pf-label { pointer-events: none; }
.pf-label b {
  display: block; width: max-content; max-width: 13em; transform: translate(-50%, -50%); text-align: center;
  color: #fff; text-shadow: 0 0 3px #000, 0 0 7px rgba(0, 0, 0, 0.9);
  font: 800 calc(10px * var(--s, 1)) / 1.15 'Manrope', sans-serif; letter-spacing: 0.06em; text-transform: uppercase;
}
.pf-label-1 b { font-size: calc(15px * var(--s, 1)); letter-spacing: 0.14em; color: #e6f4ff; opacity: 0.92; }
.pf-labels-far .pf-label-2 { display: none; }

/* the footnote under the layer list */
.sotf-hint.pf-hint { margin: 0; padding: 0.6rem 1.1rem 0.7rem; border-bottom: 1px solid var(--border); line-height: 1.45; }

/* the game's own names (map standard 1b): a find row with the game's name in the reader's language under ours, and that
   name under a pin's or an area's card title (pf-map.js § THE GAME'S OWN NAMES; the same rules as sf-map.css's) */
.sotf-hit.pf-hit-l { align-items: flex-start; }
.sotf-hit.pf-hit-l > i, .sotf-hit.pf-hit-l > .gp-coin, .sotf-hit.pf-hit-l > img, .sotf-hit.pf-hit-l > svg { margin-top: 0.2rem; flex: 0 0 auto; }
.sotf-hit .pf-hit-n { margin-left: 0; padding-left: 0; flex: 1 1 55%; min-width: 0; font-size: inherit; color: inherit; white-space: normal; overflow-wrap: anywhere; font-variant-numeric: normal; }
.sotf-hit .pf-hit-n small { display: block; margin-top: 0.08rem; font: 500 0.76rem/1.3 'Urbanist', sans-serif; color: var(--text-muted); overflow-wrap: anywhere; }
.sotf-hit.pf-hit-l .pf-hit-s { flex: 0 1 40%; min-width: 0; white-space: normal; text-align: right; overflow-wrap: anywhere; }
.oly-card-sub.pf-card-ln { color: #dbe4ee; font-weight: 600; overflow-wrap: anywhere; }
