/* Mirror World mod: facilities. Every selector is prefixed .mod-facilities-. Contract: mods/README.md. */

/* type glyphs: terminal = green diamond, crush plant = bean circle, refinery = muted square */
.mod-facilities-g { display: inline-block; width: 7px; height: 7px; margin: 0 6px 1px 0; vertical-align: middle; background: var(--bean); border-radius: 50%; flex: none; }
.mod-facilities-g--terminal { background: var(--green); border-radius: 1px; transform: rotate(45deg) scale(.9); }
.mod-facilities-g--refinery { background: var(--muted); border-radius: 1px; }

/* room list */
.mod-facilities-room h4.mod-facilities-h { font: 600 12px var(--f-text); color: var(--muted); margin: 12px 0 4px; display: flex; gap: 6px; align-items: baseline; }
.mod-facilities-list { list-style: none; margin: 0; padding: 0; }
.mod-facilities-list li { display: flex; align-items: flex-start; gap: 0; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.mod-facilities-list li:last-child { border-bottom: 0; }
.mod-facilities-list li > .mod-facilities-g { margin-top: 6px; }
.mod-facilities-body { min-width: 0; flex: 1; }
.mod-facilities-n b { font-weight: 600; }
.mod-facilities-p { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.mod-facilities-st { color: var(--warn); }
.mod-facilities-src summary, .mod-facilities-more summary { font-size: 12px; color: var(--green); cursor: pointer; }
.mod-facilities-src .facts { margin: 6px 0 2px; font-size: 12px; }
.mod-facilities-src .facts dd { overflow-wrap: anywhere; }
.mod-facilities-more { margin: 2px 0 4px; }
.mod-facilities-more > summary { padding: 4px 0; }

/* Origins sub-panel line */
.mod-facilities-blk p { margin: 8px 0 0; }
.mod-facilities-blk .mod-facilities-g { margin-left: 2px; }
.mod-facilities-open { border: 0; background: none; padding: 0; font: 500 12px var(--f-text); color: var(--green); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* globe dots: quiet, below the price tags (lower altitude, so the renderer stacks them under the pins) */
.mod-facilities-mk { width: 0; height: 0; pointer-events: none; }
.mod-facilities-dot { position: absolute; left: 0; top: 0; display: block; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; translate: var(--mod-facilities-dx, 0px) 0; background: var(--bean); border: 1px solid rgba(250,250,247,.95); border-radius: 50%; box-shadow: 0 0 0 .5px rgba(25,28,26,.35); opacity: .9; pointer-events: auto; cursor: help; }
.mod-facilities-dot--terminal { background: var(--green); border-radius: 1px; transform: rotate(45deg); }
.mod-facilities-dot--refinery { background: var(--muted); border-radius: 1px; }
.mod-facilities-dot--many { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
html.earth-real .mod-facilities-dot { border-color: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.55); opacity: 1; }
html.earth-real .mod-facilities-dot--crush { background: #E0B44C; }
html.earth-real .mod-facilities-dot--terminal { background: #7FE0A8; }
html.earth-real .mod-facilities-dot--refinery { background: #D8DCD8; }
@media (prefers-reduced-motion: no-preference) { .mod-facilities-dot { transition: opacity .3s ease; } }
