/* WAHAJ prototype — Mission 06: The School Run. The mission screen is shared with the other missions
   (css/mission.css, the Moon's .mm rules for part photos, and the Plan panel's .hg rules in factory.css);
   this file draws the district on the site plan and the 2D fallback scene. */

/* ---------- the scene (2D fallback): the district, with the line in the open middle of the screen ---------- */
.vm .mx-scene.sv-scene { background: #d9c8a8}
.sv-sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block}
.sv-host { position: absolute; inset-inline-start: 296px; top: 206px; width: 732px; height: 412px; direction: ltr; transition: filter .6s}
.sv-host .g2d, .sv-host .g2d-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block}
.sv-host .g2d-scale, .sv-host .g2d-north, .sv-host .g2d-xy { display: none}
.sv-host .g-minor, .sv-host .g-major { stroke: transparent}
.sv-host .g-it { cursor: default}
.sv-host .g-it .g-sh { fill-opacity: .8; stroke-width: 1.4}
.sv-host .g-it .g-ic { color: #111112}
.sv-host.dust { filter: sepia(.6) saturate(1.4) brightness(.85)}
.sv-host.sv-build .g-it { cursor: pointer}
.sv-host .g-it.slot .g-sh { fill-opacity: .08; stroke-dasharray: 3 3; animation: mmSlot 1.6s ease-in-out infinite}
.sv-host .g-it.slot .g-ic { color: currentColor; opacity: .7}
.sv-host .g-it.slot:hover .g-sh { fill-opacity: .22}
.sv-host .g-it.mm-new .g-sh, .sv-host .g-it.mm-flash .g-sh { animation: mmPop .9s ease-out 2}
#stage[dir="rtl"] .sv-host:not(.sv-in) { inset-inline-start: 420px}
.mx-plan .sv-host.sv-in { inset-inline-start: 12px; inset-inline-end: 12px; top: 12px; bottom: 86px; width: auto; height: auto; border-radius: 10px; overflow: hidden; background: #d9c8a8}

/* ---------- the district on the site plan ---------- */
.sv-ground { fill: #d8d2c6}
.sv-block { fill: #e9e0cf; stroke: #c9b391; stroke-width: .06}
.sv-villa { fill: #f7f4ee; stroke: #c9b391; stroke-width: .05}
.sv-school { fill: #ece8f9; stroke: #8B5CF6; stroke-width: .08}
.sv-bldg { fill: #f5f2ec; stroke: #8f8a80; stroke-width: .06}
.sv-depot { fill: #c7ccd1; stroke: #8f8a80; stroke-width: .06}
.sv-road { fill: #55585d}
.sv-lane { stroke: #f5f5f7; stroke-width: .1; stroke-dasharray: .45 .45; fill: none}
.sv-blind { fill: #FF9F0A; fill-opacity: .25; stroke: #FF9F0A; stroke-width: .08; stroke-dasharray: .2 .15}
.sv-bay { fill: #8B5CF6; fill-opacity: .3; stroke: #A78BFA; stroke-width: .08; stroke-dasharray: .3 .2}
.sv-host .sv-ground { fill: transparent}

/* ---------- inventory: four parts and the Plan ---------- */

/* the district is drawn in 20 m units, so its label outlines are thin */
.g2d-svg[data-g2d-svg^="mobility"] .g-lab { stroke-width: .16px}
.g2d-svg[data-g2d-svg^="mobility"] text { text-rendering: geometricPrecision; letter-spacing: 0}
