.gos-desktop {
    padding: 1em;
    height: 100%;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    top: 0;
    z-index: 10;
    background-color: #000;
    cursor: default;
    user-select: none;
}

.gos-wallpaper-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
    z-index: -1;
}

.gos-wallpaper-layer.old {
    opacity: 0;
}

.gos-wallpaper-layer.new {
    opacity: 1;
}

/* ── Desktop Icons Container ─────────────────────────────────────────────── */
.gos-desktop-icons {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 12px;
    padding: calc(var(--menubar-height) + 12px) 12px 12px 12px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - var(--taskbar-height));
    box-sizing: border-box;
    z-index: 1;
    align-content: flex-start;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
}

/* ── Individual Desktop Shortcut ─────────────────────────────────────────── */
.gos-desktop-shortcut {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 80px;
    padding: 8px 4px;
    gap: 4px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 0 !important;
    /* Forces no radius */
    transition: none !important;
    /* Forces no transition */
    user-select: none;
    -webkit-user-select: none;
}

.gos-desktop-shortcut:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.gos-desktop-shortcut.selected {
    background-color: var(--accent-muted) !important;
    border-color: var(--accent-color) !important;
}

/* ── Icon ─────────────────────────────────────────────────────────────────── */
.gos-desktop-shortcut-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
    pointer-events: none;
}

/* ── Label ────────────────────────────────────────────────────────────────── */
.gos-desktop-shortcut-label {
    font-size: 0.68rem;
    color: #fff;
    text-align: center;
    word-break: break-word;
    line-height: 1.2;
    max-width: 72px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    pointer-events: none;
}

/* ── Selection Marquee ────────────────────────────────────────────────────── */
.gos-selection-marquee {
    position: absolute;
    border: 1px solid var(--accent-color);
    background: var(--accent-muted);
    pointer-events: none;
    display: none;
    z-index: 2;
}
