/* One map surface across all three apps. App data is supplied by adapters. */
body:has(.rangle-spot-map) {
  overflow:hidden;
  background:#031d2b}
body:has(.rangle-spot-map) #app,body:has(.rangle-spot-map) .shell {
  max-width:520px;
  width:100%;
  margin:auto}
body:has(.rangle-spot-map) .shell:before {
  display:none}
.rangle-spot-map {
  --rm-nav:calc(60px + env(safe-area-inset-bottom,0px));
  position:fixed;
  inset:0;
  max-width:520px;
  margin:auto;
  overflow:hidden;
  background:#031d2b;
  color:#fff;
  font:14px 'Schibsted Grotesk',sans-serif;
  isolation:isolate}
.rangle-spot-map * {
  box-sizing:border-box}
.rangle-spot-map [hidden] {
  display:none!important}
.rangle-spot-map button,.rangle-spot-map a {
  -webkit-tap-highlight-color:transparent}
.rangle-spot-map button {
  font:inherit;
  color:inherit;
  cursor:pointer}
.rangle-spot-map a {
  color:inherit;
  text-decoration:none}
.rangle-spot-map svg {
  width:22px;
  height:22px;
  flex:none;
  stroke-width:1.8}
.rangle-spot-map button:focus-visible,.rangle-spot-map a:focus-visible,.rangle-spot-map input:focus-visible {
  outline:2px solid #ff6f9d;
  outline-offset:3px}
.rm-canvas {
  position:absolute;
  inset:0;
  background:#031d2b;
  z-index:0}
.rm-canvas.map-raster-fallback .leaflet-tile-pane {
  filter:brightness(.34) saturate(.5) hue-rotate(145deg)}
.rm-tools {
  position:absolute;
  z-index:500;
  top:0;
  left:0;
  right:0;
  padding:calc(21px + env(safe-area-inset-top,0px)) 18px 0;
  pointer-events:none;
  background:linear-gradient(#03131ee8,transparent);
  padding-bottom:32px}
.rm-tools>* {
  pointer-events:auto}
.rm-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:20px;
  min-height:52px}
.rm-brand {
  display:flex;
  align-items:baseline;
  gap:8px;
  border:0!important;
  background:none!important;
  padding:0!important;
  line-height:1}
.rm-brand>span {
  font:43px 'Kaushan Script',cursive;
  letter-spacing:-2px;
  color:#ff72a5}
.rm-brand>strong {
  font:italic 700 16px 'Barlow Condensed',sans-serif;
  color:#fff}
.rm-top-actions {
  display:flex;
  gap:9px}
.rangle-spot-map .rm-top-action {
  position:relative;
  width:39px;
  height:39px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid #ffffff28;
  border-radius:50%;
  background:#0c171ddd;
  color:#fff;
  box-shadow:0 2px 10px #0002}
.rm-top-action img {
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%}
.rm-top-action i {
  position:absolute;
  right:1px;
  top:1px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#ff72a5;
  border:1px solid #102129}
.rm-profile {
  font-weight:700!important}
.rm-search-wrap {
  position:relative}
.rm-search {
  height:47px;
  border:1px solid #ffffff26;
  border-radius:28px;
  background:#0c1419ed;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 12px 0 16px;
  box-shadow:0 8px 24px #0003;
  margin:0}
.rangle-spot-map .rm-search input {
  min-width:0;
  flex:1;
  border:0;
  border-radius:0;
  background:transparent;
  color:#fff;
  box-shadow:none;
  padding:0;
  font:15px 'Schibsted Grotesk',sans-serif;
  height:43px;
  width:100%}
.rm-search input::placeholder {
  color:#d4dadc}
.rm-search input::-webkit-search-cancel-button {
  cursor:pointer}
.rm-filter-toggle {
  height:30px;
  min-width:37px;
  border:0;
  border-left:1px solid #ffffff30;
  background:transparent;
  border-radius:0;
  padding:0 0 0 12px;
  display:grid;
  place-items:center}
.rm-filter-toggle[aria-expanded=true] {
  color:#ff72a5}
.rm-filters {
  position:absolute;
  right:0;
  top:56px;
  width:min(290px,100%);
  max-height:calc(100dvh - 260px);
  overflow:auto;
  border:1px solid #ffffff24;
  border-radius:18px;
  background:#0c1b23f5;
  padding:15px;
  box-shadow:0 18px 40px #0007;
  z-index:5;
  display:grid;
  gap:12px;
  text-align:left}
.rm-filters .filters,.rm-filter-choices {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px}
.rm-filters button,.rm-filters select {
  padding:9px 10px;
  border:1px solid #ffffff28;
  border-radius:10px;
  background:#ffffff08;
  font:inherit;
  color:#fff}
.rm-filters button[aria-pressed=true],.rm-filters button.active {
  border-color:#ff72a5;
  background:#ff72a522;
  color:#ff92b6}
.rm-filters label {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:13px}
.rm-filters input[type=checkbox] {
  accent-color:#ff72a5;
  width:17px;
  height:17px;
  margin:0}
.rm-filters select {
  min-width:0;
  width:100%;
  color-scheme:dark}
.rm-list-toggle {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px}
.rm-filters strong {
  font-size:12px;
  color:#c4cfd4}
.rm-results,.rangle-spot-map .map-place-results:not(:empty) {
  background:#0c1b23f5;
  border:1px solid #ffffff24;
  border-radius:15px;
  margin-top:9px;
  box-shadow:0 10px 24px #0003;
  max-height:min(38dvh,350px);
  overflow:auto}
.rangle-spot-map .map-place-results {
  font-size:12px;
  color:#dae4e7}
.rm-result {
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  border:0;
  border-bottom:1px solid #ffffff15;
  background:transparent;
  padding:12px;
  text-align:left}
.rm-result>span:nth-child(2) {
  display:grid;
  gap:4px;
  min-width:0;
  flex:1}
.rm-result b {
  font-size:14px;
  overflow-wrap:anywhere}
.rm-result small {
  font-size:11px;
  color:#c1cdd2}
.rm-result>.rm-condition {
  max-width:95px;
  font-size:10px;
  text-align:right}
.rm-empty {
  padding:14px;
  color:#c1cdd2;
  font-size:13px}
.rm-floating {
  position:absolute;
  z-index:490;
  bottom:calc(var(--rm-nav) + 23px);
  right:18px;
  display:grid;
  gap:12px;
  transition:bottom .22s,opacity .15s}
.rm-floating>a,.rm-floating>button {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border:1px solid #ffffff66;
  border-radius:50%;
  background:#10232ce8;
  box-shadow:0 4px 18px #0004;
  padding:0}
.rm-floating .rm-add {
  background:#ff78a9;
  border:0;
  color:#14232c}
.rm-add svg {
  width:28px;
  height:28px}
.rm-has-selection .rm-floating {
  bottom:calc(var(--rm-nav) + 158px)}
.rm-sheet-open .rm-floating {
  opacity:0;
  pointer-events:none}
.rm-sheet-host {
  position:static}
.rm-sheet {
  position:absolute;
  z-index:510;
  bottom:calc(var(--rm-nav) + 8px);
  left:9px;
  right:9px;
  height:min(650px,calc(100dvh - var(--rm-nav) - 170px));
  min-height:190px;
  border:1px solid #ffffff2b;
  border-radius:22px;
  background:#102129;
  box-shadow:0 -10px 45px #0005;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transform:translateY(calc(100% - 136px));
  transition:transform .24s cubic-bezier(.2,.8,.2,1)}
.rm-handle {
  flex:none;
  width:100%;
  height:24px;
  min-height:24px;
  display:grid;
  place-items:center;
  border:0;
  background:none;
  padding:0;
  touch-action:none}
.rm-handle>span {
  width:37px;
  height:4px;
  border-radius:3px;
  background:#789099}
.rm-preview {
  height:111px;
  min-height:111px;
  display:flex;
  align-items:flex-start;
  gap:4px;
  padding:0 10px 12px 12px;
  touch-action:none}
.rm-preview-main {
  display:flex;
  flex:1;
  min-width:0;
  gap:12px;
  text-align:left;
  border:0;
  background:none;
  padding:4px 0 0}
.rm-preview-copy {
  display:grid;
  gap:5px;
  min-width:0;
  flex:1}
.rm-preview-copy>b {
  font:700 19px 'Barlow Condensed',sans-serif;
  line-height:1.05;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis}
.rm-preview-copy>small {
  font-size:11px;
  color:#bdcbd0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis}
.rm-preview-copy .rm-condition {
  font-size:12px;
  line-height:1.2}
.rm-presence {
  display:flex;
  align-items:center;
  gap:4px}
.rm-presence svg {
  width:14px;
  height:14px}
.rm-close {
  width:29px;
  height:29px;
  min-width:29px;
  border:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#ffffff0d;
  padding:5px}
.rm-close svg {
  width:17px;
  height:17px}
.rm-photo {
  height:79px;
  width:78px;
  min-width:78px;
  overflow:hidden;
  border-radius:11px;
  background:linear-gradient(145deg,#294451,#142b36);
  display:grid;
  place-items:center;
  position:relative}
.rm-photo img {
  width:100%;
  height:100%;
  object-fit:cover}
.rm-photo>svg {
  width:28px;
  height:28px;
  color:#88a2ae}
.rm-result .rm-photo {
  width:43px;
  height:43px;
  min-width:43px;
  border-radius:9px}
.rm-photo-large {
  width:100%;
  height:177px;
  min-height:177px;
  border-radius:14px}
.rm-photo-large small {
  position:absolute;
  bottom:8px;
  left:8px;
  padding:3px 6px;
  background:#000a;
  border-radius:5px;
  font-size:10px;
  color:#fff}
.rm-sheet-body {
  overflow-y:auto;
  overscroll-behavior:contain;
  min-height:0;
  padding:0 15px 22px;
  scrollbar-width:thin}
.rm-sheet-body[inert] {
  visibility:hidden}
.rm-description,.rm-explanation {
  font-size:13px;
  line-height:1.6;
  color:#ccd8dd;
  margin:14px 0}
.rm-facts {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:14px 0}
.rm-facts>div {
  border:1px solid #ffffff1e;
  border-radius:11px;
  padding:10px}
.rm-facts dt {
  font-size:10px;
  color:#9eb1bb;
  margin-bottom:5px}
.rm-facts dd {
  font-size:13px;
  font-weight:600;
  margin:0}
.rm-condition-link {
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#ff9cbe!important;
  font-size:13px;
  padding:9px 0}
.rm-people-detail {
  display:grid;
  gap:9px;
  padding:15px 0;
  font-size:13px;
  border-top:1px solid #ffffff1a}
.rm-people-detail>span {
  color:#a8bdc7;
  font-size:12px}
.rm-friends {
  display:flex;
  gap:15px;
  flex-wrap:wrap}
.rm-friend {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px}
.rm-friend img,.rm-friend i {
  width:26px;
  height:26px;
  border-radius:50%;
  object-fit:cover;
  background:#35515e;
  display:grid;
  place-items:center;
  font-style:normal}
.rm-sheet-actions {
  display:flex;
  gap:9px;
  margin-top:5px}
.rm-sheet-actions>a,.rm-sheet-actions>button {
  min-height:43px;
  padding:10px 12px;
  border:1px solid #ffffff2b;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-size:13px;
  background:none}
.rm-sheet-actions .rm-primary {
  background:#ff79a8;
  border-color:#ff79a8;
  color:#102129;
  font-weight:700;
  flex:1}
.rm-directions svg,.rm-primary svg {
  width:18px;
  height:18px}
.rm-condition {
  color:#d4e0e5}
.rm-condition.dry,.rm-condition.good {
  color:#8cdeb7}
.rm-condition.wet,.rm-condition.light {
  color:#9fc9e5}
.rm-condition.marginal,.rm-condition.strong {
  color:#f2cd8a}
.rm-condition.not-kiteable,.rm-condition.too-much {
  color:#ffa2b6}
.rm-marker .presence-pin {
  width:54px;
  height:54px}
.rm-marker .presence-core {
  width:54px;
  height:54px;
  border:3px solid #fff;
  box-shadow:0 3px 12px #0006}
.rm-marker .presence-core img {
  width:100%;
  height:100%;
  object-fit:cover}
.rm-marker .presence-pin.selected .presence-core {
  border-color:#ff79a8;
  box-shadow:0 0 0 4px #ff79a83d,0 3px 12px #0006}
.rm-marker .presence-detail {
  top:59px;
  bottom:auto;
  left:50%;
  transform:translateX(-50%);
  font-size:10px;
  padding:3px 6px;
  white-space:nowrap;
  background:#152c37;
  color:#d7e6ed;
  border:1px solid #ffffff36}
.rm-marker .presence-detail.dry,.rm-marker .presence-detail.good {
  color:#9ceac2}
.rm-marker .presence-detail.wet {
  color:#a8d7f8}
.rm-marker .presence-detail.strong,.rm-marker .presence-detail.marginal {
  color:#ffdb95}
.rm-marker .presence-detail.not-kiteable,.rm-marker .presence-detail.too-much {
  color:#ffacbd}
.rm-marker .presence-friend-name {
  display:none}
.rm-cluster-count {
  position:absolute;
  right:-5px;
  top:-3px;
  min-width:22px;
  height:22px;
  border-radius:50%;
  background:#ff80ad;
  color:#102129;
  border:2px solid #fff;
  display:grid;
  place-items:center;
  font:bold 11px 'Schibsted Grotesk',sans-serif}
.rm-approximate .presence-core {
  border-style:dashed;
  opacity:.75}
.rangle-spot-map .leaflet-control-attribution {
  margin-bottom:calc(var(--rm-nav) + 2px);
  max-width:70%;
  font-size:8px;
  background:#081923c9!important;
  color:#a0b3bd}
.rangle-spot-map .leaflet-control-attribution a {
  color:#b9c9d1}
body:has(.rangle-spot-map) .bottom-nav,body:has(.rangle-spot-map) .nav,body:has(.rangle-spot-map) .tabbar {
  height:calc(60px + env(safe-area-inset-bottom,0px));
  min-height:60px;
  padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px));
  max-width:520px;
  width:100%;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  position:fixed;
  z-index:20;
  border:1px solid #ffffff15;
  border-bottom:0;
  border-radius:18px 18px 0 0;
  background:#0b1820ed;
  backdrop-filter:blur(16px);
  box-shadow:none}
body:has(.rangle-spot-map) .bottom-nav a,body:has(.rangle-spot-map) .nav a,body:has(.rangle-spot-map) .tabbar button {
  font:600 13px 'Barlow Condensed',sans-serif;
  color:#a6bac5;
  background:none;
  border:0}
body:has(.rangle-spot-map) .bottom-nav a.active,body:has(.rangle-spot-map) .nav a.active,body:has(.rangle-spot-map) .tabbar button.on {
  color:#ff80ad}
body:has(.rangle-spot-map) .bottom-nav svg,body:has(.rangle-spot-map) .nav svg,body:has(.rangle-spot-map) .tabbar svg {
  width:23px;
  height:23px}
@media(prefers-reduced-motion:reduce) {
  .rm-sheet,.rm-floating {
  transition:none}
}
.rm-map-status {
  font-size:10px;
  line-height:1.4;
  color:#b8cbd6;
  margin:9px 4px 0;
  text-shadow:0 1px 3px #000}
.rm-marker .presence-detail {
  position:absolute;
  top:57px;
  margin-top:0}
.rm-marker .presence-pin.is-selected .presence-core {
  border-color:#ff79a8;
  box-shadow:0 0 0 4px #ff79a83d,0 3px 12px #0006}
body:has(.rangle-spot-map) .tabs {
  height:calc(60px + env(safe-area-inset-bottom,0px));
  min-height:60px;
  padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px));
  max-width:520px;
  width:100%;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  position:fixed;
  z-index:20;
  border:1px solid #ffffff15;
  border-bottom:0;
  border-radius:18px 18px 0 0;
  background:#0b1820ed;
  backdrop-filter:blur(16px);
  box-shadow:none}
body:has(.rangle-spot-map) .tabs button {
  font:600 13px 'Barlow Condensed',sans-serif;
  color:#a6bac5;
  background:none;
  border:0}
body:has(.rangle-spot-map) .tabs button.on {
  color:#ff80ad}
body:has(.rangle-spot-map) .tabs svg {
  width:23px;
  height:23px}
.rm-photo-large:not(:has(img)) {
  display:none}
.rm-photo>small {
  position:absolute;
  bottom:4px;
  left:3px;
  right:3px;
  padding:2px;
  background:#0008;
  border-radius:3px;
  font-size:8px;
  text-align:center;
  color:#fff}
.rm-photo-large>small {
  right:auto;
  left:8px;
  bottom:8px;
  padding:3px 6px;
  font-size:10px}

/* Keep planned attendance and conditions in separate rows below the photo. */
.rm-marker .presence-detail {
  position:relative;
  top:auto;
  margin-top:3px;
}

/* Keep active choices visible while the filter panel is closed. */
.rangle-spot-map .rm-filter-toggle{position:relative;overflow:visible}
.rangle-spot-map .rm-filter-toggle.has-filters{background:#70415a;color:#ffe4f0;border-color:#f18fb9}
.rm-filter-count{position:absolute;top:-4px;right:-4px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 3px;border-radius:10px;background:#ff94bf;color:#18232b;font:700 10px sans-serif;border:2px solid #23333e}
.rm-filter-count[hidden],.rm-active-filters[hidden]{display:none}
.rm-active-filters{display:block;max-width:100%;margin:6px 0 0 auto;padding:5px 10px;border:1px solid #d67aa663;border-radius:12px;background:#24323ef2;color:#f5c3db;font:500 11px/1.4 'Schibsted Grotesk',sans-serif;text-align:right;white-space:normal;box-shadow:0 2px 8px #0003}
