body {
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    background: #007e7d;
}

#desktop-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 24px 16px 0 16px;
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    max-width: 500px;
    z-index: 2;
}

.music-item.active {
    background: #0a8 !important;
    color: #fff !important;
    font-weight: bold;
}

#music-playlist {
    scrollbar-width: auto;
    scrollbar-color: #0a8 #333;
}

#music-playlist::-webkit-scrollbar {
    width: 8px;
    background: #333;
}

#music-playlist::-webkit-scrollbar-thumb {
    background: #0a8;
    border-radius: 4px;
}

.desktop-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    cursor: pointer;
    user-select: none;
    border-radius: 4px;
    transition: background 0.2s;
}

.desktop-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.desktop-icon img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 4px;
    background: none;
    border: none;
}

.desktop-icon span {
    font-family: "Trebuchet MS", sans-serif;
    font-size: 14px;
    color: #fff;
    text-align: left;
    white-space: nowrap;
}

#logo {
    position: absolute;
    width: 100px;
    height: auto;
    top: 50px;
    left: 50px;
    user-select: none;
    z-index: 1;
}

#start-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: #c0c0c0;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #808080;
    display: flex;
    align-items: center;
    z-index: 1000;
}

#start-btn {
    margin-left: 8px;
    padding: 4px 16px;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 16px;
    background: linear-gradient(to bottom, #e0e0e0 0%, #b0b0b0 100%);
    border: 2px outset #fff;
    color: #000;
    cursor: pointer;
}

#start-menu {
    display: none;
    position: absolute;
    left: 8px;
    bottom: 44px;
    width: 180px;
    background: #f0f0f0;
    border: 2px solid #808080;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    font-family: "Trebuchet MS", sans-serif;
}

#start-menu ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

#start-menu li {
    padding: 8px 16px;
}

#start-menu li a {
    text-decoration: none;
    color: #000;
    display: block;
}

#start-menu li:hover {
    background: #c0c0c0;
}

.window {
    position: absolute;
    top: 120px;
    left: 120px;
    width: 320px;
    min-height: 180px;
    background: #f0f0f0;
    border: 2px solid #808080;
    box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.window-header {
    background: #c0c0c0;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: move;
    border-bottom: 1px solid #808080;
}

.window-title {
    font-family: "Trebuchet MS", sans-serif;
    font-size: 16px;
    color: #222;
}

.window-controls {
    display: flex;
    gap: 6px;
}

.window-btn {
    width: 22px;
    height: 22px;
    background: #e0e0e0;
    border: 1px solid #808080;
    border-radius: 4px;
    font-size: 14px;
    color: #222;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.window-content {
    flex: 1;
    padding: 16px;
    font-family: "Trebuchet MS", sans-serif;
    color: #222;
}

.taskbar-window-btn {
    background: #e0e0e0;
    border: 1px solid #808080;
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 14px;
    color: #222;
    cursor: pointer;
    margin-right: 4px;
    min-width: 60px;
    max-width: 120px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

@media (max-width: 700px) {
    #desktop-icons {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 12px 4px 0 4px;
        max-width: 280px;
    }

    .desktop-icon {
        padding: 4px 8px;
        gap: 8px;
    }

    .desktop-icon img {
        width: 48px;
        height: 48px;
    }

    .desktop-icon span {
        font-size: 12px;
    }
}