/* ============ BonziBUDDY ============ */
/* Frameless, like the real thing - not a standard daxOS window, so it
   deliberately doesn't use the .column/.window/.title-bar chrome that
   everything else on the desktop does. Floats above regular windows
   (900) but below the Start menu (500 is Start's z-index... actually
   Start needs to stay reachable, so Bonzi sits just above normal
   windows and below the taskbar/Start menu). */
.bonzi-container {
    position: fixed;
    top: 30%;
    left: 60%;
    width: 200px;
    height: 160px;
    z-index: 400;
}

.bonzi-pet {
    width: 100%;
    height: 100%;
    background-image: url("/bonzi/bonzi.gif");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    cursor: grab;
}

.bonzi-pet:active {
    cursor: grabbing;
}

.bonzi-speech-bubble {
    position: absolute;
    bottom: 175px;
    left: 51%;
    transform: translateX(-50%);
    width: 280px;
    padding: 12px;
    background-color: #f5f5d5;
    border: 1px solid #000;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    font-family: "Pixelated MS Sans Serif", Tahoma, sans-serif;
    font-size: 13px;
    z-index: 10;
    visibility: hidden;
    text-align: center;
}

.bonzi-speech-bubble::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #000;
}

#bonzi-menu {
    display: none;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 8px;
}

#bonzi-menu button {
    flex-basis: calc(50% - 6px);
    font-size: 11px;
    padding: 3px 4px;
}

@media screen and (max-width: 480px) {
    .bonzi-container {
        left: 50%;
        transform: translateX(-50%);
    }
}
