/* SHARED MAP-APP SHELL — rail + stage at viewport height under the 62px site header.
   Used by every interactive map on the site.
   ⚠ The `oly-` class prefix is historical: this began as the Olympus map and became the
   template. It is the shared vocabulary now — do NOT fork a per-game copy, and do not
   rename the classes without also updating assets/js/icarus-map-app.js, which keys off
   the same ids. Pin colors are literals on purpose: they sit on fixed map art. */

/* ── the app ── */
.oly-app { display: grid; grid-template-columns: 292px 1fr; height: calc(100dvh - 62px); min-height: 480px; border-bottom: 1px solid var(--border); position: relative; z-index: 0; }
/* ⛔ z-index 0 makes the app ONE layer under the sticky site header (z 1000). Without it every control, card, HUD and
   sheet in the stage (z 900-1200) competed with the header on its own, and being later in the page they won: scroll
   the page down and the card, zoom, chips and Report link slid OVER the header (Jason's screenshot, 2026-10-12). Inside
   the app nothing changes order; fullscreen still lifts the whole app over everything (.oly-fs below). */
.oly-stage { position: relative; }
/* ── the answer row (2026-11-09): one line over the map with the answer to a place the page is searched for (Jason 11-09:
   "the answers are at the top of the pages"). A grid row of its own, never an overlay: on a desktop it sits over the map
   column beside the rail's title, on a phone between the site header and the map, so it covers no map control. The rail
   spans both rows; folded or a drawer, the row takes the one column. Hand-written per page (/enshrouded-map/ first). ── */
.oly-app:has(> .oly-answer) { grid-template-rows: auto minmax(0, 1fr); }
.oly-app:has(> .oly-answer) > .oly-rail { grid-row: 1 / -1; }
.oly-app > .oly-answer, .oly-app:has(> .oly-answer) > .oly-stage { grid-column: -2 / -1; min-width: 0; }
.oly-answer { margin: 0; padding: 0.42rem 1rem; background: var(--bg-card); border-bottom: 1px solid var(--border); font-size: 0.8rem; line-height: 1.45; color: var(--text-muted); }
.oly-answer b { color: var(--text); }
.oly-answer a { color: var(--blue); text-decoration: none; white-space: nowrap; }
.oly-answer a:hover { text-decoration: underline; }
.oly-fs .oly-answer, html[data-embed] .oly-answer { display: none; }
@media (max-width: 999px) { .oly-answer { padding: 0.38rem 0.75rem; } }
#oly-map { position: absolute; inset: 0; background: #10130d; }
/* A tile still loading after a second (map-tiles.js, D178): faint diagonal lines over whatever zoom is under it, so a
   slow or retried tile reads as "loading here" and never as a black hole. Each map's own background stays its own:
   past the edge of the world and on a sparse set's empty land it is the art, not a failure. A tile the server does
   not have (.gomg-tile-none) shows nothing, as before. */
#oly-map img.leaflet-tile.gomg-tile-wait { visibility: visible; background: repeating-linear-gradient(135deg, rgba(150, 150, 150, 0.18) 0 2px, transparent 2px 14px); }
#oly-map img.leaflet-tile.gomg-tile-none { visibility: hidden; }

/* ── the rail ── */
/* ⛔ NO overscroll-behavior: contain ON THE DESKTOP RAIL (2026-10-11). The map takes the wheel for zoom,
   so on a desktop the rail is the only place under the mouse that can carry a scroll on to the page —
   contained, it scrolled to its own end and stopped dead, and the text under the map could only be
   reached by the scrollbar or by finding the header. Jason: "u cant get to the bottom of the pager".
   The phone drawer and the embed overlay keep contain: they sit over the page, not beside it. */
.oly-rail { display: flex; flex-direction: column; gap: 0; background: var(--bg-card); border-right: 1px solid var(--border); overflow-y: auto; }
/* ── the rail paints once, whole (D65, 2026-10-20) ── an engine builds the layer list, the presets box and the account
   box from its data, which lands after the first paint, and every block below them jumped down the rail: desktop CLS
   p75 0.12-0.21 on real users (ARK maps, Enshrouded). The blocks under the title stay hidden until the engine adds
   .is-built (every map engine does, once its account box is in), so the rail appears whole and shifts nothing.
   Map pages only (#oly-map[data-start]): the base pickers share the rail and never set it. The animation is the
   backstop if an engine dies: the rail shows after 6 s anyway. */
.oly-app:has(#oly-map[data-start]) .oly-rail:not(.is-built) > :not(.oly-rail-head) { visibility: hidden; animation: oly-rail-late 0s 6s forwards; }
@keyframes oly-rail-late { to { visibility: visible; } }
.oly-rail-head { padding: 1rem 1.1rem 0.8rem; border-bottom: 1px solid var(--border); }
.oly-rail-head h1 { font: 800 1.12rem 'Manrope', sans-serif; color: var(--text); letter-spacing: -0.01em; margin: 0 0 0.3rem; }
.oly-rail-head h1 em { font-style: normal; color: var(--orange-ink); }
.oly-rail-head p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
/* the same map in another language (bet B7: /dreadmoor-map/ ↔ /ru/dreadmoor-map/): a small link in the hero's top corner,
   on a short row of its own over the title (the title keeps its full width: "HumanitZ Interactive Map" leaves no room for
   it), the map's height untouched. On a phone whose drawer lays the head's children out itself (map-rail.css,
   display: contents) it sits in the drawer's corner, beside the "N showing" line. */
.oly-rail-head:has(> .oly-lang), .gomg-rail .oly-rail-head:not(.ark-topbar):has(> .oly-lang) { position: relative; padding-top: 1.7rem; }
.oly-lang { position: absolute; top: 0.45rem; right: 0.7rem; z-index: 1; padding: 0.04rem 0.3rem; border: 1px solid var(--border);
  font: 700 0.7rem/1.2 'Urbanist', sans-serif; color: var(--blue-ink, var(--blue)); text-decoration: none; background: var(--bg-card); }
.oly-lang:hover, .oly-lang:focus-visible { border-color: var(--blue); text-decoration: underline; }
/* a title short enough to share its row ("DREADMOOR Map", "Карта DREADMOOR", "Карта HumanitZ"): the head opts in with .oly-lang-beside and
   the link floats at the title's right end instead of taking that row. The row cost DREADMOOR's 1920x1080 rail its
   fourth group bar (tools/map-rail/test 11-22: 3 of 6 bars without a scroll). Floated, so a longer title wraps short of
   the link, never under it. The two paddings are the head's own (above, and map-rail.css's .gomg-rail head). 1000px and
   up only: under it the rail is a drawer and the link stays where the rule above puts it (its own row in the app, the
   drawer's corner on the web). */
@media (min-width: 1000px) {
  .oly-rail-head.oly-lang-beside:has(> .oly-lang) { padding-top: 1rem; }
  .gomg-rail .oly-rail-head.oly-lang-beside:not(.ark-topbar):has(> .oly-lang) { padding-top: 0.75rem; }
  .oly-rail-head.oly-lang-beside > .oly-lang { position: static; float: right; margin: 0.2rem 0 0 0.5rem; }
  .oly-rail-head.oly-lang-beside > h1 ~ * { clear: right; }
}

.oly-progress { padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--border); }
.oly-progress-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.8rem; color: var(--text-muted); }
.oly-progress-top b { color: var(--text); font-family: 'Manrope', sans-serif; }
.oly-bar { height: 7px; border-radius: 100px; background: var(--bg-surface); border: 1px solid var(--border); margin: 0.5rem 0 0.6rem; overflow: hidden; }
.oly-bar-fill { height: 100%; width: 0; border-radius: 100px; background: linear-gradient(90deg, var(--orange-ink), #ffc98a); transition: width 0.25s; }
.oly-progress-btns { display: flex; gap: 0.4rem; }
.oly-progress-btns button { flex: 1; background: none; border: 1px solid var(--border); border-radius: 7px; color: var(--text-muted); font: 600 0.74rem 'Manrope', sans-serif; padding: 0.3rem 0; cursor: pointer; }
.oly-progress-btns button:hover { color: var(--text); border-color: var(--text-muted); }

.oly-layers { padding: 0.7rem 0.6rem 0.75rem 1.1rem; border-bottom: 1px solid var(--border); }
.oly-layers-head { display: flex; justify-content: space-between; align-items: baseline; font: 700 0.72rem 'Manrope', sans-serif; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); padding-right: 0.5rem; margin-bottom: 0.35rem; }
.oly-layers-all button { background: none; border: none; color: var(--orange-ink); font: 600 0.72rem 'Manrope', sans-serif; cursor: pointer; padding: 0; text-transform: none; letter-spacing: 0; }
.oly-layer-row { display: flex; align-items: center; gap: 0.55rem; padding: 0.34rem 0.5rem 0.34rem 0; cursor: pointer; border-radius: 7px; }
.oly-layer-row:hover { background: var(--bg-surface); }
.oly-layer-name { flex: 1; font-size: 0.86rem; color: var(--text); }
.oly-layer-count { font: 600 0.72rem 'Manrope', sans-serif; color: var(--text-muted); }
.oly-layer-row input { accent-color: var(--orange-ink); width: 15px; height: 15px; cursor: pointer; }
.oly-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.35); flex: none; }

/* terrain style toggle row */
.oly-style-row { display: flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.5rem 0.1rem 0; }
.oly-style-row .oly-layer-name { flex: 1; }
.oly-style-row button { background: none; border: 1px solid var(--border); border-radius: 7px; color: var(--text-muted); font: 600 0.74rem 'Manrope', sans-serif; padding: 0.24rem 0.6rem; cursor: pointer; }
.oly-style-row button.on { color: var(--text); border-color: var(--orange-ink); background: var(--bg-surface); }

.oly-jump { display: flex; gap: 0.4rem; padding: 0.75rem 1.1rem; border-bottom: 1px solid var(--border); }
.oly-jump input { flex: 1; min-width: 0; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 7px; color: var(--text); font: 500 0.82rem 'Urbanist', sans-serif; padding: 0.35rem 0.6rem; }
.oly-jump input::placeholder { color: var(--text-muted); }
.oly-jump button { background: var(--orange-ink); border: none; border-radius: 7px; color: #1c1204; font: 700 0.78rem 'Manrope', sans-serif; padding: 0 0.85rem; cursor: pointer; }

.oly-rail-links { display: flex; flex-direction: column; padding: 0.7rem 1.1rem; gap: 0.1rem; }
.oly-rail-links a { font-size: 0.84rem; color: var(--text-muted); text-decoration: none; padding: 0.28rem 0; }
.oly-rail-links a:hover { color: var(--orange-ink); }

/* the hosting line: the whole ad on a map page is one quiet link, not a configurator */
.oly-rail-host { display: block; margin: 0.2rem 1.1rem 0.9rem; padding: 0.6rem 0.75rem; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 9px; text-decoration: none; }
.oly-rail-host b { display: block; font: 700 0.8rem 'Manrope', sans-serif; color: var(--orange-ink); margin-bottom: 0.2rem; }
.oly-rail-host span { font-size: 0.72rem; line-height: 1.45; color: var(--text-muted); }
.oly-rail-host:hover { border-color: var(--orange-ink); }

/* ...or the same line as a small chip in the stage's top-left corner instead (HumanitZ, 2026-10-11,
   Jason: the map is the most-visited page and the rail card was easy to miss). Same fixed-dark chrome
   as .map-report. ⚠ Desktop sits at 10px/10px, so a map with Leaflet's zoom at top-left must not use
   it as-is. ≤999px the drawer button owns that corner and the HUD drops to 54px, so the chip rides the
   drawer's row just right of it (the drawer measured 56px + 78px wide) at the drawer's height. */
.oly-map-host { position: absolute; left: 10px; top: 10px; z-index: 900;
  display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.28rem 0.55rem;
  font: 700 0.68rem/1.2 'Manrope', sans-serif; color: #e8eef5; text-decoration: none; white-space: nowrap;
  background: rgba(10, 14, 18, 0.78); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  transition: opacity 0.15s ease; }
.oly-map-host b { color: #f08000; font-weight: 800; }
.oly-map-host:hover, .oly-map-host:focus-visible { border-color: #f08000; color: #fff; }
/* yields to an open popup, as the HUD does — the map pane can never stack above it */
.oly-popup-open .oly-map-host { opacity: 0; pointer-events: none; }
@media (max-width: 999px) {
  .oly-map-host { top: 10px; left: 142px; height: 33px; box-sizing: border-box; }
}
/* the chip ends at 308px and the zoom control starts 44px in from the right, so under 360px they meet:
   there it drops under the HUD instead, in line with the drawer */
@media (max-width: 359px) {
  .oly-map-host { top: 86px; left: 56px; }
}
html[data-embed] .oly-map-host { display: none !important; }
/* ...or bottom-left, the corner opposite "Something off? Report it" (Satisfactory, 2026-10-11, his placement).
   Same chip at the same height as the report link. Under 600px the two would meet across a phone's width, so the
   game's name drops ("server hosting →"), and it gives way to the phone sheet as the report link does. */
.oly-map-host.oly-map-host-bl { top: auto; bottom: 10px; left: 10px; height: auto; padding: 0.38rem 0.7rem; font-size: 0.72rem; }
@media (max-width: 999px) { .oly-map-host.oly-map-host-bl { top: auto; left: 10px; height: auto; } }
@media (max-width: 599px) { .oly-map-host-game { display: none; } }
/* under 360px even the short chip meets the two report links (measured at 320: 12px of overlap), so it rises above them */
@media (max-width: 359px) { .oly-map-host.oly-map-host-bl { bottom: 80px; } }
.oly-sheet-open .oly-map-host-bl { display: none; }

.oly-rail-foot { margin-top: auto; padding: 0.8rem 1.1rem 1rem; font-size: 0.68rem; line-height: 1.5; color: var(--text-muted); border-top: 1px solid var(--border); }
/* The studio / publisher links in the fan-content credit read as links, in the brand blue (Jason 2026-11-15). */
.oly-rail-foot a { color: var(--blue); }
.oly-rail-foot a:hover { color: var(--blue-ink); text-decoration: underline; }

/* the map cursor: the OS grab hand vanishes on the snow tiles (his catch) - use an
   outlined crosshair that reads on both snow and dark terrain */
#oly-map.leaflet-container, #oly-map .leaflet-grab, #oly-map .leaflet-dragging .leaflet-grab {
  cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAfklEQVR4nGNgGDFAREzoGQj/hwIQmxh9TLR2GNOoBcM/iFhI1SAqLvycFPWMMAYx6fr1y7eSpFj05tU7KaKD6PXLt5LIhiJbRhT4jweIIOVgYsRhgC6RzEjrOGAk1iUiWBwAMoCQPpKD6PXLt5KkRPDQz8lMoxYQAjQPIpoDAPYdezBW+OI2AAAAAElFTkSuQmCC) 12 12, crosshair;
}

/* ── icon pins: teardrops with a glyph; carpet layers stay as dots ── */
.oly-pin { width: 100%; height: 100%; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; border: 2px solid rgba(10, 12, 8, 0.55); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45); transition: transform 0.1s; }
.oly-pin svg { width: 60%; height: 60%; transform: rotate(45deg); fill: rgba(12, 15, 10, 0.9); }
.oly-pin:hover { transform: rotate(-45deg) scale(1.18); }
.oly-pin-cave { background: #3be3ff; }
/* A second mouth of a cave already pinned: same family, lighter and hollow so it reads as
   "another way into that one" rather than as another cave. Its own toggle, off by default. */
.oly-pin-cave-door { background: transparent; border: 2px solid #7fe9ff; }
.oly-pin-mega { background: #3be3ff; border-color: #f6f2e6; box-shadow: 0 0 0 2px rgba(59, 227, 255, 0.35), 0 2px 6px rgba(0, 0, 0, 0.5); }
.oly-pin-exotic { background: #ff9d3d; }
.oly-pin-boss { background: #ff6b6b; }
.oly-pin-mission { background: #8fb7ff; }
.oly-pin-enzyme { background: #9ae62e; }
.oly-pin-oil { background: #c9a2ff; }
.oly-done { filter: grayscale(0.85); opacity: 0.4; }

/* labels get a 4-way dark outline: plain white text vanished on the snow tiles */
.oly-grid-label { color: rgba(255, 255, 255, 0.75); font: 600 11px 'Manrope', sans-serif; text-shadow: -1px 0 1px rgba(0,0,0,0.7), 1px 0 1px rgba(0,0,0,0.7), 0 -1px 1px rgba(0,0,0,0.7), 0 1px 1px rgba(0,0,0,0.7); white-space: nowrap; pointer-events: none; }
.oly-zoomed .oly-grid-label { font-size: 14px; color: rgba(255, 255, 255, 0.85); }

/* ── tooltips: tiny quiet chips; popups: transparent, shadow-carried text ── */
/* ⚠ Leaflet's own .leaflet-tooltip is white-space:nowrap with no max-width, so a tooltip is ONE
   unbreakable line however long the string is — HumanitZ builds a 146-character one listing six
   quest names, which runs clean off the map. A hover chip is a phrase, not a paragraph: cap it and
   let it wrap. Short ones are unaffected, they never reach the cap. */
#oly-map .leaflet-tooltip {
  font: 500 11px 'Urbanist', sans-serif; padding: 2px 7px; background: rgba(20, 24, 18, 0.88);
  color: #e8e4d8; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: none; border-radius: 6px;
  max-width: min(260px, 70vw); white-space: normal; text-align: center;
}
#oly-map .leaflet-tooltip:before { display: none; }

/* Live players, posted in by the GamesOMG Hosting console (the embed-mode Map tab). Brand orange so a
   person reads apart from every loot colour. Scoped under #oly-map so it out-ranks the dark tooltip
   rule above (the SotF map measured the bare class losing). sotf-map.css keeps its own older copy. */
#oly-map .leaflet-tooltip.gomg-live-tip { background: #f08000; color: #111; border: 0; border-radius: 6px;
  font: 700 12px 'Manrope', sans-serif; padding: 2px 7px; box-shadow: 0 1px 4px rgba(0,0,0,.55);
  white-space: nowrap; max-width: none; }
/* ⭐ THE POPUP IS A PANEL, NOT FLOATING TEXT (2026-09-18).
   It used to be rgba(14,17,11,0.38) with no border and a heavy text-shadow doing the work — which
   reads as loose words lying on the map, and fails outright over the snow tiles. Two of our maps
   had already solved this privately (Palworld's #oly-map[data-palworld] rule and the SOTF map's
   .sotf-popup), so this brings the other three — Icarus, VEIN, HumanitZ — onto the same surface.
   ⚠ Fixed dark chrome in BOTH themes on purpose: it sits on map art, not on the page. A themed
   panel went translucent grey over the SOTF snowfield with its sub-line unreadable.
   ⚠ The height bound is set in JS via Leaflet's maxHeight, not here — Leaflet's option also stops
   a scroll inside the popup from zooming the map, which a CSS overflow rule would not. */
/* ⭐ SQUARE, EVERY MAP (2026-09-30). Jason, on the ARK popup: "go to a square approach and drop the
   rounded look. make it look more like an app, or ingame/pc menu". So the panel, the phone sheet and
   every button inside either have square corners on all thirteen maps; the full window layout (title
   bar, rows, action bar) is .oly-card at the bottom of this file. */
#oly-map .leaflet-popup-content-wrapper {
  background: rgba(10, 14, 18, 0.94); color: #f3efe3;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 0;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
#oly-map .leaflet-popup-content button, .oly-sheet-body button { border-radius: 0; }
/* ⛔ NO max-width / max-height HERE. Leaflet's _updateLayout blanks the inline size, MEASURES
   offsetWidth/offsetHeight, and decides from that whether to clamp and whether to add
   .leaflet-popup-scrolled. A CSS cap clamps the very measurement that decision is read from, so it
   silently disables the JS maxWidth/maxHeight instead of reinforcing them. Width and height have
   exactly one owner and it is the options in icarus-map-app.js. */
/* The type goes on the CONTENT node, not on .oly-pop, because half the popups on these maps are
   bare strings with no wrapper (every dots()/iconDots() layer, and all of VEIN's) — those were
   falling through to Leaflet's own Helvetica 12px, so one map showed two typefaces at two sizes
   depending on which layer you clicked. */
#oly-map .leaflet-popup-content { margin: 9px 22px 9px 13px; font: 600 0.9rem 'Urbanist', sans-serif; }
#oly-map .leaflet-popup-tip { background: rgba(10, 14, 18, 0.94); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: none; }
#oly-map .leaflet-popup-close-button { color: #93a3b5; text-shadow: none; border-radius: 0; }
#oly-map .leaflet-popup-close-button:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.oly-pop { font: 600 0.9rem 'Urbanist', sans-serif; color: #f6f2e6; min-width: 170px; }
/* ⚠ URBANIST IS LOADED AT 400;500;600 ONLY — ask it for 700 and the browser fakes it by smearing
   the glyphs, which on a popup over map art reads as blur. Anything that needs real bold here uses
   Manrope, which the same font link loads at 700 and 800. */
.oly-pop > b { font: 700 0.92rem 'Manrope', sans-serif; }
.oly-pop-noworm { margin-top: 0.3rem; font-size: 0.8rem; color: #b9ee7a; }
.oly-pop-uses { margin-top: 0.4rem; font-size: 0.8rem; line-height: 1.55; }
.oly-pop-uses a { color: #ffc98a; font-weight: 600; }

/* the one-line answer, before the detail — what this deposit pays */
.oly-pop-lead { margin-top: 0.3rem; font-size: 0.84rem; font-weight: 600; color: #cfd8e3; }
.oly-pop-lead b { color: #ffc98a; font: 700 0.86rem 'Manrope', sans-serif; font-variant-numeric: tabular-nums; }
/* yield bands: a deposit used by eighteen missions pays only four distinct amounts, so it is four
   rows, not eighteen. The number leads because the number is the reason you are reading this. */
.oly-pop-bands { margin-top: 0.45rem; }
.oly-pop-band { display: flex; gap: 0.5rem; align-items: baseline; padding: 0.18rem 0; }
.oly-pop-band + .oly-pop-band { border-top: 1px solid rgba(255, 255, 255, 0.09); }
.oly-pop-band > b { flex: 0 0 auto; color: #ffc98a; font: 700 0.8rem 'Manrope', sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.oly-pop-band > span { flex: 1 1 auto; min-width: 0; color: #d8dfe7; font-weight: 500; }
.oly-pop-check { display: block; margin-top: 0.55rem; width: 100%; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 7px; background: rgba(20, 24, 18, 0.82); color: #f3efe3; font: 600 0.82rem 'Manrope', sans-serif; padding: 0.35rem 0.6rem; cursor: pointer; text-shadow: none; }
.oly-pop-check:hover { background: rgba(38, 46, 34, 0.92); }

/* Copy teleport in a popup or the phone sheet (assets/js/tp-copy.js; the page look is guide.css's).
   Fixed dark like the panel it sits on — the themed page colours wash out over it. */
#oly-map .tp-copy .cmd-copy, .oly-sheet .tp-copy .cmd-copy { background: rgba(240, 128, 0, 0.18); border-color: rgba(240, 128, 0, 0.6); color: #ffc98a; border-radius: 0; }
#oly-map .tp-copy .cmd-copy:hover, .oly-sheet .tp-copy .cmd-copy:hover { background: #f08000; border-color: #f08000; color: #1a1a1a; }
#oly-map .tp-copy .cmd-copy.ok, .oly-sheet .tp-copy .cmd-copy.ok { background: rgba(74, 222, 128, 0.16); border-color: rgba(74, 222, 128, 0.5); color: #4ade80; }
/* a landing out on the far ring says how far it lands you (pc-map.js, C56 11-19): inset like the card's own lines */
#oly-map .tp-copy .oly-card-note, .oly-sheet .tp-copy .oly-card-note { margin: 0.35rem 0.65rem 0.15rem; }

/* HumanitZ quest pins. The popup is the way into the quest's own page, so the link is the
   loudest thing in it — a pin you can click that goes nowhere is worse than a pin you can't. */
.hz-pop { font: 600 0.9rem 'Urbanist', sans-serif; color: #f6f2e6; min-width: 180px; max-width: 250px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.6); }
.hz-pop b { font-size: 0.98rem; }
.hz-pop-sub { margin-top: 0.15rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: #cfd6c2; }
.hz-pop-body { margin-top: 0.42rem; font-size: 0.82rem; font-weight: 500; line-height: 1.55; }
.hz-pop-body i { font-style: normal; color: #cfd6c2; }
.hz-pop-go { margin-top: 0.5rem; font-size: 0.84rem; }
.hz-pop-go a { color: #ffc98a; font-weight: 800; }
/* A camp where one survivor hands out four jobs is ONE pin with a list, not four stacked pins. */
.hz-pop-list { margin-top: 0.45rem; display: grid; gap: 0.42rem; }
.hz-pop-list a { display: block; color: #ffc98a; font-weight: 800; font-size: 0.87rem; line-height: 1.3; }
.hz-pop-list span { display: block; font-size: 0.78rem; font-weight: 500; color: #dfe4d4; line-height: 1.45; }

/* ── fullscreen: the whole app takes the viewport, rail included ── */
.oly-app.oly-fs { position: fixed; inset: 0; z-index: 10000; height: 100dvh; }
body.oly-fs-lock { overflow: hidden; }
/* and the site header is not painted at all while the map is fullscreen, whichever path got it there */
body.oly-fs-lock > #gog-header { visibility: hidden; }
.oly-fs-btn { font-size: 17px; }

/* ── the saved-in-browser notice: light card floating over the stage ── */
.oly-notice { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 950;
  display: flex; align-items: center; gap: 0.7rem; max-width: min(92%, 640px);
  background: rgba(255, 157, 61, 0.13); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #f6f2e6; border: 1px solid rgba(255, 157, 61, 0.38);
  border-radius: 10px; padding: 0.55rem 0.6rem 0.55rem 0.9rem; font: 500 0.82rem 'Urbanist', sans-serif;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55); }
.oly-notice[hidden] { display: none; } /* display:flex beats the hidden attribute without this — the × "didn't work" */
.oly-notice strong { font-weight: 700; color: #ffc98a; }
.oly-notice { flex-wrap: wrap; }
.oly-notice-in { display: inline-flex; gap: 0.4rem; }
.oly-notice-in a { border: 1px solid rgba(255, 201, 138, 0.7); border-radius: 7px; color: #ffc98a; text-decoration: none;
  font: 700 0.74rem 'Manrope', sans-serif; padding: 0.28rem 0.6rem; white-space: nowrap; text-shadow: none; }
.oly-notice-in a:hover { background: rgba(255, 201, 138, 0.14); }
#oly-notice-clear { background: none; border: 1px solid rgba(246, 242, 230, 0.4); border-radius: 7px;
  color: #f6f2e6; font: 700 0.74rem 'Manrope', sans-serif; padding: 0.28rem 0.6rem; cursor: pointer; white-space: nowrap; text-shadow: none; }
#oly-notice-clear:hover { background: rgba(246, 242, 230, 0.12); }
.oly-notice-x { background: none; border: none; color: #f6f2e6; font: 700 1.05rem/1 'Manrope', sans-serif;
  cursor: pointer; padding: 0.15rem 0.35rem; opacity: 0.7; }
.oly-notice-x:hover { opacity: 1; }
/* a phone has no room for it: wrapped to four lines, it sat over the lower map and under the Report it buttons (D62,
   2026-10-20). The rail's account box says the same thing with the same sign-in, and Reset sits in the rail too. */
@media (max-width: 599px), (max-height: 500px) { .oly-notice { display: none; } }

/* ── the SEO strip below the app ── */
.oly-below { max-width: 74ch; margin: 0 auto; padding: 1.6rem 1.2rem 2.5rem; }
.oly-below h2 { font: 800 1.02rem 'Manrope', sans-serif; color: var(--text); letter-spacing: -0.01em; margin: 0 0 0.6rem; }
.oly-below p { font-size: 0.88rem; line-height: 1.65; color: var(--text-muted); margin: 0 0 0.8rem; }
.oly-below p:last-child { margin-bottom: 0; }
.oly-below a { color: var(--orange-ink); }
/* the place index under a map (D213, 2026-11-02): every named place as TEXT in the page, because the pins are only in
   the JSON and a place search had nothing on the page to match. A grouped .cmd-table (command-tool.js, guide.css); each
   name is a #pin= link that map-pin-links.js scrolls back up to the map. The table takes the width, the line above it
   stays at reading width. */
.oly-below.oly-index { max-width: 1140px; padding-bottom: 0.4rem; }
.oly-index > p { max-width: 74ch; }
.oly-index .ref-table td:first-child a { font-weight: 700; }
.oly-index .oly-kind { display: block; font-size: 0.85em; color: var(--text-muted); }
/* headers wrap between words only, and a name in the first column keeps its longest word: main.css's ≤900 `anywhere` let a
   short numbers column (the ARK resource tables' Nodes, Bridge #779) crush its header to NOD/ES at 390, and a long cell
   beside it squeeze a name to Timpano/gos at 360. Measured with table-audit --try: the place indexes went 70 → 0 split
   words at 360, the resource tables 5 → 0, nothing hidden or blown at 360 / 390 */
.oly-index .ref-table th { overflow-wrap: normal; }
.oly-index .ref-table td:first-child, .oly-index .ref-table td:first-child * { overflow-wrap: break-word; }
/* the .cmd-table shape (Place | What's there | Region), but the middle column is the long one: guide.css's 40/22 split
   is sized for a command and its category */
@media (min-width: 640px) {
  .oly-index .cmd-table th:first-child { width: 27%; }
  .oly-index .cmd-table th:last-child, .oly-index .cmd-table td:last-child { width: 16%; }
}

/* ── drawer button ──
   ⚠ left:56px, NOT 10px: Leaflet's own zoom control sits at top-left with a 10px margin and is
   ~34px wide, so a button at 10px lands ON TOP of the + / − buttons. Seen by Jason in the console's
   Map tab ("there is overlap here"); it was the same on every map page at drawer widths. */
.oly-drawer-btn { display: none; position: absolute; top: 10px; left: 56px; z-index: 900; background: rgba(20, 24, 18, 0.88); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 8px; color: #f3efe3; font: 600 0.8rem 'Manrope', sans-serif; padding: 0.4rem 0.7rem; cursor: pointer; }
/* ⛔ AND IT HAS TO BE REACHABLE WHILE THE RAIL IS OPEN. The rail is z-index 1100 and slides over
   the stage, so an open rail covered the only control that closes it — on every map page, in the
   console and on a phone. Jason: "there is still no way to close the items side bar on the maps
   when you open it ... icarus is the same way". Open, it sits just past the rail's edge and above
   it; closed, it stays where it was. */
.oly-app:has(.oly-rail.oly-rail-open) .oly-drawer-btn {
  left: calc(min(310px, 100% - var(--rail-gap, 92px)) + 8px); z-index: 1200; white-space: nowrap;
}
/* ⛔ the rail and this button share ONE width expression (the rail's below). The rail was 86vw and the button sat
   past it, so under ~385px the open button hung 26px off a 360 phone and the page scrolled sideways, on every map.
   100% - 92px leaves the button its ~78px on one line plus the 8px gap.
   ⛔ A TRANSLATED LABEL IS WIDER (map-ui-text.js, which sets data-ui-language): "☰ Ebenen" 84px, "☰ Calques" 89px,
   "☰ Camadas" 96px against the 84px the English gap leaves (measured 11-22 at 320/360/390: French hung 5px off the
   phone and the page scrolled sideways). That language's open rail gives up the difference; English keeps 92px. */
.oly-app[data-ui-language="de"], .oly-app[data-ui-language="fr"] { --rail-gap: 100px; }
.oly-app[data-ui-language="pt-BR"] { --rail-gap: 108px; }

/* ── fold the rail away (assets/js/map-fold.js; a map opts in with its script tag) ──
   Desktop only: from 999px down the rail is already a drawer. One button beside the zoom control (left 56px, like
   the drawer button), in words both ways: "‹ Hide layers" open, "☰ Show layers & search" folded — and folded it is
   orange, because then it is the only way back to every control on the page. Fixed dark like the HUD: map art. */
.oly-fold-btn { display: none; }
@media (min-width: 1000px) {
  /* above the zoom control (his placement, 2026-10-11): the button takes the corner, the +/− drop under it */
  .oly-fold-btn { display: inline-flex; align-items: center; gap: 0.4rem; position: absolute; top: 10px; left: 10px; z-index: 900;
    height: 34px; box-sizing: border-box; padding: 0 0.8rem; cursor: pointer; white-space: nowrap;
    background: rgba(10, 14, 18, 0.86); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 0; color: #e8edf3;
    font: 700 0.78rem 'Manrope', sans-serif; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); transition: opacity 0.15s ease; }
  .oly-fold-btn span { font-size: 1.05em; line-height: 1; }
  .oly-fold-btn:hover, .oly-fold-btn:focus-visible { border-color: #f08000; color: #fff; }
  .oly-folded .oly-fold-btn { background: #f08000; border-color: #f08000; color: #1a1206; font-weight: 800; }
  .oly-folded .oly-fold-btn:hover, .oly-folded .oly-fold-btn:focus-visible { background: #ff9a2e; border-color: #ff9a2e; color: #1a1206; }
  .oly-foldable #oly-map .leaflet-top.leaflet-left { top: 42px; }
  .oly-app.oly-folded { grid-template-columns: minmax(0, 1fr); }
  .oly-folded > .oly-rail { display: none; }
  /* it yields to an open popup, as the HUD does: the popup pane can never stack above it */
  .oly-popup-open .oly-fold-btn { opacity: 0; pointer-events: none; }
}
html[data-embed] .oly-fold-btn { display: none !important; }

@media (max-width: 999px) {
  .oly-app { grid-template-columns: 1fr; }
  .oly-rail { position: absolute; top: 0; bottom: 0; left: 0; width: min(310px, calc(100% - var(--rail-gap, 92px))); z-index: 1100; transform: translateX(-103%); transition: transform 0.22s ease; box-shadow: 6px 0 24px rgba(0, 0, 0, 0.45); overscroll-behavior: contain; }
  .oly-rail.oly-rail-open { transform: translateX(0); }
  .oly-drawer-btn { display: block; }
  .oly-app { height: calc(100dvh - 62px); }
}
/* ── a phone: the Layers button never leaves the screen while the map is on it ──
   Jason 2026-11-18, his Android phone, Icarus Olympus: "the layers are not showing, there is no way to bring them up".
   The site header is sticky (nav.js: 62 px, 100 px with the game row, html.gog-maprow) and lies over the page. A swipe
   that starts off the map itself (a Suggest / Report chip, the HUD, the column, the account row, the page below) scrolls
   the page, and 54 px of it put this button, 10 px into the stage, under the header while the map still filled the
   screen: no layers and no way to them. Sticky, it stays 10 px under the header as long as any of the stage is on screen.
   ⛔ A sticky box's left is a sticky edge, not a place: its place across is margin-left, so each left above (56 px, the
   column's 10 px in map-fab.css, the open drawer's edge) has its margin twin here. Net zero in the stage's flow (every
   other child of the stage is positioned). Stuck, it passes over the stage's own furniture (the HUD, a map's switch: z
   1000, the column 950), so it sits above them: at the top of an unscrolled page nothing shares its corner (the harness's
   phone checks), and the open drawer (1100) and its open button (1200) stay above it. The open drawer is pinned to the
   window under the header for the same reason, so all of it is on screen however far the page was scrolled. Fullscreen,
   the console's frame and the pop-out have no header over them: 10 px and the app's own top, as before.
   tools/map-rail/test/run.mjs phones: "the page scrolled". */
@media (max-width: 999px) {
  .oly-drawer-btn { position: sticky; top: 72px; z-index: 1050; width: max-content; margin: 10px 0 -43px 56px; }
  html.gog-maprow .oly-drawer-btn { top: 110px; }
  .gomg-fab-on .oly-drawer-btn { margin-left: 10px; }
  .oly-app:has(.oly-rail.oly-rail-open) .oly-drawer-btn { margin-left: calc(min(310px, 100% - var(--rail-gap, 92px)) + 8px); }
  .oly-app .oly-rail.oly-rail-open { position: fixed; top: 62px; bottom: 0; height: auto; }
  html.gog-maprow .oly-app .oly-rail.oly-rail-open { top: 100px; }
  html .oly-app.oly-fs .oly-drawer-btn, html[data-embed] .oly-app .oly-drawer-btn, html[data-pop] .oly-app .oly-drawer-btn { top: 10px; }
  html .oly-app.oly-fs .oly-rail.oly-rail-open, html[data-embed] .oly-app .oly-rail.oly-rail-open, html[data-pop] .oly-app .oly-rail.oly-rail-open { position: absolute; top: 0; }
}
/* ── a seed map's own rail: the phone drawer opens on its layers too (2026-11-24) ──
   map-rail.css orders a map-rail.js rail (.gomg-rail) so the drawer opens on its layers. The seed maps with a rail of their
   own (Factorio, Necesse, Terraria, Valheim: the head, then the world's seed form, then their own Popular and groups) had
   no such rule, so whatever sat between the form and the layers pushed them off the first screen (390 x 780, the drawer
   ending at 780): Factorio's Where am I? and find box put Popular's first tile at 807; Necesse's best-spot picker at 1,096;
   Terraria's Where am I? at 784. In the drawer now: the title, the seed form, a find box of its own (a block holding a
   search box, when it is not inside the form), THE LAYERS, then the rest as it was (Where am I, the picker, the bars, the
   foot), all still there to scroll to. Order only, desktop untouched. tools/map-rail/test/run.mjs phones: "the page
   scrolled". */
@media (max-width: 999px) {
  .oly-rail:not(.gomg-rail):has(> .oly-rail-head + .sotf-block > form) > .oly-layers { order: 1; }
  .oly-rail:not(.gomg-rail):has(> .oly-rail-head + .sotf-block > form) > .oly-rail-head + .sotf-block ~ :not(.oly-layers, .sotf-block:has(> input[type="search"])) { order: 2; }
}

/* ── the "where do I find…" finder (VEIN map; any map with an item index can use it) ── */
.oly-find { padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--border); }
.oly-find-head { font: 700 0.72rem 'Manrope', sans-serif; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 0.45rem; }
.oly-find .picker-input { width: 100%; box-sizing: border-box; font-size: 0.86rem; padding: 0.45rem 2rem 0.45rem 0.6rem; }   /* guide.css's width is not on a map page: the browser's default ran it 12 px past a 320 px phone's drawer (D101c) */
.oly-find-out { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; margin: 0.55rem 0 0; }
.oly-find-out b { color: var(--orange-ink); }
.oly-find-out ul { list-style: none; margin: 0.4rem 0 0; padding: 0; max-height: 11rem; overflow-y: auto; }
.oly-find-out li { display: flex; align-items: center; gap: 0.4rem; padding: 0.18rem 0; color: var(--text); }
.oly-find-out li .ct { margin-left: auto; font-size: 0.72rem; color: var(--text-muted); white-space: nowrap; }

/* ── collapsible detail below the map ─────────────────────────────────────────
   The map is the product, but the tables under it are what a crawler reads and
   what someone checks when they want the whole list. Collapsed by default so the
   page stays short; open, they are the full data. Shared by every map page. */
.oly-below .oly-drop { border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card); margin: 0 0 0.55rem; }
.oly-below .oly-drop > summary {
  cursor: pointer; list-style: none; padding: 0.7rem 0.9rem;
  font: 700 0.88rem 'Manrope', sans-serif; color: var(--text);
  display: flex; align-items: center; gap: 0.6rem;
  /* no flex-wrap: with it, a question long enough to wrap dropped onto its own line and left the arrow alone above it (390px) */
}
.oly-below .oly-drop > summary::-webkit-details-marker { display: none; }
.oly-below .oly-drop > summary::before { content: '▸'; color: var(--text-muted); font-size: 0.8rem; transition: transform 0.15s; }
.oly-below .oly-drop[open] > summary::before { transform: rotate(90deg); }
.oly-below .oly-drop > summary:hover { color: var(--orange-ink); }
.oly-drop-n { margin-left: auto; font: 600 0.72rem 'Manrope', sans-serif; color: var(--text-muted); }
.oly-drop-body { padding: 0 0.9rem 0.9rem; overflow-x: auto; }
.oly-drop-body p { margin: 0 0 0.7rem; }
.oly-drop-body p:last-child { margin-bottom: 0; }

.oly-tbl { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.oly-tbl th, .oly-tbl td { text-align: left; padding: 0.34rem 0.6rem 0.34rem 0; border-bottom: 1px solid var(--border); white-space: nowrap; }
.oly-tbl th { font: 800 0.7rem 'Manrope', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.oly-tbl td { color: var(--text-muted); }
.oly-tbl td:first-child { color: var(--text); white-space: normal; }
.oly-tbl tr:last-child td { border-bottom: 0; }

/* place-name labels on region markers — a named-region pin with no name on it
   is just a dot, so these tooltips are permanent rather than hover-only */
.leaflet-tooltip.oly-place { background: rgba(18,20,16,.82); border: 0; box-shadow: none;
  color: #f2eee2; font: 800 0.72rem 'Manrope', sans-serif; letter-spacing: .01em;
  padding: 0.12rem 0.4rem; border-radius: 5px; white-space: nowrap; }
.leaflet-tooltip.oly-place::before { display: none; }

/* ── embed mode: the AcidNodes console mounts this page in an iframe with ?embed=1 (the head script on
   the two Icarus map pages sets [data-embed]). Everything that is not the map goes: site header and
   footer, the SEO strip, the rail's links and the host card (it would advertise AcidNodes inside
   AcidNodes), the consent banner, the verified badge — and the cave checklist, because it saves
   per-browser and an iframe's storage is partitioned away from a real gamesomg.com visit, so a list
   ticked in the console would never be the one ticked on the site. The console links here for it. ── */
html[data-embed] #gog-header, html[data-embed] #gog-footer, html[data-embed] .oly-below,
html[data-embed] #gamesomg-consent-banner, html[data-embed] #gamesomg-consent-overlay,
html[data-embed] .oly-rail-links, html[data-embed] .oly-rail-host, html[data-embed] .oly-rail-foot,
html[data-embed] .oly-progress, html[data-embed] .oly-notice, html[data-embed] .oly-pop-check, html[data-embed] .oly-card-check,
html[data-embed] .oly-card-save, html[data-embed] .oly-card-spot,
html[data-embed] .gog-verified, html[data-embed] .ad-slot,
html[data-embed] .map-version, /* ChatGPT C52: source facts stay outside the hosting console's map viewport. */
html[data-embed] .map-asks { display: none !important; }   /* the site's Suggest / Report links: in the console frame they would navigate the map away (D49, 2026-10-20) */
html[data-embed] body { margin: 0; padding: 0; }
html[data-embed] .oly-app { height: 100dvh; min-height: 0; border-bottom: 0; }


/* ── embed mode: the console's Map tab frames these pages, and a frame is narrower than a page ──
   The layout keeps a fixed 292px rail above 999px and only becomes a drawer on a phone, which is
   right for a browser window and wrong inside a console tab, where the map IS the content.
   ⛔ THIS LIVED IN sotf-map.css FIRST AND SO ONLY SOTF HAD IT — Jason, on the console's Icarus
   tab: "icarus is the same way". Every embedded map page shares this stylesheet; the rule belongs
   here. An overlay, not a grid change, so Leaflet never needs an invalidateSize on the toggle. */
html[data-embed] .oly-app { grid-template-columns: 1fr; }
html[data-embed] .oly-rail { position: absolute; top: 0; bottom: 0; left: 0; width: min(310px, calc(100% - var(--rail-gap, 92px)));
  z-index: 1100; transform: translateX(-103%); transition: transform .22s ease;
  box-shadow: 6px 0 24px rgba(0, 0, 0, .45); overscroll-behavior: contain; }
html[data-embed] .oly-rail.oly-rail-open { transform: translateX(0); }
html[data-embed] .oly-drawer-btn { display: block; }

/* ── HOLDING STATE: markers pulled while a map is rebuilt ─────────────────────
   Used when pin data is known-wrong and we would rather show nothing than show
   wrong coordinates. Keeps the rail, its tool links and the crawlable copy. */
.oly-rebuild {
  display: flex; flex-direction: column; justify-content: center;
  height: 100%; min-height: 26rem; padding: 2rem clamp(1.2rem, 4vw, 3rem);
  background: var(--panel); border-radius: 10px;
}
.oly-rebuild h2 { font: 800 1.35rem 'Manrope', sans-serif; color: var(--text); margin: 0 0 0.9rem; }
.oly-rebuild p { font-size: 0.92rem; line-height: 1.65; color: var(--text-muted); margin: 0 0 0.8rem; max-width: 62ch; }
.oly-rebuild code { font-size: 0.86em; padding: 0.1em 0.35em; border-radius: 4px; background: var(--code-bg, rgba(127,127,127,.14)); color: var(--text); }
.oly-rebuild-note { font-size: 0.82rem !important; padding-top: 0.7rem; border-top: 1px solid var(--border); color: var(--text-muted); }

.oly-layers-off { padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--border); }
.oly-layers-off strong { display: block; font: 700 0.82rem 'Manrope', sans-serif; color: var(--text); margin-bottom: 0.25rem; }
.oly-layers-off span { display: block; font-size: 0.76rem; line-height: 1.5; color: var(--text-muted); }

/* ── map place names: permanent, faint landmark labels (not a toggleable layer) ── */
.hz-place { pointer-events: none; }
.hz-place span {
  position: absolute; transform: translate(-50%, -50%); white-space: nowrap;
  font: 600 11px/1 'Manrope', sans-serif; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.45); text-shadow: 0 1px 3px rgba(0,0,0,.8);
}

/* ── icon markers: inline SVG in the layer's own colour, with a dark halo so they
   stay legible over grass, tarmac, roofs and sand alike ── */
.hz-pin-wrap { background: none; border: 0; }
.hz-pin { position: absolute; transform: translate(-50%, -50%); display: block; }
.hz-pin svg { width: 100%; height: 100%; display: block; fill: var(--c);
  filter: drop-shadow(0 0 1.5px rgba(0,0,0,.95)) drop-shadow(0 1px 2px rgba(0,0,0,.65)); }
.oly-ic { display: inline-flex; width: 15px; height: 15px; flex: 0 0 15px; position: relative; }
.oly-ic .hz-pin { position: relative; transform: none; }

/* rail group headings - the layer list is long now, so it needs signposting */
.oly-group { padding: .75rem 1.1rem .25rem; font: 800 .64rem 'Manrope', sans-serif;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); opacity: .75; }
.oly-group:first-child { padding-top: .35rem; }

/* ══════════════════════════════════════════════════════════════════════════════════════════
   THE APP CONTROLS — find box, tool toggles, filter presets, the grouped layer rail, the
   on-map HUD and its drop-down. Written for the Sons of the Forest map and promoted here
   2026-09-18 when the Icarus maps took the same furniture: his standing ask is that the maps
   "look and act like an onscreen app", and a look is one file. Behaviour lives in each map's
   own JS (sotf-map.js, icarus-map-app.js).

   ⭐ ONE KNOB PER MAP — `--map-accent`. Every control below follows it. A map that wants a
   different accent sets it on `.oly-app` in its own stylesheet, which loads after this one.
   ⚠ Selectors carry BOTH prefixes on purpose: `.sotf-*` is what the SOTF page's markup already
   says, and renaming live markup to tidy a stylesheet is how a shipped page breaks for nothing.
   ══════════════════════════════════════════════════════════════════════════════════════════ */
.oly-app { --map-accent: var(--orange-ink); }

/* ── rail blocks ── */
.oly-block, .sotf-block { padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--border); }
.oly-label, .sotf-label { display: block; font: 700 0.7rem/1 'Manrope', sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.45rem; }
.oly-hint, .sotf-hint { margin: 0.4rem 0 0; font-size: 0.75rem; color: var(--text-muted); }

/* ── SECTIONS AND CONTROLS THAT READ AS SUCH (Jason 2026-10-14: "the seperation of areas, dropdowns, clickable things,
   outlines, seperaters, etc. are almost always all muted so its hard to tell things apart"; tried on the base pickers,
   then every map). Each top-level rail block is its own card on a darker gutter, its heading orange; anything that
   OPENS carries a blue chevron, anything you can CHANGE a blue edge at rest. Orange = what is on / chosen, blue = what
   you can open or set. Every colour is a token, so the silver theme follows. ── */
.oly-rail { background: var(--bg-surface); padding-bottom: 6px; }
.oly-rail > .oly-rail-head { background: var(--bg-card); }
.oly-rail > :is(.oly-block, .sotf-block, .oly-layers, .sbp-acct, .pwm-rail-block, .oly-progress, .oly-jump, .oly-find) { margin: 6px 6px 0; background: var(--bg-card); border: 1px solid var(--border-hover); border-radius: 8px; }
.oly-rail > :is(.oly-block, .sotf-block, .pwm-rail-block) > :is(.oly-label, .sotf-label, .pwm-rail-label):first-child { font-size: 0.7rem; color: var(--orange-ink); margin-bottom: 0.5rem; }
.oly-rail :is(.oly-layers-head, .sotf-layers-head), .oly-rail > .oly-find > .oly-find-head { color: var(--orange-ink); }   /* its "Layers" is a bare text node; the All on / All off pair keeps its own ink */
/* (.oly-app-prefixed: these sit ABOVE the base control rules in this file, so they must out-rank them, not follow them) */
.oly-app :is(.oly-lgroup, .sotf-group) > summary::before, .oly-below .oly-drop > summary::before { color: var(--blue); font-size: 0.85rem; }
.oly-app :is(.oly-lgroup, .sotf-group) > summary:hover, .oly-below .oly-drop > summary:hover { background: var(--blue-dim); }
.oly-below .oly-drop { border-color: var(--border-hover); }
.oly-app .oly-rail :is(select, .oly-search, .sotf-search, .oly-preset button, .sotf-preset button, .oly-bulk, .sotf-bulk) { border-color: var(--blue-border); }

/* ── the find box ── */
.oly-search, .sotf-search { width: 100%; box-sizing: border-box; background: var(--bg-card); border: 1px solid var(--border); border-radius: 9px; color: var(--text); font: 500 0.88rem 'Urbanist', sans-serif; padding: 0.5rem 0.6rem; }
.oly-search:focus, .sotf-search:focus { outline: none; border-color: var(--map-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--map-accent) 20%, transparent); }
.oly-results, .sotf-results { margin-top: 0.4rem; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; background: var(--bg-card-solid); max-height: 15rem; overflow-y: auto; }
.oly-hit, .sotf-hit { display: flex; align-items: center; gap: 0.5rem; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--border); color: var(--text); font: 600 0.84rem 'Urbanist', sans-serif; padding: 0.45rem 0.6rem; cursor: pointer; }
.oly-hit:last-child, .sotf-hit:last-child { border-bottom: 0; }
.oly-hit:hover, .sotf-hit:hover { background: var(--bg-surface); color: var(--map-accent); }
.oly-hit span, .sotf-hit span { margin-left: auto; padding-left: 0.5rem; font-size: 0.76rem; color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.oly-hit .oly-dot { flex: 0 0 auto; }

/* ── tool toggles ── */
.oly-tools, .sotf-tools { display: flex; flex-direction: column; gap: 0.5rem; }
.oly-toggle, .sotf-toggle { display: flex; align-items: center; gap: 0.5rem; font: 600 0.84rem 'Urbanist', sans-serif; color: var(--text); cursor: pointer; }
.oly-toggle input, .sotf-toggle input { accent-color: var(--map-accent); }
.oly-slider, .sotf-slider { display: flex; align-items: center; gap: 0.6rem; font: 600 0.84rem 'Urbanist', sans-serif; color: var(--text); }
.oly-slider input, .sotf-slider input { flex: 1 1 auto; min-width: 0; accent-color: var(--map-accent); }
.oly-showing, .sotf-progress { font-size: 0.78rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.oly-showing b, .sotf-progress b { color: var(--text); }

/* ── filter presets ── */
.oly-preset, .sotf-preset { display: flex; gap: 0.35rem; }
.oly-preset select, .sotf-preset select { flex: 1 1 auto; min-width: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: 9px; color: var(--text); font: 600 0.8rem 'Urbanist', sans-serif; padding: 0.42rem 0.45rem; cursor: pointer; }
.oly-preset select:focus, .sotf-preset select:focus { outline: none; border-color: var(--map-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--map-accent) 20%, transparent); }
.oly-preset button, .sotf-preset button { flex: 0 0 auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: 9px; color: var(--text); font: 700 0.76rem 'Manrope', sans-serif; padding: 0.42rem 0.6rem; cursor: pointer; }
.oly-preset button:hover, .sotf-preset button:hover { border-color: var(--map-accent); color: var(--map-accent); }
.oly-preset button:disabled, .sotf-preset button:disabled { opacity: 0.4; cursor: default; border-color: var(--border); color: var(--text-muted); }
/* SCUM's "Find a spot from coordinates" (scum-map.js): the find box's input beside a Go button, its one-line error under it */
.scum-xy-form .oly-search { flex: 1 1 auto; min-width: 0; width: auto; }
.scum-xy-msg { color: var(--red); }
.scum-xy-msg:empty { display: none; }
@media (max-width: 720px) { .scum-xy-form .oly-search { font-size: 16px; } }   /* under 16px a phone zooms the page on focus */

/* ── the All on / All off pair ──
   ⚠ NOT .oly-layers-all: that one styles a button INSIDE itself and leaves the pair as raw
   browser buttons, which is exactly the trap the SOTF map hit. The JS swaps the class. */
.oly-bulk, .sotf-bulk { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.oly-bulk button, .sotf-bulk button { background: var(--bg-card); border: 0; border-right: 1px solid var(--border); color: var(--text-muted); font: 700 0.7rem 'Manrope', sans-serif; text-transform: none; letter-spacing: 0; padding: 0.3rem 0.55rem; cursor: pointer; }
.oly-bulk button:last-child, .sotf-bulk button:last-child { border-right: 0; }
.oly-bulk button:hover, .sotf-bulk button:hover { background: var(--bg-surface); color: var(--map-accent); }

/* ── the grouped layer rail ── */
.oly-lgroup, .sotf-group { border-bottom: 1px solid var(--border); }
.oly-lgroup > summary, .sotf-group > summary { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.85rem; cursor: pointer; font: 700 0.8rem 'Manrope', sans-serif; color: var(--text); list-style: none; }
.oly-lgroup > summary::-webkit-details-marker, .sotf-group > summary::-webkit-details-marker { display: none; }
.oly-lgroup > summary::before, .sotf-group > summary::before { content: '▸'; color: var(--text-muted); font-size: 0.7rem; transition: transform 0.15s; }
.oly-lgroup[open] > summary::before, .sotf-group[open] > summary::before { transform: rotate(90deg); }
.oly-lgroup > summary:hover, .sotf-group > summary:hover { background: var(--bg-surface); }
.oly-lgcount, .sotf-gcount { margin-left: auto; font-style: normal; font-size: 0.72rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
/* the groups own the padding once the rail is grouped, or every row is indented twice */
.oly-layers.oly-grouped { padding: 0 0 0.3rem; }
.oly-layers.oly-grouped .oly-layers-head { padding: 0.7rem 0.85rem 0.45rem; margin-bottom: 0; }
.oly-lrow { padding-left: 1.5rem; padding-right: 0.85rem; }
.oly-lgroup .oly-style-row { padding: 0.5rem 0.85rem 0.6rem 1.5rem; }
/* Icarus's cave size row, under its Caves row: the buttons wrap under the label in a narrow phone drawer */
.oly-lgroup .oly-size-row { flex-wrap: wrap; padding-top: 0.15rem; }

/* ── the on-map HUD, top centre ──
   Barely transparent and blurred so it reads as part of the app rather than a floating card;
   the blur is what keeps it legible at 0.72 alpha. Fixed dark chrome in both themes on
   purpose — it sits on map art, not on the page. */
.oly-hud, .sotf-hud { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 1000;
  display: flex; align-items: center; gap: 0.5rem; padding: 0.18rem 0.22rem 0.18rem 0.6rem;
  background: rgba(10, 14, 18, 0.72); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 9px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  max-width: calc(100% - 24px); }
.oly-hud-stat, .sotf-hud-stat { font: 700 0.67rem 'Manrope', sans-serif; color: #b6c2d0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.oly-hud-sep, .sotf-hud-sep { width: 1px; align-self: stretch; background: rgba(255, 255, 255, 0.12); }
.oly-hud-btn, .sotf-hud-btn { display: inline-flex; align-items: center; gap: 0.28rem; background: none;
  border: 1px solid transparent; border-radius: 7px; color: #e8edf3; cursor: pointer;
  font: 700 0.68rem 'Manrope', sans-serif; padding: 0.2rem 0.45rem; white-space: nowrap; }
.oly-hud-btn:hover, .sotf-hud-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.24); }
.oly-hud-btn.is-open, .sotf-hud-btn.is-open { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.oly-hud-tick, .sotf-hud-tick { color: #4ade80; font-size: 0.9em; }
.oly-hud-star { color: #ff8a1f; font-size: 0.9em; }
.oly-hud-btn b, .sotf-hud-btn b { font-variant-numeric: tabular-nums; }
/* The HUD stays inside its own width cap (max-width above; on a phone, map-fab.css's room between Layers and ⋮). Its
   children were all nowrap at flex's min-width:auto, so a row longer than the cap ran out past it: Schedule I at 320 on a
   pointer device (its "Point at the map" readout showing) put ★ My spots at 294-329 and the page scrolled 9 px sideways;
   at 360 the same ★ sat under the ⋮ column (overnight sitting 11-23). Now a readout gives way first and ends in "…"
   (hover it for the rest, where it has a title), and the buttons and the separators keep their size. A HUD that fits is
   unchanged: nothing shrinks until the row is wider than the cap. */
.oly-hud-stat, .sotf-hud-stat { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.oly-hud-btn, .sotf-hud-btn, .oly-hud-sep, .sotf-hud-sep { flex: none; }
/* hidden means hidden in the HUD. The buttons' display:inline-flex beats the browser's own [hidden] rule, so a button a
   script adds hidden showed until that script's stylesheet said otherwise: map-draw.js and map-route.js add Drawings and
   Route hidden (they join once there is one) and inject map-draw.css / map-route.css after, so on a cold load the Palworld
   map at 390 drew both and the page was 397 wide until those landed (live, 11-23). Grounded 2, Grounded and Stardew each
   carried this rule for their own HUD; it is everyone's now. */
.oly-hud [hidden], .sotf-hud [hidden] { display: none; }
/* ⛔ The HUD sits in the stage at z-index 1000; Leaflet's popup pane is 700 inside .leaflet-map-pane,
   which is its own stacking context at 400 — so a popup can NEVER climb over the HUD by z-index,
   and a tall one had its title and close button hidden behind it. The ambient thing yields to the
   thing the reader just clicked: the JS adds .oly-popup-open on popupopen. */
.oly-popup-open .oly-hud { opacity: 0; pointer-events: none; }
.oly-hud { transition: opacity 0.15s ease; }

/* ── the drop-down under the HUD ── */
.oly-cleared, .sotf-collected { position: absolute; top: 48px; left: 50%; transform: translateX(-50%); z-index: 1000;
  width: min(380px, calc(100% - 24px));
  background: rgba(10, 14, 18, 0.96); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  overflow: hidden; }
.oly-cleared[hidden], .sotf-collected[hidden] { display: none; }
.oly-cleared-head, .sotf-collected-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  padding: 0.6rem 0.8rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.oly-cleared-head b, .sotf-collected-head b { font: 800 0.86rem 'Manrope', sans-serif; color: #f3efe3; }
.oly-cleared-clear, .sotf-collected-clear { background: none; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 8px;
  color: #f0a0a0; font: 700 0.72rem 'Manrope', sans-serif; padding: 0.28rem 0.55rem; cursor: pointer; }
.oly-cleared-clear:hover, .sotf-collected-clear:hover { background: rgba(248, 113, 113, 0.16); border-color: #f87171; color: #fff; }
.oly-cleared-list, .sotf-collected-list { max-height: min(46vh, 360px); overflow-y: auto; }
.oly-cleared-row, .sotf-collected-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.44rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07); cursor: pointer; }
.oly-cleared-row:last-child, .sotf-collected-row:last-child { border-bottom: 0; }
.oly-cleared-row:hover, .sotf-collected-row:hover { background: rgba(255, 255, 255, 0.07); }
.oly-cleared-name, .sotf-collected-name { flex: 1 1 auto; min-width: 0; font: 600 0.82rem 'Urbanist', sans-serif; color: #e8edf3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oly-cleared-n, .sotf-collected-n { font: 700 0.72rem 'Manrope', sans-serif; color: #93a3b5; font-variant-numeric: tabular-nums; white-space: nowrap; }
.oly-cleared-x, .sotf-collected-x { flex: 0 0 auto; background: none; border: 0; color: #7f8b99; font-size: 0.82rem;
  line-height: 1; padding: 0.2rem 0.25rem; cursor: pointer; border-radius: 5px; }
.oly-cleared-x:hover, .sotf-collected-x:hover { background: rgba(248, 113, 113, 0.2); color: #fff; }
.oly-cleared-empty, .sotf-collected-empty { margin: 0; padding: 1.1rem 0.9rem; text-align: center; line-height: 1.6;
  font-size: 0.82rem; color: #93a3b5; }
/* the Found list (found-list.js): a header per kind that folds, then every found pin of it as its own row */
.gfl-toggle { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 0.5rem; background: none; border: 0;
  padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.gfl-chev { flex: 0 0 auto; width: 0; height: 0; border-left: 5px solid #93a3b5; border-top: 4px solid transparent;
  border-bottom: 4px solid transparent; transition: transform 0.12s ease; }
.gfl-group.is-open .gfl-chev { transform: rotate(90deg); }
.gfl-group.is-open > .gfl-head { border-bottom-color: transparent; }
.gfl-items { list-style: none; margin: 0; padding: 0 0 0.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.gfl-items[hidden] { display: none; }
.gfl-group:last-child > .gfl-items { border-bottom: 0; }
.gfl-item { display: flex; align-items: center; gap: 0.4rem; padding: 0 0.8rem 0 2.15rem; }
.gfl-item:hover { background: rgba(255, 255, 255, 0.06); }
.gfl-go { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.05rem; background: none; border: 0;
  padding: 0.32rem 0; text-align: left; cursor: pointer; color: #e8edf3; }
.gfl-t { font: 600 0.8rem 'Urbanist', sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gfl-s { font: 600 0.7rem 'Manrope', sans-serif; color: #93a3b5; font-variant-numeric: tabular-nums;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gfl-go:hover .gfl-t { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.gfl-toggle:focus-visible, .gfl-go:focus-visible { outline: 2px solid #f08000; outline-offset: 1px; border-radius: 4px; }

/* the density canvas both maps paint into */
.oly-heat, .sotf-heat { position: absolute; pointer-events: none; }

/* ── THE PHONE BOTTOM SHEET ──
   Below 560px the map's popup content is docked here instead of being tethered to its pin, because
   a bubble centred on a pin near the map's edge cannot be made to fit and autoPan cannot rescue it
   (see the comment in icarus-map-app.js). It lives in .oly-stage, NOT in the Leaflet popup pane —
   that pane carries a translate3d that changes on every pan, and a transformed ancestor makes
   `position: fixed` resolve against itself, so a sheet rendered inside it would slide off with the
   map. Fixed dark chrome like every other on-map surface. */
.oly-sheet { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 1050;
  display: flex; flex-direction: column; max-height: 56%;
  background: rgba(10, 14, 18, 0.96); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.oly-sheet[hidden] { display: none; }   /* display:flex beats the hidden attribute without this */
.oly-sheet-x { position: absolute; top: 1px; right: 1px; z-index: 3; background: none; border: 0;
  color: #93a3b5; font: 700 0.95rem/1 'Manrope', sans-serif; padding: 0.55rem 0.65rem;
  cursor: pointer; border-radius: 0; }
.oly-sheet-x:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.oly-sheet-body { overflow-y: auto; overscroll-behavior: contain;
  padding: 0.8rem 2.2rem 0.9rem 0.9rem; font: 600 0.9rem 'Urbanist', sans-serif; color: #f6f2e6; }
/* the sheet IS the panel, so the bubble's own floor does nothing here but stop it filling the width */
.oly-sheet-body .oly-pop { min-width: 0; }
/* the saved-in-browser notice lives at the bottom centre too — one of them has to move, and it is
   not the thing the reader just tapped */
.oly-sheet-open .oly-notice { display: none; }

/* Mobile: the drawer button owns the top-left from 999px down (see the drawer rule above),
   so the HUD drops below it rather than sitting under it. */
@media (max-width: 999px) {
  .oly-hud, .sotf-hud { top: 54px; gap: 0.45rem; padding-left: 0.6rem; }
  .oly-hud-stat, .sotf-hud-stat { font-size: 0.68rem; }
  .oly-cleared, .sotf-collected { top: 98px; }
}

/* ── embed mode: the console mounts the Icarus maps in an iframe, where the per-browser
   checklist is hidden because iframe storage is partitioned away from a real visit. The
   Cleared drop-down counts that same checklist, so it goes too — the "showing" stat stays. ── */
html[data-embed] .oly-hud-btn, html[data-embed] .oly-hud-sep,
html[data-embed] .oly-cleared { display: none !important; }

/* second-tier place labels (SCUM): the small sites that join the towns once you zoom in */
.hz-place-minor span { font-size: 9.5px; letter-spacing: .1em; color: rgba(255,255,255,.36); }

/* focus banner: the loot lookup's "show on map" views (#loot= / #item=) */
.oly-focus[hidden] { display: none; }
.oly-focus { position: absolute; top: 46px; left: 50%; transform: translateX(-50%); z-index: 950; max-width: calc(100% - 120px);
  background: rgba(20, 24, 18, .92); color: #f3efe3; border: 1px solid rgba(240, 128, 0, .6); border-radius: 10px;
  padding: .45rem .8rem; font: 600 .82rem 'Urbanist', sans-serif; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; }
.oly-focus b { color: #f08000; }
.oly-focus-key { font-weight: 500; opacity: .75; }
.oly-focus a { color: #f3efe3; text-decoration: underline; }
.oly-focus-x { font: 700 .78rem 'Urbanist', sans-serif; padding: .2rem .6rem; border-radius: 6px; cursor: pointer; background: #f08000; color: #111; border: 0; }

/* ══════════════════════════════════════════════════════════════════════════════════════════
   THE MAP CARD — a pin's popup built like an app window (2026-09-30, first on the ARK maps).
   Jason: "I want to make nice maps … go to a square approach and drop the rounded look. make it
   look more like an app, or ingame/pc menu". Every future map's popup is this; the SOP is
   .claude/skills/interactive-tools-and-visuals § What a map popup carries.
     .oly-card
       figure.oly-card-photo > img          only when the pin has a photo (our own captures)
       .oly-card-bar                        TITLE BAR: .oly-card-icon (the pin itself) +
         .oly-card-head > b.oly-card-title + .oly-card-sub
       .oly-card-body
         .oly-card-sec > .oly-card-label    a SMALL-CAPS SECTION LABEL, then one of:
           dl.oly-card-rows (dt/dd)           compact label / value rows
           ul.oly-card-list > li              a list: .oly-card-link + .oly-card-aux at the right
           table.oly-card-grid                a small matrix (an obelisk's tribute), tr.oly-card-grid-lead first
         p.oly-card-note · a.oly-card-go    a sentence about it; the page that covers it
       .oly-card-acts                       the ACTION BAR: .tp-copy (tp-copy.js) +
         .oly-card-tools > button.oly-card-btn (> svg + .oly-card-btn-t)
   Each row exists only when its data does. Colour has one job each: ORANGE #f08000 is an action,
   BLUE #3be3ff is structure and info (section labels, the title bar's rule, links), GREEN is
   status (found, copied). There is no gold. Fixed dark in both site themes: it sits on map art.
   ⛔ Width and height stay the Leaflet options (minWidth = maxWidth, maxHeight), never CSS here —
   see the popup note near the top of this file. A Leaflet popup holding one adds `oly-card-popup`
   to its className, so the content runs edge to edge; the phone sheet needs nothing extra.
   The title bar and action bar are sticky, so a card taller than its popup or sheet scrolls its
   body and keeps both in view.
   ══════════════════════════════════════════════════════════════════════════════════════════ */
#oly-map .oly-card-popup .leaflet-popup-content { margin: 0; line-height: 1.35; }
#oly-map .oly-card-popup .leaflet-popup-tip { background: #0d1318; }
/* the close box sits in the title bar's corner; over a photo it needs its own ground */
#oly-map .oly-card-popup .leaflet-popup-close-button { top: 1px; right: 1px; z-index: 3;
  width: 36px; height: 36px; font: 400 22px/36px 'Manrope', sans-serif; }
#oly-map .oly-card-popup:has(.oly-card-photo) .leaflet-popup-close-button,
.oly-sheet:has(.oly-card-photo) .oly-sheet-x { background: rgba(6, 9, 12, 0.72); color: #e8edf3; }
.oly-sheet-body:has(> .oly-card) { padding: 0; }

.oly-card { color: #e8edf3; font: 500 0.82rem/1.35 'Urbanist', sans-serif; text-align: left; }
.oly-card-photo { margin: 0; background: #06090c; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.oly-card-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
/* a photo that opens full size (shot-chips.js's viewer, first on the Moon Sweepers cards 2026-11-07): the whole photo is the
   link and a corner mark says so. The viewer sits over a map in its fullscreen app (.oly-fs, z-index 10000). */
.oly-card-photo { position: relative; }
.oly-card-photo .shot-thumb { display: block; line-height: 0; cursor: zoom-in; }
.oly-card-photo .shot-thumb::after { content: ''; position: absolute; right: 6px; bottom: 6px; width: 24px; height: 24px; pointer-events: none;
  background: rgba(6, 9, 12, 0.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e8edf3' stroke-width='1.6'%3E%3Cpath d='M9.5 2.5h4v4M13.5 2.5 9 7M6.5 13.5h-4v-4M2.5 13.5 7 9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.oly-card-photo .shot-thumb:hover img { filter: brightness(1.08); }
.shot-lb { z-index: 10050; }
/* map standard 1e: OUR in-game shot on a pin's card (map-card-shot.js, GomgCardShot, 2026-11-22). Small on the card: a 2:1
   strip in a popup and a 3:1 strip in the phone sheet, so the card's own rows stay on a 320 phone; the whole frame on a tap.
   The tag says whose it is: a screenshot reads as proof when the reader knows we took it. */
.oly-card-shot img { aspect-ratio: 2 / 1; object-position: 50% 45%; }
.oly-sheet-body .oly-card-shot img { aspect-ratio: 3 / 1; max-height: 15vh; }   /* 15vh bites only on a short phone (320×568) */
.oly-card-shot-tag { position: absolute; left: 6px; bottom: 6px; pointer-events: none; padding: 2px 6px;
  background: rgba(6, 9, 12, 0.72); color: #e8edf3; font: 700 0.66rem/1.3 'Urbanist', sans-serif; letter-spacing: 0.02em; }

.oly-card-bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 2.7rem 0.55rem 0.75rem; background: #16202a;
  border-bottom: 1px solid rgba(59, 227, 255, 0.34); }
/* ⛔ STICKY ONLY INSIDE A REAL SCROLLER. An unscrolled Leaflet popup's nearest scroll container is
   #oly-map itself (overflow: hidden counts), reached through the panes' translate3d — and Chrome then
   parks a sticky title bar at the far end of the card: measured at the BOTTOM of an obelisk card, the
   title gone from the top. Leaflet adds .leaflet-popup-scrolled when maxHeight bites; the phone sheet's
   body always scrolls. */
.leaflet-popup-scrolled > .oly-card > .oly-card-bar, .oly-sheet-body > .oly-card > .oly-card-bar { position: sticky; top: 0; }
.leaflet-popup-scrolled > .oly-card > .oly-card-acts, .oly-sheet-body > .oly-card > .oly-card-acts { position: sticky; bottom: 0; }
.oly-card-icon { flex: 0 0 26px; width: 26px; height: 26px; position: relative; display: grid; place-items: center; }
/* game art (main.css .game-icon) in the card: the card is dark in both themes, so its tile is too. The page's --bg-card
   made it a white square in a dark card on the silver theme. */
.oly-card .game-icon { background: #16202a; border-color: rgba(255, 255, 255, 0.16); }
.oly-card-head { flex: 1 1 auto; min-width: 0; }
.oly-card-title { display: block; font: 800 0.92rem/1.25 'Manrope', sans-serif; color: #fff; letter-spacing: -0.005em; overflow-wrap: anywhere; }
.oly-card-sub { display: block; margin-top: 0.12rem; font: 500 0.74rem/1.35 'Urbanist', sans-serif; color: #a5b4c3; }

.oly-card-body { padding: 0 0.75rem 0.6rem; }
.oly-card-label { display: flex; align-items: center; gap: 0.55rem; margin: 0.62rem 0 0.12rem;
  font: 800 0.6rem/1 'Manrope', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: #3be3ff; }
.oly-card-label::after { content: ''; flex: 1 1 auto; height: 1px; background: rgba(59, 227, 255, 0.2); }

.oly-card-rows { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 0; }
.oly-card-rows dt, .oly-card-rows dd { margin: 0; padding: 0.27rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.oly-card-rows dt { padding-right: 0.9rem; font: 700 0.68rem/1.55 'Manrope', sans-serif; color: #8d9dae; }
.oly-card-rows dd { min-width: 0; font-weight: 600; color: #eef2f6; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.oly-card-rows > :nth-last-child(-n+2) { border-bottom: 0; }

.oly-card-list { list-style: none; margin: 0; padding: 0; }
.oly-card-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.5rem; padding: 0.27rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.oly-card-list li:last-child { border-bottom: 0; }
.oly-card-aux { margin-left: auto; font: 700 0.66rem 'Manrope', sans-serif; color: #8d9dae; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* ⚠ `.oly-card` in front on purpose: Leaflet's `.leaflet-container a { color: #0078A8 }` is 0-1-1 and beat
   a bare class, so the desktop popup's links came out Leaflet blue while the phone sheet's were ours */
.oly-card .oly-card-link { color: #3be3ff; font-weight: 600; text-decoration: none; cursor: pointer; }
.oly-card .oly-card-link:hover { color: #a5f3ff; text-decoration: underline; }

.oly-card-grid { width: 100%; border-collapse: collapse; font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.oly-card-grid th { padding: 0.3rem 0 0.25rem 0.6rem; text-align: right; white-space: nowrap;
  font: 800 0.58rem 'Manrope', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: #8d9dae; }
.oly-card-grid td { padding: 0.24rem 0 0.24rem 0.6rem; text-align: right; font-weight: 600; color: #eef2f6;
  border-top: 1px solid rgba(255, 255, 255, 0.07); }
.oly-card-grid th:first-child, .oly-card-grid td:first-child { padding-left: 0; text-align: left; }
.oly-card-grid td:first-child { font-weight: 500; color: #dde4ec; }
/* a lead row that qualifies the columns (an obelisk portal's player level per difficulty): info, so blue */
.oly-card-grid .oly-card-grid-lead td { color: #3be3ff; font-weight: 700; }
.oly-card-grid .oly-card-grid-lead td:first-child { font: 700 0.68rem/1.9 'Manrope', sans-serif; color: #8d9dae; }

.oly-card-note { margin: 0.55rem 0 0; font-size: 0.75rem; line-height: 1.45; color: #aebbc8; }
.oly-card .oly-card-go { display: block; margin-top: 0.55rem; padding-top: 0.45rem; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font: 700 0.74rem 'Manrope', sans-serif; color: #3be3ff; text-decoration: none; }
.oly-card .oly-card-go:hover { color: #a5f3ff; text-decoration: underline; }

/* the action bar: the teleport command is the primary action, then a row of square tools */
.oly-card-acts { position: relative; z-index: 2; background: #0d1318; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.oly-card-acts:empty { display: none; }
.oly-card-acts .tp-copy { margin: 0; }
/* the side panel (map-side.js .gomg-side) sits beside #oly-map, not in it: Planet Crafter's zone card, 11-19 */
#oly-map .oly-card-acts .tp-copy .cmd-copy, .oly-sheet .oly-card-acts .tp-copy .cmd-copy, .gomg-side .oly-card-acts .tp-copy .cmd-copy {
  display: block; width: 100%; margin: 0; padding: 0.62rem 0.75rem; border: 0; border-radius: 0;
  background: #f08000; color: #1a1206; font: 800 0.7rem 'Manrope', sans-serif; letter-spacing: 0.07em; }
#oly-map .oly-card-acts .tp-copy .cmd-copy:hover, .oly-sheet .oly-card-acts .tp-copy .cmd-copy:hover, .gomg-side .oly-card-acts .tp-copy .cmd-copy:hover { background: #ff9a2e; color: #1a1206; }
#oly-map .oly-card-acts .tp-copy .cmd-copy.ok, .oly-sheet .oly-card-acts .tp-copy .cmd-copy.ok, .gomg-side .oly-card-acts .tp-copy .cmd-copy.ok { background: #16a34a; color: #fff; }
.oly-card-tools { display: flex; }
.oly-card-btn { flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  margin: 0; padding: 0.66rem 0.55rem; background: none; border: 0; border-left: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0;
  color: #e3e9ef; font: 700 0.66rem/1 'Manrope', sans-serif; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer; }
.oly-card-btn:first-child { border-left: 0; }
.oly-card-btn svg { flex: 0 0 auto; width: 13px; height: 13px; fill: none; stroke: #f08000; stroke-width: 2; stroke-linecap: square; }
.oly-card-btn:hover { background: rgba(240, 128, 0, 0.16); color: #fff; }
.oly-card-btn:focus-visible, .oly-card-link:focus-visible, .oly-card-go:focus-visible { outline: 2px solid #3be3ff; outline-offset: -2px; }
.oly-card-btn.is-found, .oly-card-btn.ok { background: rgba(74, 222, 128, 0.12); color: #4ade80; }
.oly-card-btn.is-found svg, .oly-card-btn.ok svg { stroke: #4ade80; }
.oly-card-btn.is-in { background: rgba(240, 128, 0, 0.14); color: #ffc98a; }
/* a pressed toggle says how to undo it on hover */
.oly-card-btn[data-undo]:hover .oly-card-btn-t { display: none; }
.oly-card-btn[data-undo]:hover::after { content: attr(data-undo); }
.oly-card-btn.is-found:hover { background: rgba(74, 222, 128, 0.2); }
/* Save / Saved (icarus-map-app.js, My spots): saved is orange like the glow on the map, a filled star */
.oly-card-btn.is-saved { background: rgba(255, 138, 31, 0.14); color: #ffc98a; }
.oly-card-btn.is-saved svg { fill: #ff8a1f; stroke: #ff8a1f; }
.oly-card-btn.is-saved:hover { background: rgba(255, 138, 31, 0.22); }
/* a spot card's bar (map-spots.js: Save to my spots, Remove pin, Share) in its 300 px. With Add to route in it, map-route.css
   wraps the row; without it (a page map-route.js does not reach: ARK's planner, a file:// harness) the row stayed one line and
   "Save to my spots" ran past the card's edge into Remove pin (SCUM's harness, 2026-11-14), so a long label takes two lines */
.oly-spot-card .oly-card-tools > .oly-card-btn { white-space: normal; line-height: 1.15; text-align: center; padding-inline: 0.45rem; }
.oly-spot-note { margin-top: 0.3rem; color: #f3efe3; font-weight: 600; overflow-wrap: anywhere; }
.oly-spot-note.is-empty { color: #93a3b5; font-weight: 500; }
.oly-card-edit { margin: 0.35rem 0 0; padding: 0; background: none; border: 0; cursor: pointer;
  font: 700 0.72rem 'Manrope', sans-serif; color: #3be3ff; }
.oly-card-edit:hover { color: #a5f3ff; text-decoration: underline; }
.oly-card-edit:focus-visible { outline: 2px solid #3be3ff; outline-offset: 2px; }
/* the note form, in place of the action bar (ark-map.css .ark-save is the same form) */
.oly-save { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.7rem 0.75rem 0; }
.oly-save-l { display: flex; flex-direction: column; gap: 0.28rem; font: 700 0.64rem 'Manrope', sans-serif; letter-spacing: 0.06em;
  text-transform: uppercase; color: #93a3b5; }
.oly-save input { width: 100%; box-sizing: border-box; padding: 0.42rem 0.5rem; background: #0a0e12;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 0; color: #f3efe3; font: 600 0.86rem/1.4 'Urbanist', sans-serif;
  letter-spacing: 0; text-transform: none; }
.oly-save input::placeholder { color: #7f8b99; }
.oly-save input:focus { outline: none; border-color: #f08000; }
.oly-save .oly-card-tools { margin: 0.1rem -0.75rem 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.oly-save button[type="submit"] { color: #ffc98a; }
@media (max-width: 720px) { .oly-save input { font-size: 16px; } }   /* under 16px a phone zooms the page on focus */

/* ── a saved pin's glow (My spots): its own pane, so it shows with its layer off. It sits on map art, the same in
   both themes, so it carries its own contrast: a dark hairline outside, orange, a white hairline inside, and the
   glow. That reads on Olympus snow, Styx sand and Elysium's dark ground alike. The centre is clear, so with its layer
   on the pin shows through; the star tab says it is yours, not another layer. ── */
.oly-saved { cursor: pointer; }
.oly-saved i { position: absolute; inset: 0; border-radius: 50%; border: 3px solid #ff8a1f;
  box-shadow: 0 0 0 1.5px rgba(10, 12, 8, 0.8), inset 0 0 0 1.5px rgba(255, 255, 255, 0.9), 0 0 12px 3px rgba(255, 138, 31, 0.7);
  animation: oly-saved-glow 2.4s ease-in-out infinite; }
.oly-saved b { position: absolute; top: -4px; right: -4px; width: 13px; height: 13px; display: grid; place-items: center;
  background: #ff8a1f; color: #1a1206; border: 1.5px solid rgba(10, 12, 8, 0.85); font: 900 8px/1 'Manrope', sans-serif; }
.oly-saved:hover i { border-color: #ffb347; }
@keyframes oly-saved-glow {
  50% { box-shadow: 0 0 0 1.5px rgba(10, 12, 8, 0.8), inset 0 0 0 1.5px rgba(255, 255, 255, 0.9), 0 0 20px 6px rgba(255, 138, 31, 0.95); }
}
@media (prefers-reduced-motion: reduce) { .oly-saved i { animation: none; } }
/* the My spots drop-down's head carries a hint where Cleared has its Clear all */
.oly-spots-hint { font: 600 0.68rem 'Manrope', sans-serif; color: #93a3b5; text-align: right; }
/* map-spots.js (every map's My spots, D130): the star in a spot's card and list, and the dashed ring of a spot just
   dropped and not saved yet */
.oly-spot-star { color: #ff8a1f; font: 900 0.95rem/1 'Manrope', sans-serif; }
.oly-card-icon .oly-spot-star { font-size: 1.15rem; }
.oly-saved.oly-drop i { border-style: dashed; animation: none; }
/* a spot's colour (#587): the ring, the tab and the glow take --c; the card's and the list's star too */
.oly-spot i { border-color: var(--c, #ff8a1f);
  box-shadow: 0 0 0 1.5px rgba(10, 12, 8, 0.8), inset 0 0 0 1.5px rgba(255, 255, 255, 0.9), 0 0 12px 3px color-mix(in srgb, var(--c, #ff8a1f) 70%, transparent); }
.oly-spot b { background: var(--c, #ff8a1f); }
.oly-saved.oly-spot:hover i { border-color: color-mix(in srgb, var(--c, #ff8a1f) 75%, #fff); }
.oly-spot-star { color: var(--c, #ff8a1f); }
.oly-save-c { margin: 0; padding: 0; border: 0; min-width: 0; }
.oly-save-sw { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.28rem; }
.oly-save-swatch { position: relative; display: block; width: 24px; height: 24px; cursor: pointer; }
.oly-save-swatch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.oly-save-swatch i { display: block; width: 100%; height: 100%; box-sizing: border-box; background: var(--c);
  border: 2px solid rgba(10, 12, 8, 0.85); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); }
.oly-save-swatch input:checked + i { box-shadow: 0 0 0 2px #f3efe3; }
.oly-save-swatch input:focus-visible + i { outline: 2px solid #3be3ff; outline-offset: 2px; }
/* its HUD button on a narrow phone: the star and the count, so the HUD stays clear of the floating column */
@media (max-width: 479px) { .oly-hud-spots .oly-hud-w { display: none; } }
/* a friend's set (#spotset=, D134): their ring is dashed and does not pulse, their tab dark with the colour's star, so it
   never reads as one of yours. The same dashed ring is the swatch beside their name in the panel */
.oly-spot-theirs i { border-style: dashed; animation: none; }
.oly-spot-theirs b { background: #0a0e12; color: var(--c, #ff8a1f); border-color: var(--c, #ff8a1f); }
.oly-set-ic { flex: 0 0 auto; position: relative; display: inline-block; width: 14px; height: 14px; }
.oly-set-ic i { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed #ff8a1f; }
.oly-set { padding: 0.6rem 0.8rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 138, 31, 0.07); }
.oly-set[hidden], .oly-share-all[hidden], .oly-share-msg[hidden], .oly-set-msg[hidden] { display: none; }
.oly-set-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.2rem 0.5rem; }
.oly-set-head b { font: 800 0.84rem 'Manrope', sans-serif; color: #f3efe3; overflow-wrap: anywhere; }
.oly-set-n { font: 600 0.72rem 'Manrope', sans-serif; color: #93a3b5; }
.oly-set-acts { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.oly-set-acts:empty { display: none; }
.oly-set-acts button { background: none; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 8px; padding: 0.32rem 0.6rem;
  font: 700 0.74rem 'Manrope', sans-serif; color: #e8edf3; cursor: pointer; }
.oly-set-acts .oly-set-add { border-color: #ff8a1f; color: #ffc98a; }
.oly-set-acts button:hover:not(:disabled) { background: rgba(255, 138, 31, 0.16); color: #fff; }
.oly-set-acts button:disabled { opacity: 0.6; cursor: default; border-color: rgba(255, 255, 255, 0.16); color: #93a3b5; }
.oly-set-acts button:focus-visible { outline: 2px solid #3be3ff; outline-offset: 2px; }
.oly-set-msg, .oly-share-msg { margin: 0.45rem 0 0; font: 600 0.74rem/1.45 'Manrope', sans-serif; color: #e8edf3; }
.oly-set.is-err .oly-set-msg { color: #fca5a5; }
/* Share all, under the list: the name it goes out under, and the button */
.oly-share-all { display: flex; align-items: flex-end; gap: 0.5rem; padding: 0.55rem 0.8rem 0.6rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.oly-share-from { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.22rem;
  font: 700 0.62rem 'Manrope', sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: #93a3b5; }
.oly-share-from input { width: 100%; box-sizing: border-box; padding: 0.34rem 0.45rem; background: #0a0e12;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 0; color: #f3efe3; font: 600 0.82rem/1.3 'Urbanist', sans-serif;
  letter-spacing: 0; text-transform: none; }
.oly-share-from input:focus { outline: none; border-color: #f08000; }
.oly-share-all .oly-card-btn { flex: 0 0 auto; width: auto; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 8px; padding: 0.38rem 0.6rem; }
.oly-share-msg { padding: 0 0.8rem 0.65rem; margin: 0; }
/* Send to game (map-spots.js opt.sendToGame, Planet Crafter's own mod): its button beside Share all, its line under both;
   with no spot saved it stands alone (the name and Share all hide) */
.oly-share-all.has-game { flex-wrap: wrap; }
.oly-share-from[hidden], .oly-share-all .oly-card-btn[hidden], .oly-share-note[hidden] { display: none; }
.oly-share-note { flex: 1 1 100%; margin: 0; font: 600 0.7rem/1.45 'Manrope', sans-serif; color: #93a3b5; }
@media (max-width: 720px) { .oly-share-from input { font-size: 16px; } }

/* "Missing a feature? Suggest it" over "Something off? Report it" — bottom-right of every map stage,
   injected by footer.js; each opens /contact/ with the map's name and the exact link (open pin
   included) prefilled. Hidden under the phone sheet. */
.map-asks { position: absolute; right: 10px; bottom: 10px; z-index: 1000;
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; }
.map-report { pointer-events: auto;
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.38rem 0.7rem;
  font: 700 0.72rem/1.2 'Manrope', sans-serif; color: #e8eef5; text-decoration: none;
  background: rgba(10, 14, 18, 0.78); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.map-report b { color: var(--orange, #f08000); font-weight: 800; }
.map-report:hover, .map-report:focus-visible { border-color: var(--orange, #f08000); color: #fff; }
.oly-sheet-open .map-asks { display: none; }

/* a layer set by link (map-rail.js links, D214, #764): what a #layers= link turned on, with Back to mine; bottom centre of
   the stage, fixed dark like the HUD (it sits on map art). It steps aside for the drawing bar and an open card */
.gomg-layers-note { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 1001; box-sizing: border-box;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem 0.5rem; max-width: calc(100% - 20px); padding: 0.35rem 0.35rem 0.35rem 0.7rem;
  background: rgba(10, 14, 18, 0.92); border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); color: #e8edf3; font: 600 0.74rem/1.35 'Manrope', sans-serif; }
.gomg-layers-note b { color: #ffc98a; font-weight: 800; overflow-wrap: anywhere; }
.gomg-layers-note-t { flex: 1 1 14rem; min-width: 0; }
.gomg-layers-note button { flex: 0 0 auto; background: none; border: 1px solid rgba(255, 255, 255, 0.22); color: #e8edf3; cursor: pointer;
  font: 700 0.72rem 'Manrope', sans-serif; padding: 0.3rem 0.55rem; }
.gomg-layers-note .gomg-layers-back { border-color: #ff8a1f; color: #ffc98a; }
.gomg-layers-note button:hover { background: rgba(255, 138, 31, 0.16); color: #fff; }
.gomg-layers-note button:focus-visible { outline: 2px solid #3be3ff; outline-offset: 2px; }
@media (max-width: 560px) { .gomg-layers-note { bottom: 40px; width: calc(100% - 20px); } }
.gomg-draw-open .gomg-layers-note, .oly-sheet-open .gomg-layers-note { display: none; }
/* each saved preset's Share, after its ✕: an icon, as the column's Share is */
.gomg-preset-share { display: inline-grid; place-items: center; }
.gomg-preset-share svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gomg-preset-share.is-ok { color: #4ade80; border-color: #4ade80; }
/* ChatGPT C43/C44: shared compact game-to-map instructions; scoped map adaptations. */
.map-game-facts{margin:.55rem 0 0;padding:0 0 0 1rem;font-size:.76rem;line-height:1.45;color:var(--text-muted)}
.map-game-facts li{margin:.18rem 0 0}.map-game-facts b{color:var(--text)}
.sotf-row.pt-none,.sotf-row.af-none{opacity:.45}
.pt-map-page .pt-card .oly-card-rows dd{overflow-wrap:anywhere}
.uk-map-page .uk-grid{position:absolute;pointer-events:none}
.uk-map-page .gomg-fab-xy,.uk-map-page .gomg-fab-cross,.uk-map-page [data-fab="coords"]{display:none!important}
.uk-map-page .af-card .af-grid td:first-child{white-space:normal;overflow-wrap:anywhere}
.uk-map-page .af-link{display:inline-block;color:var(--blue);text-decoration:underline;cursor:pointer}
.uk-map-page .uk-key-places .af-link{display:block;margin:.2rem 0}
.uk-map-page .uk-steps ol{margin:.25rem 0 0;padding-left:1.6em}
.uk-map-page .uk-steps li{margin:.15rem 0}
.uk-map-page .uk-steps .af-link{display:inline}
.uk-map-page .af-more{border:0;background:none;color:var(--blue);font:inherit;cursor:pointer}
.uk-map-page .af-label b{font-size:11px;color:var(--text)}
