body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}
canvas { display: block; }
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #333;
    color: #fff;
    display: flex;
    justify-content: space-around;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.menu .logo {
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.menu button {
    background: #555;
    border: none;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.menu button:hover {
    background: #777;
}
.menu i {
    margin-right: 8px;
}
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background: #fff;
    color: #000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    padding: 20px;
}
.popup .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    color: #000;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
.popup ul {
    list-style: none;
    padding: 0;
}
.popup li {
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.popup li:hover {
    background: #eee;
}
.popup .delete-btn {
    background: transparent;
    color: #f00;
    border: none;
    font-size: 16px;
    cursor: pointer;
}
.popup .delete-btn:hover {
    color: #d00;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}