/* WAHAJ prototype — Mission 03: Keep the Lights On. The mission screen is shared with the other missions
   (css/mission.css, and the Moon's .mm rules for part photos); this file draws the island on the site plan
   and the 2D fallback scene. */

/* ---------- the scene (2D fallback): the sea, and the island in the open middle of the screen ---------- */
.im .mx-scene.is-scene { background: #1f5b7a}
.is-sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block}
.is-host { position: absolute; inset-inline-start: 296px; top: 206px; width: 732px; height: 457px; direction: ltr; transition: filter .6s}
.is-host .g2d, .is-host .g2d-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block}
.is-host .g2d-scale, .is-host .g2d-north, .is-host .g2d-xy { display: none}
.is-host .g-minor, .is-host .g-major { stroke: transparent}
.is-host .g-it { cursor: default}
.is-host .g-it .g-sh { fill-opacity: .7; stroke-width: 1.6}
.is-host .g-it .g-ic { color: #111112}
.is-host.night, .is-host.light-evening { filter: brightness(.55) saturate(.7)}
.is-host.storm, .is-host.light-storm { filter: saturate(.5) brightness(.75)}
.is-host.dark { filter: brightness(.35) saturate(.4)}
.is-host.is-build .g-it { cursor: pointer}
.is-host .g-it.slot .g-sh { fill-opacity: .08; stroke-dasharray: 3 3; animation: mmSlot 1.6s ease-in-out infinite}
.is-host .g-it.slot .g-ic { color: currentColor; opacity: .7}
.is-host .g-it.slot:hover .g-sh { fill-opacity: .22}
.is-host .g-it.mm-new .g-sh, .is-host .g-it.mm-flash .g-sh { animation: mmPop .9s ease-out 2}
#stage[dir="rtl"] .is-host:not(.is-in) { inset-inline-start: 420px}
.mx-plan .is-host.is-in { inset-inline-start: 12px; inset-inline-end: 12px; top: 12px; bottom: 86px; width: auto; height: auto; border-radius: 10px; overflow: hidden; background: #1f5b7a}

/* ---------- the island on the site plan ---------- */
.is-sea { fill: #1d4f6e}
.is-shore { fill: none; stroke: #f0e2bf; stroke-opacity: .32; stroke-linejoin: round}
.is-land { fill: #e2cfa2}
.is-ridge { fill: #b99c6a; fill-opacity: .55}
.is-mang { fill: #3f7d4a; fill-opacity: .85}
.is-town { fill: #d6cfc2; stroke: #8f8a80; stroke-width: .18}
.is-house { fill: #f4efe4; stroke: #a59f93; stroke-width: .1}
.is-clinic { fill: #ffffff; stroke: #00FF6F; stroke-width: .22}
.is-cross { stroke: #00FF6F; stroke-width: .5; fill: none}
.is-bld { fill: #ebe6db; stroke: #9a948a; stroke-width: .14}
.is-tank { fill: #f5f5f7; stroke: #9a948a; stroke-width: .14}
.is-quay { fill: #b9b2a2; stroke: #8f8a80; stroke-width: .14}
.g2d-svg .g-bgl.sea { fill: #9fc2d6; font-style: italic}
.g2d-svg .g-bgl.sm { fill: #f0e2bf}
.is-host .is-sea { fill: transparent}

/* ---------- inventory: five parts and the power line, shown as their renders ---------- */

/* ---------- Missions page: with three missions the cards sit side by side ---------- */
.missions .feat-row.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; overflow: hidden}
.feat-row.three .mcard.mbig { height: 466px; grid-template-columns: 1fr; grid-template-rows: 186px 1fr; margin-top: 0}
.feat-row.three .mcard.mbig .mi img { object-fit: cover}
.feat-row.three .mcard.mbig .mb { padding: 14px 16px 16px}
.feat-row.three .mcard.mbig .mb b { margin-top: 6px; font-size: 21px}
.feat-row.three .mcard.mbig .mb p { margin-top: 4px; font-size: 14px; line-height: 1.4}
.feat-row.three .mcard.mbig .ms-tags { margin-top: 8px; flex-wrap: wrap; row-gap: 6px}
.feat-row.three .mstats { margin-top: 8px; gap: 12px}
.feat-row.three .mstats span { font-size: 13.5px}
