/* ============================================================
   ARK Island map — what is ARK-only on /ark-survival-ascended-island-map/.
   The app shell and the furniture (find box, toggles, grouped rail, HUD, phone sheet) are
   map-app.css, and so is the pin card (.oly-card, the app-window popup). This page also loads
   sotf-map.css for the rail's .sotf-layers-head and .sotf-row. What is left here: the pin shapes,
   the two routes (arrows + stop numbers), the route panel, the toast and the card's ARK-only
   bits. Behaviour: assets/js/ark-map.js.
   Pin colours are literals on purpose: they sit on fixed map art, not on the page.
   ============================================================ */

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

/* the texture's own ocean, so a pan past the edge does not flash a different colour */
#oly-map[data-ark] { background: #112f38; }

/* ── pins ── the marker element is Leaflet's; the shape is the span inside it, so the size knob
   (--pin, set on the map by the slider) can scale it without fighting Leaflet's own transform */
.ark-mk { background: none; border: 0; }
.ark-pin { position: absolute; left: 50%; top: 50%; box-sizing: border-box;
  transform: translate(-50%, -50%) scale(var(--pin, 1)); transition: opacity .15s; }
.ark-pin-note { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c); color: var(--ink, #fff); border: 2px solid rgba(8, 12, 16, 0.78);
  font: 800 10.5px/1 'Manrope', sans-serif; letter-spacing: -0.02em;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.55); }
.ark-pin-dossier { width: 12px; height: 12px; background: #e879f9; border: 2px solid rgba(8, 12, 16, 0.85);
  border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg) scale(var(--pin, 1));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.ark-pin-cave { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  background: #1c1811; border: 2px solid #fbbf24; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.55); }
.ark-pin-cave svg { width: 16px; height: 16px; fill: #fbbf24; }
.ark-pin-obelisk { width: 12px; height: 26px; background: var(--c);
  clip-path: polygon(50% 0, 100% 22%, 78% 100%, 22% 100%, 0 22%);
  filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7)); }
.ark-pin-uw { width: 16px; height: 16px; border-radius: 50%; background: rgba(56, 189, 248, 0.22);
  border: 3px solid #38bdf8; box-shadow: 0 0 0 1px rgba(8, 12, 16, 0.7); }
.ark-pin-sea { width: 11px; height: 11px; background: #ef4444; border: 2px solid #fff; border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-drop { width: 11px; height: 11px; background: var(--c); border: 2px solid #111827; border-radius: 2px;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.85), 0 1px 3px rgba(0, 0, 0, 0.6); }
/* a cave loot crate: a crate with a dark lid band, in its chest colour (DROPC in ark-map.js) */
.ark-pin-ccrate { width: 12px; height: 12px; background: var(--c); border: 2px solid #111827; border-radius: 2px;
  box-shadow: inset 0 3px 0 rgba(17, 24, 39, 0.55), 0 0 0 1.5px #fbbf24, 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-zip { width: 10px; height: 10px; background: #111827; border: 3px solid #e879f9; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-hq { width: 11px; height: 11px; background: #ef4444; border: 2px solid #111827; border-radius: 2px; box-shadow: 0 0 0 1.5px #fde68a, 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-rare { width: 10px; height: 10px; background: var(--c); border: 2px solid #111827; transform: translate(-50%, -50%) rotate(45deg) scale(var(--pin, 1)); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7), 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-geyser { width: 12px; height: 12px; background: radial-gradient(circle, #e0f2fe 0 30%, #38bdf8 32% 100%); border: 2px solid #0c4a6e; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-pz { width: 12px; height: 12px; background: #84cc16; border: 2px solid #3b0764; border-radius: 50% 50% 50% 0; transform: translate(-50%, -50%) rotate(45deg) scale(var(--pin, 1)); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
/* a puzzle door: an arched door with its handle; a clam bubble: a bubble; the treasure chest: a chest with its lid band */
.ark-pin-puz { width: 12px; height: 16px; background: #57534e; border: 2px solid #fcd34d; border-radius: 6px 6px 1px 1px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-puz::after { content: ""; position: absolute; right: 1.5px; top: 6px; width: 2px; height: 2px; border-radius: 50%; background: #fcd34d; }
.ark-pin-clam { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e0f2fe 0 22%, rgba(56, 189, 248, 0.35) 26% 100%); border: 2px solid #7dd3fc; box-shadow: 0 0 0 1px rgba(8, 12, 16, 0.7); }
.ark-pin-tchest { width: 14px; height: 11px; background: #92400e; border: 2px solid #fbbf24; border-radius: 4px 4px 2px 2px; box-shadow: inset 0 3px 0 rgba(17, 24, 39, 0.45), 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-bee { width: 10px; height: 10px; background: repeating-linear-gradient(90deg, #facc15 0 3px, #111827 3px 5px); border: 1.5px solid #111827; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-well { width: 12px; height: 12px; background: #38bdf8; border: 2px solid #fff;
  border-radius: 50% 50% 50% 0; transform: translate(-50%, -50%) rotate(-45deg) scale(var(--pin, 1)); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-oil { width: 11px; height: 11px; background: #1f2937; border: 2px solid #fbbf24; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-nest { width: 14px; height: 14px; background: #fde68a; border: 2px solid #7c2d12; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-inest { width: 14px; height: 14px; background: #e0f2fe; border: 2px solid #1d4ed8; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-mk.in-route .ark-pin-drop, .ark-mk.in-route .ark-pin-ccrate, .ark-mk.in-route .ark-pin-zip, .ark-mk.in-route .ark-pin-puz, .ark-mk.in-route .ark-pin-clam, .ark-mk.in-route .ark-pin-tchest, .ark-mk.in-route .ark-pin-pz, .ark-mk.in-route .ark-pin-geyser, .ark-mk.in-route .ark-pin-rare, .ark-mk.in-route .ark-pin-bee, .ark-mk.in-route .ark-pin-hq, .ark-mk.in-route .ark-pin-well, .ark-mk.in-route .ark-pin-oil, .ark-mk.in-route .ark-pin-nest, .ark-mk.in-route .ark-pin-inest, .ark-mk.in-route .ark-pin-boss, .ark-mk.in-route .ark-pin-gas, .ark-mk.in-route .ark-pin-drake, .ark-mk.in-route .ark-pin-dam, .ark-mk.in-route .ark-pin-cityt, .ark-mk.in-route .ark-pin-tele, .ark-mk.in-route .ark-pin-horde, .ark-mk.in-route .ark-pin-pnode, .ark-mk.in-route .ark-pin-trib { outline: 2px solid #f08000; outline-offset: 2px; }
.ark-sw-drop { width: 9px; height: 9px; margin: 0 1px; background: #facc15; border: 1.5px solid #111827; }
.ark-sw-well { width: 9px; height: 9px; margin: 0 1px; background: #38bdf8; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.ark-sw-oil { border-radius: 50%; background: #1f2937; border: 2px solid #fbbf24; }
.ark-sw-nest { border-radius: 50%; background: #fde68a; border: 2px solid #7c2d12; }
.ark-sw-inest { border-radius: 50%; background: #e0f2fe; border: 2px solid #1d4ed8; }
.ark-pin-boss { width: 12px; height: 20px; background: linear-gradient(180deg, #a78bfa, #6d28d9); border: 2px solid #fff; border-radius: 3px 3px 1px 1px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-sw-boss { width: 7px; height: 13px; margin: 0 2px; background: #7c3aed; border: 1px solid rgba(0, 0, 0, 0.5); }
.ark-pin-gas { width: 11px; height: 11px; background: #84cc16; border: 2px solid #1a2e05; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-sw-gas { border-radius: 50%; background: #84cc16; border: 2px solid #1a2e05; }
.ark-pin-drake { width: 14px; height: 14px; background: #ddd6fe; border: 2px solid #5b21b6; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-sw-drake { border-radius: 50%; background: #ddd6fe; border: 2px solid #5b21b6; }
.ark-pin-dam { width: 13px; height: 13px; background: #92400e; border: 2px solid #fde68a; border-radius: 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-sw-dam { border-radius: 2px; background: #92400e; border: 2px solid #fde68a; }
/* Valguero: Deinonychus nests (a speckled egg) and the memorial (a grey stone) */
.ark-pin-deino { width: 13px; height: 13px; background: radial-gradient(circle at 35% 30%, #78350f 0 1.5px, transparent 2px), radial-gradient(circle at 65% 60%, #78350f 0 1.5px, transparent 2px), #fef3c7; border: 2px solid #b45309; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-sw-deino { border-radius: 50%; background: #fef3c7; border: 2px solid #b45309; }
.ark-pin-mem { width: 12px; height: 16px; background: linear-gradient(180deg, #e5e7eb, #9ca3af); border: 2px solid #1f2937; border-radius: 6px 6px 2px 2px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-sw-mem { width: 9px; height: 12px; margin: 0 1px; background: #d1d5db; border: 1.5px solid #1f2937; border-radius: 4px 4px 1px 1px; }
.ark-mk.in-route .ark-pin-deino, .ark-mk.in-route .ark-pin-mem { outline: 2px solid #f08000; outline-offset: 2px; }
/* a rotated pin keeps .ark-pin's centring and the size knob: transform is ONE property, so a bare rotate()
   here drops both, and the diamond sat 7 px down-right of its spot at a fixed size (the tribute terminals, 10-02) */
.ark-pin-cityt { width: 14px; height: 14px; background: #0f766e; border: 2px solid #5eead4; border-radius: 3px; transform: translate(-50%, -50%) rotate(45deg) scale(var(--pin, 1)); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-sw-cityt { border-radius: 2px; background: #0f766e; border: 2px solid #5eead4; transform: rotate(45deg) scale(0.8); }
.ark-pin-tele { width: 16px; height: 16px; background: radial-gradient(circle, #f0abfc 0 30%, #a21caf 32% 100%); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 6px rgba(217, 70, 239, 0.8); }
.ark-sw-tele { border-radius: 50%; background: #a21caf; border: 2px solid #f0abfc; }
/* Extinction horde events: the game's own difficulty colour (DifficultyColor), so a literal per pin */
.ark-pin-horde { width: 14px; height: 14px; background: var(--c); border: 2px solid #111827; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 0 8px var(--c); }
.ark-pin-pnode { width: 14px; height: 14px; background: #63ff8d; border: 2px solid #064e3b; border-radius: 3px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-pnode.is-hyper { background: #ffff7c; border-color: #713f12; }
.ark-sw-pnode { border-radius: 2px; background: #63ff8d; border: 2px solid #064e3b; }
.ark-pin-trib { width: 14px; height: 14px; background: #1e3a8a; border: 2px solid #93c5fd; border-radius: 3px; transform: translate(-50%, -50%) rotate(45deg) scale(var(--pin, 1)); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-sw-trib { border-radius: 2px; background: #1e3a8a; border: 2px solid #93c5fd; transform: rotate(45deg) scale(0.8); }
/* Lost Colony mission areas: an outpost to attack (battlements), one to defend (a shield), a resource cache (a
   crate). The shape is a clipped ::before; the outline is the parent's drop-shadow, which a clip-path on the
   same element would cut away (filter runs before clip-path) */
.ark-pin-outpost, .ark-pin-defense { width: 16px; height: 16px;
  filter: drop-shadow(0 0 0.7px #fff) drop-shadow(0 0 0.7px #fff) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7)); }
.ark-pin-outpost::before, .ark-pin-defense::before { content: ''; position: absolute; inset: 0; }
.ark-pin-outpost::before, .ark-sw-outpost { background: #dc2626;
  clip-path: polygon(0 32%, 20% 32%, 20% 6%, 40% 6%, 40% 32%, 60% 32%, 60% 6%, 80% 6%, 80% 32%, 100% 32%, 100% 100%, 0 100%); }
.ark-pin-defense::before, .ark-sw-defense { background: #10b981; clip-path: polygon(50% 0, 100% 16%, 100% 54%, 50% 100%, 0 54%, 0 16%); }
.ark-mk:hover .ark-pin-outpost, .ark-mk:hover .ark-pin-defense {
  filter: brightness(1.15) drop-shadow(0 0 0.7px #fff) drop-shadow(0 0 0.7px #fff) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7)); }
.ark-pin-cache { width: 13px; height: 13px; border: 2px solid #451a03; border-radius: 2px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  background: linear-gradient(45deg, transparent 40%, #451a03 40% 60%, transparent 60%), linear-gradient(-45deg, transparent 40%, #451a03 40% 60%, transparent 60%), #f59e0b; }
.ark-sw-cache { border-radius: 2px; background: #f59e0b; border: 2px solid #451a03; }
.ark-mk.in-route .ark-pin-outpost, .ark-mk.in-route .ark-pin-defense, .ark-mk.in-route .ark-pin-cache { outline: 2px solid #f08000; outline-offset: 2px; }
/* Lost Colony voice-line landmarks: a speech bubble, Helena teal, the Lost King in his notes' gold */
.ark-pin-vo { width: 16px; height: 14px; border: 2px solid #111827; border-radius: 8px 8px 8px 2px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-vo.is-voh, .ark-sw-voh { background: #2dd4bf; }
.ark-pin-vo.is-vok, .ark-sw-vok { background: #f5a524; }
.ark-sw-voh, .ark-sw-vok { border: 2px solid #111827; border-radius: 6px 6px 6px 1px; }
.ark-mk.in-route .ark-pin-vo { outline: 2px solid #f08000; outline-offset: 2px; }
.ark-sw-horde { border-radius: 50%; background: conic-gradient(#006bff 0 25%, #fff600 0 50%, #ff3400 0 75%, #bb00ff 0); border: 2px solid #111827; }
.ark-sw-worm { border-radius: 2px; background: rgba(245, 158, 11, 0.35); border: 2px solid #b45309; }
.ark-sw-wboss { border-radius: 2px; background: rgba(239, 68, 68, 0.35); border: 2px solid #7f1d1d; }
.ark-sw-nofly { border-radius: 2px; background: rgba(14, 165, 233, 0.35); border: 2px solid #38bdf8; }
.ark-mk:hover .ark-pin { filter: brightness(1.15); }
/* found: dimmed, not gone — "Hide found" is the control that removes them */
.ark-mk.is-found .ark-pin { opacity: 0.34; filter: grayscale(0.75); }
/* in my route: the route's own orange, as a ring */
.ark-mk.in-route .ark-pin-note, .ark-mk.in-route .ark-pin-cave { box-shadow: 0 0 0 3px #f08000, 0 1px 4px rgba(0, 0, 0, 0.55); }
.ark-mk.in-route .ark-pin-dossier, .ark-mk.in-route .ark-pin-sea, .ark-mk.in-route .ark-pin-uw { outline: 2px solid #f08000; outline-offset: 2px; }

/* ── routes: arrows on the line, stop numbers beside the pin they number ── */
.ark-arrow { background: none; border: 0; pointer-events: none; }
.ark-arrow svg { display: block; width: 14px; height: 14px;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 2px rgba(0, 0, 0, 0.6)); }
.ark-order { background: none; border: 0; pointer-events: none; }
.ark-order span { position: absolute; transform: translate(8px, -22px); white-space: nowrap;
  font: 800 10px/1.35 'Manrope', sans-serif; color: var(--rc); background: rgba(7, 12, 16, 0.9);
  border: 1.5px solid var(--rc); border-radius: 7px; padding: 0 4px; font-variant-numeric: tabular-nums; }
.ark-spot span, .ark-here span { position: absolute; inset: 0; border-radius: 50%; }
.ark-spot span { background: #f08000; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); }
.ark-here span { border: 3px solid #f08000; background: rgba(240, 128, 0, 0.22);
  box-shadow: 0 0 0 2px rgba(8, 12, 16, 0.7); animation: ark-pulse 1.6s ease-out infinite; }
@keyframes ark-pulse { 0% { box-shadow: 0 0 0 0 rgba(240, 128, 0, 0.55); } 100% { box-shadow: 0 0 0 14px rgba(240, 128, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .ark-here span { animation: none; } }

/* ── the card: the window is map-app.css's .oly-card; what is ARK's is below ──
   the title bar's icon is the pin itself, at its own size whatever the Pin size slider says */
.oly-card-icon { --pin: 1; }
.oly-card-icon .ark-pin { transition: none; }
.ark-here-ic { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #f08000; background: rgba(240, 128, 0, 0.22); }
/* a supply drop's crates, each a square in its crate colour (the game's own, so literals) */
.ark-crates { display: inline-flex; flex-wrap: wrap; gap: 0.15rem 0.6rem; }
.ark-crate { display: inline-flex; align-items: center; gap: 0.3rem; white-space: nowrap; }
.ark-crate::before { content: ''; width: 9px; height: 9px; background: var(--c); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6); }
/* Your spot: the nearest pins, each with its layer's swatch */
.ark-near li { align-items: center; }
.ark-near .ark-sw { margin-right: 0.1rem; }

/* ── rail swatches: the pin shapes, small ── */
.ark-sw { flex: 0 0 auto; display: inline-block; width: 11px; height: 11px; box-sizing: border-box; }
.ark-sw-note { border-radius: 50%; background: var(--c); border: 1px solid rgba(0, 0, 0, 0.55); }
.ark-sw-dossier { width: 9px; height: 9px; margin: 0 1px; background: #e879f9; transform: rotate(45deg); border: 1px solid rgba(0, 0, 0, 0.6); }
.ark-sw-cave { border-radius: 3px; background: #1c1811; border: 2px solid #fbbf24; }
.ark-sw-obelisk { width: 7px; height: 13px; margin: 0 2px; background: linear-gradient(90deg, #3b82f6, #22c55e, #ef4444);
  clip-path: polygon(50% 0, 100% 22%, 78% 100%, 22% 100%, 0 22%); }
.ark-sw-uw { border-radius: 50%; border: 2.5px solid #38bdf8; }
.ark-sw-ccrate { width: 9px; height: 9px; margin: 0 1px; background: #60a5fa; border: 1.5px solid #111827; box-shadow: inset 0 2px 0 rgba(17, 24, 39, 0.55), 0 0 0 1px #fbbf24; }
.ark-sw-zip { border-radius: 50%; background: #111827; border: 2px solid #e879f9; }
.ark-sw-hq { width: 9px; height: 9px; margin: 0 1px; background: #ef4444; border: 1.5px solid #111827; box-shadow: 0 0 0 1px #fde68a; }
.ark-sw-rare { width: 8px; height: 8px; margin: 0 2px; background: var(--c); border: 1.5px solid #111827; transform: rotate(45deg); }
.ark-gnote { margin: 0.3rem 0 0.2rem; font-size: 0.72rem; line-height: 1.35; color: var(--text-soft, #9ca3af); }
.ark-sw-geyser { border-radius: 50%; background: radial-gradient(circle, #e0f2fe 0 30%, #38bdf8 32% 100%); border: 2px solid #0c4a6e; }
.ark-sw-pz { border-radius: 50% 50% 50% 0; background: #84cc16; border: 2px solid #3b0764; transform: rotate(45deg) scale(0.85); }
.ark-sw-bee { border-radius: 50%; background: repeating-linear-gradient(90deg, #facc15 0 3px, #111827 3px 5px); border: 1.5px solid #111827; }
.ark-sw-puz { width: 9px; height: 12px; margin: 0 1px; background: #57534e; border: 1.5px solid #fcd34d; border-radius: 5px 5px 1px 1px; }
.ark-sw-clam { border-radius: 50%; background: rgba(56, 189, 248, 0.35); border: 2px solid #7dd3fc; }
.ark-sw-tchest { height: 9px; background: #92400e; border: 1.5px solid #fbbf24; border-radius: 3px 3px 1px 1px; }
.ark-sw-sea { width: 9px; height: 9px; margin: 0 1px; background: #ef4444; border: 1.5px solid #fff; outline: 1px solid rgba(0, 0, 0, 0.4); }

/* ── rail blocks ── */
.ark-prog-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.8rem; color: var(--text-muted); }
.ark-prog-row b { color: var(--text); font-family: 'Manrope', sans-serif; font-variant-numeric: tabular-nums; }
.ark-prog .oly-bar { margin: 0.35rem 0 0.55rem; }
.ark-go { display: flex; gap: 0.35rem; }
.ark-go input { flex: 1 1 auto; min-width: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: 9px;
  color: var(--text); font: 500 0.88rem 'Urbanist', sans-serif; padding: 0.45rem 0.6rem; }
.ark-go input:focus { outline: none; border-color: var(--map-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--map-accent) 20%, transparent); }
.ark-go button { 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.65rem; cursor: pointer; white-space: nowrap; }
.ark-go button:hover { border-color: var(--map-accent); color: var(--map-accent); }

/* our route: the leg picker is a segmented control */
.ark-legs { display: flex; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; background: var(--bg-card); }
.ark-legs button { flex: 1 1 0; min-width: 0; background: none; border: 0; border-right: 1px solid var(--border); color: var(--text-muted);
  font: 700 0.78rem 'Manrope', sans-serif; padding: 0.42rem 0; cursor: pointer; }
.ark-legs button:last-child { border-right: 0; flex: 1.4 1 0; }
.ark-legs button:hover { color: var(--text); background: var(--bg-surface); }
.ark-legs button.is-on { background: var(--blue); color: var(--on-blue, #061018); }
#ark-leg-info { line-height: 1.5; }
#ark-leg-info a { color: var(--blue-ink, var(--blue)); font-weight: 700; }

/* ── My route: floats over the map, top right, under the fullscreen button (his call). Fixed dark
   chrome like every other on-map surface. Collapsed it is ONE line; the head opens the list. ── */
.ark-my { position: absolute; top: 10px; right: 56px; z-index: 1000; width: 272px; max-width: calc(100% - 20px);
  background: rgba(10, 14, 18, 0.92); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  color: #e8edf3; font: 600 0.84rem 'Urbanist', sans-serif; }
.ark-my:not(.is-open) { width: auto; }
.ark-my-head { display: flex; align-items: center; gap: 0.45rem; width: 100%; background: none; border: 0; border-radius: 10px;
  color: #e8edf3; font: 700 0.74rem 'Manrope', sans-serif; padding: 0.42rem 0.6rem; cursor: pointer; text-align: left; white-space: nowrap; }
.ark-my-head:hover { background: rgba(255, 255, 255, 0.06); }
.ark-my-head b { font-weight: 800; }
.ark-my-sum { color: #93a3b5; font-variant-numeric: tabular-nums; }
.ark-my-caret { margin-left: auto; padding-left: 0.25rem; color: #93a3b5; transition: transform 0.15s; }
.ark-my.is-open .ark-my-caret { transform: rotate(180deg); }
.ark-my.is-bump { animation: ark-bump 0.6s ease-out; }
@keyframes ark-bump { 0% { box-shadow: 0 0 0 0 rgba(240, 128, 0, 0.75); } 100% { box-shadow: 0 0 0 12px rgba(240, 128, 0, 0); } }
.ark-my-body { padding: 0 0.6rem 0.6rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.ark-my-body[hidden] { display: none; }
.ark-my-missing { display: block; width: 100%; margin: 0.55rem 0 0.4rem; background: #f08000; color: #1c1204; border: 0; border-radius: 8px;
  font: 800 0.74rem 'Manrope', sans-serif; padding: 0.45rem 0.5rem; cursor: pointer; line-height: 1.3; }
.ark-my-missing:hover { filter: brightness(1.08); }
.ark-my-info { margin: 0; font-size: 0.74rem; line-height: 1.45; color: #93a3b5; }
.ark-my-info b { color: #e8edf3; }
.ark-my-list { list-style: none; margin: 0.4rem 0 0; padding: 0; max-height: min(42vh, 330px); overflow-y: auto; overscroll-behavior: contain; }
.ark-my.is-empty .ark-my-list, .ark-my.is-empty .ark-my-tools { display: none; }
.ark-my-item { display: flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.ark-my-item:last-child { border-bottom: 0; }
.ark-my-item.is-dragging { background: rgba(240, 128, 0, 0.16); position: relative; z-index: 2; }
.ark-my-grip { flex: 0 0 auto; cursor: grab; color: #7f8b99; font-size: 0.76rem; letter-spacing: -0.2em; padding: 0.2rem 0.3rem 0.2rem 0; touch-action: none; user-select: none; }
.ark-my-item.is-dragging .ark-my-grip { cursor: grabbing; }
.ark-my-n { flex: 0 0 auto; min-width: 1.25rem; height: 1.25rem; border-radius: 50%; display: grid; place-items: center;
  background: #f08000; color: #1c1204; font: 800 0.62rem 'Manrope', sans-serif; font-variant-numeric: tabular-nums; }
.ark-my-go { flex: 1 1 auto; min-width: 0; background: none; border: 0; padding: 0.1rem 0; text-align: left; cursor: pointer;
  color: #e8edf3; font: 600 0.8rem 'Urbanist', sans-serif; line-height: 1.25; }
.ark-my-go small { display: block; font-size: 0.68rem; color: #93a3b5; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ark-my-go:hover { color: #ffc98a; }
.ark-my-go.is-found { text-decoration: line-through; color: #7f8b99; }
.ark-my-x { flex: 0 0 auto; background: none; border: 0; color: #7f8b99; font-size: 0.76rem; line-height: 1; padding: 0.28rem; cursor: pointer; border-radius: 6px; }
.ark-my-x:hover { color: #fff; background: #dc2626; }
.ark-my-tools { display: flex; gap: 0.3rem; margin-top: 0.45rem; }
.ark-my-tools button { flex: 1 1 0; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 7px;
  color: #e8edf3; font: 700 0.68rem 'Manrope', sans-serif; padding: 0.32rem 0.3rem; cursor: pointer; white-space: nowrap; }
.ark-my-tools button:hover { border-color: #f08000; color: #ffc98a; }
/* below 1000px: the Layers button top left (a map with views: the switch under it), the route planner on the right low
   enough to clear both on a 320 phone, and the HUD bottom left, where nothing else sits (2026-10-06; the creature picker
   that sat under the Layers button went into the rail, D155) */
@media (max-width: 999px) { .ark-my { top: 92px; right: 56px; } .oly-hud { top: auto; bottom: 10px; left: 10px; transform: none; }
  /* the Found panel opens upward from the HUD it belongs to */
  .sotf-collected { top: auto; bottom: 50px; left: 10px; transform: none; }
  /* three views or more (ASE Fjordur's four) wrap to two rows under the Layers button, down to 102px: the route planner
     drops under them (D155's harness: it sat on the second row) */
  .oly-app:has(.ark-view-btn:nth-child(3)) .ark-my { top: 112px; } }
/* a desktop under 1260px with the rail open is too narrow for the HUD centred and the route planner beside it (Genesis's
   HUD carries a Found button), so the HUD and its Found panel move to the left, where the fold button is hidden till folded */
@media (min-width: 1000px) and (max-width: 1259px) {
  .oly-app:not(.oly-folded) .oly-hud, .oly-app:not(.oly-folded) .sotf-collected { left: 10px; transform: none; }
}

/* the cursor's Lat / Lon in the HUD (ark-map.js moves the column's readout chip here on a map 920px wide or more; it sat
   under the column's Share and stuck out left of it): a HUD stat, not a chip, one width for any reading so the HUD holds
   still, and its divider goes with it when the Coordinates button hides it */
.oly-hud .gomg-fab-xy.ark-hud-xy { padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  font: 700 0.67rem 'Manrope', sans-serif; color: #b6c2d0; min-width: 11.2em; text-align: center; white-space: nowrap; }
.oly-hud .ark-hud-xysep:has(+ .gomg-fab-xy[hidden]) { display: none; }
/* centred, it would meet the route planner (ark-map.js measures it): the HUD and its Found panel go to the left edge */
.oly-stage.ark-hud-left .oly-hud, .oly-stage.ark-hud-left .sotf-collected { left: 10px; transform: none; }

/* the HUD's route button carries the route's orange */
.ark-hud-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #f08000; }
.ark-hud-ll { min-width: 9.6em; text-align: center; }
.ark-nohit { padding: 0.45rem 0.6rem; margin: 0; }

/* ── the toast: one line, bottom centre, over the map ── */
.ark-toast { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1060;
  max-width: calc(100% - 32px); background: rgba(10, 14, 18, 0.94); color: #f3efe3;
  border: 1px solid rgba(240, 128, 0, 0.55); border-radius: 10px; padding: 0.45rem 0.8rem;
  font: 600 0.82rem 'Urbanist', sans-serif; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4); pointer-events: none; }
.ark-toast[hidden] { display: none; }
.oly-sheet-open .ark-toast { bottom: calc(56% + 18px); }

@media (max-width: 999px) {
  .ark-hud-ll { min-width: 0; }
}
@media (max-width: 560px) {
  /* the HUD is three items on a phone and the Lat/Lon readout needs a mouse anyway */
  .ark-hud-ll, .ark-hud-llsep { display: none; }
}
/* a narrow phone: the "showing" count gives way, as every other map's does (map-fab.css names their HUDs' ids, not this
   one), so the HUD bottom left clears the site's Report it chip bottom right (D155's harness: they met at 320, and at
   390 on Fjordur, whose HUD carries My spots too) */
@media (max-width: 479px) { #ark-hud-showing, #ark-hud-showing + .sotf-hud-sep { display: none; } }
/* a 320 phone: Found and My spots alone still met Report it by 4px, so there the HUD rides above the chips (~72px tall),
   as Conan's region switch does (conan-map.css), and its Found panel opens above it */
@media (max-width: 359px) { .oly-hud { bottom: 82px; } .sotf-collected { bottom: 122px; } }

/* Scorched Earth: the texture ends in open dune, so a pan past the edge is sand, not ocean */
#oly-map[data-ark="se"] { background: #fcd08f; }

/* Genesis: the mission terminals (a cyan Tek pylon; Moeder's in red), and the plain point layers a map declares in its
   own data (config.points: a coloured dot, diamond, ring or drop, colour from the data) */
.ark-pin-gterm { width: 14px; height: 20px; background: linear-gradient(180deg, #67e8f9, #0e7490); border: 2px solid #ecfeff;
  border-radius: 7px 7px 2px 2px; box-shadow: 0 0 6px rgba(103, 232, 249, 0.55), 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-gterm.is-boss { background: linear-gradient(180deg, #fca5a5, #b91c1c); box-shadow: 0 0 6px rgba(248, 113, 113, 0.6), 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-sw-gterm { width: 8px; height: 12px; margin: 0 1.5px; background: #22d3ee; border: 1.5px solid #ecfeff; border-radius: 4px 4px 1px 1px; }
.ark-pin-pt { width: 12px; height: 12px; background: var(--c); border: 2px solid #111827; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-pt.is-diamond { border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg) scale(var(--pin, 1)); }
.ark-pin-pt.is-ring { background: transparent; border: 3px solid var(--c); box-shadow: 0 0 0 1.5px #111827, 0 1px 3px rgba(0, 0, 0, 0.6); }
.ark-pin-pt.is-drop { border-radius: 50% 50% 50% 0; transform: translate(-50%, -50%) rotate(-45deg) scale(var(--pin, 1)); }
.ark-sw-pt { border-radius: 50%; background: var(--c); border: 1.5px solid #111827; }
.ark-sw-pt.is-diamond { width: 8px; height: 8px; margin: 0 1.5px; border-radius: 1px; transform: rotate(45deg); }
.ark-sw-pt.is-ring { background: transparent; border: 2.5px solid var(--c); }
.ark-sw-pt.is-drop { border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.ark-mk.in-route .ark-pin-gterm, .ark-mk.in-route .ark-pin-pt { outline: 2px solid #f08000; outline-offset: 2px; }
/* the view switch (Genesis | Ocean): square, app-like, on the map under the zoom buttons */
.ark-views.leaflet-bar { display: flex; border: 1px solid rgba(59, 227, 255, 0.45); border-radius: 0; overflow: hidden; background: rgba(10, 14, 18, 0.92); }
.ark-view-btn { appearance: none; border: 0; margin: 0; padding: 0.38rem 0.7rem; background: transparent; color: #cbd5e1;
  font: 700 0.78rem/1 'Manrope', sans-serif; letter-spacing: 0.02em; cursor: pointer; }
.ark-view-btn + .ark-view-btn { border-left: 1px solid rgba(59, 227, 255, 0.3); }
/* four views (ASE Fjordur: Midgard and three realms, D131) outrun a 320 phone and slid under the zoom column: wrap them
   short of it. Two (Genesis) fit, so they never wrap */
@media (max-width: 560px) { .ark-views.leaflet-bar { flex-wrap: wrap; max-width: calc(100vw - 84px); } }
.ark-view-btn[aria-pressed="true"] { background: #3be3ff; color: #062a30; }
.ark-view-btn:hover:not([aria-pressed="true"]) { background: rgba(59, 227, 255, 0.14); color: #fff; }
.ark-view-btn:focus-visible { outline: 2px solid #f08000; outline-offset: -2px; }
/* Genesis: past the edge of either texture is deep space */
#oly-map[data-ark="genesis"] { background: #0b0a1a; }
#oly-map[data-ark="genesis"][data-view="ocean"] { background: #03708e; }
/* creature spawns (ark-map.js, "creature spawns"): the rail list, its swatch, the on-map chip, the zone card's extra button */
.ark-sw-dino { border-radius: 1px; background: rgba(34, 197, 94, 0.55); border: 1.5px solid #16a34a; }
.oly-card .oly-card-link.is-on { color: #4ade80; }
.oly-card-more { appearance: none; border: 0; background: none; color: #3be3ff; font: 600 0.8rem 'Urbanist', sans-serif; padding: 0.3rem 0; cursor: pointer; }
.oly-card-more:hover { text-decoration: underline; }
.ark-sw-dino.ark-sw-big { width: 16px; height: 16px; }

/* the creature picker: a combobox in the rail's find box under the search (D155, 2026-10-26; on the map until then, in the
   bar across its top), dressed like the search in both themes; its list drops over the rail below it */
.ark-dino-box { position: relative; margin-top: 0.4rem; }
.ark-dino-field { display: flex; align-items: center; gap: 0.35rem; padding: 0 0.3rem 0 0.6rem; min-height: 34px; box-sizing: border-box;
  background: var(--bg-card); border: 1px solid var(--blue-border); border-radius: 9px; }
.ark-dino-field:focus-within { border-color: var(--map-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--map-accent) 20%, transparent); }
.ark-dino-box.has-pick .ark-dino-field { border-color: #16a34a; }
.ark-dino-ic { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 2px; background: rgba(34, 197, 94, 0.55); border: 1.5px solid #16a34a; }
.ark-dino-field input { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text);
  font: 700 0.8rem 'Manrope', sans-serif; padding: 0.42rem 0; }
.ark-dino-field input::placeholder { color: var(--text-muted); opacity: 1; }
.ark-dino-x { display: none; appearance: none; border: 0; background: var(--bg-surface); color: var(--text-muted); border-radius: 6px;
  font-size: 0.72rem; line-height: 1; padding: 0.28rem 0.38rem; cursor: pointer; }
.ark-dino-box.has-pick .ark-dino-x { display: block; }
.ark-dino-x:hover { background: #dc2626; color: #fff; }
.ark-dino-caret { color: var(--text-muted); font-size: 0.7rem; padding: 0 0.15rem; cursor: pointer; transition: transform 0.15s; }
.ark-dino-box.is-open .ark-dino-caret { transform: rotate(180deg); }
.ark-dino-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 2; max-height: min(52vh, 420px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg-card-solid, var(--bg-card)); border: 1px solid var(--border-hover); border-radius: 9px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.ark-dino-list[hidden] { display: none; }
.ark-dino-row { 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.8rem 'Urbanist', sans-serif; padding: 0.36rem 0.6rem; cursor: pointer; }
.ark-dino-row:last-child { border-bottom: 0; }
.ark-dino-row:hover, .ark-dino-row:focus-visible { background: var(--bg-surface); outline: 0; }
.ark-dino-row.is-on { background: rgba(34, 197, 94, 0.16); box-shadow: inset 3px 0 0 #22c55e; }
.ark-dino-n { margin-left: auto; font-size: 0.72rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ark-dino-none { margin: 0; padding: 0.55rem 0.6rem; color: var(--text-muted); font: 600 0.78rem 'Urbanist', sans-serif; }
/* phones: the Layers button sits top left, so the left controls start under it */
@media (max-width: 999px) {
  .oly-drawer-btn { left: 10px; }
  #oly-map .leaflet-top.leaflet-left { top: 40px; }
}

/* the rail's layer groups as cards (his call 2026-10-06: the groups ran together). ARK maps only: this file.
   Superseded on the maps by map-rail.css's bars (D101, 2026-10-22), which answer the same complaint; kept for a rail
   without it. */
.oly-rail:not(.gomg-rail) .sotf-group { margin: 0 0.7rem 0.6rem; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--bg-card-solid); }
.oly-rail:not(.gomg-rail) .sotf-group > summary { padding: 0.5rem 0.7rem; background: var(--bg-surface); border-bottom: 1px solid var(--border);
  font: 800 0.7rem 'Manrope', sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.oly-rail:not(.gomg-rail) .sotf-group:not([open]) > summary { border-bottom: 0; }
.oly-rail:not(.gomg-rail) .sotf-group > .oly-layer-row { margin: 0 0.35rem; padding-left: 0.5rem; }
.oly-rail:not(.gomg-rail) .sotf-group > .oly-layer-row:first-of-type { margin-top: 0.3rem; }
.oly-rail:not(.gomg-rail) .sotf-group > :last-child { margin-bottom: 0.3rem; }
.oly-rail:not(.gomg-rail) .sotf-group .sotf-gcount { background: rgba(255, 255, 255, 0.08); border-radius: 999px; padding: 0.05rem 0.45rem; letter-spacing: 0; }

/* the title + description: one thin bar across the top of the app, out of the rail (his call 2026-10-06).
   The description stays one line and ends in an ellipsis; its title attribute carries the whole sentence. */
.oly-app:has(> .ark-topbar) { grid-template-rows: auto minmax(0, 1fr); }
.oly-rail-head.ark-topbar { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 0.9rem; min-width: 0;
  padding: 0.42rem 1rem; background: var(--bg-card); border-bottom: 1px solid var(--border); }
.ark-topbar h1 { flex: 0 0 auto; margin: 0; font-size: 0.98rem; white-space: nowrap; }
.ark-topbar p { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 0.76rem; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oly-fs .ark-topbar { display: none; }
/* the jump row (2026-11-09): a second line in the bar, links to the resource tables under the map, so a "gas veins" or
   "Silica Pearls" search sees its word on the first screen (Aberration first). One line; on a phone it scrolls sideways
   inside itself, never the page. */
.ark-topbar:has(> .ark-jump) { flex-wrap: wrap; row-gap: 0.15rem; }
.ark-topbar:has(> .ark-jump) p { flex-basis: 0; }   /* else its one long nowrap line wraps it under the title */
.ark-jump { flex: 1 0 100%; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; white-space: nowrap; font-size: 0.76rem; line-height: 1.5; color: var(--text-muted); }
.ark-jump::-webkit-scrollbar { display: none; }
.ark-jump b { color: var(--text); font-weight: 700; }
.ark-jump a { color: var(--blue); text-decoration: none; }
.ark-jump a:hover { text-decoration: underline; }
@media (max-width: 999px) {
  .oly-app:has(> .ark-topbar) { grid-template-columns: 1fr; }
  .ark-topbar { padding: 0.38rem 0.75rem; }
  .ark-topbar p { display: none; }
  /* the title alone on a phone: it wraps rather than run 31 px past a 320 one ("ARK Valguero Resource Map & Route Planner") */
  .ark-topbar h1 { flex: 1 1 auto; min-width: 0; white-space: normal; }
}
/* "which maps have X": the line under the creature picker in the rail, and the same links in a zone card (2026-10-06) */
.ark-dino-also { margin-top: 0.35rem; font: 600 0.72rem/1.45 'Urbanist', sans-serif; color: var(--text-muted); }
.ark-dino-also[hidden], .ark-dino-box.is-open .ark-dino-also { display: none; }
.ark-also a { color: #3be3ff; text-decoration: none; white-space: nowrap; }
.ark-also a:hover { text-decoration: underline; }
.ark-also-k { color: #93a3b5; }
.ark-also-card { font: 600 0.8rem/1.5 'Urbanist', sans-serif; color: var(--text-muted, #b6c2d0); }
/* in the rail the line takes the rail's theme; the zone card stays fixed dark */
.oly-rail .ark-also a { color: var(--blue); }
.oly-rail .ark-also-k { color: inherit; }

/* ── What's around here (#oly-map[data-around], the Island first; ark-map.js § What's around here). On a desktop the spot
   card docks on the right of the stage, the base picker's .sbp-panel, under the route planner's head (ark-map.js sets its
   top and max-height from the planner), so a click never sends the map off the spot (Jason, 2026-10-14). A phone keeps
   the sheet. Fixed dark like every card; the bar and the action bar stay put while the rows scroll. ── */
.ark-around-panel { position: absolute; top: 54px; right: 56px; z-index: 1000; width: 320px; max-width: calc(100% - 76px);
  max-height: calc(100% - 110px); overflow-y: auto; overscroll-behavior: contain; background: #0d1318;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 0; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55); }
.ark-around-panel[hidden] { display: none; }
/* the floating column (map-fab.js, D101) owns the right edge: the route planner and the spot card stand clear of its width
   (--gomg-fab-w, set by map-fab.js) */
.gomg-fab-on .ark-my, .gomg-fab-on .ark-around-panel { right: calc(var(--gomg-fab-w, 34px) + 22px); }
.gomg-fab-on .ark-my { max-width: calc(100% - var(--gomg-fab-w, 34px) - 42px); }
.gomg-fab-on .ark-around-panel { max-width: calc(100% - var(--gomg-fab-w, 34px) - 42px); }

.ark-around-panel > .oly-card > .oly-card-bar { position: sticky; top: 0; }
.ark-around-panel > .oly-card > .oly-card-acts { position: sticky; bottom: 0; }
.ark-around-panel .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; }
.ark-around-panel .oly-card-acts .tp-copy .cmd-copy:hover { background: #ff9a2e; color: #1a1206; }
.ark-around-panel .oly-card-acts .tp-copy .cmd-copy.ok { background: #16a34a; color: #fff; }
.ark-around .oly-card-head { padding-right: 1.6rem; }   /* clear of the ✕ */
.ark-around-x { position: absolute; top: 1px; right: 1px; width: 36px; height: 36px; padding: 0; cursor: pointer;
  background: none; border: 0; border-radius: 0; color: #93a3b5; font: 700 0.95rem/36px 'Manrope', sans-serif; }
.ark-around-x:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.oly-sheet .ark-around-x { display: none; }   /* the sheet has its own ✕ in that corner */
/* the bottom-right "Suggest it / Report it" chips sit under the docked card: they step aside while it is open, as they do
   for the phone sheet (map-app.css .oly-sheet-open .map-asks) */
.ark-around-on .map-asks { display: none; }
/* the title bar is the way back to the spot: "Show on map" in the link blue, the bar lifting on hover, and the spot's pin
   flashing when it arrives (.is-flash, about 1.7 s, then its pulse again) */
.ark-around-bar { cursor: pointer; }
.ark-around-bar:hover, .ark-around-bar:focus-visible { background: #1d2b38; outline: none; }
.ark-around-go { color: #3be3ff; font-weight: 700; }
.ark-around-bar:hover .ark-around-go, .ark-around-bar:focus-visible .ark-around-go { text-decoration: underline; }
.ark-here.is-flash span { animation: ark-here-flash 0.55s ease-out 3; }
@keyframes ark-here-flash { 0% { transform: scale(1.9); box-shadow: 0 0 0 0 rgba(240, 128, 0, 0.9); }
  100% { transform: scale(1); box-shadow: 0 0 0 22px rgba(240, 128, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .ark-here.is-flash span { animation: none; } }

/* ── Your spots (#oly-map[data-spots], the Island; ark-map.js § Your spots): the base picker's saved spots, one list on both
   pages. The rail list, the green pins and the save form are base-picker.css's .sbp-mine / .sbp-mine-pin / .sbp-save, so a
   spot looks the same wherever you meet it. ── */
.ark-spots-head { display: flex; align-items: center; gap: 0.5rem; }
.ark-spots-n { font: 800 0.72rem 'Manrope', sans-serif; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ark-spots-tog { margin-left: auto; font-size: 0.76rem; }
.ark-spots-list { list-style: none; margin: 0.45rem 0 0.5rem; padding: 0; max-height: 16rem; overflow-y: auto; overscroll-behavior: contain; }
.ark-spots-list li { display: flex; align-items: center; border-top: 1px solid var(--border); }
.ark-spots-list li:first-child { border-top: 0; }
.ark-spots-go { flex: 1 1 auto; min-width: 0; display: flex; gap: 0.5rem; padding: 0.42rem 0.3rem; cursor: pointer; text-align: left;
  background: none; border: 0; border-left: 3px solid transparent; border-radius: 0; color: var(--text); }
.ark-spots-go:hover { background: var(--bg-surface); }
.ark-spots-go.is-on { border-left-color: var(--map-accent); background: color-mix(in srgb, var(--map-accent) 10%, transparent); }
.ark-spots-star { flex: 0 0 auto; font-style: normal; font-size: 0.9rem; line-height: 1.15; color: var(--map-accent); }
.ark-spots-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.ark-spots-main b { font: 800 0.82rem 'Manrope', sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ark-spots-xy { font: 600 0.72rem 'Urbanist', sans-serif; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ark-spots-note { font: 600 0.72rem/1.4 'Urbanist', sans-serif; color: var(--text-muted); overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: pre-line; }
.ark-spots-x { flex: 0 0 auto; background: none; border: 0; border-radius: 0; color: var(--text-muted); padding: 0.35rem 0.45rem;
  font-size: 0.78rem; line-height: 1; cursor: pointer; }
.ark-spots-x:hover { color: #ef4444; background: var(--bg-surface); }
.ark-spots-go:focus-visible, .ark-spots-x:focus-visible { outline: 2px solid var(--map-accent); outline-offset: -2px; }
.ark-spots .sotf-hint a { color: var(--orange-ink); }
/* the pin: green (status: yours; no gold on GamesOMG, Bridge #407), its tip on the spot (iconAnchor 11, 29), lit while its card is open */
.ark-spot-pin b { position: relative; display: grid; place-items: center; width: 22px; height: 22px; box-sizing: border-box;
  border-radius: 50%; background: #0d1318; border: 2px solid #4ade80; color: #4ade80; font: 900 12px/1 sans-serif;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); cursor: pointer; }
.ark-spot-pin b::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -5px;
  border: 5px solid transparent; border-top: 7px solid #4ade80; border-bottom: 0; }
.ark-spot-pin.is-on b { background: #4ade80; color: #06210f; }
/* the card: a saved spot's name in green, its note, and its own row of the action bar over the usual one */
.ark-card-mine .oly-card-title { color: #86efac; }
.ark-card-mine .oly-card-icon svg { width: 16px; height: 16px; fill: #4ade80; stroke: none; }
.ark-spot-note { margin: 0; font: 600 0.84rem/1.45 'Urbanist', sans-serif; color: #e3e9ef; white-space: pre-line; overflow-wrap: anywhere; }
.ark-spot-tools + .oly-card-tools { border-top: 1px solid rgba(255, 255, 255, 0.1); }
a.oly-card-btn { text-decoration: none; }
.ark-spot-save { color: #ffc98a; }
/* the docked card is 320 px: its two buttons fit with a little less side padding, and wrap rather than push the card sideways */
.ark-spot-tools .oly-card-btn { padding-left: 0.42rem; padding-right: 0.42rem; white-space: normal; line-height: 1.2; text-align: center; }
/* the save form (fixed dark chrome, like the card) */
.ark-save { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.7rem 0.75rem 0; }
.ark-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; }
.ark-save input, .ark-save textarea { 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; resize: vertical; }
.ark-save input:focus, .ark-save textarea:focus { outline: none; border-color: #f08000; }
.ark-save .oly-card-tools { margin: 0.1rem -0.75rem 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.ark-save button[type="submit"] { color: #ffc98a; }
@media (max-width: 720px) { .ark-save input, .ark-save textarea { font-size: 16px; } }   /* under 16px a phone zooms the page on focus */

/* ── the game's own names in the visitor's language (map standard 1b; ark-map.js hitButton, card) ──
   A find row that carries a local name: the English name with the local one under it, both free to wrap (German
   compounds, Russian, CJK with no spaces), and the right-hand note wraps too instead of pushing the row wide. */
.sotf-hit.ark-hit-l { align-items: flex-start; }
.sotf-hit.ark-hit-l > i, .sotf-hit.ark-hit-l > .ark-sw { margin-top: 0.2rem; flex: 0 0 auto; }
.sotf-hit .ark-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; }
.sotf-hit .ark-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.ark-hit-l .ark-hit-s { flex: 0 1 45%; min-width: 0; white-space: normal; text-align: right; overflow-wrap: anywhere; }
.oly-card-sub.ark-card-ln { color: #dbe4ee; font-weight: 600; overflow-wrap: anywhere; }
