/* Style dla widoku bocznego 2D (ulice Warszawy, korytarze PAN) */
#scene-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #111822 0%, #243447 70%, #1a1c20 70%, #111215 100%);
    overflow: hidden;
}

/* Sylwetka warszawskiego bloku z wielkiej płyty w tle */
.bg-building {
    position: absolute;
    bottom: 30%;
    left: 10%;
    width: 450px;
    height: 45%;
    background-color: #2c323b;
    border: 2px solid #1e2229;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 20px;
}

.window {
    background-color: #16191f;
    border: 1px solid #111;
}

.window.lit {
    background-color: #e3b341;
    box-shadow: 0 0 10px rgba(227, 179, 65, 0.5);
}

/* Postać bohatera (widok z boku) */
#player {
    position: absolute;
    bottom: 28%;
    left: 150px;
    width: 40px;
    height: 85px;
    background-color: #58a6ff;
    border: 2px solid #ffffff;
    transition: transform 0.1s;
    z-index: 10;
}

#player::after {
    content: "TY";
    position: absolute;
    top: -22px;
    left: 6px;
    font-size: 12px;
    color: #fff;
}

/* Obiekt interaktywny (np. Motorower / Drzwi do laboratorium) */
.interactable {
    position: absolute;
    bottom: 28%;
    width: 75px;
    height: 50px;
    background-color: #d29922;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
}

.interactable-hint {
    position: absolute;
    top: -30px;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.8);
    color: #58a6ff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid #58a6ff;
}

/* Instrukcja sterowania w rogu */
#controls-hud {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(13, 17, 23, 0.8);
    padding: 10px 15px;
    border: 1px solid #30363d;
    border-radius: 4px;
    font-size: 0.85rem;
    z-index: 50;
}