* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

#dos {
    width: 100vw;
    height: 100vh;
}

#toolbar {
    position: fixed;
    top: 8px;
    right: 8px;
    z-index: 1000;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s;
}

#toolbar:hover,
#toolbar:focus-within {
    opacity: 1;
}

#toolbar button {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: #ccc;
    font-family: system-ui, sans-serif;
    font-size: 12px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

#toolbar button:hover {
    background: rgba(0, 0, 100, 0.8);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

#toolbar button svg {
    flex-shrink: 0;
}

#btn-fullscreen {
    padding: 6px 8px;
}

#toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: rgba(0, 0, 100, 0.9);
    color: #fff;
    font-family: system-ui, sans-serif;
    font-size: 13px;
    border-radius: 6px;
    z-index: 1001;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s;
}

#toast.hidden {
    opacity: 0;
    pointer-events: none;
}
