/* V1 block-flow, vehicle doors, queue placement and engineer-response refinements. */

/* Cars remain behind the platform protection; waiting guests remain visible in front. */
.vehicle-slot{z-index:7}
.platform-fence,.platform-side-fence{z-index:11}
.air-gates{z-index:12}
.guest-queue,.entry-walkers{z-index:13;overflow:visible}
.guest-queue .queue-person,.entry-walker{bottom:29px}

/* Each row has a split sliding spacecraft door that follows its restraint state. */
.car-door{position:absolute;top:64px;width:42px;height:12px;z-index:7;pointer-events:none}
.car-door.door-front{left:28px}
.car-door.door-back{left:94px}
.car-door:before,.car-door:after{content:"";position:absolute;top:0;width:51%;height:100%;border:1px solid #5f7479;background:linear-gradient(180deg,#ecf9fa 0 18%,#88b7bf 20% 78%,#d9f2f3 80%);box-shadow:0 0 5px #69d7e788;transition:transform .85s cubic-bezier(.2,.72,.25,1)}
.car-door:before{left:0;border-radius:4px 0 0 4px}
.car-door:after{right:0;border-radius:0 4px 4px 0}
.vehicle.doors-open .car-door:before{transform:translateX(-17px)}
.vehicle.doors-open .car-door:after{transform:translateX(17px)}

/* Twelve live blocks, including the new load-exit hold. */
.block-map{grid-template-columns:repeat(12,1fr)}
.block{min-height:50px}
.block strong{line-height:1.2}

/* Technical faults demand attention and display the engineer's live progress. */
.main-console .safety-controls .engineer-button{position:relative;overflow:hidden}
.main-console .safety-controls .engineer-button.ready{background:linear-gradient(#8e262c,#55171b);box-shadow:inset 0 0 0 3px #c85b60,0 4px 0 #181b1c,0 0 18px #ef414a;animation:engineerAlarm .75s ease-in-out infinite alternate}
.main-console .safety-controls .engineer-button.ready i{background:#ef414a;box-shadow:0 0 14px #ef414a}
.main-console .safety-controls .engineer-button.responding{opacity:1}
.main-console .safety-controls .engineer-button.responding i{background:#ffc34e;box-shadow:0 0 10px #ffc34e}
.engineer-progress{position:absolute;left:5px;right:auto;bottom:5px;width:0;height:6px;background:linear-gradient(90deg,#ffc34e,#63e18c);border-radius:2px;box-shadow:0 0 7px #63e18c;transition:width .12s linear}
@keyframes engineerAlarm{from{filter:brightness(.85)}to{filter:brightness(1.25)}}

@media(max-width:1100px){.block-map{grid-template-columns:repeat(6,1fr)}}
@media(max-width:650px){.block-map{grid-template-columns:repeat(3,1fr)}.car-door.door-front{left:19px}.car-door.door-back{left:78px}}
