/* Dark Mage of Mossfen — the warp gate list (v0.74, ui/gates.js): opens when you walk onto a warp gate, on the
   right like the Shop and the quest window. Brief 18. */
#gates {
  top: 12px; right: 12px; z-index: 5;
  width: min(340px, calc(100% - 24px));
  max-height: calc(100% - 100px);
  overflow-y: auto;
  padding: 10px 14px 12px;
  --gate: #4ff0b8;
}
#gates header { align-items: center; }
#gates header .win-meta { margin-left: 10px; }
#gates header .win-close { margin-left: auto; }
.gates-note { margin: 4px 0 10px; font-size: 13.5px; line-height: 1.4; color: var(--ink-dim); }

.gates-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gates-list li {
  display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; min-height: 44px;
  padding: 5px 8px; border-radius: 4px; background: rgba(11, 15, 12, 0.6); border: 1px solid rgba(79, 240, 184, 0.16);
}
.gates-list .gate-mark {
  width: 18px; height: 18px; margin-left: 2px; border-radius: 50%;
  border: 2px solid var(--gate); box-shadow: 0 0 8px rgba(79, 240, 184, 0.55), inset 0 0 6px rgba(79, 240, 184, 0.5);
}
.gates-list b { display: block; font: 700 15.5px/1.15 var(--f-display); letter-spacing: 0.03em; color: var(--ink); }
.gates-list small { font-size: 12.5px; color: var(--ink-dim); }
.gates-list li.is-here { background: radial-gradient(ellipse 90% 140% at 10% 50%, rgba(79, 240, 184, 0.16), rgba(11, 15, 12, 0.6) 70%); border-color: rgba(79, 240, 184, 0.45); }
.gates-list li.is-here .gate-here { font: 700 11px/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gate); }
.gates-list li.is-dark { border-style: dashed; border-color: rgba(206, 184, 118, 0.14); }
.gates-list li.is-dark .gate-mark { border-color: #4b4f49; box-shadow: none; }
.gates-list li.is-dark b { color: var(--ink-faint); font-style: italic; font-weight: 500; }
.gates-list .pick-go { min-width: 84px; padding: 7px 14px; font-size: 15px; }

.gates-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.gates-actions .link-btn { margin: 0; }
body.gates-open #help, body.gates-open #quest-track { visibility: hidden; }
#scene.is-over-gate { cursor: pointer; }
