:root{
  --gf-map-bg:#111113;
  --gf-map-panel:#1a1b1e;
  --gf-map-panel-2:#222328;
  --gf-map-line:rgba(232,221,195,.16);
  --gf-map-ink:#f5efe2;
  --gf-map-muted:rgba(245,239,226,.68);
  --gf-map-gold:#f1c76a;
  --gf-map-bronze:#d4a657;
  --gf-map-teal:#71d7c7;
  --gf-map-ruby:#d86b6b;
  --gf-map-violet:#c6a7ff;
}

.gf-map-wrap{
  max-width:1180px;
  margin:18px auto 0;
  padding:0 14px;
  color:var(--gf-map-ink);
  font-family:Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing:0;
}

.gf-map-wrap *,
.gf-map-wrap *::before,
.gf-map-wrap *::after{
  box-sizing:border-box;
  letter-spacing:0;
}

.gf-map-empty,
.gf-map-stage,
.gf-map-panel{
  border-radius:8px;
  border:1px solid var(--gf-map-line);
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)), var(--gf-map-panel);
  box-shadow:0 18px 48px rgba(0,0,0,.34);
}

.gf-map-empty{
  padding:18px;
}

.gf-map-stage{
  position:relative;
  overflow:hidden;
  padding:20px;
  background:
    linear-gradient(135deg, rgba(113,215,199,.13), rgba(216,107,107,.08) 46%, rgba(241,199,106,.12)),
    linear-gradient(180deg, #202126, #141416);
}

.gf-map-stage::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255,255,255,.045) 0 1px, transparent 1px 100%);
  background-size:42px 42px;
  opacity:.10;
}

.gf-map-head,
.gf-map-grid,
.gf-map-lower{
  position:relative;
  z-index:1;
}

.gf-map-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.gf-map-kicker{
  color:var(--gf-map-bronze);
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
}

.gf-map-title{
  margin:4px 0 0;
  color:var(--gf-map-ink);
  font-size:2.05rem;
  line-height:1.05;
  font-weight:950;
  overflow-wrap:anywhere;
}

.gf-map-vitals{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

.gf-map-vitals span,
.gf-map-tags span{
  min-height:32px;
  display:inline-flex;
  align-items:center;
  border-radius:8px;
  border:1px solid rgba(232,221,195,.18);
  background:rgba(0,0,0,.25);
  color:var(--gf-map-ink);
  padding:7px 10px;
  font-size:.82rem;
  font-weight:800;
}

.gf-map-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) minmax(300px, .65fr);
  gap:16px;
  align-items:stretch;
}

.gf-map-canvas{
  position:relative;
  min-height:430px;
  border-radius:8px;
  border:1px solid rgba(232,221,195,.14);
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(10,12,14,.50), rgba(10,10,12,.12)),
    linear-gradient(135deg, #20262b, #161719 52%, #24201a);
}

.gf-map-canvas::before{
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(241,199,106,.10);
  border-radius:8px;
  pointer-events:none;
}

.gf-map-routes{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.gf-map-land{
  fill:rgba(255,255,255,.055);
  stroke:rgba(232,221,195,.14);
  stroke-width:2;
}

.gf-map-route{
  fill:none;
  stroke:rgba(241,199,106,.35);
  stroke-width:5;
  stroke-linecap:round;
  stroke-dasharray:8 12;
}

.gf-map-route.is-main{
  stroke:rgba(113,215,199,.62);
  stroke-dasharray:0;
}

.gf-world-node{
  position:absolute;
  left:var(--x);
  top:var(--y);
  transform:translate(-50%, -50%);
  display:grid;
  justify-items:center;
  gap:6px;
  min-width:96px;
  text-align:center;
}

.gf-world-node-dot{
  width:22px;
  height:22px;
  border-radius:50%;
  border:2px solid rgba(245,239,226,.58);
  background:#383a3d;
  box-shadow:0 0 0 5px rgba(0,0,0,.22);
}

.gf-world-node-label{
  max-width:116px;
  padding:5px 8px;
  border-radius:8px;
  border:1px solid rgba(232,221,195,.14);
  background:rgba(0,0,0,.38);
  color:var(--gf-map-muted);
  font-size:.76rem;
  font-weight:800;
  overflow-wrap:anywhere;
}

.gf-world-node.is-known .gf-world-node-dot{
  background:var(--gf-map-bronze);
}

.gf-world-node.is-next .gf-world-node-dot{
  background:var(--gf-map-gold);
  border-color:rgba(241,199,106,.90);
  box-shadow:0 0 0 5px rgba(241,199,106,.12), 0 0 18px rgba(241,199,106,.38);
}

.gf-world-node.is-active .gf-world-node-dot{
  background:var(--gf-map-teal);
  border-color:rgba(113,215,199,.95);
  box-shadow:0 0 0 5px rgba(113,215,199,.12), 0 0 20px rgba(113,215,199,.42);
}

.gf-world-node.is-danger .gf-world-node-dot{
  background:var(--gf-map-ruby);
  border-color:rgba(216,107,107,.95);
  box-shadow:0 0 0 5px rgba(216,107,107,.12), 0 0 20px rgba(216,107,107,.42);
}

.gf-world-node.is-gate .gf-world-node-dot{
  background:var(--gf-map-violet);
  border-color:rgba(198,167,255,.95);
  box-shadow:0 0 0 5px rgba(198,167,255,.12), 0 0 20px rgba(198,167,255,.36);
}

.gf-map-focus{
  border-radius:8px;
  border:1px solid rgba(232,221,195,.14);
  background:rgba(0,0,0,.26);
  padding:16px;
  display:flex;
  flex-direction:column;
  min-width:0;
}

.gf-map-focus h3,
.gf-map-panel h3{
  margin:4px 0 0;
  color:var(--gf-map-ink);
  font-size:1.15rem;
  line-height:1.22;
  font-weight:950;
  overflow-wrap:anywhere;
}

.gf-map-focus p{
  margin:10px 0 0;
  color:var(--gf-map-muted);
  line-height:1.55;
  font-size:.92rem;
}

.gf-map-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.gf-map-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:auto;
  padding-top:16px;
}

.gf-map-btn,
.gf-map-small-btn{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:8px;
  border:1px solid rgba(232,221,195,.18);
  padding:9px 12px;
  font:inherit;
  font-size:.9rem;
  font-weight:900;
  text-decoration:none !important;
  cursor:pointer;
}

.gf-map-btn-primary{
  background:linear-gradient(90deg, var(--gf-map-teal), var(--gf-map-gold));
  color:#141414 !important;
  border-color:rgba(255,255,255,.10);
}

.gf-map-btn-ghost,
.gf-map-small-btn{
  background:rgba(255,255,255,.04);
  color:var(--gf-map-ink) !important;
}

.gf-map-btn:disabled,
.gf-map-small-btn:disabled{
  opacity:.58;
  cursor:wait;
}

.gf-map-ajax-msg{
  min-height:20px;
  margin-top:10px;
  color:var(--gf-map-ruby);
  font-size:.84rem;
}

.gf-map-lower{
  display:grid;
  grid-template-columns:minmax(280px, .72fr) minmax(0, 1.28fr);
  gap:16px;
  margin-top:16px;
}

.gf-map-panel{
  padding:15px;
  min-width:0;
}

.gf-map-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.gf-map-panel-head span{
  color:var(--gf-map-bronze);
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
}

.gf-map-boss{
  display:grid;
  align-content:start;
  gap:10px;
}

.gf-map-boss-row{
  display:grid;
  grid-template-columns:56px minmax(0, 1fr);
  gap:12px;
  align-items:center;
}

.gf-map-boss-row img{
  width:56px;
  height:56px;
  border-radius:8px;
  object-fit:cover;
  border:1px solid rgba(232,221,195,.18);
}

.gf-map-boss strong,
.gf-map-quest strong{
  color:var(--gf-map-ink);
  font-weight:950;
  overflow-wrap:anywhere;
}

.gf-map-boss span,
.gf-map-quest span{
  color:var(--gf-map-muted);
  font-size:.82rem;
}

.gf-map-boss-bar{
  height:10px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.10);
}

.gf-map-boss-bar span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg, var(--gf-map-ruby), var(--gf-map-gold));
}

.gf-map-inline-link{
  color:var(--gf-map-teal) !important;
  font-weight:900;
  text-decoration:none !important;
}

.gf-map-quests{
  display:grid;
  gap:9px;
}

.gf-map-quest{
  min-height:58px;
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:12px;
  align-items:center;
  padding:10px 11px;
  border-radius:8px;
  border:1px solid rgba(232,221,195,.12);
  background:rgba(0,0,0,.18);
}

.gf-map-quest div{
  min-width:0;
  display:grid;
  gap:2px;
}

.gf-map-small-btn{
  min-height:34px;
  padding:7px 10px;
}

@media (max-width:900px){
  .gf-map-head,
  .gf-map-grid,
  .gf-map-lower{
    grid-template-columns:1fr;
  }

  .gf-map-head{
    display:grid;
  }

  .gf-map-vitals{
    justify-content:flex-start;
  }

  .gf-map-canvas{
    min-height:390px;
  }
}

@media (max-width:560px){
  .gf-map-wrap{
    padding:0 10px;
  }

  .gf-map-stage,
  .gf-map-panel{
    padding:14px;
  }

  .gf-map-title{
    font-size:1.65rem;
  }

  .gf-map-canvas{
    min-height:360px;
  }

  .gf-world-node{
    min-width:76px;
  }

  .gf-world-node-label{
    max-width:92px;
    font-size:.7rem;
    padding:4px 6px;
  }

  .gf-map-quest{
    grid-template-columns:1fr;
  }

  .gf-map-small-btn,
  .gf-map-btn{
    width:100%;
  }
}
