/*
 * The Lab page styles.
 * Loaded only on page-the-lab.php by functions.php.
 */

.mbj-lab-page {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 56px 0 86px;
}

.mbj-lab-sky span {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 0 20px rgba(255, 156, 205, 0.6);
    animation: mbjLabFloat 7s ease-in-out infinite;
}

.mbj-lab-sky span:nth-child(1) { top: 9%; left: 8%; }
.mbj-lab-sky span:nth-child(2) { top: 18%; right: 12%; animation-delay: 1s; }
.mbj-lab-sky span:nth-child(3) { top: 54%; left: 4%; animation-delay: 2s; }
.mbj-lab-sky span:nth-child(4) { right: 7%; bottom: 20%; animation-delay: 3s; }
.mbj-lab-sky span:nth-child(5) { left: 48%; bottom: 10%; animation-delay: 4s; }

.mbj-lab-entrance,
.mbj-lab-header,
.mbj-lab-room {
    position: relative;
    z-index: 1;
}

.mbj-lab-entrance {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1fr);
    gap: 28px;
    align-items: center;
    min-height: 680px;
}

.mbj-lab-door-wrap,
.mbj-keypad-panel,
.mbj-lab-header,
.mbj-lab-panel {
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 200, 230, 0.34), rgba(191, 232, 255, 0.3));
    box-shadow: 0 28px 70px rgba(142, 91, 157, 0.22), inset 0 1px 0 #fff;
    backdrop-filter: blur(18px);
}

.mbj-lab-door-wrap {
    display: grid;
    place-items: center;
    min-height: 560px;
    overflow: hidden;
    perspective: 900px;
}

.mbj-lab-door {
    position: relative;
    display: grid;
    place-items: center;
    width: min(78%, 360px);
    height: 460px;
    border-radius: 180px 180px 30px 30px;
    background: linear-gradient(135deg, #fff, #ffd3eb 30%, #c7ebff 70%, #dfd0ff);
    border: 4px solid rgba(255, 255, 255, 0.95);
    box-shadow: inset 0 1px 0 #fff, 0 0 40px rgba(255, 156, 205, 0.42);
    transform-origin: left center;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.is-unlocked .mbj-lab-door {
    transform: translateX(-55%) rotateY(-52deg);
    opacity: 0.45;
}

.mbj-door-window {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #fff 0 12%, #bfe8ff 13% 50%, #ff9ccd 90%);
    border: 4px solid #fff;
    box-shadow: inset 0 1px 0 #fff, 0 0 22px rgba(119, 201, 255, 0.45);
}

.mbj-door-title {
    position: absolute;
    bottom: 86px;
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--mbj-deep-cherry);
    background: rgba(255, 255, 255, 0.74);
    font-weight: 900;
}

.mbj-door-light {
    position: absolute;
    right: 42px;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff7caf;
    box-shadow: 0 0 18px #ff7caf;
}

.is-unlocked .mbj-door-light {
    background: #77c9ff;
    box-shadow: 0 0 24px #77c9ff;
}

.mbj-keypad-panel,
.mbj-lab-header {
    padding: clamp(24px, 4vw, 42px);
}

.mbj-lab-subtitle,
.mbj-lab-hint,
.mbj-lab-message {
    color: var(--mbj-muted);
}

.mbj-code-row,
.mbj-lab-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.mbj-keypad-panel label,
.mbj-lab-panel label {
    display: block;
    margin-top: 22px;
    font-weight: 900;
    color: var(--mbj-ink);
}

.mbj-keypad-panel input,
.mbj-lab-panel textarea {
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 14px 16px;
    color: var(--mbj-ink);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 #fff;
    font: inherit;
}

.mbj-code-row input {
    flex: 1 1 220px;
}

.mbj-lab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.mbj-lab-room {
    position: relative;
    z-index: 1;
    min-height: min(78vh, 760px);
    overflow: hidden;
    border-radius: 38px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background:
        radial-gradient(circle at 52% 28%, rgba(255, 255, 255, 0.72), transparent 20%),
        linear-gradient(180deg, rgba(255, 250, 253, 0.94) 0 10%, rgba(223, 243, 255, 0.82) 10% 58%, rgba(234, 223, 255, 0.9) 58% 100%);
    box-shadow: inset 0 1px 0 #fff, 0 30px 80px rgba(142, 91, 157, 0.24);
}

.lab-wall,
.lab-floor,
.lab-object {
    position: absolute;
    pointer-events: none;
}

.lab-back-wall {
    inset: 0 0 34%;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.35) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.35) 1px, transparent 1px),
        linear-gradient(135deg, rgba(255, 200, 230, 0.42), rgba(191, 232, 255, 0.44), rgba(217, 200, 255, 0.46));
    background-size: 68px 68px, 68px 68px, 100% 100%;
}

.lab-floor {
    left: -8%;
    right: -8%;
    bottom: -16%;
    height: 48%;
    transform: perspective(500px) rotateX(58deg);
    transform-origin: top center;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.42) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.42) 1px, transparent 1px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 200, 230, 0.48), rgba(191, 232, 255, 0.52));
    background-size: 72px 72px, 72px 72px, 100% 100%;
}

.lab-window {
    position: absolute;
    left: 38%;
    top: 7%;
    width: 24%;
    height: 23%;
    border: 8px solid rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.9), rgba(191, 232, 255, 0.7), rgba(217, 200, 255, 0.58));
    box-shadow: inset 0 1px 0 #fff, 0 18px 34px rgba(119, 201, 255, 0.18);
}

.lab-window span {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.9);
}

.lab-window span:nth-child(1) { width: 16px; height: 16px; left: 24%; top: 26%; }
.lab-window span:nth-child(2) { width: 10px; height: 10px; right: 22%; top: 32%; }
.lab-window span:nth-child(3) { width: 12px; height: 12px; left: 54%; bottom: 24%; }

.lab-bench {
    left: 8%;
    right: 9%;
    bottom: 20%;
    height: 13%;
    border-radius: 30px;
    background: linear-gradient(180deg, #fff, #ffd1e8 48%, #d4efff);
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 38px rgba(142, 91, 157, 0.2), inset 0 1px 0 #fff;
}

.lab-bench::before,
.lab-bench::after {
    content: "";
    position: absolute;
    bottom: -86%;
    width: 7%;
    height: 92%;
    border-radius: 0 0 16px 16px;
    background: linear-gradient(180deg, #d4efff, #fff);
}

.lab-bench::before { left: 10%; }
.lab-bench::after { right: 10%; }

.lab-microscope {
    left: 15%;
    bottom: 31%;
    width: 11%;
    height: 27%;
}

.lab-microscope::before {
    content: "";
    position: absolute;
    left: 34%;
    top: 6%;
    width: 30%;
    height: 68%;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff, #bfe8ff);
    transform: rotate(22deg);
    box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(119, 201, 255, 0.25);
}

.lab-microscope::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 8%;
    bottom: 0;
    height: 22%;
    border-radius: 50% 50% 18px 18px;
    background: linear-gradient(180deg, #fff, #ff9ccd);
}

.lab-microscope span {
    position: absolute;
    right: 10%;
    top: 0;
    width: 42%;
    height: 20%;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff, #d9c8ff);
}

.lab-journal {
    left: 33%;
    bottom: 33%;
    width: 12%;
    height: 10%;
    border-radius: 10px 18px 18px 10px;
    background: linear-gradient(135deg, #fff, #ffd1e8);
    border: 3px solid rgba(255,255,255,0.95);
    transform: rotate(-8deg);
    box-shadow: 0 12px 20px rgba(142, 91, 157, 0.16);
}

.lab-journal::before {
    content: "";
    position: absolute;
    left: 14%;
    top: 12%;
    bottom: 12%;
    width: 5px;
    border-radius: 999px;
    background: #ff7caf;
}

.lab-tool-drawer {
    right: 11%;
    bottom: 29%;
    width: 15%;
    height: 20%;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff, #d9c8ff);
    border: 4px solid rgba(255,255,255,0.9);
    box-shadow: 0 16px 26px rgba(142,91,157,0.18);
}

.lab-tool-drawer span {
    display: block;
    height: 36%;
    margin: 7% 8%;
    border-radius: 12px;
    background: rgba(255,255,255,0.72);
    border: 2px solid rgba(255,255,255,0.86);
}

.lab-animal-board {
    left: 7%;
    top: 12%;
    width: 24%;
    height: 28%;
    padding: 18px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,200,230,0.52));
    border: 5px solid rgba(255,255,255,0.94);
    box-shadow: 0 18px 34px rgba(142,91,157,0.16);
}

.lab-animal-board span {
    font-weight: 900;
    color: var(--mbj-deep-cherry);
}

.lab-animal-board i {
    position: absolute;
    width: 24%;
    height: 34%;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, #bfe8ff);
    box-shadow: inset 0 1px 0 #fff;
}

.lab-animal-board i:nth-of-type(1) { left: 10%; bottom: 16%; transform: rotate(-5deg); }
.lab-animal-board i:nth-of-type(2) { left: 38%; bottom: 12%; background: linear-gradient(135deg, #fff, #ffc8e6); }
.lab-animal-board i:nth-of-type(3) { right: 10%; bottom: 18%; transform: rotate(6deg); background: linear-gradient(135deg, #fff, #bff7dd); }

.lab-sustain-shelf {
    right: 8%;
    top: 12%;
    width: 24%;
    height: 22%;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(191,232,255,0.42));
    border: 4px solid rgba(255,255,255,0.9);
}

.lab-sustain-shelf::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 50%;
    height: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
}

.lab-sustain-shelf span {
    position: absolute;
    bottom: 12%;
    width: 18%;
    height: 52%;
    border-radius: 12px 12px 6px 6px;
    background: linear-gradient(180deg, #fff, #bff7dd);
}

.lab-sustain-shelf span:nth-child(1) { left: 16%; }
.lab-sustain-shelf span:nth-child(2) { left: 42%; height: 66%; background: linear-gradient(180deg, #fff, #ffd1e8); }
.lab-sustain-shelf span:nth-child(3) { right: 16%; background: linear-gradient(180deg, #fff, #f5c86b); }

.lab-cabinet {
    right: 8%;
    bottom: 7%;
    width: 24%;
    height: 27%;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff, #bfe8ff);
    border: 4px solid rgba(255,255,255,0.94);
    box-shadow: 0 18px 30px rgba(142,91,157,0.18);
}

.lab-cabinet span {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 12%;
    padding: 8px;
    border-radius: 999px;
    text-align: center;
    color: var(--mbj-deep-cherry);
    background: rgba(255,255,255,0.66);
    font-weight: 900;
}

.lab-cabinet::before,
.lab-cabinet::after {
    content: "";
    position: absolute;
    top: 34%;
    bottom: 10%;
    width: 37%;
    border-radius: 14px;
    background: rgba(255,255,255,0.58);
}

.lab-cabinet::before { left: 9%; }
.lab-cabinet::after { right: 9%; }

.lab-sample-jars {
    left: 47%;
    bottom: 32%;
    width: 15%;
    height: 20%;
}

.lab-sample-jars span {
    position: absolute;
    bottom: 0;
    width: 28%;
    height: 78%;
    border-radius: 12px 12px 18px 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(191,232,255,0.55));
    border: 3px solid rgba(255,255,255,0.92);
}

.lab-sample-jars span:nth-child(1) { left: 0; height: 62%; }
.lab-sample-jars span:nth-child(2) { left: 34%; background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,200,230,0.58)); }
.lab-sample-jars span:nth-child(3) { right: 0; height: 70%; background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(191,247,221,0.58)); }

.lab-plant-station {
    left: 5%;
    bottom: 7%;
    width: 20%;
    height: 22%;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff, #bff7dd);
    border: 4px solid rgba(255,255,255,0.94);
    box-shadow: 0 16px 30px rgba(92,168,131,0.14);
}

.lab-plant-station span {
    position: absolute;
    left: 38%;
    bottom: 28%;
    width: 14%;
    height: 48%;
    border-radius: 999px;
    background: #5ca883;
}

.lab-plant-station span::before,
.lab-plant-station span::after {
    content: "";
    position: absolute;
    width: 48px;
    height: 28px;
    border-radius: 50%;
    background: #bff7dd;
    border: 2px solid rgba(255,255,255,0.8);
}

.lab-plant-station span::before { left: -42px; top: 18px; transform: rotate(-24deg); }
.lab-plant-station span::after { right: -42px; top: 2px; transform: rotate(22deg); }

.lab-computer {
    left: 63%;
    bottom: 35%;
    width: 13%;
    height: 18%;
}

.lab-computer::before {
    content: "";
    position: absolute;
    inset: 0 0 24%;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.95), rgba(119,201,255,0.54), rgba(217,200,255,0.7));
    border: 4px solid rgba(255,255,255,0.92);
    box-shadow: 0 0 24px rgba(119,201,255,0.35);
}

.lab-computer span {
    position: absolute;
    left: 38%;
    bottom: 0;
    width: 24%;
    height: 28%;
    background: linear-gradient(180deg, #fff, #d9c8ff);
}

.lab-hologram-console {
    left: 36%;
    bottom: 7%;
    width: 26%;
    height: 25%;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(217,200,255,0.52));
    border: 4px solid rgba(255,255,255,0.92);
    box-shadow: 0 20px 38px rgba(142,91,157,0.18);
}

.lab-hologram-console span {
    position: absolute;
    left: 50%;
    bottom: 34%;
    width: 42%;
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(119,201,255,0.42), transparent 70%);
    box-shadow: 0 0 34px rgba(119,201,255,0.52);
    animation: mbjLabHologram 3.2s ease-in-out infinite;
}

.mbj-hotspot {
    position: absolute;
    z-index: 5;
    width: 34px;
    height: 34px;
    border: 2px solid rgba(255,255,255,0.95);
    border-radius: 50%;
    padding: 0;
    background: radial-gradient(circle, #fff 0 20%, #ff9ccd 21% 55%, rgba(119,201,255,0.82));
    box-shadow: 0 0 0 8px rgba(255,156,205,0.16), 0 0 22px rgba(119,201,255,0.55);
    cursor: pointer;
    animation: mbjHotspotPulse 2.4s ease-in-out infinite;
}

.mbj-hotspot span {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    width: max-content;
    max-width: 190px;
    transform: translateX(-50%) translateY(6px);
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--mbj-ink);
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(255,255,255,0.92);
    box-shadow: 0 10px 20px rgba(142,91,157,0.16);
    font-size: 0.82rem;
    font-weight: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mbj-hotspot:hover span,
.mbj-hotspot:focus-visible span {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.hotspot-animals { left: 25%; top: 18%; }
.hotspot-sustain { right: 16%; top: 19%; }
.hotspot-microscope { left: 21%; bottom: 52%; }
.hotspot-journal { left: 39%; bottom: 46%; }
.hotspot-samples { left: 56%; bottom: 48%; }
.hotspot-computer { left: 70%; bottom: 51%; }
.hotspot-tools { right: 16%; bottom: 40%; }
.hotspot-plant { left: 15%; bottom: 18%; }
.hotspot-console { left: 49%; bottom: 25%; }
.hotspot-prototype { right: 20%; bottom: 20%; }

.mbj-lab-modal[hidden],
.mbj-lab-interface[hidden],
.mbj-lab-entrance[hidden] {
    display: none;
}

.mbj-lab-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 18px;
}

.mbj-lab-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(64, 51, 83, 0.28);
    backdrop-filter: blur(8px);
}

.mbj-lab-panel {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: min(760px, 88vh);
    overflow: auto;
    padding: clamp(24px, 4vw, 38px);
}

.mbj-lab-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    color: var(--mbj-ink);
    background: linear-gradient(180deg, #fff, var(--mbj-pink));
    box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(255, 124, 175, 0.22);
    cursor: pointer;
    font-weight: 900;
}

.mbj-lab-panel-body ul {
    padding-left: 0;
    list-style: none;
}

.mbj-lab-panel-body li {
    margin: 10px 0;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.86);
}

.mbj-lab-panel-body li::before {
    content: "* ";
    color: var(--mbj-soft-cherry);
    font-weight: 900;
}

.mbj-lab-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.mbj-lab-chip-row span,
.mbj-lab-mini-note {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.88);
    color: var(--mbj-muted);
    font-weight: 800;
}

.mbj-lab-portal {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 250px;
    isolation: isolate;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.95), transparent 18%),
        radial-gradient(circle at 80% 22%, rgba(245, 200, 107, 0.55), transparent 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 156, 205, 0.48), rgba(119, 201, 255, 0.42), rgba(217, 200, 255, 0.5));
    border-width: 3px;
    box-shadow: 0 28px 80px rgba(255, 124, 175, 0.34), 0 0 34px rgba(119, 201, 255, 0.34), inset 0 1px 0 #fff;
    animation: mbjLabPortalFloat 4s ease-in-out infinite, mbjLabPortalPulse 2.7s ease-in-out infinite;
}

.mbj-lab-portal::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    pointer-events: none;
}

.mbj-lab-portal .mbj-portal-icon {
    width: 62px;
    height: 62px;
    color: var(--mbj-deep-cherry);
    background: linear-gradient(180deg, #fff, var(--mbj-gold));
}

.mbj-lab-portal strong {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.mbj-lab-portal small {
    opacity: 0.72;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mbj-lab-portal:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 34px 90px rgba(255, 124, 175, 0.42), 0 0 48px rgba(119, 201, 255, 0.48);
}

.mbj-lab-portal:hover small {
    opacity: 1;
    transform: translateY(0);
}

@keyframes mbjLabFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.62; }
    50% { transform: translateY(-20px) scale(1.25); opacity: 1; }
}

@keyframes mbjLabHologram {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.8; }
    50% { transform: translateX(-50%) translateY(-10px) scale(1.08); opacity: 1; }
}

@keyframes mbjHotspotPulse {
    0%, 100% {
        box-shadow: 0 0 0 8px rgba(255,156,205,0.16), 0 0 22px rgba(119,201,255,0.55);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 14px rgba(255,156,205,0.08), 0 0 30px rgba(119,201,255,0.72);
        transform: scale(1.08);
    }
}

@keyframes mbjLabPortalFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes mbjLabPortalPulse {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 124, 175, 0)); }
    50% { filter: drop-shadow(0 0 18px rgba(255, 124, 175, 0.6)); }
}

@media (max-width: 900px) {
    .mbj-lab-entrance,
    .mbj-lab-header {
        grid-template-columns: 1fr;
    }

    .mbj-lab-header {
        display: grid;
    }

    .mbj-lab-room {
        min-height: 620px;
    }

    .mbj-hotspot {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 560px) {
    .mbj-lab-page {
        padding-top: 28px;
    }

    .mbj-lab-door-wrap {
        min-height: 440px;
    }

    .mbj-lab-door {
        height: 360px;
    }

    .mbj-lab-room {
        min-height: 720px;
        border-radius: 26px;
    }

    .lab-window {
        left: 30%;
        width: 40%;
        height: 16%;
    }

    .lab-animal-board {
        left: 5%;
        top: 14%;
        width: 38%;
        height: 20%;
    }

    .lab-sustain-shelf {
        right: 5%;
        top: 14%;
        width: 38%;
        height: 20%;
    }

    .lab-bench {
        left: 5%;
        right: 5%;
        bottom: 33%;
        height: 10%;
    }

    .lab-microscope {
        left: 10%;
        bottom: 44%;
        width: 18%;
    }

    .lab-journal {
        left: 32%;
        bottom: 47%;
        width: 18%;
    }

    .lab-sample-jars {
        left: 54%;
        bottom: 45%;
        width: 21%;
    }

    .lab-computer {
        left: 76%;
        bottom: 46%;
        width: 18%;
    }

    .lab-tool-drawer {
        right: 6%;
        bottom: 25%;
        width: 30%;
        height: 17%;
    }

    .lab-plant-station {
        left: 5%;
        bottom: 12%;
        width: 32%;
        height: 18%;
    }

    .lab-hologram-console {
        left: 40%;
        bottom: 12%;
        width: 30%;
        height: 18%;
    }

    .lab-cabinet {
        right: 5%;
        bottom: 3%;
        width: 36%;
        height: 18%;
    }

    .hotspot-animals { left: 34%; top: 20%; }
    .hotspot-sustain { right: 12%; top: 20%; }
    .hotspot-microscope { left: 19%; bottom: 56%; }
    .hotspot-journal { left: 42%; bottom: 53%; }
    .hotspot-samples { left: 65%; bottom: 53%; }
    .hotspot-computer { left: 86%; bottom: 53%; }
    .hotspot-tools { right: 18%; bottom: 36%; }
    .hotspot-plant { left: 22%; bottom: 22%; }
    .hotspot-console { left: 55%; bottom: 22%; }
    .hotspot-prototype { right: 18%; bottom: 12%; }
}
