body {
    background: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

#desktop {
    width: 100%;
    height: 100%;
    position: relative;
}

#pur-container {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    cursor: grab;
    user-select: none;
    z-index: 10;
}

#pur-container:active {
    cursor: grabbing;
}

#pur-sprite {
    width: 250px;
    height: auto;
}

#pur-speech-bubble {
    border: 1px solid #000;
    background: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    position: absolute;
    bottom: 80%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100px;
}

#chat-window {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 400px;
    border: 1px solid #000;
    background: #fff;
    display: flex;
    flex-direction: column;
    z-index: 20;
}

#chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    border-bottom: 1px solid #000;
    font-size: 14px;
}

#chat-input-area {
    padding: 10px;
    display: flex;
}

#user-input {
    flex: 1;
    border: 1px solid #000;
    margin-right: 5px;
}

#terminal-mini {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 300px;
    height: 100px;
    border: 1px solid #000;
    background: #fff;
    font-family: monospace;
    font-size: 11px;
    padding: 5px;
    overflow-y: auto;
}

.hidden {
    display: none !important;
}

@keyframes sway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.walking #pur-sprite {
    animation: sway 0.5s infinite;
}
