/* ───────── GLOBAL ───────── */
body {
    margin: 0;
    background: #080808;
    color: #ddd;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* ───────── BUBBLE ───────── */
#gp3-bubble-popup {
    position: fixed;
    top: 120px;
    right: 30px;
    z-index: 9200;

    background: rgba(0,0,0,0.9);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 15px;

    color: #fff;
    max-width: 300px;

    transition: opacity .2s ease;
}

/* ───────── UFO FIX ───────── */
#ufo-popup {
    pointer-events: none !important;
}

#ufo-img,
#ufo-handle {
    pointer-events: auto !important;
}

/* ───────── OVERLAY ───────── */
#win-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 900;
}

#win-overlay.active {
    display: block;
}

/* ───────── POPUP ───────── */
#win-popup {
    display: none;
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 1000px;
    height: 80vh;
    background: #111;
    border-radius: 12px;
    z-index: 1000;
    flex-direction: column;
}

#win-popup.active {
    display: flex;
}

#win-popup.maximized {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transform: none;
}

/* ───────── TITLEBAR ───────── */
#win-titlebar {
    height: 35px;
    background: #222;
    display: flex;
    align-items: center;
    padding: 0 10px;
    cursor: move;
}

#win-title {
    flex: 1;
    color: #caff00;
    font-size: 12px;
}

/* ───────── BUTTONS ───────── */
.win-btn {
    width: 24px;
    height: 20px;
    margin-left: 5px;
    background: #333;
    border: none;
    color: #aaa;
    cursor: pointer;
}

.win-btn:hover {
    background: #555;
}

/* ───────── CONTENT ───────── */
#win-body {
    flex: 1;
}

#win-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ───────── TASKBAR ───────── */
#win-taskbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    padding: 5px;
    z-index: 950;
}

#win-taskbar.active {
    display: block;
}

#win-taskbar-btn {
    background: #222;
    color: #caff00;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}