/**/

body.fnf-mapshell {
  --fx-gap: 14px;
  --fx-r-panel: 16px;
  --fx-r-ctl: 9px;
  --fx-r-tool: 999px;
  --fx-blur: 20px;
  --fx-bar-h: 68px;          /**/
  --fx-side-w: 300px;
}

/**/
/**/
body.fnf-mapshell .page.pg-island { padding: 0; }
/**/
body.fnf-mapshell .isl {
  position: relative;
  display: block;
  height: calc(100vh - var(--rb-h));
  height: calc(100dvh - var(--rb-h));
  min-height: 520px;
}
body.fnf-mapshell .isl-stage {
  position: absolute; inset: 0;
  width: auto; height: auto;
  border-radius: 0;
}

/**/
body.fnf-mapshell .fx-bar {
  position: absolute;
  top: calc(var(--nav-h) + var(--fx-gap)); right: var(--fx-gap);
  left: auto; max-width: calc(100% - var(--fx-side-w) - var(--fx-gap) * 3);
  z-index: 6;
  /**/
  display: flex; align-items: center; flex-wrap: wrap;
  justify-content: flex-end;
  column-gap: 10px; row-gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--hair);
  border-radius: var(--fx-r-panel);
  background: var(--panel-2);
  backdrop-filter: blur(var(--fx-blur)) saturate(1.15);
  -webkit-backdrop-filter: blur(var(--fx-blur)) saturate(1.15);
  box-shadow: 0 18px 48px rgba(3, 10, 13, .5);
}

/**/
body.fnf-mapshell .fx-tools {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 9px; flex: 1 1 auto; min-width: 0;
}

/**/
body.fnf-mapshell .fx-search {
  display: grid; grid-template-columns: auto minmax(110px, 300px);
  align-items: center; gap: 9px;
  min-width: min(100%, 17rem); padding: 6px 11px;
  border: 1px solid var(--hair); border-radius: var(--fx-r-ctl);
  background: rgba(5, 13, 18, .5);
  transition: border-color .15s var(--ease);
}
body.fnf-mapshell .fx-search:focus-within { border-color: var(--pear-deep); }
body.fnf-mapshell .fx-search-lab {
  font: 400 10px/1 var(--sans); letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3);
}
body.fnf-mapshell .fx-search input {
  min-width: 0; width: 100%; height: 24px; margin: 0; padding: 0;
  border: 0; background: transparent; color: var(--bone);
  font: 400 13.4px/1 var(--sans);
  -webkit-appearance: none; appearance: none;
}
body.fnf-mapshell .fx-search input:focus { outline: none; }
body.fnf-mapshell .fx-search input::placeholder { color: var(--ink-4); }
body.fnf-mapshell .fx-search input::-webkit-search-cancel-button { display: none; }

body.fnf-mapshell .fx-ico {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; flex: 0 0 36px; padding: 0;
  color: var(--ink-2);
  border: 1px solid var(--hair); border-radius: var(--fx-r-tool);
  background: rgba(5, 13, 18, .5);
  transition: color .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease);
}
body.fnf-mapshell .fx-ico:hover { color: var(--bone); border-color: var(--hair-3); }
body.fnf-mapshell .fx-ico[aria-pressed="true"] { color: #06171c; background: var(--pear); border-color: var(--pear); }
body.fnf-mapshell .fx-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body.fnf-mapshell .fx-ico-wide { width: auto; flex: none; gap: 6px; padding: 0 12px; }
body.fnf-mapshell .fx-ico-txt { font: 400 11.5px/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; }

/**/
body.fnf-mapshell .fx-zoom {
  display: flex; align-items: center; gap: 2px;
  padding: 3px; border: 1px solid var(--hair); border-radius: var(--fx-r-tool);
  background: rgba(5, 13, 18, .5);
}
body.fnf-mapshell .fx-zoom button {
  width: 30px; height: 30px; border-radius: var(--fx-r-tool);
  color: var(--ink-2); font: 400 15px/1 var(--sans);
  transition: color .15s var(--ease), background .15s var(--ease);
}
body.fnf-mapshell .fx-zoom button:hover { color: var(--bone); background: rgba(215,232,234,.06); }
body.fnf-mapshell .fx-zoom span { padding: 0 6px; font: 400 11.5px/1 var(--mono); color: var(--ink-2); }

/**/
body.fnf-mapshell .fx-side {
  position: absolute;
  top: calc(var(--nav-h) + var(--fx-gap));
  left: var(--fx-gap); bottom: var(--fx-gap);
  width: var(--fx-side-w);
  z-index: 5;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid var(--hair);
  border-radius: var(--fx-r-panel);
  background: var(--panel-2);
  backdrop-filter: blur(var(--fx-blur)) saturate(1.15);
  -webkit-backdrop-filter: blur(var(--fx-blur)) saturate(1.15);
  box-shadow: 0 18px 48px rgba(3, 10, 13, .5);
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
body.fnf-mapshell .fx-side[data-open="false"] {
  transform: translateX(calc(-100% - var(--fx-gap) - 8px));
  opacity: 0; pointer-events: none;
}

body.fnf-mapshell .fx-tabs {
  display: flex; gap: 4px; padding: 10px 10px 0;
}
body.fnf-mapshell .fx-tab {
  flex: 1 1 0; min-width: 0;
  padding: 9px 6px; border-radius: var(--fx-r-ctl) var(--fx-r-ctl) 0 0;
  font: 400 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); background: transparent;
  border: 1px solid transparent; border-bottom: 0;
  transition: color .15s var(--ease), background .15s var(--ease);
}
body.fnf-mapshell .fx-tab:hover { color: var(--bone); }
body.fnf-mapshell .fx-tab[aria-selected="true"] {
  color: #06171c; background: var(--pear);
}

body.fnf-mapshell .fx-panes { overflow: auto; padding: 4px 4px 10px; }
body.fnf-mapshell .fx-pane[hidden] { display: none; }
body.fnf-mapshell .fx-gtitle {
  margin: 12px 12px 6px;
  font: 400 10px/1 var(--sans); letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-4);
}
body.fnf-mapshell .fx-gtitle[hidden] { display: none; }
body.fnf-mapshell .fx-switches { display: grid; gap: 2px; padding: 0 6px; }

/**/
body.fnf-mapshell .fx-switches .tg {
  display: grid; grid-template-columns: 14px 1fr auto;
  align-items: center; gap: 10px;
  width: 100%; padding: 8px 10px;
  border-radius: var(--fx-r-ctl);
  font: 400 13px/1.25 var(--sans); color: var(--ink-2); text-align: left;
  transition: color .15s var(--ease), background .15s var(--ease);
}
body.fnf-mapshell .fx-switches .tg:hover { color: var(--bone); background: rgba(215,232,234,.05); }
body.fnf-mapshell .fx-switches .tg i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c, var(--ink-3)); opacity: .35;
  box-shadow: 0 0 0 1px rgba(5,13,18,.6);
}
body.fnf-mapshell .fx-switches .tg.on { color: var(--bone); }
body.fnf-mapshell .fx-switches .tg.on i { opacity: 1; }
body.fnf-mapshell .fx-switches .tg b {
  font: 400 11.5px/1 var(--mono); color: var(--ink-4); font-weight: 400;
}
body.fnf-mapshell .fx-switches .tg.on b { color: var(--ink-2); }

/**/
body.fnf-mapshell .fx-pane .ip-sec,
body.fnf-mapshell .fx-pane .ip-foot {
  margin: 0; padding: 10px 12px; border: 0; background: none;
}
body.fnf-mapshell .fx-pane .ip-detail { border-top: 1px solid var(--hair-2); }
body.fnf-mapshell .fx-hud-slot {
  padding: 10px 12px;
  font: 400 13px/1.5 var(--mono); color: var(--bone);
}
body.fnf-mapshell .fx-hud-slot .fx-hud-note {
  margin-top: 6px; font: 300 12px/1.5 var(--sans); color: var(--ink-3);
}
body.fnf-mapshell .fx-hits { display: grid; gap: 2px; padding: 0 6px 8px; }
body.fnf-mapshell .fx-hit {
  display: block; width: 100%; text-align: left;
  padding: 8px 10px; border-radius: var(--fx-r-ctl);
  font: 400 13px/1.3 var(--sans); color: var(--ink-2);
  transition: color .15s var(--ease), background .15s var(--ease);
}
body.fnf-mapshell .fx-hit:hover, body.fnf-mapshell .fx-hit:focus-visible {
  color: var(--bone); background: rgba(215,232,234,.06); outline: none;
}
body.fnf-mapshell .fx-hit small { display: block; color: var(--ink-4); font-size: 11px; }
body.fnf-mapshell .fx-empty { padding: 8px 12px; font: 300 12.5px/1.5 var(--sans); color: var(--ink-4); }

/**/
/**/
body.fnf-mapshell .isl-hud {
  position: absolute; inset: auto var(--fx-gap) var(--fx-gap) auto;
  display: flex; align-items: center; gap: 8px;
  z-index: 4; pointer-events: none;
}
body.fnf-mapshell .isl-hud .hud-r { display: none; }   /**/
body.fnf-mapshell .isl-hud .hud-l {
  position: static;
  padding: 7px 12px;
  border: 1px solid var(--hair); border-radius: var(--fx-r-ctl);
  background: var(--panel-2); color: var(--bone);
  font: 400 12.5px/1 var(--mono);
  backdrop-filter: blur(var(--fx-blur));
  -webkit-backdrop-filter: blur(var(--fx-blur));
}
body.fnf-mapshell .isl-scale {
  position: absolute; inset: auto var(--fx-gap) calc(var(--fx-gap) + 42px) auto;
  z-index: 4; pointer-events: none;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--hair); border-radius: var(--fx-r-ctl);
  background: var(--panel-2);
  backdrop-filter: blur(var(--fx-blur));
  -webkit-backdrop-filter: blur(var(--fx-blur));
}
body.fnf-mapshell .isl-scale span { font: 400 11.5px/1 var(--mono); color: var(--ink-2); }

/**/
/**/
@media (max-width: 900px) {
  body.fnf-mapshell { --fx-gap: 10px; --fx-bar-h: 58px; --fx-r-panel: 14px; }
  /**/
  body.fnf-mapshell .fx-bar {
    left: var(--fx-gap); right: var(--fx-gap); max-width: none;
    justify-content: space-between;
  }
  body.fnf-mapshell .fx-search { order: -1; flex: 1 1 100%; min-width: 0; grid-template-columns: auto minmax(0, 1fr); }
  body.fnf-mapshell .fx-side {
    top: auto; left: 0; right: 0; bottom: 0; width: auto;
    height: min(58dvh, 470px);
    border-radius: var(--fx-r-panel) var(--fx-r-panel) 0 0;
    border-bottom: 0;
    transform: translateY(0);
  }
  /**/
  body.fnf-mapshell .fx-side[data-open="false"] {
    transform: translateY(calc(100% + 8px));
    opacity: 0; pointer-events: none;
  }
}
